/* MKL | 30.09.2026 – Gemeinsame Optik für Startseite, Retro-OS, Werkzeuge und TechGrid-Themes; exakte Alt-Dubletten werden im Audit entfernt, echte Overrides bleiben erhalten. */
:root{
  --home-bg:#05070a;
  --home-panel:rgba(8,12,17,.92);
  --home-line:rgba(180,205,220,.22);
  --home-text:#d8e0e5;
  --home-muted:#7f8d96;
  --home-accent:#c5d1d8;
  --home-ok:#9cb9a4;
  --home-danger:#c98d8d;

  --os-blue:#0f32d6;
  --os-blue-dark:#0a238f;
  --os-silver:#c7cbd4;
  --os-silver-light:#eef2f8;
  --os-silver-mid:#d9dee8;
  --os-silver-dark:#97a0b3;
  --os-silver-deep:#727c8e;
  --os-black:#0a0c13;
  --os-red:#b80a08;
  --os-red-dark:#83110f;
  --os-green:#20cb3f;
  --os-green-dark:#0a7d21;
  --os-text:#0f1a2b;
  --os-text-soft:#2e3e57;
  --os-link:#062d9f;
}

*{box-sizing:border-box}
html,body{margin:0;min-height:100%}
body{font-family:Tahoma,Verdana,Arial,sans-serif}
a{color:inherit}
input,select,textarea,button{font:inherit}

body.home-body{background:radial-gradient(circle at 50% 38%,#182028 0,#090d12 34%,#05070a 74%);color:var(--home-text);font-family:Consolas,"Courier New",monospace}
.home-shell{min-height:100vh;display:grid;place-items:center;padding:32px 18px;position:relative;overflow:hidden}
.home-shell:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(rgba(255,255,255,.015) 50%,rgba(0,0,0,.025) 50%);background-size:100% 4px;opacity:.45}
.home-card{position:relative;text-align:center;z-index:1;max-width:980px;width:100%}
.brand{letter-spacing:.28em;font-size:clamp(18px,2.6vw,34px);font-weight:500;margin:0 0 24px;text-transform:uppercase}
.domain{position:fixed;left:18px;bottom:14px;font-size:12px;color:#56616a;letter-spacing:.1em;z-index:3;user-select:none}
.admin-dash{color:inherit;text-decoration:none;cursor:default;padding:0;margin:0;border:0;background:none;font:inherit}
.admin-dash:hover,.admin-dash:focus,.admin-dash:active{color:inherit;text-decoration:none;outline:none;background:none;box-shadow:none}
.pi-hotspot{position:fixed;right:18px;bottom:9px;text-decoration:none;color:#505b63;font-family:Georgia,serif;font-size:24px;line-height:1;padding:8px 10px;z-index:3;opacity:.48;transition:opacity .18s ease}
.pi-hotspot:hover,.pi-hotspot:focus{opacity:.85;outline:none}

body.os-body{background:#071863;color:var(--os-text);font-size:14px;line-height:1.35}
.os-shell{min-height:100vh;padding:10px 10px 44px;background:
 radial-gradient(circle at 50% 40%,#244bff 0,#1030d1 36%,#0b218f 68%,#071863 100%);
 position:relative;overflow:hidden}
.os-shell:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(rgba(255,255,255,.06),rgba(255,255,255,0) 20%,rgba(0,0,0,.08) 80%)}
.os-shell:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(rgba(255,255,255,.06) 50%,rgba(0,0,0,.04) 50%);background-size:100% 3px;opacity:.25}
.desktop{position:relative;z-index:1;min-height:calc(100vh - 54px)}
.os-topbar{height:30px;background:linear-gradient(#eaf0f9,#cad4ea);border:2px solid #eff4fb;border-right-color:#7d8599;border-bottom-color:#71798d;display:flex;align-items:center;justify-content:space-between;padding:0 10px 0 8px;box-shadow:inset 1px 1px 0 #fff,inset -1px -1px 0 #7d8599;margin-bottom:12px}
.os-top-left,.os-top-right{display:flex;gap:14px;align-items:center;color:#0b1841}
.os-brand{font-weight:700;letter-spacing:.03em}
.os-pi{font-family:Georgia,serif;font-weight:700;font-size:26px;line-height:1;color:#04164a;margin-right:6px}
.os-menu{display:flex;gap:12px;font-size:12px}
.desktop-icons{position:absolute;left:10px;top:52px;width:120px;display:flex;flex-direction:column;gap:10px}
.desktop-icon{width:92px;text-align:center;color:#f4f8ff;text-decoration:none;padding:4px;border:1px solid transparent}
.desktop-icon:hover{border-color:rgba(255,255,255,.45);background:rgba(255,255,255,.08)}
.desktop-icon .icon-glyph{display:block;font-size:28px;line-height:1;margin-bottom:5px;filter:drop-shadow(1px 1px 0 rgba(0,0,0,.22))}
.desktop-icon span:last-child{display:block;font-size:12px;text-shadow:1px 1px 0 rgba(0,0,0,.35)}
.os-stage{margin-left:135px;position:relative;min-height:calc(100vh - 110px)}
.win95{background:var(--os-silver);border:2px solid #f4f6fb;border-right-color:#6f7890;border-bottom-color:#626c80;box-shadow:inset 1px 1px 0 #fff,inset -1px -1px 0 #8892a7,2px 2px 0 rgba(4,8,18,.2)}
.win95+.win95{margin-top:14px}
.win-title{height:28px;display:flex;align-items:center;justify-content:space-between;padding:0 8px;background:linear-gradient(90deg,#113fdd,#092892);color:#f5f7ff;font-weight:700;letter-spacing:.05em;border-bottom:1px solid #071f75}
.win-title.red{background:linear-gradient(90deg,#c20f0d,#920807)}
.win-title.black{background:linear-gradient(90deg,#0d1020,#000 65%,#1c2845)}
.win-title-text{display:flex;align-items:center;gap:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.win-controls{display:flex;gap:3px}
.win-btn{width:18px;height:16px;background:var(--os-silver);border:1px solid #fff;border-right-color:#666f84;border-bottom-color:#666f84;box-shadow:inset 1px 1px 0 #eef4ff;color:#0c1640;display:grid;place-items:center;font-size:11px;line-height:1}
.win-body{padding:12px;background:var(--os-silver)}
.login-window{width:min(420px,100%);margin:8vh auto 0}
.login-grid{display:grid;grid-template-columns:110px 1fr;gap:12px 10px;align-items:center}
.login-grid .label{font-weight:700;color:#1f3150}
.os-input,.os-textarea{width:100%;padding:6px 7px;border:2px solid #717a90;border-right-color:#fff;border-bottom-color:#fff;background:#f8fbff;color:#0f1930;box-shadow:inset 1px 1px 0 #5f6777}
.os-input:focus,.os-textarea:focus{outline:1px dotted #102c9d;outline-offset:-4px}
.os-btn{padding:5px 10px;background:var(--os-silver);border:2px solid #fff;border-right-color:#676f84;border-bottom-color:#676f84;box-shadow:inset 1px 1px 0 #eef4ff;color:#122041;cursor:pointer;min-width:0;max-width:100%;width:auto;height:auto;font-weight:700;line-height:1.2;white-space:normal;overflow-wrap:normal;word-break:normal}
.os-btn:hover{background:#d8dce5}
.os-btn.red{background:#f1d2d2}
.os-btn.green{background:#d9efda}
.os-btn.small{padding:4px 10px;min-width:auto;font-size:12px}
.os-msg{margin:0 0 10px;padding:8px 10px;border:2px solid #fff;border-right-color:#666e82;border-bottom-color:#666e82;background:#ebeff7;color:#15233f}
.os-msg.error{background:#f4dada;color:#611111}
.os-msg.warn{background:#f3ebc5;color:#5b4814}
.os-quote{position:absolute;right:20px;top:88px;color:#dbe6ff;text-align:center;font-size:16px;letter-spacing:.11em;text-transform:uppercase;text-shadow:1px 1px 0 rgba(0,0,0,.4)}
.os-quote small{display:block;margin-top:10px;font-size:34px;font-family:Georgia,serif;line-height:1}
.os-taskbar{position:fixed;left:0;right:0;bottom:0;height:34px;background:var(--os-silver);border-top:2px solid #fff;display:flex;align-items:center;gap:8px;padding:3px 6px;z-index:10}
.start-btn,.task-btn,.task-clock{background:var(--os-silver);border:2px solid #fff;border-right-color:#666f84;border-bottom-color:#666f84;box-shadow:inset 1px 1px 0 #eef4ff;color:#122041;height:26px;display:flex;align-items:center;padding:0 10px;font-weight:700}
.start-btn{min-width:88px;gap:6px}
.task-strip{display:flex;gap:6px;flex:1;overflow:auto}
.task-btn{font-weight:400;min-width:165px;white-space:nowrap}
.task-clock{margin-left:auto;min-width:90px;justify-content:center}
.prae-main{display:grid;grid-template-columns:200px 1fr;gap:0;min-height:620px}
.prae-sidebar{background:#d7dde8;border-right:2px solid #fff;padding:8px}
.nav-tile{display:flex;align-items:center;gap:12px;padding:10px 8px;margin-bottom:8px;background:#dfe4ee;border:2px solid #fff;border-right-color:#737c92;border-bottom-color:#737c92;color:#091739;text-decoration:none;font-weight:700}
.nav-tile.active{background:#153bcb;color:#fff;border-color:#6a88f0;border-right-color:#0c236f;border-bottom-color:#0c236f}
.nav-ico{font-size:22px;width:28px;text-align:center}
.prae-content{padding:0;background:#dde3ee}
.hero-banner{background:#05080f;color:#eef3ff;padding:14px 16px 10px;border-bottom:2px solid #6a7285;display:grid;grid-template-columns:140px 1fr 160px;gap:12px;align-items:center}
.hero-left,.hero-right{font-size:42px;font-family:Georgia,serif;text-align:center}
.hero-center h1{font-family:Georgia,"Times New Roman",serif;margin:0;font-size:58px;letter-spacing:.04em;font-weight:700}
.hero-center .subline{margin-top:6px;letter-spacing:.18em;text-transform:uppercase;font-size:20px}
.hero-right{font-size:17px;line-height:1.35;font-family:Tahoma,Verdana,Arial,sans-serif;text-transform:uppercase}
.inner-pad{padding:14px}
.table-frame,.info-frame{background:#dce2ed;border:2px solid #fff;border-right-color:#6f7790;border-bottom-color:#6f7790;box-shadow:inset 1px 1px 0 #eef4ff;padding:10px}
.table-scroll{overflow:auto}
.os-table{width:100%;border-collapse:collapse;font-size:13px;background:#f9fbff}
.os-table th,.os-table td{border:1px solid #9ba5b8;padding:6px 8px;text-align:left;vertical-align:top}
.os-table th{background:#d4dae6}
.os-table tr.selected td{background:#173ccc;color:#fff}
.os-state-active{color:#188b31}.os-state-disabled,.os-state-locked{color:#b61d1a}
.inline-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:10px}
.c3{grid-column:span 3}.c4{grid-column:span 4}.c5{grid-column:span 5}.c6{grid-column:span 6}.c7{grid-column:span 7}.c8{grid-column:span 8}.c12{grid-column:span 12}
.check-group{display:flex;flex-wrap:wrap;gap:9px 14px;padding-top:4px}
.check-group label,.os-check{display:flex;align-items:center;gap:6px;font-size:13px;color:#122041}
/* MKL | 02.10.2026 – Schritt 255: Zentrale Links nutzen eine kompakte, rechteckige Zielwahl; auf schmalen Ansichten wird nur das Optionsraster umgebrochen. */
.link-management-frame .link-target-group{display:grid;grid-template-columns:repeat(2,minmax(120px,1fr));gap:7px 10px;align-items:stretch}
.link-management-frame .link-target-group>label{min-width:0;min-height:34px;padding:6px 8px;box-sizing:border-box;white-space:nowrap}
.link-management-frame .link-target-state{white-space:nowrap;font-size:.78em;opacity:.82}
@media(max-width:520px){.link-management-frame .link-target-group{grid-template-columns:1fr}}
.os-small{font-size:12px;color:#31435f}
.portal-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin-top:8px}
.portal-item{display:block;text-decoration:none;border:2px solid #fff;border-right-color:#697287;border-bottom-color:#697287;padding:15px;background:#edf2fa;color:#122041;min-height:120px;box-shadow:inset 1px 1px 0 #fff}
.portal-item:hover{background:#e2e8f4}
.portal-item strong{display:block;font-size:17px;letter-spacing:.06em;margin-bottom:8px}
.portal-item span{display:block;color:#354761;font-size:13px;line-height:1.45}
.alert-window{width:min(380px,100%);position:absolute;right:0;bottom:34px}
.alert-content{background:#d92820;color:#fff;padding:14px}
.alert-content .blackbox{background:#100909;border:2px solid #ff8e77;color:#ff5f43;padding:12px;margin-top:10px;text-align:center;text-transform:uppercase;letter-spacing:.08em}
.system-panel{width:min(440px,100%);position:absolute;left:0;bottom:34px}
.gk-box{display:grid;grid-template-columns:180px 1fr;gap:12px;align-items:start}
.gk-poster{background:linear-gradient(#0b1020,#05114d);color:#eef6ff;border:2px solid #6e7690;padding:14px;min-height:205px;display:flex;flex-direction:column;justify-content:flex-end;text-align:center}
.gk-poster .beam{width:40px;height:120px;margin:0 auto 12px;background:linear-gradient(to bottom,#2f3e74,#f0ffff 70%,rgba(255,255,255,.08));clip-path:polygon(50% 0,78% 12%,78% 100%,22% 100%,22% 12%)}
.gk-poster strong{display:block;font-size:28px;letter-spacing:.08em}
.gk-poster span{display:block;text-transform:uppercase;letter-spacing:.12em;margin-top:8px;font-size:12px}
.columns{display:grid;grid-template-columns:1fr 300px;gap:14px;align-items:start}
.link-inline{color:var(--os-link);text-decoration:underline}
.empty-note{padding:12px;background:#eef2f7;border:2px solid #fff;border-right-color:#6f7790;border-bottom-color:#6f7790}
.gate-layout{display:grid;grid-template-columns:1fr 280px;gap:14px}
.footer-note{position:absolute;right:18px;bottom:46px;color:#dce6ff;text-align:right;text-transform:uppercase;letter-spacing:.14em;font-size:13px;text-shadow:1px 1px 0 rgba(0,0,0,.35)}
.footer-note .pi{font-family:Georgia,serif;font-size:28px;display:block;line-height:1;margin-top:6px}

@media(max-width:1180px){
  .hero-center h1{font-size:46px}
  .hero-center .subline{font-size:16px}
  .columns{grid-template-columns:1fr}
}
@media(max-width:980px){
  .os-stage{margin-left:0}
  .desktop-icons{position:relative;left:auto;top:auto;width:auto;flex-direction:row;flex-wrap:wrap;margin-bottom:12px}
  .desktop-icon{width:82px}
  .alert-window,.system-panel{position:static;width:auto;margin-top:14px}
  .os-quote,.footer-note{display:none}
  .gate-layout,.prae-main,.gk-box{grid-template-columns:1fr}
}
@media(max-width:780px){
  .os-topbar{height:auto;min-height:30px;flex-direction:column;align-items:flex-start;padding:6px 8px;gap:5px}
  .os-menu{flex-wrap:wrap;gap:8px}
  .hero-banner{grid-template-columns:1fr;gap:8px;text-align:center}
  .hero-center h1{font-size:38px}
  .hero-center .subline{font-size:14px}
  .inline-grid>*{grid-column:span 12!important}
  .login-grid{grid-template-columns:1fr}
}


body.wall-home{background:#0a0d10 none;color:var(--home-text)}
.home-shell-wall{background:radial-gradient(circle at center, rgba(0,0,0,.12) 0, rgba(0,0,0,.28) 55%, rgba(0,0,0,.55) 100%)}
.home-overlay{position:absolute;inset:0;pointer-events:none;background:linear-gradient(to bottom, rgba(0,0,0,.22), rgba(0,0,0,.08) 35%, rgba(0,0,0,.24) 70%, rgba(0,0,0,.5))}
.home-footer-left{position:fixed;left:18px;bottom:14px;font-size:12px;color:#d9ddd8;letter-spacing:.08em;z-index:3;user-select:none;text-shadow:1px 1px 2px rgba(0,0,0,.75)}
.home-card{display:none}
.os-taskbar{position:fixed;left:0;right:0;bottom:0;height:34px;background:rgba(199,203,212,.92);border-top:2px solid #fff;display:flex;align-items:center;gap:10px;padding:5px 10px;z-index:10;color:#122041}
.start-btn,.task-btn,.task-clock{background:transparent;border:0;box-shadow:none;height:auto;display:flex;align-items:center;padding:0;color:#122041;font-weight:700;min-width:auto}
.start-btn{opacity:.95}
.task-strip{display:flex;gap:12px;flex:1;overflow:auto;align-items:center}
.task-btn{font-weight:400;opacity:.92}
.task-clock{margin-left:auto;justify-content:flex-end;font-weight:700}


body.wall-home{
  margin:0;
  min-height:100vh;
  overflow:hidden;
  background:#050505;
}
.home-shell-wall{
  position:relative;
  width:100vw;
  height:100vh;
  min-height:100vh;
  overflow:hidden;
  padding:0;
  display:block;
}
.home-bg-image{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:fill;
  object-position:center center;
  z-index:0;
  user-select:none;
  -webkit-user-drag:none;
}
.home-vignette{
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:linear-gradient(to bottom,rgba(0,0,0,.10),rgba(0,0,0,.02) 45%,rgba(0,0,0,.28) 100%);
}
.copyright-line{
  position:fixed;
  left:18px;
  bottom:14px;
  z-index:4;
  color:rgba(255,255,255,.92);
  font:12px/1.2 Consolas,"Courier New",monospace;
  letter-spacing:.08em;
  text-shadow:0 1px 3px #000,0 0 8px rgba(0,0,0,.9);
  user-select:none;
}
.admin-dash{
  color:inherit!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  text-decoration:none!important;
  padding:0!important;
  margin:0!important;
  cursor:default!important;
  font:inherit!important;
  outline:none!important;
}
.admin-dash:hover,.admin-dash:focus,.admin-dash:active,.admin-dash:visited{
  color:inherit!important;
  background:transparent!important;
  text-decoration:none!important;
  outline:none!important;
  box-shadow:none!important;
}
.pi-hotspot{
  position:fixed;
  right:18px;
  bottom:8px;
  z-index:4;
  color:rgba(255,255,255,.38);
  font-family:Georgia,"Times New Roman",serif;
  font-size:25px;
  line-height:1;
  text-decoration:none;
  padding:8px 10px;
  text-shadow:0 1px 3px #000;
}
.pi-hotspot:hover,.pi-hotspot:focus{color:rgba(255,255,255,.72);outline:none}

.os-taskbar{
  position:fixed;
  left:0;right:0;bottom:0;
  height:34px;
  z-index:10;
  display:flex;
  align-items:center;
  gap:14px;
  padding:0 10px;
  background:linear-gradient(#dfe4ee,#c2c8d3);
  border-top:2px solid #fff;
  color:#13203a;
  box-shadow:none;
}
.os-taskbar .start-btn,
.os-taskbar .task-btn,
.os-taskbar .task-clock{
  appearance:none;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  outline:0!important;
  height:auto!important;
  min-width:0!important;
  padding:0!important;
  margin:0!important;
  display:inline-flex;
  align-items:center;
  color:#13203a;
  cursor:default!important;
  pointer-events:none;
  white-space:nowrap;
}
.os-taskbar .start-btn{font-weight:700}
.os-taskbar .task-strip{display:flex;align-items:center;gap:14px;flex:1;overflow:hidden}
.os-taskbar .task-btn{font-weight:400}
.os-taskbar .task-clock{margin-left:auto;font-weight:700}

.status-strip{display:flex;gap:12px;flex-wrap:wrap;align-items:center;font-size:12px;color:#eef3ff;text-transform:uppercase;letter-spacing:.04em}
.status-strip .status-item{white-space:nowrap}
.status-ok{color:#bdf0c6}.status-warn{color:#ffe59a}
.movable-window{touch-action:none;user-select:none}
.movable-window .win-body,.movable-window .alert-content{user-select:text}
.audit-window{position:fixed;left:18%;top:16%;width:min(760px,76vw);max-height:62vh;z-index:35}
.audit-window .win-body{max-height:55vh;overflow:auto}
.alert-window{z-index:34}
.system-panel{z-index:33}
.real-status{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.real-status span{white-space:nowrap}
@media(max-width:980px){.audit-window{position:static!important;width:auto;max-height:none;margin-top:14px}.audit-window .win-body{max-height:none}}
.win-btn{padding:0;cursor:pointer;font-family:Tahoma,Verdana,Arial,sans-serif}
.window-minimized>.win-body,.window-minimized>.alert-content{display:none!important}
.window-maximized{position:fixed!important;left:8px!important;top:8px!important;right:8px!important;bottom:42px!important;width:auto!important;max-width:none!important;max-height:none!important;z-index:80!important}
.window-maximized>.win-body,.window-maximized>.alert-content{max-height:calc(100vh - 90px)!important;overflow:auto}

.desktop-icon-button{
  appearance:none;background:transparent;border:1px solid transparent;font:inherit;cursor:default;
}
.desktop-icon-button:hover,.desktop-icon-button:focus{border-color:rgba(255,255,255,.45);background:rgba(255,255,255,.08);outline:none}
.section-caption{font-weight:700;letter-spacing:.08em;margin-bottom:10px;text-transform:uppercase}
.admin-form-row{padding:12px 0;border-top:1px solid #a6b0c2}
.admin-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.gate-section-title{font-weight:700;letter-spacing:.12em;color:#122041;border-bottom:1px solid #9ba5b8;padding-bottom:5px;margin-bottom:10px}
.portal-kind{display:inline-block!important;font-size:10px!important;letter-spacing:.12em!important;color:#5e6b80!important;margin-bottom:5px!important;font-weight:700}
.portal-link strong{color:#0b2f99}
.fake-dos-window{position:fixed;left:22%;top:18%;width:min(720px,72vw);height:min(470px,62vh);z-index:60}
.fake-dos-window .win-body{height:calc(100% - 28px);padding:4px;background:#000}
.dos-shell{overflow:auto!important;background:#000!important;color:#d8d8d8!important;border:2px inset #7d7d7d;font-family:"Courier New",Consolas,monospace!important}
.dos-output{margin:0;padding:10px;min-height:100%;white-space:pre-wrap;font:15px/1.35 "Courier New",Consolas,monospace;color:#d8d8d8;background:#000}
.dos-denied{color:#ff3535;font-weight:700;text-shadow:0 0 3px rgba(255,0,0,.45)}
@media(max-width:980px){.fake-dos-window{left:5%;top:12%;width:90vw;height:58vh}}

.home-bg-image{object-fit:fill!important;object-position:center center!important}
.home-hotspots{position:absolute;inset:0;width:100%;height:100%;z-index:3;pointer-events:none;overflow:visible}



.admin-item-list{display:flex;flex-direction:column;gap:8px}
.admin-details{border:2px solid #fff;border-right-color:#7b8498;border-bottom-color:#7b8498;background:#d7dde8}
.admin-details>summary{cursor:pointer;list-style:none;display:grid;grid-template-columns:minmax(180px,1.4fr) auto auto minmax(180px,1fr);gap:12px;align-items:center;padding:8px 10px;background:#e4e9f1;color:#13203a;font-weight:700}
.admin-details>summary::-webkit-details-marker{display:none}
.admin-details>summary:before{content:"▶";font-size:10px;margin-right:4px}
.admin-details[open]>summary:before{content:"▼"}
.admin-details>summary{grid-template-columns:auto minmax(160px,1.4fr) auto auto minmax(160px,1fr)}
.admin-details .admin-summary-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.admin-summary-url{font-weight:400;color:#41506a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.admin-details .admin-form-row{margin:0;padding:12px;border-top:1px solid #9da7b8}
.create-details{margin-top:14px;background:#cbd3e1}
.create-details>summary{grid-template-columns:auto 1fr;background:#ccd7ef;color:#0d2c83}

.retro-fieldset{border:2px solid #fff;border-right-color:#747d91;border-bottom-color:#747d91;margin:0 0 14px;padding:12px;background:#d5dce8}
.retro-fieldset legend{padding:2px 8px;background:#d5dce8;font-weight:700;color:#13203a;letter-spacing:.06em}
.access-matrix{display:flex;flex-direction:column;gap:8px}
.access-row{display:grid;grid-template-columns:minmax(180px,1fr) 190px minmax(280px,1.6fr);gap:12px;align-items:center;padding:10px;border:1px solid #9ba5b8;background:#edf1f7}
.access-status{display:inline-block;padding:3px 7px;border:1px solid #7b8498;font-size:11px;font-weight:700;letter-spacing:.06em}
.access-status.on{background:#cceccf;color:#0c6720}.access-status.off{background:#e6d7d7;color:#7d2525}
.portal-file-meta{margin-top:8px!important;padding-top:7px;border-top:1px solid #bac3d2;color:#657087!important;font-size:11px!important}
.portal-document strong{color:#3b255f}

@media(max-width:900px){
  .admin-details>summary{grid-template-columns:auto 1fr;gap:5px 8px}
  .admin-details>summary span:not(.admin-summary-title){font-size:11px}
  .admin-summary-url{grid-column:2}
  .access-row{grid-template-columns:1fr}
}

body.wall-home{margin:0;min-height:100vh;overflow:hidden;background:#050505!important}
.home-shell-wall{position:relative;width:100vw;height:100vh;min-height:100vh;overflow:hidden;padding:0;display:flex!important;align-items:center;justify-content:center;background:#050505!important}
.home-media{position:relative;z-index:0;width:min(100vw,177.6833vh);height:min(100vh,56.2799vw);aspect-ratio:1672/941;flex:0 0 auto;overflow:hidden;background:#050505}
.home-bg-image{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center center!important;z-index:0;user-select:none;pointer-events:none}
.home-vignette{position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(to bottom,rgba(0,0,0,.08),rgba(0,0,0,.01) 45%,rgba(0,0,0,.22) 100%)}
.home-hotspots{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;z-index:3;pointer-events:none;overflow:visible}
.home-hotspots a{pointer-events:all;cursor:default}
.image-hotspot-area{fill:rgba(0,0,0,0);stroke:none;pointer-events:all;cursor:default}
.access-user-checks{padding:8px;border:1px solid #a8b0c0;background:#edf1f7}


.home-shell-wall{position:relative!important;width:100vw!important;height:100vh!important;min-height:100vh!important;overflow:hidden!important;padding:0!important;display:block!important;background:#050505!important}
.home-scene{position:absolute;inset:0;width:100vw;height:100vh;display:block;z-index:0;background:#050505;overflow:visible}
.home-scene-image{pointer-events:none;user-select:none}
.home-scene-vignette{pointer-events:none;fill:rgba(0,0,0,.08)}
.home-scene .image-hotspot-area{fill:rgba(0,0,0,0);stroke:none;pointer-events:all;cursor:default}
.home-scene a{pointer-events:all;cursor:default}

.os-topbar{
  min-height:32px!important;
  height:32px!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  white-space:nowrap!important;
  scrollbar-width:thin;
  gap:12px;
}
.os-top-left,.os-top-right,.os-menu{
  flex:0 0 auto!important;
  flex-wrap:nowrap!important;
  white-space:nowrap!important;
}
.os-top-left{min-width:max-content}
.os-top-right{margin-left:auto;min-width:max-content}
.os-menu{display:flex!important;gap:10px!important}
.os-topbar span,.os-topbar a{white-space:nowrap!important}
.os-taskbar{
  min-height:34px!important;
  height:34px!important;
  flex-wrap:nowrap!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  white-space:nowrap!important;
  scrollbar-width:thin;
}
.os-taskbar .status-strip,.os-taskbar .task-strip{
  flex-wrap:nowrap!important;
  white-space:nowrap!important;
  min-width:max-content;
  overflow:visible!important;
}
.os-taskbar .status-item,.os-taskbar .task-btn,.os-taskbar .task-clock,.os-taskbar .start-btn{white-space:nowrap!important;flex:0 0 auto!important}
@media(max-width:780px){
  .os-topbar{padding:0 7px!important;font-size:11px!important}
  .os-topbar .os-pi{font-size:21px!important}
  .os-menu{gap:7px!important}
  .os-taskbar{font-size:11px!important;padding:0 7px!important;gap:9px!important}
  .status-strip{gap:9px!important;font-size:11px!important}
}

.portal-app-button{width:100%;text-align:left;font:inherit;cursor:pointer;color:#122041}
.portal-app-button:hover{background:#e2e8f4}
.gate-app-window{position:fixed;left:12vw;top:9vh;width:min(900px,82vw);height:min(720px,78vh);z-index:65}
.gate-app-window .win-body{height:calc(100% - 28px);padding:0!important;background:#c7cbd4;overflow:hidden}
.gate-app-frame{display:block;width:100%;height:100%;border:0;background:#d7dde8}
@media(max-width:800px){.gate-app-window{left:3vw;top:6vh;width:94vw;height:82vh}}

.qr-tool-body{margin:0;background:#c7cbd4;color:#122041;font-family:Tahoma,Verdana,Arial,sans-serif}
.qr-tool-embedded{min-height:100%;padding:0}
.qr-standalone-shell{min-height:100vh;padding-bottom:46px}
.qr-tool-panel{width:min(1080px,calc(100% - 28px));margin:18px auto;background:#d7dde8;border:2px solid #fff;border-right-color:#6d768b;border-bottom-color:#6d768b;box-shadow:inset 1px 1px 0 #f5f8ff;padding:14px}
.qr-tool-panel.embedded{width:100%;min-height:100%;margin:0;border:0;box-shadow:none}
.qr-tool-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:4px 2px 12px;border-bottom:1px solid #9ba5b8}
.qr-tool-head h1{margin:2px 0 0;font:700 30px/1.1 Georgia,"Times New Roman",serif;letter-spacing:.06em;color:#0c205d}
.qr-kicker{font-size:11px;font-weight:700;letter-spacing:.12em;color:#5c6880}
.qr-tool-status{padding:5px 9px;border:2px solid #fff;border-right-color:#6f7790;border-bottom-color:#6f7790;background:#d9efda;color:#126527;font-weight:700;white-space:nowrap}
.qr-tool-status.error{background:#f3d1d1;color:#8e1717}
.qr-tool-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);gap:16px;padding-top:14px}
.qr-form{min-width:0}
.qr-field-row{margin-bottom:12px}
.qr-field-row.two{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:end}
.qr-field-row label,.qr-form>label{display:block;margin-bottom:5px;font-size:12px;font-weight:700;color:#31415d}
.qr-field-hint{font-size:12px;color:#59677d;padding:8px 4px}
.qr-textarea{min-height:110px;resize:vertical}
.qr-checkbox{display:flex!important;align-items:center;gap:7px;margin:3px 0 12px!important}
.qr-validation{margin:8px 0 12px;padding:9px 10px;border:2px solid #fff;border-right-color:#8b6262;border-bottom-color:#8b6262;background:#f3d5d5;color:#7b1515;font-weight:700}
.qr-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.qr-actions .os-btn:disabled{opacity:.48;cursor:not-allowed}
.qr-preview-area{background:#cbd2df;border:2px solid #fff;border-right-color:#747d91;border-bottom-color:#747d91;padding:12px;min-width:0}
.qr-preview-title{font-weight:700;letter-spacing:.1em;margin-bottom:10px;color:#243652}
.qr-preview{display:flex;align-items:center;justify-content:center;min-height:330px;background:#eef1f5;border:2px inset #8b93a4;padding:14px;overflow:auto;color:#6d7688;font-weight:700;letter-spacing:.08em}
.qr-preview canvas,.qr-preview img{display:block;max-width:100%;height:auto!important}
.qr-payload-info{font-size:11px;color:#536078;margin-top:9px;overflow-wrap:anywhere}
.qr-back-link{color:#122041;text-decoration:underline;font-weight:700}
@media(max-width:860px){.qr-tool-grid{grid-template-columns:1fr}.qr-preview{min-height:280px}.qr-field-row.two{grid-template-columns:1fr}}

.pin-overview-cell{display:inline-flex;align-items:center;gap:7px;min-width:108px;white-space:nowrap}
.pin-overview-value{display:inline-block;min-width:58px;font-family:"Courier New",Consolas,monospace;font-weight:700;letter-spacing:.08em;color:#16213a}
.pin-overview-cell.pin-unavailable .pin-overview-value{color:#8b1e1e;font-size:11px;letter-spacing:0}
.pin-eye-button{width:28px;height:24px;display:inline-grid;place-items:center;padding:2px;background:#d7dde8;border:2px solid #fff;border-right-color:#697287;border-bottom-color:#697287;cursor:pointer;color:#10245f}
.pin-eye-button:active{border-color:#697287;border-right-color:#fff;border-bottom-color:#fff}
.pin-eye-button svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.pin-eye-open circle{fill:currentColor;stroke:none}
.pin-eye-closed{display:none}
.pin-overview-cell.is-revealed .pin-eye-open{display:none}
.pin-overview-cell.is-revealed .pin-eye-closed{display:inline-block}

.duplicate-pin-alert{position:fixed;right:4vw;top:12vh;width:min(520px,90vw);z-index:120}
.duplicate-pin-alert .alert-content{background:#d92820;color:#fff;padding:16px}
.duplicate-alert-heading{font-size:22px;font-weight:700;letter-spacing:.06em;margin-bottom:8px}
.duplicate-pin-alert p{margin:0 0 16px;line-height:1.45}
@media(max-width:700px){.duplicate-pin-alert{left:5vw;right:auto;top:10vh;width:90vw}.pin-overview-cell{min-width:100px}}

html,body.os-body{max-width:100%;overflow-x:hidden}
.os-shell,.desktop,.os-stage,.prae-content,.inner-pad,.columns,.gate-layout,.table-frame,.info-frame,.win-body{min-width:0;max-width:100%}
.os-stage{width:auto;overflow-x:clip}
.win95{min-width:0;max-width:100%}
.prae-main{grid-template-columns:200px minmax(0,1fr)}
.columns{grid-template-columns:minmax(0,1fr) minmax(240px,300px)}
.gate-layout{grid-template-columns:minmax(0,1fr) minmax(240px,280px)}
.table-scroll{max-width:100%;overflow-x:auto;overflow-y:visible}
.os-table{max-width:100%}
.admin-details,.admin-details>summary,.admin-details .admin-form-row,.access-matrix,.access-row{min-width:0;max-width:100%}
.admin-details>summary>*{min-width:0}
.inline-grid{min-width:0}
.inline-grid>*{min-width:0}

.movable-window,
.fake-dos-window,
.audit-window,
.alert-window,
.system-panel,
.duplicate-pin-alert,
.gate-app-window{
  box-sizing:border-box;
  max-width:calc(100vw - 16px)!important;
}
.fake-dos-window,.gate-app-window{max-height:calc(100vh - 50px)!important}
.fake-dos-window .win-body,.gate-app-window .win-body{min-width:0}
.dos-output{max-width:100%;overflow-wrap:anywhere;word-break:break-word}

@media(max-width:1180px){
  .columns{grid-template-columns:1fr}
}
@media(max-width:980px){
  .os-shell{padding-left:6px;padding-right:6px}
  .os-stage{width:100%;margin-left:0;overflow-x:hidden}
  .prae-main,.gate-layout,.gk-box{grid-template-columns:1fr}
  .prae-sidebar{border-right:0;border-bottom:2px solid #fff;display:flex;gap:6px;flex-wrap:wrap}
  .nav-tile{flex:1 1 145px;margin:0;min-width:0}
  .alert-window,.system-panel{position:static!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;width:100%!important;max-width:100%!important;margin-top:14px!important}
}
@media(max-width:700px){
  .win-body{padding:8px}
  .hero-banner{padding:10px}
  .hero-center h1{font-size:clamp(28px,9vw,38px)}
  .prae-sidebar{padding:6px}
  .nav-tile{flex-basis:calc(50% - 6px);padding:8px 6px}
  .fake-dos-window,.gate-app-window,.duplicate-pin-alert,.audit-window{
    width:calc(100vw - 12px)!important;
    left:6px!important;
    right:auto!important;
    max-width:calc(100vw - 12px)!important;
  }
}

.calc-tool-body{
  background:radial-gradient(circle at 15% 15%, rgba(255,255,255,.95) 0, rgba(242,248,255,.92) 35%, rgba(223,235,247,.96) 100%);
  color:#18314a;
  font-family:Tahoma,Verdana,Arial,sans-serif;
}
.calc-standalone-shell{background:linear-gradient(180deg,#f4f9ff 0,#dae8f4 100%)}
.calc-tool-shell{
  max-width:1220px;
  margin:0 auto;
  padding:26px 18px 32px;
}
.calc-tool-shell.embedded{padding:16px 14px 20px}
.calc-future-panel{
  position:relative;
  overflow:hidden;
  border-radius:34px;
  border:1px solid rgba(115,146,180,.28);
  background:linear-gradient(180deg, rgba(255,255,255,.88), rgba(246,250,255,.82));
  box-shadow:0 24px 56px rgba(61,103,145,.18), inset 0 1px 0 rgba(255,255,255,.95);
  backdrop-filter:blur(10px);
}
.calc-future-panel:before,
.calc-future-panel:after{
  content:"";
  position:absolute;
  border-radius:50%;
  pointer-events:none;
}
.calc-future-panel:before{width:520px;height:520px;right:-180px;top:-160px;background:radial-gradient(circle, rgba(120,214,255,.22), rgba(120,214,255,0) 68%);animation:calcFloat 12s ease-in-out infinite}
.calc-future-panel:after{width:420px;height:420px;left:-160px;bottom:-180px;background:radial-gradient(circle, rgba(179,160,255,.18), rgba(179,160,255,0) 70%);animation:calcFloat 15s ease-in-out infinite reverse}
@keyframes calcFloat{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(18px,-12px,0)}}
.calc-panel-head{position:relative;z-index:1;display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding:26px 28px 8px}
.calc-kicker{display:inline-flex;gap:8px;align-items:center;padding:8px 14px;border-radius:999px;background:rgba(255,255,255,.72);box-shadow:inset 0 0 0 1px rgba(112,141,176,.18);font-size:12px;font-weight:700;letter-spacing:.16em;color:#62809b;text-transform:uppercase}
.calc-panel-head h1{margin:14px 0 0;font-size:44px;line-height:1.02;letter-spacing:.04em;color:#18314a}
.calc-panel-head p{margin:10px 0 0;max-width:660px;color:#57718a;font-size:14px;line-height:1.55}
.calc-head-side{display:grid;gap:10px;min-width:240px}
.calc-status-pill,.calc-mode-toggle{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:11px 14px;border-radius:18px;background:rgba(255,255,255,.76);box-shadow:inset 0 0 0 1px rgba(108,137,172,.17)}
.calc-status-pill strong,.calc-mode-toggle strong{font-size:11px;letter-spacing:.14em;color:#6e879c;text-transform:uppercase}
.calc-status-pill span,.calc-mode-toggle button{font-weight:700;color:#17304a}
.calc-mode-toggle button{border:0;background:rgba(162,202,255,.18);border-radius:12px;padding:8px 12px;cursor:pointer;min-width:76px}
.calc-main-grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:24px;padding:0 28px 28px}
.calc-display-wrap{padding:18px 18px 20px;border-radius:28px;background:linear-gradient(180deg, rgba(249,252,255,.98), rgba(229,239,248,.96));box-shadow:inset 0 0 0 1px rgba(109,140,175,.18), 0 12px 26px rgba(72,108,146,.14)}
.calc-top-strip{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:12px;color:#617c95;font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase}
.calc-display{
  position:relative;
  min-height:168px;
  padding:18px 18px 14px;
  border-radius:24px;
  background:linear-gradient(180deg,#f9fbff 0,#eef5fb 100%);
  box-shadow:inset 0 0 0 1px rgba(148,174,199,.34), inset 0 -10px 22px rgba(181,202,220,.26);
  overflow:hidden;
}
.calc-display:before{content:"";position:absolute;inset:0;background:linear-gradient(transparent 0 77%, rgba(84,120,149,.035) 77% 79%, transparent 79% 100%);background-size:100% 22px;pointer-events:none}
.calc-history-line{min-height:22px;text-align:right;color:#6d8598;font-size:14px;white-space:nowrap;overflow:auto hidden;padding-bottom:6px}
.calc-main-line{display:flex;justify-content:flex-end;align-items:flex-end;min-height:92px;font-family:"Courier New",Consolas,monospace;font-size:clamp(30px,4.4vw,58px);font-weight:700;letter-spacing:.06em;color:#0f2438;text-align:right;overflow:auto hidden}
.calc-sub-line{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:10px;color:#71879b;font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.calc-led{display:inline-flex;gap:5px;align-items:center}
.calc-led b{width:9px;height:9px;border-radius:50%;display:inline-block;background:#7cf0c6;box-shadow:0 0 10px rgba(124,240,198,.9)}
.calc-led.error b{background:#ff9494;box-shadow:0 0 10px rgba(255,148,148,.9)}
.calc-keypad-wrap{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-top:18px}
.calc-btn{position:relative;border:0;border-radius:18px;padding:14px 10px;min-height:58px;background:linear-gradient(180deg,#ffffff 0,#edf4fb 100%);box-shadow:0 10px 18px rgba(100,138,175,.14), inset 0 0 0 1px rgba(122,154,189,.18);color:#18314a;font-weight:700;cursor:pointer;transition:transform .14s ease, box-shadow .14s ease, background .14s ease}
.calc-btn:hover{transform:translateY(-1px);box-shadow:0 14px 24px rgba(84,124,161,.18), inset 0 0 0 1px rgba(122,154,189,.22)}
.calc-btn:active{transform:translateY(1px)}
.calc-btn.function{color:#25537d;background:linear-gradient(180deg,#f8fdff 0,#e7f3fb 100%)}
.calc-btn.operator{color:#fff;background:linear-gradient(180deg,#4fa5ff 0,#2f78e6 100%);box-shadow:0 14px 24px rgba(67,125,207,.28), inset 0 0 0 1px rgba(255,255,255,.22)}
.calc-btn.memory{color:#4f6680;background:linear-gradient(180deg,#fbfcff 0,#eef3f8 100%)}
.calc-btn.equal{color:#fff;background:linear-gradient(135deg,#7a73ff 0,#45a9ff 100%);box-shadow:0 16px 28px rgba(94,109,236,.28), inset 0 0 0 1px rgba(255,255,255,.22)}
.calc-btn.accent{color:#fff;background:linear-gradient(135deg,#ff8f72 0,#ff6f91 100%);box-shadow:0 16px 28px rgba(240,111,145,.24), inset 0 0 0 1px rgba(255,255,255,.2)}
.calc-btn.zero{grid-column:span 2}
.calc-sidebar{display:grid;gap:18px}
.calc-card{padding:18px;border-radius:24px;background:rgba(255,255,255,.76);box-shadow:inset 0 0 0 1px rgba(122,151,184,.18), 0 12px 26px rgba(78,112,148,.11)}
.calc-card h2{margin:0 0 12px;font-size:16px;letter-spacing:.14em;text-transform:uppercase;color:#59728a}
.calc-memory-grid,.calc-meta-list{display:grid;gap:10px}
.calc-memory-row,.calc-meta-item{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:11px 12px;border-radius:16px;background:rgba(242,247,252,.94);box-shadow:inset 0 0 0 1px rgba(129,157,188,.14)}
.calc-memory-row b,.calc-meta-item b{font-family:"Courier New",Consolas,monospace;color:#17304a}
.calc-history-list{display:grid;gap:10px;max-height:334px;overflow:auto;padding-right:4px}
.calc-history-item{padding:12px;border-radius:18px;background:rgba(246,250,255,.95);box-shadow:inset 0 0 0 1px rgba(123,152,184,.14);cursor:pointer}
.calc-history-item:hover{background:#fff}
.calc-history-exp{font-size:12px;color:#698198;word-break:break-word}
.calc-history-res{margin-top:6px;font-size:19px;font-weight:700;font-family:"Courier New",Consolas,monospace;color:#17304a}
.calc-inline-note{font-size:12px;color:#6d8499;line-height:1.55}
.calc-standalone-shell .os-taskbar .status-item{white-space:nowrap}
.calc-back-link{color:#17304a;text-decoration:none;font-weight:700}
.calc-back-link:hover{text-decoration:underline}
@media (max-width: 1080px){
  .calc-main-grid{grid-template-columns:1fr}
  .calc-head-side{min-width:0;width:100%}
}
@media (max-width: 860px){
  .calc-panel-head,.calc-main-grid{padding-left:18px;padding-right:18px}
  .calc-panel-head{flex-direction:column}
}
@media (max-width: 680px){
  .calc-keypad-wrap{grid-template-columns:repeat(4,minmax(0,1fr))}
  .calc-btn[data-col-hide="compact"]{display:none}
  .calc-btn.zero{grid-column:span 2}
  .calc-panel-head h1{font-size:34px}
  .calc-display{min-height:150px}
}

.calc-tool-body{
  min-width:0;
  overflow-x:hidden;
  background:
    radial-gradient(circle at 12% 10%,rgba(255,255,255,.98) 0,rgba(255,255,255,.82) 20%,transparent 46%),
    radial-gradient(circle at 88% 18%,rgba(186,222,255,.58) 0,transparent 36%),
    linear-gradient(145deg,#f9fcff 0,#eef6fb 48%,#e7f0fa 100%);
}
.calc-tool-shell{max-width:1180px;padding:18px 16px 28px}
.calc-tool-shell.embedded{max-width:none;padding:10px 10px 22px}
.calc-future-panel{
  border-radius:30px;
  border:1px solid rgba(134,163,190,.2);
  background:linear-gradient(155deg,rgba(255,255,255,.94),rgba(246,250,255,.88));
  box-shadow:0 30px 80px rgba(44,83,118,.16),inset 0 1px 0 rgba(255,255,255,.98);
}
.calc-future-panel:before{
  width:620px;height:620px;right:-220px;top:-260px;
  background:radial-gradient(circle,rgba(94,195,255,.21),rgba(111,172,255,.08) 35%,transparent 68%);
  filter:blur(4px);
}
.calc-future-panel:after{
  width:520px;height:520px;left:-210px;bottom:-260px;
  background:radial-gradient(circle,rgba(177,139,255,.17),rgba(124,196,255,.06) 42%,transparent 72%);
  filter:blur(5px);
}
.calc-panel-head{padding:20px 22px 12px;align-items:center}
.calc-kicker{
  padding:7px 12px;
  border-radius:999px;
  background:rgba(239,247,255,.82);
  color:#7592aa;
  letter-spacing:.18em;
  box-shadow:inset 0 0 0 1px rgba(98,138,172,.12),0 8px 22px rgba(91,126,155,.08);
}
.calc-panel-head h1{
  margin:9px 0 0;
  font-size:clamp(30px,4vw,48px);
  letter-spacing:.025em;
  font-weight:700;
  color:#122b42;
  text-shadow:0 1px 0 #fff;
}
.calc-panel-head p{display:none!important}
.calc-head-side{grid-template-columns:1fr 1fr;min-width:min(100%,390px);gap:8px}
.calc-status-pill,.calc-mode-toggle{
  min-height:54px;
  border-radius:18px;
  padding:10px 13px;
  background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(239,246,252,.86));
  box-shadow:inset 0 0 0 1px rgba(105,141,174,.12),0 10px 25px rgba(83,116,146,.08);
}
.calc-mode-toggle button{
  background:linear-gradient(135deg,rgba(105,182,255,.18),rgba(117,111,255,.12));
  box-shadow:inset 0 0 0 1px rgba(79,135,202,.12);
}
.calc-main-grid{grid-template-columns:1fr;gap:16px;padding:0 22px 22px}
.calc-display-wrap{
  padding:14px;
  border-radius:27px;
  background:linear-gradient(155deg,rgba(251,253,255,.98),rgba(232,242,250,.93));
  box-shadow:inset 0 0 0 1px rgba(113,150,182,.14),0 20px 45px rgba(71,110,145,.12);
}
.calc-top-strip{margin-bottom:9px;padding:0 4px;font-size:10px;color:#7b93a8;letter-spacing:.18em}
.calc-display{
  min-height:138px;
  padding:14px 17px 12px;
  border-radius:22px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.98),rgba(238,246,252,.95)),
    repeating-linear-gradient(0deg,transparent 0 17px,rgba(77,118,151,.035) 18px 19px);
  box-shadow:inset 0 0 0 1px rgba(134,163,188,.24),inset 0 -14px 34px rgba(152,190,219,.16),0 10px 26px rgba(101,133,163,.08);
}
.calc-display:after{
  content:"";position:absolute;left:16px;right:16px;top:12px;height:1px;
  background:linear-gradient(90deg,transparent,rgba(103,176,231,.42),transparent);
  box-shadow:0 0 18px rgba(88,181,255,.35);
}
.calc-history-line{min-height:19px;font-size:13px;color:#7890a3}
.calc-main-line{
  min-height:72px;
  font-family:"SFMono-Regular",Consolas,"Liberation Mono",monospace;
  font-size:clamp(34px,5vw,62px);
  font-weight:600;
  letter-spacing:.035em;
  color:#102d45;
  text-shadow:0 0 18px rgba(68,161,222,.10);
}
.calc-sub-line{margin-top:6px;font-size:10px;color:#7990a3;letter-spacing:.14em}
.calc-keypad-wrap{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-top:12px}
.calc-btn{
  min-height:48px;
  padding:10px 8px;
  border-radius:16px;
  font-size:14px;
  background:linear-gradient(160deg,rgba(255,255,255,.98),rgba(238,245,251,.92));
  box-shadow:0 8px 18px rgba(79,115,146,.10),inset 0 0 0 1px rgba(108,145,177,.13),inset 0 1px 0 rgba(255,255,255,.98);
}
.calc-btn:hover{transform:translateY(-2px);box-shadow:0 14px 25px rgba(70,111,148,.16),inset 0 0 0 1px rgba(93,145,190,.18)}
.calc-btn.function{color:#416a89;background:linear-gradient(160deg,#fbfdff,#eaf4fa)}
.calc-btn.memory{color:#627c93;background:linear-gradient(160deg,#fff,#eef3f8)}
.calc-btn.operator{
  background:linear-gradient(145deg,#82cfff 0,#4e9df2 60%,#447eea 100%);
  box-shadow:0 12px 28px rgba(68,137,217,.23),inset 0 0 0 1px rgba(255,255,255,.28),inset 0 1px 0 rgba(255,255,255,.35)
}
.calc-btn.equal{
  background:linear-gradient(145deg,#9488ff 0,#6a84ff 40%,#48b8ff 100%);
  box-shadow:0 13px 30px rgba(91,112,235,.27),inset 0 0 0 1px rgba(255,255,255,.25)
}
.calc-btn.accent{
  background:linear-gradient(145deg,#ff9b95 0,#ff7ca1 55%,#e979b4 100%);
  box-shadow:0 12px 26px rgba(229,105,151,.21),inset 0 0 0 1px rgba(255,255,255,.25)
}
.calc-sidebar{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.calc-card{
  padding:14px;
  border-radius:20px;
  background:linear-gradient(155deg,rgba(255,255,255,.9),rgba(241,247,252,.82));
  box-shadow:inset 0 0 0 1px rgba(115,149,179,.12),0 12px 28px rgba(79,113,142,.08)
}
.calc-card h2{font-size:12px;margin-bottom:10px;color:#7390a6;letter-spacing:.18em}
.calc-memory-row,.calc-meta-item{padding:9px 10px;border-radius:13px;background:rgba(244,249,253,.9)}
.calc-history-list{max-height:190px}
.calc-history-item{border:0;text-align:left;width:100%;padding:10px;border-radius:14px;background:rgba(246,250,255,.92)}
.calc-led b{background:#66efbc;box-shadow:0 0 13px rgba(84,231,178,.85)}

.gate-app-calculator{
  width:min(1120px,calc(100vw - 28px));
  height:min(900px,calc(100vh - 54px));
  max-width:calc(100vw - 16px)!important;
  max-height:calc(100vh - 46px)!important;
}
.gate-app-calculator .win-body{overflow:hidden!important}
.gate-app-calculator .gate-app-frame{overflow:auto}

@media (max-height:860px){
  .calc-tool-shell.embedded{padding:7px 8px 16px}
  .calc-panel-head{padding:12px 15px 7px}
  .calc-kicker{font-size:9px;padding:5px 9px}
  .calc-panel-head h1{font-size:30px;margin-top:5px}
  .calc-status-pill,.calc-mode-toggle{min-height:42px;padding:7px 10px}
  .calc-main-grid{padding:0 15px 16px;gap:12px}
  .calc-display-wrap{padding:10px}
  .calc-display{min-height:108px;padding:9px 13px 8px}
  .calc-history-line{min-height:16px;font-size:11px}
  .calc-main-line{min-height:55px;font-size:clamp(27px,5vw,46px)}
  .calc-sub-line{font-size:9px;margin-top:3px}
  .calc-keypad-wrap{gap:6px;margin-top:9px}
  .calc-btn{min-height:39px;padding:7px 5px;border-radius:13px;font-size:12px}
  .calc-sidebar{gap:9px}
  .calc-card{padding:11px}
}
@media (max-height:700px){
  .calc-panel-head{padding:8px 12px 5px}
  .calc-kicker{display:none}
  .calc-panel-head h1{font-size:25px;margin:0}
  .calc-head-side{grid-template-columns:1fr 1fr;gap:5px}
  .calc-status-pill,.calc-mode-toggle{min-height:34px;padding:5px 8px;border-radius:12px;font-size:11px}
  .calc-main-grid{padding:0 12px 13px}
  .calc-top-strip{display:none}
  .calc-display{min-height:88px}
  .calc-main-line{min-height:46px;font-size:30px}
  .calc-keypad-wrap{gap:4px;margin-top:7px}
  .calc-btn{min-height:33px;padding:5px 4px;border-radius:11px;font-size:11px}
}
@media (max-width:780px){
  .calc-panel-head{flex-direction:column;align-items:stretch}
  .calc-head-side{width:100%;min-width:0}
  .calc-sidebar{grid-template-columns:1fr}
}
@media (max-width:560px){
  .calc-tool-shell,.calc-tool-shell.embedded{padding:6px}
  .calc-future-panel{border-radius:20px}
  .calc-panel-head{padding:10px 10px 6px}
  .calc-main-grid{padding:0 10px 12px}
  .calc-display-wrap{border-radius:19px}
  .calc-display{border-radius:16px}
  .calc-keypad-wrap{grid-template-columns:repeat(6,minmax(0,1fr));gap:4px}
  .calc-btn{min-width:0;font-size:10px;padding:5px 2px}
}

.admin-dash,
.pi-hotspot{
  -webkit-appearance:none;
  appearance:none;
  border:0;
  outline:0;
  cursor:default;
}
.pi-hotspot{background:transparent;margin:0}
.image-hotspot-area{cursor:default!important;outline:none!important}
.image-hotspot-area:focus{outline:none!important}

body.os-body{
  background:#07152f!important;
  color:#dbe6f3;
  font-family:"MS Sans Serif",Tahoma,Verdana,Arial,sans-serif;
}
body.os-body .os-shell{
  background:
    radial-gradient(circle at 48% 28%, rgba(39,78,142,.34) 0, rgba(21,49,100,.22) 30%, rgba(7,23,55,.08) 58%, rgba(3,12,31,.16) 100%),
    linear-gradient(180deg,#0e2d67 0,#0b2454 34%,#071a3f 68%,#05132f 100%)!important;
  position:relative;
}
body.os-body .os-shell:before{
  background:
    radial-gradient(circle at 18% 14%,rgba(255,255,255,.045),transparent 30%),
    radial-gradient(circle at 82% 72%,rgba(0,0,0,.16),transparent 34%),
    linear-gradient(rgba(255,255,255,.035),rgba(255,255,255,0) 18%,rgba(0,0,0,.10) 86%)!important;
  opacity:1!important;
}
body.os-body .os-shell:after{
  background:linear-gradient(rgba(255,255,255,.038) 50%,rgba(0,0,0,.065) 50%)!important;
  background-size:100% 3px!important;
  opacity:.32!important;
}
body.os-body .os-topbar{
  background:linear-gradient(#bac7d8,#8397b3)!important;
  border:2px solid #e3eaf3!important;
  border-right-color:#43536a!important;
  border-bottom-color:#35445a!important;
  box-shadow:inset 1px 1px 0 #f5f8fc,inset -1px -1px 0 #596b83,0 2px 5px rgba(0,0,0,.25)!important;
  color:#0d1d35!important;
  text-shadow:none!important;
  position:relative;
}
body.os-body .os-top-left,
body.os-body .os-top-right,
body.os-body .os-brand,
body.os-body .os-menu span,
body.os-body .os-topbar a{color:#0c1a31!important}
body.os-body .os-pi{color:#16315e!important;text-shadow:1px 1px 0 rgba(255,255,255,.58)!important}

body.os-body .os-top-right{padding-right:74px!important;position:relative!important}
body.os-body .os-top-right:before{
  content:"";
  position:absolute;
  right:10px;
  top:50%;
  width:8px;
  height:8px;
  margin-top:-4px;
  border-radius:50%;
  background:#c7191f;
  box-shadow:-16px 0 0 #ee3438,-32px 0 0 #8d1015,0 0 6px rgba(255,54,60,.72),-16px 0 6px rgba(255,54,60,.66),-32px 0 6px rgba(255,54,60,.52);
  animation:mklOldBlueLedA 1.75s steps(1,end) infinite;
}
body.os-body .os-top-right:after{
  content:"";
  position:absolute;
  right:10px;
  top:50%;
  width:8px;
  height:8px;
  margin-top:-4px;
  border-radius:50%;
  background:#fa6165;
  box-shadow:-16px 0 0 #8f1014,-32px 0 0 #e4282e;
  opacity:.86;
  animation:mklOldBlueLedB 2.25s steps(1,end) infinite;
}
@keyframes mklOldBlueLedA{0%,16%,40%,62%,100%{opacity:1}8%,28%,51%,74%{opacity:.22}}
@keyframes mklOldBlueLedB{0%,25%,52%,78%,100%{opacity:.18}12%,38%,65%,90%{opacity:.92}}

body.os-body .desktop-icon{color:#e3ebf5!important}
body.os-body .desktop-icon:hover{background:rgba(146,174,214,.08)!important;border-color:rgba(196,214,238,.42)!important}
body.os-body .desktop-icon span:last-child{text-shadow:1px 1px 0 rgba(0,0,0,.62)!important}

body.os-body .win95{
  background:#aebccc!important;
  border:2px solid #e7edf5!important;
  border-right-color:#435269!important;
  border-bottom-color:#35445a!important;
  box-shadow:inset 1px 1px 0 #f7f9fc,inset -1px -1px 0 #68798e,3px 3px 0 rgba(0,0,0,.22),0 8px 18px rgba(0,0,0,.14)!important;
}
body.os-body .win-title{
  background:linear-gradient(90deg,#173d7f,#0b285e 62%,#274e87)!important;
  color:#edf4ff!important;
  border-bottom:1px solid #061b46!important;
  text-shadow:1px 1px 0 rgba(0,0,0,.42)!important;
}
body.os-body .win-title.red{background:linear-gradient(90deg,#8c2027,#60131a 64%,#a5343b)!important}
body.os-body .win-title.black{background:linear-gradient(90deg,#18243b,#070d18 70%,#26344e)!important}
body.os-body .win-btn{
  background:#a9b8ca!important;
  border:1px solid #eef3f9!important;
  border-right-color:#46556c!important;
  border-bottom-color:#46556c!important;
  box-shadow:inset 1px 1px 0 #f7f9fc!important;
  color:#10213b!important;
}
body.os-body .win-body,
body.os-body .prae-content,
body.os-body .prae-sidebar,
body.os-body .table-frame,
body.os-body .info-frame,
body.os-body .empty-note,
body.os-body .portal-item,
body.os-body .os-msg,
body.os-body .os-taskbar{background-color:#aebccc!important}
body.os-body .prae-sidebar{background:#91a4bd!important;border-right-color:#dde6f0!important}
body.os-body .nav-tile{
  background:#a7b6c8!important;
  border:2px solid #e4ebf4!important;
  border-right-color:#45566d!important;
  border-bottom-color:#45566d!important;
  color:#10213b!important;
}
body.os-body .nav-tile.active{
  background:#183d78!important;
  color:#f0f6ff!important;
  border-color:#6684b4!important;
  border-right-color:#071a45!important;
  border-bottom-color:#071a45!important;
}
body.os-body .hero-banner{
  background:linear-gradient(180deg,#0c1830 0,#020711 100%)!important;
  border-bottom:2px solid #3f526d!important;
  color:#eaf3ff!important;
}
body.os-body .hero-center .subline,
body.os-body .hero-right{color:#bbcce1!important}
body.os-body .portal-item{
  background:#bcc9d8!important;
  color:#13243d!important;
  border:2px solid #edf3fa!important;
  border-right-color:#4a5b70!important;
  border-bottom-color:#4a5b70!important;
  box-shadow:inset 1px 1px 0 #f8fbff!important;
}
body.os-body .portal-item:hover{background:#c8d4e1!important}
body.os-body .portal-kind,
body.os-body .os-small{color:#415670!important}
body.os-body .os-msg{
  border:2px solid #edf3fa!important;
  border-right-color:#47586f!important;
  border-bottom-color:#47586f!important;
  color:#10223c!important;
}
body.os-body .os-msg.error{background:#c7a2a8!important;color:#52171d!important}
body.os-body .os-msg.warn{background:#c5bc98!important;color:#433816!important}
body.os-body .os-input,
body.os-body .os-textarea{
  background:#eef3f8!important;
  color:#10213a!important;
  border:2px solid #55667d!important;
  border-right-color:#f5f8fb!important;
  border-bottom-color:#f5f8fb!important;
  box-shadow:inset 1px 1px 0 #3f5065!important;
}
body.os-body .os-btn{
  background:#a8b6c7!important;
  border:2px solid #edf3f9!important;
  border-right-color:#46566c!important;
  border-bottom-color:#46566c!important;
  box-shadow:inset 1px 1px 0 #f7f9fc!important;
  color:#10213a!important;
}
body.os-body .os-btn:hover{background:#b7c5d5!important}
body.os-body .os-btn.green{background:#b9c8bc!important}
body.os-body .os-btn.red{background:#c9aeb1!important}
body.os-body .os-table th{background:#8fa3bc!important;color:#102039!important}
body.os-body .os-table td{background:#dce5ee!important;color:#102039!important}
body.os-body .os-table tr.selected td{background:#204a87!important;color:#f4f8ff!important}
body.os-body .gk-poster{
  background:linear-gradient(#111d33,#070e1b)!important;
  border-color:#53657d!important;
  color:#e4edf8!important;
}
body.os-body .gk-poster .beam{background:linear-gradient(to bottom,#4d6382,#edf6ff 72%,rgba(255,255,255,.08))!important}
body.os-body .alert-content{background:#822129!important;color:#ffe8ea!important}
body.os-body .alert-content .blackbox{background:#16070a!important;border-color:#c45c64!important;color:#ff9299!important}
body.os-body .os-taskbar{
  background:rgba(129,150,176,.96)!important;
  border-top:2px solid #e9eff6!important;
  color:#102039!important;
}
body.os-body .start-btn,
body.os-body .task-btn,
body.os-body .task-clock,
body.os-body .status-item{color:#102039!important}
body.os-body .footer-note{color:#c8d7e9!important;text-shadow:1px 1px 0 rgba(0,0,0,.48)!important;position:absolute}
body.os-body .footer-note:before{
  content:"";
  position:absolute;
  left:-28px;
  top:4px;
  width:8px;
  height:8px;
  border-radius:50%;
  background:#c91f25;
  box-shadow:14px 0 0 #f04a50,0 0 6px rgba(240,74,80,.55),14px 0 6px rgba(240,74,80,.55);
  animation:mklOldBlueLedA 2.1s steps(1,end) infinite;
}
body.os-body .link-inline{color:#173d7d!important}

body.qr-tool-body:not(.qr-tool-embedded){background:#07152f!important}
body.qr-tool-body.qr-tool-embedded{background:linear-gradient(180deg,#aebccc,#94a8c2)!important}

@media(max-width:780px){
  body.os-body .os-top-right{padding-right:62px!important}
  body.os-body .os-top-right:before,body.os-body .os-top-right:after{transform:scale(.86);transform-origin:right center}
}


.gate-chat-window{margin-top:14px;max-width:100%}
.chat-body{padding:9px!important}
.chat-message-list{
  min-height:76px;
  max-height:76px;
  overflow-y:auto;
  overflow-x:hidden;
  padding:6px;
  background:#d9e3ed;
  border:2px solid #53657c;
  border-right-color:#eef4fa;
  border-bottom-color:#eef4fa;
  box-shadow:inset 1px 1px 0 #43556d;
}
.chat-message{display:grid;grid-template-columns:auto 1fr;gap:7px;align-items:start;padding:3px 4px;border-bottom:1px dotted rgba(35,58,86,.24);font-size:11px;line-height:1.35;color:#12243c}
.chat-message:last-child{border-bottom:0}
.chat-message.mine{background:rgba(43,83,137,.07)}
.chat-message.theirs{background:rgba(255,255,255,.20)}
.chat-message-head{font-weight:700;white-space:nowrap;color:#3e5874}
.chat-message-text{min-width:0;word-break:break-word;white-space:normal}
.chat-empty{padding:28px 6px;text-align:center;font-size:11px;color:#5b7088}
.chat-compose{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;margin-top:7px;align-items:stretch}
.chat-input{min-height:44px!important;max-height:74px!important;resize:none!important;line-height:1.3!important;font-size:12px!important}
.chat-meta{display:flex;justify-content:space-between;gap:10px;margin-top:5px;font-size:10px;font-weight:700;letter-spacing:.08em;color:#4a617a;white-space:nowrap}
.chat-unread-title{color:#ffb6ba;font-size:10px;margin-left:6px}
.admin-chat-notify{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:0 0 10px;padding:7px 9px;background:#891f29;border:2px solid #e4a8ad;border-right-color:#521219;border-bottom-color:#521219;box-shadow:inset 1px 1px 0 #ffc8cc;color:#fff;position:relative;z-index:8}
.admin-chat-notify[hidden]{display:none!important}
.admin-chat-notify-label{font-weight:700;font-size:11px;letter-spacing:.12em;white-space:nowrap}
.admin-chat-notify-buttons{display:flex;gap:6px;flex-wrap:wrap}
.admin-chat-alert-btn{background:#c6d1de!important;animation:adminChatPulse 1.7s steps(1,end) infinite}
@keyframes adminChatPulse{0%,55%,100%{filter:brightness(1)}28%{filter:brightness(1.22)}}
.admin-chat-window{position:fixed!important;right:22px;top:48px;width:min(520px,calc(100vw - 20px));max-width:calc(100vw - 20px);z-index:720}
.chat-user-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:9px}
.chat-user-button{display:grid!important;grid-template-columns:1fr auto;gap:3px 9px;text-align:left!important;align-items:center;min-height:58px}
.chat-user-button strong{font-size:13px}
.chat-user-button span{font-size:10px;color:#50657e}
.chat-user-button b{grid-row:1 / span 2;grid-column:2;font-size:10px;white-space:nowrap}
.chat-user-button.has-unread{background:#c99ba0!important;color:#471017!important;box-shadow:inset 0 0 0 2px #8e232d!important}
@media(max-width:780px){
  .admin-chat-window{left:5px!important;right:auto!important;top:54px!important;width:calc(100vw - 10px)!important;max-height:calc(100vh - 94px);overflow:auto}
  .chat-compose{grid-template-columns:1fr}
  .chat-compose .os-btn{width:auto}
  .chat-message{grid-template-columns:1fr;gap:2px}
  .chat-message-head{white-space:normal}
}

.gate-search-wrap{margin:0 0 18px;padding:12px;border:2px solid #d8e3f3;border-right-color:#5f7590;border-bottom-color:#5f7590;background:rgba(203,216,232,.92)}
.gate-search-wrap>label{display:block;margin:0 0 7px;font-size:11px;font-weight:700;letter-spacing:.14em;color:#304d6e}
.gate-search-line{display:flex;gap:8px;align-items:center}.gate-search-line .os-input{flex:1}.gate-search-wrap .os-small{margin-top:7px}
.extra-gate-window{position:fixed;left:min(17vw,220px);top:min(16vh,150px);width:min(720px,calc(100vw - 24px));max-height:calc(100vh - 48px);z-index:260}
.extra-gate-window>.win-body{max-height:calc(100vh - 90px);overflow:auto}
.sim-shell-window{width:min(780px,calc(100vw - 24px));height:min(570px,calc(100dvh - 96px));top:44px!important;max-height:none!important;box-sizing:border-box}
.sim-shell-window>.win-body{height:calc(100% - 28px);max-height:none!important;overflow:hidden!important;padding:4px!important;background:#000!important;box-sizing:border-box}
.sim-shell-window.window-maximized{height:auto!important;max-height:none!important}.sim-shell-window.window-maximized>.win-body{height:calc(100% - 28px)!important;max-height:none!important;overflow:hidden!important}
.sim-shell{position:relative;display:flex;flex-direction:column;height:100%;min-height:0;background:#000;border:2px inset #5a6570;color:#fff;padding:10px;font:14px/1.45 Consolas,"Courier New",monospace;box-sizing:border-box;outline:0;cursor:text}
.sim-shell-output{flex:1;min-height:0;margin:0;overflow:auto;white-space:pre-wrap;color:#fff;font:14px/1.45 Consolas,"Courier New",monospace;text-shadow:none;scrollbar-color:#808080 #111}
.sim-shell-prompt{flex:0 0 auto;min-height:23px;padding-top:7px;color:#fff;white-space:pre-wrap;word-break:break-all;font:inherit}
.sim-shell-typed{color:#fff}.sim-shell-cursor{display:inline-block;margin-left:1px;color:#fff;animation:shellCursor .9s steps(1,end) infinite}.sim-shell-cursor.is-busy{opacity:.3;animation:none}.sim-shell-cursor.is-focused{box-shadow:0 0 0 1px rgba(255,255,255,.08)}
.sim-shell-capture{position:absolute!important;left:8px!important;bottom:7px!important;width:1px!important;height:1px!important;min-width:1px!important;min-height:1px!important;margin:0!important;padding:0!important;border:0!important;outline:0!important;opacity:.01!important;background:transparent!important;color:transparent!important;caret-color:transparent!important;font-size:16px!important;line-height:1!important;z-index:0;pointer-events:none}
.sim-cmd,.sim-reply{color:#fff}.sim-hacked{color:#ff3b3b;font-weight:700;text-shadow:0 0 5px rgba(255,48,48,.55)}
@keyframes shellCursor{0%,48%{opacity:1}49%,100%{opacity:0}}
.bank-camera-window{width:min(700px,calc(100vw - 24px));position:fixed;z-index:480}.bank-camera-wrap{background:#07101a;padding:10px;color:#dce9f7}.bank-camera-stage{position:relative;overflow:hidden;background:#000;aspect-ratio:16/10;border:2px solid #516b87}.bank-camera-video{width:100%;height:100%;object-fit:cover;display:block;transform:scaleX(-1)}
.bank-intruder{position:relative;text-align:center;margin:1px 0 10px;padding:5px 8px;color:#ff3737;font:bold clamp(17px,3vw,30px)/1.1 Consolas,"Courier New",monospace;letter-spacing:.08em;text-shadow:0 0 8px #ff1b1b,2px 2px 0 #000;animation:intruderBlink .78s steps(1,end) infinite}.bank-scan-line{position:absolute;left:0;right:0;height:2px;background:rgba(255,44,44,.7);box-shadow:0 0 9px rgba(255,44,44,.8);animation:bankScan 3.3s linear infinite}.bank-camera-status{padding:8px 4px 0;font:12px Consolas,"Courier New",monospace;color:#9eb7cf;letter-spacing:.08em}
@keyframes intruderBlink{0%,54%,100%{opacity:1}55%,82%{opacity:.18}}@keyframes bankScan{0%{top:4%}50%{top:94%}100%{top:4%}}
.easter-window{width:min(440px,calc(100vw - 24px))}.easter-popup{position:relative;padding:8px 8px 6px 30px;min-height:72px}.easter-popup p{margin:3px 0 10px;line-height:1.45}.easter-led{position:absolute;left:7px;top:10px;width:10px;height:10px;border-radius:50%;background:#f22;box-shadow:0 0 8px #f22;animation:intruderBlink 1.1s steps(1,end) infinite}
.easter-admin-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px}.easter-admin-card{padding:12px;border:2px solid #d9e4f2;border-right-color:#657b94;border-bottom-color:#657b94;background:#c8d5e4}.easter-admin-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.easter-trigger{margin-top:6px;font-weight:700;color:#284865}.easter-admin-card .check-group{margin-top:7px}
@media(max-width:640px){.gate-search-line{align-items:stretch}.gate-search-line .os-btn{flex:0 0 auto}.extra-gate-window{left:6px!important;top:42px!important;width:calc(100vw - 12px)!important;max-height:calc(100dvh - 88px)!important}.sim-shell-window{left:6px!important;top:40px!important;width:calc(100vw - 12px)!important;height:calc(100dvh - 84px)!important;max-height:none!important}.sim-shell{padding:8px;font-size:13px}.sim-shell-output{font-size:13px}}

.code-guide-body{margin:0;min-height:100vh;background:#71849d;color:#10223e;font:13px/1.35 Tahoma,Verdana,Arial,sans-serif}
.code-guide-shell{padding:12px;min-height:100vh;box-sizing:border-box;background:linear-gradient(180deg,#8597ad,#6f8299)}
.code-guide-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:8px 10px;margin-bottom:10px;background:linear-gradient(90deg,#173d7f,#0b285e 62%,#274e87);color:#edf4ff;border:2px solid #dce6f1;border-right-color:#3e4f66;border-bottom-color:#314159;box-shadow:inset 1px 1px 0 #f7f9fc;font-size:12px;letter-spacing:.07em}
.code-guide-head>div{display:flex;gap:9px;align-items:center}.code-guide-pi{font:700 21px/1 Georgia,serif}
.code-guide-panel{background:#afbdcc;border:2px solid #e7edf5;border-right-color:#435269;border-bottom-color:#35445a;box-shadow:inset 1px 1px 0 #f7f9fc,2px 2px 0 rgba(0,0,0,.18);margin-bottom:11px}
.code-guide-section-title{padding:6px 8px;background:#8497b0;border-bottom:1px solid #586b84;font-weight:700;letter-spacing:.08em;color:#10284b}
.code-guide-table-wrap{overflow:auto}.code-guide-table{width:100%;border-collapse:collapse;min-width:620px}.code-guide-table th,.code-guide-table td{padding:7px 8px;text-align:left;vertical-align:top;border-right:1px solid #8292a5;border-bottom:1px solid #8292a5}.code-guide-table th{background:#9cabbc;color:#11284b}.code-guide-table td{background:#d6dee7}.code-guide-table code{font:700 12px/1.45 Consolas,"Courier New",monospace;color:#132c55;white-space:normal}
.code-guide-eggs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:8px}.code-guide-egg{padding:8px;background:#d5dee8;border:1px solid #71849b;box-shadow:inset 1px 1px 0 rgba(255,255,255,.85);min-width:0}.code-guide-egg-top{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:5px}.code-guide-egg>div:not(.code-guide-egg-top){font-size:12px;margin-top:3px}.code-guide-state{flex:none;padding:2px 6px;border:1px solid #526479;background:#a9b5c4;font-size:10px;font-weight:700;letter-spacing:.05em}.code-guide-state.on{background:#173d7f;color:#f2f7ff;border-color:#071b42}.code-guide-state.off{color:#546273}
.code-guide-note{padding:7px 9px;background:#0d244d;color:#dce9fb;border:1px solid #061936;font-size:11px}
@media(max-width:680px){.code-guide-eggs{grid-template-columns:1fr}.code-guide-shell{padding:7px}.code-guide-head{align-items:flex-start;flex-direction:column;gap:4px}}

.bank-identify{position:relative;text-align:center;margin:1px 0 10px;padding:6px 8px;font:bold clamp(17px,3vw,30px)/1.1 Consolas,"Courier New",monospace;letter-spacing:.08em;text-shadow:1px 1px 0 #000}
.bank-identify-scan{color:#58ff8c;text-shadow:0 0 8px rgba(62,255,126,.85),1px 1px 0 #000;animation:bankScanText 1.05s steps(2,end) infinite}
.bank-identify-alert{color:#ff3737;text-shadow:0 0 8px #ff1b1b,2px 2px 0 #000;animation:intruderBlink .78s steps(1,end) infinite}
.bank-scan-line-green{background:rgba(54,255,117,.82)!important;box-shadow:0 0 11px rgba(54,255,117,.9)!important}
.bank-scan-line-red{background:rgba(255,44,44,.78)!important;box-shadow:0 0 10px rgba(255,44,44,.88)!important}
.bank-scan-grid{position:absolute;inset:0;pointer-events:none;background:linear-gradient(rgba(55,255,122,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(55,255,122,.035) 1px,transparent 1px);background-size:34px 34px;mix-blend-mode:screen}
@keyframes bankScanText{0%,100%{opacity:1}50%{opacity:.55}}

.bndx-code-window{width:min(640px,calc(100vw - 24px));height:min(420px,calc(100dvh - 90px));top:52px!important;left:clamp(8px,9vw,120px)!important}
.bndx-code-window>.win-body{height:calc(100% - 28px);padding:0!important;background:#000!important;overflow:hidden!important}
.bndx-code{height:100%;background:#000;color:#e9edf4;padding:12px;box-sizing:border-box;font:14px/1.45 Consolas,"Courier New",monospace;overflow:auto}
.bndx-code pre{margin:0;white-space:pre-wrap;font:inherit;color:inherit}
.bndx-remote-window{width:min(760px,calc(100vw - 24px));height:min(590px,calc(100dvh - 92px));z-index:620!important}
.bndx-remote-window>.win-body{height:calc(100% - 28px);padding:0!important;overflow:hidden!important;background:#0b34a5!important}
.bndx-remote-shell{position:relative;height:100%;box-sizing:border-box;background:#0a2d94;color:#fff;font:14px/1.3 "Courier New",Consolas,monospace;padding:4px;overflow:hidden}
.bndx-nc-menu{background:#c7c7c7;color:#001b68;padding:4px 7px;font-weight:700;border-bottom:1px solid #fff;box-shadow:inset 0 -1px 0 #555;white-space:nowrap;overflow:hidden}
.bndx-nc-panels{display:grid;grid-template-columns:1fr 1fr;gap:4px;height:155px;margin-top:4px;transition:filter .9s ease,opacity .9s ease}
.bndx-nc-pane{border:2px double #80e9ff;background:#0635a1;padding:5px;overflow:hidden}
.bndx-pane-title{color:#fff59a;text-align:center;border-bottom:1px solid #8ae9ff;margin-bottom:5px;padding-bottom:3px}
.bndx-nc-pane>div:not(.bndx-pane-title){padding:2px 4px}
.bndx-file-selected{background:#00c9d7!important;color:#00135c!important;font-weight:700}
.bndx-record{position:relative;margin:8px auto 0;width:min(92%,620px);background:#d7d7d7;color:#03135a;border:3px double #fff;padding:8px;box-sizing:border-box;box-shadow:7px 7px 0 rgba(0,0,0,.26);transition:filter .9s ease,opacity .9s ease}
.bndx-record-title{background:#001f8f;color:#fff;text-align:center;padding:5px 6px;margin:-3px -3px 8px;font-weight:700;letter-spacing:.04em}
.bndx-record-row{display:grid;grid-template-columns:120px 1fr;gap:12px;min-height:28px;align-items:center;border-bottom:1px dotted #59659a;transition:filter .28s ease,opacity .28s ease,transform .28s ease,height .28s ease,min-height .28s ease,padding .28s ease}
.bndx-record-row span{font-weight:700}.bndx-record-row b{filter:blur(2.3px);letter-spacing:.07em;user-select:none}
.bndx-row-erasing{filter:blur(6px);opacity:.25;transform:translateX(12px)}
.bndx-row-gone{opacity:0;min-height:0;height:0;overflow:hidden;border:0;padding:0}
.bndx-record-foot{text-align:right;font-size:11px;padding-top:8px;color:#41518e}
.bndx-record-blur{filter:blur(9px)!important;opacity:.34!important;pointer-events:none}
.bndx-identity-deleted{position:absolute;inset:0;display:none;align-items:center;justify-content:center;text-align:center;color:#ff2d2d;font:bold clamp(25px,5vw,54px)/1.05 Consolas,"Courier New",monospace;letter-spacing:.08em;text-shadow:0 0 12px #ff1f1f,2px 2px 0 #000;z-index:8}
.bndx-identity-deleted.show{display:flex;animation:intruderBlink .72s steps(1,end) infinite}
@media(max-width:640px){.bndx-nc-panels{height:126px}.bndx-record{width:96%;margin-top:5px;padding:6px}.bndx-record-row{grid-template-columns:90px 1fr;min-height:24px;font-size:12px}.bndx-record-title{font-size:12px}.bndx-code-window,.bndx-remote-window{left:6px!important;top:42px!important;width:calc(100vw - 12px)!important;height:calc(100dvh - 88px)!important}}

@media(max-width:980px){body.gatekeeper-body .footer-note{display:block!important;right:8px!important;bottom:42px!important;font-size:9px!important;opacity:.32!important;letter-spacing:.06em!important}body.gatekeeper-body .footer-note .pi{font-size:17px!important;margin-top:2px!important}}

.audit-log-scroll{max-height:55vh;overflow:auto!important}
.audit-log-scroll .os-table thead th{position:sticky;top:0;z-index:2}

.desktop-icon,.desktop-icon-button{position:relative}
.icon-badge{position:absolute;top:4px;right:6px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#c41515;color:#fff;font:700 11px/18px Arial,sans-serif;box-shadow:1px 1px 0 rgba(0,0,0,.5);text-align:center}
.admin-groupchat-launch-row{display:flex;justify-content:flex-end;margin:10px 0 0}

.netchat-window{position:fixed!important;z-index:820!important;width:min(710px,calc(100vw - 24px));height:min(540px,calc(100dvh - 84px));top:44px!important;left:clamp(8px,12vw,130px)!important}


.netchat-stage{display:flex;flex-direction:column;background:#d9a8c3;font:13px/1.35 Verdana,Arial,sans-serif;color:#f2dc67}
.netchat-header-strip{padding:4px 10px;background:#001746;color:#96d2d7;font:700 12px/1 "Courier New",monospace;letter-spacing:.08em;border-bottom:3px solid #19469e}
.netchat-toolbar{display:grid;grid-template-columns:185px 1fr;gap:10px;align-items:center;background:linear-gradient(180deg,#b76765 0%,#aa5d63 100%);padding:7px 9px 6px;border-top:1px solid #e0a6bd;border-bottom:3px solid #9c6aa1;min-height:46px}
.netchat-logo-wrap{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap}
.netchat-logo{font:700 25px/1 Georgia,"Times New Roman",serif;color:#78e8f4;text-shadow:2px 2px 0 #193b78,-1px -1px 0 #2a1636,0 0 1px #fff;letter-spacing:-.04em}
.netchat-logo-live{font:700 12px/1 Arial,sans-serif;color:#fff5a0;letter-spacing:.06em}
.netchat-presence{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}
.netchat-presence-label{font:700 11px/1 "Courier New",monospace;color:#fff6b5;white-space:nowrap}
.netchat-roster{display:flex;align-items:center;gap:6px;min-height:34px;min-width:0;overflow:hidden;flex-wrap:nowrap}
.netchat-roster-empty{font:700 11px/1 "Courier New",monospace;color:#f8f0bf;opacity:.85}
.netchat-online{width:32px;height:32px;padding:1px;background:#dda9bc;border:2px solid #4d4968;box-shadow:1px 1px 0 rgba(0,0,0,.55)}
.netchat-online.active{outline:2px solid #fff0a1}
.netchat-online img{width:100%;height:100%;display:block;image-rendering:auto}
.netchat-frame{flex:1;display:flex;min-height:0;padding:9px 10px 8px;background:#d9a8c3}
.netchat-messages{flex:1;overflow:auto;background:#12398c;border:3px solid #caa2ce;box-shadow:inset 0 0 0 2px #5367b5;padding:6px 8px 8px;color:#e9c55d}
.netchat-empty{color:#fff1a6;font:700 13px/1.4 "Courier New",monospace;opacity:.95}
.netchat-row{display:grid;grid-template-columns:146px 1fr;gap:8px;align-items:stretch;margin-bottom:2px;min-height:44px}
.netchat-usercell{display:grid;grid-template-columns:minmax(0,1fr) 42px;align-items:center;background:#e8d8ec;border-right:1px solid #75648d;padding:2px 3px 2px 5px;min-height:44px}
.netchat-userlabel{font:700 15px/1 Georgia,"Times New Roman",serif;color:#18214a;background:transparent;padding:0 4px 0 0;box-sizing:border-box;white-space:nowrap;overflow:visible;text-overflow:clip;text-align:right;text-shadow:1px 1px 0 rgba(255,255,255,.55)}
.netchat-avatarbox{background:transparent;width:42px;padding:0;box-sizing:border-box;display:flex;justify-content:center;align-items:center}
.netchat-avatarbox img{width:36px;height:36px;display:block;image-rendering:auto;background:#fff;border:1px solid #4c4c56;box-shadow:1px 1px 0 rgba(0,0,0,.28)}
.netchat-bubble{min-width:0;padding:5px 4px 3px 0;display:flex;gap:8px;align-items:flex-start}
.netchat-text{white-space:normal;word-break:break-word;font:700 17px/1.26 Georgia,"Times New Roman",serif;letter-spacing:.01em;color:#e4c45b;text-shadow:1px 1px 0 rgba(0,0,0,.52);flex:1}
.netchat-row.mine .netchat-text{color:#e4c45b}
.netchat-time{display:none}
.netchat-compose{display:grid;grid-template-columns:1fr 76px;gap:7px;padding:9px 10px 8px;background:#d9a8c3;border-top:1px solid rgba(255,255,255,.36)}
.netchat-input{resize:none;border:2px solid #8f6ba1;background:#f3eef1;padding:8px 10px;font:15px/1.28 Georgia,"Times New Roman",serif;color:#292446;outline:none;box-shadow:inset 1px 1px 0 #fff;height:51px}
.netchat-send{border:2px solid #62826a;border-radius:50%;width:62px;height:48px;align-self:center;justify-self:center;background:radial-gradient(circle at 32% 28%,#a4f297 0%,#64c86d 58%,#397e49 100%);color:#12391f;font:700 14px/1 Georgia,"Times New Roman",serif;cursor:pointer;box-shadow:inset 0 0 0 2px rgba(255,255,255,.34),2px 2px 0 rgba(0,0,0,.35)}
.netchat-send:active{transform:translate(1px,1px)}
.netchat-footer{display:flex;justify-content:space-between;gap:8px;padding:3px 10px;background:#cf9db9;color:#4b325e;font:700 9px/1.1 "Courier New",monospace;border-top:1px solid rgba(255,255,255,.45)}
.chat-error-detail{white-space:normal;word-break:break-word}

.pizza-net-window{width:min(720px,calc(100vw - 24px));height:min(590px,calc(100dvh - 86px));top:58px!important;left:clamp(8px,15vw,160px)!important}
.pizza-net-window>.win-body{padding:0!important;background:#b8b8b8!important;overflow:hidden!important;height:calc(100% - 28px)}
.pizza-browser{display:flex;flex-direction:column;height:100%;background:#c6c6c6;font:13px/1.3 Tahoma,Arial,sans-serif;color:#1d1d1d}
.pizza-browser-top{display:flex;gap:6px;align-items:center;background:#e6e6e6;padding:5px 7px;border-bottom:1px solid #7e7e7e}
.pizza-btn{padding:2px 8px;border:2px outset #f0f0f0;background:#d9d9d9;font:700 11px/1 Arial,sans-serif;color:#1a1a1a}
.pizza-address{flex:1;border:2px inset #efefef;background:#fff;padding:3px 6px;font:12px/1.2 "Courier New",monospace;color:#16284c}
.pizza-browser-body{flex:1;overflow:auto;background:#183d9a;padding:12px}

.pizza-order-screen{max-width:620px;margin:0 auto;background:#173d98;border:3px solid #d9dbe8;box-shadow:inset 0 0 0 2px #4e65b1,6px 6px 0 rgba(0,0,0,.24);color:#f0f0f0;font-family:Arial,Tahoma,sans-serif}
.pizza-order-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 10px;background:#be604d;border-bottom:3px solid #ee8663;color:#fff}
.pizza-order-head span{font:700 28px/1 Georgia,"Times New Roman",serif;color:#fff2d8;text-shadow:2px 2px 0 #6d291f}
.pizza-order-head b{font:700 11px/1.2 "Courier New",monospace;color:#fff6b7;letter-spacing:.05em}
.pizza-order-grid{display:grid;grid-template-columns:1fr 1fr;gap:0;background:#173d98}
.pizza-order-panel{padding:12px 13px 14px;border-right:2px solid #dce1ee;min-height:330px}
.pizza-order-panel:last-child{border-right:0}
.pizza-order-panel h3{margin:0 0 8px;padding:4px 5px;background:#f7f7f7;color:#9f3b36;font:700 25px/1.05 Georgia,"Times New Roman",serif;border:2px solid #d3d7e2;text-shadow:none}
.pizza-order-panel h3:not(:first-child){margin-top:12px}
.pizza-choice{display:grid;grid-template-columns:1fr 24px;gap:8px;align-items:center;min-height:30px;color:#f3f3f3;font:700 18px/1.08 Arial,Tahoma,sans-serif;cursor:pointer}
.pizza-choice input{position:absolute;opacity:0;pointer-events:none}
.pizza-choice i{position:relative;width:22px;height:22px;background:#fff;border:2px solid #d6d8e0;box-shadow:inset 0 0 0 1px #6a75ac}
.pizza-choice input:checked+i:before,.pizza-choice input:checked+i:after{content:"";position:absolute;left:9px;top:1px;width:4px;height:18px;background:#e23b2f;transform:rotate(45deg);transform-origin:center;box-shadow:0 0 1px rgba(0,0,0,.25)}
.pizza-choice input:checked+i:after{transform:rotate(-45deg)}
.pizza-price-line{margin-top:13px;padding-top:9px;border-top:2px solid #d6d8e4;color:#fff;font:700 29px/1 Georgia,"Times New Roman",serif;text-align:right}
.pizza-price-line strong{color:#fff3b0}
.pizza-send-order{display:block;margin:12px 0 0 auto;padding:8px 14px;border:3px outset #f8f8f8;background:#fff;color:#997227;font:700 21px/1 Georgia,"Times New Roman",serif;cursor:pointer;box-shadow:2px 2px 0 rgba(0,0,0,.25)}
.pizza-send-order:active{border-style:inset;transform:translate(1px,1px)}

/* Bestehende Adressansicht bleibt inhaltlich unverändert; nur der Button ist jetzt die Bestellung. */
.pizza-card{max-width:560px;margin:0 auto;background:#d77a37;border:5px solid #f8c88f;box-shadow:8px 8px 0 rgba(0,0,0,.35);padding:10px 12px 14px;color:#fff0d3}
.pizza-address-card{margin-top:10px}
.pizza-brand{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;background:linear-gradient(180deg,#f7e1a8,#f4cb75);color:#8f321f;padding:8px 10px;border:3px solid #fff4d4;margin-bottom:10px}
.pizza-brand h3{margin:0;font:700 34px/1 Georgia,"Times New Roman",serif;letter-spacing:.02em}
.pizza-brand small{display:block;color:#7c4c2b;font:700 12px/1.2 Arial,sans-serif}
.pizza-slices{font-size:22px;line-height:1}
.pizza-banner{margin:8px 0 10px;background:#a81f24;color:#fff4cf;text-align:center;padding:8px;border:2px solid #f8ccb8;font:700 20px/1.15 Georgia,"Times New Roman",serif}
.pizza-form-grid{display:grid;grid-template-columns:90px 1fr;gap:8px 10px;align-items:center;background:rgba(0,0,0,.18);padding:10px;border:2px solid rgba(255,255,255,.35)}
.pizza-form-grid label{font-weight:700;color:#fff5c7}
.pizza-form-grid input{border:2px inset #f7f7f7;background:#fff;padding:4px 6px;font:12px/1.2 Arial,sans-serif;color:#16284c}
.pizza-inline{display:grid;grid-template-columns:1fr 56px 58px;gap:8px}
.pizza-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:12px}
.pizza-actions-single{justify-content:space-between}
.pizza-actions .pizza-meta{font:700 11px/1.2 "Courier New",monospace;color:#fffad1}
.pizza-order-btn{padding:7px 18px;border:2px outset #ffe3b8;background:#f1d0a3;color:#7c2e1f;font:700 14px/1 Arial,sans-serif;cursor:pointer}
.pizza-order-main{font-size:15px;min-width:120px}

/* Dritte PIZZA.NET-Stufe: simulierte Übertragung und eindeutiger Abbruch nach zehn Sekunden. */
.pizza-transmit-screen{position:relative;max-width:620px;min-height:420px;margin:0 auto;background:#061235;border:3px solid #d7d9e1;box-shadow:inset 0 0 0 2px #33477f,6px 6px 0 rgba(0,0,0,.28);color:#f2f2f2;padding:12px;box-sizing:border-box;font-family:"Courier New",Consolas,monospace;overflow:hidden}
.pizza-transmit-title{padding:7px 9px;background:#173d98;color:#fff6a6;border-bottom:2px solid #6e80bd;font-weight:700;letter-spacing:.06em}
.pizza-transmit-terminal{height:255px;margin-top:10px;padding:10px;background:#000;color:#e9eef4;border:2px inset #9aa6bd;overflow:auto;font:13px/1.55 "Courier New",monospace;white-space:normal}
.pizza-transmit-meter{height:20px;margin-top:10px;background:#fff;border:2px inset #c7c7c7;padding:2px;box-sizing:border-box}
.pizza-transmit-meter span{display:block;width:0;height:100%;background:#2f65c8;transition:width .18s linear}
.pizza-transmit-status{margin-top:5px;color:#dfe8ff;font-weight:700;text-align:right}
.pizza-transmit-error{display:block;margin-top:9px;color:#ff4949;font-weight:700}
.pizza-final-alert{position:absolute;inset:0;display:none;align-items:center;justify-content:center;flex-direction:column;gap:12px;background:rgba(0,0,0,.90);z-index:5;text-align:center;padding:24px}
.pizza-final-alert.show{display:flex}
.pizza-final-alert strong{color:#ff3535;font:bold clamp(23px,4.5vw,44px)/1.05 "Courier New",monospace;letter-spacing:.05em;text-shadow:0 0 9px rgba(255,40,40,.8);animation:intruderBlink .75s steps(1,end) infinite}
.pizza-final-alert span{color:#fff;font:bold clamp(14px,2.4vw,22px)/1.25 "Courier New",monospace;max-width:90%}

@media(max-width:720px){
  .netchat-window,.pizza-net-window{left:6px!important;top:42px!important;width:calc(100vw - 12px)!important;height:calc(100dvh - 84px)!important}
  .netchat-toolbar{grid-template-columns:1fr;align-items:flex-start}.netchat-presence{justify-content:flex-start;flex-wrap:wrap}
  .netchat-row{grid-template-columns:122px 1fr;gap:6px}.netchat-usercell{grid-template-columns:minmax(0,1fr) 36px;padding:2px}.netchat-userlabel{font-size:12px}.netchat-avatarbox{width:36px}.netchat-avatarbox img{width:32px;height:32px}.netchat-text{font-size:16px}.netchat-compose{grid-template-columns:1fr 70px}.netchat-send{width:62px;height:50px;font-size:14px}
  .pizza-browser-body{padding:6px}.pizza-order-grid{grid-template-columns:1fr}.pizza-order-panel{border-right:0;border-bottom:2px solid #dce1ee;min-height:0}.pizza-order-panel:last-child{border-bottom:0}.pizza-order-panel h3{font-size:20px}.pizza-choice{font-size:15px}.pizza-card{padding:8px}.pizza-form-grid{grid-template-columns:1fr}.pizza-inline{grid-template-columns:1fr 60px 62px}.pizza-transmit-screen{min-height:360px}.pizza-transmit-terminal{height:210px}
}


.admin-avatar-picker{display:flex;align-items:center;gap:7px}
.admin-avatar-preview{width:40px;height:40px;flex:0 0 40px;border:2px solid #5a6680;background:#fff;box-shadow:1px 1px 0 rgba(0,0,0,.45)}
.admin-avatar-picker .os-input{min-width:0;flex:1}

.pizza-browser{background:#d9d9e2!important}
.pizza-browser-chrome{background:linear-gradient(180deg,#b6b7ca 0%,#9ea1bd 100%);border-bottom:2px solid #656d9c;box-shadow:inset 0 1px 0 #e9e9f2;padding:4px 6px 5px}
.pizza-browser-row{display:grid;grid-template-columns:96px 108px 96px 1fr;gap:5px;align-items:center;margin-bottom:4px}
.pizza-browser-row-bottom{grid-template-columns:96px 108px 96px auto minmax(170px,1fr);margin-bottom:0}
.pizza-nav-btn{height:24px;border:2px outset #c8c9d8;background:linear-gradient(180deg,#b6b7c8,#969ab7);color:#111f57;font:700 11px/1 Tahoma,Arial,sans-serif;text-shadow:0 1px 0 rgba(255,255,255,.5);cursor:default;padding:0 5px}
.pizza-url-label{font:700 12px/1 Tahoma,Arial,sans-serif;color:#1e2b5f;white-space:nowrap}
.pizza-address{height:23px;box-sizing:border-box;border:2px inset #c8c8d4;background:#f7f7fb!important;padding:2px 6px!important;font:12px/16px "Courier New",monospace!important;color:#26346c!important;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.pizza-browser-body{flex:1;overflow:auto;background:#fff!important;padding:8px 10px 14px!important}
.pizza-sequence-page{max-width:650px;margin:0 auto;background:#fff}
.pizza-ad-head{position:relative;display:flex;align-items:center;gap:12px;min-height:76px;padding:7px 15px 8px 15px;box-sizing:border-box;background:linear-gradient(180deg,#bf5542 0%,#ce6f4c 50%,#e0a45f 100%);border:3px solid #e7ad72;box-shadow:inset 0 0 0 2px rgba(255,225,170,.28),2px 2px 0 rgba(39,39,83,.28);overflow:hidden}
.pizza-ad-head:after{content:"";position:absolute;left:0;right:0;bottom:0;height:4px;background:linear-gradient(90deg,#d7c28b,#efcb7e,#d5a45c);opacity:.8}
.pizza-ad-copy{flex:1;min-width:0;text-align:center;transform:translateX(-5px)}
.pizza-ad-title{font:700 clamp(36px,8vw,58px)/.88 Georgia,"Times New Roman",serif;letter-spacing:-.035em;color:#e8e7ef;text-shadow:2px 2px 0 #6a3867,-1px -1px 0 #ffffff,0 0 1px #21306a;white-space:nowrap}
.pizza-ad-title sup{font:700 10px/1 Arial,sans-serif;color:#291c3c;vertical-align:top;margin-left:3px;text-shadow:none;letter-spacing:0}
.pizza-ad-tagline{margin-top:5px;font:700 clamp(11px,2vw,15px)/1.05 Georgia,"Times New Roman",serif;color:#773828;text-shadow:0 1px 0 rgba(255,226,171,.55);white-space:nowrap}
.pizza-slice-logo{position:relative;width:68px;height:58px;flex:0 0 68px;transform:rotate(-13deg)}
.pizza-slice-logo:before{content:"";position:absolute;left:7px;top:6px;width:0;height:0;border-top:24px solid transparent;border-bottom:24px solid transparent;border-right:58px solid #f1c25e;filter:drop-shadow(2px 2px 0 rgba(70,33,33,.55))}
.pizza-slice-logo:after{content:"";position:absolute;left:45px;top:9px;width:10px;height:40px;border-radius:8px;background:#d48f3d;transform:rotate(0deg);box-shadow:inset 2px 0 0 rgba(255,220,135,.55)}
.pizza-slice-logo span,.pizza-slice-logo i,.pizza-slice-logo b{position:absolute;z-index:2;width:8px;height:8px;border-radius:50%;background:#ad3d31;box-shadow:1px 1px 0 rgba(60,20,20,.35)}
.pizza-slice-logo span{left:31px;top:19px}.pizza-slice-logo i{left:41px;top:30px}.pizza-slice-logo b{left:26px;top:35px}

/* Auswahlseite unter dem gemeinsamen Werbekopf: weiße Seite, kräftig blaue Auswahlfelder wie in der Filmvorlage. */
.pizza-order-screen{max-width:none!important;margin:8px 0 0!important;background:#fff!important;border:0!important;box-shadow:none!important;color:#fff;font-family:Arial,Tahoma,sans-serif}
.pizza-order-grid{gap:12px!important;background:#fff!important;align-items:start}
.pizza-order-panel{background:#173d98;border:2px solid #8290c2!important;border-radius:5px;padding:8px 10px 10px!important;min-height:0!important;box-shadow:inset 0 0 0 1px #071e6b}
.pizza-order-panel h3{margin:0 0 4px!important;padding:3px 5px!important;background:#14338b!important;color:#b4d641!important;border:0!important;border-bottom:1px solid #7990cf!important;font:700 24px/1 Georgia,"Times New Roman",serif!important;text-shadow:1px 1px 0 #071d5e!important}
.pizza-order-panel h3:not(:first-child){margin-top:8px!important}
.pizza-choice{min-height:27px!important;color:#f4f1eb!important;font:700 17px/1.05 Arial,Tahoma,sans-serif!important}
.pizza-choice i{background:#fff!important;border:1px solid #7279a4!important;box-shadow:inset 0 0 0 1px #c7c9d8!important}
.pizza-price-line{color:#fff!important;border-top:1px solid #7588c7!important;font-size:28px!important}
.pizza-price-line strong{color:#fff!important}
.pizza-send-order{background:#102e79!important;color:#c9d847!important;border:2px solid #d7e2ad!important;box-shadow:inset 0 0 0 2px #36549f,2px 2px 0 rgba(0,0,0,.28)!important;font-size:19px!important}

/* Adress- und Übertragungsseite übernehmen denselben Kopf und verwenden deutschsprachige Oberflächen. */
.pizza-address-card{margin:8px 0 0!important;max-width:none!important;background:#b94035!important;border:3px solid #d6755c!important;box-shadow:none!important;padding:10px 12px 12px!important}
.pizza-banner{background:#a4252c!important;border-color:#e59a84!important;font-size:19px!important}
.pizza-form-grid{background:rgba(67,13,32,.18)!important;border-color:rgba(255,255,255,.45)!important}
.pizza-form-grid label{color:#fff3c8!important}
.pizza-actions .pizza-meta{color:#ffe9bd!important}
.pizza-order-btn{background:#efe1c5!important;color:#7b342a!important;border-color:#fff5df #7b6654 #7b6654 #fff5df!important}
.pizza-transmit-screen{margin:8px 0 0!important;max-width:none!important;min-height:330px!important}

@media(max-width:720px){
  .pizza-browser-row{grid-template-columns:repeat(3,minmax(0,1fr))}.pizza-browser-row> :last-child{grid-column:1/-1}
  .pizza-browser-row-bottom{grid-template-columns:repeat(3,minmax(0,1fr))}.pizza-browser-row-bottom .pizza-url-label{grid-column:1/2}.pizza-browser-row-bottom .pizza-address{grid-column:2/4}
  .pizza-ad-head{min-height:65px;padding:6px 8px;gap:7px}.pizza-slice-logo{width:48px;height:44px;flex-basis:48px;transform:scale(.78) rotate(-13deg);transform-origin:center}.pizza-ad-copy{transform:none}.pizza-ad-title{font-size:34px}.pizza-ad-tagline{font-size:10px;white-space:normal}.pizza-order-grid{grid-template-columns:1fr!important}.pizza-order-panel h3{font-size:20px!important}.pizza-choice{font-size:14px!important}
}

.gate-collapse{margin:12px 0 0;border:0;padding:0}
.gate-collapse:first-of-type{margin-top:14px}
.gate-section-summary{display:grid!important;grid-template-columns:1fr auto auto;align-items:center;gap:10px;cursor:pointer;user-select:none;list-style:none;margin:0!important;padding:7px 10px!important;border:2px solid #d8e3f2;border-right-color:#465d7d;border-bottom-color:#465d7d;background:linear-gradient(180deg,#9db1c9 0%,#849bb5 100%);color:#102442!important;box-shadow:inset 1px 1px 0 rgba(255,255,255,.65);font-weight:700;letter-spacing:.08em}
.gate-section-summary::-webkit-details-marker{display:none}
.gate-section-summary::marker{display:none;content:""}
.gate-section-count{min-width:24px;padding:2px 6px;text-align:center;border:1px inset #d6e0ea;background:#c7d3df;color:#25394f;font:700 11px/1.3 "Courier New",monospace;letter-spacing:0}
.gate-section-arrow{font:700 13px/1 Tahoma,Arial,sans-serif;transition:transform .12s ease;color:#1d3653}
.gate-collapse[open] .gate-section-arrow{transform:rotate(90deg)}
.gate-collapse-body{padding:8px 0 2px}
.gate-collapse[hidden]{display:none!important}

.pizza-address-film{position:relative;min-height:370px;margin:8px 0 0;background:#b84635;border:3px solid #d06b4e;box-shadow:inset 0 0 0 2px rgba(246,165,125,.32);padding:15px 26px 14px;box-sizing:border-box;overflow:hidden;color:#fff}
.pizza-address-prompt{position:relative;z-index:2;margin:2px auto 13px;max-width:500px;text-align:center;color:#f6f0e3;font:700 clamp(26px,5vw,39px)/1.08 Georgia,"Times New Roman",serif;letter-spacing:.015em;text-shadow:2px 2px 0 #6f3044,-1px -1px 0 rgba(255,255,255,.55)}
.pizza-address-data{position:relative;z-index:2;width:min(82%,510px);margin:0 auto;background:#123d43;border:3px solid #204d5e;box-shadow:inset 0 0 0 1px #0a252b,3px 3px 0 rgba(64,22,28,.32);padding:10px 15px 11px;box-sizing:border-box;color:#e6dfb7}
.pizza-data-row{display:grid;grid-template-columns:86px 1fr;gap:8px;align-items:baseline;min-height:34px;font:700 clamp(16px,3vw,24px)/1.1 "Courier New",monospace;text-shadow:1px 1px 0 rgba(0,0,0,.42)}
.pizza-data-row span{color:#8fb7c6;font-weight:700}
.pizza-data-row strong{color:#e8dca7;font-weight:700;letter-spacing:.025em}
.pizza-data-city{grid-template-columns:52px minmax(80px,1fr) 112px 42px 48px 80px;column-gap:8px}
.pizza-address-bottom{position:relative;z-index:2;display:flex;align-items:center;justify-content:center;gap:18px;margin:12px auto 0;flex-wrap:wrap;color:#4d1d22;font:700 18px/1.1 Arial,Tahoma,sans-serif}
.pizza-delivery-choice{display:flex;align-items:center;gap:7px;white-space:nowrap}
.pizza-film-check{position:relative;display:inline-flex;width:24px;height:24px;align-items:center;justify-content:center;background:#eeeef5;border:2px inset #ddd;color:#cd322f;font:bold 32px/.7 Arial,sans-serif;text-shadow:1px 1px 0 rgba(80,10,10,.25)}
.pizza-film-check.checked{color:#d4322f}
.pizza-film-done{min-width:120px;padding:6px 19px;border:3px outset #d0c99b;border-radius:50%;background:#173d55;color:#d9cf75;font:700 20px/1 Georgia,"Times New Roman",serif;text-shadow:1px 1px 0 #000;cursor:pointer;box-shadow:2px 2px 0 rgba(0,0,0,.32)}
.pizza-film-done:active{border-style:inset;transform:translate(1px,1px)}
.pizza-mini-slice{position:absolute;z-index:1;width:42px;height:48px;background:#efc061;clip-path:polygon(8% 8%,94% 50%,8% 92%);filter:drop-shadow(2px 2px 0 rgba(70,20,20,.42));transform-origin:center}
.pizza-mini-slice:before{content:"";position:absolute;left:2px;top:4px;width:9px;height:40px;border-radius:5px;background:#d68c3a}
.pizza-mini-slice i,.pizza-mini-slice b{position:absolute;width:8px;height:8px;border-radius:50%;background:#a9342f;z-index:2}
.pizza-mini-slice i{left:17px;top:15px}.pizza-mini-slice b{left:24px;top:27px}
.pizza-mini-slice.slice-a{left:8px;top:62px;transform:rotate(78deg) scale(.95)}
.pizza-mini-slice.slice-b{right:8px;top:58px;transform:rotate(-68deg) scale(.92)}
.pizza-mini-slice.slice-c{left:5px;bottom:48px;transform:rotate(102deg) scale(.82)}
.pizza-mini-slice.slice-d{right:6px;bottom:45px;transform:rotate(-105deg) scale(.82)}

@media(max-width:720px){
  .gate-section-summary{padding:7px 8px!important;gap:7px}.gate-section-count{min-width:20px}
  .pizza-address-film{min-height:340px;padding:12px 12px 12px}.pizza-address-prompt{font-size:26px;max-width:88%;margin-bottom:10px}.pizza-address-data{width:88%;padding:9px 10px}.pizza-data-row{grid-template-columns:72px 1fr;font-size:15px;min-height:30px}.pizza-data-city{grid-template-columns:42px 1fr 84px 34px 34px 58px;font-size:12px;gap:4px}.pizza-address-bottom{gap:10px;font-size:14px}.pizza-film-check{width:21px;height:21px;font-size:27px}.pizza-film-done{min-width:105px;font-size:17px}.pizza-mini-slice{transform:scale(.7)!important;opacity:.9}}

.admin-reorder-bar{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:6px;
  padding:7px 8px;
  background:rgba(13,45,92,.12);
  border-bottom:1px solid rgba(53,83,125,.32);
}
.admin-order-label{
  margin-right:auto;
  font:700 11px/1.2 "Courier New",monospace;
  letter-spacing:.04em;
  color:#233d60;
}
.reorder-btn{
  min-width:34px!important;
  padding:3px 9px!important;
  font-size:16px!important;
  line-height:1!important;
}
.reorder-btn:disabled{
  opacity:.35;
  cursor:default;
}

.pizza-net-window{height:min(590px,calc(100dvh - 86px))!important}
.pizza-net-window>.win-body,.pizza-browser{min-height:0!important}
.pizza-browser-body{overflow:hidden!important;padding:6px 8px 8px!important;min-height:0!important}
.pizza-sequence-page{height:100%!important;max-width:650px!important;display:flex!important;flex-direction:column!important;min-height:0!important}
.pizza-ad-head{flex:0 0 66px!important;min-height:66px!important;padding:4px 12px 5px!important}
.pizza-ad-title{font-size:46px!important}
.pizza-ad-tagline{font-size:12px!important;margin-top:2px!important}
.pizza-slice-logo{transform:scale(.84) rotate(-13deg)!important;transform-origin:center!important}

/* Auswahlseite erhält denselben roten Pizza-Hintergrund wie die Angela-Seite. */
.pizza-menu-film{position:relative;flex:1;min-height:0;margin-top:6px;padding:8px 24px 8px;box-sizing:border-box;overflow:hidden;background:#b84635;border:3px solid #d06b4e;box-shadow:inset 0 0 0 2px rgba(246,165,125,.32)}
.pizza-menu-film .pizza-order-screen{position:relative;z-index:2;height:100%;margin:0!important;background:transparent!important;display:flex;min-height:0}
.pizza-menu-film .pizza-order-grid{width:100%;height:100%;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr)!important;gap:8px!important;background:transparent!important;align-items:stretch!important}
.pizza-menu-film .pizza-order-panel{height:100%;box-sizing:border-box;padding:5px 8px 6px!important;overflow:hidden!important}
.pizza-menu-film .pizza-order-panel h3{font-size:19px!important;line-height:1!important;margin:0 0 3px!important;padding:2px 4px!important}
.pizza-menu-film .pizza-order-panel h3:not(:first-child){margin-top:5px!important}
.pizza-menu-film .pizza-choice{min-height:21px!important;font-size:13px!important;line-height:1!important;padding:1px 0!important}
.pizza-menu-film .pizza-choice i{width:19px!important;height:19px!important}
.pizza-menu-film .pizza-choice input:checked+i:after{font-size:28px!important;line-height:18px!important}
.pizza-menu-film .pizza-price-line{font-size:21px!important;line-height:1!important;padding-top:4px!important;margin-top:3px!important}
.pizza-menu-film .pizza-send-order{font-size:14px!important;padding:4px 8px!important;margin-top:4px!important;min-height:28px!important}
.pizza-mini-slice.menu-slice-a{left:4px;top:18px;transform:rotate(80deg) scale(.72)}
.pizza-mini-slice.menu-slice-b{right:2px;top:28px;transform:rotate(-72deg) scale(.72)}
.pizza-mini-slice.menu-slice-c{left:3px;bottom:15px;transform:rotate(106deg) scale(.68)}
.pizza-mini-slice.menu-slice-d{right:3px;bottom:13px;transform:rotate(-108deg) scale(.68)}

/* Angela-Adressansicht: kompakter Filmaufbau, sauber definierte Zeilen und keine Textüberschneidungen. */
.pizza-address-film{flex:1;min-height:0!important;height:auto!important;margin:6px 0 0!important;padding:8px 22px 8px!important;display:flex;flex-direction:column;justify-content:flex-start;overflow:hidden!important}
.pizza-address-prompt{flex:0 0 auto;margin:0 auto 7px!important;max-width:460px!important;font-size:23px!important;line-height:1.02!important;letter-spacing:.01em!important}
.pizza-address-data{flex:0 0 auto;width:min(82%,500px)!important;padding:7px 12px 7px!important}
.pizza-data-row{grid-template-columns:76px minmax(0,1fr)!important;gap:6px!important;min-height:27px!important;font-size:18px!important;line-height:1.05!important;align-items:center!important}
.pizza-data-row span,.pizza-data-row strong{min-width:0!important;white-space:nowrap!important;overflow:visible!important}
.pizza-data-city{grid-template-columns:38px minmax(72px,1fr) 46px 32px 34px 62px!important;column-gap:5px!important;font-size:15px!important}
.pizza-address-bottom{flex:0 0 auto;gap:13px!important;margin:7px auto 0!important;flex-wrap:nowrap!important;font-size:15px!important}
.pizza-film-check{width:20px!important;height:20px!important;font-size:25px!important}
.pizza-film-done{min-width:102px!important;padding:5px 15px!important;font-size:16px!important}
.pizza-address-film .pizza-mini-slice{transform-origin:center!important;opacity:.95}
.pizza-address-film .slice-a{left:4px!important;top:45px!important;transform:rotate(78deg) scale(.68)!important}
.pizza-address-film .slice-b{right:4px!important;top:43px!important;transform:rotate(-68deg) scale(.68)!important}
.pizza-address-film .slice-c{left:3px!important;bottom:28px!important;transform:rotate(102deg) scale(.62)!important}
.pizza-address-film .slice-d{right:3px!important;bottom:26px!important;transform:rotate(-105deg) scale(.62)!important}

@media(max-width:720px){
  .pizza-net-window{height:calc(100dvh - 84px)!important}
  .pizza-browser-chrome{padding:2px 4px 3px!important}
  .pizza-nav-btn{height:20px!important;font-size:9px!important}
  .pizza-address{height:20px!important;font-size:10px!important;line-height:13px!important}
  .pizza-ad-head{flex-basis:55px!important;min-height:55px!important}
  .pizza-ad-title{font-size:31px!important}.pizza-ad-tagline{font-size:9px!important}
  .pizza-menu-film{margin-top:4px!important;padding:5px 13px!important}
  .pizza-menu-film .pizza-order-grid{grid-template-columns:1fr 1fr!important;gap:5px!important}
  .pizza-menu-film .pizza-order-panel{padding:4px 5px!important}
  .pizza-menu-film .pizza-order-panel h3{font-size:14px!important}
  .pizza-menu-film .pizza-choice{font-size:10px!important;min-height:17px!important}
  .pizza-menu-film .pizza-choice i{width:15px!important;height:15px!important}
  .pizza-menu-film .pizza-choice input:checked+i:after{font-size:22px!important;line-height:14px!important}
  .pizza-menu-film .pizza-price-line{font-size:16px!important}
  .pizza-menu-film .pizza-send-order{font-size:11px!important;min-height:23px!important;padding:2px 5px!important}
  .pizza-address-film{margin-top:4px!important;padding:6px 12px!important}
  .pizza-address-prompt{font-size:18px!important;margin-bottom:5px!important}
  .pizza-address-data{width:88%!important;padding:5px 7px!important}
  .pizza-data-row{grid-template-columns:58px minmax(0,1fr)!important;min-height:23px!important;font-size:13px!important;gap:4px!important}
  .pizza-data-city{grid-template-columns:27px minmax(52px,1fr) 34px 23px 24px 45px!important;font-size:10px!important;gap:3px!important}
  .pizza-address-bottom{gap:7px!important;margin-top:5px!important;font-size:11px!important}
  .pizza-film-check{width:16px!important;height:16px!important;font-size:20px!important}
  .pizza-film-done{min-width:80px!important;font-size:12px!important;padding:3px 8px!important}
}

.pizza-menu-film .pizza-topping-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:9px;row-gap:0;align-content:start}
.pizza-menu-film .pizza-topping-grid .pizza-choice{min-width:0}
.pizza-menu-film .pizza-topping-grid .pizza-choice span{white-space:nowrap;overflow:hidden;text-overflow:clip}
@media(max-width:720px){
  .pizza-menu-film .pizza-topping-grid{column-gap:4px}
  .pizza-menu-film .pizza-topping-grid .pizza-choice{font-size:9px!important}
}

body.os-body .login-window{
  width:min(640px,calc(100vw - 32px));
  max-width:640px;
  min-width:0;
  container-type:inline-size;
  margin:clamp(24px,7vh,72px) auto 52px;
}
body.os-body .login-window .win-body{min-width:0;overflow:hidden}
body.os-body .login-window .gk-box{
  grid-template-columns:minmax(170px,190px) minmax(0,1fr);
  gap:14px;
  align-items:stretch;
  min-width:0;
}
body.os-body .login-window .gk-box>div{min-width:0}
body.os-body .login-window .gk-poster{
  box-sizing:border-box;
  min-width:0;
  min-height:238px;
  padding:12px 8px;
  overflow:hidden;
}
body.os-body .login-window .gk-poster strong{
  max-width:100%;
  font-size:clamp(18px,3.8cqi,24px);
  line-height:1.05;
  letter-spacing:clamp(.025em,.7cqi,.075em);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:clip;
}
body.os-body .login-window .gk-poster span{
  font-size:clamp(10px,2.1cqi,12px);
  line-height:1.3;
  letter-spacing:clamp(.06em,.55cqi,.11em);
  overflow-wrap:anywhere;
}
body.os-body .login-window .login-grid{
  grid-template-columns:minmax(82px,108px) minmax(0,1fr);
  gap:12px 10px;
  align-items:center;
  min-width:0;
}
body.os-body .login-window .login-grid>div{min-width:0}
body.os-body .login-window .login-grid .label{
  white-space:normal;
  overflow-wrap:anywhere;
  line-height:1.2;
}
body.os-body .login-window .login-grid .os-input{
  box-sizing:border-box;
  min-width:0;
  max-width:100%;
}
body.os-body .login-window .os-msg{
  box-sizing:border-box;
  max-width:100%;
  overflow-wrap:anywhere;
  line-height:1.35;
}
body.os-body .login-window form>div[style*="justify-content:flex-end"]{
  flex-wrap:wrap;
}

@container (max-width:500px){
  body.os-body .login-window .gk-box{
    grid-template-columns:1fr;
    gap:10px;
  }
  body.os-body .login-window .gk-poster{
    min-height:138px;
    display:grid;
    grid-template-columns:82px 1fr;
    grid-template-rows:auto auto;
    column-gap:10px;
    align-items:center;
    justify-items:center;
    padding:10px 12px;
  }
  body.os-body .login-window .gk-poster .beam{
    grid-row:1 / span 2;
    width:30px;
    height:90px;
    margin:0;
  }
  body.os-body .login-window .gk-poster strong{
    align-self:end;
    font-size:clamp(21px,8cqi,30px);
    white-space:normal;
    overflow-wrap:anywhere;
  }
  body.os-body .login-window .gk-poster span{
    align-self:start;
    margin-top:5px;
    font-size:11px;
  }
}

@container (max-width:360px){
  body.os-body .login-window .login-grid{
    grid-template-columns:1fr;
    gap:5px;
  }
  body.os-body .login-window .login-grid .label{
    margin-top:4px;
  }
  body.os-body .login-window .gk-poster{
    grid-template-columns:62px 1fr;
    min-height:116px;
  }
  body.os-body .login-window .gk-poster .beam{
    width:25px;
    height:72px;
  }
  body.os-body .login-window .gk-poster strong{
    font-size:clamp(18px,8cqi,25px);
  }
}

@media(max-width:520px){
  body.os-body .login-window{
    width:calc(100vw - 16px);
    margin:10px auto 48px;
  }
  body.os-body .login-window .win-body{padding:8px}
  body.os-body .login-window .os-btn{min-width:78px;padding:6px 11px}
}


.netchat-window-admin{width:min(880px,calc(100vw - 24px))!important}
.netchat-window-admin .netchat-bubble{display:grid;grid-template-columns:minmax(0,1fr) 28px;gap:8px;align-items:start}
.netchat-window-admin .netchat-text{grid-column:1;min-width:0}
.netchat-window-admin .netchat-time{grid-column:1}
.netchat-delete{grid-column:2;grid-row:1 / span 2;width:24px;height:24px;margin-top:0;padding:0;border:2px outset #f2b2b2;background:#b71919;color:#fff;font:700 18px/19px Arial,sans-serif;text-align:center;cursor:pointer;box-shadow:1px 1px 0 rgba(0,0,0,.35)}
.netchat-delete:hover{background:#df2525}
.netchat-delete:active{border-style:inset;transform:translate(1px,1px)}
.netchat-delete:disabled{opacity:.45;cursor:wait}
@media(max-width:720px){.netchat-window-admin{width:calc(100vw - 12px)!important}.netchat-window-admin .netchat-bubble{grid-template-columns:minmax(0,1fr) 24px;gap:5px}.netchat-delete{width:22px;height:22px;font-size:16px;line-height:17px}}

.film-os{font-family:"MS Sans Serif",Tahoma,Geneva,Arial,sans-serif;background:#102d64;color:#10152b}
.film-os .os-shell{background:linear-gradient(180deg,#476b9b 0,#254d84 38%,#0c2e67 100%)}
.film-os .desktop{background-image:radial-gradient(circle at 22% 18%,rgba(255,255,255,.08),transparent 22%),linear-gradient(rgba(255,255,255,.025) 50%,rgba(0,0,0,.035) 50%);background-size:auto,100% 3px}
.film-os .os-topbar{background:#b7c8db!important;color:#071c45!important;border:2px solid #eef4fb!important;border-right-color:#53677f!important;border-bottom-color:#53677f!important;box-shadow:inset 1px 1px 0 #fff,2px 2px 0 rgba(0,0,0,.18)!important}
.film-os .os-topbar a,.film-os .os-top-left,.film-os .os-top-right,.film-os .os-brand,.film-os .os-menu span{color:#071c45!important}
.film-os .os-menu{gap:1px}
.film-os .os-menu span{padding:2px 7px;border:1px solid transparent}
.film-os .os-menu span:hover{background:#173d79;color:#fff!important;border-color:#071f4f}
.film-os .desktop-icon{color:#fff;text-shadow:1px 1px 0 #001a47}
.film-os .desktop-icon:hover{background:rgba(255,255,255,.08);border-color:rgba(212,231,255,.55)}
.film-os .win95{background:#b8c8d9;border:2px solid #eef5fc;border-right-color:#4b6079;border-bottom-color:#4b6079;box-shadow:inset 1px 1px 0 #fff,3px 3px 0 rgba(0,0,0,.28)}
.film-os .win-title{min-height:25px;background:linear-gradient(90deg,#09285d 0,#164783 72%,#617da0 100%);color:#fff;border-bottom:1px solid #00163d;text-shadow:1px 1px 0 #000}
.film-os .win-title.black{background:linear-gradient(90deg,#071633,#102c61 72%,#445b7a)}
.film-os .win-title.red{background:linear-gradient(90deg,#6f1821,#a72f38 70%,#6c4050)}
.film-os .win-btn{background:#bdcad8;color:#071733;border:1px solid #fff;border-right-color:#42556d;border-bottom-color:#42556d;box-shadow:inset 1px 1px 0 #eef6ff;font-weight:700}
.film-os .win-body{background:#c7d3df;color:#12223b}
.film-os .os-msg,.film-os .table-frame,.film-os .info-frame,.film-os .empty-note,.film-os .portal-item{background:#d5e0e9;color:#12223b;border-color:#eef6fb;border-right-color:#6d8094;border-bottom-color:#6d8094}
.film-os .portal-item:hover{background:#e4edf5}
.film-os .portal-kind,.film-os .os-small{color:#435c77}
.film-os .os-input,.film-os .os-textarea,.film-os select.os-input{background:#f6f8fa;color:#111b2a;border:2px inset #dfe7ef}
.film-os .os-btn{background:#c2cfdb;color:#102344;border:2px outset #e8f1f8;box-shadow:none}
.film-os .os-btn:active{border-style:inset}
.film-os .nav-tile{background:#c3cfdb;color:#142542;border:2px outset #eaf2f8}
.film-os .nav-tile.active{background:#173c78;color:#fff;border-style:inset}
.film-os .hero-banner{background:linear-gradient(180deg,#163c74,#071f4c);color:#fff;border-bottom-color:#7289a4}
.film-os .os-taskbar{background:#aebed0;color:#0d2448;border-top:2px solid #eef5fb}
.film-os .real-status,.film-os .task-clock{color:#0d2448}
.praetorian-os .os-shell{background:linear-gradient(180deg,#2e568c,#173f77 40%,#0c2c61)}
.praetorian-os .prae-sidebar{background:#9eafc2;border-right-color:#5f738c}
.praetorian-os .prae-content{background:#c7d2df}
.praetorian-os .section-caption{background:#0d3774;color:#fff;border-bottom:2px solid #6883a3}

/* Eingebettete Gatekeeper-Apps bekommen je nach Anwendung eine eigene 1995er Fensteridentität. */
.gate-app-window{position:fixed;width:min(880px,calc(100vw - 24px));height:min(680px,calc(100dvh - 78px));left:clamp(8px,10vw,120px);top:48px}
.gate-app-window>.win-body{height:calc(100% - 27px);padding:0!important;overflow:hidden!important}
.gate-app-frame{width:100%;height:100%;border:0;display:block;background:#fff}
.gate-app-trace{width:min(900px,calc(100vw - 24px));height:min(650px,calc(100dvh - 78px))}
.gate-app-records{width:min(850px,calc(100vw - 24px));height:min(620px,calc(100dvh - 78px))}
.gate-app-mail{width:min(940px,calc(100vw - 24px));height:min(660px,calc(100dvh - 78px))}
.gate-app-mozart{width:min(820px,calc(100vw - 24px));height:min(620px,calc(100dvh - 78px))}
.gate-app-trace>.win-title{background:linear-gradient(90deg,#535b6d,#8790a0)!important}
.gate-app-records>.win-title{background:linear-gradient(90deg,#263b68,#6a7795)!important}
.gate-app-mail>.win-title{background:linear-gradient(90deg,#2f5872,#7a9cac)!important}
.gate-app-mozart>.win-title{background:linear-gradient(90deg,#3d1c64,#8a5ea4)!important}

.legacy-sequence-body{margin:0;background:#020713;color:#d9e5ff;overflow:hidden;font-family:"Courier New",monospace}
.legacy-sequence{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at center,#132454 0,#071127 45%,#01040a 100%)}
.legacy-sequence>section{width:min(900px,94vw);height:min(620px,90vh);box-sizing:border-box}
.sequence-mozart{background:#d7d7d7;border:3px outset #eee;box-shadow:12px 12px 0 rgba(0,0,0,.4)}
.seq-browser-chrome{height:64px;box-sizing:border-box;background:#c7c7c7;color:#111;padding:7px 10px;border-bottom:2px groove #fff;display:flex;gap:18px;align-items:flex-start;font:13px/1.2 Arial,sans-serif;position:relative}
.seq-url{position:absolute;left:10px;right:10px;bottom:7px;background:#fff;border:2px inset #eee;padding:3px 7px;font:12px/1 "Courier New",monospace}
.seq-mozart-page{height:calc(100% - 64px);background:#0b245f;color:#f4d85c;text-align:center;padding:28px;box-sizing:border-box;background-image:radial-gradient(#ffffff22 1px,transparent 1px);background-size:20px 20px}
.seq-mozart-page h1{font:700 clamp(34px,7vw,72px)/1 Georgia,serif;color:#f0d67a;text-shadow:3px 3px 0 #5d2c78;margin:22px 0 4px}
.seq-mozart-page p{margin:0 0 28px;color:#a9e8ff;font:700 15px/1.2 Arial,sans-serif}
.seq-stars{color:#f7ec99;letter-spacing:18px}
.seq-mozart-grid{display:grid;grid-template-columns:1fr 150px 1fr;gap:20px;align-items:center;text-align:left}
.seq-mozart-grid>div:not(.seq-pi){border:2px solid #ba9fd6;background:#152e76;padding:15px;display:grid;gap:9px;color:#d3e7ff}
.seq-mozart-grid b{color:#fff5a5}.seq-pi{text-align:center;font:700 100px/1 Georgia,serif;color:#fff1a1;text-shadow:0 0 18px #b16cff;animation:seqPi 700ms steps(2,end) infinite}
.sequence-montage{position:relative;padding:38px 20px 20px;background:#091938;border:2px solid #466b9f;box-shadow:0 0 40px #173f84 inset}
.seq-scan-title{position:absolute;top:8px;left:0;right:0;text-align:center;color:#88ffb0;letter-spacing:.16em;font-weight:700;animation:seqBlink 420ms steps(1) infinite}
.seq-montage-grid{height:100%;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:1fr 1fr;gap:10px}
.seq-card{position:relative;overflow:hidden;background:#cbd5df;color:#10244c;border:2px outset #eaf2f8;padding:8px;font-size:12px;animation:seqCard 650ms steps(2) infinite alternate}
.seq-card strong{display:block;background:#173d78;color:#fff;padding:4px 6px;margin:-4px -4px 8px}.seq-card pre{white-space:pre-wrap;font:11px/1.25 "Courier New",monospace}.seq-card.terminal{background:#050805;color:#56ff7b}.seq-card.terminal strong{background:#222;color:#9bffaf}.seq-card.record{background:#e6e2d9}.seq-card.reservation{background:#d6e5ef}.cad-lines{height:70%;background:linear-gradient(25deg,transparent 48%,#2360a0 49%,#2360a0 51%,transparent 52%),linear-gradient(90deg,transparent 48%,#2360a0 49%,#2360a0 51%,transparent 52%);background-size:32px 32px}.node-map{display:flex;align-items:center;justify-content:center;height:70%;gap:8px}.node-map i{width:18px;height:18px;background:#0f4387;border-radius:50%;box-shadow:0 0 0 4px #8ab2e0}.sequence-final{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.sequence-final-pi{font:700 140px/1 Georgia,serif;color:#ffe66f;text-shadow:0 0 24px #487eff}.sequence-final-text{font:700 clamp(18px,4vw,34px)/1.2 "Courier New",monospace;color:#9effb5;letter-spacing:.09em}.sequence-final-line{width:min(520px,80%);height:2px;background:#72e99a;margin-top:20px;animation:seqLine 700ms linear infinite}
@keyframes seqPi{50%{opacity:.45}}@keyframes seqBlink{50%{opacity:.25}}@keyframes seqCard{from{filter:brightness(.85)}to{filter:brightness(1.2)}}@keyframes seqLine{from{transform:scaleX(.15)}to{transform:scaleX(1)}}

/* Neue Filmtools: bewusst unterschiedliche Programmoberflächen statt eines einzigen Theme-Skins. */
.legacy-tool-body{margin:0;min-height:100dvh;background:#c9d0d8;color:#111;font-family:Tahoma,Geneva,Arial,sans-serif;overflow:auto}.legacy-tool{min-height:100dvh;box-sizing:border-box}.legacy-menu,.record-menu,.mail-menubar{height:28px;box-sizing:border-box;background:#d8dde2;color:#111;padding:6px 10px;border-bottom:2px groove #fff;font:13px/1 Arial,sans-serif}.legacy-caption{background:#263f6c;color:#fff;padding:4px 6px;font:700 12px/1 Arial,sans-serif}
.trace-tool{background:#aeb9c5;padding-bottom:8px}.trace-controls{display:flex;align-items:center;gap:8px;padding:8px;background:#cbd3dc;border-bottom:2px groove #fff}.trace-controls label{display:flex;align-items:center;gap:8px;flex:1}.trace-controls input{flex:1;min-width:100px;background:#fff;border:2px inset #e8edf2;padding:4px 6px}.trace-controls button,.mail-toolbar button,.mail-compose button{background:#c5ccd4;border:2px outset #edf2f6;padding:4px 10px}.trace-controls span{font:700 12px/1 "Courier New",monospace;color:#173d70}.trace-layout{display:grid;grid-template-columns:1.05fr .95fr;gap:8px;padding:8px}.trace-console,.trace-map,.trace-whois{border:2px inset #dfe5ea;background:#eef2f4}.trace-console pre{height:320px;overflow:auto;background:#060b0d;color:#73ff96;margin:0;padding:10px;font:13px/1.35 "Courier New",monospace}.trace-map{position:relative;min-height:350px}.trace-grid{position:absolute;inset:26px 0 0;background:linear-gradient(#6089ae22 1px,transparent 1px),linear-gradient(90deg,#6089ae22 1px,transparent 1px);background-size:26px 26px}.trace-node-map{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;height:300px}.trace-node-map .tn{background:#d6e5ef;border:2px outset #fff;padding:5px 12px;font:700 12px/1 Arial}.trace-node-map i{width:2px;height:25px;background:#173f73}.trace-whois{margin:0 8px}.trace-fields{display:grid;grid-template-columns:90px 1fr 90px 1fr;gap:1px;background:#8796a8}.trace-fields>*{background:#e8edf0;padding:6px}
.records-tool{background:#b9c4d1;padding-bottom:8px}.record-head{display:flex;justify-content:space-between;background:#122f65;color:#fff;padding:8px 10px;font:13px/1 Arial}.record-tabs{display:flex;gap:2px;padding:6px 8px 0}.record-tabs span{padding:5px 12px;background:#9fafc0;border:2px outset #dce5ee}.record-tabs .active{background:#e5e9ed;border-bottom-color:#e5e9ed}.record-card{margin:0 8px 8px;padding:12px;background:#e5e9ed;border:2px inset #eef2f5;display:grid;grid-template-columns:150px 1fr;gap:14px}.record-photo{height:190px;background:#b5c0ca;border:2px inset #eef2f5;display:flex;flex-direction:column;align-items:center;justify-content:center}.record-silhouette{font:700 90px/1 Georgia;color:#50647d}.record-fields{display:grid;grid-template-columns:1fr 1fr;gap:6px}.record-fields>div{background:#f5f6f7;border:1px solid #9ba7b5;padding:6px;display:grid;grid-template-columns:110px 1fr;gap:8px}.record-fields .wide{grid-column:1/-1}.record-fields b{color:#324d6f}.record-alert{color:#a20d18;font-weight:700}.record-statusbar{display:flex;gap:2px;margin:0 8px}.record-statusbar span{flex:1;background:#d3dae1;border:2px inset #eef2f6;padding:4px 6px;font:11px/1 "Courier New",monospace}
.mail-tool{background:#bfc9d4}.mail-toolbar{display:flex;gap:5px;align-items:center;padding:7px;background:#cfd7df;border-bottom:2px groove #fff}.mail-toolbar span{margin-left:auto;font-weight:700;color:#294b68}.mail-layout{display:grid;grid-template-columns:150px 260px 1fr;height:calc(100dvh - 88px);min-height:420px}.mail-folders,.mail-list,.mail-reader{border-right:2px groove #e8edf1;background:#e9edf0;overflow:auto}.mail-folders{display:flex;flex-direction:column;padding:8px;gap:4px}.mail-folders strong{padding:5px;background:#345b75;color:#fff}.mail-folders span{padding:6px 8px}.mail-folders .active{background:#315978;color:#fff}.mail-list{display:flex;flex-direction:column}.mail-list-head{background:#879cad;color:#fff;padding:5px 7px}.mail-list button{border:0;border-bottom:1px solid #aeb9c4;background:#f1f3f4;text-align:left;padding:7px;display:grid;gap:2px}.mail-list button:hover{background:#d9e6ed}.mail-reader{padding:10px}.mail-fields{display:grid;grid-template-columns:70px 1fr;gap:4px}.mail-fields>*{padding:4px;border-bottom:1px solid #aab5c0}.mail-body{white-space:pre-wrap;margin-top:12px;background:#fff;border:2px inset #eef1f4;min-height:250px;padding:12px;font:14px/1.5 "Courier New",monospace}.mail-compose{position:fixed;left:8%;right:8%;bottom:8%;background:#d5dde5;border:3px outset #eef4f8;padding:10px;box-shadow:8px 8px 0 #0005;display:grid;gap:6px}.mail-compose[hidden]{display:none}.mail-compose label{display:grid;grid-template-columns:70px 1fr;gap:6px}.mail-compose input,.mail-compose textarea{border:2px inset #edf2f5;background:#fff;padding:5px}.mail-compose textarea{height:120px}.mail-compose div{display:flex;gap:8px;align-items:center}.mail-compose span{margin-left:auto;font:700 12px/1 "Courier New",monospace}
.mozart-tool-body{background:#07194f}.mozart-tool{min-height:100dvh;background:#0a2464;color:#f8dd71;background-image:radial-gradient(#fff2 1px,transparent 1px);background-size:18px 18px}.moz-browser{display:flex;gap:10px;align-items:center;background:#c7c7c7;color:#111;padding:7px;border-bottom:2px groove #fff;font:12px/1 Arial}.moz-browser div{margin-left:auto;flex:1;max-width:420px;background:#fff;border:2px inset #eee;padding:4px 6px}.moz-head{display:flex;align-items:center;justify-content:center;gap:25px;padding:24px 15px 12px;text-align:left}.moz-head h1{margin:0;font:700 clamp(34px,7vw,70px)/1 Georgia,serif;text-shadow:3px 3px 0 #69337d}.moz-head p{margin:4px 0;color:#9ee8ff;font-weight:700}.moz-pi{font:700 90px/1 Georgia;color:#fff0a2}.moz-columns{display:grid;grid-template-columns:1fr 1.2fr 1fr;gap:14px;padding:14px}.moz-columns section{border:2px solid #b69bd2;background:#132e79;padding:12px}.moz-columns h2{font:700 16px/1.2 Georgia;color:#fff4aa;border-bottom:1px solid #8f78b1;padding-bottom:6px}.moz-columns a{display:block;color:#8deeff;text-decoration:underline;margin:9px 0}.moz-disc{width:110px;height:110px;margin:10px auto;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle,#fff 0 5%,#111 6% 10%,#9f78be 11% 45%,#26245f 46% 100%);color:#fff;font:700 24px Georgia}.moz-counter{display:inline-block;background:#000;color:#69ff84;padding:5px 9px;font:12px "Courier New",monospace}.moz-foot{text-align:center;color:#bfd3ff;font:11px "Courier New",monospace;padding:16px}

@media(max-width:720px){.seq-mozart-grid{grid-template-columns:1fr}.seq-mozart-grid>div:not(.seq-pi){display:none}.seq-pi{font-size:90px}.seq-montage-grid{grid-template-columns:1fr 1fr;grid-template-rows:repeat(3,1fr)}.trace-layout{grid-template-columns:1fr}.trace-console pre{height:190px}.trace-map{min-height:220px}.trace-node-map{height:180px}.trace-fields{grid-template-columns:70px 1fr}.record-card{grid-template-columns:1fr}.record-photo{height:100px}.record-silhouette{font-size:60px}.record-fields{grid-template-columns:1fr}.record-fields .wide{grid-column:auto}.mail-layout{grid-template-columns:105px 1fr;height:auto;min-height:calc(100dvh - 88px)}.mail-reader{grid-column:1/-1;min-height:220px}.moz-columns{grid-template-columns:1fr}.moz-columns section:not(.moz-center){display:none}.gate-app-window{left:6px!important;top:42px!important;width:calc(100vw - 12px)!important;height:calc(100dvh - 84px)!important}}

.sequence-sound-toggle{position:fixed;top:10px;right:12px;z-index:9999;border:2px outset #dce6ef;background:#c6cfda;color:#10284f;padding:5px 9px;font:700 11px/1 Arial,sans-serif;cursor:pointer;box-shadow:2px 2px 0 rgba(0,0,0,.35)}
.sequence-sound-toggle.is-on{background:#bdd8bf;color:#173d21}
.sequence-montage{position:relative;padding:0!important;background:radial-gradient(circle at 48% 45%,#16376d 0,#0c2148 42%,#040914 100%)!important;border:0!important;box-shadow:none!important;overflow:hidden}
.seq-scan-title{z-index:100;top:10px!important;font-size:13px;background:#0a1734cc;padding:5px 10px;width:max-content;left:50%!important;right:auto!important;transform:translateX(-50%);border:1px solid #4d739e}
.seq-stage{position:absolute;inset:38px 10px 10px;overflow:hidden;perspective:1000px}
.seq-window{--seq-x:0px;--seq-y:0px;--seq-scale:1;position:absolute;box-sizing:border-box;border:2px outset #edf3f8;background:#c7d0d9;color:#10213e;box-shadow:10px 12px 18px rgba(0,0,0,.45);opacity:0;transform:translate(calc(var(--seq-x) + 28px),calc(var(--seq-y) + 22px)) scale(.92);transition:opacity .18s ease,transform .24s cubic-bezier(.2,.9,.25,1),filter .2s ease;filter:brightness(.72)}
.seq-window.seq-window-visible{opacity:1;transform:translate(var(--seq-x),var(--seq-y)) scale(var(--seq-scale));filter:brightness(1);animation:seqWindowFloat 2.4s ease-in-out infinite alternate}
.seq-window-title{height:24px;box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;background:linear-gradient(90deg,#163c78,#687e9b);color:#fff;padding:4px 7px;font:700 11px/1 Arial,sans-serif;border-bottom:1px solid #071a39}
.seq-window-title span{font-weight:400;letter-spacing:.15em}
.seq-window-status{position:absolute;left:3px;right:3px;bottom:3px;background:#d7dde3;border:1px inset #eef2f6;padding:3px 5px;font:10px/1 "Courier New",monospace;color:#203551}
.seq-window pre{margin:0;padding:8px 8px 24px;white-space:pre-wrap;font:11px/1.26 "Courier New",monospace;overflow:hidden;height:calc(100% - 24px);box-sizing:border-box}
.seq-window-hex{width:42%;height:34%;left:5%;top:6%;background:#e5e9ed}
.seq-window-cad{width:43%;height:38%;right:5%;top:4%;background:#eef2f5}
.seq-window-network{width:36%;height:39%;left:28%;top:23%;background:#d7e2eb}
.seq-window-terminal{width:46%;height:38%;left:8%;bottom:5%;background:#030605;color:#65ff82;border-color:#68746c}
.seq-window-terminal .seq-window-title{background:linear-gradient(90deg,#151515,#415045);color:#b7ffc2}
.seq-window-terminal .seq-window-status{background:#161d18;color:#83e89a;border-color:#46564b}
.seq-window-record{width:40%;height:36%;right:7%;bottom:6%;background:#e5e1d8}
.seq-window-reservation{width:30%;height:27%;right:18%;top:34%;background:#dcebf1}
.seq-window-cad .cad-lines{position:relative;height:calc(100% - 48px);margin:5px 8px 20px;background:linear-gradient(25deg,transparent 48%,#2360a0 49%,#2360a0 51%,transparent 52%),linear-gradient(90deg,transparent 48%,#2360a0 49%,#2360a0 51%,transparent 52%);background-size:26px 26px;border:1px solid #7491a9}
.seq-window-cad .cad-lines i{position:absolute;width:7px;height:7px;border:1px solid #d61b1b;background:#fff;left:42%;top:38%;animation:cadCursor 1.2s steps(5,end) infinite}
.seq-node-map{height:calc(100% - 50px)!important;gap:0!important;flex-direction:row!important;padding:8px 12px 22px;box-sizing:border-box}
.seq-node-map i{width:16px!important;height:16px!important;background:#59728f!important;box-shadow:0 0 0 3px #afc3d7!important;transition:all .18s ease}
.seq-node-map i.active,.seq-node-map i.done{background:#33c268!important;box-shadow:0 0 0 3px #bbffd1,0 0 12px #55ff88!important}
.seq-node-map b{display:block;width:28px;height:2px;background:#7996b0}
.seq-record-lines{padding:8px 8px 24px;display:grid;gap:6px;font:11px/1.2 "Courier New",monospace}.seq-record-lines div{display:grid;grid-template-columns:58px 1fr;border-bottom:1px dotted #8f918e;padding-bottom:4px}.seq-record-lines span{font-weight:700}.seq-alert-text{color:#b50013!important;animation:seqBlink .45s steps(1) infinite}
.seq-reservation-lines{padding:9px 10px 26px;display:grid;gap:6px;font:12px/1.2 "Courier New",monospace}.seq-reservation-lines b{color:#173d77}
@keyframes seqWindowFloat{from{margin-top:0}to{margin-top:3px}}
@keyframes cadCursor{0%{left:20%;top:25%}25%{left:62%;top:18%}50%{left:72%;top:60%}75%{left:35%;top:68%}100%{left:20%;top:25%}}

.trace-controls{flex-wrap:wrap}
.trace-controls button,.record-controls button,.record-tabs button,.mail-toolbar button,.moz-columns button,.moz-player button{cursor:pointer}
.trace-node-map .tn{transition:background .18s ease,color .18s ease,box-shadow .18s ease}
.trace-node-map .tn.active{background:#ffe88e;color:#23324c;box-shadow:0 0 10px #ffe88e}
.trace-node-map .tn.done{background:#84d89d;color:#153d22;box-shadow:0 0 8px #70dd8d}
.record-controls{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:7px 8px;background:#cdd6df;border-bottom:2px groove #fff}
.record-controls label{display:flex;align-items:center;gap:6px;flex:1;min-width:220px;font-size:12px}.record-controls input{flex:1;min-width:90px;border:2px inset #eef2f5;background:#fff;padding:4px 6px}.record-controls button{background:#c5ccd4;border:2px outset #edf2f6;padding:4px 8px;font-size:11px}
.record-tabs button{padding:5px 12px;background:#9fafc0;border:2px outset #dce5ee;color:#111}.record-tabs button.active{background:#e5e9ed;border-bottom-color:#e5e9ed;font-weight:700}
.record-scan{color:transparent!important;background:linear-gradient(90deg,#e6edf5,#adc2d7,#e6edf5)!important;background-size:200% 100%!important;animation:recordScan 450ms linear infinite!important}
@keyframes recordScan{from{background-position:200% 0}to{background-position:-100% 0}}
.mail-toolbar button:active,.record-controls button:active,.trace-controls button:active{border-style:inset}
.mail-compose{z-index:20}
.moz-browser span{padding:3px 6px;border:1px outset #ddd;background:#d2d2d2}.moz-head{position:relative}.moz-pi{border:0;background:transparent;cursor:pointer;font:700 90px/1 Georgia;color:#fff0a2;padding:0;text-shadow:0 0 12px #b16cff}.moz-pi:hover{filter:brightness(1.25)}
.moz-player{margin:0 14px 6px;display:grid;grid-template-columns:1fr minmax(130px,260px) 70px;gap:8px;align-items:center;background:#0e1d4f;border:2px solid #8d77ab;padding:7px}.moz-spectrum{height:38px;display:flex;align-items:end;gap:2px}.moz-spectrum i{flex:1;min-width:3px;height:20%;background:#78e9ff;box-shadow:0 0 4px #78e9ff}.moz-spectrum.playing i{animation:mozBar .48s ease-in-out infinite alternate}.moz-spectrum.playing i:nth-child(2n){animation-delay:.1s}.moz-spectrum.playing i:nth-child(3n){animation-delay:.2s}.moz-spectrum.playing i:nth-child(5n){animation-delay:.3s}.moz-player-display{background:#02050b;color:#62ff86;border:2px inset #27366c;padding:7px;font:12px/1 "Courier New",monospace;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.moz-player button{background:#b6a4c9;border:2px outset #e7d9f2;padding:6px}.moz-columns button{display:block;width:100%;border:0;background:transparent;text-align:left;color:#8deeff;text-decoration:underline;margin:8px 0;padding:0;font:13px/1.2 Arial,sans-serif}.moz-center{text-align:center}.moz-node-panel{position:fixed;left:14%;right:14%;top:24%;z-index:30;background:#c6cbd0;color:#111;border:3px outset #eef1f4;box-shadow:10px 12px 0 #0006}.moz-node-panel[hidden]{display:none}.moz-node-panel>div{display:flex;justify-content:space-between;background:#263f6c;color:#fff;padding:6px 8px}.moz-node-panel button{border:2px outset #eee;background:#c9c9c9}.moz-node-panel pre{margin:0;background:#050805;color:#65ff82;padding:16px;font:14px/1.5 "Courier New",monospace}.moz-node-panel.open{animation:nodeOpen .22s ease-out}.moz-foot{padding:10px 16px 14px!important}
@keyframes mozBar{from{height:18%}to{height:94%}}@keyframes nodeOpen{from{transform:scale(.92);opacity:0}to{transform:scale(1);opacity:1}}

@media(max-width:720px){
  .sequence-sound-toggle{top:6px;right:6px;font-size:9px;padding:4px 6px}
  .seq-stage{inset:34px 5px 5px}
  .seq-window{font-size:10px!important}.seq-window-title{font-size:9px;height:20px}.seq-window-status{font-size:8px}.seq-window pre{font-size:8px}
  .seq-window-hex{width:62%;height:29%;left:2%;top:2%}.seq-window-cad{width:55%;height:30%;right:1%;top:12%}.seq-window-network{width:55%;height:29%;left:13%;top:31%}.seq-window-terminal{width:66%;height:30%;left:1%;bottom:2%}.seq-window-record{width:57%;height:31%;right:1%;bottom:4%}.seq-window-reservation{width:45%;height:23%;right:5%;top:46%}
  .record-controls{gap:4px}.record-controls label{min-width:100%;}.record-controls button{font-size:9px;padding:3px 5px}.record-tabs button{font-size:9px;padding:4px 6px}
  .moz-player{grid-template-columns:1fr 80px}.moz-player-display{grid-column:1/-1;grid-row:2}.moz-node-panel{left:5%;right:5%;top:20%}
}

.sequence-launch-overlay{position:fixed;inset:0;z-index:2147483000;background:#000;overflow:hidden}
.sequence-launch-frame{display:block;width:100%;height:100%;border:0;background:#000}

.os-window-menu{position:relative;display:inline-flex;align-items:center}.os-window-menu-button{background:transparent;border:0;color:inherit;font:inherit;padding:0 2px;cursor:pointer}.os-window-menu-drop{position:absolute;top:calc(100% + 6px);left:0;min-width:320px;max-width:min(520px,94vw);background:#d6dbe2;border:2px outset #f1f4f7;box-shadow:8px 8px 0 rgba(0,0,0,.35);padding:6px;z-index:990}.os-window-menu-group+.os-window-menu-group{margin-top:6px;border-top:1px solid #97a5b4;padding-top:6px}.os-window-menu-caption{font:700 11px/1 Arial;color:#17385d;letter-spacing:.08em;text-transform:uppercase;padding:2px 4px 5px}.os-window-menu-item{width:100%;display:grid;grid-template-columns:16px 1fr auto;gap:8px;align-items:center;text-align:left;background:#eef2f6;border:1px solid #a7b2bf;padding:6px 8px;margin:2px 0;cursor:pointer}.os-window-menu-item small{font:10px/1 Arial;color:#4a5c71}.os-window-menu-item.is-open{background:#d9edf9}.os-window-menu-item:hover{background:#cfe0ee}

/* Norton Commander Grunddesign je User */
.user-theme-norton{background:#061a72}.user-theme-norton .os-topbar,.user-theme-norton .os-taskbar{background:#0b238b;color:#fff;border-color:#a7b7ff}.user-theme-norton .win95{border-color:#b8c6ff;background:#c2c8d9;box-shadow:8px 8px 0 rgba(1,9,49,.5)}.user-theme-norton .win-title{background:#0b238b}.user-theme-norton .portal-card,.user-theme-norton .system-welcome,.user-theme-norton .os-msg,.user-theme-norton .section-frame,.user-theme-norton .chat-card{border-style:double}.user-theme-norton .desktop-icon{background:linear-gradient(180deg,#1836a4,#0b238b);border-color:#6f8cff}.user-theme-norton .desktop-icon:hover{background:linear-gradient(180deg,#2345c3,#1031a8)}.user-theme-norton .portal-item,.user-theme-norton .os-btn{border-style:double}.user-theme-norton .os-brand::after{content:" · NC MODE";color:#ffe686}

/* Systemfunktionen deutlicher als rote Vorsichtsstempel */
.portal-app-button[data-gate-app="trace"] .portal-kind,
.portal-app-button[data-gate-app="records"] .portal-kind,
.portal-app-button[data-gate-app="mail"] .portal-kind,
.portal-app-button[data-gate-app="mozart"] .portal-kind{background:linear-gradient(180deg,#ffe7e7,#ffc7c7);color:#8a0c0c;border:2px solid #a61717;border-radius:4px;padding:3px 7px;box-shadow:inset 0 0 0 1px #fff;transform:rotate(-3deg);display:inline-block}
.portal-app-button[data-gate-app="trace"],.portal-app-button[data-gate-app="records"],.portal-app-button[data-gate-app="mail"],.portal-app-button[data-gate-app="mozart"]{position:relative;overflow:hidden}
.portal-app-button[data-gate-app="trace"]::after,.portal-app-button[data-gate-app="records"]::after,.portal-app-button[data-gate-app="mail"]::after,.portal-app-button[data-gate-app="mozart"]::after{content:"CAUTION";position:absolute;right:14px;top:10px;font:700 11px/1 Arial;color:#c92020;opacity:.16;letter-spacing:.18em;transform:rotate(-12deg)}

/* Gemeinsamer Chat professioneller und näher an einem alten Client */
.netchat-window{width:min(880px,calc(100vw - 16px));height:min(620px,calc(100dvh - 80px))}.netchat-body{padding:0!important;background:#9ea8b5!important}.netchat-stage{height:100%;display:grid;grid-template-rows:auto auto 1fr auto auto;background:linear-gradient(180deg,#cad2da,#a8b2c0)}.netchat-header-strip{background:#223f63;color:#fff;padding:5px 10px;font:700 11px/1 Arial;letter-spacing:.1em}.netchat-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px;border-bottom:2px groove #fff;background:#d5dbe2}.netchat-logo-wrap{display:flex;align-items:end;gap:10px}.netchat-logo{font:700 28px/1 Tahoma,Arial,sans-serif;color:#1e4f75;letter-spacing:.02em}.netchat-logo-live{font:700 11px/1 Arial;background:#be1927;color:#fff;padding:4px 8px;border-radius:999px}.netchat-presence{display:flex;align-items:center;gap:10px}.netchat-presence-label{font:700 11px/1 Arial;color:#37546b;letter-spacing:.09em}.netchat-roster{display:flex;gap:8px;align-items:center}.netchat-online{width:42px;height:42px;border:2px outset #f6fbff;border-radius:6px;background:#eff4f7;display:grid;place-items:center}.netchat-online img{width:34px;height:34px;object-fit:cover}.netchat-online.active{box-shadow:0 0 0 2px #2d8dff inset}.netchat-frame{min-height:0;padding:10px}.netchat-messages{height:100%;overflow:auto;background:#f4f7fa;border:2px inset #eef2f5;padding:12px}.netchat-row{display:grid;grid-template-columns:86px 1fr;gap:10px;align-items:start;margin-bottom:10px}.netchat-usercell{display:grid;gap:5px;justify-items:center}.netchat-avatarbox{width:56px;height:56px;background:#fff;border:2px outset #eef4f6;border-radius:8px;display:grid;place-items:center}.netchat-avatarbox img{width:48px;height:48px;object-fit:contain}.netchat-userlabel{width:100%;text-align:center;font:700 13px/1.15 Arial;color:#173a58}.netchat-bubble{position:relative;background:#fff;border:2px outset #eef3f6;padding:10px 40px 10px 12px;min-height:54px}.netchat-row.mine .netchat-bubble{background:#dff0fb}.netchat-text{font:14px/1.45 Arial;color:#142c3f}.netchat-time{margin-top:8px;font:700 11px/1 Arial;color:#54708a}.netchat-delete{position:absolute;right:8px;top:8px;background:#c53131;color:#fff;border:1px solid #7c0d0d;width:22px;height:22px;cursor:pointer}.netchat-compose{display:grid;grid-template-columns:1fr auto;gap:10px;padding:10px;background:#d5dbe2;border-top:2px groove #fff}.netchat-input{resize:none;border:2px inset #eef2f5;background:#fff;padding:10px;font:14px/1.4 Arial}.netchat-send{background:#214b70;color:#fff;border:2px outset #f1f5f9;padding:0 18px;font:700 14px/1 Arial;min-width:110px;cursor:pointer}.netchat-footer{display:flex;justify-content:space-between;padding:5px 10px;background:#244362;color:#fff;font:11px/1 Arial}

/* Banksequenz realistischer */
.bank-camera-window{width:min(760px,calc(100vw - 18px))}.bank-camera-wrap{background:linear-gradient(180deg,#14202e,#0a1118);padding:0;color:#eaf5ff;height:100%;display:grid;grid-template-rows:auto 1fr auto}.bank-identify{margin:0;padding:8px 12px;font:700 13px/1 Arial;letter-spacing:.09em}.bank-identify-scan{background:#173b25;color:#8fffaf;border-bottom:1px solid #295738}.bank-identify-alert{background:#64131a;color:#ffd0d0;border-bottom:1px solid #8d2e36}.bank-camera-stage{margin:14px;border:2px solid #4d6379;box-shadow:0 0 0 1px #12202d inset,0 0 22px rgba(0,0,0,.45)}.bank-camera-status{display:flex;justify-content:space-between;align-items:center;margin:0 14px 14px;padding:9px 12px;background:#111b25;border:1px solid #40586f;font:12px/1.3 "Courier New",monospace}.bank-camera-status::before{content:"BANK SECURITY // CAMERA NODE";color:#9fc0db}

/* BNDx professioneller */
.bndx-code-window,.bndx-remote-window{box-shadow:10px 10px 0 rgba(0,0,0,.36)}.bndx-code{background:linear-gradient(180deg,#010101,#101820);color:#b3ffb5;padding:0}.bndx-code pre{padding:16px}.bndx-remote-shell{background:#0a2d94;background-image:linear-gradient(180deg,#0b329f,#082872)}.bndx-nc-menu{font:700 12px/1.2 Arial;padding:5px 8px}.bndx-nc-panels{padding:4px 6px 0}.bndx-nc-pane{box-shadow:inset 0 0 0 1px #8bd9ff}.bndx-record{width:min(94%,650px);padding:10px;border:3px solid #fff;border-right-color:#394c8e;border-bottom-color:#394c8e}.bndx-record-title{font:700 13px/1.2 Arial;letter-spacing:.08em}.bndx-record-row{background:#eef1f8;padding:4px 8px;margin:2px 0}.bndx-record-row:nth-child(odd){background:#dde4f2}.bndx-identity-deleted{background:radial-gradient(circle,rgba(0,0,0,.0),rgba(0,0,0,.68));text-transform:uppercase}

/* Legacy-Tools professioneller */
.trace-tool,.records-tool,.mail-tool,.mozart-tool{box-shadow:0 0 0 1px #fff inset}.trace-tool{background:#aeb9c5;padding-bottom:10px}.legacy-menu,.mail-menubar,.record-menu{background:#17385b;color:#fff;padding:5px 10px;font:700 11px/1 Arial;letter-spacing:.08em}.trace-controls{padding:10px;background:#d0d6dd}.trace-console pre{height:340px;border-top:1px solid #081218}.trace-map{background:#eff4f7}.trace-fields>*{font-size:12px}.record-head{padding:10px 12px;font:700 12px/1 Arial}.record-controls{display:flex;flex-wrap:wrap;gap:8px;padding:8px;background:#d3dae1;border-bottom:1px solid #96a5b7}.record-controls label{display:flex;align-items:center;gap:8px;flex:1;min-width:220px}.record-controls input{flex:1;background:#fff;border:2px inset #edf2f5;padding:4px 6px}.record-tabs button{background:#a8b4c1;border:2px outset #dde4ec;padding:6px 11px}.record-tabs button.active{background:#edf2f5;border-bottom-color:#edf2f5}.record-photo{background:linear-gradient(180deg,#c8d0d8,#adb8c3)}.mail-tool{background:#c3cbd4}.mail-menubar{border-bottom:1px solid #8898a7}.mail-toolbar{padding:8px 10px;background:#d8dfe6}.mozart-tool{background:#102f79;background-image:radial-gradient(#ffffff1f 1px,transparent 1px);background-size:16px 16px}.moz-browser{padding:8px}.moz-columns section,.moz-player,.moz-browser div{box-shadow:0 0 0 1px #fff2 inset}

/* Neues Secure Mail */
.secure-mail-app{min-height:100dvh;background:#bfc8d2}.secure-mail-shell{display:grid;grid-template-columns:220px 320px 1fr;min-height:calc(100dvh - 101px)}.secure-mail-sidebar,.secure-mail-list-panel,.secure-mail-reader-panel{min-width:0;border-right:2px groove #e8edf1;background:#e7ecef;display:flex;flex-direction:column}.secure-mail-reader-panel{border-right:0}.secure-mail-panel-title{background:#2c4f71;color:#fff;padding:6px 10px;font:700 12px/1 Arial;letter-spacing:.08em}.secure-mail-folders{display:grid;gap:4px;padding:10px}.mail-folder{display:flex;justify-content:space-between;gap:8px;background:#f4f6f8;border:2px outset #eef3f6;padding:8px 10px;cursor:pointer;font:13px/1 Arial}.mail-folder.active{background:#d8e7f5}.secure-mail-side-note{margin:0 10px 10px;padding:10px;background:#f7f4df;border:1px solid #cbbf8f;font:12px/1.45 Arial;color:#51462b}.secure-mail-list{padding:8px;overflow:auto;display:grid;gap:6px}.secure-mail-row{display:grid;gap:4px;text-align:left;background:#fbfcfd;border:2px outset #eef3f6;padding:9px;cursor:pointer}.secure-mail-row.active{background:#dcecf8}.secure-mail-row.unread .secure-mail-row-subject{font-weight:700;color:#153a5b}.secure-mail-row-top{display:flex;justify-content:space-between;gap:8px;font:12px/1 Arial;color:#4b6070}.secure-mail-row-subject{font:13px/1.2 Arial;color:#243749}.secure-mail-row-preview{font:12px/1.3 Arial;color:#5b6976}.secure-mail-reader{padding:10px;overflow:auto}.secure-mail-headline{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;flex-wrap:wrap}.secure-mail-subject{font:700 20px/1.2 Arial;color:#17395a}.secure-mail-reader-actions{display:flex;gap:8px;flex-wrap:wrap}.secure-mail-reader-actions button,.secure-mail-toolbar button,.secure-mail-compose-head button{background:#cbd2da;border:2px outset #eef3f6;padding:5px 10px;cursor:pointer}.secure-mail-meta-grid{display:grid;grid-template-columns:70px 1fr;gap:4px 8px;margin-top:10px;padding:10px;background:#eef2f6;border:1px solid #c3cbd4;font:12px/1.35 Arial;color:#1f3446}.secure-mail-reader-body{margin-top:12px;background:#fff;border:2px inset #eef2f6;padding:14px;min-height:280px;font:14px/1.5 "Courier New",monospace;color:#1b2731;white-space:normal}.secure-mail-statusbar{display:flex;justify-content:space-between;gap:10px;padding:5px 10px;background:#d3d9e0;border-top:2px groove #f3f6f8;font:11px/1 Arial;color:#314a60}.mail-priority-stamp{display:inline-block;padding:2px 6px;border:2px solid #a61717;color:#a61717;font:700 10px/1 Arial;letter-spacing:.1em;transform:rotate(-4deg);margin-right:6px;background:#fff2f2}.secure-mail-empty{padding:18px;color:#4a5d6c;font:13px/1.4 Arial}.secure-mail-compose{position:fixed;inset:auto 7% 7% 15%;max-width:760px;z-index:1200}.secure-mail-compose form{display:grid;gap:8px}.secure-mail-compose-head{display:flex;justify-content:space-between;align-items:center;font:700 14px/1 Arial;color:#17385b}.secure-mail-compose-actions{display:flex;gap:8px;justify-content:flex-end}.retro-mail-template-row{padding:10px;background:#eef2f6;border:1px solid #b1becb;margin-bottom:10px}
@media(max-width:960px){.secure-mail-shell{grid-template-columns:190px 260px 1fr}.netchat-window{width:calc(100vw - 10px)}}
@media(max-width:760px){.secure-mail-shell{grid-template-columns:1fr;min-height:auto}.secure-mail-sidebar,.secure-mail-list-panel,.secure-mail-reader-panel{border-right:0;border-bottom:2px groove #e8edf1}.secure-mail-compose{inset:6% 3% auto 3%}.pizza-order-grid{grid-template-columns:1fr}.netchat-row{grid-template-columns:64px 1fr}.netchat-userlabel{font-size:11px}}

.os-menu a{color:inherit;text-decoration:none}.os-menu a:hover{text-decoration:underline}
.design-admin-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.design-admin-card{display:grid;gap:6px;padding:10px;background:#eef2f6;border:2px outset #f7f9fb}.design-admin-card>span{font:11px/1.2 "Courier New",monospace;color:#52667a}

/* Designfreigaben mit Wallpaper-Vorschau. */
.design-admin-user{display:flex;justify-content:space-between;gap:10px;align-items:center}.design-admin-user span{font:11px/1 "Courier New",monospace;color:#56697a}.design-admin-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:8px}.design-access-choice{display:grid;grid-template-columns:auto 58px 1fr;gap:8px;align-items:center;padding:7px;background:#f8fafc;border:1px solid #b3bdc7}.design-preview{display:block;width:58px;height:34px;background-image:var(--design-preview);background-size:cover;background-position:center;border:1px solid #66798a;box-shadow:inset 0 0 0 1px #fff}.user-theme-norton .design-admin-card,.user-theme-norton .design-access-choice{background:#07339f;color:#eefcff;border-color:#75deed}.user-theme-norton .design-admin-user span{color:#9eeffc}

/* Secure Mail: PRAETORIAN kann zwischen allen Postfächern wechseln. */
.secure-mail-mailbox-select{display:flex;align-items:center;gap:6px;margin-left:auto;font:700 11px/1 Arial;color:#294b68}.secure-mail-mailbox-select select{min-width:190px;background:#fff;border:2px inset #eef2f5;padding:4px 6px}.secure-mail-toolbar>span{margin-left:8px!important}.secure-mail-monitor-label{padding:8px 10px;background:#d9e7f2;border-bottom:1px solid #aebdca;font:700 11px/1.2 Arial;color:#24435e}.secure-mail-side-note{font:700 11px/1.5 "Courier New",monospace;letter-spacing:.03em;color:#31485b;background:#e8edf0;border-color:#aeb9c4}.secure-mail-side-note::before{content:""}

@media(max-width:1000px){.os-topbar{height:auto;min-height:30px;align-items:flex-start;gap:6px;padding-top:3px;padding-bottom:3px}.os-top-left{flex-wrap:wrap;gap:6px}.os-menu{width:100%;order:3;flex-wrap:wrap}.os-menu-dropdown{position:fixed;top:66px;left:8px;right:8px;max-width:none}.secure-mail-mailbox-select{width:100%;margin-left:0}.secure-mail-mailbox-select select{flex:1}}
@media(max-width:640px){.os-menu-root{padding:2px 5px;font-size:11px}.os-menu-dropdown{top:72px}.os-menu-state{display:none}.design-admin-options{grid-template-columns:1fr}.secure-mail-toolbar{flex-wrap:wrap}}

.window-minimized{height:28px!important;min-height:28px!important;max-height:28px!important;overflow:hidden!important}
.window-minimized>:not(.win-title){display:none!important}
.window-maximized{position:fixed!important;left:4px!important;top:36px!important;right:4px!important;bottom:40px!important;width:auto!important;height:auto!important;max-width:none!important;max-height:none!important;margin:0!important;z-index:2147479000!important}
.window-maximized>.win-body,.window-maximized>.alert-content{height:calc(100% - 28px)!important;max-height:none!important;overflow:auto!important}
.praetorian-control-window.window-maximized{display:flex!important;flex-direction:column!important;overflow:hidden!important}
.praetorian-control-window.window-maximized>.hero-banner{flex:0 0 auto}
.praetorian-control-window.window-maximized>.prae-main{flex:1 1 auto!important;min-height:0!important;overflow:hidden!important}
.praetorian-control-window.window-maximized .prae-content{overflow:auto!important;min-height:0!important}
.gate-main-window.window-maximized{overflow:hidden!important}
.gate-main-window.window-maximized>.win-body{height:calc(100% - 28px)!important;overflow:auto!important}
.win-btn{cursor:pointer!important;user-select:none!important}
.win-btn:hover{filter:brightness(1.08)}
.win-btn:active{border-style:inset!important}

.os-topbar{position:relative!important;z-index:2147480000!important;overflow:visible!important}
.os-top-left,.os-menu{overflow:visible!important}
.os-menu{display:flex!important;gap:2px!important;align-items:center!important;position:relative!important;z-index:2147480100!important;min-height:24px!important}
.os-menu-root{height:24px!important;min-width:48px;padding:2px 8px!important;border:1px solid transparent!important;background:transparent!important;color:#0b1841!important;font:12px/1 Tahoma,Verdana,Arial,sans-serif!important;cursor:pointer!important;white-space:nowrap!important}
.os-menu-root:hover,.os-menu-root.active{background:#173b89!important;color:#fff!important;border-color:#0d2b6c!important;box-shadow:inset 1px 1px 0 rgba(255,255,255,.35)!important}
.os-menu-layer{position:fixed!important;display:block!important;width:min(420px,calc(100vw - 8px))!important;min-width:min(300px,calc(100vw - 8px))!important;overflow:auto!important;background:#d8dde4!important;border:2px outset #f4f7fa!important;box-shadow:8px 8px 0 rgba(0,0,0,.4)!important;padding:5px!important;z-index:2147483000!important;color:#142a40!important}
.os-menu-layer[hidden]{display:none!important}
.os-menu-group+.os-menu-group{margin-top:5px!important;padding-top:5px!important;border-top:1px solid #9aa7b4!important}
.os-menu-group-title{padding:3px 7px 5px!important;color:#425a70!important;font:700 10px/1 Tahoma,Verdana,Arial,sans-serif!important;letter-spacing:.08em!important;text-transform:uppercase!important}
.os-menu-entry{width:100%!important;min-height:28px!important;display:grid!important;grid-template-columns:26px minmax(0,1fr) auto!important;align-items:center!important;gap:5px!important;border:0!important;background:transparent!important;padding:5px 7px!important;text-align:left!important;color:#142a40!important;font:12px/1.15 Tahoma,Verdana,Arial,sans-serif!important;cursor:pointer!important}
.os-menu-entry:hover,.os-menu-entry:focus{background:#173b89!important;color:#fff!important;outline:none!important}
.os-menu-entry.is-open{font-weight:700!important}.os-menu-entry.is-current .os-menu-label{font-weight:700!important}
.os-menu-mark{text-align:center!important;font:700 12px/1 "Courier New",monospace!important}.os-menu-state{padding-left:10px!important;font-size:10px!important;opacity:.72!important;white-space:nowrap!important}.os-menu-entry:hover .os-menu-state{opacity:1!important}
.os-menu-empty{padding:12px;color:#53687d;font:12px/1.35 Tahoma,Verdana,Arial,sans-serif}
.os-hidden-launchers{display:none!important}

.gatekeeper-os.user-theme-standard .desktop{background:#071863 url("./wallpapers/standard-gatekeeper.webp?v=20260922-1010") center center/cover no-repeat!important}
.praetorian-os.user-theme-standard .desktop{background:#071b25 url("./wallpapers/standard-praetorian.webp?v=20260922-1010") center center/cover no-repeat!important}
.gatekeeper-os.user-theme-norton .desktop{background:#062b9c url("./wallpapers/norton-gatekeeper.webp?v=20260922-1010") center center/cover no-repeat!important}
.praetorian-os.user-theme-norton .desktop{background:#041b77 url("./wallpapers/norton-praetorian.webp?v=20260922-1010") center center/cover no-repeat!important}
.gatekeeper-os .desktop,.praetorian-os .desktop{background-attachment:fixed!important}
.gatekeeper-os .os-shell,.praetorian-os .os-shell{background:#07152a!important}
.gatekeeper-os .os-shell:before,.praetorian-os .os-shell:before{background:linear-gradient(rgba(255,255,255,.018),rgba(255,255,255,0) 24%,rgba(0,0,0,.10) 88%)!important}
.gatekeeper-os .os-shell:after,.praetorian-os .os-shell:after{opacity:.09!important}

.user-theme-norton{--nc-bg:#061b79;--nc-panel:#0733a1;--nc-cyan:#67efff;--nc-select:#00b9cb;--nc-yellow:#fff36b;--nc-white:#f7fbff;--nc-dark:#03134f;background:var(--nc-bg)!important;color:var(--nc-white)!important;font-family:"Courier New",Consolas,monospace!important}
.user-theme-norton{font-family:"Courier New",Consolas,monospace}.user-theme-norton button,.user-theme-norton input,.user-theme-norton textarea,.user-theme-norton select,.user-theme-norton table{font-family:inherit}
.user-theme-norton .os-topbar{height:31px!important;background:#c4c4c4!important;color:#00195f!important;border:1px solid #fff!important;border-right-color:#444!important;border-bottom-color:#444!important;box-shadow:none!important;margin-bottom:6px!important}
.user-theme-norton .os-pi,.user-theme-norton .os-brand,.user-theme-norton .os-top-left,.user-theme-norton .os-top-right{color:#00195f!important;text-shadow:none!important}
.user-theme-norton .os-brand{font-weight:700!important;letter-spacing:0!important}
.user-theme-norton .os-menu-root{color:#00195f!important;font-weight:700!important}
.user-theme-norton .os-menu-root:hover,.user-theme-norton .os-menu-root.active{background:#001f86!important;color:#fff!important;border-color:#001f86!important}
.user-theme-norton .os-menu-layer{background:var(--nc-panel)!important;border:2px solid var(--nc-cyan)!important;box-shadow:8px 8px 0 #010b38!important;color:var(--nc-white)!important}
.user-theme-norton .os-menu-group+.os-menu-group{border-top-color:var(--nc-cyan)!important}.user-theme-norton .os-menu-state{color:inherit!important}
.user-theme-norton .desktop-icons{gap:6px!important}.user-theme-norton .desktop-icon{width:104px!important;color:var(--nc-yellow)!important;background:rgba(4,26,111,.84)!important;border:1px solid transparent!important;padding:5px 4px!important;text-shadow:none!important}.user-theme-norton .desktop-icon:hover,.user-theme-norton .desktop-icon:focus{background:var(--nc-select)!important;color:#00145d!important;border-color:var(--nc-cyan)!important}.user-theme-norton .desktop-icon span:last-child{text-shadow:none!important;font:700 12px/1.1 "Courier New",monospace!important}.user-theme-norton .desktop-icon .icon-glyph{filter:none!important}
.user-theme-norton .win95{background:var(--nc-panel)!important;color:var(--nc-white)!important;border:2px solid var(--nc-cyan)!important;box-shadow:6px 6px 0 rgba(1,9,53,.65)!important}
.user-theme-norton .win-title,.user-theme-norton .win-title.black,.user-theme-norton .win-title.red{height:25px!important;background:var(--nc-select)!important;color:#00145d!important;border:0!important;border-bottom:1px solid var(--nc-cyan)!important;padding:0 5px!important;font-weight:700!important;letter-spacing:0!important}
.user-theme-norton .win-title .os-pi{color:#00145d!important}
.user-theme-norton .win-btn{width:18px!important;height:17px!important;background:#c0c0c0!important;color:#00145d!important;border:1px solid #fff!important;border-right-color:#444!important;border-bottom-color:#444!important;box-shadow:none!important;font:bold 12px/1 "Courier New",monospace!important}
.user-theme-norton .win-body,.user-theme-norton .alert-content{background:var(--nc-panel)!important;color:var(--nc-white)!important}
.user-theme-norton .os-msg,.user-theme-norton .table-frame,.user-theme-norton .info-frame,.user-theme-norton .admin-form-row,.user-theme-norton .admin-details,.user-theme-norton .retro-fieldset,.user-theme-norton .gate-search-wrap,.user-theme-norton .gate-collapse-body{background:var(--nc-panel)!important;color:var(--nc-white)!important;border:1px solid var(--nc-cyan)!important;box-shadow:none!important}
.user-theme-norton .gate-section-title,.user-theme-norton .section-caption,.user-theme-norton label,.user-theme-norton legend,.user-theme-norton .os-small{color:var(--nc-yellow)!important}
.user-theme-norton .os-input,.user-theme-norton .os-textarea,.user-theme-norton select{background:#001a67!important;color:var(--nc-white)!important;border:1px solid var(--nc-cyan)!important;box-shadow:none!important}
.user-theme-norton .os-input:focus,.user-theme-norton .os-textarea:focus{outline:1px solid var(--nc-yellow)!important;outline-offset:1px!important}
.user-theme-norton .os-btn{background:#c1c1c1!important;color:#00145d!important;border:1px solid #fff!important;border-right-color:#444!important;border-bottom-color:#444!important;box-shadow:none!important;font-weight:700!important}.user-theme-norton .os-btn:hover{background:var(--nc-select)!important;color:#00145d!important}.user-theme-norton .os-btn.red{background:#ffdb82!important}
.user-theme-norton .portal-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px!important;border:1px solid var(--nc-cyan)!important;padding:4px!important;background:var(--nc-panel)!important}.user-theme-norton .portal-item{background:#062d94!important;color:var(--nc-white)!important;border:1px solid transparent!important;box-shadow:none!important;padding:7px!important}.user-theme-norton .portal-item:hover,.user-theme-norton .portal-item:focus{background:var(--nc-select)!important;color:#00145d!important;border-color:var(--nc-cyan)!important}.user-theme-norton .portal-kind{color:var(--nc-yellow)!important}.user-theme-norton .portal-item strong{color:inherit!important}.user-theme-norton .portal-item span{color:inherit!important}
.user-theme-norton .prae-main{grid-template-columns:205px 1fr!important;background:var(--nc-panel)!important;border-top:1px solid var(--nc-cyan)!important}.user-theme-norton .prae-sidebar{background:#062b96!important;border-right:1px solid var(--nc-cyan)!important;padding:4px!important}.user-theme-norton .nav-tile{margin:0 0 2px!important;padding:7px 6px!important;background:#062b96!important;color:var(--nc-white)!important;border:1px solid transparent!important}.user-theme-norton .nav-tile:hover,.user-theme-norton .nav-tile.active{background:var(--nc-select)!important;color:#00145d!important;border-color:var(--nc-cyan)!important}.user-theme-norton .prae-content,.user-theme-norton .inner-pad{background:var(--nc-panel)!important;color:var(--nc-white)!important}
.user-theme-norton .hero-banner{background:#041863!important;color:var(--nc-yellow)!important;border:1px solid var(--nc-cyan)!important;margin:4px!important;padding:10px!important}.user-theme-norton .hero-center h1{font:700 46px/1 "Courier New",monospace!important;letter-spacing:.05em!important}.user-theme-norton .hero-center .subline{font-size:15px!important;color:var(--nc-cyan)!important}
.user-theme-norton .os-table{background:#062b96!important;color:var(--nc-white)!important;border-collapse:separate!important;border-spacing:1px!important}.user-theme-norton .os-table th{background:var(--nc-select)!important;color:#00145d!important;border:0!important}.user-theme-norton .os-table td{background:#052a90!important;color:var(--nc-white)!important;border:0!important}.user-theme-norton .os-table tr:hover td{background:#0941b3!important}
.user-theme-norton .gate-search-line{background:#062b96!important}.user-theme-norton .gate-section-summary{background:var(--nc-select)!important;color:#00145d!important;border:0!important;padding:5px 7px!important;margin:0 0 3px!important}.user-theme-norton .gate-section-count{color:#00145d!important}.user-theme-norton details.gate-collapse{border:1px solid var(--nc-cyan)!important;margin-bottom:6px!important;background:var(--nc-panel)!important}
.user-theme-norton .os-taskbar{height:36px!important;background:#c0c0c0!important;color:#00145d!important;border-top:1px solid #fff!important;box-shadow:none!important;padding:2px 5px!important}.user-theme-norton .real-status{gap:4px!important;flex-wrap:nowrap!important;overflow:hidden!important}.user-theme-norton .real-status span,.user-theme-norton .task-clock{background:#dadada!important;color:#00145d!important;border:1px inset #fff!important;padding:4px 7px!important;font:700 11px/1 "Courier New",monospace!important}.user-theme-norton .task-clock{margin-left:auto!important}
.user-theme-norton .os-stage:after{content:"F1 Hilfe   F2 Menü   F3 Anzeigen   F4 Bearbeiten   F5 Kopieren   F6 Verschieben   F7 Neuer Ordner   F8 Löschen   F10 Beenden";position:fixed;left:0;right:0;bottom:36px;height:22px;background:#062b96;color:var(--nc-yellow);border-top:1px solid var(--nc-cyan);padding:4px 8px;z-index:2147478000;font:700 11px/1 "Courier New",monospace;white-space:nowrap;overflow:hidden}
.user-theme-norton .os-shell{padding-bottom:62px!important}.user-theme-norton .desktop{min-height:calc(100vh - 72px)!important}

/* App-Fenster in Norton bleiben inhaltlich lesbar; filmrelevante Eigenlayouts (Pizza.Net) werden nicht überschrieben. */
.user-theme-norton .gate-app-window>.win-body{background:#062b96!important}.user-theme-norton .gate-app-frame{background:#fff!important}
.user-theme-norton .pizza-net-window,.user-theme-norton .pizza-net-window *{font-family:Tahoma,Arial,sans-serif}
.user-theme-norton .pizza-net-window>.win-title{font-family:Tahoma,Verdana,Arial,sans-serif!important}
.user-theme-norton .pizza-net-window>.win-body{background:#b8b8b8!important}

/* Lesbarkeit auf kleineren Auflösungen */
@media(max-width:1000px){
  .os-topbar{min-height:34px!important;height:auto!important;align-items:flex-start!important;padding:3px 6px!important;gap:4px!important}.os-top-left{flex-wrap:wrap!important;gap:5px!important}.os-menu{width:100%!important;flex-wrap:wrap!important;order:3!important}.os-menu-root{font-size:11px!important;padding:2px 5px!important}.os-stage{margin-left:0!important;padding-top:4px!important}.desktop-icons{position:relative!important;left:auto!important;top:auto!important;width:auto!important;flex-direction:row!important;flex-wrap:wrap!important;margin:6px 0 10px!important}.desktop-icon{width:82px!important}.user-theme-norton .os-stage:after{font-size:9px!important}
}
@media(max-width:640px){.os-menu-layer{width:calc(100vw - 8px)!important;left:4px!important}.os-menu-state{display:none!important}.window-maximized{top:70px!important;bottom:40px!important}.user-theme-norton .portal-grid{grid-template-columns:1fr!important}.user-theme-norton .os-stage:after{content:"F1 Hilfe  F3 Anzeigen  F4 Bearbeiten  F10 Ende";font-size:8px!important}}

.user-theme-norton.legacy-tool-body,.user-theme-norton.qr-tool-body,.user-theme-norton.calc-tool-body,.user-theme-norton.code-guide-body{background:var(--nc-panel)!important;color:var(--nc-white)!important}
.user-theme-norton .trace-tool,.user-theme-norton .records-tool,.user-theme-norton .secure-mail-app,.user-theme-norton .mozart-tool,.user-theme-norton .qr-tool-panel,.user-theme-norton .calc-tool-shell,.user-theme-norton .code-guide-shell{background:var(--nc-panel)!important;color:var(--nc-white)!important;border-color:var(--nc-cyan)!important;box-shadow:none!important}
.user-theme-norton .legacy-menu,.user-theme-norton .record-menu,.user-theme-norton .mail-menubar,.user-theme-norton .moz-browser,.user-theme-norton .qr-tool-head,.user-theme-norton .calc-panel-head,.user-theme-norton .code-guide-head{background:var(--nc-select)!important;color:#00145d!important;border-color:var(--nc-cyan)!important}
.user-theme-norton .trace-controls,.user-theme-norton .record-controls,.user-theme-norton .mail-toolbar,.user-theme-norton .secure-mail-statusbar,.user-theme-norton .record-statusbar{background:#062b96!important;color:var(--nc-white)!important;border-color:var(--nc-cyan)!important}
.user-theme-norton .trace-controls input,.user-theme-norton .record-controls input,.user-theme-norton .secure-mail-app input,.user-theme-norton .secure-mail-app textarea,.user-theme-norton .secure-mail-app select{background:#001967!important;color:var(--nc-white)!important;border:1px solid var(--nc-cyan)!important}
.user-theme-norton .trace-controls button,.user-theme-norton .record-controls button,.user-theme-norton .record-tabs button,.user-theme-norton .mail-toolbar button,.user-theme-norton .secure-mail-reader-actions button,.user-theme-norton .secure-mail-compose button,.user-theme-norton .mozart-tool button{background:#c0c0c0!important;color:#00145d!important;border:1px solid #fff!important;border-right-color:#444!important;border-bottom-color:#444!important}
.user-theme-norton .trace-console,.user-theme-norton .trace-map,.user-theme-norton .trace-whois,.user-theme-norton .record-card,.user-theme-norton .secure-mail-sidebar,.user-theme-norton .secure-mail-list-panel,.user-theme-norton .secure-mail-reader-panel{background:#062b96!important;border-color:var(--nc-cyan)!important;color:var(--nc-white)!important}
.user-theme-norton .legacy-caption,.user-theme-norton .secure-mail-panel-title,.user-theme-norton .record-head{background:var(--nc-select)!important;color:#00145d!important;border-color:var(--nc-cyan)!important}
.user-theme-norton .trace-console pre{background:#00113f!important;color:#7dff8f!important;border-color:var(--nc-cyan)!important}.user-theme-norton .trace-grid{background-image:linear-gradient(#63eeff22 1px,transparent 1px),linear-gradient(90deg,#63eeff22 1px,transparent 1px)!important}.user-theme-norton .trace-node-map .tn{background:#062b96!important;color:var(--nc-yellow)!important;border:1px solid var(--nc-cyan)!important}.user-theme-norton .trace-node-map i{background:var(--nc-cyan)!important}
.user-theme-norton .record-tabs button.active{background:var(--nc-select)!important;color:#00145d!important}.user-theme-norton .record-photo{background:#031b72!important;border-color:var(--nc-cyan)!important}.user-theme-norton .record-silhouette{color:var(--nc-cyan)!important}.user-theme-norton .record-fields>div{background:#062b96!important;color:var(--nc-white)!important;border:1px solid var(--nc-cyan)!important}.user-theme-norton .record-fields b{color:var(--nc-yellow)!important}.user-theme-norton .record-statusbar span{background:#062b96!important;color:var(--nc-white)!important;border:1px solid var(--nc-cyan)!important}
.user-theme-norton .secure-mail-folders,.user-theme-norton .secure-mail-list,.user-theme-norton .secure-mail-reader{background:#062b96!important}.user-theme-norton .mail-folder,.user-theme-norton .secure-mail-row{background:#05298a!important;color:var(--nc-white)!important;border:1px solid var(--nc-cyan)!important}.user-theme-norton .mail-folder.active,.user-theme-norton .secure-mail-row.active{background:var(--nc-select)!important;color:#00145d!important}.user-theme-norton .secure-mail-row.active *{color:#00145d!important}.user-theme-norton .secure-mail-reader-body,.user-theme-norton .secure-mail-meta-grid{background:#001967!important;color:var(--nc-white)!important;border:1px solid var(--nc-cyan)!important}.user-theme-norton .secure-mail-side-note,.user-theme-norton .secure-mail-monitor-label{background:#05298a!important;color:var(--nc-yellow)!important;border-color:var(--nc-cyan)!important}
.user-theme-norton .mozart-tool{background:#061b79!important;background-image:none!important}.user-theme-norton .moz-head,.user-theme-norton .moz-player,.user-theme-norton .moz-columns section{background:#062b96!important;color:var(--nc-white)!important;border:1px solid var(--nc-cyan)!important}.user-theme-norton .moz-head h1,.user-theme-norton .moz-columns h2,.user-theme-norton .moz-player-display{color:var(--nc-yellow)!important;text-shadow:none!important}.user-theme-norton .moz-pi{color:var(--nc-yellow)!important}.user-theme-norton .moz-disc{border:2px solid var(--nc-cyan)!important}.user-theme-norton .moz-counter{border:1px solid var(--nc-cyan)!important}
.user-theme-norton .qr-tool-panel,.user-theme-norton .qr-form,.user-theme-norton .qr-preview,.user-theme-norton .qr-info-card,.user-theme-norton .calc-future-panel,.user-theme-norton .calc-display-wrap,.user-theme-norton .calc-history-panel,.user-theme-norton .code-guide-panel{background:#062b96!important;color:var(--nc-white)!important;border-color:var(--nc-cyan)!important;box-shadow:none!important}.user-theme-norton .qr-kicker,.user-theme-norton .calc-kicker,.user-theme-norton .code-guide-section-title{color:var(--nc-yellow)!important}.user-theme-norton .qr-tool-panel label,.user-theme-norton .calc-tool-shell label{color:var(--nc-yellow)!important}.user-theme-norton .calc-display{background:#00113f!important;color:#7dff8f!important;border-color:var(--nc-cyan)!important}.user-theme-norton .calc-main-line,.user-theme-norton .calc-history-line{color:#7dff8f!important}.user-theme-norton .calc-btn{background:#c0c0c0!important;color:#00145d!important;border:1px solid #fff!important;border-right-color:#444!important;border-bottom-color:#444!important;box-shadow:none!important}.user-theme-norton .code-guide-table th{background:var(--nc-select)!important;color:#00145d!important}.user-theme-norton .code-guide-table td{background:#062b96!important;color:var(--nc-white)!important;border-color:var(--nc-cyan)!important}
.user-theme-norton .window-maximized{bottom:62px!important}


.os-shell,.os-stage,.desktop{overflow:visible!important}
.desktop{position:relative!important;background-position:center center!important;background-repeat:no-repeat!important;background-size:cover!important}
.os-menu{position:relative!important;z-index:2147482000!important}
.os-menu-root{position:relative!important}
.os-menu-root::after{content:"";display:block;position:absolute;left:6px;right:6px;bottom:2px;height:1px;background:transparent}
.os-menu-root.active::after,.os-menu-root:hover::after{background:currentColor}
.os-menu-layer{pointer-events:auto!important;border-width:2px!important;outline:1px solid rgba(255,255,255,.35)!important}
.user-theme-norton .os-menu-root{color:var(--nc-yellow)!important}
.user-theme-norton .os-menu-root:hover,.user-theme-norton .os-menu-root.active{background:#0038b8!important;color:#fff799!important;border-color:var(--nc-cyan)!important}
.user-theme-norton .os-menu-layer{background:#001f86!important;color:var(--nc-white)!important;border:2px solid var(--nc-cyan)!important;outline:1px solid #fff79955!important}
.user-theme-norton .os-menu-group-title{color:var(--nc-yellow)!important}
.user-theme-norton .os-menu-entry{color:var(--nc-white)!important}
.user-theme-norton .os-menu-entry:hover,.user-theme-norton .os-menu-entry:focus{background:var(--nc-select)!important;color:#00145d!important}
.user-theme-norton .os-menu-entry:hover .os-menu-state,.user-theme-norton .os-menu-entry:focus .os-menu-state{color:#00145d!important}
.user-theme-norton .desktop{text-shadow:none!important}
.user-theme-norton .portal-card,.user-theme-norton .system-welcome,.user-theme-norton .section-frame,.user-theme-norton .chat-card,.user-theme-norton .win95{color:var(--nc-white)!important}
.user-theme-norton .portal-card h1,.user-theme-norton .portal-card h2,.user-theme-norton .portal-card h3,.user-theme-norton .system-welcome h1,.user-theme-norton .system-welcome h2,.user-theme-norton .system-welcome h3,.user-theme-norton .section-frame h1,.user-theme-norton .section-frame h2,.user-theme-norton .section-frame h3,.user-theme-norton .gate-section-title span:first-child,.user-theme-norton .chat-meta,.user-theme-norton .portal-kind,.user-theme-norton .os-small,.user-theme-norton label,.user-theme-norton summary,.user-theme-norton th{color:var(--nc-yellow)!important}
.user-theme-norton .portal-item,.user-theme-norton .portal-document,.user-theme-norton .portal-link,.user-theme-norton .portal-function,.user-theme-norton .portal-file-meta,.user-theme-norton .empty-note,.user-theme-norton td,.user-theme-norton p,.user-theme-norton li,.user-theme-norton strong,.user-theme-norton span,.user-theme-norton div{color:inherit}
.user-theme-norton a{color:#8beaff!important}
.user-theme-norton input,.user-theme-norton textarea,.user-theme-norton select{background:#001967!important;color:#fff!important;border:1px solid var(--nc-cyan)!important}
.user-theme-norton input::placeholder,.user-theme-norton textarea::placeholder{color:#9ddcff!important;opacity:1!important}
.user-theme-norton .os-btn,.user-theme-norton button:not(.win-btn):not(.task-tab):not(.os-menu-root){background:#c0c0c0!important;color:#00145d!important;border:1px solid #fff!important;border-right-color:#444!important;border-bottom-color:#444!important;box-shadow:none!important}
.user-theme-norton .win-title{background:#0038b8!important;color:#fff799!important;border-bottom:1px solid var(--nc-cyan)!important}
.user-theme-norton .win-title-text,.user-theme-norton .win-btn{color:inherit!important}
.user-theme-norton .win-body{background:#062b96!important;color:var(--nc-white)!important}
.user-theme-norton .real-status span,.user-theme-norton .task-clock{background:#dadada!important;color:#00145d!important;border:1px inset #fff!important}
.user-theme-norton .footer-note,.user-theme-norton .footer-note *{color:#fff799!important}
.task-strip{display:flex;align-items:center;gap:4px;flex:1;overflow-x:auto;overflow-y:hidden;min-width:0;padding:0 2px}.task-strip::-webkit-scrollbar{height:6px}.task-strip::-webkit-scrollbar-thumb{background:#7d8da4}.task-tab{display:flex;align-items:center;max-width:220px;min-width:110px;height:24px;padding:0 10px;background:var(--os-silver);border:2px solid #fff;border-right-color:#666f84;border-bottom-color:#666f84;box-shadow:inset 1px 1px 0 #eef4ff;color:#122041;font:700 11px/1 Tahoma,Verdana,Arial,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}.task-tab.is-active{background:#dbe6f7}.task-tab.is-minimized{opacity:.9}.user-theme-norton .task-tab{background:#dadada!important;color:#00145d!important;border:1px solid #fff!important;border-right-color:#444!important;border-bottom-color:#444!important;box-shadow:none!important}.user-theme-norton .task-tab.is-active{background:#fff799!important;color:#00145d!important}.win95{box-sizing:border-box}.window-minimized{display:none!important}.win95.win-managed{min-width:240px;min-height:120px}.win-resizer{position:absolute;z-index:5;background:transparent}.win-resizer-n{left:10px;right:10px;top:-3px;height:6px;cursor:n-resize}.win-resizer-s{left:10px;right:10px;bottom:-3px;height:6px;cursor:s-resize}.win-resizer-e{top:10px;bottom:10px;right:-3px;width:6px;cursor:e-resize}.win-resizer-w{top:10px;bottom:10px;left:-3px;width:6px;cursor:w-resize}.win-resizer-ne{top:-3px;right:-3px;width:10px;height:10px;cursor:ne-resize}.win-resizer-nw{top:-3px;left:-3px;width:10px;height:10px;cursor:nw-resize}.win-resizer-se{bottom:-3px;right:-3px;width:10px;height:10px;cursor:se-resize}.win-resizer-sw{bottom:-3px;left:-3px;width:10px;height:10px;cursor:sw-resize}.window-maximized{left:0!important;top:34px!important;right:0!important;bottom:34px!important;width:auto!important;height:auto!important;max-width:none!important;max-height:none!important;margin:0!important}.user-theme-norton .window-maximized{bottom:58px!important}.win95[hidden]{display:none!important}

.user-theme-norton{
  --nc-bg:#0000a8;
  --nc-panel:#0000a8;
  --nc-panel-dark:#000074;
  --nc-cyan:#55ffff;
  --nc-cyan-dim:#00caca;
  --nc-yellow:#ffff55;
  --nc-white:#ffffff;
  --nc-black:#000000;
  --nc-grey:#c0c0c0;
  --nc-darkgrey:#555555;
  --nc-select:#00aaaa;
  --nc-error:#ff5555;
  color:var(--nc-white)!important;
}
.user-theme-norton .os-topbar{background:var(--nc-cyan)!important;color:var(--nc-black)!important;border-color:var(--nc-white)!important;border-right-color:var(--nc-darkgrey)!important;border-bottom-color:var(--nc-darkgrey)!important}
.user-theme-norton .os-pi,.user-theme-norton .os-brand,.user-theme-norton .os-top-left,.user-theme-norton .os-top-right{color:var(--nc-black)!important}
.user-theme-norton .os-menu-root{color:var(--nc-black)!important;font-weight:700!important}
.user-theme-norton .os-menu-root:hover,.user-theme-norton .os-menu-root.active{background:var(--nc-black)!important;color:var(--nc-yellow)!important;border-color:var(--nc-white)!important}
.user-theme-norton .os-menu-layer{background:var(--nc-cyan)!important;color:var(--nc-black)!important;border:2px solid var(--nc-white)!important;box-shadow:8px 8px 0 #000!important;outline:1px solid #000!important}
.user-theme-norton .os-menu-group+.os-menu-group{border-top-color:var(--nc-black)!important}
.user-theme-norton .os-menu-group-title{background:var(--nc-panel)!important;color:var(--nc-yellow)!important;border:1px solid var(--nc-cyan)!important;padding:4px 7px!important}
.user-theme-norton .os-menu-entry{color:var(--nc-black)!important;background:var(--nc-cyan)!important;font-weight:700!important}

.user-theme-norton .os-menu-entry:hover,.user-theme-norton .os-menu-entry:focus,.user-theme-norton .os-menu-entry.is-current{background:var(--nc-black)!important;color:var(--nc-yellow)!important}
.user-theme-norton .os-menu-entry.is-open{color:#000!important;background:#7fffff!important}
.user-theme-norton .os-menu-entry.is-open:hover,.user-theme-norton .os-menu-entry.is-open:focus{background:var(--nc-black)!important;color:var(--nc-yellow)!important}

.user-theme-norton .desktop-icon{background:rgba(0,0,116,.88)!important;color:var(--nc-white)!important;border:1px solid transparent!important}
.user-theme-norton .desktop-icon span,.user-theme-norton .desktop-icon strong{color:inherit!important}
.user-theme-norton .desktop-icon:hover,.user-theme-norton .desktop-icon:focus{background:var(--nc-select)!important;color:var(--nc-black)!important;border-color:var(--nc-white)!important}
.user-theme-norton .icon-badge{background:#aa0000!important;color:#fff!important;border-color:#fff!important}

.user-theme-norton .win95{background:var(--nc-panel)!important;color:var(--nc-white)!important;border:2px solid var(--nc-cyan)!important;box-shadow:6px 6px 0 #000!important}
.user-theme-norton .win-title,.user-theme-norton .win-title.black,.user-theme-norton .win-title.red{background:var(--nc-cyan)!important;color:var(--nc-black)!important;border-bottom:1px solid var(--nc-white)!important}
.user-theme-norton .win-title-text,.user-theme-norton .win-title-text *{color:var(--nc-black)!important}
.user-theme-norton .win-btn{background:var(--nc-grey)!important;color:var(--nc-black)!important;border:1px solid #fff!important;border-right-color:#444!important;border-bottom-color:#444!important}
.user-theme-norton .win-body,.user-theme-norton .alert-content,.user-theme-norton .prae-content,.user-theme-norton .inner-pad{background:var(--nc-panel)!important;color:var(--nc-white)!important}

.user-theme-norton .os-msg,.user-theme-norton .table-frame,.user-theme-norton .info-frame,.user-theme-norton .admin-form-row,.user-theme-norton .admin-details,.user-theme-norton .retro-fieldset,.user-theme-norton .gate-search-wrap,.user-theme-norton .gate-collapse-body,.user-theme-norton .access-row,.user-theme-norton .easter-admin-card,.user-theme-norton .design-admin-card,.user-theme-norton .retro-mail-template-row{background:var(--nc-panel)!important;color:var(--nc-white)!important;border:1px solid var(--nc-cyan)!important;box-shadow:none!important}
.user-theme-norton .section-caption,.user-theme-norton legend,.user-theme-norton .easter-admin-head,.user-theme-norton .design-admin-user,.user-theme-norton .access-status{background:var(--nc-cyan)!important;color:var(--nc-black)!important;border-color:var(--nc-white)!important;font-weight:700!important}
.user-theme-norton .section-caption *,.user-theme-norton legend *,.user-theme-norton .easter-admin-head *,.user-theme-norton .design-admin-user *{color:inherit!important}
.user-theme-norton label,.user-theme-norton .os-small,.user-theme-norton .easter-trigger,.user-theme-norton .access-row strong,.user-theme-norton .design-admin-card strong,.user-theme-norton .check-group label{color:var(--nc-yellow)!important}
.user-theme-norton .os-msg,.user-theme-norton .os-msg *,.user-theme-norton .empty-note,.user-theme-norton .empty-note *{color:var(--nc-white)!important}
.user-theme-norton .os-msg.warn{background:#7a4b00!important;color:#fff!important;border-color:var(--nc-yellow)!important}
.user-theme-norton .os-msg.error,.user-theme-norton .duplicate-pin-alert .alert-content{background:#740000!important;color:#fff!important;border-color:var(--nc-error)!important}

.user-theme-norton .os-table{background:var(--nc-panel)!important;color:var(--nc-white)!important;border-color:var(--nc-cyan)!important}
.user-theme-norton .os-table th{background:var(--nc-cyan)!important;color:var(--nc-black)!important;border-color:#000!important;font-weight:700!important}

.user-theme-norton .os-table tbody tr:nth-child(even) td{background:#000090!important}
.user-theme-norton .os-table a{color:var(--nc-yellow)!important}
.user-theme-norton .os-state-active{color:#55ff55!important;font-weight:700!important}.user-theme-norton .os-state-disabled{color:#ff7777!important;font-weight:700!important}

.user-theme-norton .os-input,.user-theme-norton .os-textarea,.user-theme-norton input,.user-theme-norton textarea,.user-theme-norton select{background:var(--nc-black)!important;color:var(--nc-white)!important;border:1px solid var(--nc-cyan)!important;caret-color:var(--nc-yellow)!important}
.user-theme-norton input::placeholder,.user-theme-norton textarea::placeholder{color:#a9ffff!important;opacity:1!important}
.user-theme-norton input:focus,.user-theme-norton textarea:focus,.user-theme-norton select:focus{outline:1px solid var(--nc-yellow)!important;box-shadow:none!important}
.user-theme-norton option{background:var(--nc-panel)!important;color:var(--nc-white)!important}
.user-theme-norton input[type="checkbox"],.user-theme-norton input[type="radio"]{accent-color:var(--nc-yellow)!important}
.user-theme-norton .os-btn,.user-theme-norton button:not(.win-btn):not(.task-tab):not(.os-menu-root){background:var(--nc-grey)!important;color:var(--nc-black)!important;border:1px solid #fff!important;border-right-color:#444!important;border-bottom-color:#444!important;box-shadow:none!important;font-weight:700!important}
.user-theme-norton .os-btn:hover,.user-theme-norton button:not(.win-btn):not(.task-tab):not(.os-menu-root):hover{background:#e0e0e0!important;color:#000!important}
.user-theme-norton .os-btn.red{background:#aa0000!important;color:#fff!important;border-color:#ff7777!important}
.user-theme-norton .os-btn.green{background:#008800!important;color:#fff!important;border-color:#55ff55!important}



.user-theme-norton .nav-tile *{color:inherit!important}
.user-theme-norton .nav-tile:hover,.user-theme-norton .nav-tile.active{background:var(--nc-cyan)!important;color:var(--nc-black)!important;border-color:var(--nc-white)!important}
.user-theme-norton .hero-banner{background:var(--nc-panel-dark)!important;color:var(--nc-white)!important;border-bottom:1px solid var(--nc-cyan)!important}
.user-theme-norton .hero-banner h1,.user-theme-norton .hero-banner .subline,.user-theme-norton .hero-banner .hero-left,.user-theme-norton .hero-banner .hero-right{color:var(--nc-yellow)!important;text-shadow:none!important}

.user-theme-norton .gate-section-summary{background:var(--nc-cyan)!important;color:var(--nc-black)!important;border:0!important}
.user-theme-norton .gate-section-summary *{color:inherit!important}
.user-theme-norton details.gate-collapse{background:var(--nc-panel)!important;border:1px solid var(--nc-cyan)!important}
.user-theme-norton .portal-grid{background:transparent!important}
.user-theme-norton .portal-item{background:#000090!important;color:var(--nc-white)!important;border:1px solid var(--nc-cyan)!important;box-shadow:none!important}
.user-theme-norton .portal-item *{color:inherit!important}
.user-theme-norton .portal-item .portal-kind{color:var(--nc-yellow)!important;font-weight:700!important}

.user-theme-norton .portal-item:hover .portal-kind,.user-theme-norton .portal-item:focus .portal-kind{color:#aa0000!important}
.user-theme-norton .portal-file-meta{color:#a9ffff!important}

.user-theme-norton .netchat-stage,.user-theme-norton .netchat-frame,.user-theme-norton .netchat-messages,.user-theme-norton .netchat-compose{background:var(--nc-panel)!important;color:var(--nc-white)!important;border-color:var(--nc-cyan)!important}
.user-theme-norton .netchat-header-strip,.user-theme-norton .netchat-footer,.user-theme-norton .netchat-toolbar{background:var(--nc-cyan)!important;color:var(--nc-black)!important;border-color:#000!important}
.user-theme-norton .netchat-header-strip *,.user-theme-norton .netchat-footer *,.user-theme-norton .netchat-toolbar *{color:inherit!important}
.user-theme-norton .netchat-row .netchat-userlabel{color:var(--nc-yellow)!important}
.user-theme-norton .netchat-bubble{background:#000090!important;color:var(--nc-white)!important;border:1px solid var(--nc-cyan)!important}
.user-theme-norton .netchat-bubble *{color:inherit!important}
.user-theme-norton .netchat-row.mine .netchat-bubble{background:#00187c!important}
.user-theme-norton .netchat-input{background:#000!important;color:#fff!important;border:1px solid var(--nc-cyan)!important}
.user-theme-norton .netchat-send{background:var(--nc-grey)!important;color:#000!important;border-color:#fff #444 #444 #fff!important}

.user-theme-norton .secure-mail-shell,.user-theme-norton .secure-mail-sidebar,.user-theme-norton .secure-mail-list-panel,.user-theme-norton .secure-mail-reader-panel,.user-theme-norton .secure-mail-list,.user-theme-norton .secure-mail-reader,.user-theme-norton .secure-mail-folders{background:var(--nc-panel)!important;color:var(--nc-white)!important;border-color:var(--nc-cyan)!important}
.user-theme-norton .secure-mail-panel-title,.user-theme-norton .mail-menubar{background:var(--nc-cyan)!important;color:var(--nc-black)!important}
.user-theme-norton .secure-mail-panel-title *,.user-theme-norton .mail-menubar *{color:inherit!important}
.user-theme-norton .mail-folder,.user-theme-norton .secure-mail-row{background:#000090!important;color:var(--nc-white)!important;border:1px solid var(--nc-cyan)!important}
.user-theme-norton .mail-folder *,.user-theme-norton .secure-mail-row *{color:inherit!important}
.user-theme-norton .mail-folder.active,.user-theme-norton .secure-mail-row.active{background:var(--nc-cyan)!important;color:var(--nc-black)!important}
.user-theme-norton .secure-mail-reader-body,.user-theme-norton .secure-mail-meta-grid{background:#000!important;color:var(--nc-white)!important;border-color:var(--nc-cyan)!important}
.user-theme-norton .secure-mail-meta-grid b{color:var(--nc-yellow)!important}
.user-theme-norton .secure-mail-statusbar{background:var(--nc-cyan)!important;color:var(--nc-black)!important;border-color:#000!important}
.user-theme-norton .secure-mail-statusbar *{color:inherit!important}
.user-theme-norton .mail-priority-stamp{background:#fff!important;color:#aa0000!important;border-color:#aa0000!important}

.user-theme-norton .trace-tool,.user-theme-norton .records-tool,.user-theme-norton .mozart-tool,.user-theme-norton .qr-tool-panel,.user-theme-norton .calc-tool-shell,.user-theme-norton .code-guide-shell{background:var(--nc-panel)!important;color:var(--nc-white)!important;border-color:var(--nc-cyan)!important}
.user-theme-norton .legacy-menu,.user-theme-norton .record-menu,.user-theme-norton .moz-browser,.user-theme-norton .legacy-caption,.user-theme-norton .record-head,.user-theme-norton .qr-tool-head,.user-theme-norton .calc-panel-head,.user-theme-norton .code-guide-head{background:var(--nc-cyan)!important;color:var(--nc-black)!important;border-color:#000!important}
.user-theme-norton .legacy-menu *,.user-theme-norton .record-menu *,.user-theme-norton .moz-browser *,.user-theme-norton .legacy-caption *,.user-theme-norton .record-head *{color:inherit!important}
.user-theme-norton .trace-controls,.user-theme-norton .record-controls,.user-theme-norton .mail-toolbar,.user-theme-norton .record-statusbar{background:var(--nc-panel)!important;color:var(--nc-white)!important;border-color:var(--nc-cyan)!important}
.user-theme-norton .trace-console,.user-theme-norton .trace-map,.user-theme-norton .trace-whois,.user-theme-norton .record-card{background:var(--nc-panel)!important;color:var(--nc-white)!important;border-color:var(--nc-cyan)!important}
.user-theme-norton .trace-console pre,.user-theme-norton .calc-display{background:#000!important;color:#55ff55!important;border-color:var(--nc-cyan)!important}
.user-theme-norton .trace-node-map .tn{background:var(--nc-panel)!important;color:var(--nc-yellow)!important;border-color:var(--nc-cyan)!important}
.user-theme-norton .trace-fields>*,.user-theme-norton .record-fields>div,.user-theme-norton .record-statusbar span{background:#000090!important;color:var(--nc-white)!important;border-color:var(--nc-cyan)!important}
.user-theme-norton .trace-fields b,.user-theme-norton .record-fields b{color:var(--nc-yellow)!important}
.user-theme-norton .record-tabs button.active{background:var(--nc-cyan)!important;color:var(--nc-black)!important}
.user-theme-norton .record-alert{color:#ff7777!important;font-weight:700!important}
.user-theme-norton .mozart-tool .moz-head,.user-theme-norton .mozart-tool .moz-player,.user-theme-norton .mozart-tool .moz-columns section{background:#000090!important;color:var(--nc-white)!important;border-color:var(--nc-cyan)!important}
.user-theme-norton .mozart-tool h1,.user-theme-norton .mozart-tool h2,.user-theme-norton .mozart-tool .moz-player-display,.user-theme-norton .mozart-tool .moz-pi{color:var(--nc-yellow)!important}
.user-theme-norton .qr-form,.user-theme-norton .qr-preview,.user-theme-norton .qr-info-card,.user-theme-norton .calc-future-panel,.user-theme-norton .calc-display-wrap,.user-theme-norton .calc-history-panel,.user-theme-norton .code-guide-panel{background:#000090!important;color:var(--nc-white)!important;border-color:var(--nc-cyan)!important}
.user-theme-norton .code-guide-table th{background:var(--nc-cyan)!important;color:var(--nc-black)!important}.user-theme-norton .code-guide-table td{background:#000090!important;color:var(--nc-white)!important;border-color:var(--nc-cyan)!important}.user-theme-norton .code-guide-table code{color:var(--nc-yellow)!important}

/* Pizza.Net bleibt vom Norton-Look ausgenommen. */
.user-theme-norton .pizza-net-window,.user-theme-norton .pizza-net-window *{font-family:Tahoma,Arial,sans-serif!important;text-shadow:none!important}
.user-theme-norton .pizza-net-window>.win-title{background:#173b89!important;color:#fff!important;border-bottom:1px solid #071f4f!important}
.user-theme-norton .pizza-net-window>.win-title .win-title-text{color:#fff!important}
.user-theme-norton .pizza-net-window>.win-body{background:#b8b8b8!important;color:#111!important}
.user-theme-norton .pizza-net-window .pizza-browser,.user-theme-norton .pizza-net-window .pizza-browser *{color:revert!important}

/* Fenster behalten ihre äußere Größe, wenn interne Details/Unterbereiche auf- oder zugeklappt werden. */
.gate-main-window{height:min(690px,calc(100dvh - 106px));min-height:420px!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
.gate-main-window>.win-title{flex:0 0 auto!important}.gate-main-window>.win-body{flex:1 1 auto!important;min-height:0!important;overflow:auto!important}
.praetorian-control-window{height:min(760px,calc(100dvh - 90px));min-height:480px!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
.praetorian-control-window>.win-title,.praetorian-control-window>.hero-banner{flex:0 0 auto!important}.praetorian-control-window>.prae-main{flex:1 1 auto!important;min-height:0!important;overflow:hidden!important}.praetorian-control-window .prae-content{min-height:0!important;overflow:auto!important}
.window-maximized.gate-main-window,.window-maximized.praetorian-control-window{height:auto!important}

/* Minimierte Fenster erscheinen unten als echte kleine Titelbalken. */
.task-strip{display:flex!important;align-items:center!important;gap:5px!important;flex:1 1 auto!important;min-width:0!important;overflow-x:auto!important;overflow-y:hidden!important;padding:0 4px!important}
.task-tab{position:relative!important;height:25px!important;min-width:140px!important;max-width:240px!important;padding:0 40px 0 22px!important;background:#173b89!important;color:#fff!important;border:2px outset #d9e1ed!important;box-shadow:none!important;font:700 11px/1 Tahoma,Verdana,Arial,sans-serif!important;text-align:left!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.task-tab::before{content:"▣";position:absolute;left:6px;top:5px;font-size:10px;color:#fff}.task-tab::after{content:"□";position:absolute;right:7px;top:3px;width:16px;height:16px;line-height:14px;text-align:center;background:#c0c0c0;color:#111;border:1px solid #fff;border-right-color:#555;border-bottom-color:#555}
.task-tab.is-active{background:#244f99!important}.task-tab.is-minimized{opacity:1!important}
.user-theme-norton .task-tab{background:var(--nc-cyan)!important;color:var(--nc-black)!important;border:1px solid var(--nc-white)!important;box-shadow:none!important;font-family:"Courier New",Consolas,monospace!important}
.user-theme-norton .task-tab::before{color:var(--nc-black)!important}.user-theme-norton .task-tab::after{background:var(--nc-grey)!important;color:#000!important}


.os-taskbar .real-status{flex:0 1 48%!important;max-width:48%!important;overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important}.os-taskbar .real-status::-webkit-scrollbar{height:5px}.os-taskbar .real-status::-webkit-scrollbar-thumb{background:#6c7a8e}.os-taskbar .task-strip{flex:1 1 auto!important}.win-resizer{touch-action:none!important}.win-title{touch-action:none}.user-theme-norton .os-taskbar .real-status{max-width:44%!important;flex-basis:44%!important}.user-theme-norton .os-taskbar .real-status span{color:#00145d!important}.user-theme-norton .task-strip{background:#c0c0c0!important;border-left:1px inset #fff!important;border-right:1px inset #fff!important}.gate-main-window .gate-collapse-body,.praetorian-control-window .prae-content{overscroll-behavior:contain}

/* Norton: private Chats, Adminhinweise und Detailkarten ebenfalls kontrastfest. */
.user-theme-norton .chat-body,.user-theme-norton .chat-message-list{background:var(--nc-panel)!important;color:var(--nc-white)!important;border-color:var(--nc-cyan)!important}
.user-theme-norton .chat-message{background:#000090!important;color:var(--nc-white)!important;border-bottom-color:var(--nc-cyan)!important}
.user-theme-norton .chat-message.mine{background:#00187c!important}.user-theme-norton .chat-message.theirs{background:#000090!important}
.user-theme-norton .chat-message-head{color:var(--nc-yellow)!important}.user-theme-norton .chat-message-text{color:var(--nc-white)!important}
.user-theme-norton .chat-meta,.user-theme-norton .chat-meta *{color:var(--nc-yellow)!important}
.user-theme-norton .chat-user-button{background:#000090!important;color:var(--nc-white)!important;border:1px solid var(--nc-cyan)!important}
.user-theme-norton .chat-user-button *{color:inherit!important}.user-theme-norton .chat-user-button:hover{background:var(--nc-cyan)!important;color:#000!important}
.user-theme-norton .chat-user-button.has-unread{background:#740000!important;color:#fff!important;border-color:#ff7777!important;box-shadow:none!important}
.user-theme-norton .admin-chat-notify{background:var(--nc-panel)!important;color:var(--nc-white)!important;border:1px solid var(--nc-cyan)!important}
.user-theme-norton .admin-chat-notify-label{background:var(--nc-cyan)!important;color:#000!important}
.user-theme-norton .admin-chat-alert-btn{background:var(--nc-grey)!important;color:#000!important}
.user-theme-norton .pin-overview-cell,.user-theme-norton .pin-overview-value{color:var(--nc-yellow)!important}
.user-theme-norton .pin-eye-button{background:var(--nc-grey)!important;color:#000!important;border-color:#fff #444 #444 #fff!important}
.user-theme-norton .admin-avatar-picker,.user-theme-norton .admin-reorder-bar,.user-theme-norton .admin-summary-title,.user-theme-norton .admin-summary-url{color:var(--nc-white)!important}
.user-theme-norton .admin-order-label{color:var(--nc-yellow)!important}
.user-theme-norton .design-access-choice{background:#000090!important;color:var(--nc-white)!important;border-color:var(--nc-cyan)!important}
.user-theme-norton .design-access-choice *{color:inherit!important}
.user-theme-norton .design-preview{border-color:var(--nc-cyan)!important}

/* Norton 5 Dialoglogik: Arbeitsflächen blau, Menüs cyan, Dialoge grau. */
.user-theme-norton .admin-form-row,.user-theme-norton .retro-fieldset,.user-theme-norton .admin-details,.user-theme-norton .secure-mail-compose,.user-theme-norton .os-msg:not(.error):not(.warn){background:var(--nc-grey)!important;color:var(--nc-black)!important;border:2px solid #fff!important;border-right-color:#444!important;border-bottom-color:#444!important}
.user-theme-norton .admin-form-row label,.user-theme-norton .retro-fieldset label,.user-theme-norton .admin-details label,.user-theme-norton .secure-mail-compose label,.user-theme-norton .os-msg:not(.error):not(.warn) *{color:var(--nc-black)!important}
.user-theme-norton .admin-form-row .os-small,.user-theme-norton .retro-fieldset .os-small,.user-theme-norton .admin-details .os-small{color:#00145d!important}
.user-theme-norton .admin-form-row input,.user-theme-norton .admin-form-row textarea,.user-theme-norton .admin-form-row select,.user-theme-norton .retro-fieldset input,.user-theme-norton .retro-fieldset textarea,.user-theme-norton .retro-fieldset select,.user-theme-norton .admin-details input,.user-theme-norton .admin-details textarea,.user-theme-norton .admin-details select{background:#000!important;color:#fff!important;border-color:var(--nc-cyan)!important}
.user-theme-norton .admin-details>summary{background:var(--nc-cyan)!important;color:#000!important;padding:5px 7px!important;font-weight:700!important}

.os-handbook-window{width:min(980px,calc(100vw - 28px));height:min(720px,calc(100dvh - 92px));min-width:320px;min-height:360px}.os-handbook-window>.win-body{height:calc(100% - 28px);padding:0!important;overflow:hidden!important;background:#d4dbe3!important}.handbook-loading{padding:24px;font:13px/1.5 Tahoma,Verdana,Arial,sans-serif;color:#243a51}.handbook-error{color:#8d1111}.handbook-toolbar{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:10px 12px;background:#dce2e8;border-bottom:2px groove #fff}.handbook-toolbar>div{display:grid;gap:3px}.handbook-toolbar strong{font:700 13px/1.2 Tahoma,Verdana,Arial,sans-serif;color:#193956}.handbook-toolbar span{font:11px/1.2 Tahoma,Verdana,Arial,sans-serif;color:#5a6d7e}.handbook-toolbar label{display:flex;align-items:center;gap:8px;font:700 11px/1 Arial;color:#304b65}.handbook-toolbar input{width:min(300px,38vw)}.handbook-layout{display:grid;grid-template-columns:220px 1fr;height:calc(100% - 79px);min-height:0}.handbook-index{background:#c6ced7;border-right:2px groove #eef2f6;padding:8px;overflow:auto}.handbook-index-title{background:#264b6d;color:#fff;padding:6px 8px;margin-bottom:6px;font:700 11px/1 Arial;letter-spacing:.1em}.handbook-index button{width:100%;display:block;text-align:left;border:1px solid transparent;background:transparent;padding:7px 8px;font:12px/1.2 Tahoma,Verdana,Arial,sans-serif;color:#203a52;cursor:pointer}.handbook-index button:hover{background:#e7edf3;border-color:#96a7b8}.handbook-content{overflow:auto;padding:12px;background:#edf1f4;scroll-behavior:smooth}.handbook-section{margin:0 0 16px}.handbook-section h2{margin:0 0 8px;padding:7px 10px;background:#345c7e;color:#fff;font:700 14px/1.15 Tahoma,Verdana,Arial,sans-serif}.handbook-entry-list{display:grid;gap:7px}.handbook-entry{background:#fff;border:1px solid #aeb9c4;padding:9px 11px}.handbook-entry-head{display:flex;justify-content:space-between;gap:10px;align-items:center}.handbook-entry-head strong{font:700 13px/1.2 Tahoma,Verdana,Arial,sans-serif;color:#193a59}.handbook-entry-head span{background:#e3e9ef;border:1px solid #aab6c1;padding:2px 6px;font:700 9px/1 Arial;color:#4b6075;text-transform:uppercase;letter-spacing:.06em}.handbook-entry p{margin:6px 0 0;font:12px/1.45 Tahoma,Verdana,Arial,sans-serif;color:#344b60}.handbook-status{position:absolute;left:0;right:0;bottom:0;display:flex;justify-content:space-between;gap:10px;padding:5px 9px;background:#d0d7df;border-top:2px groove #f4f6f8;font:10px/1 Arial;color:#41586e}.user-theme-norton .os-handbook-window>.win-body{background:#000090!important;color:var(--nc-white)!important}.user-theme-norton .handbook-toolbar,.user-theme-norton .handbook-index,.user-theme-norton .handbook-content{background:#000090!important;border-color:var(--nc-cyan)!important}.user-theme-norton .handbook-toolbar strong,.user-theme-norton .handbook-toolbar label,.user-theme-norton .handbook-toolbar span{color:var(--nc-yellow)!important}.user-theme-norton .handbook-index-title,.user-theme-norton .handbook-section h2{background:var(--nc-cyan)!important;color:#000!important}.user-theme-norton .handbook-index button{color:var(--nc-white)!important}.user-theme-norton .handbook-index button:hover{background:var(--nc-select)!important;color:#000!important;border-color:var(--nc-yellow)!important}.user-theme-norton .handbook-entry{background:#000090!important;border-color:var(--nc-cyan)!important}.user-theme-norton .handbook-entry-head strong,.user-theme-norton .handbook-entry p{color:var(--nc-white)!important}.user-theme-norton .handbook-entry-head span{background:var(--nc-yellow)!important;color:#000!important;border-color:var(--nc-cyan)!important}.user-theme-norton .handbook-status{background:#000090!important;color:var(--nc-yellow)!important;border-color:var(--nc-cyan)!important}
@media(max-width:760px){.handbook-toolbar{align-items:stretch;flex-direction:column}.handbook-toolbar input{width:100%}.handbook-layout{grid-template-columns:1fr;height:calc(100% - 118px)}.handbook-index{display:flex;gap:4px;overflow:auto;border-right:0;border-bottom:2px groove #eef2f6}.handbook-index-title{display:none}.handbook-index button{width:auto;white-space:nowrap}.handbook-content{padding:8px}}

#praetorianSecurityAlert{z-index:2147479500!important}
.os-handbook-window>.win-body{position:relative!important}

.handbook-cover{display:flex;align-items:center;gap:16px;padding:18px 20px;margin:0 0 14px;background:linear-gradient(135deg,#163b5f,#315f82);border:1px solid #708ba3;color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.22)}
.handbook-cover-mark{width:58px;height:58px;display:grid;place-items:center;border:2px solid rgba(255,255,255,.75);font:700 38px/1 Georgia,serif}
.handbook-cover>div:last-child{display:grid;gap:5px}.handbook-cover strong{font:700 20px/1.15 Tahoma,Verdana,Arial,sans-serif}.handbook-cover span{font:12px/1.35 Tahoma,Verdana,Arial,sans-serif;color:#dceaf5}
.handbook-section h2{display:flex;align-items:center;gap:9px}.handbook-section h2>span{display:inline-grid;place-items:center;min-width:28px;height:22px;background:rgba(0,0,0,.2);font:700 11px/1 "Courier New",monospace}
.handbook-section-intro{margin:-2px 0 9px;padding:8px 10px;background:#dce4eb;border-left:4px solid #5c7d99;font:12px/1.45 Tahoma,Verdana,Arial,sans-serif;color:#344d63}
.handbook-summary{margin:7px 0 0!important;font-size:12.5px!important;line-height:1.5!important}
.handbook-subtitle{margin-top:10px;padding-top:8px;border-top:1px solid #d4dde5;font:700 11px/1.2 Tahoma,Verdana,Arial,sans-serif;color:#284b68;text-transform:uppercase;letter-spacing:.06em}
.handbook-steps{margin:7px 0 0;padding-left:24px;color:#2c4357;font:12px/1.55 Tahoma,Verdana,Arial,sans-serif}.handbook-steps li+li{margin-top:3px}
.handbook-note{display:grid;gap:4px;margin-top:9px}.handbook-note span{display:block;padding:6px 8px;background:#fff7d7;border-left:4px solid #bd8a15;color:#5d491b;font:11.5px/1.4 Tahoma,Verdana,Arial,sans-serif}.handbook-note span::before{content:"Hinweis: ";font-weight:700}
.handbook-top{margin-top:8px;background:transparent;border:0;color:#406581;font:11px/1.2 Tahoma,Verdana,Arial,sans-serif;cursor:pointer;text-decoration:underline}.handbook-top:hover{color:#173e5f}
.handbook-index button{display:grid!important;grid-template-columns:27px 1fr!important;gap:6px!important;align-items:start!important}.handbook-index button>span{font:700 10px/1.4 "Courier New",monospace;color:#607589}
.handbook-toolbar-copy{min-width:0}.handbook-toolbar-copy strong{overflow-wrap:anywhere}
.user-theme-norton .handbook-cover{background:#000090!important;border-color:var(--nc-cyan)!important;color:var(--nc-white)!important;box-shadow:none!important}.user-theme-norton .handbook-cover-mark{border-color:var(--nc-cyan)!important;color:var(--nc-yellow)!important}.user-theme-norton .handbook-cover span{color:var(--nc-cyan)!important}.user-theme-norton .handbook-section-intro{background:#001f86!important;color:var(--nc-white)!important;border-left-color:var(--nc-cyan)!important}.user-theme-norton .handbook-subtitle{color:var(--nc-yellow)!important;border-top-color:var(--nc-cyan)!important}.user-theme-norton .handbook-steps{color:var(--nc-white)!important}.user-theme-norton .handbook-note span{background:#00113f!important;color:var(--nc-yellow)!important;border-left-color:var(--nc-cyan)!important}.user-theme-norton .handbook-top{color:var(--nc-cyan)!important}.user-theme-norton .handbook-index button>span{color:var(--nc-yellow)!important}

html,body.os-body{min-height:100%;overflow-x:hidden;overflow-y:auto!important}
body.os-body .os-shell{position:relative!important;overflow:visible!important;min-height:100vh;padding-bottom:86px!important}
body.os-body .desktop{position:relative!important;overflow:visible!important;background-attachment:scroll!important}
body.os-body .os-stage{overflow:visible!important;min-height:520px}
body.os-body .os-taskbar{position:absolute!important;left:0!important;right:0!important;bottom:0!important;z-index:2147479000!important;flex-wrap:nowrap!important;white-space:nowrap!important;overflow:hidden!important}
body.os-body .os-taskbar .real-status{min-width:0!important;overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important;flex-wrap:nowrap!important}
body.os-body .os-taskbar .real-status span,body.os-body .task-clock,body.os-body .task-tab{white-space:nowrap!important;flex:0 0 auto!important}
body.os-body .footer-note{display:block!important;position:absolute!important;left:12px!important;right:12px!important;bottom:42px!important;max-width:none!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;text-align:right!important;line-height:28px!important;height:28px!important;margin:0!important;padding:0!important}
body.os-body .footer-note .pi{display:inline!important;font-size:22px!important;line-height:1!important;margin:0 0 0 9px!important;vertical-align:-2px!important}
@media(max-width:980px){body.os-body .footer-note{display:block!important;font-size:11px!important;letter-spacing:.08em!important;left:8px!important;right:8px!important}}
@media(max-width:560px){body.os-body .footer-note{font-size:9px!important;letter-spacing:.04em!important}.footer-note .pi{font-size:16px!important}}

/* Icons bilden beim Start eine reservierte Desktopspalte und bleiben von Startfenstern frei. */
@media(min-width:981px){
  body.os-body .desktop-icons{left:10px!important;top:52px!important;width:122px!important;z-index:45!important}
  body.os-body .desktop-icon{position:relative;z-index:46}
}
body.os-body .win95.win-managed{position:absolute!important;box-sizing:border-box!important}
body.os-body .window-maximized{position:absolute!important;margin:0!important;max-width:none!important;max-height:none!important}
body.os-body .window-minimized{display:none!important}
body.os-body .gate-main-window>.win-body,body.os-body .praetorian-control-window .prae-content{overscroll-behavior:contain}
body.os-body .gate-main-window,body.os-body .praetorian-control-window{contain:layout paint}

/* Norton Commander – finale, konsistente Palette mit hoher Lesbarkeit. */
.user-theme-norton{
  --nc-bg:#00006f;--nc-panel:#000080;--nc-panel2:#001493;--nc-cyan:#55ffff;--nc-select:#00aaaa;--nc-yellow:#ffff55;--nc-white:#ffffff;--nc-grey:#c0c0c0;--nc-dark:#00003f;--nc-black:#000;
  background:var(--nc-bg)!important;color:var(--nc-white)!important;font-family:"Courier New",Consolas,monospace!important;
}
.user-theme-norton .desktop{color:var(--nc-white)!important}
.user-theme-norton .os-topbar{background:var(--nc-panel)!important;color:var(--nc-yellow)!important;border:1px solid var(--nc-cyan)!important;box-shadow:none!important;height:30px!important}
.user-theme-norton .os-top-left,.user-theme-norton .os-top-right,.user-theme-norton .os-brand,.user-theme-norton .os-pi,.user-theme-norton .os-topbar span{color:var(--nc-yellow)!important;text-shadow:none!important}
.user-theme-norton .os-menu-root{background:transparent!important;color:var(--nc-yellow)!important;border:1px solid transparent!important;font:700 12px/1 "Courier New",monospace!important}
.user-theme-norton .os-menu-root:hover,.user-theme-norton .os-menu-root.active{background:var(--nc-cyan)!important;color:var(--nc-black)!important;border-color:var(--nc-cyan)!important}
.user-theme-norton .os-menu-layer{background:var(--nc-panel)!important;color:var(--nc-white)!important;border:1px solid var(--nc-cyan)!important;box-shadow:6px 6px 0 var(--nc-dark)!important;outline:none!important;font-family:"Courier New",monospace!important}
.user-theme-norton .os-menu-group+.os-menu-group{border-top:1px solid var(--nc-cyan)!important}
.user-theme-norton .os-menu-group-title{color:var(--nc-yellow)!important;font-weight:700!important}
.user-theme-norton .os-menu-entry{color:var(--nc-white)!important;background:var(--nc-panel)!important;font-family:"Courier New",monospace!important}
.user-theme-norton .os-menu-entry .os-menu-mark,.user-theme-norton .os-menu-entry .os-menu-label,.user-theme-norton .os-menu-entry .os-menu-state{color:inherit!important}
.user-theme-norton .os-menu-entry:hover,.user-theme-norton .os-menu-entry:focus,.user-theme-norton .os-menu-entry.is-current{background:var(--nc-cyan)!important;color:var(--nc-black)!important}
.user-theme-norton .desktop-icon{background:rgba(0,0,128,.92)!important;color:var(--nc-yellow)!important;border:1px solid transparent!important;text-shadow:none!important}
.user-theme-norton .desktop-icon:hover,.user-theme-norton .desktop-icon:focus{background:var(--nc-cyan)!important;color:var(--nc-black)!important;border-color:var(--nc-yellow)!important}
.user-theme-norton .desktop-icon span,.user-theme-norton .desktop-icon strong{color:inherit!important;text-shadow:none!important}
.user-theme-norton .win95{background:var(--nc-panel)!important;color:var(--nc-white)!important;border:1px solid var(--nc-cyan)!important;box-shadow:4px 4px 0 var(--nc-dark)!important}
.user-theme-norton .win-title,.user-theme-norton .win-title.black{background:var(--nc-cyan)!important;color:var(--nc-black)!important;border-bottom:1px solid var(--nc-cyan)!important;box-shadow:none!important}
.user-theme-norton .win-title.red{background:#aa0000!important;color:#fff!important;border-bottom-color:#ff7777!important}
.user-theme-norton .win-title-text,.user-theme-norton .win-title-text *{color:inherit!important}
.user-theme-norton .win-btn{background:var(--nc-grey)!important;color:var(--nc-black)!important;border:1px solid #fff!important;border-right-color:#444!important;border-bottom-color:#444!important;box-shadow:none!important}
.user-theme-norton .win-body,.user-theme-norton .prae-content,.user-theme-norton .inner-pad{background:var(--nc-panel)!important;color:var(--nc-white)!important}
.user-theme-norton .hero-banner{background:var(--nc-panel)!important;color:var(--nc-white)!important;border-color:var(--nc-cyan)!important}
.user-theme-norton .hero-banner h1,.user-theme-norton .hero-banner .subline,.user-theme-norton .hero-left,.user-theme-norton .hero-right{color:var(--nc-yellow)!important;text-shadow:none!important}
.user-theme-norton .prae-main{background:var(--nc-panel)!important;border-color:var(--nc-cyan)!important}
.user-theme-norton .prae-sidebar{background:var(--nc-panel)!important;border-right:1px solid var(--nc-cyan)!important}
.user-theme-norton .nav-tile{background:var(--nc-panel)!important;color:var(--nc-white)!important;border:1px solid transparent!important}
.user-theme-norton .nav-tile span{color:inherit!important}
.user-theme-norton .nav-tile:hover,.user-theme-norton .nav-tile.active{background:var(--nc-cyan)!important;color:var(--nc-black)!important;border-color:var(--nc-yellow)!important}
.user-theme-norton .table-frame,.user-theme-norton .info-frame,.user-theme-norton details.gate-collapse,.user-theme-norton .access-row,.user-theme-norton .empty-note{background:var(--nc-panel)!important;color:var(--nc-white)!important;border:1px solid var(--nc-cyan)!important;box-shadow:none!important}
.user-theme-norton .section-caption,.user-theme-norton .gate-section-title,.user-theme-norton .gate-section-title span,.user-theme-norton .os-small{color:var(--nc-yellow)!important}
.user-theme-norton .os-table{background:var(--nc-panel)!important;color:var(--nc-white)!important}
.user-theme-norton .os-table th{background:var(--nc-cyan)!important;color:var(--nc-black)!important;border-color:var(--nc-dark)!important}
.user-theme-norton .os-table td{background:var(--nc-panel)!important;color:var(--nc-white)!important;border-color:var(--nc-cyan)!important}
.user-theme-norton .os-table tr.selected td{background:var(--nc-select)!important;color:var(--nc-black)!important}
.user-theme-norton .portal-item{background:var(--nc-panel)!important;color:var(--nc-white)!important;border:1px solid var(--nc-cyan)!important;box-shadow:none!important}
.user-theme-norton .portal-item strong,.user-theme-norton .portal-item span{color:inherit!important}
.user-theme-norton .portal-item .portal-kind,.user-theme-norton .portal-file-meta{color:var(--nc-yellow)!important}
.user-theme-norton .portal-item:hover,.user-theme-norton .portal-item:focus{background:var(--nc-cyan)!important;color:var(--nc-black)!important}
.user-theme-norton label,.user-theme-norton .check-group label{color:var(--nc-white)!important}
.user-theme-norton input,.user-theme-norton textarea,.user-theme-norton select,.user-theme-norton .os-input,.user-theme-norton .os-textarea{background:#000!important;color:#fff!important;border:1px solid var(--nc-cyan)!important;box-shadow:none!important}
.user-theme-norton input::placeholder,.user-theme-norton textarea::placeholder{color:#aaffff!important;opacity:1!important}
.user-theme-norton .os-btn,.user-theme-norton button:not(.win-btn):not(.task-tab):not(.os-menu-root):not(.netchat-delete){background:var(--nc-grey)!important;color:var(--nc-black)!important;border:1px solid #fff!important;border-right-color:#444!important;border-bottom-color:#444!important;box-shadow:none!important;text-shadow:none!important}
.user-theme-norton .os-btn.green{background:#aaffaa!important;color:#003300!important}.user-theme-norton .os-btn.red{background:#ffaaaa!important;color:#550000!important}
.user-theme-norton .os-msg{background:var(--nc-panel2)!important;color:var(--nc-white)!important;border:1px solid var(--nc-cyan)!important;box-shadow:none!important}
.user-theme-norton .os-msg *{color:inherit!important}.user-theme-norton .os-msg.warn{background:#5b4b00!important;color:#fff!important;border-color:var(--nc-yellow)!important}.user-theme-norton .os-msg.error{background:#770000!important;color:#fff!important;border-color:#ff7777!important}
.user-theme-norton .admin-details,.user-theme-norton .retro-fieldset,.user-theme-norton .admin-form-row{background:var(--nc-panel)!important;color:var(--nc-white)!important;border:1px solid var(--nc-cyan)!important}
.user-theme-norton .admin-details>summary,.user-theme-norton .retro-fieldset legend{background:var(--nc-cyan)!important;color:var(--nc-black)!important}
.user-theme-norton .admin-summary-title,.user-theme-norton .admin-summary-url,.user-theme-norton .admin-actions,.user-theme-norton .admin-actions *{color:inherit!important}
.user-theme-norton .access-status.on{background:#00aa00!important;color:#fff!important;border-color:#55ff55!important}.user-theme-norton .access-status.off{background:#660000!important;color:#fff!important;border-color:#ff7777!important}
.user-theme-norton .os-taskbar{background:var(--nc-panel)!important;color:var(--nc-white)!important;border-top:1px solid var(--nc-cyan)!important;box-shadow:none!important}
.user-theme-norton .real-status span,.user-theme-norton .task-clock{background:var(--nc-panel)!important;color:var(--nc-yellow)!important;border:1px solid var(--nc-cyan)!important;font:700 11px/1 "Courier New",monospace!important}
.user-theme-norton .task-strip{background:var(--nc-panel)!important;border:0!important}
.user-theme-norton .task-tab{background:var(--nc-cyan)!important;color:var(--nc-black)!important;border:1px solid var(--nc-yellow)!important;font-family:"Courier New",monospace!important}
.user-theme-norton .task-tab.is-active{background:var(--nc-yellow)!important;color:var(--nc-black)!important}
.user-theme-norton .footer-note,.user-theme-norton .footer-note *{color:var(--nc-yellow)!important;text-shadow:none!important}
.user-theme-norton .os-stage:after{position:absolute!important;left:0!important;right:0!important;bottom:8px!important;background:var(--nc-panel)!important;color:var(--nc-yellow)!important;border-top:1px solid var(--nc-cyan)!important;z-index:20!important}

/* Norton – interne Anwendungen: gleiche Kontrastlogik ohne Verlust ihrer eigenen Funktion. */
.user-theme-norton .netchat-stage,.user-theme-norton .netchat-frame,.user-theme-norton .netchat-messages,.user-theme-norton .netchat-compose,.user-theme-norton .secure-mail-shell,.user-theme-norton .secure-mail-sidebar,.user-theme-norton .secure-mail-list-panel,.user-theme-norton .secure-mail-reader-panel,.user-theme-norton .trace-tool,.user-theme-norton .records-tool,.user-theme-norton .mozart-tool,.user-theme-norton .qr-tool-panel,.user-theme-norton .calc-tool-shell,.user-theme-norton .code-guide-shell{background:var(--nc-panel)!important;color:var(--nc-white)!important;border-color:var(--nc-cyan)!important}
.user-theme-norton .netchat-header-strip,.user-theme-norton .netchat-toolbar,.user-theme-norton .netchat-footer,.user-theme-norton .secure-mail-panel-title,.user-theme-norton .mail-menubar,.user-theme-norton .legacy-menu,.user-theme-norton .record-menu,.user-theme-norton .legacy-caption,.user-theme-norton .record-head,.user-theme-norton .qr-tool-head,.user-theme-norton .calc-panel-head,.user-theme-norton .code-guide-head{background:var(--nc-cyan)!important;color:var(--nc-black)!important;border-color:var(--nc-dark)!important}
.user-theme-norton .netchat-header-strip *,.user-theme-norton .netchat-toolbar *,.user-theme-norton .netchat-footer *,.user-theme-norton .secure-mail-panel-title *,.user-theme-norton .mail-menubar *,.user-theme-norton .legacy-menu *,.user-theme-norton .record-menu *,.user-theme-norton .legacy-caption *,.user-theme-norton .record-head *{color:inherit!important}
.user-theme-norton .netchat-bubble,.user-theme-norton .mail-folder,.user-theme-norton .secure-mail-row,.user-theme-norton .trace-fields>*,.user-theme-norton .record-fields>div,.user-theme-norton .record-statusbar span,.user-theme-norton .qr-form,.user-theme-norton .qr-preview,.user-theme-norton .qr-info-card,.user-theme-norton .calc-future-panel,.user-theme-norton .calc-display-wrap,.user-theme-norton .calc-history-panel,.user-theme-norton .code-guide-panel{background:var(--nc-panel2)!important;color:var(--nc-white)!important;border-color:var(--nc-cyan)!important}
.user-theme-norton .mail-folder.active,.user-theme-norton .secure-mail-row.active,.user-theme-norton .record-tabs button.active{background:var(--nc-cyan)!important;color:var(--nc-black)!important}
.user-theme-norton .secure-mail-reader-body,.user-theme-norton .secure-mail-meta-grid,.user-theme-norton .trace-console pre,.user-theme-norton .calc-display{background:#000!important;color:#55ff55!important;border-color:var(--nc-cyan)!important}
.user-theme-norton .secure-mail-meta-grid b,.user-theme-norton .trace-fields b,.user-theme-norton .record-fields b,.user-theme-norton .netchat-userlabel,.user-theme-norton .mozart-tool h1,.user-theme-norton .mozart-tool h2,.user-theme-norton .qr-kicker,.user-theme-norton .calc-kicker,.user-theme-norton .code-guide-section-title{color:var(--nc-yellow)!important}

/* Pizza.Net bleibt in jedem Theme unangetastet im eigenen Originaldesign. */
.user-theme-norton .pizza-net-window .pizza-browser,.user-theme-norton .pizza-net-window .pizza-browser *,.user-theme-windows31 .pizza-net-window .pizza-browser,.user-theme-windows31 .pizza-net-window .pizza-browser *{font-family:Tahoma,Arial,sans-serif!important;text-shadow:none!important}

/* Windows 3.1 – vollständiges drittes Design. */
.user-theme-windows31{
  --w31-gray:#c0c0c0;--w31-light:#ffffff;--w31-mid:#dfdfdf;--w31-dark:#808080;--w31-black:#000000;--w31-blue:#000080;--w31-teal:#008080;--w31-red:#800000;
  background:var(--w31-teal)!important;color:var(--w31-black)!important;font-family:Arial,"MS Sans Serif",sans-serif!important;font-size:13px!important;
}
.gatekeeper-os.user-theme-windows31 .desktop{background:var(--w31-teal) url("./wallpapers/windows31-gatekeeper.svg?v=20260922-1010") center center/cover no-repeat!important}
.praetorian-os.user-theme-windows31 .desktop{background:#006f6f url("./wallpapers/windows31-praetorian.svg?v=20260922-1010") center center/cover no-repeat!important}
.user-theme-windows31 button,.user-theme-windows31 input,.user-theme-windows31 textarea,.user-theme-windows31 select,.user-theme-windows31 table{font-family:Arial,"MS Sans Serif",sans-serif!important}
.user-theme-windows31 .os-topbar{height:30px!important;background:var(--w31-gray)!important;color:var(--w31-black)!important;border:2px solid var(--w31-light)!important;border-right-color:var(--w31-dark)!important;border-bottom-color:var(--w31-dark)!important;box-shadow:none!important}
.user-theme-windows31 .os-top-left,.user-theme-windows31 .os-top-right,.user-theme-windows31 .os-brand,.user-theme-windows31 .os-pi,.user-theme-windows31 .os-topbar span{color:var(--w31-black)!important;text-shadow:none!important}
.user-theme-windows31 .os-pi{color:var(--w31-blue)!important}
.user-theme-windows31 .os-menu-root{background:transparent!important;color:var(--w31-black)!important;border:1px solid transparent!important;font-size:12px!important}
.user-theme-windows31 .os-menu-root:hover,.user-theme-windows31 .os-menu-root.active{background:var(--w31-blue)!important;color:#fff!important;border-color:var(--w31-blue)!important}
.user-theme-windows31 .os-menu-layer{background:var(--w31-gray)!important;color:var(--w31-black)!important;border:2px solid var(--w31-light)!important;border-right-color:var(--w31-dark)!important;border-bottom-color:var(--w31-dark)!important;box-shadow:3px 3px 0 #000!important;outline:1px solid #000!important}
.user-theme-windows31 .os-menu-group+.os-menu-group{border-top:1px solid var(--w31-dark)!important;box-shadow:0 1px 0 #fff inset!important}
.user-theme-windows31 .os-menu-group-title{color:#404040!important}
.user-theme-windows31 .os-menu-entry{background:var(--w31-gray)!important;color:var(--w31-black)!important}
.user-theme-windows31 .os-menu-entry .os-menu-mark,.user-theme-windows31 .os-menu-entry .os-menu-label,.user-theme-windows31 .os-menu-entry .os-menu-state{color:inherit!important}
.user-theme-windows31 .os-menu-entry:hover,.user-theme-windows31 .os-menu-entry:focus,.user-theme-windows31 .os-menu-entry.is-current{background:var(--w31-blue)!important;color:#fff!important}
.user-theme-windows31 .desktop-icon{background:transparent!important;color:#fff!important;border:1px solid transparent!important;text-shadow:1px 1px 0 #000!important}
.user-theme-windows31 .desktop-icon:hover,.user-theme-windows31 .desktop-icon:focus{background:rgba(0,0,128,.45)!important;border:1px dotted #fff!important;color:#fff!important}
.user-theme-windows31 .desktop-icon .icon-glyph{display:grid!important;place-items:center!important;width:38px!important;height:34px!important;margin:0 auto 4px!important;background:var(--w31-gray)!important;color:var(--w31-blue)!important;border:2px solid #fff!important;border-right-color:var(--w31-dark)!important;border-bottom-color:var(--w31-dark)!important;filter:none!important;font-size:22px!important;text-shadow:none!important}
.user-theme-windows31 .desktop-icon span:last-child{color:#fff!important;text-shadow:1px 1px 0 #000!important;font-size:12px!important}
.user-theme-windows31 .win95{background:var(--w31-gray)!important;color:var(--w31-black)!important;border:2px solid var(--w31-light)!important;border-right-color:#000!important;border-bottom-color:#000!important;box-shadow:inset -1px -1px 0 var(--w31-dark),2px 2px 0 rgba(0,0,0,.35)!important}
.user-theme-windows31 .win-title,.user-theme-windows31 .win-title.black{height:22px!important;background:var(--w31-blue)!important;color:#fff!important;border:0!important;padding:0 4px!important;letter-spacing:0!important;font-weight:700!important}
.user-theme-windows31 .win-title.red{background:var(--w31-red)!important;color:#fff!important}
.user-theme-windows31 .win-title-text,.user-theme-windows31 .win-title-text *{color:inherit!important}
.user-theme-windows31 .win-controls{gap:2px!important}
.user-theme-windows31 .win-btn{width:16px!important;height:14px!important;background:var(--w31-gray)!important;color:#000!important;border:1px solid #fff!important;border-right-color:#000!important;border-bottom-color:#000!important;box-shadow:none!important;font-size:10px!important}
.user-theme-windows31 .win-body,.user-theme-windows31 .prae-content,.user-theme-windows31 .inner-pad{background:var(--w31-gray)!important;color:var(--w31-black)!important}
.user-theme-windows31 .hero-banner{background:var(--w31-gray)!important;color:var(--w31-black)!important;border-bottom:2px solid var(--w31-dark)!important}
.user-theme-windows31 .hero-banner h1,.user-theme-windows31 .hero-banner .subline,.user-theme-windows31 .hero-left,.user-theme-windows31 .hero-right{color:var(--w31-blue)!important;text-shadow:none!important;font-family:Arial,"MS Sans Serif",sans-serif!important}
.user-theme-windows31 .prae-main{background:var(--w31-gray)!important}
.user-theme-windows31 .prae-sidebar{background:var(--w31-gray)!important;border-right:2px groove #fff!important}
.user-theme-windows31 .nav-tile{background:var(--w31-gray)!important;color:var(--w31-black)!important;border:2px solid #fff!important;border-right-color:var(--w31-dark)!important;border-bottom-color:var(--w31-dark)!important}
.user-theme-windows31 .nav-tile span{color:inherit!important}
.user-theme-windows31 .nav-tile:hover,.user-theme-windows31 .nav-tile.active{background:var(--w31-blue)!important;color:#fff!important;border-color:var(--w31-blue)!important}
.user-theme-windows31 .table-frame,.user-theme-windows31 .info-frame,.user-theme-windows31 details.gate-collapse,.user-theme-windows31 .empty-note,.user-theme-windows31 .access-row,.user-theme-windows31 .retro-fieldset,.user-theme-windows31 .admin-details,.user-theme-windows31 .admin-form-row{background:var(--w31-gray)!important;color:var(--w31-black)!important;border:2px solid #fff!important;border-right-color:var(--w31-dark)!important;border-bottom-color:var(--w31-dark)!important;box-shadow:none!important}
.user-theme-windows31 .section-caption,.user-theme-windows31 .gate-section-title,.user-theme-windows31 .gate-section-title span,.user-theme-windows31 .os-small,.user-theme-windows31 label,.user-theme-windows31 .check-group label{color:var(--w31-black)!important}
.user-theme-windows31 .admin-details>summary,.user-theme-windows31 .retro-fieldset legend{background:var(--w31-gray)!important;color:var(--w31-black)!important}
.user-theme-windows31 .os-table{background:#fff!important;color:#000!important}
.user-theme-windows31 .os-table th{background:var(--w31-gray)!important;color:#000!important;border-color:var(--w31-dark)!important}
.user-theme-windows31 .os-table td{background:#fff!important;color:#000!important;border-color:var(--w31-dark)!important}
.user-theme-windows31 .os-table tr.selected td{background:var(--w31-blue)!important;color:#fff!important}
.user-theme-windows31 .portal-item{background:var(--w31-gray)!important;color:var(--w31-black)!important;border:2px solid #fff!important;border-right-color:var(--w31-dark)!important;border-bottom-color:var(--w31-dark)!important;box-shadow:none!important;min-height:104px!important}
.user-theme-windows31 .portal-item strong{color:var(--w31-blue)!important}.user-theme-windows31 .portal-item span{color:#202020!important}.user-theme-windows31 .portal-item .portal-kind{color:#404040!important}
.user-theme-windows31 .portal-item:hover,.user-theme-windows31 .portal-item:focus{background:#fff!important;color:#000!important;outline:1px dotted #000!important;outline-offset:-4px!important}
.user-theme-windows31 input,.user-theme-windows31 textarea,.user-theme-windows31 select,.user-theme-windows31 .os-input,.user-theme-windows31 .os-textarea{background:#fff!important;color:#000!important;border:2px inset var(--w31-gray)!important;box-shadow:none!important}
.user-theme-windows31 input::placeholder,.user-theme-windows31 textarea::placeholder{color:#606060!important;opacity:1!important}
.user-theme-windows31 .os-btn,.user-theme-windows31 button:not(.win-btn):not(.task-tab):not(.os-menu-root):not(.netchat-delete){background:var(--w31-gray)!important;color:#000!important;border:2px solid #fff!important;border-right-color:var(--w31-dark)!important;border-bottom-color:var(--w31-dark)!important;box-shadow:none!important;text-shadow:none!important}
.user-theme-windows31 .os-btn:active,.user-theme-windows31 button:active{border-color:var(--w31-dark) #fff #fff var(--w31-dark)!important}
.user-theme-windows31 .os-msg{background:var(--w31-gray)!important;color:#000!important;border:2px solid #fff!important;border-right-color:var(--w31-dark)!important;border-bottom-color:var(--w31-dark)!important}.user-theme-windows31 .os-msg.warn{background:#ffffcc!important}.user-theme-windows31 .os-msg.error{background:#fff!important;color:#800000!important;border-color:#800000!important}
.user-theme-windows31 .access-status.on{background:#fff!important;color:#006000!important;border:1px solid #008000!important}.user-theme-windows31 .access-status.off{background:#fff!important;color:#800000!important;border:1px solid #800000!important}
.user-theme-windows31 .os-taskbar{height:32px!important;background:var(--w31-gray)!important;color:#000!important;border-top:2px solid #fff!important;box-shadow:none!important}
.user-theme-windows31 .real-status span,.user-theme-windows31 .task-clock{background:var(--w31-gray)!important;color:#000!important;border:1px inset #fff!important;padding:3px 6px!important}
.user-theme-windows31 .task-strip{background:var(--w31-gray)!important;border:0!important}
.user-theme-windows31 .task-tab{height:23px!important;background:var(--w31-gray)!important;color:#000!important;border:2px solid #fff!important;border-right-color:var(--w31-dark)!important;border-bottom-color:var(--w31-dark)!important;font-family:Arial,"MS Sans Serif",sans-serif!important}
.user-theme-windows31 .task-tab.is-active{background:var(--w31-blue)!important;color:#fff!important}
.user-theme-windows31 .footer-note,.user-theme-windows31 .footer-note *{color:#fff!important;text-shadow:1px 1px 0 #000!important}

/* Windows 3.1 – interne Tools in klassischen Dialog-/Datenfenstern. */
.user-theme-windows31 .netchat-stage,.user-theme-windows31 .netchat-frame,.user-theme-windows31 .netchat-compose,.user-theme-windows31 .secure-mail-shell,.user-theme-windows31 .secure-mail-sidebar,.user-theme-windows31 .secure-mail-list-panel,.user-theme-windows31 .secure-mail-reader-panel,.user-theme-windows31 .trace-tool,.user-theme-windows31 .records-tool,.user-theme-windows31 .mozart-tool,.user-theme-windows31 .qr-tool-panel,.user-theme-windows31 .calc-tool-shell,.user-theme-windows31 .code-guide-shell{background:var(--w31-gray)!important;color:#000!important;border-color:var(--w31-dark)!important;box-shadow:none!important}
.user-theme-windows31 .netchat-header-strip,.user-theme-windows31 .netchat-toolbar,.user-theme-windows31 .netchat-footer,.user-theme-windows31 .secure-mail-panel-title,.user-theme-windows31 .mail-menubar,.user-theme-windows31 .legacy-menu,.user-theme-windows31 .record-menu,.user-theme-windows31 .legacy-caption,.user-theme-windows31 .record-head,.user-theme-windows31 .qr-tool-head,.user-theme-windows31 .calc-panel-head,.user-theme-windows31 .code-guide-head{background:var(--w31-blue)!important;color:#fff!important;border-color:var(--w31-dark)!important}
.user-theme-windows31 .netchat-header-strip *,.user-theme-windows31 .netchat-toolbar *,.user-theme-windows31 .netchat-footer *,.user-theme-windows31 .secure-mail-panel-title *,.user-theme-windows31 .mail-menubar *,.user-theme-windows31 .legacy-menu *,.user-theme-windows31 .record-menu *,.user-theme-windows31 .legacy-caption *,.user-theme-windows31 .record-head *{color:inherit!important}
.user-theme-windows31 .netchat-messages,.user-theme-windows31 .secure-mail-list,.user-theme-windows31 .secure-mail-reader,.user-theme-windows31 .trace-console,.user-theme-windows31 .trace-map,.user-theme-windows31 .trace-whois,.user-theme-windows31 .record-card,.user-theme-windows31 .qr-form,.user-theme-windows31 .qr-preview,.user-theme-windows31 .qr-info-card,.user-theme-windows31 .calc-future-panel,.user-theme-windows31 .calc-display-wrap,.user-theme-windows31 .calc-history-panel,.user-theme-windows31 .code-guide-panel{background:#fff!important;color:#000!important;border:2px inset var(--w31-gray)!important}
.user-theme-windows31 .netchat-bubble,.user-theme-windows31 .mail-folder,.user-theme-windows31 .secure-mail-row,.user-theme-windows31 .trace-fields>*,.user-theme-windows31 .record-fields>div,.user-theme-windows31 .record-statusbar span{background:#fff!important;color:#000!important;border:1px solid var(--w31-dark)!important}
.user-theme-windows31 .mail-folder.active,.user-theme-windows31 .secure-mail-row.active,.user-theme-windows31 .record-tabs button.active{background:var(--w31-blue)!important;color:#fff!important}
.user-theme-windows31 .secure-mail-reader-body,.user-theme-windows31 .secure-mail-meta-grid,.user-theme-windows31 .trace-console pre,.user-theme-windows31 .calc-display{background:#fff!important;color:#000!important;border:2px inset var(--w31-gray)!important}
.user-theme-windows31 .trace-console pre{font-family:"Courier New",monospace!important;color:#004000!important}.user-theme-windows31 .calc-display{color:#000080!important}
.user-theme-windows31 .secure-mail-meta-grid b,.user-theme-windows31 .trace-fields b,.user-theme-windows31 .record-fields b,.user-theme-windows31 .netchat-userlabel,.user-theme-windows31 .qr-kicker,.user-theme-windows31 .calc-kicker,.user-theme-windows31 .code-guide-section-title{color:var(--w31-blue)!important}
.user-theme-windows31 .handbook-toolbar,.user-theme-windows31 .handbook-index,.user-theme-windows31 .handbook-content,.user-theme-windows31 .handbook-entry{background:var(--w31-gray)!important;color:#000!important;border-color:var(--w31-dark)!important}.user-theme-windows31 .handbook-index-title,.user-theme-windows31 .handbook-section h2{background:var(--w31-blue)!important;color:#fff!important}.user-theme-windows31 .handbook-entry-head strong,.user-theme-windows31 .handbook-entry p,.user-theme-windows31 .handbook-toolbar strong,.user-theme-windows31 .handbook-toolbar span,.user-theme-windows31 .handbook-toolbar label{color:#000!important}.user-theme-windows31 .handbook-index button{color:#000!important}.user-theme-windows31 .handbook-index button:hover{background:var(--w31-blue)!important;color:#fff!important}

@media(max-width:980px){
  body.os-body .desktop-icons{position:relative!important;left:auto!important;top:auto!important;width:auto!important;flex-direction:row!important;flex-wrap:wrap!important;margin:6px 0 10px!important}
  body.os-body .desktop-icon{width:82px!important}
}
/* Maximieren bleibt Teil des scrollenden Desktops, nicht des Browser-Viewports. */
body.os-body .window-maximized{position:absolute!important;left:0!important;right:auto!important;top:34px!important;bottom:auto!important;width:calc(100% - 8px)!important;height:calc(100vh - 112px)!important;max-width:none!important;max-height:none!important;margin:0!important;z-index:2147479000!important}
body.os-body.user-theme-norton .window-maximized{height:calc(100vh - 132px)!important}
@media(max-width:640px){body.os-body .window-maximized{top:68px!important;height:calc(100vh - 142px)!important}}

.win95.win-managed:not(.window-active)>.win-title{filter:saturate(.72) brightness(.9)}
.win95.window-active{outline:1px solid rgba(255,255,255,.14);outline-offset:-1px}
.win95.window-active>.win-title{filter:none!important}
.os-menu-root:focus-visible,.os-menu-entry:focus-visible,.desktop-icon:focus-visible,.os-btn:focus-visible,.win-btn:focus-visible,.task-tab:focus-visible{outline:2px dotted currentColor!important;outline-offset:2px!important}
.user-theme-norton .win95:not(.window-active)>.win-title{background:#005f72!important;color:#d9ffff!important}
.user-theme-norton .win95.window-active>.win-title{background:var(--nc-cyan)!important;color:var(--nc-black)!important}
.user-theme-norton .win95.window-active{box-shadow:5px 5px 0 var(--nc-dark)!important}
.user-theme-norton .os-brand::after{content:" · NC 5";color:var(--nc-yellow)!important;font-weight:700!important}
.user-theme-windows31 .win95:not(.window-active)>.win-title{background:#808080!important;color:#e8e8e8!important}
.user-theme-windows31 .win95.window-active>.win-title{background:var(--w31-blue)!important;color:#fff!important}
.user-theme-windows31 .win95.window-active{box-shadow:inset -1px -1px 0 var(--w31-dark),3px 3px 0 rgba(0,0,0,.45)!important}
.user-theme-windows31 .os-brand::after{content:" · Program Manager";color:#000!important;font-weight:400!important}
.user-theme-windows31 .os-menu-root:focus-visible,.user-theme-windows31 .os-menu-entry:focus-visible,.user-theme-windows31 .os-btn:focus-visible,.user-theme-windows31 .task-tab:focus-visible{outline:1px dotted #000!important;outline-offset:-3px!important}
.user-theme-windows31 .desktop-icon:focus-visible{outline:1px dotted #fff!important;outline-offset:-2px!important}
.user-theme-windows31 .win-btn:focus-visible{outline:1px dotted #000!important;outline-offset:-2px!important}

body.os-body.user-theme-norton .win95{background:var(--nc-panel)!important;color:var(--nc-white)!important;border:1px solid var(--nc-cyan)!important;box-shadow:4px 4px 0 var(--nc-dark)!important}
body.os-body.user-theme-norton .win-title,body.os-body.user-theme-norton .win-title.black{background:var(--nc-cyan)!important;color:var(--nc-black)!important;border-bottom:1px solid var(--nc-cyan)!important;text-shadow:none!important}
body.os-body.user-theme-norton .win-title.red{background:#aa0000!important;color:#fff!important;border-bottom-color:#ff7777!important}
body.os-body.user-theme-norton .win95:not(.window-active)>.win-title{background:#005f72!important;color:#d9ffff!important}
body.os-body.user-theme-norton .win95.window-active>.win-title{background:var(--nc-cyan)!important;color:var(--nc-black)!important}
body.os-body.user-theme-norton .win-btn{background:var(--nc-grey)!important;color:#000!important;border:1px solid #fff!important;border-right-color:#444!important;border-bottom-color:#444!important;box-shadow:none!important}
body.os-body.user-theme-norton .win-body,body.os-body.user-theme-norton .prae-content,body.os-body.user-theme-norton .prae-sidebar,body.os-body.user-theme-norton .table-frame,body.os-body.user-theme-norton .info-frame,body.os-body.user-theme-norton .empty-note{background:var(--nc-panel)!important;color:var(--nc-white)!important;border-color:var(--nc-cyan)!important}
body.os-body.user-theme-norton .prae-sidebar{border-right:1px solid var(--nc-cyan)!important}
body.os-body.user-theme-norton .nav-tile{background:var(--nc-panel)!important;color:var(--nc-white)!important;border:1px solid var(--nc-cyan)!important}
body.os-body.user-theme-norton .nav-tile.active,body.os-body.user-theme-norton .nav-tile:hover{background:var(--nc-cyan)!important;color:var(--nc-black)!important;border-color:var(--nc-yellow)!important}
body.os-body.user-theme-norton .hero-banner{background:var(--nc-panel)!important;color:var(--nc-white)!important;border:1px solid var(--nc-cyan)!important}
body.os-body.user-theme-norton .hero-center h1,body.os-body.user-theme-norton .hero-center .subline,body.os-body.user-theme-norton .hero-left,body.os-body.user-theme-norton .hero-right{color:var(--nc-yellow)!important;text-shadow:none!important}
body.os-body.user-theme-norton .portal-item{background:var(--nc-panel)!important;color:var(--nc-white)!important;border:1px solid var(--nc-cyan)!important;box-shadow:none!important}
body.os-body.user-theme-norton .portal-item:hover{background:var(--nc-cyan)!important;color:var(--nc-black)!important}
body.os-body.user-theme-norton .portal-kind,body.os-body.user-theme-norton .portal-file-meta,body.os-body.user-theme-norton .os-small{color:var(--nc-yellow)!important}
body.os-body.user-theme-norton .os-msg{background:var(--nc-panel2)!important;color:var(--nc-white)!important;border:1px solid var(--nc-cyan)!important;box-shadow:none!important}
body.os-body.user-theme-norton .os-msg.error{background:#770000!important;color:#fff!important;border-color:#ff7777!important}
body.os-body.user-theme-norton .os-msg.warn{background:#5b4b00!important;color:#fff!important;border-color:var(--nc-yellow)!important}
body.os-body.user-theme-norton .os-input,body.os-body.user-theme-norton .os-textarea{background:#000!important;color:#fff!important;border:1px solid var(--nc-cyan)!important;box-shadow:none!important}
body.os-body.user-theme-norton .os-btn{background:var(--nc-grey)!important;color:#000!important;border:1px solid #fff!important;border-right-color:#444!important;border-bottom-color:#444!important;box-shadow:none!important}
body.os-body.user-theme-norton .os-table th{background:var(--nc-cyan)!important;color:#000!important;border-color:var(--nc-dark)!important}
body.os-body.user-theme-norton .os-table td{background:var(--nc-panel)!important;color:#fff!important;border-color:var(--nc-cyan)!important}
body.os-body.user-theme-norton .os-table tr.selected td{background:var(--nc-select)!important;color:#000!important}
body.os-body.user-theme-norton .access-user-checks,body.os-body.user-theme-norton .admin-user-checks,body.os-body.user-theme-norton .check-group{background:var(--nc-panel2)!important;color:#fff!important;border-color:var(--nc-cyan)!important}
body.os-body.user-theme-norton .access-user-checks label,body.os-body.user-theme-norton .admin-user-checks label,body.os-body.user-theme-norton .check-group label{color:#fff!important}
body.os-body.user-theme-norton .gate-chat-window .chat-body,body.os-body.user-theme-norton .chat-message-list,body.os-body.user-theme-norton .chat-compose{background:var(--nc-panel)!important;color:#fff!important;border-color:var(--nc-cyan)!important}
body.os-body.user-theme-norton .chat-input{background:#000!important;color:#fff!important;border:1px solid var(--nc-cyan)!important}
body.os-body.user-theme-norton .chat-input::placeholder{color:#aaffff!important;opacity:1!important}
body.os-body.user-theme-norton .status-item,body.os-body.user-theme-norton .status-strip{background:var(--nc-panel)!important;color:#fff!important;border-color:var(--nc-cyan)!important}
body.os-body.user-theme-norton .status-item .label,body.os-body.user-theme-norton .chat-meta{color:var(--nc-yellow)!important}
body.os-body.user-theme-norton .alert-content{background:#770000!important;color:#fff!important}
body.os-body.user-theme-norton .os-taskbar{background:var(--nc-panel)!important;color:var(--nc-yellow)!important;border-top:1px solid var(--nc-cyan)!important}
body.os-body.user-theme-norton .real-status span,body.os-body.user-theme-norton .task-clock{background:var(--nc-panel)!important;color:var(--nc-yellow)!important;border:1px solid var(--nc-cyan)!important}
body.os-body.user-theme-norton .footer-note{color:var(--nc-yellow)!important;text-shadow:none!important}
body.os-body.user-theme-norton .link-inline{color:var(--nc-cyan)!important}

body.os-body.user-theme-windows31 .win95{background:var(--w31-gray)!important;color:#000!important;border:2px solid #fff!important;border-right-color:#000!important;border-bottom-color:#000!important;box-shadow:inset -1px -1px 0 var(--w31-dark),2px 2px 0 rgba(0,0,0,.35)!important}
body.os-body.user-theme-windows31 .win-title,body.os-body.user-theme-windows31 .win-title.black{background:var(--w31-blue)!important;color:#fff!important;border:0!important;text-shadow:none!important}
body.os-body.user-theme-windows31 .win-title.red{background:var(--w31-red)!important;color:#fff!important}
body.os-body.user-theme-windows31 .win95:not(.window-active)>.win-title{background:#808080!important;color:#f0f0f0!important}
body.os-body.user-theme-windows31 .win95.window-active>.win-title{background:var(--w31-blue)!important;color:#fff!important}
body.os-body.user-theme-windows31 .win-btn{background:var(--w31-gray)!important;color:#000!important;border:1px solid #fff!important;border-right-color:#000!important;border-bottom-color:#000!important;box-shadow:none!important}
body.os-body.user-theme-windows31 .win-body,body.os-body.user-theme-windows31 .prae-content,body.os-body.user-theme-windows31 .prae-sidebar,body.os-body.user-theme-windows31 .table-frame,body.os-body.user-theme-windows31 .info-frame,body.os-body.user-theme-windows31 .empty-note{background:var(--w31-gray)!important;color:#000!important;border-color:var(--w31-dark)!important}
body.os-body.user-theme-windows31 .prae-sidebar{border-right:2px groove #fff!important}
body.os-body.user-theme-windows31 .nav-tile{background:var(--w31-gray)!important;color:#000!important;border:2px solid #fff!important;border-right-color:var(--w31-dark)!important;border-bottom-color:var(--w31-dark)!important}
body.os-body.user-theme-windows31 .nav-tile.active,body.os-body.user-theme-windows31 .nav-tile:hover{background:var(--w31-blue)!important;color:#fff!important;border-color:var(--w31-blue)!important}
body.os-body.user-theme-windows31 .hero-banner{background:var(--w31-gray)!important;color:#000!important;border-bottom:2px solid var(--w31-dark)!important}
body.os-body.user-theme-windows31 .hero-center h1{color:var(--w31-blue)!important;text-shadow:none!important}
body.os-body.user-theme-windows31 .hero-center .subline,body.os-body.user-theme-windows31 .hero-left,body.os-body.user-theme-windows31 .hero-right{color:#202020!important;text-shadow:none!important}
body.os-body.user-theme-windows31 .portal-item{background:var(--w31-gray)!important;color:#000!important;border:2px solid #fff!important;border-right-color:var(--w31-dark)!important;border-bottom-color:var(--w31-dark)!important;box-shadow:none!important}
body.os-body.user-theme-windows31 .portal-item:hover{background:#fff!important;color:#000!important}
body.os-body.user-theme-windows31 .portal-kind,body.os-body.user-theme-windows31 .portal-file-meta,body.os-body.user-theme-windows31 .os-small{color:#404040!important}
body.os-body.user-theme-windows31 .os-msg{background:var(--w31-gray)!important;color:#000!important;border:2px solid #fff!important;border-right-color:var(--w31-dark)!important;border-bottom-color:var(--w31-dark)!important;box-shadow:none!important}
body.os-body.user-theme-windows31 .os-msg.error{background:#fff!important;color:#800000!important;border-color:#800000!important}
body.os-body.user-theme-windows31 .os-msg.warn{background:#ffffcc!important;color:#000!important}
body.os-body.user-theme-windows31 .os-input,body.os-body.user-theme-windows31 .os-textarea{background:#fff!important;color:#000!important;border:2px inset var(--w31-gray)!important;box-shadow:none!important}
body.os-body.user-theme-windows31 .os-btn{background:var(--w31-gray)!important;color:#000!important;border:2px solid #fff!important;border-right-color:var(--w31-dark)!important;border-bottom-color:var(--w31-dark)!important;box-shadow:none!important}
body.os-body.user-theme-windows31 .os-table th{background:var(--w31-gray)!important;color:#000!important;border-color:var(--w31-dark)!important}
body.os-body.user-theme-windows31 .os-table td{background:#fff!important;color:#000!important;border-color:var(--w31-dark)!important}
body.os-body.user-theme-windows31 .os-table tr.selected td{background:var(--w31-blue)!important;color:#fff!important}
body.os-body.user-theme-windows31 .access-user-checks,body.os-body.user-theme-windows31 .admin-user-checks,body.os-body.user-theme-windows31 .check-group{background:#fff!important;color:#000!important;border:2px inset var(--w31-gray)!important}
body.os-body.user-theme-windows31 .access-user-checks label,body.os-body.user-theme-windows31 .admin-user-checks label,body.os-body.user-theme-windows31 .check-group label{color:#000!important}
body.os-body.user-theme-windows31 .gate-chat-window .chat-body,body.os-body.user-theme-windows31 .chat-message-list,body.os-body.user-theme-windows31 .chat-compose{background:var(--w31-gray)!important;color:#000!important;border-color:var(--w31-dark)!important}
body.os-body.user-theme-windows31 .chat-input{background:#fff!important;color:#000!important;border:2px inset var(--w31-gray)!important}
body.os-body.user-theme-windows31 .status-item,body.os-body.user-theme-windows31 .status-strip{background:var(--w31-gray)!important;color:#000!important;border-color:var(--w31-dark)!important}
body.os-body.user-theme-windows31 .status-item .label,body.os-body.user-theme-windows31 .chat-meta{color:#000080!important}
body.os-body.user-theme-windows31 .alert-content{background:var(--w31-gray)!important;color:#000!important}
body.os-body.user-theme-windows31 .os-taskbar{background:var(--w31-gray)!important;color:#000!important;border-top:2px solid #fff!important}
body.os-body.user-theme-windows31 .real-status span,body.os-body.user-theme-windows31 .task-clock{background:var(--w31-gray)!important;color:#000!important;border:1px inset #fff!important}
body.os-body.user-theme-windows31 .footer-note{color:#fff!important;text-shadow:1px 1px 0 #000!important}
body.os-body.user-theme-windows31 .link-inline{color:var(--w31-blue)!important}



body.os-body .os-shell{
  display:flex!important;
  flex-direction:column!important;
  min-height:100vh!important;
  height:auto!important;
  padding-bottom:0!important;
  overflow:visible!important;
}
body.os-body .desktop{
  position:relative!important;
  flex:0 0 auto!important;
  overflow:visible!important;
  background-attachment:scroll!important;
}
body.os-body .footer-note{
  position:relative!important;
  inset:auto!important;
  left:auto!important;
  right:auto!important;
  top:auto!important;
  bottom:auto!important;
  z-index:2147478500!important;
  display:flex!important;
  flex:0 0 30px!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  width:100%!important;
  min-width:0!important;
  height:30px!important;
  max-width:none!important;
  margin:0!important;
  padding:0 12px!important;
  box-sizing:border-box!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-align:right!important;
  line-height:30px!important;
  opacity:1!important;
  visibility:visible!important;
  text-transform:uppercase!important;
  letter-spacing:.11em!important;
  font-size:12px!important;
  background:rgba(7,21,42,.96)!important;
  color:#dce8f6!important;
  border-top:1px solid rgba(210,228,247,.32)!important;
  border-bottom:1px solid rgba(0,0,0,.45)!important;
  text-shadow:1px 1px 0 rgba(0,0,0,.55)!important;
}
body.os-body .footer-note .footer-text{
  display:block!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:inherit!important;
}
body.os-body .footer-note .pi{
  display:inline-block!important;
  flex:0 0 auto!important;
  margin:0!important;
  padding:0!important;
  font-family:Georgia,serif!important;
  font-size:22px!important;
  line-height:1!important;
  vertical-align:middle!important;
  color:inherit!important;
}
body.os-body .os-taskbar{
  position:relative!important;
  inset:auto!important;
  left:auto!important;
  right:auto!important;
  top:auto!important;
  bottom:auto!important;
  z-index:2147478600!important;
  display:flex!important;
  flex:0 0 34px!important;
  width:100%!important;
  min-width:0!important;
  height:34px!important;
  margin:0!important;
  box-sizing:border-box!important;
  flex-wrap:nowrap!important;
  white-space:nowrap!important;
  overflow:hidden!important;
}
body.os-body .os-taskbar .real-status{
  display:flex!important;
  flex:1 1 auto!important;
  min-width:0!important;
  max-width:none!important;
  flex-wrap:nowrap!important;
  white-space:nowrap!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scrollbar-width:thin!important;
}
body.os-body .os-taskbar .real-status span,
body.os-body .os-taskbar .task-clock,
body.os-body .os-taskbar .task-tab{
  flex:0 0 auto!important;
  white-space:nowrap!important;
}


/* Theme-spezifische Footerflächen: sichtbar, einzeilig und kontrastreich. */
body.os-body.user-theme-norton .footer-note{
  background:var(--nc-panel)!important;
  color:var(--nc-yellow)!important;
  border-top:1px solid var(--nc-cyan)!important;
  border-bottom:1px solid var(--nc-cyan)!important;
  text-shadow:none!important;
  font-family:"Courier New",Consolas,monospace!important;
}
body.os-body.user-theme-windows31 .footer-note{
  background:var(--w31-gray)!important;
  color:#000!important;
  border-top:2px solid #fff!important;
  border-bottom:1px solid var(--w31-dark)!important;
  text-shadow:none!important;
  font-family:Arial,"MS Sans Serif",sans-serif!important;
  letter-spacing:.04em!important;
}

body.os-body.user-theme-windows31 .os-taskbar{height:32px!important;flex-basis:32px!important}
body.os-body.user-theme-norton .os-taskbar{height:36px!important;flex-basis:36px!important}

@media(max-width:980px){
  body.os-body .footer-note{display:flex!important;height:28px!important;flex-basis:28px!important;font-size:10px!important;letter-spacing:.06em!important;padding:0 8px!important;opacity:1!important}
  body.os-body .footer-note .pi{font-size:18px!important}
}
@media(max-width:560px){
  body.os-body .footer-note{display:flex!important;height:26px!important;flex-basis:26px!important;font-size:9px!important;letter-spacing:.02em!important;padding:0 6px!important}
  body.os-body .footer-note .pi{font-size:16px!important}
}

html,body.os-body{min-height:100%!important;overflow-x:hidden!important;overflow-y:auto!important}
body.os-body .os-shell{position:relative!important;min-height:100vh!important;height:auto!important;padding-bottom:72px!important;overflow:visible!important}
body.os-body .desktop{position:relative!important;overflow:visible!important;padding-bottom:4px!important}
body.os-body .footer-note{
  position:fixed!important;
  left:0!important;right:0!important;top:auto!important;bottom:34px!important;
  z-index:2147481000!important;
  display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;
  width:100vw!important;height:30px!important;min-height:30px!important;max-width:none!important;
  margin:0!important;padding:0 12px!important;box-sizing:border-box!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
  visibility:visible!important;opacity:1!important;
  background:#0b1b31!important;color:#e8f2ff!important;
  border-top:1px solid #8399b2!important;border-bottom:1px solid #02070f!important;
  box-shadow:0 -1px 0 rgba(255,255,255,.10)!important;
  text-align:right!important;text-transform:uppercase!important;letter-spacing:.09em!important;
  font:700 11px/30px Tahoma,Verdana,Arial,sans-serif!important;text-shadow:1px 1px 0 #000!important;
}
body.os-body .footer-note .footer-text{display:block!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:inherit!important}
body.os-body .footer-note .pi{display:inline-block!important;flex:0 0 auto!important;margin:0!important;color:inherit!important;font:700 21px/1 Georgia,serif!important}
body.os-body .os-taskbar{
  position:fixed!important;
  left:0!important;right:0!important;top:auto!important;bottom:0!important;
  z-index:2147481100!important;
  display:flex!important;width:100vw!important;height:34px!important;min-height:34px!important;
  margin:0!important;box-sizing:border-box!important;overflow:hidden!important;white-space:nowrap!important;flex-wrap:nowrap!important;
}
body.os-body .os-taskbar .real-status{display:flex!important;flex:1 1 auto!important;min-width:0!important;max-width:none!important;overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important;flex-wrap:nowrap!important}
body.os-body .os-taskbar .real-status span,body.os-body .os-taskbar .task-clock,body.os-body .os-taskbar .task-tab{flex:0 0 auto!important;white-space:nowrap!important}

body.os-body.user-theme-norton .footer-note{bottom:36px!important;background:var(--nc-panel)!important;color:var(--nc-yellow)!important;border-color:var(--nc-cyan)!important;text-shadow:none!important;font-family:"Courier New",Consolas,monospace!important}
body.os-body.user-theme-norton .os-taskbar{height:36px!important;min-height:36px!important}
body.os-body.user-theme-windows31 .footer-note{bottom:32px!important;background:var(--w31-gray)!important;color:#000!important;border-top:2px solid #fff!important;border-bottom:1px solid var(--w31-dark)!important;text-shadow:none!important;font-family:Arial,"MS Sans Serif",sans-serif!important;letter-spacing:.03em!important}
body.os-body.user-theme-windows31 .footer-note .pi{color:var(--w31-blue)!important}
body.os-body.user-theme-windows31 .os-taskbar{height:32px!important;min-height:32px!important}
/* Alle normalen Fenster bleiben unter der permanenten Footer-/Taskbar-Ebene. */
body.os-body .win95.win-managed{max-width:calc(100vw - 4px)!important}
#praetorianSecurityAlert{z-index:2147480000!important}
@media(max-width:980px){body.os-body .os-shell{padding-bottom:68px!important}body.os-body .footer-note{height:28px!important;min-height:28px!important;font-size:10px!important;line-height:28px!important;padding:0 8px!important;letter-spacing:.05em!important}}
@media(max-width:560px){body.os-body .footer-note{font-size:9px!important;letter-spacing:.01em!important;padding:0 5px!important}.footer-note .pi{font-size:16px!important}}

@media(max-width:900px){
  body.os-body .praetorian-control-window,body.os-body .gate-main-window{min-height:280px!important}
  body.os-body .netchat-window,body.os-body .gate-chat-window,body.os-body .extra-gate-window{min-height:180px!important}
}

html,body.os-body{
  width:100%!important;
  height:100%!important;
  min-height:100%!important;
  margin:0!important;
  overflow:hidden!important;
}
body.os-body{
  --topbar-h:34px;
  --footer-h:30px;
  --taskbar-h:34px;
  --icon-col-w:132px;
  --desktop-pad:10px;
}
body.os-body.user-theme-norton{--topbar-h:31px;--footer-h:30px;--taskbar-h:36px}
body.os-body.user-theme-windows31{--topbar-h:32px;--footer-h:30px;--taskbar-h:32px}
body.os-body .os-shell{
  display:grid!important;
  grid-template-rows:minmax(0,1fr) var(--footer-h) var(--taskbar-h)!important;
  width:100%!important;
  height:100vh!important;
  min-height:100vh!important;
  overflow:hidden!important;
  position:relative!important;
  padding:0!important;
}
body.os-body .desktop{
  position:relative!important;
  min-height:0!important;
  overflow:auto!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  padding:0 0 10px 0!important;
  background-attachment:scroll!important;
  box-sizing:border-box!important;
  scrollbar-gutter:stable both-edges;
}
body.os-body .desktop::after{content:"";display:block;height:12px}
body.os-body .os-topbar{
  position:sticky!important;
  top:0!important;
  left:0!important;
  right:0!important;
  z-index:2147470000!important;
  margin:0 0 10px 0!important;
  min-height:var(--topbar-h)!important;
  height:var(--topbar-h)!important;
  box-sizing:border-box!important;
  flex-wrap:nowrap!important;
  white-space:nowrap!important;
  overflow:hidden!important;
}
body.os-body .os-top-left,
body.os-body .os-top-right{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  min-width:0!important;
  flex-wrap:nowrap!important;
  overflow:hidden!important;
}
body.os-body .os-top-left{flex:1 1 auto!important}
body.os-body .os-top-right{flex:0 1 auto!important;justify-content:flex-end!important;max-width:46%}
body.os-body .os-topbar span,
body.os-body .os-topbar a,
body.os-body .os-brand,
body.os-body .os-top-right span{white-space:nowrap!important;text-overflow:ellipsis!important;overflow:hidden!important}
body.os-body .os-menu{display:flex!important;align-items:center!important;gap:2px!important;flex:0 1 auto!important;min-width:0!important;overflow:hidden!important;white-space:nowrap!important}
body.os-body .os-menu-root{white-space:nowrap!important}
body.os-body .desktop-icons{
  position:absolute!important;
  left:10px!important;
  top:calc(var(--topbar-h) + 12px)!important;
  width:116px!important;
  max-width:116px!important;
  display:flex!important;
  flex-direction:column!important;
  gap:8px!important;
  z-index:60!important;
}
body.os-body .desktop-icon{width:100%!important;box-sizing:border-box!important}
body.os-body .os-stage{
  position:relative!important;
  display:block!important;
  margin:0 8px 0 var(--icon-col-w)!important;
  min-height:calc(100% - var(--topbar-h) - 12px)!important;
  overflow:visible!important;
  padding:0 0 12px 0!important;
  box-sizing:border-box!important;
}
body.os-body .gate-layout,
body.os-body .prae-main,
body.os-body .win-body,
body.os-body .prae-content,
body.os-body .inner-pad,
body.os-body .table-frame,
body.os-body .info-frame{min-width:0!important;max-width:100%!important}
body.os-body .footer-note,
body.os-body .os-taskbar{
  position:relative!important;
  left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;inset:auto!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  z-index:2147470500!important;
}
body.os-body .footer-note{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  height:var(--footer-h)!important;
  min-height:var(--footer-h)!important;
  margin:0!important;
  padding:0 12px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  line-height:var(--footer-h)!important;
}
body.os-body .footer-note .footer-text,
body.os-body .footer-note .pi{white-space:nowrap!important;flex:0 1 auto!important;overflow:hidden!important;text-overflow:ellipsis!important}
body.os-body .footer-note .pi{flex:0 0 auto!important}
body.os-body .os-taskbar{
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  height:var(--taskbar-h)!important;
  min-height:var(--taskbar-h)!important;
  margin:0!important;
  overflow:hidden!important;
  white-space:nowrap!important;
}
body.os-body .os-taskbar .real-status{display:flex!important;align-items:center!important;gap:0!important;flex:1 1 auto!important;min-width:0!important;overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important;scrollbar-width:thin!important}
body.os-body .os-taskbar .real-status span,
body.os-body .os-taskbar .task-tab,
body.os-body .os-taskbar .task-clock{white-space:nowrap!important;flex:0 0 auto!important}
body.os-body .os-taskbar .task-clock{margin-left:auto!important}
body.os-body .task-strip{display:flex!important;align-items:center!important;gap:4px!important;flex:0 1 auto!important;min-width:0!important;overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important}
body.os-body .win95.win-managed{
  max-width:calc(100% - 4px)!important;
  max-height:none!important;
  z-index:5000!important;
}
body.os-body .win95.window-active{z-index:6000!important}
body.os-body .win95 .win-title,
body.os-body .win95 .win-controls,
body.os-body .win95 .win-title-text{user-select:none!important}
body.os-body .win95.window-opening{animation:mklWindowOpen .2s cubic-bezier(.18,.7,.2,1) both}
body.os-body .win95.window-closing{animation:mklWindowClose .16s ease both}
@keyframes mklWindowOpen{from{opacity:.3;transform:translateY(14px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes mklWindowClose{from{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.985)}}
@media (max-width:980px){
  body.os-body{--icon-col-w:0px}
  body.os-body .desktop-icons{position:relative!important;left:auto!important;top:auto!important;width:auto!important;max-width:none!important;flex-direction:row!important;flex-wrap:wrap!important;margin:0 8px 10px!important}
  body.os-body .desktop-icon{width:86px!important}
  body.os-body .os-stage{margin:0 8px!important;min-height:auto!important}
  body.os-body .os-topbar{height:var(--topbar-h)!important;min-height:var(--topbar-h)!important}
}
@media (max-width:720px){
  body.os-body .os-topbar{padding-left:6px!important;padding-right:6px!important}
  body.os-body .os-top-left,body.os-body .os-top-right{gap:6px!important}
  body.os-body .os-top-right{max-width:40%}
  body.os-body .footer-note{padding:0 8px!important;font-size:10px!important;letter-spacing:.04em!important}
}


.netchat-window{position:fixed!important;z-index:820!important;width:min(760px,calc(100vw - 24px));height:min(560px,calc(100dvh - 84px));top:44px!important;left:clamp(8px,12vw,130px)!important}
.netchat-window>.win-body{height:calc(100% - 28px);padding:0!important;background:#d0a8c5!important;overflow:hidden!important}
.netchat-body,.netchat-stage{height:100%}
.netchat-stage{display:flex;flex-direction:column;background:#d9a8c3!important;font:13px/1.35 Verdana,Arial,sans-serif;color:#f2dc67!important}
.netchat-header-strip{padding:4px 10px!important;background:#001746!important;color:#96d2d7!important;font:700 12px/1 "Courier New",monospace!important;letter-spacing:.08em!important;border-bottom:3px solid #19469e!important}
.netchat-toolbar{display:grid!important;grid-template-columns:minmax(160px,190px) 1fr!important;gap:10px!important;align-items:center!important;background:linear-gradient(180deg,#b76765 0%,#aa5d63 100%)!important;padding:7px 9px 6px!important;border-top:1px solid #e0a6bd!important;border-bottom:3px solid #9c6aa1!important;min-height:48px!important}
.netchat-logo-wrap{display:flex!important;align-items:flex-end!important;gap:8px!important;flex-wrap:wrap!important}
.netchat-logo{font:700 25px/1 Georgia,"Times New Roman",serif!important;color:#78e8f4!important;text-shadow:2px 2px 0 #193b78,-1px -1px 0 #2a1636,0 0 1px #fff!important;letter-spacing:-.04em!important}
.netchat-logo-live{font:700 12px/1 Arial,sans-serif!important;color:#fff5a0!important;letter-spacing:.06em!important;background:none!important;padding:0!important;border-radius:0!important}
.netchat-presence{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;min-width:0!important}
.netchat-presence-label{font:700 11px/1 "Courier New",monospace!important;color:#fff6b5!important;white-space:nowrap!important}
.netchat-roster{display:flex!important;align-items:center!important;gap:6px!important;min-height:34px!important;min-width:0!important;overflow:hidden!important;flex-wrap:nowrap!important}
.netchat-roster-empty{font:700 11px/1 "Courier New",monospace!important;color:#f8f0bf!important;opacity:.85!important}
.netchat-online{width:32px!important;height:32px!important;padding:1px!important;background:#dda9bc!important;border:2px solid #4d4968!important;box-shadow:1px 1px 0 rgba(0,0,0,.55)!important;border-radius:0!important;display:block!important}
.netchat-online.active{outline:2px solid #fff0a1!important}
.netchat-online img{width:100%!important;height:100%!important;display:block!important;image-rendering:auto!important;object-fit:cover!important}
.netchat-frame{flex:1!important;display:flex!important;min-height:0!important;padding:9px 10px 8px!important;background:#d9a8c3!important}
.netchat-messages{flex:1!important;overflow:auto!important;background:#12398c!important;border:3px solid #caa2ce!important;box-shadow:inset 0 0 0 2px #5367b5!important;padding:6px 8px 8px!important;color:#e9c55d!important}
.netchat-empty{color:#fff1a6!important;font:700 13px/1.4 "Courier New",monospace!important;opacity:.95!important}
.netchat-row{display:grid!important;grid-template-columns:156px 1fr!important;gap:8px!important;align-items:stretch!important;margin-bottom:2px!important;min-height:46px!important}
.netchat-usercell{display:grid!important;grid-template-columns:minmax(0,1fr) 42px!important;align-items:center!important;background:#e8d8ec!important;border-right:1px solid #75648d!important;padding:2px 4px 2px 6px!important;min-height:46px!important}
.netchat-userlabel{font:700 15px/1.05 Georgia,"Times New Roman",serif!important;color:#18214a!important;background:transparent!important;padding:0 4px 0 0!important;box-sizing:border-box!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important;text-align:right!important;text-shadow:1px 1px 0 rgba(255,255,255,.55)!important;display:block!important;max-height:none!important}
.netchat-avatarbox{background:transparent!important;width:42px!important;padding:0!important;box-sizing:border-box!important;display:flex!important;justify-content:center!important;align-items:center!important}
.netchat-avatarbox img{width:36px!important;height:36px!important;display:block!important;image-rendering:auto!important;background:#fff!important;border:1px solid #4c4c56!important;box-shadow:1px 1px 0 rgba(0,0,0,.28)!important;object-fit:cover!important}
.netchat-bubble{position:relative!important;min-width:0!important;padding:5px 8px 4px 0!important;display:flex!important;gap:8px!important;align-items:flex-start!important;background:transparent!important;border:none!important;box-shadow:none!important}
.netchat-text{white-space:normal!important;word-break:break-word!important;overflow-wrap:anywhere!important;font:700 17px/1.26 Georgia,"Times New Roman",serif!important;letter-spacing:.01em!important;color:#e4c45b!important;text-shadow:1px 1px 0 rgba(0,0,0,.52)!important;flex:1!important}
.netchat-row.mine .netchat-text{color:#e4c45b!important}
.netchat-time{display:none!important}
.netchat-compose{display:grid!important;grid-template-columns:1fr 76px!important;gap:7px!important;padding:9px 10px 8px!important;background:#d9a8c3!important;border-top:1px solid rgba(255,255,255,.36)!important}
.netchat-input{resize:none!important;border:2px solid #8f6ba1!important;background:#f3eef1!important;padding:8px 10px!important;font:15px/1.28 Georgia,"Times New Roman",serif!important;color:#292446!important;outline:none!important;box-shadow:inset 1px 1px 0 #fff!important;height:51px!important;border-radius:0!important}
.netchat-send{border:2px solid #62826a!important;border-radius:50%!important;width:62px!important;height:48px!important;align-self:center!important;justify-self:center!important;background:radial-gradient(circle at 32% 28%,#a4f297 0%,#64c86d 58%,#397e49 100%)!important;color:#12391f!important;font:700 14px/1 Georgia,"Times New Roman",serif!important;cursor:pointer!important;box-shadow:inset 0 0 0 2px rgba(255,255,255,.34),2px 2px 0 rgba(0,0,0,.35)!important}
.netchat-send:active{transform:translate(1px,1px)!important}
.netchat-footer{display:flex!important;justify-content:space-between!important;gap:8px!important;padding:3px 10px!important;background:#cf9db9!important;color:#4b325e!important;font:700 9px/1.1 "Courier New",monospace!important;border-top:1px solid rgba(255,255,255,.45)!important}
.netchat-window-admin{width:min(900px,calc(100vw - 24px))!important}
.netchat-window-admin .netchat-bubble{display:grid!important;grid-template-columns:minmax(0,1fr) 28px!important;gap:8px!important;align-items:start!important}
.netchat-window-admin .netchat-text{grid-column:1!important;min-width:0!important}
.netchat-delete{grid-column:2!important;grid-row:1!important;position:static!important;width:24px!important;height:24px!important;margin-top:0!important;padding:0!important;border:2px outset #f2b2b2!important;background:#b71919!important;color:#fff!important;font:700 18px/19px Arial,sans-serif!important;text-align:center!important;cursor:pointer!important;box-shadow:1px 1px 0 rgba(0,0,0,.35)!important}
.netchat-delete:hover{background:#df2525!important}
.netchat-delete:active{border-style:inset!important;transform:translate(1px,1px)!important}
.netchat-delete:disabled{opacity:.45!important;cursor:wait!important}
.user-theme-norton .netchat-window .win-title,
.user-theme-windows31 .netchat-window .win-title,
.user-theme-standard .netchat-window .win-title{color:inherit!important}
.user-theme-norton .netchat-window .win-body,
.user-theme-windows31 .netchat-window .win-body,
.user-theme-standard .netchat-window .win-body{background:#d0a8c5!important}
.user-theme-norton .netchat-stage,.user-theme-norton .netchat-frame,.user-theme-norton .netchat-messages,.user-theme-norton .netchat-compose,
.user-theme-windows31 .netchat-stage,.user-theme-windows31 .netchat-frame,.user-theme-windows31 .netchat-messages,.user-theme-windows31 .netchat-compose,
.user-theme-standard .netchat-stage,.user-theme-standard .netchat-frame,.user-theme-standard .netchat-messages,.user-theme-standard .netchat-compose{background:inherit}
.user-theme-norton .netchat-bubble,.user-theme-windows31 .netchat-bubble,.user-theme-standard .netchat-bubble{border:none!important;background:transparent!important}
.user-theme-norton .netchat-text,.user-theme-windows31 .netchat-text,.user-theme-standard .netchat-text{color:#e4c45b!important}
@media(max-width:720px){
  .netchat-window,.pizza-net-window{left:6px!important;top:42px!important;width:calc(100vw - 12px)!important;height:calc(100dvh - 84px)!important}
  .netchat-toolbar{grid-template-columns:1fr!important;align-items:flex-start!important}
  .netchat-presence{justify-content:flex-start!important;flex-wrap:wrap!important}
  .netchat-row{grid-template-columns:128px 1fr!important;gap:6px!important}
  .netchat-usercell{grid-template-columns:minmax(0,1fr) 36px!important;padding:2px!important}
  .netchat-userlabel{font-size:12px!important}
  .netchat-avatarbox{width:36px!important}.netchat-avatarbox img{width:32px!important;height:32px!important}
  .netchat-text{font-size:16px!important}.netchat-compose{grid-template-columns:1fr 70px!important}.netchat-send{width:62px!important;height:50px!important;font-size:14px!important}
  .netchat-window-admin{width:calc(100vw - 12px)!important}.netchat-window-admin .netchat-bubble{grid-template-columns:minmax(0,1fr) 24px!important;gap:5px!important}.netchat-delete{width:22px!important;height:22px!important;font-size:16px!important;line-height:17px!important}
}

body.os-body .win95.win-managed{
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  min-width:240px!important;
  min-height:140px!important;
  box-sizing:border-box!important;
}
body.os-body .win95.win-managed>.win-title{
  flex:0 0 auto!important;
  min-height:28px!important;
  position:relative!important;
  z-index:4!important;
}
body.os-body .win95.win-managed>.win-body,
body.os-body .win95.win-managed>.alert-content{
  flex:1 1 auto!important;
  min-height:0!important;
  max-height:none!important;
  height:auto!important;
  overflow-x:auto!important;
  overflow-y:auto!important;
  box-sizing:border-box!important;
  overscroll-behavior:contain!important;
  scrollbar-gutter:stable both-edges!important;
}

/* Gatekeeper / PRAETORIAN Hauptfenster: Titel bleibt stehen, Inhaltsbereich scrollt. */
body.os-body .gate-main-window>.win-body,
body.os-body .praetorian-control-window>.prae-main,
body.os-body .praetorian-control-window>.win-body{
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:auto!important;
  overscroll-behavior:contain!important;
}
body.os-body .praetorian-control-window{display:flex!important;flex-direction:column!important}
body.os-body .praetorian-control-window>.hero-banner{flex:0 0 auto!important}
body.os-body .praetorian-control-window>.prae-main{flex:1 1 auto!important;min-height:0!important}
body.os-body .praetorian-control-window .prae-content{min-height:0!important;overflow:auto!important}

/* Iframe-Apps: der Rahmen bleibt stehen, die App selbst scrollt innerhalb des iframes. */
body.os-body .gate-app-window>.win-body{
  overflow:hidden!important;
  padding:0!important;
  display:flex!important;
  min-height:0!important;
}
body.os-body .gate-app-frame{
  flex:1 1 auto!important;
  min-width:0!important;
  min-height:0!important;
  width:100%!important;
  height:100%!important;
  border:0!important;
  overflow:auto!important;
}
html:has(body.legacy-tool-body),
html:has(body.calc-tool-body),
html:has(body.qr-tool-body),
html:has(body.code-guide-body){
  min-height:100%!important;
  height:auto!important;
  overflow-y:auto!important;
  overflow-x:auto!important;
}
body.legacy-tool-body,
body.calc-tool-body,
body.qr-tool-body,
body.code-guide-body{
  min-height:100%!important;
  height:auto!important;
  overflow-y:auto!important;
  overflow-x:auto!important;
  overscroll-behavior:contain!important;
  scrollbar-gutter:stable!important;
}
body.calc-tool-body .calc-tool-shell,
body.qr-tool-body .qr-tool-panel,
body.code-guide-body .code-guide-shell,
body.legacy-tool-body .legacy-tool{
  min-height:max-content!important;
  height:auto!important;
  overflow:visible!important;
}

/* Rechner explizit: auch bei kleiner gezogener Fensterhöhe immer innerhalb der App scrollbar. */
body.calc-tool-body{overflow-y:auto!important}
body.calc-tool-body .calc-tool-shell.embedded{min-height:max-content!important}
body.os-body .gate-app-calculator>.win-body{overflow:hidden!important}
body.os-body .gate-app-calculator .gate-app-frame{overflow:auto!important}

/* QR / Codes / Trace / Records / Mozart / Secure Mail: eigener Dokumentfluss darf die iframe-Höhe übersteigen. */
body.qr-tool-body .qr-tool-panel.embedded{min-height:max-content!important}
body.code-guide-body .code-guide-shell{min-height:max-content!important}
body.trace-tool-body .trace-tool,
body.records-tool-body .records-tool,
body.mozart-tool-body .mozart-tool,
body.mail-tool-body .secure-mail-app{min-height:max-content!important;height:auto!important}
body.trace-tool-body,
body.records-tool-body,
body.mozart-tool-body,
body.mail-tool-body{overflow-y:auto!important}

/* Secure Mail: Listen können intern scrollen, die gesamte Mail-App bleibt bei geringer Höhe zusätzlich erreichbar. */
.secure-mail-app{min-height:100%!important;height:auto!important;overflow:visible!important}
.secure-mail-shell{min-height:420px!important;height:auto!important}
.secure-mail-list,.secure-mail-reader,.secure-mail-folders{overflow-y:auto!important;min-height:0!important}
.secure-mail-reader-body{overflow:auto!important;max-width:100%!important;overflow-wrap:anywhere!important}
.secure-mail-compose{max-height:calc(100% - 16px)!important;overflow-y:auto!important}

/* Gemeinsamer Chat: Fenster selbst bleibt stabil, Nachrichtenbereich ist die vertikale Scrollzone. */
body.os-body .netchat-window>.win-body{overflow:hidden!important;min-height:0!important}
.netchat-body,.netchat-stage{min-height:0!important;max-height:100%!important;overflow:hidden!important}
.netchat-stage{display:grid!important;grid-template-rows:auto auto minmax(0,1fr) auto auto!important}
.netchat-frame{min-height:0!important;overflow:hidden!important}
.netchat-messages{min-height:0!important;height:auto!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important}

/* Privatchat: Nachrichten scrollen, Eingabe und Status bleiben erreichbar. */
body.os-body .gate-chat-window>.chat-body,
body.os-body .admin-chat-window>.chat-body{
  display:grid!important;
  grid-template-rows:minmax(0,1fr) auto auto!important;
  min-height:0!important;
  overflow:hidden!important;
}
body.os-body .chat-message-list{min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important}

/* Handbuch: Navigation und Artikelbereich scrollen getrennt innerhalb des Fensters. */
body.os-body .os-handbook-window>.win-body{overflow:hidden!important;min-height:0!important}
.handbook-layout{min-height:0!important;max-height:100%!important}
.handbook-index,.handbook-content{min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important}

/* Shell: nur die Terminalausgabe scrollt, Prompt bleibt sichtbar. */
body.os-body .sim-shell-window>.win-body{overflow:hidden!important;min-height:0!important}
.sim-shell{height:100%!important;min-height:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
.sim-shell-output{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:auto!important}
.sim-shell-prompt{flex:0 0 auto!important}

/* Bank, BNDx und andere Zusatzfenster: kompletter Inhaltsbereich scrollbar. */
body.os-body .extra-gate-window>.win-body,
body.os-body .bank-camera-window>.win-body,
body.os-body .bndx-code-window>.win-body,
body.os-body .bndx-remote-window>.win-body{
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:auto!important;
  overscroll-behavior:contain!important;
}
.bank-camera-wrap,.bndx-remote-shell,.bndx-code{max-width:100%!important;box-sizing:border-box!important}

/* Pizza.Net: Browser-Chrome bleibt stehen, nur die Browserseite scrollt. */
body.os-body .pizza-net-window>.win-body{overflow:hidden!important;min-height:0!important}
.pizza-browser{height:100%!important;min-height:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
.pizza-browser-chrome,.pizza-browser-top{flex:0 0 auto!important}
.pizza-browser-body{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:auto!important;overscroll-behavior:contain!important}
.pizza-menu-film{overflow-y:auto!important;overflow-x:hidden!important;min-height:0!important}
.pizza-menu-film .pizza-order-panel{overflow-y:auto!important;overflow-x:hidden!important;min-height:0!important}

/* Warn- und Sicherheitsfenster: bei kleiner Höhe vollständig erreichbar. */
body.os-body .duplicate-pin-alert>.alert-content,
body.os-body .alert-window>.alert-content,
body.os-body #praetorianSecurityAlert>.alert-content{
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:auto!important;
}

/* Einheitliche Scrollbar-Kontraste pro Design. */
.user-theme-standard .win95,.user-theme-standard .gate-app-frame{scrollbar-color:#6f7890 #d7dde8!important}
.user-theme-norton .win95,.user-theme-norton .gate-app-frame,
.user-theme-norton body.legacy-tool-body,.user-theme-norton body.calc-tool-body,.user-theme-norton body.qr-tool-body,.user-theme-norton body.code-guide-body{scrollbar-color:var(--nc-cyan) var(--nc-panel)!important}
.user-theme-windows31 .win95,.user-theme-windows31 .gate-app-frame,
.user-theme-windows31 body.legacy-tool-body,.user-theme-windows31 body.calc-tool-body,.user-theme-windows31 body.qr-tool-body,.user-theme-windows31 body.code-guide-body{scrollbar-color:var(--w31-dark) var(--w31-gray)!important}

/* Kleine Fenster dürfen scrollen statt Inhalt abzuschneiden. */
@media(max-height:700px){
  body.os-body .win95.win-managed>.win-body,
  body.os-body .win95.win-managed>.alert-content{overflow-y:auto!important}
  body.os-body .gate-app-window{min-height:180px!important}
  .secure-mail-shell{min-height:360px!important}
}
body.os-body .bndx-remote-window>.win-body{overflow-y:auto!important;overflow-x:auto!important}
body.os-body .bndx-remote-window .bndx-remote-shell{height:auto!important;min-height:100%!important;overflow:visible!important}
body.os-body .bndx-code-window>.win-body{overflow:hidden!important}
body.os-body .bndx-code-window .bndx-code{height:100%!important;min-height:0!important;overflow:auto!important}

.gate-icon-workspace{display:none;position:relative;margin:12px 310px 28px 140px;padding:0;z-index:38;color:#e9eef8;min-width:0}
html[data-gate-view="icons"] .gate-icon-workspace{display:block}
html[data-gate-view="icons"] #gatekeeperMainWindow{display:none!important}
html[data-gate-view="standard"] .gate-icon-workspace{display:none!important}
.gate-icon-workspace-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 0 14px;padding:10px 12px;border-bottom:1px solid rgba(190,207,235,.4)}
.gate-icon-workspace-head>div{display:grid;gap:3px;min-width:0}.gate-icon-workspace-head strong{font:700 15px/1.1 Tahoma,Verdana,Arial,sans-serif;letter-spacing:.06em}.gate-icon-workspace-head span{font:11px/1.25 Tahoma,Verdana,Arial,sans-serif;opacity:.82}.gate-view-badge{flex:0 0 auto;padding:4px 8px;border:1px solid currentColor;font:700 9px/1 "Courier New",monospace!important;letter-spacing:.08em}
.gate-icon-category-grid{display:grid;gap:15px}.gate-icon-category{min-width:0}.gate-icon-category h2{display:flex;align-items:center;gap:8px;margin:0 0 7px;padding:4px 6px;border-bottom:1px solid rgba(190,207,235,.28);font:700 11px/1.15 Tahoma,Verdana,Arial,sans-serif;letter-spacing:.1em}.gate-icon-category h2 span{margin-left:auto;min-width:22px;text-align:center;font:700 10px/1 "Courier New",monospace;opacity:.8}
.gate-icon-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:10px 8px;align-items:start}.gate-view-icon{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:5px;min-width:0;min-height:84px;padding:6px 4px;border:1px solid transparent;background:transparent;color:#f5f8ff;text-decoration:none;text-align:center;cursor:pointer;font:12px/1.15 Tahoma,Verdana,Arial,sans-serif}.gate-view-icon:hover,.gate-view-icon:focus{outline:none;background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.24)}.gate-view-glyph{display:grid;place-items:center;width:42px;height:40px;box-sizing:border-box;border:1px solid #b7c5d9;border-right-color:#56677f;border-bottom-color:#56677f;background:linear-gradient(#e9edf3,#aeb9c8);color:#163b71;box-shadow:1px 1px 0 rgba(0,0,0,.5);font:700 20px/1 "Courier New",monospace;text-shadow:none}.gate-view-icon-label{display:block;max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:normal;text-shadow:1px 1px 1px #000}
.gate-view-icon-document .gate-view-glyph{color:#324f79}.gate-view-icon-link .gate-view-glyph{color:#6f376f}

/* Norton Commander Icon-Ansicht */
.user-theme-norton .gate-icon-workspace{color:var(--nc-white)!important;font-family:"Courier New",Consolas,monospace!important}.user-theme-norton .gate-icon-workspace-head{border-color:var(--nc-cyan)!important;color:var(--nc-yellow)!important}.user-theme-norton .gate-view-badge{color:var(--nc-yellow)!important;border-color:var(--nc-cyan)!important}.user-theme-norton .gate-icon-category h2{background:var(--nc-cyan)!important;color:var(--nc-black)!important;border-color:var(--nc-cyan)!important;padding:5px 7px!important}.user-theme-norton .gate-icon-grid{gap:5px!important}.user-theme-norton .gate-view-icon{color:var(--nc-white)!important;font-family:"Courier New",Consolas,monospace!important;border:1px solid transparent!important}.user-theme-norton .gate-view-icon:hover,.user-theme-norton .gate-view-icon:focus{background:var(--nc-select)!important;color:var(--nc-black)!important;border-color:var(--nc-yellow)!important}.user-theme-norton .gate-view-glyph{background:var(--nc-panel)!important;color:var(--nc-yellow)!important;border:1px solid var(--nc-cyan)!important;box-shadow:none!important}.user-theme-norton .gate-view-icon:hover .gate-view-glyph,.user-theme-norton .gate-view-icon:focus .gate-view-glyph{background:var(--nc-cyan)!important;color:var(--nc-black)!important;border-color:var(--nc-yellow)!important}.user-theme-norton .gate-view-icon-label{color:inherit!important;text-shadow:none!important}

/* Windows 3.1 Icon-Ansicht */
.user-theme-windows31 .gate-icon-workspace{color:#fff!important;font-family:Arial,"MS Sans Serif",sans-serif!important}.user-theme-windows31 .gate-icon-workspace-head{border-color:rgba(255,255,255,.65)!important}.user-theme-windows31 .gate-icon-workspace-head strong,.user-theme-windows31 .gate-icon-workspace-head span{color:#fff!important;text-shadow:1px 1px 0 #000!important}.user-theme-windows31 .gate-view-badge{background:var(--w31-gray)!important;color:#000!important;border:2px solid #fff!important;border-right-color:var(--w31-dark)!important;border-bottom-color:var(--w31-dark)!important;text-shadow:none!important}.user-theme-windows31 .gate-icon-category h2{background:var(--w31-gray)!important;color:#000!important;border:2px solid #fff!important;border-right-color:var(--w31-dark)!important;border-bottom-color:var(--w31-dark)!important;padding:4px 6px!important}.user-theme-windows31 .gate-view-icon{color:#fff!important;font-family:Arial,"MS Sans Serif",sans-serif!important;text-shadow:1px 1px 0 #000!important}.user-theme-windows31 .gate-view-icon:hover,.user-theme-windows31 .gate-view-icon:focus{background:rgba(0,0,128,.42)!important;border:1px dotted #fff!important}.user-theme-windows31 .gate-view-glyph{background:var(--w31-gray)!important;color:var(--w31-blue)!important;border:2px solid #fff!important;border-right-color:var(--w31-dark)!important;border-bottom-color:var(--w31-dark)!important;box-shadow:1px 1px 0 rgba(0,0,0,.45)!important}.user-theme-windows31 .gate-view-icon-label{color:#fff!important;text-shadow:1px 1px 0 #000!important}

/* Der gesamte interne Fensterinhalt bleibt mit dem Mausrad erreichbar. */
body.os-body .win95.win-managed>.win-body,
body.os-body .win95.win-managed>.alert-content{scrollbar-gutter:stable;overscroll-behavior:contain}
body.os-body .win95.win-managed>.win-body:not(:has(.gate-app-frame)):not(:has(.netchat-stage)):not(:has(.chat-message-list)):not(:has(.pizza-browser)):not(:has(.sim-shell)){overflow-y:auto}
.gate-app-frame{overscroll-behavior:contain!important}

@media(min-width:1200px){.gate-icon-workspace{margin-right:330px}}
@media(max-width:900px){.gate-icon-workspace{margin:10px 10px 26px!important}.gate-icon-grid{grid-template-columns:repeat(auto-fill,minmax(82px,1fr))}.gate-view-icon{min-height:78px}}
@media(max-width:600px){.gate-icon-workspace-head{align-items:flex-start;flex-direction:column}.gate-icon-grid{grid-template-columns:repeat(auto-fill,minmax(72px,1fr));gap:8px 4px}.gate-view-glyph{width:38px;height:36px;font-size:18px}.gate-view-icon{font-size:11px}}
html[data-gate-view="icons"] .desktop-icons>[data-gate-app="mail"]{display:none!important}

.desktop-icon .icon-glyph,
.gate-view-glyph{
  display:block;
  width:42px;
  height:42px;
  margin:0 auto 6px;
  background-position:center center;
  background-repeat:no-repeat;
  background-size:contain;
  image-rendering:auto;
  text-indent:-9999px;
  overflow:hidden;
  color:transparent!important;
  text-shadow:none!important;
  filter:drop-shadow(0 2px 2px rgba(0,0,0,.25));
}
.desktop-icon .icon-glyph[data-icon],
.gate-view-glyph[data-icon]{font-size:0!important;line-height:0!important}
.desktop-icon,
.gate-view-icon{background:transparent!important}
.desktop-icon:hover .icon-glyph,
.desktop-icon:focus .icon-glyph,
.gate-view-icon:hover .gate-view-glyph,
.gate-view-icon:focus .gate-view-glyph{transform:translateY(-1px) scale(1.03)}

.icon-glyph[data-icon="chat"],.gate-view-glyph[data-icon="chat"]{background-image:url("./desktop-icons/chat.svg")}
.icon-glyph[data-icon="mail"],.gate-view-glyph[data-icon="mail"]{background-image:url("./desktop-icons/mail.svg")}
.icon-glyph[data-icon="gatekeeper"],.gate-view-glyph[data-icon="gatekeeper"]{background-image:url("./desktop-icons/gatekeeper.svg")}
.icon-glyph[data-icon="praetorian"],.gate-view-glyph[data-icon="praetorian"]{background-image:url("./desktop-icons/praetorian.svg")}
.icon-glyph[data-icon="shell"],.gate-view-glyph[data-icon="shell"]{background-image:url("./desktop-icons/shell.svg")}
.icon-glyph[data-icon="bank"],.gate-view-glyph[data-icon="bank"]{background-image:url("./desktop-icons/bank.svg")}
.icon-glyph[data-icon="bndx"],.gate-view-glyph[data-icon="bndx"]{background-image:url("./desktop-icons/bndx.svg")}
.icon-glyph[data-icon="pizza"],.gate-view-glyph[data-icon="pizza"]{background-image:url("./desktop-icons/pizza.svg")}
.icon-glyph[data-icon="home"],.gate-view-glyph[data-icon="home"]{background-image:url("./desktop-icons/home.svg")}
.icon-glyph[data-icon="trash"],.gate-view-glyph[data-icon="trash"]{background-image:url("./desktop-icons/trash.svg")}
.icon-glyph[data-icon="computer"],.gate-view-glyph[data-icon="computer"]{background-image:url("./desktop-icons/computer.svg")}
.icon-glyph[data-icon="network"],.gate-view-glyph[data-icon="network"]{background-image:url("./desktop-icons/network.svg")}
.icon-glyph[data-icon="document"],.gate-view-glyph[data-icon="document"]{background-image:url("./desktop-icons/document.svg")}
.icon-glyph[data-icon="link"],.gate-view-glyph[data-icon="link"]{background-image:url("./desktop-icons/link.svg")}
.icon-glyph[data-icon="qr"],.gate-view-glyph[data-icon="qr"]{background-image:url("./desktop-icons/qr.svg")}
.icon-glyph[data-icon="calculator"],.gate-view-glyph[data-icon="calculator"]{background-image:url("./desktop-icons/calculator.svg")}
.icon-glyph[data-icon="trace"],.gate-view-glyph[data-icon="trace"]{background-image:url("./desktop-icons/trace.svg")}
.icon-glyph[data-icon="record"],.gate-view-glyph[data-icon="record"]{background-image:url("./desktop-icons/record.svg")}
.icon-glyph[data-icon="mozart"],.gate-view-glyph[data-icon="mozart"]{background-image:url("./desktop-icons/mozart.svg")}
.icon-glyph[data-icon="app"],.gate-view-glyph[data-icon="app"]{background-image:url("./desktop-icons/app.svg")}

.gate-view-glyph{
  width:44px;
  height:44px;
  margin-bottom:5px;
  border:none!important;
  background-color:transparent!important;
  box-shadow:none!important;
}
.gate-view-icon{min-height:82px!important;padding:5px 3px!important}
.gate-view-icon-label{display:block;max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:normal}

.user-theme-standard .desktop-icon,
.user-theme-standard .gate-view-icon{
  border:1px solid transparent!important;
}
.user-theme-standard .desktop-icon:hover,
.user-theme-standard .desktop-icon:focus,
.user-theme-standard .gate-view-icon:hover,
.user-theme-standard .gate-view-icon:focus{
  background:rgba(255,255,255,.08)!important;
  border-color:rgba(200,217,240,.35)!important;
}

.user-theme-norton .desktop-icon,
.user-theme-norton .gate-view-icon{
  background:transparent!important;
  border:1px solid transparent!important;
  box-shadow:none!important;
}
.user-theme-norton .desktop-icon .icon-glyph,
.user-theme-norton .gate-view-glyph{filter:none!important}
.user-theme-norton .desktop-icon:hover,
.user-theme-norton .desktop-icon:focus,
.user-theme-norton .gate-view-icon:hover,
.user-theme-norton .gate-view-icon:focus{
  background:var(--nc-select)!important;
  color:var(--nc-black)!important;
  border-color:var(--nc-yellow)!important;
}
.user-theme-norton .gate-view-glyph,.user-theme-norton .desktop-icon .icon-glyph{border:none!important;background-color:transparent!important}

.user-theme-windows31 .desktop-icon,
.user-theme-windows31 .gate-view-icon{background:transparent!important;border:1px solid transparent!important}
.user-theme-windows31 .desktop-icon .icon-glyph,
.user-theme-windows31 .gate-view-glyph{
  width:40px!important;
  height:40px!important;
  background-color:transparent!important;
  border:none!important;
  box-shadow:none!important;
  filter:drop-shadow(1px 1px 0 rgba(0,0,0,.35));
}
.user-theme-windows31 .desktop-icon:hover,
.user-theme-windows31 .desktop-icon:focus,
.user-theme-windows31 .gate-view-icon:hover,
.user-theme-windows31 .gate-view-icon:focus{background:rgba(0,0,128,.42)!important;border:1px dotted #fff!important}
.user-theme-windows31 .desktop-icon span:last-child,
.user-theme-windows31 .gate-view-icon-label{color:#fff!important;text-shadow:1px 1px 0 #000!important}

@media (max-width:600px){
  .desktop-icon .icon-glyph,.gate-view-glyph{width:38px;height:38px}
}























.user-theme-standard .desktop-icon .icon-glyph,
.user-theme-standard .gate-view-glyph,
.user-theme-norton .desktop-icon .icon-glyph,
.user-theme-norton .gate-view-glyph{
  background-color:transparent!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
}
.user-theme-standard .desktop-icon,
.user-theme-standard .gate-view-icon,
.user-theme-norton .desktop-icon,
.user-theme-norton .gate-view-icon{
  background:transparent!important;
}
.user-theme-standard .desktop-icon:hover,
.user-theme-standard .desktop-icon:focus,
.user-theme-standard .gate-view-icon:hover,
.user-theme-standard .gate-view-icon:focus{
  background:rgba(255,255,255,.08)!important;
}
.user-theme-norton .desktop-icon:hover,
.user-theme-norton .desktop-icon:focus,
.user-theme-norton .gate-view-icon:hover,
.user-theme-norton .gate-view-icon:focus{
  background:var(--nc-select)!important;
}

.user-theme-windows31 .desktop-icon .icon-glyph,
.user-theme-windows31 .gate-view-glyph{
  width:48px!important;
  height:46px!important;
  box-sizing:border-box!important;
  margin:0 auto 5px!important;
  padding:5px!important;
  background-color:var(--w31-gray)!important;
  background-size:34px 34px!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  border:2px solid #fff!important;
  border-right-color:var(--w31-dark)!important;
  border-bottom-color:var(--w31-dark)!important;
  box-shadow:1px 1px 0 #000!important;
  border-radius:0!important;
  filter:none!important;
}
.user-theme-windows31 .desktop-icon,
.user-theme-windows31 .gate-view-icon{background:transparent!important}

/* WindowsPhone – Metro/Modern-UI Design mit Kachelstartseite. */
.user-theme-windowsphone{
  --wp-bg:#050505;
  --wp-panel:#111;
  --wp-panel-2:#191919;
  --wp-text:#fff;
  --wp-muted:#b6b6b6;
  --wp-accent:#0067b8;
  --wp-cyan:#006f9e;
  --wp-teal:#007f7d;
  --wp-magenta:#d80073;
  --wp-purple:#6a00ff;
  --wp-green:#3f7f0c;
  --wp-orange:#c24d00;
  --wp-red:#e51400;
  --wp-unit:72px;
  --wp-gap:7px;
  background:var(--wp-bg)!important;
  color:var(--wp-text)!important;
  font-family:"Segoe UI",SegoeUI,Arial,sans-serif!important;
}
.gatekeeper-os.user-theme-windowsphone .desktop{
  background:#050505 url("./wallpapers/windowsphone-gatekeeper.svg?v=20260922-1010") center center/cover no-repeat!important;
}
.praetorian-os.user-theme-windowsphone .desktop{
  background:#090909 url("./wallpapers/windowsphone-praetorian.svg?v=20260922-1010") center center/cover no-repeat!important;
}
.user-theme-windowsphone button,
.user-theme-windowsphone input,
.user-theme-windowsphone textarea,
.user-theme-windowsphone select,
.user-theme-windowsphone table{font-family:inherit!important}
.user-theme-windowsphone .os-topbar{
  background:#000!important;
  color:#fff!important;
  border:0!important;
  border-bottom:2px solid var(--wp-accent)!important;
  box-shadow:none!important;
  min-height:34px!important;
}
.user-theme-windowsphone .os-topbar *,
.user-theme-windowsphone .os-brand,
.user-theme-windowsphone .os-pi{color:#fff!important;text-shadow:none!important}
.user-theme-windowsphone .os-pi{color:var(--wp-cyan)!important}
.user-theme-windowsphone .os-menu-root{
  color:#fff!important;
  background:transparent!important;
  border:0!important;
  font-size:12px!important;
  font-weight:400!important;
  padding:5px 9px!important;
}
.user-theme-windowsphone .os-menu-root:hover,
.user-theme-windowsphone .os-menu-root.active{background:var(--wp-accent)!important;color:#fff!important}
.user-theme-windowsphone .os-menu-layer{
  background:#111!important;
  color:#fff!important;
  border:1px solid #3c3c3c!important;
  box-shadow:0 10px 24px rgba(0,0,0,.55)!important;
  outline:none!important;
}
.user-theme-windowsphone .os-menu-group+.os-menu-group{border-top:1px solid #333!important}
.user-theme-windowsphone .os-menu-group-title{color:#9f9f9f!important;font-weight:400!important;text-transform:uppercase!important;letter-spacing:.08em!important}
.user-theme-windowsphone .os-menu-entry{background:#111!important;color:#fff!important;border:0!important}
.user-theme-windowsphone .os-menu-entry:hover,
.user-theme-windowsphone .os-menu-entry:focus,
.user-theme-windowsphone .os-menu-entry.is-current{background:var(--wp-accent)!important;color:#fff!important}
.user-theme-windowsphone .os-menu-entry .os-menu-mark,
.user-theme-windowsphone .os-menu-entry .os-menu-label,
.user-theme-windowsphone .os-menu-entry .os-menu-state{color:inherit!important}

/* Gatekeeper WindowsPhone startet direkt als Kachelansicht. */
.user-theme-windowsphone #gatekeeperMainWindow{display:none!important}
.user-theme-windowsphone .gate-icon-workspace{display:block!important;margin:12px 18px 34px!important;color:#fff!important}
.user-theme-windowsphone .gate-icon-workspace-head{
  border:0!important;
  padding:10px 0 18px!important;
  margin:0!important;
  align-items:flex-end!important;
}
.user-theme-windowsphone .gate-icon-workspace-head strong{
  display:block!important;
  color:#fff!important;
  font-size:48px!important;
  line-height:.95!important;
  font-weight:300!important;
  letter-spacing:-.04em!important;
  text-transform:lowercase!important;
}
.user-theme-windowsphone .gate-icon-workspace-head span{color:#aaa!important;font-size:12px!important;font-weight:300!important}
.user-theme-windowsphone .gate-view-badge{display:none!important}
.user-theme-windowsphone .gate-icon-category-grid{display:grid!important;gap:22px!important}
.user-theme-windowsphone .gate-icon-category{min-width:0!important}
.user-theme-windowsphone .gate-icon-category h2{
  margin:0 0 7px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#cfcfcf!important;
  font-size:13px!important;
  font-weight:300!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
}
.user-theme-windowsphone .gate-icon-category h2 span{color:#777!important;font-weight:300!important}
.user-theme-windowsphone .gate-icon-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fill,var(--wp-unit))!important;
  grid-auto-rows:var(--wp-unit)!important;
  grid-auto-flow:dense!important;
  gap:var(--wp-gap)!important;
  justify-content:start!important;
  align-items:stretch!important;
}
.user-theme-windowsphone .gate-view-icon,
.user-theme-windowsphone .desktop-icon{
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:flex-end!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:8px!important;
  box-sizing:border-box!important;
  background:var(--wp-accent)!important;
  color:#fff!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  text-align:left!important;
  text-decoration:none!important;
  overflow:hidden!important;
  transition:transform .08s ease,filter .08s ease!important;
}
.user-theme-windowsphone .gate-view-icon:hover,
.user-theme-windowsphone .gate-view-icon:focus,
.user-theme-windowsphone .desktop-icon:hover,
.user-theme-windowsphone .desktop-icon:focus{filter:brightness(1.16)!important;outline:2px solid #fff!important;outline-offset:-2px!important}
.user-theme-windowsphone .gate-view-icon:active,
.user-theme-windowsphone .desktop-icon:active{transform:scale(.97)!important}
.user-theme-windowsphone .gate-view-icon[data-wp-size="small"],
.user-theme-windowsphone .desktop-icon[data-wp-size="small"]{grid-column:span 1!important;grid-row:span 1!important}
.user-theme-windowsphone .gate-view-icon[data-wp-size="medium"],
.user-theme-windowsphone .desktop-icon[data-wp-size="medium"]{grid-column:span 2!important;grid-row:span 2!important}
.user-theme-windowsphone .gate-view-icon[data-wp-size="wide"],
.user-theme-windowsphone .desktop-icon[data-wp-size="wide"]{grid-column:span 4!important;grid-row:span 2!important}
.user-theme-windowsphone .gate-view-icon[data-wp-size="large"],
.user-theme-windowsphone .desktop-icon[data-wp-size="large"]{grid-column:span 4!important;grid-row:span 4!important}
.user-theme-windowsphone .gate-view-glyph,
.user-theme-windowsphone .desktop-icon .icon-glyph{
  position:absolute!important;
  left:50%!important;
  top:44%!important;
  width:44%!important;
  height:44%!important;
  margin:0!important;
  transform:translate(-50%,-50%)!important;
  background-color:transparent!important;
  background-size:contain!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  border:0!important;
  box-shadow:none!important;
  filter:brightness(0) invert(1)!important;
  opacity:.96!important;
}
.user-theme-windowsphone .gate-view-icon-label,
.user-theme-windowsphone .desktop-icon>span:last-child{
  position:relative!important;
  z-index:2!important;
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  color:#fff!important;
  font-size:12px!important;
  line-height:1.12!important;
  font-weight:400!important;
  text-shadow:none!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
.user-theme-windowsphone .gate-view-icon[data-wp-size="small"] .gate-view-icon-label,
.user-theme-windowsphone .desktop-icon[data-wp-size="small"]>span:last-child{font-size:9px!important;max-height:2.3em!important;overflow:hidden!important}
.user-theme-windowsphone .gate-view-icon[data-wp-size="small"] .gate-view-glyph,
.user-theme-windowsphone .desktop-icon[data-wp-size="small"] .icon-glyph{width:52%!important;height:52%!important;top:42%!important}
.user-theme-windowsphone .gate-view-icon[data-icon-category="kommunikation"],
.user-theme-windowsphone [data-icon-category="kommunikation"] .gate-view-icon{background:var(--wp-magenta)!important}
.user-theme-windowsphone [data-icon-category="werkzeuge"] .gate-view-icon{background:var(--wp-accent)!important}
.user-theme-windowsphone [data-icon-category="analyse"] .gate-view-icon{background:var(--wp-teal)!important}
.user-theme-windowsphone [data-icon-category="archiv"] .gate-view-icon{background:var(--wp-purple)!important}
.user-theme-windowsphone [data-icon-category="anwendungen"] .gate-view-icon{background:var(--wp-green)!important}
.user-theme-windowsphone [data-icon-category="dokumente"] .gate-view-icon{background:var(--wp-orange)!important}
.user-theme-windowsphone [data-icon-category="links"] .gate-view-icon{background:var(--wp-cyan)!important}

/* Systemkacheln des Gatekeepers. */
.gatekeeper-os.user-theme-windowsphone .desktop-icons{
  position:relative!important;
  left:auto!important;
  top:auto!important;
  width:auto!important;
  max-width:none!important;
  display:grid!important;
  grid-template-columns:repeat(auto-fill,var(--wp-unit))!important;
  grid-auto-rows:var(--wp-unit)!important;
  grid-auto-flow:dense!important;
  gap:var(--wp-gap)!important;
  margin:14px 18px 0!important;
  padding:0!important;
  z-index:40!important;
}
.gatekeeper-os.user-theme-windowsphone .desktop-icon[data-wp-size="wide"]{background:var(--wp-accent)!important}
.gatekeeper-os.user-theme-windowsphone .desktop-icon:has([data-icon="chat"]){background:var(--wp-magenta)!important}
.gatekeeper-os.user-theme-windowsphone .desktop-icon:has([data-icon="mail"]){background:#603cba!important}
.gatekeeper-os.user-theme-windowsphone .desktop-icon:has([data-icon="pizza"]){background:#d24726!important}
.gatekeeper-os.user-theme-windowsphone .desktop-icon:has([data-icon="bank"]){background:#008a00!important}
.gatekeeper-os.user-theme-windowsphone .desktop-icon:has([data-icon="bndx"]){background:#1769aa!important}
.gatekeeper-os.user-theme-windowsphone .desktop-icon:has([data-icon="shell"]){background:#2d2d30!important}
.gatekeeper-os.user-theme-windowsphone .desktop-icon:has([data-icon="trash"]){background:#555!important}

/* PRAETORIAN Desktopicons als kompakte Metro-Kacheln; das Verwaltungsfenster bleibt vorhanden. */
.praetorian-os.user-theme-windowsphone .desktop-icons{
  position:absolute!important;
  left:10px!important;
  top:48px!important;
  width:112px!important;
  display:grid!important;
  grid-template-columns:repeat(2,52px)!important;
  grid-auto-rows:52px!important;
  gap:4px!important;
}
.praetorian-os.user-theme-windowsphone .desktop-icon{
  width:52px!important;height:52px!important;min-height:52px!important;padding:4px!important;background:var(--wp-accent)!important
}
.praetorian-os.user-theme-windowsphone .desktop-icon .icon-glyph{width:30px!important;height:30px!important;top:48%!important}
.praetorian-os.user-theme-windowsphone .desktop-icon>span:last-child{display:none!important}

/* WindowsPhone interne Fenster: flach, hochkontrastig und vollständig bedienbar. */
.user-theme-windowsphone .win95:not(.pizza-net-window):not(.bank-camera-window):not(.bndx-code-window):not(.bndx-remote-window):not(.sim-shell-window){
  background:#111!important;
  color:#fff!important;
  border:1px solid #3b3b3b!important;
  border-radius:0!important;
  box-shadow:0 14px 32px rgba(0,0,0,.55)!important;
}
.user-theme-windowsphone .win95:not(.pizza-net-window):not(.bank-camera-window):not(.bndx-code-window):not(.bndx-remote-window):not(.sim-shell-window)>.win-title{
  background:var(--wp-accent)!important;
  color:#fff!important;
  border:0!important;
  border-radius:0!important;
  height:34px!important;
  font-weight:400!important;
  letter-spacing:.01em!important;
}
.user-theme-windowsphone .win-title-text,
.user-theme-windowsphone .win-title-text *{color:inherit!important;text-shadow:none!important}
.user-theme-windowsphone .win-btn{
  background:transparent!important;
  color:#fff!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  width:27px!important;
  height:25px!important;
  font-size:14px!important;
}
.user-theme-windowsphone .win-btn:hover{background:rgba(0,0,0,.28)!important}
.user-theme-windowsphone .win-body,
.user-theme-windowsphone .prae-content,
.user-theme-windowsphone .inner-pad{background:#111!important;color:#fff!important}
.user-theme-windowsphone .hero-banner{
  background:#111!important;
  color:#fff!important;
  border-bottom:2px solid var(--wp-accent)!important;
}
.user-theme-windowsphone .hero-banner h1,
.user-theme-windowsphone .hero-banner .subline,
.user-theme-windowsphone .hero-left,
.user-theme-windowsphone .hero-right{color:#fff!important;text-shadow:none!important;font-weight:300!important}
.user-theme-windowsphone .prae-main{background:#111!important}
.user-theme-windowsphone .prae-sidebar{background:#0b0b0b!important;border-right:1px solid #333!important}
.user-theme-windowsphone .nav-tile{
  background:#171717!important;
  color:#fff!important;
  border:0!important;
  border-left:4px solid transparent!important;
  box-shadow:none!important;
  border-radius:0!important;
}
.user-theme-windowsphone .nav-tile:hover,
.user-theme-windowsphone .nav-tile.active{background:#222!important;color:#fff!important;border-left-color:var(--wp-accent)!important}
.user-theme-windowsphone .table-frame,
.user-theme-windowsphone .info-frame,
.user-theme-windowsphone details.gate-collapse,
.user-theme-windowsphone .empty-note,
.user-theme-windowsphone .access-row,
.user-theme-windowsphone .retro-fieldset,
.user-theme-windowsphone .admin-details,
.user-theme-windowsphone .admin-form-row,
.user-theme-windowsphone .portal-item,
.user-theme-windowsphone .os-msg{
  background:#171717!important;
  color:#fff!important;
  border:1px solid #333!important;
  border-radius:0!important;
  box-shadow:none!important;
}
.user-theme-windowsphone .section-caption,
.user-theme-windowsphone .gate-section-title,
.user-theme-windowsphone .os-small,
.user-theme-windowsphone label,
.user-theme-windowsphone .check-group label{color:#ddd!important}
.user-theme-windowsphone .admin-details>summary,
.user-theme-windowsphone .retro-fieldset legend,
.user-theme-windowsphone .gate-section-summary{
  background:#202020!important;
  color:#fff!important;
  border:0!important;
}
.user-theme-windowsphone .os-table{background:#111!important;color:#fff!important}
.user-theme-windowsphone .os-table th{background:var(--wp-accent)!important;color:#fff!important;border-color:#0a5eaa!important;font-weight:400!important}
.user-theme-windowsphone .os-table td{background:#151515!important;color:#fff!important;border-color:#333!important}
.user-theme-windowsphone .os-table tbody tr:nth-child(even) td{background:#1a1a1a!important}
.user-theme-windowsphone input,
.user-theme-windowsphone textarea,
.user-theme-windowsphone select,
.user-theme-windowsphone .os-input,
.user-theme-windowsphone .os-textarea{
  background:#fff!important;
  color:#111!important;
  border:2px solid #fff!important;
  border-radius:0!important;
  box-shadow:none!important;
}
.user-theme-windowsphone input:focus,
.user-theme-windowsphone textarea:focus,
.user-theme-windowsphone select:focus{outline:3px solid var(--wp-accent)!important;outline-offset:0!important}
.user-theme-windowsphone .os-btn,
.user-theme-windowsphone button:not(.desktop-icon):not(.task-tab):not(.os-menu-root):not(.win-btn):not(.netchat-delete){
  background:var(--wp-accent)!important;
  color:#fff!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  font-weight:400!important;
}
.user-theme-windowsphone .os-btn:hover,
.user-theme-windowsphone button:not(.desktop-icon):not(.task-tab):not(.os-menu-root):not(.win-btn):not(.netchat-delete):hover{filter:brightness(1.16)!important}

/* WindowsPhone interne Standardanwendungen. Retro-Gimmicks sind absichtlich ausgenommen. */
.user-theme-windowsphone .netchat-stage,
.user-theme-windowsphone .netchat-frame,
.user-theme-windowsphone .netchat-messages,
.user-theme-windowsphone .netchat-compose,
.user-theme-windowsphone .secure-mail-shell,
.user-theme-windowsphone .secure-mail-sidebar,
.user-theme-windowsphone .secure-mail-list-panel,
.user-theme-windowsphone .secure-mail-reader-panel,
.user-theme-windowsphone .trace-tool,
.user-theme-windowsphone .records-tool,
.user-theme-windowsphone .mozart-tool,
.user-theme-windowsphone .qr-tool-panel,
.user-theme-windowsphone .calc-tool-shell,
.user-theme-windowsphone .code-guide-shell,
.user-theme-windowsphone .handbook-toolbar,
.user-theme-windowsphone .handbook-index,
.user-theme-windowsphone .handbook-content,
.user-theme-windowsphone .handbook-entry{
  background:#111!important;
  color:#fff!important;
  border-color:#333!important;
  box-shadow:none!important;
  border-radius:0!important;
}
.user-theme-windowsphone .netchat-header-strip,
.user-theme-windowsphone .netchat-toolbar,
.user-theme-windowsphone .netchat-footer,
.user-theme-windowsphone .secure-mail-panel-title,
.user-theme-windowsphone .mail-menubar,
.user-theme-windowsphone .legacy-menu,
.user-theme-windowsphone .record-menu,
.user-theme-windowsphone .legacy-caption,
.user-theme-windowsphone .record-head,
.user-theme-windowsphone .qr-tool-head,
.user-theme-windowsphone .calc-panel-head,
.user-theme-windowsphone .code-guide-head,
.user-theme-windowsphone .handbook-index-title,
.user-theme-windowsphone .handbook-section h2{
  background:var(--wp-accent)!important;
  color:#fff!important;
  border-color:var(--wp-accent)!important;
}
.user-theme-windowsphone .secure-mail-list,
.user-theme-windowsphone .secure-mail-reader,
.user-theme-windowsphone .trace-console,
.user-theme-windowsphone .trace-map,
.user-theme-windowsphone .trace-whois,
.user-theme-windowsphone .record-card,
.user-theme-windowsphone .qr-form,
.user-theme-windowsphone .qr-preview,
.user-theme-windowsphone .qr-info-card,
.user-theme-windowsphone .calc-future-panel,
.user-theme-windowsphone .calc-display-wrap,
.user-theme-windowsphone .calc-history-panel,
.user-theme-windowsphone .code-guide-panel{
  background:#181818!important;
  color:#fff!important;
  border-color:#333!important;
}
.user-theme-windowsphone .mail-folder,
.user-theme-windowsphone .secure-mail-row,
.user-theme-windowsphone .record-fields>div,
.user-theme-windowsphone .record-statusbar span,
.user-theme-windowsphone .netchat-bubble{
  background:#1c1c1c!important;
  color:#fff!important;
  border-color:#333!important;
}
.user-theme-windowsphone .mail-folder.active,
.user-theme-windowsphone .secure-mail-row.active,
.user-theme-windowsphone .record-tabs button.active{background:var(--wp-accent)!important;color:#fff!important}
.user-theme-windowsphone .secure-mail-reader-body,
.user-theme-windowsphone .secure-mail-meta-grid,
.user-theme-windowsphone .trace-console pre,
.user-theme-windowsphone .calc-display{background:#000!important;color:#fff!important;border-color:#444!important}
.user-theme-windowsphone .trace-console pre{color:#9ee6ff!important}
.user-theme-windowsphone .calc-display{color:#fff!important}

/* Retro-Easter-Egg-Fenster bleiben bewusst in ihrer 90er-Jahre-Optik. */
.user-theme-windowsphone .pizza-net-window,
.user-theme-windowsphone .bank-camera-window,
.user-theme-windowsphone .bndx-code-window,
.user-theme-windowsphone .bndx-remote-window,
.user-theme-windowsphone .sim-shell-window{
  background:#c0c0c0!important;
  color:#111!important;
  border:2px solid #fff!important;
  border-right-color:#444!important;
  border-bottom-color:#444!important;
  border-radius:0!important;
  box-shadow:6px 6px 0 rgba(0,0,0,.5)!important;
  font-family:Tahoma,Verdana,Arial,sans-serif!important;
}
.user-theme-windowsphone .pizza-net-window>.win-title,
.user-theme-windowsphone .bank-camera-window>.win-title,
.user-theme-windowsphone .bndx-code-window>.win-title,
.user-theme-windowsphone .bndx-remote-window>.win-title,
.user-theme-windowsphone .sim-shell-window>.win-title{
  background:#173b89!important;
  color:#fff!important;
  border-radius:0!important;
  height:28px!important;
}
.user-theme-windowsphone .pizza-net-window .win-btn,
.user-theme-windowsphone .bank-camera-window .win-btn,
.user-theme-windowsphone .bndx-code-window .win-btn,
.user-theme-windowsphone .bndx-remote-window .win-btn,
.user-theme-windowsphone .sim-shell-window .win-btn{
  background:#c0c0c0!important;color:#000!important;border:1px solid #fff!important;border-right-color:#444!important;border-bottom-color:#444!important;border-radius:0!important
}

.user-theme-windowsphone .footer-note,
.user-theme-windowsphone .os-taskbar{
  background:#000!important;
  color:#fff!important;
  border-top:1px solid #333!important;
  box-shadow:none!important;
  text-shadow:none!important;
}
.user-theme-windowsphone .footer-note *,
.user-theme-windowsphone .real-status span,
.user-theme-windowsphone .task-clock{color:#ddd!important;background:#000!important;border-color:#333!important;text-shadow:none!important}
.user-theme-windowsphone .task-tab{background:#191919!important;color:#fff!important;border:0!important;border-left:4px solid #444!important;border-radius:0!important;box-shadow:none!important}
.user-theme-windowsphone .task-tab.is-active{border-left-color:var(--wp-accent)!important;background:#222!important;color:#fff!important}

@media(max-width:900px){
  .user-theme-windowsphone{--wp-unit:64px;--wp-gap:6px}
  .gatekeeper-os.user-theme-windowsphone .desktop-icons{margin:10px 10px 0!important}
  .user-theme-windowsphone .gate-icon-workspace{margin:10px 10px 26px!important}
  .user-theme-windowsphone .gate-icon-workspace-head strong{font-size:40px!important}
}
@media(max-width:620px){
  .user-theme-windowsphone{--wp-unit:58px;--wp-gap:5px}
  .user-theme-windowsphone .gate-view-icon[data-wp-size="wide"],
  .user-theme-windowsphone .desktop-icon[data-wp-size="wide"]{grid-column:span 2!important;grid-row:span 2!important}
  .user-theme-windowsphone .gate-view-icon[data-wp-size="large"],
  .user-theme-windowsphone .desktop-icon[data-wp-size="large"]{grid-column:span 2!important;grid-row:span 2!important}
  .user-theme-windowsphone .gate-icon-workspace-head strong{font-size:34px!important}
  .praetorian-os.user-theme-windowsphone .desktop-icons{position:relative!important;left:auto!important;top:auto!important;width:auto!important;display:flex!important;flex-wrap:wrap!important;margin:6px 8px 10px!important}
}

/* Windows 3.1: identischer grauer Iconträger, Bild selbst bleibt vollständig sichtbar. */
.user-theme-windows31 .desktop-icon .icon-glyph[data-icon="chat"],.user-theme-windows31 .gate-view-glyph[data-icon="chat"]{background-image:url("./desktop-icons/chat.svg")!important}
.user-theme-windows31 .desktop-icon .icon-glyph[data-icon="mail"],.user-theme-windows31 .gate-view-glyph[data-icon="mail"]{background-image:url("./desktop-icons/mail.svg")!important}
.user-theme-windows31 .desktop-icon .icon-glyph[data-icon="gatekeeper"],.user-theme-windows31 .gate-view-glyph[data-icon="gatekeeper"]{background-image:url("./desktop-icons/gatekeeper.svg")!important}
.user-theme-windows31 .desktop-icon .icon-glyph[data-icon="praetorian"],.user-theme-windows31 .gate-view-glyph[data-icon="praetorian"]{background-image:url("./desktop-icons/praetorian.svg")!important}
.user-theme-windows31 .desktop-icon .icon-glyph[data-icon="shell"],.user-theme-windows31 .gate-view-glyph[data-icon="shell"]{background-image:url("./desktop-icons/shell.svg")!important}
.user-theme-windows31 .desktop-icon .icon-glyph[data-icon="bank"],.user-theme-windows31 .gate-view-glyph[data-icon="bank"]{background-image:url("./desktop-icons/bank.svg")!important}
.user-theme-windows31 .desktop-icon .icon-glyph[data-icon="bndx"],.user-theme-windows31 .gate-view-glyph[data-icon="bndx"]{background-image:url("./desktop-icons/bndx.svg")!important}
.user-theme-windows31 .desktop-icon .icon-glyph[data-icon="pizza"],.user-theme-windows31 .gate-view-glyph[data-icon="pizza"]{background-image:url("./desktop-icons/pizza.svg")!important}
.user-theme-windows31 .desktop-icon .icon-glyph[data-icon="home"],.user-theme-windows31 .gate-view-glyph[data-icon="home"]{background-image:url("./desktop-icons/home.svg")!important}
.user-theme-windows31 .desktop-icon .icon-glyph[data-icon="trash"],.user-theme-windows31 .gate-view-glyph[data-icon="trash"]{background-image:url("./desktop-icons/trash.svg")!important}
.user-theme-windows31 .desktop-icon .icon-glyph[data-icon="computer"],.user-theme-windows31 .gate-view-glyph[data-icon="computer"]{background-image:url("./desktop-icons/computer.svg")!important}
.user-theme-windows31 .desktop-icon .icon-glyph[data-icon="network"],.user-theme-windows31 .gate-view-glyph[data-icon="network"]{background-image:url("./desktop-icons/network.svg")!important}
.user-theme-windows31 .desktop-icon .icon-glyph[data-icon="document"],.user-theme-windows31 .gate-view-glyph[data-icon="document"]{background-image:url("./desktop-icons/document.svg")!important}
.user-theme-windows31 .desktop-icon .icon-glyph[data-icon="link"],.user-theme-windows31 .gate-view-glyph[data-icon="link"]{background-image:url("./desktop-icons/link.svg")!important}
.user-theme-windows31 .desktop-icon .icon-glyph[data-icon="qr"],.user-theme-windows31 .gate-view-glyph[data-icon="qr"]{background-image:url("./desktop-icons/qr.svg")!important}
.user-theme-windows31 .desktop-icon .icon-glyph[data-icon="calculator"],.user-theme-windows31 .gate-view-glyph[data-icon="calculator"]{background-image:url("./desktop-icons/calculator.svg")!important}
.user-theme-windows31 .desktop-icon .icon-glyph[data-icon="trace"],.user-theme-windows31 .gate-view-glyph[data-icon="trace"]{background-image:url("./desktop-icons/trace.svg")!important}
.user-theme-windows31 .desktop-icon .icon-glyph[data-icon="record"],.user-theme-windows31 .gate-view-glyph[data-icon="record"]{background-image:url("./desktop-icons/record.svg")!important}
.user-theme-windows31 .desktop-icon .icon-glyph[data-icon="mozart"],.user-theme-windows31 .gate-view-glyph[data-icon="mozart"]{background-image:url("./desktop-icons/mozart.svg")!important}
.user-theme-windows31 .desktop-icon .icon-glyph[data-icon="codes"],.user-theme-windows31 .gate-view-glyph[data-icon="codes"]{background-image:url("./desktop-icons/codes.svg")!important}
.user-theme-windows31 .desktop-icon .icon-glyph[data-icon="app"],.user-theme-windows31 .gate-view-glyph[data-icon="app"]{background-image:url("./desktop-icons/app.svg")!important}

/* WindowsPhone: CyberChat bleibt als Retro-Easter-Egg exakt in der Filmoptik erhalten. */
.user-theme-windowsphone .netchat-window{
  background:#c0c0c0!important;
  color:#111!important;
  border:2px solid #fff!important;
  border-right-color:#444!important;
  border-bottom-color:#444!important;
  border-radius:0!important;
  box-shadow:6px 6px 0 rgba(0,0,0,.5)!important;
  font-family:Tahoma,Verdana,Arial,sans-serif!important;
}
.user-theme-windowsphone .netchat-window>.win-title{
  background:#173b89!important;color:#fff!important;border-radius:0!important;height:28px!important;border-bottom:1px solid #071f4f!important
}
.user-theme-windowsphone .netchat-window .win-btn{
  background:#c0c0c0!important;color:#000!important;border:1px solid #fff!important;border-right-color:#444!important;border-bottom-color:#444!important;border-radius:0!important
}
.user-theme-windowsphone .netchat-window>.win-body{background:#d0a8c5!important}
.user-theme-windowsphone .netchat-stage{background:#d9a8c3!important;color:#f2dc67!important;font-family:Verdana,Arial,sans-serif!important}
.user-theme-windowsphone .netchat-header-strip{background:#001746!important;color:#96d2d7!important;border-bottom:3px solid #19469e!important}
.user-theme-windowsphone .netchat-toolbar{background:linear-gradient(180deg,#b76765 0%,#aa5d63 100%)!important;border-top:1px solid #e0a6bd!important;border-bottom:3px solid #9c6aa1!important}
.user-theme-windowsphone .netchat-logo{color:#78e8f4!important;text-shadow:2px 2px 0 #193b78,-1px -1px 0 #2a1636,0 0 1px #fff!important;font-family:Georgia,"Times New Roman",serif!important}
.user-theme-windowsphone .netchat-logo-live,.user-theme-windowsphone .netchat-presence-label{color:#fff5a0!important;background:none!important}
.user-theme-windowsphone .netchat-online{background:#dda9bc!important;border:2px solid #4d4968!important;border-radius:0!important}
.user-theme-windowsphone .netchat-frame,.user-theme-windowsphone .netchat-compose{background:#d9a8c3!important}
.user-theme-windowsphone .netchat-messages{background:#12398c!important;border:3px solid #caa2ce!important;color:#e9c55d!important}
.user-theme-windowsphone .netchat-usercell{background:#e8d8ec!important;border-right:1px solid #75648d!important}
.user-theme-windowsphone .netchat-userlabel{color:#18214a!important;font-family:Georgia,"Times New Roman",serif!important;text-shadow:1px 1px 0 rgba(255,255,255,.55)!important}
.user-theme-windowsphone .netchat-bubble{background:transparent!important;border:none!important;box-shadow:none!important}
.user-theme-windowsphone .netchat-text{color:#e4c45b!important;font-family:Georgia,"Times New Roman",serif!important;text-shadow:1px 1px 0 rgba(0,0,0,.52)!important}
.user-theme-windowsphone .netchat-input{background:#f3eef1!important;color:#292446!important;border:2px solid #8f6ba1!important;border-radius:0!important;font-family:Georgia,"Times New Roman",serif!important}
.user-theme-windowsphone .netchat-send{background:radial-gradient(circle at 32% 28%,#a4f297 0%,#64c86d 58%,#397e49 100%)!important;color:#12391f!important;border:2px solid #62826a!important;border-radius:50%!important;font-family:Georgia,"Times New Roman",serif!important}
.user-theme-windowsphone .netchat-footer{background:#cf9db9!important;color:#4b325e!important}

/* WindowsPhone – hochspezifische Schlussregeln gegen ältere globale OS-Defaults. */
body.os-body.user-theme-windowsphone .os-topbar{
  background:#000!important;color:#fff!important;border:0!important;border-bottom:2px solid var(--wp-accent)!important;box-shadow:none!important
}
body.os-body.user-theme-windowsphone .os-topbar *,
body.os-body.user-theme-windowsphone .os-brand,
body.os-body.user-theme-windowsphone .os-top-right span{color:#fff!important;text-shadow:none!important}
body.os-body.user-theme-windowsphone .os-pi{color:var(--wp-cyan)!important}
body.os-body.user-theme-windowsphone .footer-note,
body.os-body.user-theme-windowsphone .os-taskbar{
  background:#000!important;background-color:#000!important;color:#fff!important;border-color:#333!important;box-shadow:none!important;text-shadow:none!important
}
body.os-body.user-theme-windowsphone .footer-note *,
body.os-body.user-theme-windowsphone .real-status span,
body.os-body.user-theme-windowsphone .task-clock{background:#000!important;color:#ddd!important;border-color:#333!important;text-shadow:none!important}
body.os-body.user-theme-windowsphone .prae-main{background:#111!important;background-color:#111!important}
body.os-body.user-theme-windowsphone .prae-sidebar{background:#0b0b0b!important;background-color:#0b0b0b!important;border-right:1px solid #333!important}
body.os-body.user-theme-windowsphone .nav-tile{
  background:#171717!important;color:#fff!important;border:0!important;border-left:4px solid transparent!important;box-shadow:none!important;border-radius:0!important
}
body.os-body.user-theme-windowsphone .nav-tile.active,
body.os-body.user-theme-windowsphone .nav-tile:hover{background:#222!important;color:#fff!important;border-left-color:var(--wp-accent)!important}
body.os-body.user-theme-windowsphone .hero-banner{
  background:#111!important;background-color:#111!important;color:#fff!important;border-bottom:2px solid var(--wp-accent)!important;box-shadow:none!important
}
body.os-body.user-theme-windowsphone .hero-banner h1,
body.os-body.user-theme-windowsphone .hero-banner .subline,
body.os-body.user-theme-windowsphone .hero-left,
body.os-body.user-theme-windowsphone .hero-right{color:#fff!important;text-shadow:none!important}
body.os-body.user-theme-windowsphone .win95:not(.pizza-net-window):not(.bank-camera-window):not(.bndx-code-window):not(.bndx-remote-window):not(.sim-shell-window):not(.netchat-window)>.win-body,
body.os-body.user-theme-windowsphone .prae-content,
body.os-body.user-theme-windowsphone .inner-pad{background:#111!important;background-color:#111!important;color:#fff!important}
body.os-body.user-theme-windowsphone .table-frame,
body.os-body.user-theme-windowsphone .info-frame,
body.os-body.user-theme-windowsphone .empty-note,
body.os-body.user-theme-windowsphone .portal-item,
body.os-body.user-theme-windowsphone .os-msg{background:#171717!important;background-color:#171717!important;color:#fff!important;border-color:#333!important}
body.os-body.user-theme-windowsphone .os-table th{background:var(--wp-accent)!important;color:#fff!important;border-color:#0a5eaa!important}
body.os-body.user-theme-windowsphone .os-table td{background:#151515!important;color:#fff!important;border-color:#333!important}
body.os-body.user-theme-windowsphone input,
body.os-body.user-theme-windowsphone textarea,
body.os-body.user-theme-windowsphone select,
body.os-body.user-theme-windowsphone .os-input,
body.os-body.user-theme-windowsphone .os-textarea{background:#fff!important;background-color:#fff!important;color:#111!important;border:2px solid #fff!important}

body.os-body .win95[hidden]{display:none!important}

/* Alle Icon-Bilder explizit und am Ende der Kaskade binden. */
.icon-glyph[data-icon="chat"],.gate-view-glyph[data-icon="chat"]{background-image:url("./desktop-icons/chat.svg")!important}
.icon-glyph[data-icon="mail"],.gate-view-glyph[data-icon="mail"]{background-image:url("./desktop-icons/mail.svg")!important}
.icon-glyph[data-icon="gatekeeper"],.gate-view-glyph[data-icon="gatekeeper"]{background-image:url("./desktop-icons/gatekeeper.svg")!important}
.icon-glyph[data-icon="praetorian"],.gate-view-glyph[data-icon="praetorian"]{background-image:url("./desktop-icons/praetorian.svg")!important}
.icon-glyph[data-icon="shell"],.gate-view-glyph[data-icon="shell"]{background-image:url("./desktop-icons/shell.svg")!important}
.icon-glyph[data-icon="bank"],.gate-view-glyph[data-icon="bank"]{background-image:url("./desktop-icons/bank.svg")!important}
.icon-glyph[data-icon="bndx"],.gate-view-glyph[data-icon="bndx"]{background-image:url("./desktop-icons/bndx.svg")!important}
.icon-glyph[data-icon="pizza"],.gate-view-glyph[data-icon="pizza"]{background-image:url("./desktop-icons/pizza.svg")!important}
.icon-glyph[data-icon="home"],.gate-view-glyph[data-icon="home"]{background-image:url("./desktop-icons/home.svg")!important}
.icon-glyph[data-icon="trash"],.gate-view-glyph[data-icon="trash"]{background-image:url("./desktop-icons/trash.svg")!important}
.icon-glyph[data-icon="computer"],.gate-view-glyph[data-icon="computer"]{background-image:url("./desktop-icons/computer.svg")!important}
.icon-glyph[data-icon="network"],.gate-view-glyph[data-icon="network"]{background-image:url("./desktop-icons/network.svg")!important}
.icon-glyph[data-icon="document"],.gate-view-glyph[data-icon="document"]{background-image:url("./desktop-icons/document.svg")!important}
.icon-glyph[data-icon="link"],.gate-view-glyph[data-icon="link"]{background-image:url("./desktop-icons/link.svg")!important}
.icon-glyph[data-icon="qr"],.gate-view-glyph[data-icon="qr"]{background-image:url("./desktop-icons/qr.svg")!important}
.icon-glyph[data-icon="calculator"],.gate-view-glyph[data-icon="calculator"]{background-image:url("./desktop-icons/calculator.svg")!important}
.icon-glyph[data-icon="trace"],.gate-view-glyph[data-icon="trace"]{background-image:url("./desktop-icons/trace.svg")!important}
.icon-glyph[data-icon="record"],.gate-view-glyph[data-icon="record"]{background-image:url("./desktop-icons/record.svg")!important}
.icon-glyph[data-icon="mozart"],.gate-view-glyph[data-icon="mozart"]{background-image:url("./desktop-icons/mozart.svg")!important}
.icon-glyph[data-icon="codes"],.gate-view-glyph[data-icon="codes"]{background-image:url("./desktop-icons/codes.svg")!important}
.icon-glyph[data-icon="app"],.gate-view-glyph[data-icon="app"]{background-image:url("./desktop-icons/app.svg")!important}

/* Standard/Norton: freigestellte Symbole, keinerlei Träger hinter dem Icon selbst. */
.user-theme-standard .icon-glyph[data-icon],
.user-theme-standard .gate-view-glyph[data-icon],
.user-theme-norton .icon-glyph[data-icon],
.user-theme-norton .gate-view-glyph[data-icon]{
  display:block!important;
  background-color:transparent!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  background-size:contain!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  opacity:1!important;
  text-indent:-9999px!important;
  overflow:hidden!important;
}
.user-theme-standard .icon-glyph[data-icon],.user-theme-standard .gate-view-glyph[data-icon]{filter:drop-shadow(0 2px 2px rgba(0,0,0,.28))!important}
.user-theme-norton .icon-glyph[data-icon],.user-theme-norton .gate-view-glyph[data-icon]{filter:none!important}

/* Windows 3.1: alle Icons auf identischem grauen klassischen Träger. */
.user-theme-windows31 .icon-glyph[data-icon],
.user-theme-windows31 .gate-view-glyph[data-icon]{
  display:block!important;
  width:50px!important;
  height:48px!important;
  padding:6px!important;
  box-sizing:border-box!important;
  margin:0 auto 5px!important;
  background-color:var(--w31-gray)!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  background-size:34px 34px!important;
  border:2px solid #fff!important;
  border-right-color:var(--w31-dark)!important;
  border-bottom-color:var(--w31-dark)!important;
  box-shadow:1px 1px 0 #000!important;
  border-radius:0!important;
  filter:none!important;
  text-indent:-9999px!important;
  overflow:hidden!important;
}

/* WindowsPhone: farbige Metro-Kachel ist der Träger, Icon selbst wird als weiße Glyph-Silhouette dargestellt. */
.user-theme-windowsphone .icon-glyph[data-icon],
.user-theme-windowsphone .gate-view-glyph[data-icon]{
  background-color:transparent!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  background-size:contain!important;
  border:0!important;
  box-shadow:none!important;
  filter:brightness(0) invert(1)!important;
  opacity:.98!important;
  text-indent:-9999px!important;
  overflow:hidden!important;
}

/* PRAETORIAN WindowsPhone: Startscreen besteht aus Kacheln, Hauptfenster wird ausschließlich per Praetorian-Kachel geöffnet. */
.praetorian-os.user-theme-windowsphone .desktop-icons{
  position:relative!important;
  left:auto!important;
  top:auto!important;
  width:auto!important;
  max-width:none!important;
  display:grid!important;
  grid-template-columns:repeat(auto-fill,var(--wp-unit))!important;
  grid-auto-rows:var(--wp-unit)!important;
  grid-auto-flow:dense!important;
  gap:var(--wp-gap)!important;
  margin:14px 18px 20px!important;
  padding:0!important;
  z-index:40!important;
}
.praetorian-os.user-theme-windowsphone .desktop-icon{
  position:relative!important;
  width:auto!important;
  height:auto!important;
  min-height:0!important;
  padding:8px!important;
  background:var(--wp-accent)!important;
  color:#fff!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  overflow:hidden!important;
  text-align:left!important;
}
.praetorian-os.user-theme-windowsphone .desktop-icon[data-wp-size="small"]{grid-column:span 1!important;grid-row:span 1!important}
.praetorian-os.user-theme-windowsphone .desktop-icon[data-wp-size="medium"]{grid-column:span 2!important;grid-row:span 2!important}
.praetorian-os.user-theme-windowsphone .desktop-icon[data-wp-size="wide"]{grid-column:span 4!important;grid-row:span 2!important}
.praetorian-os.user-theme-windowsphone .desktop-icon:has([data-icon="chat"]){background:var(--wp-magenta)!important}
.praetorian-os.user-theme-windowsphone .desktop-icon:has([data-icon="mail"]){background:#603cba!important}
.praetorian-os.user-theme-windowsphone .desktop-icon:has([data-icon="praetorian"]){background:var(--wp-accent)!important}
.praetorian-os.user-theme-windowsphone .desktop-icon:has([data-icon="gatekeeper"]){background:var(--wp-teal)!important}
.praetorian-os.user-theme-windowsphone .desktop-icon:has([data-icon="trash"]){background:#555!important}
.praetorian-os.user-theme-windowsphone .desktop-icon .icon-glyph{
  position:absolute!important;
  left:50%!important;
  top:44%!important;
  width:44%!important;
  height:44%!important;
  margin:0!important;
  transform:translate(-50%,-50%)!important;
}
.praetorian-os.user-theme-windowsphone .desktop-icon>span:not(.icon-glyph):not(.icon-badge){
  display:block!important;
  position:absolute!important;
  left:8px!important;
  right:8px!important;
  bottom:7px!important;
  color:#fff!important;
  font:400 12px/1.15 "Segoe UI",Arial,sans-serif!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}

/* Neue Nachrichten: Badge sitzt sichtbar über dem Icon/der Kachel und bleibt in allen Themes kontrastreich. */
.desktop-icon,.gate-view-icon{position:relative!important}
.icon-badge{
  position:absolute!important;
  top:2px!important;
  right:3px!important;
  z-index:20!important;
  min-width:19px!important;
  height:19px!important;
  padding:0 5px!important;
  border-radius:999px!important;
  background:#d71920!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.92)!important;
  box-shadow:0 2px 5px rgba(0,0,0,.42)!important;
  font:700 11px/17px Arial,sans-serif!important;
  text-align:center!important;
  text-indent:0!important;
}
.user-theme-norton .icon-badge{background:#aa0000!important;color:#fff!important;border-color:var(--nc-yellow)!important}
.user-theme-windows31 .icon-badge{top:0!important;right:0!important;background:#c00000!important;color:#fff!important;border-radius:0!important;border:1px solid #fff!important;box-shadow:1px 1px 0 #000!important}
.user-theme-windowsphone .icon-badge{top:6px!important;right:6px!important;background:#fff!important;color:#a00000!important;border:0!important;border-radius:999px!important;box-shadow:none!important}

.user-theme-windowsphone{
  --wp-blue:#0067b8;
  --wp-cobalt:#0050ef;
  --wp-cyan:#0078a6;
  --wp-teal:#00796b;
  --wp-green:#107c10;
  --wp-purple:#744da9;
  --wp-violet:#6a00a8;
  --wp-magenta:#c2185b;
  --wp-red:#c62828;
  --wp-orange:#c65102;
  --wp-brown:#795548;
  --wp-steel:#536878;
  --wp-charcoal:#424242;
}
body.os-body.user-theme-windowsphone .gate-view-icon[data-wp-color="blue"],
body.os-body.user-theme-windowsphone .desktop-icon[data-wp-color="blue"]{background:var(--wp-blue)!important}
body.os-body.user-theme-windowsphone .gate-view-icon[data-wp-color="cobalt"],
body.os-body.user-theme-windowsphone .desktop-icon[data-wp-color="cobalt"]{background:var(--wp-cobalt)!important}
body.os-body.user-theme-windowsphone .gate-view-icon[data-wp-color="cyan"],
body.os-body.user-theme-windowsphone .desktop-icon[data-wp-color="cyan"]{background:var(--wp-cyan)!important}
body.os-body.user-theme-windowsphone .gate-view-icon[data-wp-color="teal"],
body.os-body.user-theme-windowsphone .desktop-icon[data-wp-color="teal"]{background:var(--wp-teal)!important}
body.os-body.user-theme-windowsphone .gate-view-icon[data-wp-color="green"],
body.os-body.user-theme-windowsphone .desktop-icon[data-wp-color="green"]{background:var(--wp-green)!important}
body.os-body.user-theme-windowsphone .gate-view-icon[data-wp-color="purple"],
body.os-body.user-theme-windowsphone .desktop-icon[data-wp-color="purple"]{background:var(--wp-purple)!important}
body.os-body.user-theme-windowsphone .gate-view-icon[data-wp-color="violet"],
body.os-body.user-theme-windowsphone .desktop-icon[data-wp-color="violet"]{background:var(--wp-violet)!important}
body.os-body.user-theme-windowsphone .gate-view-icon[data-wp-color="magenta"],
body.os-body.user-theme-windowsphone .desktop-icon[data-wp-color="magenta"]{background:var(--wp-magenta)!important}
body.os-body.user-theme-windowsphone .gate-view-icon[data-wp-color="red"],
body.os-body.user-theme-windowsphone .desktop-icon[data-wp-color="red"]{background:var(--wp-red)!important}
body.os-body.user-theme-windowsphone .gate-view-icon[data-wp-color="orange"],
body.os-body.user-theme-windowsphone .desktop-icon[data-wp-color="orange"]{background:var(--wp-orange)!important}
body.os-body.user-theme-windowsphone .gate-view-icon[data-wp-color="brown"],
body.os-body.user-theme-windowsphone .desktop-icon[data-wp-color="brown"]{background:var(--wp-brown)!important}
body.os-body.user-theme-windowsphone .gate-view-icon[data-wp-color="steel"],
body.os-body.user-theme-windowsphone .desktop-icon[data-wp-color="steel"]{background:var(--wp-steel)!important}
body.os-body.user-theme-windowsphone .gate-view-icon[data-wp-color="slate"],
body.os-body.user-theme-windowsphone .desktop-icon[data-wp-color="slate"]{background:#455a64!important}
body.os-body.user-theme-windowsphone .gate-view-icon[data-wp-color="charcoal"],
body.os-body.user-theme-windowsphone .desktop-icon[data-wp-color="charcoal"]{background:var(--wp-charcoal)!important}

/* Vorherige Kategorie-Färbungen werden bewusst neutralisiert: jede Kachel trägt ihre eigene Accent-Farbe. */
body.os-body.user-theme-windowsphone [data-icon-category] .gate-view-icon[data-wp-color]{color:#fff!important}
body.os-body.user-theme-windowsphone .gate-view-icon[data-wp-color],
body.os-body.user-theme-windowsphone .desktop-icon[data-wp-color]{
  color:#fff!important;
  text-shadow:none!important;
  border:0!important;
  box-shadow:none!important;
}
body.os-body.user-theme-windowsphone .gate-view-icon[data-wp-color] *,
body.os-body.user-theme-windowsphone .desktop-icon[data-wp-color] *{color:#fff!important}

/* Windows Phone Live-Tile-Anmutung: breite Kacheln erhalten eine zusätzliche Statuszeile. */
body.os-body.user-theme-windowsphone .gate-view-icon[data-wp-live]:not([data-wp-live=""]),
body.os-body.user-theme-windowsphone .desktop-icon[data-wp-live]:not([data-wp-live=""]){position:relative!important}
body.os-body.user-theme-windowsphone .gate-view-icon[data-wp-live]:not([data-wp-live=""])::before,
body.os-body.user-theme-windowsphone .desktop-icon[data-wp-live]:not([data-wp-live=""])::before{
  content:attr(data-wp-live);
  position:absolute;
  left:9px;
  right:9px;
  top:8px;
  z-index:3;
  color:rgba(255,255,255,.96)!important;
  font:400 10px/1.15 "Segoe UI",Arial,sans-serif!important;
  letter-spacing:.035em;
  text-transform:uppercase;
  white-space:normal;
  overflow:hidden;
  max-height:2.35em;
  text-shadow:none!important;
}
body.os-body.user-theme-windowsphone .gate-view-icon[data-wp-size="wide"] .gate-view-glyph,
body.os-body.user-theme-windowsphone .desktop-icon[data-wp-size="wide"] .icon-glyph{
  left:78%!important;
  top:48%!important;
  width:27%!important;
  height:46%!important;
  opacity:.95!important;
}
body.os-body.user-theme-windowsphone .gate-view-icon[data-wp-size="wide"] .gate-view-icon-label,
body.os-body.user-theme-windowsphone .desktop-icon[data-wp-size="wide"]>span:not(.icon-glyph):not(.icon-badge){
  width:64%!important;
  max-width:64%!important;
  font-size:13px!important;
}

/* Kleine Kacheln wie beim Phone-Startscreen: Symbol im Mittelpunkt, Text nur wenn genügend Platz vorhanden ist. */
body.os-body.user-theme-windowsphone .gate-view-icon[data-wp-size="small"],
body.os-body.user-theme-windowsphone .desktop-icon[data-wp-size="small"]{padding:5px!important}
body.os-body.user-theme-windowsphone .gate-view-icon[data-wp-size="small"] .gate-view-glyph,
body.os-body.user-theme-windowsphone .desktop-icon[data-wp-size="small"] .icon-glyph{
  width:58%!important;
  height:58%!important;
  top:47%!important;
}

/* Badge wie eine Windows-Phone-Live-Information: weißer Zähler, ohne roten Fremdkörper. */
body.os-body.user-theme-windowsphone .icon-badge{
  top:7px!important;
  right:7px!important;
  min-width:24px!important;
  height:24px!important;
  padding:0 6px!important;
  display:grid!important;
  place-items:center!important;
  background:#fff!important;
  color:#222!important;
  border:0!important;
  border-radius:999px!important;
  box-shadow:none!important;
  font:700 11px/1 "Segoe UI",Arial,sans-serif!important;
}
body.os-body.user-theme-windowsphone .icon-badge[hidden]{display:none!important}

/* Ruhiger schwarzer Startscreen wie beim Windows Phone, damit die farbigen Kacheln dominieren. */
.gatekeeper-os.user-theme-windowsphone .desktop,
.praetorian-os.user-theme-windowsphone .desktop{
  background-color:#050505!important;
  background-blend-mode:multiply!important;
}
body.os-body.user-theme-windowsphone .gate-icon-category h2{color:#d7d7d7!important}
body.os-body.user-theme-windowsphone .gate-icon-category h2 span{color:#858585!important}
body.os-body.user-theme-windowsphone .gate-icon-workspace-head strong{color:#fff!important}
body.os-body.user-theme-windowsphone .gate-icon-workspace-head span{color:#aaa!important}

/* Phone-typischer sehr schmaler Abstand zwischen den Tiles. */
body.os-body.user-theme-windowsphone{--wp-gap:6px}
@media(max-width:720px){body.os-body.user-theme-windowsphone{--wp-gap:5px}}

/* Michael Klementz | 25.09.2026 11:29 Uhr – Ab hier teilen sich alle TechGrid-Farbschemata dieselbe technische Basis; Unterschiede kommen hauptsächlich aus Variablen statt aus sechs Kopien. */
.user-theme-techgrid-amber,
.user-theme-techgrid-aqua,
.user-theme-techgrid-light{
  --tg-bg:#06080c;
  --tg-bg2:#11161d;
  --tg-panel:rgba(9,15,24,.76);
  --tg-panel-2:rgba(15,25,37,.88);
  --tg-card:rgba(11,18,28,.72);
  --tg-ink:#eef8ff;
  --tg-muted:#8fa6bd;
  --tg-line:#2ec5ff;
  --tg-line-2:#55ffdc;
  --tg-glow:rgba(46,197,255,.4);
  --tg-grid:rgba(255,255,255,.055);
  --tg-edge:rgba(46,197,255,.52);
  --tg-button:rgba(20,40,59,.82);
  --tg-button-hover:rgba(35,78,104,.95);
  --tg-danger:#ff516c;
  --tg-success:#8eff88;
  --tg-warn:#ffd65a;
  --tg-shadow:0 18px 38px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.02), 0 0 26px var(--tg-glow);
  background:radial-gradient(circle at top, rgba(255,255,255,.04), transparent 42%), linear-gradient(180deg,var(--tg-bg) 0%, var(--tg-bg2) 100%)!important;
  color:var(--tg-ink)!important;
  font-family:"Segoe UI",Inter,Arial,sans-serif!important;
}
.user-theme-techgrid-amber{--tg-bg:#050505;--tg-bg2:#0f0c06;--tg-panel:rgba(16,13,6,.76);--tg-panel-2:rgba(20,14,5,.9);--tg-card:rgba(21,15,7,.76);--tg-ink:#fff7da;--tg-muted:#d0b98b;--tg-line:#ff8a00;--tg-line-2:#ffe85b;--tg-glow:rgba(255,165,0,.34);--tg-grid:rgba(255,180,0,.07);--tg-edge:rgba(255,173,51,.58);--tg-button:rgba(47,29,6,.82);--tg-button-hover:rgba(84,49,6,.96)}
.user-theme-techgrid-aqua{--tg-bg:#02070c;--tg-bg2:#021219;--tg-panel:rgba(4,15,22,.78);--tg-panel-2:rgba(4,22,28,.92);--tg-card:rgba(4,17,25,.82);--tg-ink:#dbffff;--tg-muted:#8ecbd5;--tg-line:#25b7ff;--tg-line-2:#2fffd3;--tg-glow:rgba(37,183,255,.32);--tg-grid:rgba(45,199,255,.07);--tg-edge:rgba(67,215,255,.54);--tg-button:rgba(5,32,45,.84);--tg-button-hover:rgba(6,57,74,.95)}
.user-theme-techgrid-light{--tg-bg:#eff2f4;--tg-bg2:#fcfcfd;--tg-panel:rgba(245,248,250,.85);--tg-panel-2:rgba(250,251,252,.95);--tg-card:rgba(255,255,255,.82);--tg-ink:#151515;--tg-muted:#5d646b;--tg-line:#ff5127;--tg-line-2:#ff9e2d;--tg-glow:rgba(255,94,36,.22);--tg-grid:rgba(57,57,57,.06);--tg-edge:rgba(255,94,36,.5);--tg-button:rgba(255,242,235,.92);--tg-button-hover:rgba(255,228,215,.98);--tg-shadow:0 16px 34px rgba(60,38,15,.15),0 0 0 1px rgba(255,94,36,.08),0 0 22px var(--tg-glow)}

body.os-body.user-theme-techgrid-amber .desktop,
body.os-body.user-theme-techgrid-aqua .desktop,
body.os-body.user-theme-techgrid-light .desktop{position:relative;overflow:hidden}
.gatekeeper-os.user-theme-techgrid-amber .desktop{background:linear-gradient(180deg,#030303 0%,#100c06 100%),url("./wallpapers/techgrid-amber-gatekeeper.svg") center/cover no-repeat!important}
.gatekeeper-os.user-theme-techgrid-aqua .desktop{background:linear-gradient(180deg,#02070c 0%,#04141c 100%),url("./wallpapers/techgrid-aqua-gatekeeper.svg") center/cover no-repeat!important}
.gatekeeper-os.user-theme-techgrid-light .desktop{background:linear-gradient(180deg,#eef2f6 0%,#fafafa 100%),url("./wallpapers/techgrid-light-gatekeeper.svg") center/cover no-repeat!important}
.praetorian-os.user-theme-techgrid-amber .desktop{background:linear-gradient(180deg,#020202 0%,#0d0904 100%),url("./wallpapers/techgrid-amber-praetorian.svg") center/cover no-repeat!important}
.praetorian-os.user-theme-techgrid-aqua .desktop{background:linear-gradient(180deg,#01070b 0%,#031017 100%),url("./wallpapers/techgrid-aqua-praetorian.svg") center/cover no-repeat!important}
.praetorian-os.user-theme-techgrid-light .desktop{background:linear-gradient(180deg,#eef2f5 0%,#fafafa 100%),url("./wallpapers/techgrid-light-praetorian.svg") center/cover no-repeat!important}
body.os-body.user-theme-techgrid-amber .desktop::before,
body.os-body.user-theme-techgrid-aqua .desktop::before,
body.os-body.user-theme-techgrid-light .desktop::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(90deg,transparent 0,transparent 45%,rgba(255,255,255,.045) 50%,transparent 55%,transparent 100%);
  background-size:220px 100%;mix-blend-mode:screen;opacity:.55;animation:tgSweep 10s linear infinite;
}
body.os-body.user-theme-techgrid-amber .desktop::after,
body.os-body.user-theme-techgrid-aqua .desktop::after,
body.os-body.user-theme-techgrid-light .desktop::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background-image:linear-gradient(var(--tg-grid) 1px, transparent 1px), linear-gradient(90deg,var(--tg-grid) 1px, transparent 1px);
  background-size:28px 28px;opacity:.35;
}

body.os-body.user-theme-techgrid-amber .os-topbar,
body.os-body.user-theme-techgrid-aqua .os-topbar,
body.os-body.user-theme-techgrid-light .os-topbar,
body.os-body.user-theme-techgrid-amber .footer-note,
body.os-body.user-theme-techgrid-aqua .footer-note,
body.os-body.user-theme-techgrid-light .footer-note,
body.os-body.user-theme-techgrid-amber .os-taskbar,
body.os-body.user-theme-techgrid-aqua .os-taskbar,
body.os-body.user-theme-techgrid-light .os-taskbar{
  position:relative;
  background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.02)),var(--tg-panel)!important;
  color:var(--tg-ink)!important;border:1px solid var(--tg-edge)!important;box-shadow:var(--tg-shadow)!important;text-shadow:none!important;backdrop-filter:blur(8px);
}
body.os-body.user-theme-techgrid-amber .os-topbar,
body.os-body.user-theme-techgrid-aqua .os-topbar,
body.os-body.user-theme-techgrid-light .os-topbar{border-left:0!important;border-right:0!important;border-top:0!important;min-height:36px!important}
body.os-body.user-theme-techgrid-amber .footer-note,
body.os-body.user-theme-techgrid-aqua .footer-note,
body.os-body.user-theme-techgrid-light .footer-note{border-left:0!important;border-right:0!important;border-bottom:0!important}
body.os-body.user-theme-techgrid-amber .os-topbar::after,
body.os-body.user-theme-techgrid-aqua .os-topbar::after,
body.os-body.user-theme-techgrid-light .os-topbar::after{
  content:"SYSTEM LINK // DATA FLOW // ACTIVE CHANNEL // VECTOR NODES // SECURE CORE";
  position:absolute;right:160px;top:50%;transform:translateY(-50%);max-width:45vw;overflow:hidden;white-space:nowrap;font:600 10px/1.1 Consolas,monospace;letter-spacing:.22em;color:var(--tg-line-2);opacity:.78;animation:tgTicker 18s linear infinite;
}
body.os-body.user-theme-techgrid-amber .footer-note::before,
body.os-body.user-theme-techgrid-aqua .footer-note::before,
body.os-body.user-theme-techgrid-light .footer-note::before{
  content:"READY // SENSOR GRID STABLE // EVENT BUS ONLINE // NODE RESPONSE WITHIN NORMAL RANGE";
  position:absolute;left:14px;right:14px;top:50%;transform:translateY(-50%);white-space:nowrap;overflow:hidden;font:600 10px/1 Consolas,monospace;letter-spacing:.18em;color:var(--tg-line);opacity:.72;pointer-events:none;
}
body.os-body.user-theme-techgrid-amber .footer-note > *,
body.os-body.user-theme-techgrid-aqua .footer-note > *,
body.os-body.user-theme-techgrid-light .footer-note > *{position:relative;z-index:2}
body.os-body.user-theme-techgrid-amber .footer-note .real-status span,
body.os-body.user-theme-techgrid-aqua .footer-note .real-status span,
body.os-body.user-theme-techgrid-light .footer-note .real-status span,
body.os-body.user-theme-techgrid-amber .footer-note .task-clock,
body.os-body.user-theme-techgrid-aqua .footer-note .task-clock,
body.os-body.user-theme-techgrid-light .footer-note .task-clock{background:var(--tg-card)!important;color:var(--tg-ink)!important;border:1px solid var(--tg-edge)!important;box-shadow:0 0 14px var(--tg-glow)!important}
body.os-body.user-theme-techgrid-light .os-topbar *,
body.os-body.user-theme-techgrid-light .footer-note *,
body.os-body.user-theme-techgrid-light .os-taskbar *{text-shadow:none!important}
body.os-body.user-theme-techgrid-amber .os-topbar *,
body.os-body.user-theme-techgrid-aqua .os-topbar *,
body.os-body.user-theme-techgrid-light .os-topbar *,
body.os-body.user-theme-techgrid-amber .os-brand,
body.os-body.user-theme-techgrid-aqua .os-brand,
body.os-body.user-theme-techgrid-light .os-brand,
body.os-body.user-theme-techgrid-amber .os-menu-root,
body.os-body.user-theme-techgrid-aqua .os-menu-root,
body.os-body.user-theme-techgrid-light .os-menu-root{color:var(--tg-ink)!important}
body.os-body.user-theme-techgrid-amber .os-pi,
body.os-body.user-theme-techgrid-aqua .os-pi,
body.os-body.user-theme-techgrid-light .os-pi{color:var(--tg-line-2)!important;text-shadow:0 0 12px var(--tg-glow)!important}

.user-theme-techgrid-amber .os-menu-root,
.user-theme-techgrid-aqua .os-menu-root,
.user-theme-techgrid-light .os-menu-root{
  border:1px solid transparent!important;background:transparent!important;padding:5px 11px!important;border-radius:10px!important;transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .16s ease!important
}
.user-theme-techgrid-amber .os-menu-root:hover,
.user-theme-techgrid-amber .os-menu-root.active,
.user-theme-techgrid-aqua .os-menu-root:hover,
.user-theme-techgrid-aqua .os-menu-root.active,
.user-theme-techgrid-light .os-menu-root:hover,
.user-theme-techgrid-light .os-menu-root.active{background:var(--tg-button)!important;border-color:var(--tg-edge)!important;box-shadow:0 0 12px var(--tg-glow)!important;transform:translateY(-1px)}
.user-theme-techgrid-amber .os-menu-layer,
.user-theme-techgrid-aqua .os-menu-layer,
.user-theme-techgrid-light .os-menu-layer{background:var(--tg-panel-2)!important;color:var(--tg-ink)!important;border:1px solid var(--tg-edge)!important;box-shadow:0 16px 34px rgba(0,0,0,.45),0 0 22px var(--tg-glow)!important;border-radius:16px!important;backdrop-filter:blur(16px)}
.user-theme-techgrid-amber .os-menu-group+.os-menu-group,
.user-theme-techgrid-aqua .os-menu-group+.os-menu-group,
.user-theme-techgrid-light .os-menu-group+.os-menu-group{border-top:1px solid rgba(255,255,255,.08)!important}
.user-theme-techgrid-amber .os-menu-group-title,
.user-theme-techgrid-aqua .os-menu-group-title,
.user-theme-techgrid-light .os-menu-group-title{color:var(--tg-line-2)!important;letter-spacing:.15em!important;text-transform:uppercase!important;font:700 10px/1.2 Consolas,monospace!important}
.user-theme-techgrid-amber .os-menu-entry,
.user-theme-techgrid-aqua .os-menu-entry,
.user-theme-techgrid-light .os-menu-entry{background:transparent!important;color:var(--tg-ink)!important;border:1px solid transparent!important;border-radius:10px!important}
.user-theme-techgrid-amber .os-menu-entry:hover,
.user-theme-techgrid-amber .os-menu-entry:focus,
.user-theme-techgrid-amber .os-menu-entry.is-current,
.user-theme-techgrid-aqua .os-menu-entry:hover,
.user-theme-techgrid-aqua .os-menu-entry:focus,
.user-theme-techgrid-aqua .os-menu-entry.is-current,
.user-theme-techgrid-light .os-menu-entry:hover,
.user-theme-techgrid-light .os-menu-entry:focus,
.user-theme-techgrid-light .os-menu-entry.is-current{background:linear-gradient(90deg,rgba(255,255,255,.06),transparent),var(--tg-button)!important;border-color:var(--tg-edge)!important;box-shadow:0 0 10px var(--tg-glow)!important}
.user-theme-techgrid-amber .os-menu-state,.user-theme-techgrid-aqua .os-menu-state,.user-theme-techgrid-light .os-menu-state{color:var(--tg-line-2)!important}

body.os-body.user-theme-techgrid-amber .desktop-icons,
body.os-body.user-theme-techgrid-aqua .desktop-icons,
body.os-body.user-theme-techgrid-light .desktop-icons{gap:12px!important}
body.os-body.user-theme-techgrid-amber .desktop-icon,
body.os-body.user-theme-techgrid-aqua .desktop-icon,
body.os-body.user-theme-techgrid-light .desktop-icon,
body.os-body.user-theme-techgrid-amber .gate-view-icon,
body.os-body.user-theme-techgrid-aqua .gate-view-icon,
body.os-body.user-theme-techgrid-light .gate-view-icon{
  position:relative;background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.02)),var(--tg-card)!important;border:1px solid rgba(255,255,255,.07)!important;border-radius:18px!important;box-shadow:0 8px 22px rgba(0,0,0,.28),0 0 0 1px rgba(255,255,255,.02),0 0 0 1px var(--tg-edge) inset,0 0 14px rgba(255,255,255,.04)!important;color:var(--tg-ink)!important;padding:10px 9px 10px!important;overflow:hidden!important;backdrop-filter:blur(8px);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease!important
}
body.os-body.user-theme-techgrid-amber .desktop-icon::before,
body.os-body.user-theme-techgrid-aqua .desktop-icon::before,
body.os-body.user-theme-techgrid-light .desktop-icon::before,
body.os-body.user-theme-techgrid-amber .gate-view-icon::before,
body.os-body.user-theme-techgrid-aqua .gate-view-icon::before,
body.os-body.user-theme-techgrid-light .gate-view-icon::before{content:"";position:absolute;inset:8px;border:1px solid rgba(255,255,255,.06);border-image:linear-gradient(135deg,var(--tg-line),transparent 30%,transparent 70%,var(--tg-line-2)) 1;pointer-events:none;opacity:.95}
body.os-body.user-theme-techgrid-amber .desktop-icon::after,
body.os-body.user-theme-techgrid-aqua .desktop-icon::after,
body.os-body.user-theme-techgrid-light .desktop-icon::after,
body.os-body.user-theme-techgrid-amber .gate-view-icon::after,
body.os-body.user-theme-techgrid-aqua .gate-view-icon::after,
body.os-body.user-theme-techgrid-light .gate-view-icon::after{content:"";position:absolute;left:10px;right:10px;bottom:8px;height:2px;background:linear-gradient(90deg,var(--tg-line),transparent 48%,var(--tg-line-2));opacity:.85;animation:tgPulseLine 2.8s linear infinite;pointer-events:none}
body.os-body.user-theme-techgrid-amber .desktop-icon:hover,
body.os-body.user-theme-techgrid-amber .desktop-icon:focus,
body.os-body.user-theme-techgrid-aqua .desktop-icon:hover,
body.os-body.user-theme-techgrid-aqua .desktop-icon:focus,
body.os-body.user-theme-techgrid-light .desktop-icon:hover,
body.os-body.user-theme-techgrid-light .desktop-icon:focus,
body.os-body.user-theme-techgrid-amber .gate-view-icon:hover,
body.os-body.user-theme-techgrid-amber .gate-view-icon:focus,
body.os-body.user-theme-techgrid-aqua .gate-view-icon:hover,
body.os-body.user-theme-techgrid-aqua .gate-view-icon:focus,
body.os-body.user-theme-techgrid-light .gate-view-icon:hover,
body.os-body.user-theme-techgrid-light .gate-view-icon:focus{transform:translateY(-2px) scale(1.02)!important;border-color:var(--tg-edge)!important;box-shadow:0 16px 30px rgba(0,0,0,.38),0 0 20px var(--tg-glow),0 0 0 1px var(--tg-edge)!important}
body.os-body.user-theme-techgrid-amber .desktop-icon:active,
body.os-body.user-theme-techgrid-aqua .desktop-icon:active,
body.os-body.user-theme-techgrid-light .desktop-icon:active,
body.os-body.user-theme-techgrid-amber .gate-view-icon:active,
body.os-body.user-theme-techgrid-aqua .gate-view-icon:active,
body.os-body.user-theme-techgrid-light .gate-view-icon:active{transform:translateY(0) scale(.985)!important}
body.os-body.user-theme-techgrid-amber .desktop-icon .icon-glyph,
body.os-body.user-theme-techgrid-amber .gate-view-glyph,
body.os-body.user-theme-techgrid-aqua .desktop-icon .icon-glyph,
body.os-body.user-theme-techgrid-aqua .gate-view-glyph,
body.os-body.user-theme-techgrid-light .desktop-icon .icon-glyph,
body.os-body.user-theme-techgrid-light .gate-view-glyph{width:46px;height:46px;margin:0 auto 8px;background-size:72% auto!important;background-position:center!important;border-radius:14px;background-color:rgba(255,255,255,.04)!important;box-shadow:0 0 0 1px rgba(255,255,255,.05) inset,0 0 18px var(--tg-glow)!important;filter:none!important}
body.os-body.user-theme-techgrid-light .desktop-icon .icon-glyph,body.os-body.user-theme-techgrid-light .gate-view-glyph{background-color:rgba(255,94,36,.06)!important}
body.os-body.user-theme-techgrid-amber .desktop-icon>span:last-child,
body.os-body.user-theme-techgrid-aqua .desktop-icon>span:last-child,
body.os-body.user-theme-techgrid-light .desktop-icon>span:last-child,
body.os-body.user-theme-techgrid-amber .gate-view-icon-label,
body.os-body.user-theme-techgrid-aqua .gate-view-icon-label,
body.os-body.user-theme-techgrid-light .gate-view-icon-label{color:var(--tg-ink)!important;text-shadow:none!important;font-size:12px!important;line-height:1.18!important;letter-spacing:.02em!important}
body.os-body.user-theme-techgrid-amber .icon-badge,
body.os-body.user-theme-techgrid-aqua .icon-badge,
body.os-body.user-theme-techgrid-light .icon-badge{background:var(--tg-danger)!important;color:#fff!important;border:1px solid rgba(255,255,255,.28)!important;box-shadow:0 0 14px rgba(255,0,68,.35)!important}

body.os-body.user-theme-techgrid-amber .win95,
body.os-body.user-theme-techgrid-aqua .win95,
body.os-body.user-theme-techgrid-light .win95{
  background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.015)),var(--tg-panel-2)!important;color:var(--tg-ink)!important;border:1px solid rgba(255,255,255,.08)!important;border-radius:20px!important;box-shadow:var(--tg-shadow)!important;backdrop-filter:blur(18px);overflow:hidden!important
}
body.os-body.user-theme-techgrid-amber .win95>.win-title,
body.os-body.user-theme-techgrid-aqua .win95>.win-title,
body.os-body.user-theme-techgrid-light .win95>.win-title{
  position:relative;background:linear-gradient(90deg,rgba(255,255,255,.08),transparent),linear-gradient(90deg,rgba(0,0,0,.25),rgba(255,255,255,.02)),var(--tg-card)!important;color:var(--tg-ink)!important;border-bottom:1px solid var(--tg-edge)!important;padding-right:92px!important;letter-spacing:.08em!important;text-transform:uppercase!important;font:700 13px/1.2 "Segoe UI",Arial,sans-serif!important
}
body.os-body.user-theme-techgrid-amber .win95>.win-title::before,
body.os-body.user-theme-techgrid-aqua .win95>.win-title::before,
body.os-body.user-theme-techgrid-light .win95>.win-title::before,
body.os-body.user-theme-techgrid-amber .win95>.win-title::after,
body.os-body.user-theme-techgrid-aqua .win95>.win-title::after,
body.os-body.user-theme-techgrid-light .win95>.win-title::after{content:"";position:absolute;top:0;bottom:0;width:44px;pointer-events:none;opacity:.85}
body.os-body.user-theme-techgrid-amber .win95>.win-title::before,
body.os-body.user-theme-techgrid-aqua .win95>.win-title::before,
body.os-body.user-theme-techgrid-light .win95>.win-title::before{left:0;background:linear-gradient(135deg,var(--tg-line) 0 2px,transparent 2px),linear-gradient(90deg,var(--tg-line),transparent);background-size:18px 18px,100% 2px;background-repeat:no-repeat;background-position:12px 12px,0 100%}
body.os-body.user-theme-techgrid-amber .win95>.win-title::after,
body.os-body.user-theme-techgrid-aqua .win95>.win-title::after,
body.os-body.user-theme-techgrid-light .win95>.win-title::after{right:0;background:linear-gradient(-135deg,var(--tg-line-2) 0 2px,transparent 2px),linear-gradient(90deg,transparent,var(--tg-line-2));background-size:18px 18px,100% 2px;background-repeat:no-repeat;background-position:calc(100% - 12px) 12px,0 100%}
body.os-body.user-theme-techgrid-amber .win95>.win-body,
body.os-body.user-theme-techgrid-aqua .win95>.win-body,
body.os-body.user-theme-techgrid-light .win95>.win-body,
body.os-body.user-theme-techgrid-amber .inner-pad,
body.os-body.user-theme-techgrid-aqua .inner-pad,
body.os-body.user-theme-techgrid-light .inner-pad,
body.os-body.user-theme-techgrid-amber .prae-content,
body.os-body.user-theme-techgrid-aqua .prae-content,
body.os-body.user-theme-techgrid-light .prae-content{background:transparent!important;color:var(--tg-ink)!important}
body.os-body.user-theme-techgrid-amber .win-btn,
body.os-body.user-theme-techgrid-aqua .win-btn,
body.os-body.user-theme-techgrid-light .win-btn,
body.os-body.user-theme-techgrid-amber .btn,
body.os-body.user-theme-techgrid-aqua .btn,
body.os-body.user-theme-techgrid-light .btn,
body.os-body.user-theme-techgrid-amber button:not(.os-menu-root):not(.os-menu-entry),
body.os-body.user-theme-techgrid-aqua button:not(.os-menu-root):not(.os-menu-entry),
body.os-body.user-theme-techgrid-light button:not(.os-menu-root):not(.os-menu-entry){background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.02)),var(--tg-button)!important;color:var(--tg-ink)!important;border:1px solid var(--tg-edge)!important;border-radius:12px!important;box-shadow:0 0 14px rgba(0,0,0,.18),0 0 16px rgba(255,255,255,.03),0 0 16px var(--tg-glow)!important;transition:transform .16s ease,box-shadow .16s ease,background .16s ease!important}
body.os-body.user-theme-techgrid-amber .win-btn:hover,
body.os-body.user-theme-techgrid-aqua .win-btn:hover,
body.os-body.user-theme-techgrid-light .win-btn:hover,
body.os-body.user-theme-techgrid-amber .btn:hover,
body.os-body.user-theme-techgrid-aqua .btn:hover,
body.os-body.user-theme-techgrid-light .btn:hover,
body.os-body.user-theme-techgrid-amber button:not(.os-menu-root):not(.os-menu-entry):hover,
body.os-body.user-theme-techgrid-aqua button:not(.os-menu-root):not(.os-menu-entry):hover,
body.os-body.user-theme-techgrid-light button:not(.os-menu-root):not(.os-menu-entry):hover{background:linear-gradient(180deg,rgba(255,255,255,.1),rgba(255,255,255,.03)),var(--tg-button-hover)!important;transform:translateY(-1px);box-shadow:0 0 18px var(--tg-glow)!important}
body.os-body.user-theme-techgrid-amber .win-btn:active,
body.os-body.user-theme-techgrid-aqua .win-btn:active,
body.os-body.user-theme-techgrid-light .win-btn:active,
body.os-body.user-theme-techgrid-amber .btn:active,
body.os-body.user-theme-techgrid-aqua .btn:active,
body.os-body.user-theme-techgrid-light .btn:active,
body.os-body.user-theme-techgrid-amber button:not(.os-menu-root):not(.os-menu-entry):active,
body.os-body.user-theme-techgrid-aqua button:not(.os-menu-root):not(.os-menu-entry):active,
body.os-body.user-theme-techgrid-light button:not(.os-menu-root):not(.os-menu-entry):active{transform:translateY(0) scale(.985)}
body.os-body.user-theme-techgrid-amber input,
body.os-body.user-theme-techgrid-aqua input,
body.os-body.user-theme-techgrid-light input,
body.os-body.user-theme-techgrid-amber textarea,
body.os-body.user-theme-techgrid-aqua textarea,
body.os-body.user-theme-techgrid-light textarea,
body.os-body.user-theme-techgrid-amber select,
body.os-body.user-theme-techgrid-aqua select,
body.os-body.user-theme-techgrid-light select,
body.os-body.user-theme-techgrid-amber .os-input,
body.os-body.user-theme-techgrid-aqua .os-input,
body.os-body.user-theme-techgrid-light .os-input,
body.os-body.user-theme-techgrid-amber .os-textarea,
body.os-body.user-theme-techgrid-aqua .os-textarea,
body.os-body.user-theme-techgrid-light .os-textarea{background:rgba(0,0,0,.18)!important;color:var(--tg-ink)!important;border:1px solid rgba(255,255,255,.08)!important;border-bottom-color:var(--tg-edge)!important;border-radius:12px!important;box-shadow:0 0 0 1px rgba(255,255,255,.02) inset,0 0 12px rgba(0,0,0,.18)!important}
body.os-body.user-theme-techgrid-light input,body.os-body.user-theme-techgrid-light textarea,body.os-body.user-theme-techgrid-light select,body.os-body.user-theme-techgrid-light .os-input,body.os-body.user-theme-techgrid-light .os-textarea{background:rgba(255,255,255,.9)!important}
body.os-body.user-theme-techgrid-amber input:focus,
body.os-body.user-theme-techgrid-aqua input:focus,
body.os-body.user-theme-techgrid-light input:focus,
body.os-body.user-theme-techgrid-amber textarea:focus,
body.os-body.user-theme-techgrid-aqua textarea:focus,
body.os-body.user-theme-techgrid-light textarea:focus,
body.os-body.user-theme-techgrid-amber select:focus,
body.os-body.user-theme-techgrid-aqua select:focus,
body.os-body.user-theme-techgrid-light select:focus{outline:none!important;border-color:var(--tg-line-2)!important;box-shadow:0 0 0 1px var(--tg-line-2),0 0 18px var(--tg-glow)!important}
body.os-body.user-theme-techgrid-amber .table-frame,
body.os-body.user-theme-techgrid-aqua .table-frame,
body.os-body.user-theme-techgrid-light .table-frame,
body.os-body.user-theme-techgrid-amber .info-frame,
body.os-body.user-theme-techgrid-aqua .info-frame,
body.os-body.user-theme-techgrid-light .info-frame,
body.os-body.user-theme-techgrid-amber .portal-item,
body.os-body.user-theme-techgrid-aqua .portal-item,
body.os-body.user-theme-techgrid-light .portal-item,
body.os-body.user-theme-techgrid-amber .os-msg,
body.os-body.user-theme-techgrid-aqua .os-msg,
body.os-body.user-theme-techgrid-light .os-msg,
body.os-body.user-theme-techgrid-amber .empty-note,
body.os-body.user-theme-techgrid-aqua .empty-note,
body.os-body.user-theme-techgrid-light .empty-note{background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.02)),var(--tg-card)!important;color:var(--tg-ink)!important;border:1px solid rgba(255,255,255,.06)!important;border-radius:16px!important;box-shadow:0 0 0 1px rgba(255,255,255,.02) inset,0 0 14px rgba(0,0,0,.18)!important}
body.os-body.user-theme-techgrid-amber .os-table th,
body.os-body.user-theme-techgrid-aqua .os-table th,
body.os-body.user-theme-techgrid-light .os-table th{background:linear-gradient(90deg,rgba(255,255,255,.08),transparent),var(--tg-button)!important;color:var(--tg-line-2)!important;border-color:var(--tg-edge)!important}
body.os-body.user-theme-techgrid-amber .os-table td,
body.os-body.user-theme-techgrid-aqua .os-table td,
body.os-body.user-theme-techgrid-light .os-table td{background:rgba(255,255,255,.025)!important;color:var(--tg-ink)!important;border-color:rgba(255,255,255,.06)!important}
body.os-body.user-theme-techgrid-amber .prae-main,
body.os-body.user-theme-techgrid-aqua .prae-main,
body.os-body.user-theme-techgrid-light .prae-main{background:transparent!important}
body.os-body.user-theme-techgrid-amber .prae-sidebar,
body.os-body.user-theme-techgrid-aqua .prae-sidebar,
body.os-body.user-theme-techgrid-light .prae-sidebar{background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.015)),var(--tg-panel)!important;border-right:1px solid var(--tg-edge)!important;box-shadow:inset -1px 0 0 rgba(255,255,255,.05),0 0 24px rgba(0,0,0,.18)!important}
body.os-body.user-theme-techgrid-amber .nav-tile,
body.os-body.user-theme-techgrid-aqua .nav-tile,
body.os-body.user-theme-techgrid-light .nav-tile{background:var(--tg-card)!important;color:var(--tg-ink)!important;border:1px solid rgba(255,255,255,.05)!important;border-left:4px solid transparent!important;border-radius:14px!important;box-shadow:none!important}
body.os-body.user-theme-techgrid-amber .nav-tile:hover,
body.os-body.user-theme-techgrid-amber .nav-tile.active,
body.os-body.user-theme-techgrid-aqua .nav-tile:hover,
body.os-body.user-theme-techgrid-aqua .nav-tile.active,
body.os-body.user-theme-techgrid-light .nav-tile:hover,
body.os-body.user-theme-techgrid-light .nav-tile.active{border-left-color:var(--tg-line)!important;background:linear-gradient(90deg,rgba(255,255,255,.05),transparent),var(--tg-button)!important;box-shadow:0 0 16px var(--tg-glow)!important}
body.os-body.user-theme-techgrid-amber .hero-banner,
body.os-body.user-theme-techgrid-aqua .hero-banner,
body.os-body.user-theme-techgrid-light .hero-banner{background:linear-gradient(90deg,rgba(255,255,255,.05),rgba(255,255,255,.01)),var(--tg-panel)!important;color:var(--tg-ink)!important;border-bottom:1px solid var(--tg-edge)!important;box-shadow:0 0 18px rgba(0,0,0,.18)!important}
body.os-body.user-theme-techgrid-amber .hero-banner h1,
body.os-body.user-theme-techgrid-aqua .hero-banner h1,
body.os-body.user-theme-techgrid-light .hero-banner h1{letter-spacing:.08em!important;text-transform:uppercase!important}
body.os-body.user-theme-techgrid-amber .hero-right,
body.os-body.user-theme-techgrid-aqua .hero-right,
body.os-body.user-theme-techgrid-light .hero-right{color:var(--tg-line-2)!important}

.user-theme-techgrid-amber .netchat-window,
.user-theme-techgrid-aqua .netchat-window,
.user-theme-techgrid-light .netchat-window{border-radius:20px!important;overflow:hidden!important;box-shadow:var(--tg-shadow)!important}
.user-theme-techgrid-amber .sim-shell-screen,
.user-theme-techgrid-aqua .sim-shell-screen,
.user-theme-techgrid-light .sim-shell-screen{background:#04070c!important;color:var(--tg-line-2)!important;border:1px solid var(--tg-edge)!important;box-shadow:inset 0 0 28px rgba(0,0,0,.45),0 0 18px var(--tg-glow)!important}
.user-theme-techgrid-light .sim-shell-screen{background:#fbfbfb!important;color:#292929!important}
.user-theme-techgrid-amber .legacy-tool,
.user-theme-techgrid-aqua .legacy-tool,
.user-theme-techgrid-light .legacy-tool,
.user-theme-techgrid-amber .calc-shell,
.user-theme-techgrid-aqua .calc-shell,
.user-theme-techgrid-light .calc-shell,
.user-theme-techgrid-amber .qr-tool,
.user-theme-techgrid-aqua .qr-tool,
.user-theme-techgrid-light .qr-tool,
.user-theme-techgrid-amber .code-guide-shell,
.user-theme-techgrid-aqua .code-guide-shell,
.user-theme-techgrid-light .code-guide-shell{background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.02)),var(--tg-panel)!important;color:var(--tg-ink)!important;border:1px solid var(--tg-edge)!important;border-radius:18px!important;box-shadow:var(--tg-shadow)!important}
.user-theme-techgrid-amber .secure-mail-toolbar,
.user-theme-techgrid-aqua .secure-mail-toolbar,
.user-theme-techgrid-light .secure-mail-toolbar{background:transparent!important}

body.os-body.user-theme-techgrid-amber .win95.window-opening,
body.os-body.user-theme-techgrid-aqua .win95.window-opening,
body.os-body.user-theme-techgrid-light .win95.window-opening{animation:tgWindowOpen .34s cubic-bezier(.18,.82,.24,1) both!important}
body.os-body.user-theme-techgrid-amber .win95.window-closing,
body.os-body.user-theme-techgrid-aqua .win95.window-closing,
body.os-body.user-theme-techgrid-light .win95.window-closing{animation:tgWindowClose .2s ease both!important}

@keyframes tgSweep{0%{transform:translateX(-22%)}100%{transform:translateX(22%)}}
@keyframes tgPulseLine{0%,100%{opacity:.35;background-position:0 0}50%{opacity:1;background-position:100% 0}}
@keyframes tgTicker{0%{transform:translate(0,-50%)}100%{transform:translate(-160px,-50%)}}
@keyframes tgWindowOpen{0%{opacity:0;transform:translateY(18px) scale(.965)}55%{opacity:1}100%{opacity:1;transform:translateY(0) scale(1)}}
@keyframes tgWindowClose{0%{opacity:1;transform:translateY(0) scale(1)}100%{opacity:0;transform:translateY(12px) scale(.975)}}

body.techgrid-fui-active,
html:has(body.techgrid-fui-active){width:100%!important;height:100%!important;min-height:100%!important;margin:0!important;overflow:hidden!important}
body.techgrid-fui-active .os-shell{display:block!important;position:relative!important;width:100%!important;height:100vh!important;min-height:100vh!important;padding:0!important;overflow:hidden!important;background:transparent!important}
body.techgrid-fui-active .desktop{position:relative!important;width:100%!important;height:100vh!important;min-height:100vh!important;padding:0!important;overflow:hidden!important;background-attachment:fixed!important;isolation:isolate}
body.techgrid-fui-active.techgrid-fui-ready .os-topbar,
body.techgrid-fui-active.techgrid-fui-ready .footer-note,
body.techgrid-fui-active.techgrid-fui-ready .os-taskbar,
body.techgrid-fui-active.techgrid-fui-ready .desktop-icons,
body.techgrid-fui-active.techgrid-fui-ready .gate-icon-workspace,
body.techgrid-fui-active.techgrid-fui-ready .os-stage{display:none!important}
/* Michael Klementz | 27.09.2026 – Objekt 69: Das Gatekeeper-Hauptfenster ist im TechGrid nur im geschlossenen Zustand unsichtbar; Öffnen über die SYSTEM-Wabe darf nicht mehr von einer permanenten display:none-Regel blockiert werden. */
body.techgrid-fui-active.gatekeeper-os #gatekeeperMainWindow[hidden]{display:none!important}
body.techgrid-fui-active.techgrid-fui-ready.praetorian-os .prae-sidebar{display:none!important}
body.techgrid-fui-active .desktop::before{content:""!important;position:absolute!important;inset:0!important;pointer-events:none!important;z-index:0!important;background:radial-gradient(circle at var(--mx,64%) var(--my,48%),color-mix(in srgb,var(--tg-line) 11%,transparent),transparent 18%),linear-gradient(90deg,transparent 0 49.5%,color-mix(in srgb,var(--tg-line) 7%,transparent) 50%,transparent 50.5%);opacity:.85!important;animation:tgAmbientPulse 6s ease-in-out infinite!important}
body.techgrid-fui-active .desktop::after{content:""!important;position:absolute!important;inset:0!important;pointer-events:none!important;z-index:0!important;background-image:linear-gradient(color-mix(in srgb,var(--tg-line) 7%,transparent) 1px,transparent 1px),linear-gradient(90deg,color-mix(in srgb,var(--tg-line) 7%,transparent) 1px,transparent 1px)!important;background-size:44px 44px!important;opacity:.22!important}

.techgrid-desktop-v3{position:absolute;inset:0;z-index:40;overflow:hidden;color:var(--tg-ink);font-family:"Segoe UI",Inter,Arial,sans-serif;--mx:64%;--my:48%}
body.techgrid-fui-active:not(.techgrid-fui-ready) .techgrid-desktop-v3{opacity:0!important;pointer-events:none!important;user-select:none!important}
.techgrid-desktop-v3::before{content:"";position:absolute;left:0;right:0;top:48%;height:3px;background:linear-gradient(90deg,transparent 0 2%,var(--tg-line) 7%,var(--tg-line) 26%,transparent 34%,transparent 66%,var(--tg-line-2) 77%,var(--tg-line-2) 93%,transparent 99%);opacity:.66;filter:drop-shadow(0 0 7px var(--tg-glow));pointer-events:none;animation:tgRailFlow 5s linear infinite}
.techgrid-desktop-v3::after{content:"";position:absolute;left:0;right:0;top:calc(48% - 34px);height:72px;background:linear-gradient(135deg,transparent 0 18%,color-mix(in srgb,var(--tg-line) 16%,transparent) 18.3% 18.5%,transparent 18.8% 81%,color-mix(in srgb,var(--tg-line-2) 16%,transparent) 81.3% 81.5%,transparent 81.8%);pointer-events:none;opacity:.78}
.tg-circuit-layer{position:absolute;inset:0;width:100%;height:100%;z-index:1;overflow:visible;pointer-events:none}
.tg-circuit-layer path{fill:none;stroke-linecap:butt;stroke-linejoin:miter;vector-effect:non-scaling-stroke}
.tg-root-line{stroke:var(--tg-line);stroke-width:2.2;opacity:.62;filter:drop-shadow(0 0 5px var(--tg-glow));stroke-dasharray:3 10;animation:tgDash 3.5s linear infinite;animation-delay:calc(var(--i)*-.25s)}
.tg-child-line{stroke:var(--tg-line-2);stroke-width:1.5;opacity:.58;stroke-dasharray:12 6;animation:tgDash 2.2s linear infinite}
.tg-launch-beam{stroke:var(--tg-line-2);stroke-width:4;opacity:0;filter:drop-shadow(0 0 12px var(--tg-line-2));stroke-dasharray:18 9;animation:tgBeam .7s ease both}

.tg-left-copy{position:absolute;left:4.5%;top:20%;z-index:4;width:min(390px,30vw);display:grid;gap:7px;pointer-events:none}
.tg-left-copy::after{content:"";height:2px;width:min(360px,27vw);margin-top:9px;background:linear-gradient(90deg,var(--tg-line),var(--tg-line-2),transparent);filter:drop-shadow(0 0 7px var(--tg-glow))}
.tg-micro{font:700 9px/1 Consolas,monospace;letter-spacing:.34em;color:var(--tg-line-2);opacity:.88}
.tg-left-copy>strong{font:300 clamp(28px,3vw,52px)/.95 "Segoe UI",Arial,sans-serif;letter-spacing:.13em;text-transform:uppercase;color:var(--tg-ink)}
.tg-caption{font:600 10px/1.3 Consolas,monospace;letter-spacing:.18em;color:var(--tg-muted)}
.tg-directory{margin-top:16px;max-width:100%;min-height:34px;color:var(--tg-line);font:600 9px/1.55 Consolas,monospace;letter-spacing:.12em;text-transform:uppercase;opacity:.86;overflow-wrap:anywhere}
.tg-shimmer-text{background:linear-gradient(100deg,var(--tg-ink) 0 35%,var(--tg-line-2) 48%,#fff 51%,var(--tg-line) 54%,var(--tg-ink) 68% 100%);background-size:260% 100%;background-position:100% 0;-webkit-background-clip:text;background-clip:text;color:transparent!important;animation:tgTextShine 6.5s linear infinite;text-shadow:none!important}

/* Michael Klementz | 25.09.2026 11:29 Uhr – Der CORE ist ein eigener Layer mit echten Außenringen; seine sichtbare Gesamtgröße zählt später auch für das Responsive-Clamping. */
.tg-core-orbit{position:absolute;z-index:8;width:142px;height:142px;transform:translate(-50%,-50%) scale(var(--scale,1));border-radius:50%;display:grid;place-items:center;color:var(--tg-ink);background:radial-gradient(circle,color-mix(in srgb,var(--tg-line) 17%,var(--tg-panel)) 0 24%,var(--tg-panel-2) 25% 44%,transparent 45%);box-shadow:0 0 0 1px var(--tg-edge),0 0 22px var(--tg-glow),inset 0 0 28px color-mix(in srgb,var(--tg-line) 13%,transparent)}
.tg-core-orbit b{font:800 34px/1 Consolas,monospace;letter-spacing:.08em;color:var(--tg-line-2);text-shadow:0 0 15px var(--tg-line-2);z-index:3}
.tg-core-orbit>span{position:absolute;bottom:25px;font:700 8px/1 Consolas,monospace;letter-spacing:.3em;color:var(--tg-muted);z-index:3}
.tg-orbit{position:absolute;border-radius:50%;border:2px solid color-mix(in srgb,var(--tg-line) 65%,transparent);pointer-events:none}
.tg-orbit::before,.tg-orbit::after{content:"";position:absolute;width:7px;height:7px;border-radius:50%;background:var(--tg-line-2);box-shadow:0 0 10px var(--tg-line-2)}
.tg-orbit::before{left:50%;top:-4px}.tg-orbit::after{right:-4px;top:50%}
.tg-orbit-a{inset:-9px;border-style:dashed;animation:tgSpin 7s linear infinite}.tg-orbit-b{inset:-21px;border-width:1px;border-color:color-mix(in srgb,var(--tg-line-2) 48%,transparent);animation:tgSpinR 11s linear infinite}.tg-orbit-c{inset:-34px;border-width:1px;border-color:color-mix(in srgb,var(--tg-line) 28%,transparent);animation:tgPulseRing 3s ease-in-out infinite}
.tg-core-pulse{position:absolute;inset:28px;border-radius:50%;border:2px solid var(--tg-line-2);box-shadow:0 0 18px var(--tg-glow),inset 0 0 16px var(--tg-glow);animation:tgCorePulse 2.2s ease-in-out infinite}

.tg-node-layer{position:absolute;inset:0;z-index:9;pointer-events:none}
.tg-node{position:absolute;left:var(--x);top:var(--y);width:116px;height:102px;transform:translate(-50%,-50%);perspective:520px;padding:0;border:0;background:transparent!important;color:var(--tg-ink);pointer-events:auto;cursor:pointer;overflow:visible;touch-action:none;filter:none;transition:filter .2s ease,transform .2s ease;z-index:5}
.tg-node[hidden]{display:none!important}
.tg-node-frame{position:absolute;inset:0;display:block;clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%);background:linear-gradient(135deg,var(--tg-line),var(--tg-line-2) 48%,var(--tg-line));filter:drop-shadow(0 0 7px var(--tg-glow));transition:filter .2s ease,transform .2s ease}
.tg-node-surface{position:absolute;inset:5px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:11px 12px;clip-path:inherit;background:linear-gradient(145deg,color-mix(in srgb,var(--tg-line) 9%,var(--tg-panel-2)),var(--tg-panel-2) 58%,color-mix(in srgb,var(--tg-line-2) 5%,var(--tg-panel)));box-shadow:inset 0 0 28px rgba(0,0,0,.24)}
.tg-node-surface::after{content:"";position:absolute;left:12px;right:12px;bottom:10px;height:1px;background:linear-gradient(90deg,transparent,var(--tg-line-2),transparent);background-size:220% 100%;animation:tgRail 3.2s linear infinite;opacity:.82}
.tg-node-icon{display:block;width:28px;height:28px;background:var(--tg-icon) center/contain no-repeat;filter:drop-shadow(0 0 8px var(--tg-glow));opacity:.94;transition:transform .2s ease,filter .2s ease}
.tg-node strong{display:block;max-width:90px;font:800 9px/1.08 "Segoe UI",Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;overflow-wrap:anywhere;text-align:center}
.tg-node small{display:block;max-width:92px;color:var(--tg-muted);font:700 6.8px/1.1 Consolas,monospace;letter-spacing:.12em;text-transform:uppercase;overflow-wrap:anywhere;text-align:center}
.tg-node em{position:absolute;right:17px;top:14px;min-width:18px;height:18px;padding:0 5px;display:grid;place-items:center;border:1px solid var(--tg-edge);border-radius:50%;background:var(--tg-panel);color:var(--tg-line-2);font:800 8px/1 Consolas,monospace;font-style:normal;box-shadow:0 0 10px var(--tg-glow)}
.tg-node-badge{position:absolute;right:10px;top:8px;z-index:20;min-width:21px;height:21px;padding:0 5px;display:grid;place-items:center;border-radius:50%;background:var(--tg-danger);color:#fff;font:800 10px/1 Arial,sans-serif;box-shadow:0 0 14px rgba(255,67,101,.6)}
.tg-node-folder{width:124px;height:108px;z-index:7}
.tg-node-folder .tg-node-frame{filter:drop-shadow(0 0 11px var(--tg-glow))}
.tg-stack-slab{position:absolute;inset:1px;clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%);background:linear-gradient(135deg,var(--tg-line),var(--tg-line-2));opacity:.18;transform:translate3d(0,0,0) rotateY(0) scale(1);transform-origin:50% 50%;transition:transform .24s cubic-bezier(.18,.82,.24,1),opacity .24s ease,filter .24s ease;pointer-events:none;filter:drop-shadow(0 0 4px var(--tg-glow))}
.tg-stack-slab::after{content:"";position:absolute;inset:4px;clip-path:inherit;background:var(--tg-panel-2)}
.tg-stack-slab.s1{z-index:-1}.tg-stack-slab.s2{z-index:-2}.tg-stack-slab.s3{z-index:-3}
.tg-node-folder.stack-preview .tg-stack-slab.s1,.tg-node-folder:hover .tg-stack-slab.s1{transform:translate3d(12px,-9px,0) rotateY(-12deg) scale(.97);opacity:.64;filter:drop-shadow(0 0 10px var(--tg-glow))}
.tg-node-folder.stack-preview .tg-stack-slab.s2,.tg-node-folder:hover .tg-stack-slab.s2{transform:translate3d(23px,-17px,0) rotateY(-20deg) scale(.93);opacity:.43;filter:drop-shadow(0 0 8px var(--tg-glow))}
.tg-node-folder.stack-preview .tg-stack-slab.s3,.tg-node-folder:hover .tg-stack-slab.s3{transform:translate3d(34px,-25px,0) rotateY(-27deg) scale(.89);opacity:.25;filter:drop-shadow(0 0 6px var(--tg-glow))}
.tg-node-folder.is-open .tg-node-frame{filter:drop-shadow(0 0 17px var(--tg-line-2))}
.tg-node-folder.is-open .tg-node-surface{background:radial-gradient(circle at 50% 40%,color-mix(in srgb,var(--tg-line-2) 16%,transparent),transparent 58%),var(--tg-panel-2)}
.tg-node:hover:not(.is-dragging),.tg-node:focus-visible:not(.is-dragging){transform:translate(-50%,-50%) scale(1.08);z-index:50;filter:drop-shadow(0 0 13px var(--tg-glow))}
.tg-node:hover .tg-node-frame,.tg-node:focus-visible .tg-node-frame{filter:drop-shadow(0 0 17px var(--tg-line-2))}
.tg-node:hover .tg-node-icon,.tg-node:focus-visible .tg-node-icon{transform:scale(1.12) rotate(-3deg);filter:drop-shadow(0 0 13px var(--tg-line-2))}
.tg-node.is-dragging{z-index:100;transform:translate(-50%,-50%) scale(1.05);cursor:grabbing;filter:drop-shadow(0 0 20px var(--tg-glow))}
.tg-node.node-in{animation:tgNodeIn .24s cubic-bezier(.16,.84,.24,1) var(--delay,0ms) both}
.tg-node.node-out{animation:tgNodeOut .22s ease var(--delay,0ms) both}
.tg-node.is-fire .tg-node-frame{animation:tgNodeFire .52s ease both}

.tg-shape-circle{width:96px;height:96px;border-radius:50%}
.tg-shape-circle .tg-node-frame{inset:0;clip-path:none;border-radius:50%;background:conic-gradient(from 0deg,var(--tg-line),transparent 18%,var(--tg-line-2) 40%,transparent 62%,var(--tg-line) 82%,transparent);animation:tgSpin 5s linear infinite;filter:drop-shadow(0 0 10px var(--tg-glow))}
.tg-shape-circle .tg-node-surface{inset:7px;clip-path:none;border-radius:50%;background:radial-gradient(circle at 50% 45%,color-mix(in srgb,var(--tg-line) 12%,var(--tg-panel-2)),var(--tg-panel-2) 70%)}
.tg-shape-circle .tg-node-surface::after{display:none}

.tg-hover-readout{position:absolute;right:3.8%;top:7%;z-index:4;width:min(280px,24vw);display:grid;gap:3px;text-align:right;pointer-events:none}
.tg-hover-readout>span{font:700 8px/1 Consolas,monospace;letter-spacing:.28em;color:var(--tg-line-2)}
.tg-hover-readout>strong{font:400 20px/1.05 "Segoe UI",Arial,sans-serif;letter-spacing:.1em;color:var(--tg-ink);text-transform:uppercase}
.tg-hover-readout>small{font:600 8px/1.2 Consolas,monospace;letter-spacing:.16em;color:var(--tg-muted)}

.tg-window-dock{position:absolute;right:18px;bottom:16px;z-index:1600;display:flex;align-items:center;justify-content:flex-end;gap:7px;max-width:70vw;pointer-events:auto}
.tg-window-dock[hidden]{display:none!important}
.tg-dock-node{position:relative;min-width:82px;max-width:150px;height:34px;padding:0 13px;border:1px solid var(--tg-edge)!important;background:var(--tg-panel-2)!important;color:var(--tg-ink)!important;clip-path:polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px);font:700 8px/1 Consolas,monospace;letter-spacing:.08em;text-transform:uppercase;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;box-shadow:0 0 12px var(--tg-glow)!important}
.tg-dock-node:hover{color:var(--tg-line-2)!important;box-shadow:0 0 18px var(--tg-glow)!important}

/* TechGrid internal windows: independent mechanics, visible resize zones and a full-desktop maximize mode. */
body.techgrid-fui-active .win95{
  position:absolute!important;overflow:visible!important;z-index:700!important;min-width:260px!important;min-height:160px!important;max-width:calc(100% - 12px)!important;max-height:calc(100% - 12px)!important;background:var(--tg-panel-2)!important;color:var(--tg-ink)!important;border:0!important;border-radius:0!important;box-shadow:0 24px 58px rgba(0,0,0,.58),0 0 0 2px var(--tg-line),0 0 28px var(--tg-glow)!important;clip-path:none!important;transform-origin:var(--tg-origin-x,50%) var(--tg-origin-y,50%)!important
}
body.techgrid-fui-active .win95::before{content:"";position:absolute;inset:-2px;z-index:5;pointer-events:none;background:linear-gradient(90deg,var(--tg-line) 0 72px,transparent 72px calc(100% - 96px),var(--tg-line-2) calc(100% - 96px) 100%) top/100% 2px no-repeat,linear-gradient(90deg,var(--tg-line-2) 0 42px,transparent 42px calc(100% - 70px),var(--tg-line) calc(100% - 70px) 100%) bottom/100% 2px no-repeat,linear-gradient(var(--tg-line),transparent 64%) left/2px 100% no-repeat,linear-gradient(transparent 36%,var(--tg-line-2)) right/2px 100% no-repeat;filter:drop-shadow(0 0 7px var(--tg-glow));}
body.techgrid-fui-active .win95::after{content:"";position:absolute;inset:5px;z-index:4;pointer-events:none;border:1px solid color-mix(in srgb,var(--tg-line) 22%,transparent);clip-path:polygon(14px 0,calc(100% - 28px) 0,calc(100% - 18px) 10px,100% 10px,100% calc(100% - 14px),calc(100% - 14px) 100%,28px 100%,18px calc(100% - 10px),0 calc(100% - 10px),0 14px);}
body.techgrid-fui-active .win95[hidden]{display:none!important}
body.techgrid-fui-active .win95.window-active{z-index:1600!important;box-shadow:0 26px 64px rgba(0,0,0,.64),0 0 0 2px var(--tg-line-2),0 0 42px var(--tg-glow)!important}
body.techgrid-fui-active .win95.window-minimized{display:none!important}
body.techgrid-fui-active .win95.window-maximized{position:absolute!important;left:12px!important;top:12px!important;right:auto!important;bottom:auto!important;width:calc(100% - 24px)!important;height:calc(100% - 24px)!important;max-width:none!important;max-height:none!important;margin:0!important;z-index:1700!important}
body.techgrid-fui-active .win95>.win-title{position:relative!important;height:40px!important;padding:0 10px 0 24px!important;background:linear-gradient(90deg,color-mix(in srgb,var(--tg-line) 16%,transparent),transparent 45%),var(--tg-card)!important;color:var(--tg-ink)!important;border:0!important;border-bottom:2px solid var(--tg-line)!important;box-sizing:border-box!important;clip-path:none!important;overflow:hidden!important}
body.techgrid-fui-active .win95>.win-title::before{content:"";position:absolute;left:0;top:0;width:74px;height:4px;background:linear-gradient(90deg,var(--tg-line-2),var(--tg-line),transparent);box-shadow:0 0 12px var(--tg-glow)}
body.techgrid-fui-active .win95>.win-title::after{content:"";position:absolute;left:24px;right:96px;bottom:0;height:2px;background:linear-gradient(90deg,var(--tg-line),var(--tg-line-2),transparent);background-size:240% 100%;animation:tgRail 3.2s linear infinite}
body.techgrid-fui-active .win-title-text{font:800 10px/1 Consolas,monospace!important;letter-spacing:.16em!important;text-transform:uppercase!important;color:var(--tg-line-2)!important;text-shadow:0 0 10px var(--tg-glow)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body.techgrid-fui-active .win-controls{position:relative;z-index:25;display:flex!important;gap:5px!important}
body.techgrid-fui-active .win-btn{width:24px!important;height:22px!important;min-width:24px!important;padding:0!important;border:1px solid var(--tg-edge)!important;border-radius:0!important;background:var(--tg-button)!important;color:var(--tg-ink)!important;clip-path:polygon(5px 0,100% 0,100% calc(100% - 5px),calc(100% - 5px) 100%,0 100%,0 5px)!important;box-shadow:0 0 8px var(--tg-glow)!important;font:800 11px/1 Arial,sans-serif!important;pointer-events:auto!important}
body.techgrid-fui-active .win-btn:hover{background:var(--tg-button-hover)!important;color:var(--tg-line-2)!important;box-shadow:0 0 15px var(--tg-glow)!important}
body.techgrid-fui-active .win95>.win-body,
body.techgrid-fui-active .win95>.alert-content{height:calc(100% - 40px)!important;min-height:0!important;max-height:none!important;overflow:auto!important;background:linear-gradient(180deg,color-mix(in srgb,var(--tg-line) 4%,transparent),transparent 32%),var(--tg-panel-2)!important;color:var(--tg-ink)!important;box-sizing:border-box!important;clip-path:polygon(0 0,100% 0,100% calc(100% - 18px),calc(100% - 18px) 100%,18px 100%,0 calc(100% - 18px))!important}
body.techgrid-fui-active .win95>.win-body::-webkit-scrollbar,body.techgrid-fui-active .prae-content::-webkit-scrollbar{width:10px;height:10px}body.techgrid-fui-active .win95>.win-body::-webkit-scrollbar-track,body.techgrid-fui-active .prae-content::-webkit-scrollbar-track{background:color-mix(in srgb,var(--tg-panel) 85%,transparent)}body.techgrid-fui-active .win95>.win-body::-webkit-scrollbar-thumb,body.techgrid-fui-active .prae-content::-webkit-scrollbar-thumb{background:linear-gradient(var(--tg-line),var(--tg-line-2));border:2px solid var(--tg-panel-2)}
body.techgrid-fui-active .win-resizer{z-index:2500!important;pointer-events:auto!important;background:transparent!important;touch-action:none!important}
body.techgrid-fui-active .win-resizer-n{top:-7px!important;height:14px!important}.techgrid-fui-active .win-resizer-s{bottom:-7px!important;height:14px!important}.techgrid-fui-active .win-resizer-e{right:-7px!important;width:14px!important}.techgrid-fui-active .win-resizer-w{left:-7px!important;width:14px!important}.techgrid-fui-active .win-resizer-ne,.techgrid-fui-active .win-resizer-nw,.techgrid-fui-active .win-resizer-se,.techgrid-fui-active .win-resizer-sw{width:18px!important;height:18px!important}
body.techgrid-fui-active .gate-app-frame{width:100%!important;height:100%!important;min-height:0!important;border:0!important;background:transparent!important}
body.techgrid-fui-active .gate-app-window>.win-body{overflow:hidden!important;padding:0!important}
body.techgrid-fui-active .praetorian-control-window{display:flex!important;flex-direction:column!important;overflow:visible!important}
body.techgrid-fui-active .praetorian-control-window>.hero-banner{flex:0 0 auto!important}
body.techgrid-fui-active .praetorian-control-window>.prae-main{flex:1 1 auto!important;min-height:0!important;overflow:hidden!important;background:transparent!important;grid-template-columns:1fr!important}
body.techgrid-fui-active .praetorian-control-window .prae-content{height:100%!important;min-height:0!important;overflow:auto!important;padding:14px!important;color:var(--tg-ink)!important;background:transparent!important}
body.techgrid-fui-active.techgrid-fui-ready .prae-sidebar{display:none!important}
body.techgrid-fui-active .hero-banner{min-height:84px!important;padding:15px 20px!important;display:grid!important;grid-template-columns:auto 1fr auto!important;align-items:center!important;gap:18px!important;background:linear-gradient(90deg,color-mix(in srgb,var(--tg-line) 8%,transparent),transparent),var(--tg-card)!important;border-bottom:1px solid var(--tg-edge)!important;color:var(--tg-ink)!important}
body.techgrid-fui-active .hero-banner h1{font:300 28px/1 "Segoe UI",Arial,sans-serif!important;letter-spacing:.11em!important;color:var(--tg-ink)!important;text-shadow:0 0 16px var(--tg-glow)!important}
body.techgrid-fui-active .hero-banner .subline{font:700 9px/1.3 Consolas,monospace!important;letter-spacing:.15em!important;color:var(--tg-line-2)!important}
body.techgrid-fui-active .hero-banner .hero-right{font:700 8px/1.25 Consolas,monospace!important;color:var(--tg-muted)!important;text-transform:uppercase!important}

body.techgrid-fui-active .table-frame,
body.techgrid-fui-active .info-frame,
body.techgrid-fui-active .admin-details,
body.techgrid-fui-active .retro-fieldset,
body.techgrid-fui-active .gate-collapse,
body.techgrid-fui-active .os-msg,
body.techgrid-fui-active .empty-note,
body.techgrid-fui-active .portal-item,
body.techgrid-fui-active .chat-card{background:linear-gradient(180deg,color-mix(in srgb,var(--tg-line) 4%,transparent),transparent),var(--tg-card)!important;color:var(--tg-ink)!important;border:1px solid color-mix(in srgb,var(--tg-line) 25%,transparent)!important;box-shadow:inset 0 0 22px rgba(0,0,0,.16),0 0 12px rgba(0,0,0,.12)!important;clip-path:polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px)!important;border-radius:0!important}
body.techgrid-fui-active .section-caption,
body.techgrid-fui-active .gate-section-title,
body.techgrid-fui-active .admin-details>summary{background:linear-gradient(90deg,color-mix(in srgb,var(--tg-line) 15%,transparent),transparent)!important;color:var(--tg-line-2)!important;border-bottom:1px solid var(--tg-edge)!important;font:800 10px/1.2 Consolas,monospace!important;letter-spacing:.1em!important;text-transform:uppercase!important}
body.techgrid-fui-active .os-table{background:var(--tg-card)!important;color:var(--tg-ink)!important;border-color:color-mix(in srgb,var(--tg-line) 22%,transparent)!important}
body.techgrid-fui-active .os-table th{background:linear-gradient(90deg,color-mix(in srgb,var(--tg-line) 12%,transparent),transparent)!important;color:var(--tg-line-2)!important;border-color:var(--tg-edge)!important;text-transform:uppercase!important;font:800 9px/1.2 Consolas,monospace!important;letter-spacing:.07em!important}
body.techgrid-fui-active .os-table td{background:transparent!important;color:var(--tg-ink)!important;border-color:color-mix(in srgb,var(--tg-line) 15%,transparent)!important}
body.techgrid-fui-active .os-table tr:hover td{background:color-mix(in srgb,var(--tg-line) 8%,transparent)!important}
body.techgrid-fui-active label{color:var(--tg-muted)!important;font-weight:600!important}
body.techgrid-fui-active input,body.techgrid-fui-active textarea,body.techgrid-fui-active select,body.techgrid-fui-active .os-input,body.techgrid-fui-active .os-textarea{background:color-mix(in srgb,var(--tg-panel-2) 88%,transparent)!important;color:var(--tg-ink)!important;border:1px solid var(--tg-edge)!important;border-radius:0!important;clip-path:polygon(7px 0,100% 0,100% calc(100% - 7px),calc(100% - 7px) 100%,0 100%,0 7px)!important;box-shadow:inset 0 0 14px rgba(0,0,0,.14)!important}
body.techgrid-fui-active input:focus,body.techgrid-fui-active textarea:focus,body.techgrid-fui-active select:focus{outline:none!important;border-color:var(--tg-line-2)!important;box-shadow:0 0 0 1px var(--tg-line-2),0 0 12px var(--tg-glow)!important}
body.techgrid-fui-active .os-btn,body.techgrid-fui-active button:not(.tg-node):not(.tg-dock-node):not(.win-btn){border-radius:0!important;clip-path:polygon(7px 0,100% 0,100% calc(100% - 7px),calc(100% - 7px) 100%,0 100%,0 7px)!important;background:var(--tg-button)!important;color:var(--tg-ink)!important;border:1px solid var(--tg-edge)!important;box-shadow:0 0 8px var(--tg-glow)!important;text-transform:uppercase!important;letter-spacing:.04em!important}
body.techgrid-fui-active .os-btn:hover,body.techgrid-fui-active button:not(.tg-node):not(.tg-dock-node):not(.win-btn):hover{background:var(--tg-button-hover)!important;color:var(--tg-line-2)!important;box-shadow:0 0 14px var(--tg-glow)!important}

/* Tool iframes receive the same TechGrid module language. */
.user-theme-techgrid-amber .legacy-tool,
.user-theme-techgrid-aqua .legacy-tool,
.user-theme-techgrid-light .legacy-tool,
.user-theme-techgrid-amber .calc-tool-shell,
.user-theme-techgrid-aqua .calc-tool-shell,
.user-theme-techgrid-light .calc-tool-shell,
.user-theme-techgrid-amber .qr-tool-panel,
.user-theme-techgrid-aqua .qr-tool-panel,
.user-theme-techgrid-light .qr-tool-panel,
.user-theme-techgrid-amber .code-guide-shell,
.user-theme-techgrid-aqua .code-guide-shell,
.user-theme-techgrid-light .code-guide-shell,
.user-theme-techgrid-amber .secure-mail-app,
.user-theme-techgrid-aqua .secure-mail-app,
.user-theme-techgrid-light .secure-mail-app,
.user-theme-techgrid-amber .trace-tool,
.user-theme-techgrid-aqua .trace-tool,
.user-theme-techgrid-light .trace-tool,
.user-theme-techgrid-amber .records-tool,
.user-theme-techgrid-aqua .records-tool,
.user-theme-techgrid-light .records-tool,
.user-theme-techgrid-amber .mozart-tool,
.user-theme-techgrid-aqua .mozart-tool,
.user-theme-techgrid-light .mozart-tool{background:linear-gradient(180deg,color-mix(in srgb,var(--tg-line) 4%,transparent),transparent),var(--tg-panel)!important;color:var(--tg-ink)!important;border-color:var(--tg-edge)!important;box-shadow:inset 0 0 32px rgba(0,0,0,.16)!important}
.user-theme-techgrid-amber .legacy-menu,.user-theme-techgrid-aqua .legacy-menu,.user-theme-techgrid-light .legacy-menu,
.user-theme-techgrid-amber .record-menu,.user-theme-techgrid-aqua .record-menu,.user-theme-techgrid-light .record-menu,
.user-theme-techgrid-amber .mail-menubar,.user-theme-techgrid-aqua .mail-menubar,.user-theme-techgrid-light .mail-menubar,
.user-theme-techgrid-amber .qr-tool-head,.user-theme-techgrid-aqua .qr-tool-head,.user-theme-techgrid-light .qr-tool-head,
.user-theme-techgrid-amber .calc-panel-head,.user-theme-techgrid-aqua .calc-panel-head,.user-theme-techgrid-light .calc-panel-head,
.user-theme-techgrid-amber .code-guide-head,.user-theme-techgrid-aqua .code-guide-head,.user-theme-techgrid-light .code-guide-head{background:linear-gradient(90deg,color-mix(in srgb,var(--tg-line) 14%,transparent),transparent),var(--tg-card)!important;color:var(--tg-line-2)!important;border-color:var(--tg-edge)!important;text-transform:uppercase!important;letter-spacing:.08em!important}

/* Film-Easter-Eggs keep their intended retro design. */
body.techgrid-fui-active .pizza-net-window,
body.techgrid-fui-active .netchat-window{clip-path:none!important;border-radius:0!important}
body.techgrid-fui-active .pizza-net-window>.win-title,
body.techgrid-fui-active .netchat-window>.win-title{height:28px!important;padding:0 6px!important}


body.techgrid-fui-active .win95.window-closing{animation:tgWindowToNode .26s cubic-bezier(.4,0,.7,.2) both!important}
@keyframes tgWindowFromNode{0%{opacity:0;transform:scale(.08) rotate(-3deg);filter:brightness(2.2) blur(2px)}38%{opacity:1;filter:brightness(1.5) blur(0)}72%{transform:scale(1.018) rotate(0)}100%{opacity:1;transform:scale(1);filter:brightness(1)}}
@keyframes tgWindowToNode{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.08) rotate(2deg);filter:brightness(2) blur(2px)}}
@keyframes tgNodeIn{0%{opacity:0;transform:translate(-50%,-50%) translateY(7px) scale(.96)}100%{opacity:1;transform:translate(-50%,-50%) translateY(0) scale(1)}}
@keyframes tgNodeOut{0%{opacity:1;transform:translate(-50%,-50%) scale(1)}100%{opacity:0;transform:translate(-50%,-50%) translateX(25px) rotateY(35deg) scale(.65)}}
@keyframes tgNodeFire{0%{filter:drop-shadow(0 0 8px var(--tg-glow))}40%{filter:drop-shadow(0 0 28px var(--tg-line-2)) brightness(1.7)}100%{filter:drop-shadow(0 0 8px var(--tg-glow))}}
@keyframes tgBeam{0%{opacity:0;stroke-dashoffset:80}20%{opacity:1}100%{opacity:0;stroke-dashoffset:0}}
@keyframes tgDash{to{stroke-dashoffset:-52}}
@keyframes tgRail{to{background-position:220% 0}}
@keyframes tgRailFlow{0%,100%{opacity:.42;filter:drop-shadow(0 0 4px var(--tg-glow))}50%{opacity:1;filter:drop-shadow(0 0 13px var(--tg-glow))}}
@keyframes tgTextShine{0%{background-position:120% 0}100%{background-position:-120% 0}}
@keyframes tgAmbientPulse{0%,100%{opacity:.64}50%{opacity:.95}}
@keyframes tgCorePulse{0%,100%{transform:scale(.94);opacity:.56}50%{transform:scale(1.08);opacity:1}}

@media(max-width:980px){
  body.techgrid-fui-active .desktop{overflow:auto!important}
  .techgrid-desktop-v3{min-width:760px;min-height:620px}
  .tg-left-copy{left:24px;top:24px;width:300px}.tg-hover-readout{right:22px;top:24px;width:220px}
  .tg-left-copy>strong{font-size:28px}.tg-directory{display:none}
  .tg-window-dock{position:fixed;right:10px;bottom:10px}
}
@media(prefers-reduced-motion:reduce){
  .techgrid-desktop-v3 *,body.techgrid-fui-active .win95{animation-duration:.001ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important}
}

.user-theme-techgrid-crimson,
.user-theme-techgrid-violet,
.user-theme-techgrid-matrix{
  --tg-shadow:0 16px 34px rgba(0,0,0,.28),0 0 0 1px rgba(255,255,255,.04),0 0 22px var(--tg-glow);
  --tg-danger:#ff4365;
}
.user-theme-techgrid-crimson{--tg-bg:#090305;--tg-bg2:#16070a;--tg-panel:rgba(25,6,10,.78);--tg-panel-2:rgba(33,8,13,.92);--tg-card:rgba(34,8,14,.84);--tg-ink:#fff1ea;--tg-muted:#f0bbb0;--tg-line:#ff5b4d;--tg-line-2:#ffb743;--tg-glow:rgba(255,91,77,.34);--tg-grid:rgba(255,91,77,.07);--tg-edge:rgba(255,148,110,.54);--tg-button:rgba(60,14,14,.84);--tg-button-hover:rgba(92,24,17,.95)}
.user-theme-techgrid-violet{--tg-bg:#05030b;--tg-bg2:#10041d;--tg-panel:rgba(16,5,29,.78);--tg-panel-2:rgba(23,7,39,.92);--tg-card:rgba(20,7,36,.82);--tg-ink:#f4efff;--tg-muted:#cebde9;--tg-line:#8f5bff;--tg-line-2:#ff4de1;--tg-glow:rgba(143,91,255,.32);--tg-grid:rgba(151,92,255,.07);--tg-edge:rgba(196,125,255,.55);--tg-button:rgba(25,9,49,.85);--tg-button-hover:rgba(46,18,83,.95)}
.user-theme-techgrid-matrix{--tg-bg:#010604;--tg-bg2:#01110d;--tg-panel:rgba(4,18,14,.78);--tg-panel-2:rgba(4,25,20,.92);--tg-card:rgba(6,24,19,.82);--tg-ink:#eafff8;--tg-muted:#9ed5be;--tg-line:#00ffb2;--tg-line-2:#31b3ff;--tg-glow:rgba(0,255,178,.29);--tg-grid:rgba(0,255,178,.07);--tg-edge:rgba(54,255,202,.52);--tg-button:rgba(6,38,28,.84);--tg-button-hover:rgba(10,59,44,.96)}

body.os-body:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-light,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-matrix,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) .desktop{background-size:cover!important;background-repeat:no-repeat!important;overflow:hidden!important}
body.os-body:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-light,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-matrix,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) .os-topbar,
body.os-body:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-light,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-matrix,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) .footer-note,
body.os-body:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-light,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-matrix,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) .os-taskbar{display:none!important}

.gatekeeper-os.user-theme-techgrid-crimson .desktop{background:linear-gradient(180deg,#060204 0%,#14070b 100%),url("./wallpapers/techgrid-crimson-gatekeeper.svg") center/cover no-repeat!important}
.praetorian-os.user-theme-techgrid-crimson .desktop{background:linear-gradient(180deg,#050203 0%,#110609 100%),url("./wallpapers/techgrid-crimson-praetorian.svg") center/cover no-repeat!important}
.gatekeeper-os.user-theme-techgrid-violet .desktop{background:linear-gradient(180deg,#05030b 0%,#11061d 100%),url("./wallpapers/techgrid-violet-gatekeeper.svg") center/cover no-repeat!important}
.praetorian-os.user-theme-techgrid-violet .desktop{background:linear-gradient(180deg,#05020a 0%,#10051b 100%),url("./wallpapers/techgrid-violet-praetorian.svg") center/cover no-repeat!important}
.gatekeeper-os.user-theme-techgrid-matrix .desktop{background:linear-gradient(180deg,#010604 0%,#02130f 100%),url("./wallpapers/techgrid-matrix-gatekeeper.svg") center/cover no-repeat!important}
.praetorian-os.user-theme-techgrid-matrix .desktop{background:linear-gradient(180deg,#010503 0%,#02110c 100%),url("./wallpapers/techgrid-matrix-praetorian.svg") center/cover no-repeat!important}

body.techgrid-fui-active .techgrid-desktop-v3{position:absolute;inset:0;overflow:hidden;color:var(--tg-ink);font-family:"Segoe UI",Inter,Arial,sans-serif}
body.techgrid-fui-active .techgrid-desktop-v3::before{top:44%;opacity:.72}
body.techgrid-fui-active .techgrid-desktop-v3::after{top:calc(44% - 44px);opacity:.65}
body.techgrid-fui-active .tg-left-copy{left:48px;bottom:34px;top:auto;max-width:34vw;opacity:.92}
body.techgrid-fui-active .tg-left-copy strong{font-size:24px;letter-spacing:.28em}
body.techgrid-fui-active .tg-directory{padding:0;border:0;background:transparent!important;box-shadow:none!important}
body.techgrid-fui-active .tg-hover-readout{right:36px;bottom:34px;border-radius:20px;background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,.015)),var(--tg-panel-2);border:1px solid var(--tg-edge);box-shadow:0 0 20px var(--tg-glow)}
body.techgrid-fui-active .tg-node-layer{overflow:visible}
body.techgrid-fui-active .tg-node{width:128px;height:112px;background:transparent!important;outline:none!important}
body.techgrid-fui-active .tg-node-frame{inset:0;clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%);background:linear-gradient(135deg,var(--tg-line) 0,var(--tg-line-2) 48%,var(--tg-line) 100%);filter:drop-shadow(0 0 12px var(--tg-glow));transition:filter .22s ease,transform .22s ease}
body.techgrid-fui-active .tg-node-frame::before{content:"";position:absolute;inset:2px;clip-path:inherit;background:linear-gradient(145deg,color-mix(in srgb,var(--tg-line) 13%,transparent),transparent 42%,color-mix(in srgb,var(--tg-line-2) 16%,transparent));opacity:.95}
body.techgrid-fui-active .tg-node-surface{inset:5px;clip-path:inherit;background:linear-gradient(145deg,color-mix(in srgb,var(--tg-line) 8%,var(--tg-panel-2)),var(--tg-panel-2) 57%,color-mix(in srgb,var(--tg-line-2) 6%,var(--tg-panel)));box-shadow:inset 0 0 28px rgba(0,0,0,.24), inset 0 0 0 1px rgba(255,255,255,.04)}
body.techgrid-fui-active .tg-node-surface::before{content:"";position:absolute;inset:11px 14px auto 14px;height:1px;background:linear-gradient(90deg,transparent,var(--tg-line),var(--tg-line-2),transparent);background-size:200% 100%;animation:tgRail 3.8s linear infinite;opacity:.9}
body.techgrid-fui-active .tg-node strong{max-width:94px;font:800 9.5px/1.1 "Segoe UI",Arial,sans-serif;letter-spacing:.1em;text-shadow:0 0 10px var(--tg-glow)}
body.techgrid-fui-active .tg-node small{max-width:98px;font:700 7px/1.15 Consolas,monospace;letter-spacing:.12em;opacity:.95}
body.techgrid-fui-active .tg-node:hover:not(.is-dragging),body.techgrid-fui-active .tg-node:focus-visible:not(.is-dragging){transform:translate(-50%,-50%) scale(1.08)!important;z-index:80;filter:drop-shadow(0 0 16px var(--tg-glow))}
body.techgrid-fui-active .tg-node:hover .tg-node-frame,body.techgrid-fui-active .tg-node.is-hover .tg-node-frame{filter:drop-shadow(0 0 18px var(--tg-line-2));transform:translateZ(0) rotateX(8deg)}
body.techgrid-fui-active .tg-node-folder{width:136px;height:118px;z-index:8}
body.techgrid-fui-active .tg-node-folder .tg-stack-slab{position:absolute;inset:0;clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%);background:linear-gradient(135deg,color-mix(in srgb,var(--tg-line) 14%,transparent),color-mix(in srgb,var(--tg-line-2) 20%,transparent));border:1px solid color-mix(in srgb,var(--tg-line-2) 44%,transparent);opacity:.0;pointer-events:none;transition:transform .22s ease,opacity .22s ease,filter .22s ease}
body.techgrid-fui-active .tg-node-folder .tg-stack-slab.s1{transform:translate3d(10px,-8px,0) scale(.96);opacity:.22}
body.techgrid-fui-active .tg-node-folder .tg-stack-slab.s2{transform:translate3d(21px,-15px,0) scale(.92);opacity:.15}
body.techgrid-fui-active .tg-node-folder .tg-stack-slab.s3{transform:translate3d(31px,-22px,0) scale(.88);opacity:.09}
body.techgrid-fui-active .tg-node-folder.stack-preview .tg-stack-slab,body.techgrid-fui-active .tg-node-folder:hover .tg-stack-slab{filter:drop-shadow(0 0 11px var(--tg-glow))}
body.techgrid-fui-active .tg-node-folder.is-open .tg-node-frame{filter:drop-shadow(0 0 18px var(--tg-line-2))}
body.techgrid-fui-active .tg-node-folder.is-open .tg-node-surface{background:radial-gradient(circle at 50% 36%,color-mix(in srgb,var(--tg-line-2) 14%,transparent),transparent 42%),linear-gradient(145deg,color-mix(in srgb,var(--tg-line) 8%,var(--tg-panel-2)),var(--tg-panel-2) 57%,color-mix(in srgb,var(--tg-line-2) 6%,var(--tg-panel)))}
body.techgrid-fui-active .tg-shape-circle{width:126px;height:126px}
body.techgrid-fui-active .tg-shape-circle .tg-node-frame{clip-path:none;border-radius:50%;background:conic-gradient(from 0deg,var(--tg-line),transparent 16%,var(--tg-line-2) 38%,transparent 58%,var(--tg-line) 80%,transparent 100%);animation:tgSpin 5s linear infinite;filter:drop-shadow(0 0 14px var(--tg-glow))}
body.techgrid-fui-active .tg-shape-circle .tg-node-surface{clip-path:none;border-radius:50%;inset:7px;background:radial-gradient(circle at 50% 44%,color-mix(in srgb,var(--tg-line) 12%,var(--tg-panel-2)),var(--tg-panel-2) 70%)}
body.techgrid-fui-active .tg-window-dock{position:absolute;left:32px;right:32px;bottom:18px;display:flex;justify-content:flex-start;gap:8px;max-width:none;z-index:1700;pointer-events:auto}
body.techgrid-fui-active .tg-dock-node{padding:8px 14px;clip-path:polygon(11px 0,calc(100% - 11px) 0,100% 50%,calc(100% - 11px) 100%,11px 100%,0 50%);background:var(--tg-button)!important;color:var(--tg-ink)!important;border:1px solid var(--tg-edge)!important;box-shadow:0 0 10px var(--tg-glow)!important}
body.techgrid-fui-active .win95{overflow:hidden!important}
body.techgrid-fui-active .win95>.win-title{position:relative!important;height:42px!important;padding:0 12px 0 24px!important;display:flex!important;align-items:center!important;justify-content:space-between!important}
body.techgrid-fui-active .win-title-text{position:relative;z-index:2;padding-right:10px;flex:1 1 auto}
body.techgrid-fui-active .win-controls{position:relative;z-index:40;display:flex!important;gap:6px!important;align-items:center!important;pointer-events:auto!important;flex:0 0 auto}
body.techgrid-fui-active .win-btn{position:relative!important;z-index:41!important;width:26px!important;height:26px!important;min-width:26px!important;padding:0!important;display:grid!important;place-items:center!important;border:1px solid var(--tg-edge)!important;border-radius:0!important;background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.03)),var(--tg-button)!important;color:var(--tg-ink)!important;clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%)!important;box-shadow:0 0 10px var(--tg-glow)!important;font:800 11px/1 Arial,sans-serif!important;pointer-events:auto!important;cursor:pointer!important}
body.techgrid-fui-active .win-btn:hover{background:linear-gradient(180deg,rgba(255,255,255,.1),rgba(255,255,255,.04)),var(--tg-button-hover)!important;color:var(--tg-line-2)!important;box-shadow:0 0 16px var(--tg-glow)!important;transform:scale(1.06)}
body.techgrid-fui-active .win-btn:active{transform:scale(.98)!important}
body.techgrid-fui-active .win95>.win-body{padding-top:4px!important}
body.techgrid-fui-active .win-body,body.techgrid-fui-active .prae-content,body.techgrid-fui-active .inner-pad{overflow:auto!important;overscroll-behavior:contain}

body.techgrid-fui-active .tg-node.tg-dock-target .tg-node-frame{filter:drop-shadow(0 0 22px var(--tg-line-2)) brightness(1.18)!important}
body.techgrid-fui-active .tg-node.tg-dock-target .tg-node-surface{box-shadow:inset 0 0 30px color-mix(in srgb,var(--tg-line-2) 16%,transparent),0 0 0 1px var(--tg-line-2)!important}
body.techgrid-fui-active .tg-node.tg-dock-ready .tg-node-frame{filter:drop-shadow(0 0 20px var(--tg-line)) brightness(1.12)!important}
body.techgrid-fui-active .tg-node.tg-dock-snap .tg-node-frame{animation:tgHexSnap .4s cubic-bezier(.18,.84,.22,1) both!important}
body.techgrid-fui-active .tg-node.tg-dock-hit .tg-node-frame{animation:tgHexHit .4s ease both!important}
@keyframes tgHexSnap{0%{transform:scale(1)}45%{transform:scale(1.09);filter:drop-shadow(0 0 26px var(--tg-line-2))}100%{transform:scale(1)}}
@keyframes tgHexHit{0%,100%{filter:drop-shadow(0 0 12px var(--tg-glow))}50%{filter:drop-shadow(0 0 28px var(--tg-line-2)) brightness(1.18)}}

body.techgrid-fui-active .tg-dashboard-rail{
  fill:none;
  stroke:var(--tg-line);
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
  opacity:.36;
  stroke-dasharray:18 10 4 10;
  filter:drop-shadow(0 0 5px var(--tg-glow));
  animation:tgDashboardRail 7s linear infinite;
  animation-delay:calc(var(--rail) * -.75s);
}
body.techgrid-fui-active .tg-dashboard-dot{
  fill:var(--tg-line-2);
  opacity:.78;
  filter:drop-shadow(0 0 8px var(--tg-line-2));
  animation:tgDashboardDot 2.4s ease-in-out infinite;
}
body.techgrid-fui-active .tg-telemetry{
  position:absolute;
  z-index:4;
  display:grid;
  gap:3px;
  width:190px;
  padding:7px 9px 8px;
  color:var(--tg-ink);
  pointer-events:none;
  background:linear-gradient(90deg,color-mix(in srgb,var(--tg-line) 7%,transparent),transparent 72%);
  border-left:2px solid var(--tg-line);
  box-shadow:-6px 0 12px -10px var(--tg-glow);
  opacity:.72;
}
body.techgrid-fui-active .tg-telemetry::after{
  content:"";
  height:1px;
  width:100%;
  margin-top:3px;
  background:linear-gradient(90deg,var(--tg-line),var(--tg-line-2),transparent);
  background-size:220% 100%;
  animation:tgRail 4s linear infinite;
}
body.techgrid-fui-active .tg-telemetry>span{
  font:700 7px/1 Consolas,monospace;
  letter-spacing:.28em;
  color:var(--tg-muted);
}
body.techgrid-fui-active .tg-telemetry>b{
  font:700 12px/1 "Segoe UI",Arial,sans-serif;
  letter-spacing:.1em;
  color:var(--tg-line-2);
  text-shadow:0 0 8px var(--tg-glow);
}
body.techgrid-fui-active .tg-telemetry>small{
  font:600 7px/1.25 Consolas,monospace;
  letter-spacing:.12em;
  color:var(--tg-muted);
}
body.techgrid-fui-active .tg-telemetry-a{left:4.5%;top:8%}
body.techgrid-fui-active .tg-telemetry-b{right:4.5%;top:10%;text-align:right;border-left:0;border-right:2px solid var(--tg-line-2);background:linear-gradient(270deg,color-mix(in srgb,var(--tg-line-2) 7%,transparent),transparent 72%)}
body.techgrid-fui-active .tg-telemetry-c{right:5.2%;bottom:9%;text-align:right;border-left:0;border-right:2px solid var(--tg-line);background:linear-gradient(270deg,color-mix(in srgb,var(--tg-line) 7%,transparent),transparent 72%)}
body.techgrid-fui-active .tg-left-copy{left:4.6%!important;bottom:5.8%!important;top:auto!important;max-width:31vw!important}
body.techgrid-fui-active .tg-hover-readout{right:4.8%!important;bottom:21%!important;top:auto!important;width:min(260px,24vw)!important;background:transparent!important;border:0!important;box-shadow:none!important;padding-right:10px;border-right:2px solid var(--tg-line-2)!important}
body.techgrid-fui-active .tg-core-orbit{filter:drop-shadow(0 0 16px var(--tg-glow))}
body.techgrid-fui-active .tg-root-line{opacity:.46;stroke-width:1.8}
body.techgrid-fui-active .tg-child-line{opacity:.66}

@keyframes tgDashboardRail{
  from{stroke-dashoffset:0}
  to{stroke-dashoffset:-84}
}
@keyframes tgDashboardDot{
  0%,100%{opacity:.42;transform:scale(.86);transform-origin:center}
  50%{opacity:1;transform:scale(1.28);transform-origin:center}
}

@media(max-width:900px){
  body.techgrid-fui-active .tg-telemetry{width:150px;opacity:.58}
  body.techgrid-fui-active .tg-telemetry-a{left:18px;top:18px}
  body.techgrid-fui-active .tg-telemetry-b{right:18px;top:18px}
  body.techgrid-fui-active .tg-telemetry-c{display:none}
  body.techgrid-fui-active .tg-left-copy{left:20px!important;bottom:18px!important;max-width:38vw!important}
  body.techgrid-fui-active .tg-hover-readout{right:20px!important;bottom:18px!important;width:220px!important}
}

body.techgrid-fui-active .techgrid-module-host>.win-body{padding:0!important;overflow:hidden!important;background:var(--tg-panel)!important}
body.techgrid-fui-active .techgrid-module-frame{display:block;width:100%;height:100%;min-height:0;border:0;background:transparent}

html:has(body.techgrid-module),
html:has(body.techgrid-module) body{height:100%;min-height:100%;overflow:hidden!important;background:var(--tg-bg)!important}
body.techgrid-module{margin:0!important;padding:0!important;background:var(--tg-bg)!important;color:var(--tg-ink)!important}
body.techgrid-module .os-shell{display:block!important;width:100%!important;height:100%!important;min-height:100%!important;overflow:hidden!important;background:transparent!important}
body.techgrid-module .desktop{position:relative!important;display:block!important;width:100%!important;height:100%!important;min-height:100%!important;overflow:hidden!important;padding:0!important;margin:0!important;background:linear-gradient(145deg,color-mix(in srgb,var(--tg-line) 3%,var(--tg-bg)),var(--tg-bg2))!important}
body.techgrid-module .desktop::before,
body.techgrid-module .desktop::after,
body.techgrid-module .os-topbar,
body.techgrid-module .desktop-icons,
body.techgrid-module .os-hidden-launchers,
body.techgrid-module .footer-note,
body.techgrid-module .os-taskbar,
body.techgrid-module .admin-chat-notify,
body.techgrid-module .hero-banner,
body.techgrid-module .prae-sidebar,
body.techgrid-module .win-resizer,
body.techgrid-module #duplicatePinAlertWindow,
body.techgrid-module #praetorianSecurityAlert{display:none!important}
body.techgrid-module .os-stage{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;min-height:0!important;overflow:hidden!important;padding:0!important;margin:0!important}
body.techgrid-module #praetorianControlWindow{position:absolute!important;inset:0!important;left:0!important;top:0!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;display:flex!important;flex-direction:column!important;border:0!important;border-radius:0!important;box-shadow:none!important;transform:none!important;background:transparent!important;overflow:hidden!important}
body.techgrid-module #praetorianControlWindow>.win-title{display:none!important}
body.techgrid-module #praetorianControlWindow>.prae-main{display:block!important;flex:1 1 auto!important;width:100%!important;height:100%!important;min-height:0!important;overflow:hidden!important;background:transparent!important}
body.techgrid-module #praetorianControlWindow .prae-content{display:block!important;width:100%!important;height:100%!important;min-height:0!important;overflow:auto!important;padding:0!important;margin:0!important;background:transparent!important}
body.techgrid-module #praetorianControlWindow .inner-pad{box-sizing:border-box!important;width:100%!important;min-height:100%!important;padding:18px!important;background:transparent!important}
body.techgrid-module .os-msg{margin:10px 18px!important}
body.techgrid-module .table-frame,
body.techgrid-module .info-frame,
body.techgrid-module .design-admin-card,
body.techgrid-module .portal-item{box-shadow:0 0 0 1px rgba(255,255,255,.02) inset,0 0 18px color-mix(in srgb,var(--tg-glow) 70%,transparent)!important}
body.techgrid-module .section-caption{position:relative;padding-left:18px!important;color:var(--tg-line-2)!important;letter-spacing:.14em!important;text-transform:uppercase!important}
body.techgrid-module .section-caption::before{content:"";position:absolute;left:0;top:50%;width:10px;height:10px;transform:translateY(-50%) rotate(45deg);border:1px solid var(--tg-line);box-shadow:0 0 8px var(--tg-glow)}
body.techgrid-module .os-stage>.os-msg{position:absolute!important;z-index:80!important;left:18px!important;right:18px!important;top:10px!important;margin:0!important;pointer-events:none!important}
html.techgrid-module-document{height:100%;min-height:100%;overflow:hidden!important;background:var(--tg-bg)!important}


body.os-body.user-theme-techgrid-crimson .desktop,
body.os-body.user-theme-techgrid-violet .desktop,
body.os-body.user-theme-techgrid-matrix .desktop{position:relative;overflow:hidden}
body.os-body.user-theme-techgrid-crimson .desktop::before,
body.os-body.user-theme-techgrid-violet .desktop::before,
body.os-body.user-theme-techgrid-matrix .desktop::before{content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(90deg,transparent 0,transparent 45%,rgba(255,255,255,.045) 50%,transparent 55%,transparent 100%);
  background-size:220px 100%;mix-blend-mode:screen;opacity:.55;animation:tgSweep 10s linear infinite;}
body.os-body.user-theme-techgrid-crimson .os-topbar,
body.os-body.user-theme-techgrid-violet .os-topbar,
body.os-body.user-theme-techgrid-matrix .os-topbar{border-left:0!important;border-right:0!important;border-top:0!important;min-height:36px!important}
body.os-body.user-theme-techgrid-crimson .footer-note,
body.os-body.user-theme-techgrid-violet .footer-note,
body.os-body.user-theme-techgrid-matrix .footer-note{border-left:0!important;border-right:0!important;border-bottom:0!important}
body.os-body.user-theme-techgrid-crimson .footer-note > *,
body.os-body.user-theme-techgrid-violet .footer-note > *,
body.os-body.user-theme-techgrid-matrix .footer-note > *{position:relative;z-index:2}
.user-theme-techgrid-crimson .os-menu-root,
.user-theme-techgrid-violet .os-menu-root,
.user-theme-techgrid-matrix .os-menu-root{border:1px solid transparent!important;background:transparent!important;padding:5px 11px!important;border-radius:10px!important;transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .16s ease!important}
.user-theme-techgrid-crimson .os-menu-group+.os-menu-group,
.user-theme-techgrid-violet .os-menu-group+.os-menu-group,
.user-theme-techgrid-matrix .os-menu-group+.os-menu-group{border-top:1px solid rgba(255,255,255,.08)!important}
body.os-body.user-theme-techgrid-crimson .desktop-icons,
body.os-body.user-theme-techgrid-violet .desktop-icons,
body.os-body.user-theme-techgrid-matrix .desktop-icons{gap:12px!important}
body.os-body.user-theme-techgrid-crimson .desktop-icon:active,
body.os-body.user-theme-techgrid-crimson .gate-view-icon:active,
body.os-body.user-theme-techgrid-violet .desktop-icon:active,
body.os-body.user-theme-techgrid-violet .gate-view-icon:active,
body.os-body.user-theme-techgrid-matrix .desktop-icon:active,
body.os-body.user-theme-techgrid-matrix .gate-view-icon:active{transform:translateY(0) scale(.985)!important}
body.os-body.user-theme-techgrid-crimson .win95>.win-title::before,
body.os-body.user-theme-techgrid-crimson .win95>.win-title::after,
body.os-body.user-theme-techgrid-violet .win95>.win-title::before,
body.os-body.user-theme-techgrid-violet .win95>.win-title::after,
body.os-body.user-theme-techgrid-matrix .win95>.win-title::before,
body.os-body.user-theme-techgrid-matrix .win95>.win-title::after{content:"";position:absolute;top:0;bottom:0;width:44px;pointer-events:none;opacity:.85}
body.os-body.user-theme-techgrid-crimson .win-btn:active,
body.os-body.user-theme-techgrid-crimson .btn:active,
body.os-body.user-theme-techgrid-crimson button:not(.os-menu-root):not(.os-menu-entry):active,
body.os-body.user-theme-techgrid-violet .win-btn:active,
body.os-body.user-theme-techgrid-violet .btn:active,
body.os-body.user-theme-techgrid-violet button:not(.os-menu-root):not(.os-menu-entry):active,
body.os-body.user-theme-techgrid-matrix .win-btn:active,
body.os-body.user-theme-techgrid-matrix .btn:active,
body.os-body.user-theme-techgrid-matrix button:not(.os-menu-root):not(.os-menu-entry):active{transform:translateY(0) scale(.985)}
body.os-body.user-theme-techgrid-crimson .prae-main,
body.os-body.user-theme-techgrid-violet .prae-main,
body.os-body.user-theme-techgrid-matrix .prae-main{background:transparent!important}
body.os-body.user-theme-techgrid-crimson .hero-banner h1,
body.os-body.user-theme-techgrid-violet .hero-banner h1,
body.os-body.user-theme-techgrid-matrix .hero-banner h1{letter-spacing:.08em!important;text-transform:uppercase!important}
.user-theme-techgrid-crimson .secure-mail-toolbar,
.user-theme-techgrid-violet .secure-mail-toolbar,
.user-theme-techgrid-matrix .secure-mail-toolbar{background:transparent!important}
body.os-body.user-theme-techgrid-crimson .win95.window-opening,
body.os-body.user-theme-techgrid-violet .win95.window-opening,
body.os-body.user-theme-techgrid-matrix .win95.window-opening{animation:tgWindowOpen .34s cubic-bezier(.18,.82,.24,1) both!important}
body.os-body.user-theme-techgrid-crimson .win95.window-closing,
body.os-body.user-theme-techgrid-violet .win95.window-closing,
body.os-body.user-theme-techgrid-matrix .win95.window-closing{animation:tgWindowClose .2s ease both!important}

body.techgrid-fui-active .tg-subnode .tg-node-frame{
  background:linear-gradient(135deg,color-mix(in srgb,var(--tg-node-tint,var(--tg-line-2)) 86%,var(--tg-line)),var(--tg-node-tint,var(--tg-line-2)) 54%,color-mix(in srgb,var(--tg-node-tint,var(--tg-line-2)) 72%,var(--tg-line-2)))!important;
}
body.techgrid-fui-active .tg-subnode .tg-node-surface{
  background:
    linear-gradient(145deg,color-mix(in srgb,var(--tg-node-tint,var(--tg-line-2)) 12%,var(--tg-panel-2)),var(--tg-panel-2) 58%,color-mix(in srgb,var(--tg-node-tint,var(--tg-line-2)) 8%,var(--tg-panel)))!important;
}
body.techgrid-fui-active .tg-subnode[data-depth="2"] .tg-node-surface,
body.techgrid-fui-active .tg-subnode[data-depth="3"] .tg-node-surface{
  background:
    linear-gradient(145deg,color-mix(in srgb,var(--tg-node-tint,var(--tg-line-2)) 17%,var(--tg-panel-2)),var(--tg-panel-2) 55%,color-mix(in srgb,var(--tg-node-tint,var(--tg-line-2)) 11%,var(--tg-panel)))!important;
}
body.techgrid-fui-active .tg-subnode .tg-node-icon{filter:drop-shadow(0 0 9px color-mix(in srgb,var(--tg-node-tint,var(--tg-line-2)) 56%,transparent))!important}
body.techgrid-fui-active .tg-collision-blocked .tg-node-frame{filter:drop-shadow(0 0 16px rgba(255,63,73,.82))!important}
body.techgrid-fui-active .tg-collision-blocked .tg-node-surface{box-shadow:inset 0 0 0 2px rgba(255,63,73,.62),inset 0 0 28px rgba(0,0,0,.22)!important}
body.techgrid-fui-active .tg-dock-target .tg-node-frame{filter:drop-shadow(0 0 20px var(--tg-line-2))!important}
body.techgrid-fui-active .tg-dock-ready .tg-node-frame{filter:drop-shadow(0 0 20px var(--tg-line))!important}
body.techgrid-fui-active .tg-dock-snap{animation:tgDockPulse .42s ease both}
body.techgrid-fui-active .tg-dock-hit .tg-node-frame{animation:tgDockHit .42s ease both}
@keyframes tgDockPulse{0%{filter:drop-shadow(0 0 2px var(--tg-glow))}50%{filter:drop-shadow(0 0 26px var(--tg-line-2));transform:translate(-50%,-50%) scale(1.045)}100%{filter:none;transform:translate(-50%,-50%) scale(1)}}
@keyframes tgDockHit{0%,100%{filter:drop-shadow(0 0 12px var(--tg-glow))}50%{filter:drop-shadow(0 0 25px var(--tg-line-2))}}

/* Matrix Light ersetzt die bisher dunkle Matrix-Variante durch ein helles Hightech-Schema. */
.user-theme-techgrid-matrix{
  --tg-bg:#eef6f2;
  --tg-bg2:#fbfdfc;
  --tg-panel:rgba(224,235,230,.88);
  --tg-panel-2:rgba(211,226,219,.96);
  --tg-card:rgba(199,216,208,.94);
  --tg-ink:#10231d;
  --tg-muted:#405d52;
  --tg-line:#087b5d;
  --tg-line-2:#005ea8;
  --tg-glow:rgba(8,123,93,.20);
  --tg-grid:rgba(8,90,69,.065);
  --tg-edge:rgba(8,123,93,.48);
  --tg-button:#c7d8d0;
  --tg-button-hover:#b7cec3;
  --tg-danger:#b21e35;
  --tg-shadow:0 16px 34px rgba(29,64,51,.16),0 0 0 1px rgba(8,123,93,.09),0 0 22px rgba(8,123,93,.15);
  color:#10231d!important;
}
.gatekeeper-os.user-theme-techgrid-matrix .desktop{background:linear-gradient(180deg,#eef6f2 0%,#fbfdfc 100%),url("./wallpapers/techgrid-matrix-gatekeeper.svg") center/cover no-repeat!important}
.praetorian-os.user-theme-techgrid-matrix .desktop{background:linear-gradient(180deg,#edf5f1 0%,#fafdfb 100%),url("./wallpapers/techgrid-matrix-praetorian.svg") center/cover no-repeat!important}
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-node-frame{background:linear-gradient(135deg,#0b6d54,#075c47 48%,#064c3c)!important;filter:drop-shadow(0 0 8px rgba(8,123,93,.22))}
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-node-surface{background:linear-gradient(145deg,#d5e4dd,#c6d9d0 58%,#b9cfc5)!important;box-shadow:inset 0 0 0 1px rgba(16,35,29,.08),inset 0 0 22px rgba(8,123,93,.08)!important}
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-subnode .tg-node-surface{background:linear-gradient(145deg,color-mix(in srgb,var(--tg-node-tint,#005ea8) 12%,#d5e4dd),#c7d9d0 58%,color-mix(in srgb,var(--tg-node-tint,#005ea8) 8%,#b9cfc5))!important}
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-node strong,
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-node small,
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-left-copy,
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-hover-readout,
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-directory{color:#10231d!important;text-shadow:none!important}
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-shimmer-text{background:linear-gradient(100deg,#10231d 0 34%,#005ea8 48%,#087b5d 53%,#10231d 68% 100%);background-size:260% 100%;-webkit-background-clip:text;background-clip:text;color:transparent!important}
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-node-icon{filter:brightness(.22) saturate(1.3) drop-shadow(0 0 5px rgba(8,123,93,.18))!important}
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-core-orbit{background:radial-gradient(circle,#d6e7df 0 24%,#c1d7cd 25% 44%,transparent 45%);color:#10231d;box-shadow:0 0 0 1px rgba(8,123,93,.42),0 0 20px rgba(8,123,93,.16),inset 0 0 24px rgba(8,123,93,.08)}
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-hover-readout{background:rgba(232,242,237,.94)!important;border-color:rgba(8,123,93,.35)!important;box-shadow:0 0 18px rgba(8,123,93,.12)!important}
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-dashboard-rail,
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-root-line,
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-child-line{stroke:#087b5d!important;filter:drop-shadow(0 0 3px rgba(8,123,93,.18))!important}
body.user-theme-techgrid-matrix.techgrid-fui-active .win95{background:rgba(225,236,231,.96)!important;color:#10231d!important;border-color:rgba(8,123,93,.34)!important;box-shadow:0 18px 38px rgba(29,64,51,.18),0 0 18px rgba(8,123,93,.12)!important}
body.user-theme-techgrid-matrix.techgrid-fui-active .win95>.win-title{background:linear-gradient(90deg,rgba(8,123,93,.16),rgba(0,94,168,.07)),#d0e0d8!important;color:#10231d!important;border-bottom-color:#087b5d!important}
body.user-theme-techgrid-matrix.techgrid-fui-active .win-title-text{color:#12362b!important;text-shadow:none!important}
body.user-theme-techgrid-matrix.techgrid-fui-active .win-btn{background:#bed2c8!important;color:#10231d!important;border-color:#087b5d!important;box-shadow:0 0 8px rgba(8,123,93,.14)!important}
body.user-theme-techgrid-matrix.techgrid-fui-active .win-btn:hover{background:#aac7ba!important;color:#003e31!important;box-shadow:0 0 13px rgba(8,123,93,.22)!important}
.user-theme-techgrid-matrix .legacy-tool,
.user-theme-techgrid-matrix .calc-tool-shell,
.user-theme-techgrid-matrix .qr-tool-panel,
.user-theme-techgrid-matrix .code-guide-shell,
.user-theme-techgrid-matrix .secure-mail-app,
.user-theme-techgrid-matrix .trace-tool,
.user-theme-techgrid-matrix .records-tool,
.user-theme-techgrid-matrix .mozart-tool{background:#e0ebe6!important;color:#10231d!important;border-color:#087b5d!important;box-shadow:inset 0 0 26px rgba(8,123,93,.08)!important}

body.techgrid-fui-active .tg-node,
body.techgrid-fui-active .tg-node-folder{overflow:visible}
body.techgrid-fui-active .tg-node-folder.is-open{z-index:26!important}
body.techgrid-fui-active .tg-subnode{z-index:28!important}
body.techgrid-fui-active .tg-open-subnode{z-index:34!important}
body.techgrid-fui-active .tg-node:hover:not(.is-dragging),body.techgrid-fui-active .tg-node:focus-visible:not(.is-dragging){z-index:60!important}

/* Hex frame like the reference: thin frame, one inner accent corner, one outer accent corner */
body.techgrid-fui-active .tg-node{width:112px;height:98px}
body.techgrid-fui-active .tg-node-folder{width:118px;height:104px}
body.techgrid-fui-active .tg-node-frame{background:color-mix(in srgb,var(--tg-line) 82%,var(--tg-line-2))!important;filter:drop-shadow(0 0 8px var(--tg-glow));}
body.techgrid-fui-active .tg-node-frame::before{content:"";position:absolute;inset:1px;clip-path:inherit;background:linear-gradient(145deg,color-mix(in srgb,var(--tg-panel-2) 96%,var(--tg-line) 4%),color-mix(in srgb,var(--tg-panel) 96%,var(--tg-line-2) 4%));opacity:1!important}
body.techgrid-fui-active .tg-node-frame::after{content:"";position:absolute;inset:-8px;opacity:.92;background:var(--tg-line-2);clip-path:var(--tg-outer-corner);filter:drop-shadow(0 0 6px color-mix(in srgb,var(--tg-line-2) 55%,transparent));}
body.techgrid-fui-active .tg-node-surface{inset:2px;background:transparent!important;box-shadow:none!important}
body.techgrid-fui-active .tg-node-surface::before{content:"";position:absolute;inset:10px;opacity:.9;background:var(--tg-node-tint,var(--tg-line));clip-path:var(--tg-inner-corner);filter:drop-shadow(0 0 5px color-mix(in srgb,var(--tg-node-tint,var(--tg-line)) 45%,transparent));}
body.techgrid-fui-active .tg-node-surface::after{content:"";position:absolute;left:16px;right:16px;bottom:12px;height:1px;background:linear-gradient(90deg,transparent,var(--tg-line),transparent 48%,transparent 52%,var(--tg-line-2),transparent);background-size:240% 100%;animation:tgRail 4.2s linear infinite;opacity:.65}
body.techgrid-fui-active .tg-node strong{max-width:82px;font-size:8.4px;letter-spacing:.14em;text-shadow:0 0 7px var(--tg-glow)}
body.techgrid-fui-active .tg-node small{max-width:86px;font-size:6.5px;letter-spacing:.15em;opacity:.88}
body.techgrid-fui-active .tg-node-icon{width:22px;height:22px;opacity:.88}
body.techgrid-fui-active .tg-node-folder em{top:10px;right:13px}
body.techgrid-fui-active .tg-stack-slab{border:none!important;background:transparent!important}
body.techgrid-fui-active .tg-stack-slab::before{content:"";position:absolute;inset:0;clip-path:inherit;background:color-mix(in srgb,var(--tg-node-tint,var(--tg-line-2)) 44%,transparent);opacity:.28}

body.techgrid-fui-active .tg-accent-0{--tg-inner-corner:polygon(0 0,32% 0,32% 8%,9% 8%,9% 32%,0 32%);--tg-outer-corner:polygon(0 0,22% 0,22% 2px,2px 2px,2px 22%,0 22%)}
body.techgrid-fui-active .tg-accent-1{--tg-inner-corner:polygon(68% 0,100% 0,100% 32%,91% 32%,91% 8%,68% 8%);--tg-outer-corner:polygon(78% 0,100% 0,100% 22%,calc(100% - 2px) 22%,calc(100% - 2px) 2px,78% 2px)}
body.techgrid-fui-active .tg-accent-2{--tg-inner-corner:polygon(74% 92%,91% 92%,91% 68%,100% 68%,100% 100%,68% 100%,68% 92%);--tg-outer-corner:polygon(calc(100% - 2px) calc(100% - 22px),100% calc(100% - 22px),100% 100%,78% 100%,78% calc(100% - 2px),calc(100% - 2px) calc(100% - 2px))}
body.techgrid-fui-active .tg-accent-3{--tg-inner-corner:polygon(0 68%,9% 68%,9% 92%,32% 92%,32% 100%,0 100%);--tg-outer-corner:polygon(0 calc(100% - 22px),2px calc(100% - 22px),2px calc(100% - 2px),22% calc(100% - 2px),22% 100%,0 100%)}
body.techgrid-fui-active .tg-accent-4{--tg-inner-corner:polygon(18% 14%,33% 14%,33% 22%,26% 22%,26% 39%,18% 39%);--tg-outer-corner:polygon(10% 0,25% 0,25% 2px,12% 2px,12% 16%,10% 16%)}
body.techgrid-fui-active .tg-accent-5{--tg-inner-corner:polygon(67% 61%,75% 61%,75% 78%,82% 78%,82% 86%,67% 86%);--tg-outer-corner:polygon(calc(100% - 16px) calc(100% - 12px),calc(100% - 2px) calc(100% - 12px),calc(100% - 2px) calc(100% - 10px),calc(100% - 14px) calc(100% - 10px),calc(100% - 14px) calc(100% - 2px),calc(100% - 16px) calc(100% - 2px))}

/* stronger but related sub-tones */
body.techgrid-fui-active .tg-subnode .tg-node-frame{background:var(--tg-node-tint)!important;filter:drop-shadow(0 0 9px color-mix(in srgb,var(--tg-node-tint) 34%,transparent))!important}
body.techgrid-fui-active .tg-subnode .tg-node-surface::before{background:color-mix(in srgb,var(--tg-node-tint) 80%,white)!important}
body.techgrid-fui-active .tg-subnode[data-depth="2"] .tg-node-frame{background:color-mix(in srgb,var(--tg-node-tint) 82%,var(--tg-line-2))!important}
body.techgrid-fui-active .tg-subnode[data-depth="3"] .tg-node-frame{background:color-mix(in srgb,var(--tg-node-tint) 78%,var(--tg-line))!important}

/* technical rail style closer to the reference image */
body.techgrid-fui-active .techgrid-desktop-v3::before{top:46%!important;height:2px!important;opacity:.24!important;background:linear-gradient(90deg,transparent 0 2%,var(--tg-line) 6% 26%,transparent 26.5% 35%,var(--tg-line-2) 35.5% 41%,transparent 41.5% 73%,var(--tg-line) 73.5% 92%,transparent 98%)!important;filter:drop-shadow(0 0 4px var(--tg-glow))}
body.techgrid-fui-active .techgrid-desktop-v3::after{top:calc(46% - 36px)!important;height:74px!important;opacity:.58!important;background:linear-gradient(90deg,transparent 0 17%,color-mix(in srgb,var(--tg-line) 22%,transparent) 17.2% 17.35%,transparent 17.5% 40%,color-mix(in srgb,var(--tg-line-2) 22%,transparent) 40.2% 40.35%,transparent 40.5% 61%,color-mix(in srgb,var(--tg-line) 18%,transparent) 61.2% 61.35%,transparent 61.5% 100%)!important}
body.techgrid-fui-active .tg-dashboard-rail{stroke-width:1.3!important;opacity:.52!important;stroke-dasharray:26 12 4 12!important;filter:drop-shadow(0 0 4px var(--tg-glow))}
body.techgrid-fui-active .tg-root-line{stroke-width:1.4!important;opacity:.42!important;stroke-dasharray:2 10 18 10!important}
body.techgrid-fui-active .tg-child-line{stroke-width:1.2!important;opacity:.55!important;stroke-dasharray:16 9 3 9!important}
body.techgrid-fui-active .tg-left-copy{opacity:.82!important}
body.techgrid-fui-active .tg-telemetry{opacity:.62!important;background:none!important;box-shadow:none!important;border-left-width:1px!important}
body.techgrid-fui-active .tg-telemetry-b,body.techgrid-fui-active .tg-telemetry-c{border-right-width:1px!important}
body.techgrid-fui-active .tg-hover-readout{opacity:.82!important}

/* responsive sizing so no node disappears from view */
@media (max-width: 1440px){
  body.techgrid-fui-active .tg-node{width:104px;height:92px}
  body.techgrid-fui-active .tg-node-folder{width:110px;height:98px}
  body.techgrid-fui-active .tg-node strong{max-width:76px;font-size:7.8px}
  body.techgrid-fui-active .tg-node small{max-width:78px;font-size:6.1px}
}
@media (max-width: 1180px){
  body.techgrid-fui-active .tg-node{width:96px;height:84px}
  body.techgrid-fui-active .tg-node-folder{width:102px;height:90px}
  body.techgrid-fui-active .tg-node-icon{width:18px;height:18px}
  body.techgrid-fui-active .tg-node strong{max-width:68px;font-size:7.2px}
  body.techgrid-fui-active .tg-node small{max-width:70px;font-size:5.7px}
}

:where(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-light,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-matrix,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel){
  color:var(--tg-ink)!important;
  font-family:"Segoe UI",Inter,Arial,sans-serif!important;
}
body:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-light,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-matrix,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel){
  background:var(--tg-bg)!important;
  color:var(--tg-ink)!important;
}

/* Offene Sammelwabe ist optisch der Anker; ihre Kinder liegen über fremden Sammelwaben, aber niemals über dem eigenen Anker. */
body.techgrid-fui-active .tg-node-folder.is-open{z-index:96!important}
body.techgrid-fui-active .tg-open-subnode{z-index:88!important}
body.techgrid-fui-active .tg-subnode{z-index:82!important}
body.techgrid-fui-active .tg-node-folder:not(.is-open){z-index:16!important}
body.techgrid-fui-active .tg-node-folder:not(.is-open):hover,
body.techgrid-fui-active .tg-node-folder:not(.is-open):focus-visible{z-index:70!important}
body.techgrid-fui-active .tg-node-folder.is-open:hover,
body.techgrid-fui-active .tg-node-folder.is-open:focus-visible{z-index:110!important}
body.techgrid-fui-active .tg-open-subnode:hover,
body.techgrid-fui-active .tg-open-subnode:focus-visible{z-index:104!important}

/* Geöffneter Ordner deutlich anders als seine Unterwaben, ohne die Farbfamilie zu verlassen. */
body.techgrid-fui-active .tg-node-folder.is-open .tg-node-frame{
  background:var(--tg-line-2)!important;
  filter:drop-shadow(0 0 16px var(--tg-glow)) drop-shadow(0 0 5px var(--tg-line-2))!important;
}
body.techgrid-fui-active .tg-node-folder.is-open .tg-node-frame::before{
  background:linear-gradient(145deg,color-mix(in srgb,var(--tg-line-2) 26%,var(--tg-panel-2)),color-mix(in srgb,var(--tg-line) 9%,var(--tg-panel)))!important;
}
body.techgrid-fui-active .tg-node-folder.is-open .tg-node-surface::before{
  background:var(--tg-line-2)!important;
  opacity:1!important;
}
body.techgrid-fui-active .tg-node-folder.is-open strong{color:var(--tg-ink)!important;text-shadow:0 0 11px var(--tg-line-2)!important}
body.techgrid-fui-active .tg-node-folder.is-open small{color:color-mix(in srgb,var(--tg-ink) 82%,var(--tg-line-2))!important}

body.techgrid-fui-active .tg-subnode .tg-node-frame{
  background:color-mix(in srgb,var(--tg-node-tint) 74%,var(--tg-line) 26%)!important;
  filter:drop-shadow(0 0 8px color-mix(in srgb,var(--tg-node-tint) 46%,transparent))!important;
}
body.techgrid-fui-active .tg-subnode .tg-node-frame::before{
  background:linear-gradient(145deg,color-mix(in srgb,var(--tg-node-tint) 18%,var(--tg-panel-2)),color-mix(in srgb,var(--tg-node-tint) 8%,var(--tg-panel)))!important;
}
body.techgrid-fui-active .tg-subnode .tg-node-surface::before{
  background:color-mix(in srgb,var(--tg-node-tint) 82%,var(--tg-ink) 18%)!important;
  opacity:.95!important;
}
body.techgrid-fui-active .tg-subnode strong{color:color-mix(in srgb,var(--tg-ink) 88%,var(--tg-node-tint))!important}
body.techgrid-fui-active .tg-subnode small{color:color-mix(in srgb,var(--tg-muted) 72%,var(--tg-node-tint))!important}
body.techgrid-fui-active .tg-subnode[data-depth="2"] .tg-node-frame{background:color-mix(in srgb,var(--tg-node-tint) 62%,var(--tg-line-2) 38%)!important}
body.techgrid-fui-active .tg-subnode[data-depth="3"] .tg-node-frame{background:color-mix(in srgb,var(--tg-node-tint) 56%,var(--tg-line) 44%)!important}

/* Matrix Light braucht dieselbe Hierarchie mit dunklerem Kontrast statt heller Neonflächen. */
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-node-folder.is-open .tg-node-frame{background:#075c47!important;filter:drop-shadow(0 0 11px rgba(8,123,93,.28))!important}
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-node-folder.is-open .tg-node-frame::before{background:linear-gradient(145deg,#c0d7cc,#d5e4dd)!important}
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-node-folder.is-open .tg-node-surface::before{background:#005ea8!important}
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-subnode .tg-node-frame{background:color-mix(in srgb,var(--tg-node-tint) 66%,#075c47 34%)!important}
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-subnode .tg-node-frame::before{background:linear-gradient(145deg,color-mix(in srgb,var(--tg-node-tint) 13%,#d7e5de),#c5d8cf)!important}

body.user-theme-techgrid-matrix.techgrid-fui-active .tg-subnode small{color:#405d52!important}

/* Alle neun Themes: identischer Fenster-/Formular-/Tool-Stand über die gemeinsamen Variablen. */
body.os-body:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-light,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-matrix,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) .win95{
  background:linear-gradient(180deg,color-mix(in srgb,var(--tg-line) 3%,transparent),transparent),var(--tg-panel-2)!important;
  color:var(--tg-ink)!important;
  border-color:var(--tg-edge)!important;
  box-shadow:var(--tg-shadow)!important;
}
body.os-body:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-light,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-matrix,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) .win95>.win-title{
  background:linear-gradient(90deg,color-mix(in srgb,var(--tg-line) 14%,transparent),transparent 56%),var(--tg-card)!important;
  color:var(--tg-ink)!important;
  border-bottom-color:var(--tg-line)!important;
}
body.os-body:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-light,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-matrix,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) .win-title-text{color:var(--tg-line-2)!important;text-shadow:0 0 9px var(--tg-glow)!important}
body.os-body:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-light,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-matrix,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) .win-btn{
  background:var(--tg-button)!important;color:var(--tg-ink)!important;border-color:var(--tg-edge)!important;box-shadow:0 0 8px var(--tg-glow)!important;
}
body.os-body:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-light,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-matrix,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) .win-btn:hover{background:var(--tg-button-hover)!important;color:var(--tg-line-2)!important;box-shadow:0 0 14px var(--tg-glow)!important}
body.os-body:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-light,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-matrix,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) .table-frame,
body.os-body:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-light,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-matrix,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) .info-frame,
body.os-body:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-light,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-matrix,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) .portal-item,
body.os-body:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-light,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-matrix,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) .os-msg{background:var(--tg-card)!important;color:var(--tg-ink)!important;border-color:var(--tg-edge)!important}
body.os-body:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-light,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-matrix,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) input,
body.os-body:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-light,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-matrix,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) textarea,
body.os-body:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-light,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-matrix,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) select{background:color-mix(in srgb,var(--tg-panel-2) 92%,transparent)!important;color:var(--tg-ink)!important;border-color:var(--tg-edge)!important}

body:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-light,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-matrix,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) :is(.legacy-tool,.calc-tool-shell,.qr-tool-panel,.code-guide-shell,.secure-mail-app,.trace-tool,.records-tool,.mozart-tool){
  background:linear-gradient(180deg,color-mix(in srgb,var(--tg-line) 4%,transparent),transparent),var(--tg-panel)!important;
  color:var(--tg-ink)!important;
  border-color:var(--tg-edge)!important;
  box-shadow:inset 0 0 32px rgba(0,0,0,.12)!important;
}
body:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-light,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-matrix,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) :is(.legacy-menu,.record-menu,.mail-menubar,.qr-tool-head,.calc-panel-head,.code-guide-head){
  background:linear-gradient(90deg,color-mix(in srgb,var(--tg-line) 14%,transparent),transparent),var(--tg-card)!important;
  color:var(--tg-line-2)!important;
  border-color:var(--tg-edge)!important;
  text-transform:uppercase!important;
  letter-spacing:.08em!important;
}
body:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-light,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-matrix,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) :is(input,textarea,select,button){font-family:inherit}

body:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-light,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-matrix,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) :is(input,textarea,select){
  background:color-mix(in srgb,var(--tg-panel-2) 90%,transparent)!important;
  color:var(--tg-ink)!important;
  border:1px solid var(--tg-edge)!important;
  box-shadow:inset 0 0 12px rgba(0,0,0,.10)!important;
}
body:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-light,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-matrix,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) :is(input,textarea,select):focus{
  outline:none!important;border-color:var(--tg-line-2)!important;box-shadow:0 0 0 1px var(--tg-line-2),0 0 12px var(--tg-glow)!important;
}
body:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-light,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-matrix,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) :is(.legacy-tool,.secure-mail-app,.trace-tool,.records-tool,.mozart-tool,.calc-tool-shell,.qr-tool-panel,.code-guide-shell) button{
  background:var(--tg-button)!important;color:var(--tg-ink)!important;border:1px solid var(--tg-edge)!important;box-shadow:0 0 8px var(--tg-glow)!important;
}
body:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-light,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-matrix,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) :is(.legacy-tool,.secure-mail-app,.trace-tool,.records-tool,.mozart-tool,.calc-tool-shell,.qr-tool-panel,.code-guide-shell) button:hover{
  background:var(--tg-button-hover)!important;color:var(--tg-line-2)!important;box-shadow:0 0 13px var(--tg-glow)!important;
}
body:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-light,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-matrix,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) .sim-shell-screen{
  background:color-mix(in srgb,var(--tg-bg) 93%,black 7%)!important;color:var(--tg-line-2)!important;border:1px solid var(--tg-edge)!important;box-shadow:inset 0 0 24px rgba(0,0,0,.24),0 0 14px var(--tg-glow)!important;
}
body.user-theme-techgrid-matrix .sim-shell-screen{background:#f5faf7!important;color:#12362b!important}
body:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-light,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-matrix,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) .secure-mail-toolbar{background:transparent!important;border-color:var(--tg-edge)!important}

/* Geöffnete Sammelwabe und Unterwaben klar voneinander trennen. */
body.techgrid-fui-active .tg-node-folder.is-open .tg-node-frame{
  background:linear-gradient(135deg,var(--tg-line-2),color-mix(in srgb,var(--tg-line-2) 58%,var(--tg-line)),var(--tg-line-2))!important;
  filter:drop-shadow(0 0 17px var(--tg-line-2)) brightness(1.12)!important;
}
body.techgrid-fui-active .tg-node-folder.is-open .tg-node-surface{
  background:radial-gradient(circle at 50% 42%,color-mix(in srgb,var(--tg-line-2) 20%,transparent),transparent 54%)!important;
}
body.techgrid-fui-active .tg-node-folder.is-open .tg-node-surface::before{
  background:color-mix(in srgb,var(--tg-line-2) 88%,white)!important;
  opacity:1!important;
  filter:drop-shadow(0 0 8px color-mix(in srgb,var(--tg-line-2) 62%,transparent))!important;
}
body.techgrid-fui-active .tg-node-folder.is-open strong,
body.techgrid-fui-active .tg-node-folder.is-open small{
  color:var(--tg-line-2)!important;
  text-shadow:0 0 9px var(--tg-glow)!important;
}
body.techgrid-fui-active .tg-subnode .tg-node-frame{
  background:color-mix(in srgb,var(--tg-node-tint) 74%,var(--tg-line))!important;
  filter:drop-shadow(0 0 8px color-mix(in srgb,var(--tg-node-tint) 38%,transparent))!important;
}
body.techgrid-fui-active .tg-subnode .tg-node-frame::before{
  background:linear-gradient(145deg,color-mix(in srgb,var(--tg-panel-2) 82%,var(--tg-node-tint) 18%),color-mix(in srgb,var(--tg-panel) 88%,var(--tg-node-tint) 12%))!important;
}
body.techgrid-fui-active .tg-subnode .tg-node-surface::before{
  background:color-mix(in srgb,var(--tg-node-tint) 72%,white)!important;
  opacity:.96!important;
}
body.techgrid-fui-active .tg-subnode strong{color:color-mix(in srgb,var(--tg-ink) 82%,var(--tg-node-tint))!important}
body.techgrid-fui-active .tg-subnode small{color:color-mix(in srgb,var(--tg-muted) 68%,var(--tg-node-tint))!important}
body.techgrid-fui-active .tg-subnode[data-depth="2"] .tg-node-frame{background:color-mix(in srgb,var(--tg-node-tint) 66%,var(--tg-line-2))!important}
body.techgrid-fui-active .tg-subnode[data-depth="3"] .tg-node-frame{background:color-mix(in srgb,var(--tg-node-tint) 58%,var(--tg-line))!important}

/* Matrix Light braucht die gleiche klare Hierarchie, aber mit dunklen Rahmen auf hellem Grund. */
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-node-folder.is-open .tg-node-frame{
  background:linear-gradient(135deg,#005ea8,#087b5d 55%,#004d88)!important;
  filter:drop-shadow(0 0 12px rgba(0,94,168,.28)) brightness(1.04)!important;
}
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-node-folder.is-open .tg-node-surface::before{background:#005ea8!important;filter:drop-shadow(0 0 5px rgba(0,94,168,.22))!important}
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-node-folder.is-open strong,
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-node-folder.is-open small{color:#063329!important;text-shadow:none!important}
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-subnode .tg-node-frame{background:color-mix(in srgb,var(--tg-node-tint) 68%,#17634f)!important}
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-subnode .tg-node-frame::before{background:linear-gradient(145deg,#d9e7e0,#c4d8cf)!important}
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-subnode .tg-node-surface::before{background:color-mix(in srgb,var(--tg-node-tint) 66%,#0d5f4a)!important}
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-subnode strong{color:#10231d!important}
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-subnode small{color:#36564a!important}

/* Nur echte Öffnungen animieren. window-opening des Basissystems wird in TechGrid deaktiviert. */
body.techgrid-fui-active .win95.window-opening{animation:none!important}
body.techgrid-fui-active .win95.tg-window-arrive{animation:tgWindowFromNode .58s cubic-bezier(.16,.84,.2,1) both!important}
body.techgrid-fui-active .win95:not(.tg-window-arrive):not(.window-closing){transform:none!important}

/* Gemeinsamer Innenaufbau aller TechGrid-Themes – gilt auch in iframe-basierten Tools. */
body[class*="user-theme-techgrid-"]{
  scrollbar-color:var(--tg-line) color-mix(in srgb,var(--tg-panel-2) 78%,transparent);
  scrollbar-width:thin;
}
body[class*="user-theme-techgrid-"] .legacy-tool,
body[class*="user-theme-techgrid-"] .calc-tool-shell,
body[class*="user-theme-techgrid-"] .calc-standalone-shell,
body[class*="user-theme-techgrid-"] .qr-tool-panel,
body[class*="user-theme-techgrid-"] .qr-standalone-shell,
body[class*="user-theme-techgrid-"] .code-guide-shell,
body[class*="user-theme-techgrid-"] .secure-mail-app,
body[class*="user-theme-techgrid-"] .secure-mail-shell,
body[class*="user-theme-techgrid-"] .trace-tool,
body[class*="user-theme-techgrid-"] .records-tool,
body[class*="user-theme-techgrid-"] .mozart-tool{
  position:relative;
  background:
    linear-gradient(180deg,color-mix(in srgb,var(--tg-line) 5%,transparent),transparent 26%),
    linear-gradient(145deg,var(--tg-panel),var(--tg-panel-2))!important;
  color:var(--tg-ink)!important;
  border:1px solid var(--tg-edge)!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.025),inset 0 0 34px rgba(0,0,0,.12),0 0 18px var(--tg-glow)!important;
}
body[class*="user-theme-techgrid-"] .legacy-tool::before,
body[class*="user-theme-techgrid-"] .calc-tool-shell::before,
body[class*="user-theme-techgrid-"] .qr-tool-panel::before,
body[class*="user-theme-techgrid-"] .code-guide-shell::before,
body[class*="user-theme-techgrid-"] .secure-mail-app::before,
body[class*="user-theme-techgrid-"] .trace-tool::before,
body[class*="user-theme-techgrid-"] .records-tool::before,
body[class*="user-theme-techgrid-"] .mozart-tool::before{
  content:"";position:absolute;left:14px;right:14px;top:8px;height:1px;pointer-events:none;
  background:linear-gradient(90deg,var(--tg-line),transparent 28%,transparent 72%,var(--tg-line-2));
  background-size:180% 100%;animation:tgRail 5.5s linear infinite;opacity:.58;
}
body[class*="user-theme-techgrid-"] .legacy-menu,
body[class*="user-theme-techgrid-"] .record-menu,
body[class*="user-theme-techgrid-"] .mail-menubar,
body[class*="user-theme-techgrid-"] .qr-tool-head,
body[class*="user-theme-techgrid-"] .calc-panel-head,
body[class*="user-theme-techgrid-"] .code-guide-head,
body[class*="user-theme-techgrid-"] .moz-head,
body[class*="user-theme-techgrid-"] .secure-mail-panel-title{
  background:linear-gradient(90deg,color-mix(in srgb,var(--tg-line) 14%,transparent),transparent 70%),var(--tg-card)!important;
  color:var(--tg-line-2)!important;
  border-color:var(--tg-edge)!important;
  text-transform:uppercase!important;
  letter-spacing:.09em!important;
  text-shadow:0 0 7px var(--tg-glow)!important;
}
body[class*="user-theme-techgrid-"] .record-card,
body[class*="user-theme-techgrid-"] .trace-console,
body[class*="user-theme-techgrid-"] .trace-whois,
body[class*="user-theme-techgrid-"] .trace-map,
body[class*="user-theme-techgrid-"] .secure-mail-sidebar,
body[class*="user-theme-techgrid-"] .secure-mail-list-panel,
body[class*="user-theme-techgrid-"] .secure-mail-reader-panel,
body[class*="user-theme-techgrid-"] .secure-mail-compose,
body[class*="user-theme-techgrid-"] .calc-card,
body[class*="user-theme-techgrid-"] .calc-sidebar,
body[class*="user-theme-techgrid-"] .qr-preview-area,
body[class*="user-theme-techgrid-"] .code-guide-panel,
body[class*="user-theme-techgrid-"] .moz-node-panel,
body[class*="user-theme-techgrid-"] .moz-player{
  background:linear-gradient(145deg,color-mix(in srgb,var(--tg-line) 4%,var(--tg-card)),var(--tg-card))!important;
  color:var(--tg-ink)!important;
  border:1px solid color-mix(in srgb,var(--tg-edge) 78%,transparent)!important;
  box-shadow:inset 0 0 16px rgba(0,0,0,.08),0 0 10px color-mix(in srgb,var(--tg-glow) 62%,transparent)!important;
}
body[class*="user-theme-techgrid-"] input,
body[class*="user-theme-techgrid-"] textarea,
body[class*="user-theme-techgrid-"] select,
body[class*="user-theme-techgrid-"] .os-input,
body[class*="user-theme-techgrid-"] .os-textarea{
  background:color-mix(in srgb,var(--tg-panel-2) 88%,transparent)!important;
  color:var(--tg-ink)!important;
  border:1px solid var(--tg-edge)!important;
  box-shadow:inset 0 0 12px rgba(0,0,0,.10)!important;
}
body[class*="user-theme-techgrid-"] input:focus,
body[class*="user-theme-techgrid-"] textarea:focus,
body[class*="user-theme-techgrid-"] select:focus{
  outline:none!important;border-color:var(--tg-line-2)!important;
  box-shadow:0 0 0 1px var(--tg-line-2),0 0 12px var(--tg-glow)!important;
}
body[class*="user-theme-techgrid-"] .os-btn,
body[class*="user-theme-techgrid-"] .calc-btn,
body[class*="user-theme-techgrid-"] .qr-actions button,
body[class*="user-theme-techgrid-"] .secure-mail-toolbar button,
body[class*="user-theme-techgrid-"] .trace-controls button,
body[class*="user-theme-techgrid-"] .record-controls button{
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.015)),var(--tg-button)!important;
  color:var(--tg-ink)!important;border:1px solid var(--tg-edge)!important;
  box-shadow:0 0 8px var(--tg-glow)!important;
}
body[class*="user-theme-techgrid-"] .os-btn:hover,
body[class*="user-theme-techgrid-"] .calc-btn:hover,
body[class*="user-theme-techgrid-"] .qr-actions button:hover,
body[class*="user-theme-techgrid-"] .secure-mail-toolbar button:hover,
body[class*="user-theme-techgrid-"] .trace-controls button:hover,
body[class*="user-theme-techgrid-"] .record-controls button:hover{
  background:var(--tg-button-hover)!important;color:var(--tg-line-2)!important;box-shadow:0 0 14px var(--tg-glow)!important;
}
body[class*="user-theme-techgrid-"] .secure-mail-list,
body[class*="user-theme-techgrid-"] .secure-mail-reader,
body[class*="user-theme-techgrid-"] .trace-console,
body[class*="user-theme-techgrid-"] .calc-display,
body[class*="user-theme-techgrid-"] .moz-player-display{
  background:color-mix(in srgb,var(--tg-bg) 76%,black 8%)!important;
  color:var(--tg-ink)!important;border-color:var(--tg-edge)!important;
}
body.user-theme-techgrid-matrix .secure-mail-list,
body.user-theme-techgrid-matrix .secure-mail-reader,
body.user-theme-techgrid-matrix .trace-console,
body.user-theme-techgrid-matrix .calc-display,
body.user-theme-techgrid-matrix .moz-player-display{
  background:#edf5f1!important;color:#10231d!important;
}

/* MKL | 02.10.2026 – Schritt 258: TechGrid-Modulfenster verwenden durchgängig kontraststarke dunkle Arbeitsflächen statt heller Alt-Theme-Karten; Tabellen, Details, Zugangspunkte und Mailvorlagen bleiben optisch im aktiven TechGrid-Design. */
body.techgrid-module .inner-pad,
body.techgrid-module .prae-content{color:var(--tg-ink)!important}
body.techgrid-module #praetorianControlWindow .os-small{color:color-mix(in srgb,var(--tg-ink) 72%,var(--tg-line))!important}
body.techgrid-module #praetorianControlWindow .retro-fieldset label{color:var(--tg-ink)!important}
body.techgrid-module .table-frame,
body.techgrid-module .info-frame,
body.techgrid-module .design-admin-card,
body.techgrid-module .portal-item,
body.techgrid-module .section-frame,
body.techgrid-module .chat-card,
body.techgrid-module .access-point-manager-intro,
body.techgrid-module .access-assignment-card,
body.techgrid-module .retro-mail-template-row,
body.techgrid-module .easter-admin-card{
  background:linear-gradient(145deg,color-mix(in srgb,var(--tg-line) 4%,var(--tg-card)),var(--tg-card))!important;
  color:var(--tg-ink)!important;border:1px solid var(--tg-edge)!important;
  box-shadow:inset 0 0 18px rgba(0,0,0,.08),0 0 12px color-mix(in srgb,var(--tg-glow) 58%,transparent)!important;
}
body.techgrid-module .os-table{background:var(--tg-card)!important;color:var(--tg-ink)!important}
body.techgrid-module .os-table th{background:linear-gradient(90deg,color-mix(in srgb,var(--tg-line) 16%,transparent),transparent),var(--tg-button)!important;color:var(--tg-line-2)!important;border-color:var(--tg-edge)!important}
body.techgrid-module .os-table td{background:color-mix(in srgb,var(--tg-card) 94%,transparent)!important;color:var(--tg-ink)!important;border-color:color-mix(in srgb,var(--tg-edge) 52%,transparent)!important}
body.techgrid-module #praetorianControlWindow :is(.admin-details>summary,.create-details>summary){background:linear-gradient(90deg,color-mix(in srgb,var(--tg-line) 14%,var(--tg-panel-2)),var(--tg-panel-2))!important;color:var(--tg-ink)!important;border-color:var(--tg-edge)!important}
body.techgrid-module #praetorianControlWindow :is(.retro-fieldset legend,fieldset legend){background:var(--tg-panel-2)!important;color:var(--tg-line-2)!important;border:1px solid var(--tg-edge)!important}
body.techgrid-module #praetorianControlWindow :is(.access-assignment-head strong,.access-assignment-head span:not(.access-status),.access-assignment-controls label,.easter-trigger,.retro-mail-template-row label,.admin-order-label){color:var(--tg-ink)!important}
body.techgrid-module #praetorianControlWindow .access-link-editor{background:color-mix(in srgb,var(--tg-panel-2) 92%,transparent)!important;border-color:var(--tg-edge)!important;color:var(--tg-ink)!important}

/* Matrix Light tool parity. */
body.user-theme-techgrid-matrix[class*="user-theme-techgrid-"] .legacy-tool,
body.user-theme-techgrid-matrix[class*="user-theme-techgrid-"] .calc-tool-shell,
body.user-theme-techgrid-matrix[class*="user-theme-techgrid-"] .qr-tool-panel,
body.user-theme-techgrid-matrix[class*="user-theme-techgrid-"] .code-guide-shell,
body.user-theme-techgrid-matrix[class*="user-theme-techgrid-"] .secure-mail-app,
body.user-theme-techgrid-matrix[class*="user-theme-techgrid-"] .trace-tool,
body.user-theme-techgrid-matrix[class*="user-theme-techgrid-"] .records-tool,
body.user-theme-techgrid-matrix[class*="user-theme-techgrid-"] .mozart-tool{background:linear-gradient(145deg,#eef6f2,#dceae3)!important;color:#10231d!important}
body.user-theme-techgrid-matrix[class*="user-theme-techgrid-"] .legacy-menu,
body.user-theme-techgrid-matrix[class*="user-theme-techgrid-"] .record-menu,
body.user-theme-techgrid-matrix[class*="user-theme-techgrid-"] .mail-menubar,
body.user-theme-techgrid-matrix[class*="user-theme-techgrid-"] .qr-tool-head,
body.user-theme-techgrid-matrix[class*="user-theme-techgrid-"] .calc-panel-head,
body.user-theme-techgrid-matrix[class*="user-theme-techgrid-"] .code-guide-head,
body.user-theme-techgrid-matrix[class*="user-theme-techgrid-"] .moz-head,
body.user-theme-techgrid-matrix[class*="user-theme-techgrid-"] .secure-mail-panel-title{background:linear-gradient(90deg,rgba(8,123,93,.14),rgba(0,94,168,.05)),#cfdfd7!important;color:#064d3d!important;text-shadow:none!important}


body.techgrid-fui-active .techgrid-desktop-v3,
body.techgrid-fui-active .tg-node{
  --tg-hex-mask:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%);
}
body.techgrid-fui-active .techgrid-desktop-v3::before{
  background-size:220% 100%!important;
  animation:tgRailFlow 12s linear infinite!important;
}
body.techgrid-fui-active .techgrid-desktop-v3::after{
  background-size:180% 100%!important;
}
body.techgrid-fui-active .tg-dashboard-rail{
  stroke:color-mix(in srgb,var(--tg-line) 72%,transparent);
  stroke-width:1.1;
  opacity:.28;
  stroke-dasharray:24 14 46 16;
  filter:none;
  animation:tgDashFlow calc(12s + var(--rail,0)*.9s) linear infinite;
}
body.techgrid-fui-active .tg-dashboard-dot{
  fill:var(--tg-line-2);
  opacity:.48;
  filter:none;
}
body.techgrid-fui-active .tg-root-line{
  stroke:color-mix(in srgb,var(--tg-line) 78%,white 10%);
  stroke-width:1.75;
  opacity:.84;
  stroke-dasharray:18 8 36 10;
  filter:drop-shadow(0 0 5px var(--tg-glow));
  animation:tgDashFlow 6.4s linear infinite;
}
body.techgrid-fui-active .tg-child-line{
  stroke:color-mix(in srgb,var(--tg-line-2) 68%,transparent);
  stroke-width:1.35;
  opacity:.76;
  stroke-dasharray:11 8 22 8;
  filter:drop-shadow(0 0 4px color-mix(in srgb,var(--tg-line-2) 42%,transparent));
  animation:tgDashFlowReverse 8.4s linear infinite;
}
body.techgrid-fui-active .tg-launch-beam{
  stroke:color-mix(in srgb,var(--tg-line-2) 72%,white 28%);
  stroke-width:2.3;
  stroke-dasharray:34 12;
  filter:drop-shadow(0 0 8px var(--tg-line-2));
  animation:tgBeamPulse .74s ease both;
}

body.techgrid-fui-active .tg-node{
  isolation:isolate;
}
body.techgrid-fui-active .tg-node-frame{
  inset:2px!important;
  z-index:1;
  background:linear-gradient(140deg,color-mix(in srgb,var(--tg-line) 92%,white 8%),color-mix(in srgb,var(--tg-line-2) 88%,white 12%) 46%,color-mix(in srgb,var(--tg-line) 88%,white 12%) 100%)!important;
  filter:drop-shadow(0 0 9px var(--tg-glow))!important;
}
body.techgrid-fui-active .tg-node-frame::before{
  content:"";
  position:absolute;
  inset:2px;
  clip-path:inherit;
  background:linear-gradient(135deg,color-mix(in srgb,var(--tg-panel-2) 96%,var(--tg-line) 4%),color-mix(in srgb,var(--tg-panel) 96%,var(--tg-line-2) 4%));
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--tg-line) 34%,transparent), inset 0 0 0 9px transparent;
}
body.techgrid-fui-active .tg-node-frame::after{
  content:"";
  position:absolute;
  inset:10px 12px;
  clip-path:inherit;
  border:1px solid color-mix(in srgb,var(--tg-line-2) 36%,transparent);
  opacity:.76;
}
body.techgrid-fui-active .tg-node-surface{
  inset:8px!important;
  z-index:2;
  background:
    linear-gradient(180deg,color-mix(in srgb,var(--tg-line) 6%,transparent),transparent 22%),
    linear-gradient(145deg,color-mix(in srgb,var(--tg-panel-2) 90%,var(--tg-line) 10%),color-mix(in srgb,var(--tg-panel) 94%,var(--tg-line-2) 6%))!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.04),inset 0 0 26px rgba(0,0,0,.22)!important;
}
body.techgrid-fui-active .tg-node-surface::before{
  content:"";
  position:absolute;
  inset:10px 14px 18px;
  clip-path:inherit;
  background:
    linear-gradient(90deg,transparent 0 10%,color-mix(in srgb,var(--tg-node-tint,var(--tg-line)) 68%,transparent) 10.5% 23%,transparent 23.5% 100%),
    linear-gradient(180deg,color-mix(in srgb,var(--tg-node-tint,var(--tg-line-2)) 20%,transparent),transparent 28% 72%,color-mix(in srgb,var(--tg-node-tint,var(--tg-line-2)) 10%,transparent));
  opacity:.34;
}
body.techgrid-fui-active .tg-node-surface::after{
  content:"";
  position:absolute;
  left:14px;right:14px;bottom:12px;height:2px;
  background:linear-gradient(90deg,transparent 0 5%,var(--tg-line) 10%,transparent 34%,var(--tg-line-2) 56%,transparent 84%,var(--tg-line) 94%,transparent 100%);
  background-size:230% 100%;
  opacity:.82;
  animation:tgRail 4.1s linear infinite;
}
body.techgrid-fui-active .tg-node-icon,
body.techgrid-fui-active .tg-node strong,
body.techgrid-fui-active .tg-node small,
body.techgrid-fui-active .tg-node em{
  position:relative;
  z-index:4;
}
body.techgrid-fui-active .tg-node strong{letter-spacing:.12em;max-width:84px}
body.techgrid-fui-active .tg-node small{letter-spacing:.16em;max-width:80px}

body.techgrid-fui-active .tg-node-folder.is-open::before{opacity:.9;filter:drop-shadow(0 0 8px color-mix(in srgb,var(--tg-line-2) 62%,transparent))}
body.techgrid-fui-active .tg-node-folder.is-open .tg-node-frame{
  background:linear-gradient(140deg,color-mix(in srgb,var(--tg-line-2) 88%,white 12%),color-mix(in srgb,var(--tg-line) 76%,white 24%) 48%,color-mix(in srgb,var(--tg-line-2) 84%,white 16%))!important;
  filter:drop-shadow(0 0 18px color-mix(in srgb,var(--tg-line-2) 62%,transparent)) brightness(1.08)!important;
}
body.techgrid-fui-active .tg-node-folder.is-open .tg-node-frame::before{
  background:linear-gradient(145deg,color-mix(in srgb,var(--tg-line-2) 22%,var(--tg-panel-2)),color-mix(in srgb,var(--tg-line-2) 10%,var(--tg-panel)))!important;
}
body.techgrid-fui-active .tg-node-folder.is-open .tg-node-frame::after{border-color:color-mix(in srgb,var(--tg-line-2) 72%,white 12%)!important;opacity:.94!important}
body.techgrid-fui-active .tg-node-folder.is-open .tg-node-surface{
  background:
    radial-gradient(circle at 50% 34%,color-mix(in srgb,var(--tg-line-2) 16%,transparent),transparent 46%),
    linear-gradient(145deg,color-mix(in srgb,var(--tg-panel-2) 84%,var(--tg-line-2) 16%),color-mix(in srgb,var(--tg-panel) 93%,var(--tg-line-2) 7%))!important;
}
body.techgrid-fui-active .tg-node-folder.is-open .tg-node-surface::before{opacity:.52!important}
body.techgrid-fui-active .tg-node-folder.is-open strong{color:var(--tg-ink)!important;text-shadow:0 0 11px color-mix(in srgb,var(--tg-line-2) 52%,transparent)!important}
body.techgrid-fui-active .tg-node-folder.is-open small{color:color-mix(in srgb,var(--tg-ink) 80%,var(--tg-line-2) 20%)!important}

body.techgrid-fui-active .tg-subnode::before{opacity:.44}
body.techgrid-fui-active .tg-subnode::after{opacity:.14}
body.techgrid-fui-active .tg-subnode .tg-node-frame{
  background:linear-gradient(140deg,color-mix(in srgb,var(--tg-node-tint) 88%,white 12%),color-mix(in srgb,var(--tg-node-tint) 68%,var(--tg-line) 32%) 50%,color-mix(in srgb,var(--tg-node-tint) 90%,white 10%))!important;
  filter:drop-shadow(0 0 9px color-mix(in srgb,var(--tg-node-tint) 38%,transparent))!important;
}
body.techgrid-fui-active .tg-subnode .tg-node-frame::before{
  background:linear-gradient(145deg,color-mix(in srgb,var(--tg-panel-2) 90%,var(--tg-node-tint) 10%),color-mix(in srgb,var(--tg-panel) 93%,var(--tg-node-tint) 7%))!important;
}
body.techgrid-fui-active .tg-subnode .tg-node-frame::after{border-color:color-mix(in srgb,var(--tg-node-tint) 48%,transparent)!important;opacity:.66!important}
body.techgrid-fui-active .tg-subnode .tg-node-surface{
  background:
    linear-gradient(180deg,color-mix(in srgb,var(--tg-node-tint) 5%,transparent),transparent 30%),
    linear-gradient(145deg,color-mix(in srgb,var(--tg-panel-2) 94%,var(--tg-node-tint) 6%),color-mix(in srgb,var(--tg-panel) 96%,var(--tg-node-tint) 4%))!important;
}
body.techgrid-fui-active .tg-subnode .tg-node-surface::before{opacity:.22!important}
body.techgrid-fui-active .tg-subnode .tg-node-surface::after{opacity:.58!important}
body.techgrid-fui-active .tg-subnode strong{color:color-mix(in srgb,var(--tg-ink) 86%,var(--tg-node-tint) 14%)!important;text-shadow:none!important}
body.techgrid-fui-active .tg-subnode small{color:color-mix(in srgb,var(--tg-muted) 72%,var(--tg-node-tint) 28%)!important}

body.user-theme-techgrid-matrix.techgrid-fui-active .tg-node-frame{
  background:linear-gradient(140deg,#0a6c54,#0d7f61 46%,#0a684f)!important;
}
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-node-frame::before{background:linear-gradient(145deg,#d7e5de,#c8dacf)!important}
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-node-frame::after{border-color:rgba(16,35,29,.18)!important}
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-node-surface{background:linear-gradient(145deg,#d5e4dd,#c4d8cf)!important}
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-node strong{color:#0f261f!important}
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-node small{color:#466257!important}
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-node-folder.is-open .tg-node-frame{background:linear-gradient(140deg,#005ea8,#0b7fd0 48%,#005ea8)!important;filter:drop-shadow(0 0 12px rgba(0,94,168,.26))!important}
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-node-folder.is-open .tg-node-frame::before{background:linear-gradient(145deg,#d7e5de,#cce0d6)!important}
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-node-folder.is-open strong,
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-node-folder.is-open small{color:#082118!important;text-shadow:none!important}

@keyframes tgDashFlow{from{stroke-dashoffset:0}to{stroke-dashoffset:-84}}
@keyframes tgDashFlowReverse{from{stroke-dashoffset:0}to{stroke-dashoffset:84}}
@keyframes tgBeamPulse{0%{opacity:0;stroke-dashoffset:52}12%{opacity:1}100%{opacity:0;stroke-dashoffset:-18}}


body.techgrid-fui-active .tg-node::before,
body.techgrid-fui-active .tg-node::after{
  display:none!important;
  content:none!important;
}
body.techgrid-fui-active .tg-node-frame{
  inset:0!important;
}
body.techgrid-fui-active .tg-node-frame::before{
  inset:3px!important;
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--tg-line) 34%,transparent)!important;
}
body.techgrid-fui-active .tg-node-frame::after{
  content:""!important;
  position:absolute!important;
  left:17px!important;
  top:14px!important;
  width:27px!important;
  height:19px!important;
  inset:auto!important;
  clip-path:none!important;
  border:0!important;
  border-top:2px solid color-mix(in srgb,var(--tg-line-2) 78%,white 10%)!important;
  border-left:2px solid color-mix(in srgb,var(--tg-line) 72%,white 8%)!important;
  border-radius:1px 0 0 0!important;
  transform:skewX(-28deg)!important;
  opacity:.78!important;
  filter:drop-shadow(0 0 4px var(--tg-glow))!important;
  pointer-events:none!important;
}
body.techgrid-fui-active .tg-node-surface{
  inset:6px!important;
}
body.techgrid-fui-active .tg-node-surface::before{
  content:""!important;
  position:absolute!important;
  right:16px!important;
  bottom:14px!important;
  width:25px!important;
  height:17px!important;
  inset:auto!important;
  clip-path:none!important;
  background:none!important;
  border:0!important;
  border-right:1px solid color-mix(in srgb,var(--tg-node-tint,var(--tg-line-2)) 72%,white 8%)!important;
  border-bottom:1px solid color-mix(in srgb,var(--tg-node-tint,var(--tg-line)) 68%,white 6%)!important;
  transform:skewX(-28deg)!important;
  opacity:.58!important;
  filter:drop-shadow(0 0 3px var(--tg-glow))!important;
}
body.techgrid-fui-active .tg-node-folder.is-open .tg-node-frame::after{
  width:33px!important;
  height:23px!important;
  border-top-width:3px!important;
  border-left-width:3px!important;
  border-top-color:color-mix(in srgb,var(--tg-line-2) 92%,white 8%)!important;
  border-left-color:color-mix(in srgb,var(--tg-line-2) 76%,var(--tg-line) 24%)!important;
  opacity:1!important;
}
body.techgrid-fui-active .tg-node-folder.is-open .tg-node-surface::before{
  width:31px!important;
  height:21px!important;
  border-right-width:2px!important;
  border-bottom-width:2px!important;
  border-right-color:color-mix(in srgb,var(--tg-line-2) 86%,white 10%)!important;
  border-bottom-color:color-mix(in srgb,var(--tg-line) 68%,var(--tg-line-2) 32%)!important;
  opacity:.9!important;
}
body.techgrid-fui-active .tg-subnode .tg-node-frame::after{
  width:22px!important;
  height:15px!important;
  border-top-width:1px!important;
  border-left-width:1px!important;
  opacity:.55!important;
}
body.techgrid-fui-active .tg-subnode .tg-node-surface::before{
  width:20px!important;
  height:13px!important;
  opacity:.42!important;
}
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-node-frame::after{
  border-top-color:#0a6c54!important;
  border-left-color:#005ea8!important;
  filter:none!important;
}
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-node-surface::before{
  border-right-color:#0b6d54!important;
  border-bottom-color:#005ea8!important;
  filter:none!important;
}

body.techgrid-fui-active .tg-node,
body.techgrid-fui-active .tg-node:hover,
body.techgrid-fui-active .tg-node:focus,
body.techgrid-fui-active .tg-node:focus-visible,
body.techgrid-fui-active .tg-node.is-dragging{
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  outline:0!important;
  padding:0!important;
}
body.techgrid-fui-active .tg-node::before,
body.techgrid-fui-active .tg-node::after{
  display:none!important;
  content:none!important;
  background:none!important;
  border:0!important;
  box-shadow:none!important;
}
body.techgrid-fui-active .tg-node-frame,
body.techgrid-fui-active .tg-node-frame::before,
body.techgrid-fui-active .tg-node-surface,
body.techgrid-fui-active .tg-stack-slab,
body.techgrid-fui-active .tg-stack-slab::after{
  border-radius:0!important;
  clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%)!important;
}
body.techgrid-fui-active .tg-stack-slab{box-shadow:none!important}
body.techgrid-fui-active .tg-shape-circle,
body.techgrid-fui-active .tg-shape-circle .tg-node-frame,
body.techgrid-fui-active .tg-shape-circle .tg-node-frame::before,
body.techgrid-fui-active .tg-shape-circle .tg-node-surface{
  clip-path:none!important;
  border-radius:50%!important;
}

/* Michael Klementz | 25.09.2026 11:29 Uhr – Die vier Größenstufen halten Waben, Texte und Icons auch auf kleinen Displays innerhalb des nutzbaren Bereichs. */
body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="wide"]{
  --tg-action-w:112px;--tg-action-h:98px;--tg-folder-w:118px;--tg-folder-h:104px;--tg-circle-size:92px;--tg-icon-size:28px;--tg-title-size:9px;--tg-info-size:6.8px;
}
body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="medium"]{
  --tg-action-w:100px;--tg-action-h:88px;--tg-folder-w:106px;--tg-folder-h:94px;--tg-circle-size:82px;--tg-icon-size:25px;--tg-title-size:8.3px;--tg-info-size:6.3px;
}
body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="compact"]{
  --tg-action-w:88px;--tg-action-h:78px;--tg-folder-w:94px;--tg-folder-h:82px;--tg-circle-size:72px;--tg-icon-size:22px;--tg-title-size:7.4px;--tg-info-size:5.7px;
}
body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="micro"]{
  --tg-action-w:76px;--tg-action-h:68px;--tg-folder-w:82px;--tg-folder-h:72px;--tg-circle-size:64px;--tg-icon-size:19px;--tg-title-size:6.8px;--tg-info-size:5.2px;
}
body.techgrid-fui-active .tg-node:not(.tg-node-folder):not(.tg-shape-circle){width:var(--tg-action-w)!important;height:var(--tg-action-h)!important}
body.techgrid-fui-active .tg-node-folder{width:var(--tg-folder-w)!important;height:var(--tg-folder-h)!important}
body.techgrid-fui-active .tg-shape-circle{width:var(--tg-circle-size)!important;height:var(--tg-circle-size)!important}
body.techgrid-fui-active .tg-node-icon{width:var(--tg-icon-size)!important;height:var(--tg-icon-size)!important}
body.techgrid-fui-active .tg-node strong{font-size:var(--tg-title-size)!important;max-width:calc(var(--tg-action-w) - 24px)!important}
body.techgrid-fui-active .tg-node small{font-size:var(--tg-info-size)!important;max-width:calc(var(--tg-action-w) - 20px)!important}
body.techgrid-fui-active .tg-node-folder strong{max-width:calc(var(--tg-folder-w) - 24px)!important}
body.techgrid-fui-active .tg-node-folder small{max-width:calc(var(--tg-folder-w) - 20px)!important}

body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="medium"] .tg-left-copy{transform:scale(.88);transform-origin:left top;max-width:30vw}
body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="compact"] .tg-left-copy{opacity:.38;transform:scale(.72);transform-origin:left top;left:2.5%;top:15%;width:32vw}
body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="compact"] .tg-telemetry{transform:scale(.82);transform-origin:center}
body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="micro"] .tg-left-copy,
body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="micro"] .tg-telemetry,
body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="micro"] .tg-hover-readout{display:none!important}
/* MKL | 02.10.2026 – Schritt 257: Root-Waben bleiben auch in schmalen Ansichten einzeilig; Unterwaben dürfen weiterhin sinnvoll umbrechen. */
body.techgrid-fui-active .techgrid-desktop-v3:is([data-tg-size="compact"],[data-tg-size="micro"]) .tg-node[data-depth="0"]> .tg-node-frame .tg-node-surface>strong{white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;max-width:none!important;letter-spacing:.08em!important}
body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="micro"] .tg-node[data-depth="0"]> .tg-node-frame .tg-node-surface>strong{font-size:6.25px!important}

body.techgrid-fui-active .techgrid-desktop-v3.tg-layout-sliding .tg-node:not(.is-dragging){
  transition:left .30s cubic-bezier(.2,.78,.2,1),top .30s cubic-bezier(.2,.78,.2,1),width .24s ease,height .24s ease,transform .16s ease,filter .16s ease!important;
}
body.techgrid-fui-active .tg-circuit-layer{
  transform-origin:center center;
  transition:opacity .18s ease,transform .30s cubic-bezier(.2,.78,.2,1);
}
body.techgrid-fui-active .techgrid-desktop-v3.tg-circuit-reflow .tg-circuit-layer{
  opacity:.42!important;
  transform:translate3d(10px,0,0) scale(.995);
}
body.techgrid-fui-active .techgrid-desktop-v3.tg-layout-sliding .tg-core-orbit{
  transition:left .30s cubic-bezier(.2,.78,.2,1),top .30s cubic-bezier(.2,.78,.2,1),transform .24s ease!important;
}

body.techgrid-fui-active .tg-folder-notice{
  position:absolute;
  left:12px;
  bottom:11px;
  z-index:24;
  min-width:20px;
  height:14px;
  padding:0 4px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:3px;
  border:1px solid color-mix(in srgb,var(--tg-line-2) 52%,transparent);
  border-radius:9px!important;
  background:color-mix(in srgb,var(--tg-panel-2) 84%,transparent)!important;
  color:var(--tg-line-2)!important;
  box-shadow:0 0 7px color-mix(in srgb,var(--tg-glow) 58%,transparent)!important;
  pointer-events:none;
  font:700 7px/1 Consolas,monospace;
  letter-spacing:0;
}
body.techgrid-fui-active .tg-folder-notice[hidden]{display:none!important}
body.techgrid-fui-active .tg-folder-notice i{
  width:5px;height:5px;border-radius:50%;background:var(--tg-line-2);box-shadow:0 0 6px var(--tg-line-2);animation:tgFolderNoticePulse 2.2s ease-in-out infinite;
}
body.techgrid-fui-active .tg-folder-notice b{font:inherit;color:inherit}
body.techgrid-fui-active .tg-node-folder.is-open .tg-folder-notice{opacity:.72}
body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="compact"] .tg-folder-notice{left:8px;bottom:8px;transform:scale(.88);transform-origin:left bottom}
body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="micro"] .tg-folder-notice{left:6px;bottom:6px;transform:scale(.76);transform-origin:left bottom}
@keyframes tgFolderNoticePulse{0%,100%{opacity:.55;transform:scale(.82)}50%{opacity:1;transform:scale(1.12)}}
@media (max-width:430px),(max-height:420px){
  body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="micro"]{
    --tg-action-w:54px;--tg-action-h:48px;--tg-folder-w:58px;--tg-folder-h:50px;--tg-circle-size:48px;--tg-icon-size:15px;--tg-title-size:5.8px;--tg-info-size:4.6px;
  }
  body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="micro"] .tg-node small{display:none!important}
  body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="micro"] .tg-stack-slab.s1{transform:translate3d(6px,-5px,0) scale(.96)!important}
  body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="micro"] .tg-stack-slab.s2{transform:translate3d(11px,-9px,0) scale(.92)!important}
  body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="micro"] .tg-stack-slab.s3{transform:translate3d(16px,-13px,0) scale(.88)!important}
}

body:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-light,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-matrix,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel).techgrid-fui-active .tg-node,
body:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-light,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-matrix,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel).techgrid-fui-active .tg-node:hover,
body:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-light,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-matrix,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel).techgrid-fui-active .tg-node:focus,
body:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-light,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-matrix,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel).techgrid-fui-active .tg-node:focus-visible{
  background:transparent!important;border:0!important;box-shadow:none!important;outline:0!important;border-radius:0!important;
}
body.techgrid-fui-active .tg-node-frame,
body.techgrid-fui-active .tg-node-frame::before,
body.techgrid-fui-active .tg-node-surface,
body.techgrid-fui-active .tg-stack-slab,
body.techgrid-fui-active .tg-stack-slab::after{
  -webkit-clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%)!important;
  clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%)!important;
}
body.techgrid-fui-active .tg-node::before,
body.techgrid-fui-active .tg-node::after{display:none!important;content:none!important;background:none!important;border:0!important;box-shadow:none!important;}
body.techgrid-fui-active .tg-shape-circle .tg-node-frame,
body.techgrid-fui-active .tg-shape-circle .tg-node-frame::before,
body.techgrid-fui-active .tg-shape-circle .tg-node-surface{-webkit-clip-path:none!important;clip-path:none!important;border-radius:50%!important}



/* Michael Klementz | 28.09.2026 – Schritt 114: Eine aus einer Sammelwabe gelöste normale Wabe wird auf dem Desktop zum eigenständigen runden Icon. Geometrie und Grunddesign entsprechen dem runden Security-Alert-Knoten; nur dessen Ereignis-Orbit bleibt exklusiv beim echten Security Alert. */
body.techgrid-fui-active .tg-node.tg-detached-desktop-icon .tg-node-frame,
body.techgrid-fui-active .tg-node.tg-detached-desktop-icon .tg-node-frame::before,
body.techgrid-fui-active .tg-node.tg-detached-desktop-icon .tg-node-surface{
  -webkit-clip-path:none!important;clip-path:none!important;border-radius:50%!important;
}
body.techgrid-fui-active .tg-node.tg-detached-desktop-icon .tg-hierarchy-mark{display:none!important}
body.techgrid-fui-active .tg-node.tg-detached-desktop-icon .tg-node-frame::after{left:18%!important;top:15%!important;width:27%!important;height:18%!important}
body.techgrid-fui-active .tg-node.tg-detached-desktop-icon .tg-node-surface::before{right:18%!important;bottom:15%!important;width:25%!important;height:17%!important}

/* Individuelle Farbverschiebung wirkt nur auf die Wabe, nicht auf den Desktop. */
body.techgrid-fui-active .tg-node.has-user-hue .tg-node-frame{
  filter:hue-rotate(var(--tg-user-hue,0deg)) drop-shadow(0 0 10px var(--tg-glow))!important;
}
body.techgrid-fui-active .tg-node.has-user-hue:hover .tg-node-frame,
body.techgrid-fui-active .tg-node.has-user-hue.is-hover .tg-node-frame{
  filter:hue-rotate(var(--tg-user-hue,0deg)) drop-shadow(0 0 18px var(--tg-line-2))!important;
}
body.techgrid-fui-active .tg-node-folder.is-open.has-user-hue .tg-node-frame{
  filter:hue-rotate(var(--tg-user-hue,0deg)) drop-shadow(0 0 18px color-mix(in srgb,var(--tg-line-2) 62%,transparent)) brightness(1.08)!important;
}

/* MKL | 02.10.2026 – Schritt 257: Kurze, eindeutige Halte-Zuordnung beim Umhängen einer Unterwabe. */
body.techgrid-fui-active .tg-node.tg-reparent-target .tg-node-frame{
  filter:drop-shadow(0 0 24px var(--tg-line-2)) brightness(1.16)!important;
}
body.techgrid-fui-active .tg-node.tg-reparent-target .tg-node-surface{
  box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--tg-line-2) 72%,transparent),inset 0 0 28px color-mix(in srgb,var(--tg-line-2) 15%,transparent)!important;
}
body.techgrid-fui-active .tg-node.tg-reparent-success .tg-node-frame{animation:tgReparentSuccess .52s ease both!important}
body.techgrid-fui-active .tg-node.tg-reparent-holding{opacity:.86}
body.techgrid-fui-active .tg-reparent-meter{
  position:absolute;left:50%;top:calc(100% + 7px);transform:translateX(-50%);z-index:140;width:78px;height:16px;padding:2px 4px;border:1px solid var(--tg-line-2);background:color-mix(in srgb,var(--tg-panel-2) 92%,transparent);box-shadow:0 0 11px var(--tg-glow);overflow:hidden;pointer-events:none;
  -webkit-clip-path:polygon(6px 0,100% 0,100% calc(100% - 5px),calc(100% - 6px) 100%,0 100%,0 6px);clip-path:polygon(6px 0,100% 0,100% calc(100% - 5px),calc(100% - 6px) 100%,0 100%,0 6px);
}
body.techgrid-fui-active .tg-reparent-meter i{position:absolute;left:2px;top:2px;bottom:2px;width:0;background:linear-gradient(90deg,var(--tg-line),var(--tg-line-2));box-shadow:0 0 8px var(--tg-line-2);animation:tgReparentFill var(--tg-reparent-hold,1.05s) linear forwards}
body.techgrid-fui-active .tg-reparent-meter b{position:relative;z-index:2;display:block;text-align:center;color:var(--tg-ink);font:700 7px/10px Consolas,monospace;letter-spacing:.08em;text-shadow:0 1px 2px #000}
@keyframes tgReparentFill{from{width:0}to{width:calc(100% - 4px)}}
@keyframes tgReparentSuccess{0%{transform:scale(1)}35%{transform:scale(1.035);filter:brightness(1.12)}100%{transform:scale(1)}}

/* TechGrid-Kontextmenü: kantiges HUD-Panel statt klassischer Browser-/Windows-Menüs. */
body.techgrid-fui-active .tg-context-menu{
  position:absolute;z-index:600;width:min(310px,calc(100vw - 24px));max-height:min(680px,calc(100% - 18px));overflow:auto;padding:10px;background:linear-gradient(155deg,color-mix(in srgb,var(--tg-line) 9%,var(--tg-panel-2)),var(--tg-panel-2) 48%,color-mix(in srgb,var(--tg-line-2) 7%,var(--tg-panel)));border:1px solid var(--tg-edge);box-shadow:0 18px 46px rgba(0,0,0,.48),0 0 22px var(--tg-glow);backdrop-filter:blur(16px);color:var(--tg-ink);
  -webkit-clip-path:polygon(12px 0,calc(100% - 24px) 0,100% 24px,100% calc(100% - 12px),calc(100% - 12px) 100%,18px 100%,0 calc(100% - 18px),0 12px);clip-path:polygon(12px 0,calc(100% - 24px) 0,100% 24px,100% calc(100% - 12px),calc(100% - 12px) 100%,18px 100%,0 calc(100% - 18px),0 12px);
}
body.techgrid-fui-active .tg-context-menu[hidden]{display:none!important}
body.techgrid-fui-active .tg-context-menu header{display:grid;gap:3px;padding:5px 8px 9px;margin-bottom:7px;border-bottom:1px solid color-mix(in srgb,var(--tg-line) 40%,transparent)}
body.techgrid-fui-active .tg-context-menu header small,.tg-context-themes>small{color:var(--tg-line-2);font:700 7px/1.2 Consolas,monospace;letter-spacing:.22em;text-transform:uppercase}
body.techgrid-fui-active .tg-context-menu header strong{font:800 11px/1.2 "Segoe UI",Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase;overflow-wrap:anywhere}
body.techgrid-fui-active .tg-context-actions{display:grid;gap:4px}
body.techgrid-fui-active .tg-context-menu button{margin:0!important;min-height:30px!important;padding:6px 9px!important;border:1px solid color-mix(in srgb,var(--tg-edge) 72%,transparent)!important;border-radius:0!important;background:linear-gradient(90deg,color-mix(in srgb,var(--tg-line) 7%,transparent),transparent),var(--tg-button)!important;color:var(--tg-ink)!important;box-shadow:none!important;text-align:left!important;font:700 9px/1.2 "Segoe UI",Arial,sans-serif!important;letter-spacing:.05em!important;transform:none!important;cursor:pointer!important;
  -webkit-clip-path:polygon(5px 0,100% 0,100% calc(100% - 5px),calc(100% - 5px) 100%,0 100%,0 5px);clip-path:polygon(5px 0,100% 0,100% calc(100% - 5px),calc(100% - 5px) 100%,0 100%,0 5px);
}
body.techgrid-fui-active .tg-context-menu button:hover,body.techgrid-fui-active .tg-context-menu button.active{background:linear-gradient(90deg,color-mix(in srgb,var(--tg-line) 20%,transparent),color-mix(in srgb,var(--tg-line-2) 7%,transparent)),var(--tg-button-hover)!important;border-color:var(--tg-line-2)!important;color:var(--tg-line-2)!important;box-shadow:inset 3px 0 0 var(--tg-line-2)!important}
body.techgrid-fui-active .tg-context-menu button.danger{border-color:color-mix(in srgb,var(--tg-danger) 58%,transparent)!important;color:color-mix(in srgb,var(--tg-danger) 78%,white)!important}
body.techgrid-fui-active .tg-context-color,body.techgrid-fui-active .tg-context-switches,body.techgrid-fui-active .tg-context-themes{display:grid;gap:6px;margin-top:8px;padding-top:8px;border-top:1px solid color-mix(in srgb,var(--tg-line) 28%,transparent)}
body.techgrid-fui-active .tg-context-color label{display:flex;justify-content:space-between;gap:10px;color:var(--tg-muted);font:700 8px/1.2 Consolas,monospace;letter-spacing:.08em}
body.techgrid-fui-active .tg-context-color output{color:var(--tg-line-2)}
body.techgrid-fui-active .tg-context-color input[type="range"]{width:100%;accent-color:var(--tg-line-2);background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
body.techgrid-fui-active .tg-switch-row{display:flex!important;justify-content:space-between!important;align-items:center!important}
body.techgrid-fui-active .tg-switch-row b{color:var(--tg-line-2);font:800 8px/1 Consolas,monospace}
body.techgrid-fui-active .danger-zone{margin-top:9px;padding-top:8px;border-top:1px solid color-mix(in srgb,var(--tg-danger) 34%,transparent)}

/* Eigene TechGrid-Dialoge für Löschen, Umbenennen und neue Sammelwaben. */
body.techgrid-fui-active .tg-dialog-shade{position:absolute;inset:0;z-index:700;display:grid;place-items:center;background:rgba(2,5,9,.46);backdrop-filter:blur(3px)}

body.techgrid-fui-active .tg-dialog{width:min(430px,calc(100% - 28px));padding:14px;background:linear-gradient(150deg,color-mix(in srgb,var(--tg-line) 9%,var(--tg-panel-2)),var(--tg-panel-2));border:1px solid var(--tg-edge);box-shadow:0 22px 60px rgba(0,0,0,.55),0 0 28px var(--tg-glow);color:var(--tg-ink);-webkit-clip-path:polygon(15px 0,calc(100% - 24px) 0,100% 24px,100% calc(100% - 15px),calc(100% - 15px) 100%,24px 100%,0 calc(100% - 24px),0 15px);clip-path:polygon(15px 0,calc(100% - 24px) 0,100% 24px,100% calc(100% - 15px),calc(100% - 15px) 100%,24px 100%,0 calc(100% - 24px),0 15px)}
body.techgrid-fui-active .tg-dialog header{display:grid;gap:4px;border-bottom:1px solid var(--tg-edge);padding:2px 4px 10px;margin-bottom:12px}
body.techgrid-fui-active .tg-dialog header span{color:var(--tg-line-2);font:700 8px/1 Consolas,monospace;letter-spacing:.2em}
body.techgrid-fui-active .tg-dialog header strong{font:800 14px/1.2 "Segoe UI",Arial,sans-serif;letter-spacing:.1em}
body.techgrid-fui-active .tg-dialog p{color:var(--tg-muted);font:500 12px/1.45 "Segoe UI",Arial,sans-serif}
body.techgrid-fui-active .tg-dialog-input{width:100%;box-sizing:border-box;margin:5px 0 12px!important}
body.techgrid-fui-active .tg-dialog footer{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}
body.techgrid-fui-active .tg-dialog button{min-width:105px;border-radius:0!important}
body.techgrid-fui-active .tg-dialog button.danger{border-color:var(--tg-danger)!important;color:#fff!important;background:color-mix(in srgb,var(--tg-danger) 42%,var(--tg-button))!important}

/* Michael Klementz | 27.09.2026 – Objekt 62: Desktop-Optionen bleiben als Statusklassen erhalten; die eigentliche globale Bewegungssperre sitzt zentral auf body.techgrid-motion-off. */
body.techgrid-fui-active .techgrid-desktop-v3.tg-lines-hidden .tg-circuit-layer{opacity:0!important;visibility:hidden!important}
body.techgrid-fui-active .techgrid-desktop-v3.tg-lines-hidden::before,body.techgrid-fui-active .techgrid-desktop-v3.tg-lines-hidden::after{opacity:0!important}

/* Inaktivitätssperre liegt außerhalb des gesperrten OS und bleibt deshalb scharf und bedienbar. */
body.techgrid-idle-locked .os-shell{filter:blur(8px) saturate(.55) brightness(.66);pointer-events:none!important;user-select:none!important;transition:filter .35s ease}
.tg-idle-lock{position:fixed;inset:0;z-index:2147483646;display:grid;place-items:center;padding:clamp(10px,4vh,40px) 14px;background:rgba(2,5,9,.34);backdrop-filter:blur(2px);overflow:auto}
.tg-idle-lock[hidden]{display:none!important}
.tg-idle-lock-window{width:min(560px,calc(100vw - 28px));max-height:min(760px,calc(100dvh - 24px));overflow:auto;box-sizing:border-box;background:linear-gradient(155deg,color-mix(in srgb,var(--tg-line,#22caff) 9%,#07111a),#07111a 58%,color-mix(in srgb,var(--tg-line-2,#66ffe0) 6%,#050b11));border:1px solid var(--tg-edge,#36bfe8);box-shadow:0 25px 80px rgba(0,0,0,.66),0 0 34px var(--tg-glow,rgba(46,197,255,.35));color:var(--tg-ink,#eef8ff);-webkit-clip-path:polygon(18px 0,calc(100% - 32px) 0,100% 32px,100% calc(100% - 18px),calc(100% - 18px) 100%,32px 100%,0 calc(100% - 32px),0 18px);clip-path:polygon(18px 0,calc(100% - 32px) 0,100% 32px,100% calc(100% - 18px),calc(100% - 18px) 100%,32px 100%,0 calc(100% - 32px),0 18px);scrollbar-width:thin;scrollbar-color:var(--tg-line,#22caff) transparent}
.tg-idle-lock-window header{position:relative;padding:15px 18px 12px;border-bottom:1px solid var(--tg-edge,#36bfe8);background:linear-gradient(90deg,color-mix(in srgb,var(--tg-line,#22caff) 13%,transparent),transparent)}
.tg-idle-lock-window header small{display:block;padding-right:120px;color:var(--tg-line-2,#66ffe0);font:700 8px/1.25 Consolas,monospace;letter-spacing:.18em;margin-bottom:5px;overflow-wrap:anywhere}
.tg-idle-lock-window header strong{display:block;padding-right:120px;font:800 clamp(15px,3.4vw,18px)/1.2 "Segoe UI",Arial,sans-serif;letter-spacing:.1em;overflow-wrap:anywhere}
.tg-idle-state{position:absolute;right:18px;top:50%;transform:translateY(-50%);padding:5px 7px;border:1px solid color-mix(in srgb,#ffb45e 72%,var(--tg-edge,#36bfe8));color:#ffd6a7;background:rgba(78,40,5,.24);font:800 8px/1 Consolas,monospace;letter-spacing:.1em;white-space:nowrap}
.tg-idle-lock-body{padding:18px 20px 20px;min-width:0}
.tg-idle-intro{display:grid;grid-template-columns:54px minmax(0,1fr);gap:15px;align-items:start}
.tg-idle-hex{width:54px;height:48px;display:grid;place-items:center;background:linear-gradient(135deg,var(--tg-line,#22caff),var(--tg-line-2,#66ffe0));color:#061018;font:900 22px/1 Consolas,monospace;-webkit-clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%);clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%);box-shadow:0 0 18px var(--tg-glow,rgba(46,197,255,.35))}
.tg-idle-lock-body p{min-width:0;font:500 12px/1.5 "Segoe UI",Arial,sans-serif;color:var(--tg-ink,#eef8ff);margin:0 0 10px;overflow-wrap:break-word;word-break:normal}
.tg-idle-lock-body .tg-idle-hint{color:var(--tg-muted,#8fa6bd);font-size:11px}
.tg-idle-lock form{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px;margin-top:15px;clear:both}
.tg-idle-lock label{display:grid;min-width:0;gap:5px;color:var(--tg-line-2,#66ffe0);font:700 8px/1.2 Consolas,monospace;letter-spacing:.12em;text-transform:uppercase}
.tg-idle-lock input{min-width:0;width:100%;box-sizing:border-box;padding:10px 11px;background:rgba(0,0,0,.28);color:var(--tg-ink,#eef8ff);border:1px solid var(--tg-edge,#36bfe8);outline:0;box-shadow:inset 0 0 18px rgba(0,0,0,.22);font:600 13px/1.2 "Segoe UI",Arial,sans-serif}
.tg-idle-lock input:focus{border-color:var(--tg-line-2,#66ffe0);box-shadow:0 0 0 1px var(--tg-line-2,#66ffe0),0 0 14px var(--tg-glow,rgba(46,197,255,.35))}
.tg-idle-password-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;min-width:0}
.tg-idle-lock button{min-width:0;padding:10px 13px;border:1px solid var(--tg-line-2,#66ffe0);background:linear-gradient(90deg,color-mix(in srgb,var(--tg-line,#22caff) 28%,#0a1a24),color-mix(in srgb,var(--tg-line-2,#66ffe0) 16%,#0a1a24));color:var(--tg-ink,#eef8ff);font:800 9px/1.2 "Segoe UI",Arial,sans-serif;letter-spacing:.09em;cursor:pointer;-webkit-clip-path:polygon(6px 0,100% 0,100% calc(100% - 6px),calc(100% - 6px) 100%,0 100%,0 6px);clip-path:polygon(6px 0,100% 0,100% calc(100% - 6px),calc(100% - 6px) 100%,0 100%,0 6px)}
.tg-idle-reveal{white-space:nowrap;padding-inline:9px!important}
.tg-idle-lock button:disabled{opacity:.55;cursor:wait}
.tg-idle-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:2px}
.tg-idle-lock .tg-idle-cancel{border-color:color-mix(in srgb,var(--tg-muted,#8fa6bd) 72%,var(--tg-edge,#36bfe8));background:color-mix(in srgb,var(--tg-panel,#07111a) 84%,transparent);color:var(--tg-muted,#b8cad9);box-shadow:none}
.tg-idle-lock .tg-idle-cancel:hover,.tg-idle-lock .tg-idle-cancel:focus-visible{border-color:var(--tg-line,#22caff);color:var(--tg-ink,#eef8ff);box-shadow:0 0 12px var(--tg-glow,rgba(46,197,255,.35))}
.tg-idle-error{grid-column:1/-1;padding:8px 10px;border:1px solid #ff5b69;background:rgba(120,10,22,.24);color:#ffd9dd;font:700 10px/1.35 Consolas,monospace;overflow-wrap:break-word}
.tg-idle-error[hidden]{display:none!important}
@media(max-width:620px){.tg-idle-lock{padding:9px}.tg-idle-lock-window{width:min(500px,calc(100vw - 18px));max-height:calc(100dvh - 18px)}.tg-idle-lock-window header small,.tg-idle-lock-window header strong{padding-right:0}.tg-idle-state{position:static;display:inline-block;transform:none;margin-top:8px}.tg-idle-lock-body{padding:14px}.tg-idle-lock form{grid-template-columns:1fr}.tg-idle-error,.tg-idle-actions{grid-column:1}.tg-idle-actions{grid-template-columns:1fr}.tg-idle-actions .tg-idle-cancel{order:2}}
@media(max-width:390px){.tg-idle-intro{grid-template-columns:1fr}.tg-idle-hex{width:46px;height:40px}.tg-idle-password-row{grid-template-columns:1fr}.tg-idle-reveal{width:auto}.tg-idle-lock-window header{padding:12px 14px 10px}.tg-idle-lock-body{padding:12px}.tg-idle-lock button{width:auto}}
@media(max-height:520px){.tg-idle-lock{place-items:start center;padding-top:6px}.tg-idle-lock-window{max-height:calc(100dvh - 12px)}.tg-idle-lock-window header{padding-block:9px 8px}.tg-idle-lock-body{padding-block:10px}.tg-idle-intro{gap:10px}.tg-idle-lock-body p{line-height:1.35;margin-bottom:6px}.tg-idle-lock form{margin-top:9px;gap:7px 10px}.tg-idle-lock input,.tg-idle-lock button{padding-block:8px}}


body.os-body.techgrid-fui-active:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-light,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-matrix,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) .techgrid-desktop-v3 button.tg-node,
body.os-body.techgrid-fui-active:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-light,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-matrix,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) .techgrid-desktop-v3 button.tg-node:active,
body.os-body.techgrid-fui-active:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-light,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-matrix,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) .techgrid-desktop-v3 button.tg-node:focus,
body.os-body.techgrid-fui-active:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-light,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-matrix,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) .techgrid-desktop-v3 button.tg-node:focus-visible{
  -webkit-appearance:none!important;appearance:none!important;
  background:transparent!important;background-color:transparent!important;background-image:none!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;outline:0!important;
  margin:0!important;padding:0!important;min-width:0!important;min-height:0!important;
  transform:translate(-50%,-50%)!important;
  transition:filter .2s ease,transform .2s ease!important;
}
body.os-body.techgrid-fui-active:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-light,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-matrix,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) .techgrid-desktop-v3 button.tg-node:hover:not(.is-dragging),
body.os-body.techgrid-fui-active:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-light,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-matrix,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) .techgrid-desktop-v3 button.tg-node:focus-visible:not(.is-dragging){
  background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;
  transform:translate(-50%,-50%) scale(1.06)!important;
}
body.os-body.techgrid-fui-active:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-light,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-matrix,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) .techgrid-desktop-v3 button.tg-node.is-dragging{
  background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;
  transform:translate(-50%,-50%) scale(1.035)!important;
}
body.os-body.techgrid-fui-active:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-light,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-matrix,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) .techgrid-desktop-v3 button.tg-node::before,
body.os-body.techgrid-fui-active:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-light,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-matrix,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) .techgrid-desktop-v3 button.tg-node::after{
  display:none!important;content:none!important;background:none!important;border:0!important;box-shadow:none!important;
}
body.os-body.techgrid-fui-active .techgrid-desktop-v3.tg-layout-sliding button.tg-node:not(.is-dragging){
  transition:left .30s cubic-bezier(.2,.78,.2,1),top .30s cubic-bezier(.2,.78,.2,1),width .24s ease,height .24s ease,filter .16s ease,transform .16s ease!important;
}

body.techgrid-fui-active .tg-context-size{display:grid;gap:6px;margin-top:8px;padding-top:8px;border-top:1px solid color-mix(in srgb,var(--tg-line) 28%,transparent)}
body.techgrid-fui-active .tg-context-size label{display:flex;justify-content:space-between;gap:10px;color:var(--tg-muted);font:700 8px/1.2 Consolas,monospace;letter-spacing:.08em}
body.techgrid-fui-active .tg-context-size output{color:var(--tg-line-2)}
body.techgrid-fui-active .tg-context-size input[type="range"]{width:100%;accent-color:var(--tg-line-2);background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}


body.os-body.techgrid-fui-active .techgrid-desktop-v3 button.tg-node{scale:1!important}
body.techgrid-fui-active .tg-node-icon{width:var(--tg-user-icon-size,var(--tg-icon-size))!important;height:var(--tg-user-icon-size,var(--tg-icon-size))!important}
body.techgrid-fui-active .tg-node strong{font-size:var(--tg-user-title-size,var(--tg-title-size))!important}
body.techgrid-fui-active .tg-node small{font-size:var(--tg-user-info-size,var(--tg-info-size))!important}


body.techgrid-fui-active .tg-context-labelsize{border-top:1px solid color-mix(in srgb,var(--tg-edge) 55%,transparent);padding-top:10px}

body.techgrid-fui-active .tg-core-orbit{
  --tg-core-orbit-out:38px;
  width:150px!important;
  height:150px!important;
  display:grid!important;
  place-items:center!important;
  overflow:visible!important;
  border:1px solid color-mix(in srgb,var(--tg-line) 55%,transparent)!important;
  background:
    radial-gradient(circle at 50% 42%,color-mix(in srgb,var(--tg-line-2) 12%,transparent) 0 22%,transparent 23% 34%,color-mix(in srgb,var(--tg-panel-2) 84%,transparent) 35% 63%,color-mix(in srgb,var(--tg-line) 8%,transparent) 64% 66%,transparent 67%),
    radial-gradient(circle,color-mix(in srgb,var(--tg-panel-2) 92%,transparent),color-mix(in srgb,var(--tg-panel) 80%,transparent))!important;
  box-shadow:
    0 0 0 1px color-mix(in srgb,var(--tg-line-2) 18%,transparent),
    0 0 24px var(--tg-glow),
    inset 0 0 34px color-mix(in srgb,var(--tg-line) 10%,transparent)!important;
  filter:drop-shadow(0 0 12px color-mix(in srgb,var(--tg-line) 24%,transparent))!important;
}
body.techgrid-fui-active .tg-core-orbit::before,
body.techgrid-fui-active .tg-core-orbit::after{
  content:"";
  position:absolute;
  border-radius:50%;
  pointer-events:none;
}
body.techgrid-fui-active .tg-core-orbit::before{
  inset:14px;
  border:1px solid color-mix(in srgb,var(--tg-line-2) 34%,transparent);
  box-shadow:inset 0 0 14px color-mix(in srgb,var(--tg-line-2) 8%,transparent);
}
body.techgrid-fui-active .tg-core-orbit::after{
  inset:-3px;
  padding:2px;
  background:conic-gradient(from 18deg,transparent 0 10%,var(--tg-line) 10% 17%,transparent 17% 43%,var(--tg-line-2) 43% 51%,transparent 51% 77%,var(--tg-line) 77% 84%,transparent 84% 100%);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  opacity:.92;
  filter:drop-shadow(0 0 5px var(--tg-glow));
  animation:tgSpin 18s linear infinite;
}
body.techgrid-fui-active .tg-core-mark{
  position:relative!important;
  z-index:6!important;
  display:grid!important;
  place-items:center!important;
  width:88px!important;
  height:96px!important;
  color:var(--tg-line-2)!important;
  text-shadow:none!important;
  background:none!important;
  border:0!important;
  box-shadow:none!important;
}
/* MKL | 02.10.2026 – Schritt 268: Der reale PRAETORIAN-Corekopf nutzt wieder die ursprünglichen themeabhängigen Head-Grafiken; Größe, Glow und Einbettung bleiben im TechGrid konsistent. */
body.techgrid-fui-active .tg-praetorian-emblem{
  display:block;
  width:88px;
  height:96px;
  overflow:visible;
  user-select:none;
  pointer-events:none;
  filter:drop-shadow(0 0 7px color-mix(in srgb,var(--tg-line) 34%,transparent)) brightness(1.04) contrast(1.05);
}
body.techgrid-fui-active .tg-praetorian-emblem .tg-prae-plume-back{fill:color-mix(in srgb,var(--tg-panel-2) 78%,var(--tg-line) 22%);stroke:var(--tg-line-2);stroke-width:1.8;stroke-linejoin:round}
body.techgrid-fui-active .tg-praetorian-emblem .tg-prae-plume{fill:color-mix(in srgb,var(--tg-line) 82%,var(--tg-line-2) 18%);stroke:color-mix(in srgb,var(--tg-line-2) 72%,var(--tg-ink) 28%);stroke-width:1.5;stroke-linejoin:round}
body.techgrid-fui-active .tg-praetorian-emblem .tg-prae-helmet-shell{fill:color-mix(in srgb,var(--tg-panel-2) 72%,var(--tg-line) 28%);stroke:var(--tg-line-2);stroke-width:2.2;stroke-linejoin:round}
body.techgrid-fui-active .tg-praetorian-emblem .tg-prae-brow{fill:color-mix(in srgb,var(--tg-line) 58%,var(--tg-panel-2) 42%);stroke:var(--tg-line-2);stroke-width:1.7;stroke-linejoin:round}
body.techgrid-fui-active .tg-praetorian-emblem .tg-prae-face{fill:color-mix(in srgb,var(--tg-ink) 42%,var(--tg-panel-2) 58%);stroke:color-mix(in srgb,var(--tg-line-2) 72%,var(--tg-ink) 28%);stroke-width:1.5;stroke-linejoin:round}
body.techgrid-fui-active .tg-praetorian-emblem .tg-prae-eye{fill:color-mix(in srgb,var(--tg-bg) 86%,#000 14%);stroke:var(--tg-line);stroke-width:.8}
body.techgrid-fui-active .tg-praetorian-emblem .tg-prae-nose{fill:color-mix(in srgb,var(--tg-panel) 64%,var(--tg-line) 36%);stroke:color-mix(in srgb,var(--tg-line-2) 68%,var(--tg-ink) 32%);stroke-width:1}
body.techgrid-fui-active .tg-praetorian-emblem .tg-prae-mouth{fill:var(--tg-line-2);opacity:.88}
body.techgrid-fui-active .tg-praetorian-emblem .tg-prae-cheek{fill:color-mix(in srgb,var(--tg-panel-2) 82%,var(--tg-line) 18%);stroke:var(--tg-line);stroke-width:1.5;stroke-linejoin:round}
body.techgrid-fui-active .tg-praetorian-emblem .tg-prae-neck{fill:color-mix(in srgb,var(--tg-panel-2) 76%,var(--tg-line-2) 24%);stroke:var(--tg-line-2);stroke-width:1.6;stroke-linejoin:round}
body.techgrid-fui-active .tg-praetorian-emblem .tg-prae-centerline{fill:none;stroke:color-mix(in srgb,var(--tg-line-2) 78%,var(--tg-ink) 22%);stroke-width:1.2;stroke-linecap:round;opacity:.9}
body.techgrid-fui-active .tg-core-orbit>span{
  bottom:16px!important;
  color:color-mix(in srgb,var(--tg-line-2) 66%,var(--tg-ink) 34%)!important;
  font:800 7px/1 Consolas,monospace!important;
  letter-spacing:.36em!important;
  text-shadow:0 0 7px var(--tg-glow)!important;
}
body.techgrid-fui-active .tg-core-pulse{
  inset:24px!important;
  border:1px solid color-mix(in srgb,var(--tg-line-2) 66%,transparent)!important;
  box-shadow:0 0 16px color-mix(in srgb,var(--tg-line-2) 20%,transparent),inset 0 0 18px color-mix(in srgb,var(--tg-line) 10%,transparent)!important;
  animation:tgCorePulse 3.4s ease-in-out infinite!important;
}
body.techgrid-fui-active .tg-orbit{
  border-style:solid!important;
  border-width:1px!important;
  box-shadow:none!important;
}
body.techgrid-fui-active .tg-orbit::before,
body.techgrid-fui-active .tg-orbit::after{
  width:5px!important;height:5px!important;
  background:var(--tg-line-2)!important;
  box-shadow:0 0 8px var(--tg-line-2)!important;
}
body.techgrid-fui-active .tg-orbit-a{inset:-10px!important;border-color:color-mix(in srgb,var(--tg-line) 52%,transparent)!important;animation:tgSpin 16s linear infinite!important}
body.techgrid-fui-active .tg-orbit-b{inset:-23px!important;border-color:color-mix(in srgb,var(--tg-line-2) 31%,transparent)!important;animation:tgSpinR 24s linear infinite!important}
body.techgrid-fui-active .tg-orbit-c{inset:-38px!important;border-color:color-mix(in srgb,var(--tg-line) 18%,transparent)!important;animation:tgPulseRing 4.8s ease-in-out infinite!important}

/* Die alte TechGrid-Regel mit 760x620 Mindestfläche hat kleine Viewports künstlich vergrößert. Neo bleibt immer exakt innerhalb des realen Desktops. */
@media(max-width:980px){
  body.techgrid-fui-active .desktop{overflow:hidden!important}
  body.techgrid-fui-active .techgrid-desktop-v3{min-width:0!important;min-height:0!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important}
}
body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="medium"] .tg-praetorian-emblem{width:80px;height:88px}
body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="compact"] .tg-praetorian-emblem{width:72px;height:79px}
body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="micro"] .tg-praetorian-emblem{width:64px;height:70px}
body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="compact"] .tg-core-mark{width:74px!important;height:82px!important}
body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="micro"] .tg-core-mark{width:66px!important;height:72px!important}


body.techgrid-fui-active .tg-hierarchy-mark{position:absolute;left:11px;top:10px;width:18px;height:6px;display:none;opacity:.92;pointer-events:none}
body.techgrid-fui-active .tg-subnode .tg-hierarchy-mark{display:block}
body.techgrid-fui-active .tg-subnode[data-depth="1"] .tg-hierarchy-mark{background:linear-gradient(90deg,var(--tg-node-tint) 0 42%,transparent 42% 58%,var(--tg-node-tint) 58% 100%)}
body.techgrid-fui-active .tg-subnode[data-depth="2"] .tg-hierarchy-mark{width:26px;background:linear-gradient(90deg,var(--tg-node-tint) 0 26%,transparent 26% 37%,var(--tg-node-tint) 37% 63%,transparent 63% 74%,var(--tg-node-tint) 74% 100%)}
body.techgrid-fui-active .tg-subnode[data-depth="3"] .tg-hierarchy-mark{width:26px;background:linear-gradient(90deg,var(--tg-node-tint) 0 18%,transparent 18% 28%,var(--tg-node-tint) 28% 47%,transparent 47% 57%,var(--tg-node-tint) 57% 77%,transparent 77% 87%,var(--tg-node-tint) 87% 100%)}
/* Michael Klementz | 25.09.2026 11:29 Uhr – Family-Mode hebt geöffnete Wabenfamilien über Rahmen und Licht hervor; Beschriftung wird dabei nie mit abgedunkelt. */
body.techgrid-fui-active .tg-family-root .tg-node-frame{filter:drop-shadow(0 0 18px color-mix(in srgb,var(--tg-line-2) 58%,transparent)) brightness(1.03)!important}
body.techgrid-fui-active .tg-family-root .tg-node-frame::after{inset:9px 11px!important;border-width:1.4px!important;border-color:color-mix(in srgb,var(--tg-line-2) 82%,white 10%)!important;opacity:.98!important}
body.techgrid-fui-active .tg-family-root .tg-node-surface::before{opacity:.56!important}
body.techgrid-fui-active .tg-family-child .tg-node-frame{filter:drop-shadow(0 0 11px color-mix(in srgb,var(--tg-node-tint) 36%,transparent))!important}
body.techgrid-fui-active .tg-family-child .tg-node-frame::after{border-color:color-mix(in srgb,var(--tg-node-tint) 68%,white 10%)!important;opacity:.88!important}
body.techgrid-fui-active .tg-family-child .tg-node-surface{background:linear-gradient(180deg,color-mix(in srgb,var(--tg-node-tint) 10%,transparent),transparent 24%),linear-gradient(145deg,color-mix(in srgb,var(--tg-panel-2) 92%,var(--tg-node-tint) 8%),color-mix(in srgb,var(--tg-panel) 96%,var(--tg-node-tint) 4%))!important}
body.techgrid-fui-active .tg-family-child .tg-node-surface::before{opacity:.34!important}
body.techgrid-fui-active .tg-family-child .tg-hierarchy-mark{filter:drop-shadow(0 0 5px color-mix(in srgb,var(--tg-node-tint) 45%,transparent))}
body.techgrid-fui-active .tg-family-descendant .tg-node-frame{filter:drop-shadow(0 0 8px color-mix(in srgb,var(--tg-node-tint) 26%,transparent))!important}
body.techgrid-fui-active .tg-family-descendant .tg-node-surface{background:linear-gradient(145deg,color-mix(in srgb,var(--tg-panel-2) 95%,var(--tg-node-tint) 5%),color-mix(in srgb,var(--tg-panel) 97%,var(--tg-node-tint) 3%))!important}
body.techgrid-fui-active .tg-family-child strong,body.techgrid-fui-active .tg-family-descendant strong,body.techgrid-fui-active .tg-family-root strong{color:var(--tg-ink)!important;text-shadow:none!important}
body.techgrid-fui-active .tg-family-child small,body.techgrid-fui-active .tg-family-descendant small,body.techgrid-fui-active .tg-family-root small{color:var(--tg-muted)!important;letter-spacing:.14em!important}
body.techgrid-fui-active .tg-context-dim{opacity:1!important;filter:none!important}
body.techgrid-fui-active .tg-context-dim .tg-node-frame{opacity:.72;filter:drop-shadow(0 0 5px color-mix(in srgb,var(--tg-glow) 20%,transparent)) saturate(.82) brightness(.96)!important}
body.techgrid-fui-active .tg-context-dim .tg-node-surface{opacity:.90}
body.techgrid-fui-active .tg-context-dim .tg-node-icon{opacity:.88!important}
body.techgrid-fui-active .tg-context-dim strong{opacity:1!important;color:var(--tg-ink)!important;text-shadow:none!important}
body.techgrid-fui-active .tg-context-dim small{opacity:1!important;color:var(--tg-muted)!important}
body.techgrid-fui-active .tg-root-line.is-dim{opacity:.22!important;stroke-width:1px!important}
body.techgrid-fui-active .tg-root-line.is-active-root{opacity:.82!important;stroke-width:1.5px!important;stroke-dasharray:18 9 36 11!important}
body.techgrid-fui-active .tg-child-line.is-family,body.techgrid-fui-active .tg-child-line.is-direct-family{opacity:.84!important;stroke-width:1.35px!important;stroke-dasharray:18 9 30 11!important;animation:tgDashFlow 7.2s linear infinite!important}
body.techgrid-fui-active .tg-child-line.is-direct-family{stroke:color-mix(in srgb,var(--tg-line-2) 78%,white 12%)!important;filter:drop-shadow(0 0 5px color-mix(in srgb,var(--tg-line-2) 42%,transparent))!important}
body.techgrid-fui-active .tg-family-focus .tg-node-frame{transform:scale(1.012)}
body.techgrid-fui-active .tg-family-focus .tg-node-surface::after{opacity:.9!important}


body.techgrid-fui-active .tg-family-root :is(strong,small),
body.techgrid-fui-active .tg-family-child :is(strong,small),
body.techgrid-fui-active .tg-family-descendant :is(strong,small){position:relative;z-index:6;opacity:1!important}
body.user-theme-techgrid-light.techgrid-fui-active .tg-family-root strong,
body.user-theme-techgrid-light.techgrid-fui-active .tg-family-child strong,
body.user-theme-techgrid-light.techgrid-fui-active .tg-family-descendant strong{color:#161616!important}
body.user-theme-techgrid-light.techgrid-fui-active .tg-family-root small,
body.user-theme-techgrid-light.techgrid-fui-active .tg-family-child small,
body.user-theme-techgrid-light.techgrid-fui-active .tg-family-descendant small{color:#4e545b!important}
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-family-root strong,
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-family-child strong,
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-family-descendant strong{color:#10231d!important}
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-family-root small,
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-family-child small,
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-family-descendant small{color:#405d52!important}

body.gatekeeper-os.techgrid-fui-active .tg-core-mark{
  display:grid!important;
  place-items:center!important;
  color:var(--tg-line-2)!important;
}
/* Michael Klementz | 25.09.2026 11:29 Uhr – Gatekeeper bekommt im CORE sein eigenes Tor-/Schildzeichen, bleibt aber technisch auf demselben Stand wie PRAETORIAN. */
body.gatekeeper-os.techgrid-fui-active .tg-gatekeeper-emblem{
  display:block;
  width:82px;
  height:92px;
  overflow:visible;
  filter:drop-shadow(0 0 8px color-mix(in srgb,var(--tg-line) 34%,transparent));
}
body.gatekeeper-os.techgrid-fui-active .tg-gatekeeper-emblem .tg-gk-shield{
  fill:color-mix(in srgb,var(--tg-line) 13%,var(--tg-panel-2));
  stroke:var(--tg-line);
  stroke-width:3;
  stroke-linejoin:round;
}
body.gatekeeper-os.techgrid-fui-active .tg-gatekeeper-emblem .tg-gk-gate{
  fill:none;
  stroke:color-mix(in srgb,var(--tg-line-2) 78%,var(--tg-ink) 22%);
  stroke-width:3.2;
  stroke-linecap:round;
  opacity:.92;
}
body.gatekeeper-os.techgrid-fui-active .tg-gatekeeper-emblem .tg-gk-lock{
  fill:color-mix(in srgb,var(--tg-panel-2) 84%,var(--tg-line) 16%);
  stroke:var(--tg-line-2);
  stroke-width:2.5;
  stroke-linejoin:round;
}
body.gatekeeper-os.techgrid-fui-active .tg-gatekeeper-emblem .tg-gk-cap{
  fill:none;
  stroke:color-mix(in srgb,var(--tg-line) 72%,var(--tg-line-2) 28%);
  stroke-width:4;
  stroke-linecap:round;
  filter:drop-shadow(0 0 4px var(--tg-glow));
}
body.gatekeeper-os.techgrid-fui-active .tg-core-orbit{
  background:
    radial-gradient(circle at 50% 44%,color-mix(in srgb,var(--tg-line-2) 9%,transparent) 0 22%,transparent 23%),
    radial-gradient(circle,color-mix(in srgb,var(--tg-line) 11%,var(--tg-panel)) 0 26%,var(--tg-panel-2) 27% 44%,transparent 45%)!important;
}
body.gatekeeper-os.techgrid-fui-active .tg-core-orbit>span{
  color:color-mix(in srgb,var(--tg-line-2) 72%,var(--tg-ink) 28%)!important;
  letter-spacing:.30em!important;
}
body.gatekeeper-os.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="medium"] .tg-gatekeeper-emblem{width:74px;height:83px}
body.gatekeeper-os.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="compact"] .tg-gatekeeper-emblem{width:66px;height:74px}
body.gatekeeper-os.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="micro"] .tg-gatekeeper-emblem{width:58px;height:65px}

body.gatekeeper-os.user-theme-techgrid-light.techgrid-fui-active .tg-gatekeeper-emblem .tg-gk-shield{
  fill:#fff7f1;stroke:#e14d25;
}
body.gatekeeper-os.user-theme-techgrid-light.techgrid-fui-active .tg-gatekeeper-emblem .tg-gk-gate{stroke:#bb3a18}
body.gatekeeper-os.user-theme-techgrid-light.techgrid-fui-active .tg-gatekeeper-emblem .tg-gk-lock{fill:#fff;stroke:#ff6d32}
body.gatekeeper-os.user-theme-techgrid-matrix.techgrid-fui-active .tg-gatekeeper-emblem .tg-gk-shield{
  fill:#d6e7df;stroke:#0b6d54;
}
body.gatekeeper-os.user-theme-techgrid-matrix.techgrid-fui-active .tg-gatekeeper-emblem .tg-gk-gate{stroke:#075c47}
body.gatekeeper-os.user-theme-techgrid-matrix.techgrid-fui-active .tg-gatekeeper-emblem .tg-gk-lock{fill:#eef8f3;stroke:#087b5d}

body.techgrid-fui-active .os-shell,
body.techgrid-fui-active .desktop{
  width:100vw!important;
  height:100vh!important;
  height:100dvh!important;
  min-width:0!important;
  min-height:0!important;
  max-width:100vw!important;
  max-height:100dvh!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}
body.techgrid-fui-active .techgrid-desktop-v3{
  position:fixed!important;
  inset:0!important;
  width:100vw!important;
  height:100vh!important;
  height:100dvh!important;
  min-width:0!important;
  min-height:0!important;
  max-width:100vw!important;
  max-height:100dvh!important;
  margin:0!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}

/* Michael Klementz | 25.09.2026 12:58 Uhr – Die unsichtbaren Startpunkte sind echte Linkflächen; optisch bleiben sie komplett unsichtbar, der Klick geht aber zuverlässig durch. */
.home-scene .image-hotspot-link{pointer-events:all;cursor:default;outline:none}
.home-scene .image-hotspot-link:focus{outline:none}
.home-scene .image-hotspot-area{fill:rgba(255,255,255,.001)!important;stroke:transparent!important;pointer-events:all!important;cursor:default!important}

/* Michael Klementz | 25.09.2026 15:36 Uhr – Startmenü und Abmelden bleiben im TechGrid immer greifbar, ohne die Waben oder ihre Beschriftung zu überdecken. */
body.techgrid-fui-active .tg-session-nav{position:absolute;top:14px;left:50%;transform:translateX(-50%);z-index:1850;display:flex;align-items:center;gap:6px;max-width:min(92vw,620px);padding:4px 5px;border:1px solid color-mix(in srgb,var(--tg-line) 34%,transparent);background:color-mix(in srgb,var(--tg-panel) 82%,transparent);box-shadow:0 0 18px color-mix(in srgb,var(--tg-glow) 52%,transparent);backdrop-filter:blur(8px);clip-path:polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px)}
body.techgrid-fui-active .tg-session-user{max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 8px;font:700 8px/28px Consolas,monospace;letter-spacing:.14em;text-transform:uppercase;color:var(--tg-muted)}
body.techgrid-fui-active .tg-session-nav button,body.techgrid-fui-active .tg-session-nav a{appearance:none;border:1px solid color-mix(in srgb,var(--tg-line) 48%,transparent);border-radius:0;background:color-mix(in srgb,var(--tg-line) 7%,transparent);box-shadow:none;color:var(--tg-ink);min-height:28px;padding:0 11px;font:700 8px/26px Consolas,monospace;letter-spacing:.12em;text-decoration:none;text-transform:uppercase;cursor:pointer;white-space:nowrap}
body.techgrid-fui-active .tg-session-nav button:hover,body.techgrid-fui-active .tg-session-nav button:focus-visible,body.techgrid-fui-active .tg-session-nav a:hover,body.techgrid-fui-active .tg-session-nav a:focus-visible{border-color:var(--tg-line);background:color-mix(in srgb,var(--tg-line) 15%,transparent);outline:none;filter:drop-shadow(0 0 5px var(--tg-glow))}
body.techgrid-fui-active .tg-session-nav a[data-tg-logout]{border-color:color-mix(in srgb,var(--tg-line-2) 58%,transparent);color:var(--tg-line-2)}
body.techgrid-fui-active .tg-context-session{border-top:1px solid color-mix(in srgb,var(--tg-line) 22%,transparent);padding-top:8px;margin-top:8px}
body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="compact"] .tg-session-nav{top:8px;gap:4px;padding:3px}
body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="compact"] .tg-session-user{display:none}
body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="compact"] .tg-session-nav button,body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="compact"] .tg-session-nav a{min-height:25px;padding:0 8px;font-size:7px;line-height:23px}
body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="micro"] .tg-session-nav{top:5px;max-width:96vw;gap:3px;padding:2px}
body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="micro"] .tg-session-user{display:none}
body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="micro"] .tg-session-nav button,body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="micro"] .tg-session-nav a{min-height:23px;padding:0 6px;font-size:6.4px;line-height:21px;letter-spacing:.08em}

/* Michael Klementz | 25.09.2026 16:56 Uhr – Die aktuelle Projektversion bleibt in jedem Design sichtbar, aber bewusst leiser als Motto und Bedienelemente. */
body.os-body .footer-note .footer-version{
  display:inline-flex!important;align-items:center!important;flex:0 0 auto!important;
  height:18px!important;margin-left:4px!important;padding:0 6px!important;
  border-left:1px solid currentColor!important;
  color:inherit!important;opacity:.56!important;
  font:600 9px/18px Consolas,"Courier New",monospace!important;
  letter-spacing:.06em!important;text-transform:none!important;text-shadow:none!important;
}
body.techgrid-fui-active .tg-version-mark{
  position:absolute;right:18px;bottom:13px;z-index:620;
  pointer-events:none;user-select:none;
  color:var(--tg-muted,#8fa6bd);opacity:.42;
  font:600 8px/1.2 Consolas,"Courier New",monospace;
  letter-spacing:.14em;text-transform:uppercase;
  text-shadow:0 0 7px color-mix(in srgb,var(--tg-glow,rgba(46,197,255,.35)) 35%,transparent);
}
body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="compact"] .tg-version-mark{right:9px;bottom:8px;font-size:7px;opacity:.38}
body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="micro"] .tg-version-mark{right:6px;bottom:6px;font-size:6.2px;letter-spacing:.08em;opacity:.34}


/* Michael Klementz | 27.09.2026 13:05 Uhr – Objekt 61b: Historischer v0.28-Fensterblock ist auf Rechteckbasis neutralisiert; die verbindliche freie Fenstergeometrie folgt am Dateiende. */
body.techgrid-fui-active .win95.tg-hex-window{
  --tg-win-shape:polygon(0 0,100% 0,100% 100%,0 100%);
  --tg-win-inner-left:9.5%;
  --tg-win-inner-right:9.5%;
  --tg-win-inner-top:7.5%;
  --tg-win-inner-bottom:9.5%;
  display:block!important;
  overflow:hidden!important;
  min-width:360px!important;
  min-height:260px!important;
  background:
    radial-gradient(circle at 72% 24%,color-mix(in srgb,var(--tg-line-2) 7%,transparent),transparent 31%),
    linear-gradient(145deg,color-mix(in srgb,var(--tg-panel-2) 97%,var(--tg-line) 3%),color-mix(in srgb,var(--tg-panel) 96%,var(--tg-line-2) 4%))!important;
  border:0!important;
  border-radius:0!important;
  clip-path:var(--tg-win-shape)!important;
  box-shadow:none!important;
  filter:drop-shadow(0 24px 28px rgba(0,0,0,.42)) drop-shadow(0 0 14px var(--tg-glow));
  transition:
    left .52s cubic-bezier(.16,.84,.2,1),
    top .52s cubic-bezier(.16,.84,.2,1),
    width .52s cubic-bezier(.16,.84,.2,1),
    height .52s cubic-bezier(.16,.84,.2,1),
    clip-path .52s cubic-bezier(.16,.84,.2,1),
    filter .52s ease,
    background .38s ease!important;
}
body.techgrid-fui-active .win95.tg-hex-window::before{
  content:""!important;position:absolute!important;inset:0!important;z-index:90!important;pointer-events:none!important;
  padding:1.5px!important;box-sizing:border-box!important;
  background:linear-gradient(135deg,var(--tg-line-2),var(--tg-line) 34%,color-mix(in srgb,var(--tg-line) 18%,transparent) 56%,var(--tg-line-2))!important;
  clip-path:var(--tg-win-shape)!important;
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0)!important;
  -webkit-mask-composite:xor!important;mask-composite:exclude!important;
  opacity:.9!important;filter:drop-shadow(0 0 7px var(--tg-glow))!important;
}
body.techgrid-fui-active .win95.tg-hex-window::after{
  content:""!important;position:absolute!important;inset:12px 8.4%!important;z-index:2!important;pointer-events:none!important;
  border:0!important;
  background:
    linear-gradient(90deg,var(--tg-line),transparent 22%,transparent 78%,var(--tg-line-2)) top/100% 1px no-repeat,
    linear-gradient(90deg,var(--tg-line-2),transparent 18%,transparent 84%,var(--tg-line)) bottom/100% 1px no-repeat!important;
  clip-path:none!important;opacity:.34!important;animation:tgHexWindowRail 5.8s linear infinite!important;
}
@keyframes tgHexWindowRail{0%,100%{filter:brightness(.82);opacity:.28}50%{filter:brightness(1.3);opacity:.58}}

/* Die alte Kopfzeile wird zur schmalen Datenrail an der rechten unteren Wabenschräge. */
body.techgrid-fui-active .win95.tg-hex-window>.win-title{
  position:absolute!important;z-index:120!important;
  left:auto!important;right:5.7%!important;top:auto!important;bottom:6.2%!important;
  width:min(43%,390px)!important;height:28px!important;min-height:28px!important;
  padding:0 26px 0 16px!important;margin:0!important;
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--tg-line) 11%,var(--tg-panel-2)) 18%,color-mix(in srgb,var(--tg-panel-2) 94%,transparent))!important;
  border:0!important;border-bottom:1px solid color-mix(in srgb,var(--tg-line-2) 72%,transparent)!important;
  box-shadow:none!important;
  clip-path:polygon(8% 0,100% 0,92% 100%,0 100%)!important;
  transform:rotate(-5deg)!important;transform-origin:right bottom!important;
  cursor:grab!important;overflow:hidden!important;touch-action:none!important;
}
body.techgrid-fui-active .win95.tg-hex-window>.win-title:active{cursor:grabbing!important}
body.techgrid-fui-active .win95.tg-hex-window>.win-title::before{
  content:""!important;position:absolute!important;left:0!important;right:0!important;top:0!important;width:auto!important;height:1px!important;
  background:linear-gradient(90deg,transparent,var(--tg-line),var(--tg-line-2))!important;box-shadow:0 0 8px var(--tg-glow)!important;
}
body.techgrid-fui-active .win95.tg-hex-window>.win-title::after{
  content:""!important;position:absolute!important;left:14%!important;right:8%!important;bottom:0!important;height:1px!important;
  background:linear-gradient(90deg,transparent,var(--tg-line-2),transparent)!important;animation:tgRail 3.8s linear infinite!important;
}
body.techgrid-fui-active .win95.tg-hex-window>.win-title .win-title-text{
  width:100%!important;min-width:0!important;
  font:750 9px/1 Consolas,"Courier New",monospace!important;letter-spacing:.14em!important;
  color:var(--tg-line-2)!important;text-shadow:0 0 8px var(--tg-glow)!important;
  overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
}

/* Die drei Fenstersteuerungen sitzen bewusst außerhalb der Titelrail in den Wabenecken. */
body.techgrid-fui-active .win95.tg-hex-window>.win-controls{display:contents!important}
body.techgrid-fui-active .win95.tg-hex-window>.win-controls>.win-btn{
  position:absolute!important;z-index:180!important;top:12px!important;
  width:25px!important;height:25px!important;min-width:25px!important;padding:0!important;margin:0!important;
  display:grid!important;place-items:center!important;
  border:1px solid color-mix(in srgb,var(--tg-edge) 82%,transparent)!important;
  background:color-mix(in srgb,var(--tg-panel-2) 84%,transparent)!important;
  color:var(--tg-muted)!important;box-shadow:0 0 8px color-mix(in srgb,var(--tg-glow) 48%,transparent)!important;
  clip-path:polygon(6px 0,100% 0,100% calc(100% - 6px),calc(100% - 6px) 100%,0 100%,0 6px)!important;
  opacity:.76!important;transition:opacity .18s ease,filter .18s ease,background .18s ease!important;
}
body.techgrid-fui-active .win95.tg-hex-window>.win-controls>.win-btn:hover,
body.techgrid-fui-active .win95.tg-hex-window>.win-controls>.win-btn:focus-visible{
  opacity:1!important;color:var(--tg-line-2)!important;background:var(--tg-button-hover)!important;
  filter:drop-shadow(0 0 6px var(--tg-glow))!important;outline:none!important;
}
body.techgrid-fui-active .win95.tg-hex-window>.win-controls>[data-minimize-window]{left:calc(8% + 10px)!important}
body.techgrid-fui-active .win95.tg-hex-window>.win-controls>[data-maximize-window]{right:calc(8% + 42px)!important}
body.techgrid-fui-active .win95.tg-hex-window>.win-controls>[data-close-window]{right:calc(8% + 10px)!important;color:color-mix(in srgb,var(--tg-danger,#ff4365) 72%,var(--tg-ink))!important}

/* Der eigentliche Arbeitsbereich sitzt frei im Zentrum der Wabe. */
body.techgrid-fui-active .win95.tg-hex-window>.win-body,
body.techgrid-fui-active .win95.tg-hex-window>.alert-content{
  position:absolute!important;z-index:20!important;
  left:var(--tg-win-inner-left)!important;right:var(--tg-win-inner-right)!important;
  top:var(--tg-win-inner-top)!important;bottom:var(--tg-win-inner-bottom)!important;
  width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;
  margin:0!important;padding:16px!important;
  overflow:auto!important;box-sizing:border-box!important;
  background:linear-gradient(180deg,color-mix(in srgb,var(--tg-line) 3%,transparent),transparent 24%)!important;
  border:1px solid color-mix(in srgb,var(--tg-edge) 34%,transparent)!important;
  box-shadow:inset 0 0 26px rgba(0,0,0,.12)!important;
  clip-path:polygon(12px 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%,0 12px)!important;
}
body.techgrid-fui-active .win95.tg-hex-window.gate-app-window>.win-body,
body.techgrid-fui-active .win95.tg-hex-window.techgrid-module-host>.win-body{padding:0!important;overflow:hidden!important}
body.techgrid-fui-active .win95.tg-hex-window .gate-app-frame,
body.techgrid-fui-active .win95.tg-hex-window .techgrid-module-frame{width:100%!important;height:100%!important;border:0!important;background:transparent!important}

/* PRAETORIAN hat keinen klassischen win-body: Banner und Verwaltung teilen sich deshalb denselben Wabenkern. */
body.techgrid-fui-active .win95.tg-hex-window.praetorian-control-window>.hero-banner{
  position:absolute!important;z-index:24!important;left:10%!important;right:10%!important;top:7.5%!important;
  width:auto!important;height:70px!important;min-height:0!important;margin:0!important;padding:10px 18px!important;
  border:1px solid color-mix(in srgb,var(--tg-edge) 38%,transparent)!important;border-bottom:1px solid var(--tg-edge)!important;
  background:linear-gradient(90deg,color-mix(in srgb,var(--tg-line) 8%,transparent),transparent 72%)!important;
  clip-path:polygon(12px 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%,0 12px)!important;
}
body.techgrid-fui-active .win95.tg-hex-window.praetorian-control-window>.prae-main{
  position:absolute!important;z-index:20!important;left:9.5%!important;right:9.5%!important;top:calc(7.5% + 78px)!important;bottom:10.5%!important;
  width:auto!important;height:auto!important;min-height:0!important;margin:0!important;overflow:hidden!important;
  display:block!important;background:transparent!important;
}
body.techgrid-fui-active .win95.tg-hex-window.praetorian-control-window .prae-content{
  height:100%!important;min-height:0!important;overflow:auto!important;padding:8px!important;background:transparent!important;
}
body.techgrid-fui-active .win95.tg-hex-window.praetorian-control-window .hero-left{font-size:34px!important}
body.techgrid-fui-active .win95.tg-hex-window.praetorian-control-window .hero-banner h1{font-size:22px!important}

/* Status und Chat nutzen ihren Platz anders als Verwaltungs- oder Toolfenster. */
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="status"]>.win-body{
  display:grid!important;grid-template-columns:1fr 1fr!important;align-content:center!important;gap:8px 16px!important;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="status"]>.win-body>div{
  margin:0!important;padding:7px 9px!important;border-left:1px solid color-mix(in srgb,var(--tg-line) 44%,transparent)!important;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="chat"]>.win-body{
  display:grid!important;grid-template-rows:minmax(0,1fr) auto auto!important;gap:9px!important;overflow:hidden!important;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="chat"] .chat-message-list{min-height:0!important;overflow:auto!important}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="console"]>.win-body{padding:8px!important;background:color-mix(in srgb,var(--tg-bg) 92%,black 8%)!important}

/* Maximieren: dieselbe Wabe morpht in ein rechteckiges Standardfenster; Titel exakt im mittleren halben oberen Rand. */
body.techgrid-fui-active .win95.tg-hex-window.window-maximized{
  --tg-win-shape:polygon(0 0,100% 0,100% 50%,100% 100%,0 100%,0 50%);
  left:8px!important;top:8px!important;width:calc(100% - 16px)!important;height:calc(100% - 16px)!important;
  min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;
  clip-path:var(--tg-win-shape)!important;
  background:linear-gradient(180deg,color-mix(in srgb,var(--tg-line) 4%,transparent),transparent 22%),var(--tg-panel-2)!important;
  filter:drop-shadow(0 18px 34px rgba(0,0,0,.38)) drop-shadow(0 0 18px var(--tg-glow))!important;
}
body.techgrid-fui-active .win95.tg-hex-window.window-maximized>.win-title{
  left:25%!important;right:auto!important;top:7px!important;bottom:auto!important;width:50%!important;height:32px!important;
  padding:0 18px!important;justify-content:center!important;text-align:center!important;
  transform:none!important;clip-path:polygon(9px 0,calc(100% - 9px) 0,100% 100%,0 100%)!important;
  background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--tg-line) 12%,var(--tg-panel-2)) 20% 80%,transparent)!important;
  border-bottom:1px solid var(--tg-line)!important;
}
body.techgrid-fui-active .win95.tg-hex-window.window-maximized>.win-title .win-title-text{text-align:center!important}
body.techgrid-fui-active .win95.tg-hex-window.window-maximized>.win-controls>[data-minimize-window]{left:14px!important;top:10px!important}
body.techgrid-fui-active .win95.tg-hex-window.window-maximized>.win-controls>[data-maximize-window]{right:46px!important;top:10px!important}
body.techgrid-fui-active .win95.tg-hex-window.window-maximized>.win-controls>[data-close-window]{right:14px!important;top:10px!important}
body.techgrid-fui-active .win95.tg-hex-window.window-maximized>.win-body,
body.techgrid-fui-active .win95.tg-hex-window.window-maximized>.alert-content{
  left:12px!important;right:12px!important;top:48px!important;bottom:12px!important;padding:16px!important;
  border-color:color-mix(in srgb,var(--tg-edge) 42%,transparent)!important;clip-path:none!important;
}
body.techgrid-fui-active .win95.tg-hex-window.window-maximized.gate-app-window>.win-body,
body.techgrid-fui-active .win95.tg-hex-window.window-maximized.techgrid-module-host>.win-body{padding:0!important}
body.techgrid-fui-active .win95.tg-hex-window.window-maximized.praetorian-control-window>.hero-banner{
  left:14px!important;right:14px!important;top:48px!important;height:68px!important;clip-path:none!important;
}
body.techgrid-fui-active .win95.tg-hex-window.window-maximized.praetorian-control-window>.prae-main{
  left:12px!important;right:12px!important;top:124px!important;bottom:12px!important;
}
body.techgrid-fui-active .win95.tg-hex-window.tg-window-morphing{will-change:left,top,width,height,clip-path,filter!important}
body.techgrid-fui-active .win95.tg-hex-window.tg-window-morphing>.win-body,
body.techgrid-fui-active .win95.tg-hex-window.tg-window-morphing>.alert-content,
body.techgrid-fui-active .win95.tg-hex-window.tg-window-morphing>.prae-main{animation:tgHexContentMorph .52s cubic-bezier(.16,.84,.2,1) both!important}
@keyframes tgHexContentMorph{0%{opacity:.38;filter:blur(1.4px) brightness(1.32)}45%{opacity:.72;filter:blur(.4px) brightness(1.12)}100%{opacity:1;filter:none}}

/* Resize-Zonen folgen der Wabe unauffällig; beim Vollfenster liegen sie wieder rechteckig an den Kanten. */
body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>.win-resizer-n,
body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>.win-resizer-s{left:9%!important;right:9%!important}
body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>.win-resizer-e{right:6.5%!important;top:20%!important;bottom:20%!important}
body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>.win-resizer-w{left:6.5%!important;top:20%!important;bottom:20%!important}

/* Michael Klementz | 27.09.2026 13:05 Uhr – Objekt 61b: Kleine Auflösungen behalten rechteckige Fenster und geben Titel sowie Inhalt mehr nutzbare Breite. */
@media(max-width:920px),(max-height:660px){
  body.techgrid-fui-active .win95.tg-hex-window{
    --tg-win-shape:polygon(0 0,100% 0,100% 100%,0 100%);
    --tg-win-inner-left:7%;--tg-win-inner-right:7%;--tg-win-inner-top:8%;--tg-win-inner-bottom:10%;
    min-width:300px!important;min-height:220px!important;
  }
  body.techgrid-fui-active .win95.tg-hex-window>.win-title{right:4.8%!important;bottom:5%!important;width:min(54%,420px)!important;transform:rotate(-3deg)!important}
  body.techgrid-fui-active .win95.tg-hex-window>.win-controls>[data-minimize-window]{left:calc(6% + 8px)!important}
  body.techgrid-fui-active .win95.tg-hex-window>.win-controls>[data-maximize-window]{right:calc(6% + 39px)!important}
  body.techgrid-fui-active .win95.tg-hex-window>.win-controls>[data-close-window]{right:calc(6% + 8px)!important}
  body.techgrid-fui-active .win95.tg-hex-window>.win-body,
  body.techgrid-fui-active .win95.tg-hex-window>.alert-content{padding:11px!important}
  body.techgrid-fui-active .win95.tg-hex-window.praetorian-control-window>.hero-banner{left:7.5%!important;right:7.5%!important;height:58px!important;padding:8px 12px!important}
  body.techgrid-fui-active .win95.tg-hex-window.praetorian-control-window>.prae-main{left:7%!important;right:7%!important;top:calc(8% + 64px)!important}
}
@media(max-width:700px),(max-height:520px){
  body.techgrid-fui-active .win95.tg-hex-window{
    --tg-win-shape:polygon(0 0,100% 0,100% 100%,0 100%);
    --tg-win-inner-left:5%;--tg-win-inner-right:5%;--tg-win-inner-top:12%;--tg-win-inner-bottom:8%;
    min-width:260px!important;min-height:190px!important;
  }
  body.techgrid-fui-active .win95.tg-hex-window>.win-title{
    left:18%!important;right:auto!important;top:7px!important;bottom:auto!important;width:64%!important;height:27px!important;
    transform:none!important;justify-content:center!important;text-align:center!important;
  }
  body.techgrid-fui-active .win95.tg-hex-window>.win-title .win-title-text{text-align:center!important;font-size:8px!important}
  body.techgrid-fui-active .win95.tg-hex-window>.win-controls>.win-btn{top:8px!important;width:23px!important;height:23px!important;min-width:23px!important}
  body.techgrid-fui-active .win95.tg-hex-window>.win-controls>[data-minimize-window]{left:calc(4% + 6px)!important}
  body.techgrid-fui-active .win95.tg-hex-window>.win-controls>[data-maximize-window]{right:calc(4% + 35px)!important}
  body.techgrid-fui-active .win95.tg-hex-window>.win-controls>[data-close-window]{right:calc(4% + 6px)!important}
  body.techgrid-fui-active .win95.tg-hex-window.praetorian-control-window>.hero-banner{display:none!important}
  body.techgrid-fui-active .win95.tg-hex-window.praetorian-control-window>.prae-main{left:5%!important;right:5%!important;top:12%!important;bottom:7%!important}
  body.techgrid-fui-active .win95.tg-hex-window.window-maximized>.win-title{left:15%!important;width:70%!important;top:6px!important}
}

/* v0.28 – die Anwendungen selbst bekommen im Wabenkern jeweils eine eigene Funktionsarchitektur statt eines einheitlichen Rechteckrasters. */
body[class*="user-theme-techgrid-"].techgrid-hex-embedded,
body[class*="user-theme-techgrid-"].techgrid-module{
  background:transparent!important;
}
body[class*="user-theme-techgrid-"].techgrid-hex-embedded :is(.legacy-tool,.calc-tool-shell,.qr-tool-panel,.code-guide-shell,.secure-mail-app,.trace-tool,.records-tool,.mozart-tool){
  min-height:100%!important;height:auto!important;border:0!important;box-shadow:none!important;background:transparent!important;
}

/* CALCULATOR: Anzeige/Keypad als Hauptkern, Speicher/Verlauf als rechte Diagnosezone. */
body[class*="user-theme-techgrid-"] .calc-tool-shell{padding:0!important}
body[class*="user-theme-techgrid-"] .calc-future-panel{min-height:100%!important;padding:0!important;background:transparent!important}
body[class*="user-theme-techgrid-"] .calc-panel-head{min-height:66px!important;padding:12px 18px!important;border:0!important;border-bottom:1px solid color-mix(in srgb,var(--tg-edge) 54%,transparent)!important}
body[class*="user-theme-techgrid-"] .calc-main-grid{grid-template-columns:minmax(0,1.55fr) minmax(220px,.62fr)!important;gap:14px!important;padding:14px 16px 18px!important}
body[class*="user-theme-techgrid-"] .calc-display-wrap{border:1px solid color-mix(in srgb,var(--tg-edge) 58%,transparent)!important;background:color-mix(in srgb,var(--tg-card) 74%,transparent)!important;box-shadow:inset 0 0 24px rgba(0,0,0,.14)!important}
body[class*="user-theme-techgrid-"] .calc-sidebar{display:grid!important;grid-template-rows:auto auto minmax(180px,1fr)!important;gap:10px!important}

/* QR: Eingabe links als Arbeitsmatrix, Ergebnis rechts als große Scannerfläche. */
body[class*="user-theme-techgrid-"] .qr-tool-panel{padding:0 16px 16px!important}
body[class*="user-theme-techgrid-"] .qr-tool-head{min-height:62px!important;margin:0 -16px 12px!important;padding:10px 18px!important;border:0!important;border-bottom:1px solid color-mix(in srgb,var(--tg-edge) 54%,transparent)!important}
body[class*="user-theme-techgrid-"] .qr-tool-grid{grid-template-columns:minmax(0,1.08fr) minmax(280px,.92fr)!important;gap:16px!important;padding:0!important}
body[class*="user-theme-techgrid-"] .qr-form{display:grid!important;align-content:start!important;gap:10px!important}
body[class*="user-theme-techgrid-"] .qr-preview-area{display:grid!important;grid-template-rows:auto minmax(260px,1fr) auto!important;min-height:0!important;padding:12px!important}
body[class*="user-theme-techgrid-"] .qr-preview{min-height:260px!important;height:100%!important}

/* SECURE MAIL: Navigation, Nachrichtenstrom und Leser bleiben drei klar getrennte Funktionszonen. */
body[class*="user-theme-techgrid-"] .secure-mail-app{padding:0!important}
body[class*="user-theme-techgrid-"] .secure-mail-shell{
  grid-template-columns:minmax(150px,.55fr) minmax(230px,.85fr) minmax(300px,1.6fr)!important;
  min-height:calc(100dvh - 42px)!important;height:calc(100dvh - 42px)!important;gap:8px!important;padding:8px!important;background:transparent!important;
}
body[class*="user-theme-techgrid-"] :is(.secure-mail-sidebar,.secure-mail-list-panel,.secure-mail-reader-panel){border:1px solid color-mix(in srgb,var(--tg-edge) 62%,transparent)!important;min-height:0!important}
body[class*="user-theme-techgrid-"] .secure-mail-panel-title{min-height:28px!important;display:flex!important;align-items:center!important;padding:0 10px!important}
body[class*="user-theme-techgrid-"] .secure-mail-list,
body[class*="user-theme-techgrid-"] .secure-mail-reader{min-height:0!important;overflow:auto!important}

/* TRACE: Route und Konsole bilden die obere Analyseachse, WHOIS ist der gemeinsame Datenstreifen darunter. */
body[class*="user-theme-techgrid-"] .trace-tool{padding:0 10px 10px!important}
body[class*="user-theme-techgrid-"] .trace-tool>.legacy-menu{margin:0 -10px!important}
body[class*="user-theme-techgrid-"] .trace-controls{padding:9px 4px!important;background:transparent!important;border:0!important}
body[class*="user-theme-techgrid-"] .trace-layout{grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr)!important;gap:10px!important;padding:0!important}
body[class*="user-theme-techgrid-"] .trace-console pre{height:clamp(210px,44vh,390px)!important}
body[class*="user-theme-techgrid-"] .trace-map{min-height:clamp(260px,44vh,390px)!important}
body[class*="user-theme-techgrid-"] .trace-whois{margin:10px 0 0!important}

/* RECORDS: Identität links, strukturierter Datensatz rechts; Steuerung bleibt als schmale Suchrail oben. */
body[class*="user-theme-techgrid-"] .records-tool{padding:0 10px 10px!important}
body[class*="user-theme-techgrid-"] .records-tool>.record-menu{margin:0 -10px!important}
body[class*="user-theme-techgrid-"] .record-head{margin:0 -10px!important;padding:8px 12px!important;background:linear-gradient(90deg,color-mix(in srgb,var(--tg-line) 13%,transparent),transparent)!important;color:var(--tg-line-2)!important}
body[class*="user-theme-techgrid-"] .record-controls{padding:9px 0!important;background:transparent!important;border:0!important}
body[class*="user-theme-techgrid-"] .record-tabs{padding:0 0 7px!important}
body[class*="user-theme-techgrid-"] .record-card{grid-template-columns:minmax(130px,.38fr) minmax(0,1.62fr)!important;gap:12px!important;margin:0!important;padding:12px!important}
body[class*="user-theme-techgrid-"] .record-photo{height:auto!important;min-height:190px!important}
body[class*="user-theme-techgrid-"] .record-statusbar{margin:8px 0 0!important}

/* CODES: Shell-Codes und Easter-Egg-Status als zwei gleichwertige Analysefelder. */
body[class*="user-theme-techgrid-"] .code-guide-shell{
  display:grid!important;grid-template-columns:1fr 1fr!important;grid-template-rows:auto minmax(0,1fr) auto!important;
  gap:10px!important;padding:10px!important;min-height:100dvh!important;
}
body[class*="user-theme-techgrid-"] .code-guide-head{grid-column:1/-1!important;margin:0!important}
body[class*="user-theme-techgrid-"] .code-guide-panel{min-width:0!important;margin:0!important;overflow:auto!important}
body[class*="user-theme-techgrid-"] .code-guide-note{grid-column:1/-1!important;margin:0!important}

/* MOZART: Player bleibt die Mittelachse, Archiv/Disc/Verweise bilden darunter drei funktionale Segmente. */
body[class*="user-theme-techgrid-"] .mozart-tool{padding-bottom:8px!important}
body[class*="user-theme-techgrid-"] .moz-browser{min-height:34px!important;background:color-mix(in srgb,var(--tg-card) 92%,transparent)!important;color:var(--tg-muted)!important;border:0!important;border-bottom:1px solid var(--tg-edge)!important}
body[class*="user-theme-techgrid-"] .moz-head{padding:12px 14px 8px!important;justify-content:flex-start!important}
body[class*="user-theme-techgrid-"] .moz-head h1{font:300 clamp(26px,4vw,48px)/1 "Segoe UI",Arial,sans-serif!important;letter-spacing:.12em!important;color:var(--tg-ink)!important;text-shadow:0 0 14px var(--tg-glow)!important}
body[class*="user-theme-techgrid-"] .moz-pi{font-size:54px!important;color:var(--tg-line-2)!important}
body[class*="user-theme-techgrid-"] .moz-player{grid-template-columns:minmax(160px,1fr) minmax(170px,.55fr) 64px!important;margin:0 12px 8px!important}
body[class*="user-theme-techgrid-"] .moz-columns{grid-template-columns:minmax(180px,.8fr) minmax(240px,1.2fr) minmax(180px,.8fr)!important;gap:10px!important;padding:0 12px 8px!important}
body[class*="user-theme-techgrid-"] .moz-columns section{border:1px solid color-mix(in srgb,var(--tg-edge) 62%,transparent)!important;background:color-mix(in srgb,var(--tg-card) 88%,transparent)!important}

/* PRAETORIAN-Modulinhalt: Karten werden dichter, aber bleiben vollständig scrollbar und bedienbar. */
body.techgrid-module .inner-pad{padding:8px!important}
body.techgrid-module .table-frame,
body.techgrid-module .info-frame,
body.techgrid-module .design-admin-card,
body.techgrid-module .chat-card{clip-path:polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px)!important}
body.techgrid-module .section-caption{position:sticky!important;top:0!important;z-index:5!important;backdrop-filter:blur(8px)!important}

/* Lesbarkeit schlägt auf kleinen Arbeitsflächen die Mehrspaltenlogik, ohne die Funktion zu verstecken. */
@media(max-width:760px){
  body[class*="user-theme-techgrid-"] .calc-main-grid,
  body[class*="user-theme-techgrid-"] .qr-tool-grid,
  body[class*="user-theme-techgrid-"] .trace-layout,
  body[class*="user-theme-techgrid-"] .record-card,
  body[class*="user-theme-techgrid-"] .code-guide-shell,
  body[class*="user-theme-techgrid-"] .moz-columns{grid-template-columns:1fr!important}
  body[class*="user-theme-techgrid-"] .code-guide-head,
  body[class*="user-theme-techgrid-"] .code-guide-note{grid-column:1!important}
  body[class*="user-theme-techgrid-"] .secure-mail-shell{grid-template-columns:1fr!important;height:auto!important;min-height:100%!important}
  body[class*="user-theme-techgrid-"] .secure-mail-sidebar{max-height:190px!important}
  body[class*="user-theme-techgrid-"] .secure-mail-list-panel{min-height:250px!important}
  body[class*="user-theme-techgrid-"] .secure-mail-reader-panel{min-height:320px!important}
  body[class*="user-theme-techgrid-"] .record-photo{min-height:110px!important}
  body[class*="user-theme-techgrid-"] .moz-columns section{display:block!important}
}


/* v0.28 Ergänzung: Handbuch und dynamische Chats sind vollwertige Wabenanwendungen, keine Sonderfälle. */
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"]>.win-body{padding:0!important;overflow:hidden!important}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-toolbar{
  min-height:58px!important;padding:9px 12px!important;
  background:linear-gradient(90deg,color-mix(in srgb,var(--tg-line) 9%,transparent),transparent)!important;
  border:0!important;border-bottom:1px solid var(--tg-edge)!important;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-layout{
  grid-template-columns:minmax(150px,.38fr) minmax(0,1.62fr)!important;height:calc(100% - 58px)!important;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-index{
  background:color-mix(in srgb,var(--tg-card) 86%,transparent)!important;border:0!important;border-right:1px solid var(--tg-edge)!important;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-content{background:transparent!important}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-section h2,
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-index-title{
  background:linear-gradient(90deg,color-mix(in srgb,var(--tg-line) 18%,transparent),transparent)!important;color:var(--tg-line-2)!important;border:0!important;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-entry{
  background:var(--tg-card)!important;border:1px solid color-mix(in srgb,var(--tg-edge) 58%,transparent)!important;color:var(--tg-ink)!important;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="chat"].admin-chat-window>.chat-body{
  display:grid!important;grid-template-rows:minmax(0,1fr) auto auto!important;gap:9px!important;overflow:hidden!important;
}

/* Resizer bleiben innerhalb der Clip-Fläche erreichbar. */
body.techgrid-fui-active .win95.tg-hex-window>.win-resizer-n{top:0!important}
body.techgrid-fui-active .win95.tg-hex-window>.win-resizer-s{bottom:0!important}
body.techgrid-fui-active .win95.tg-hex-window>.win-resizer-e{right:0!important}
body.techgrid-fui-active .win95.tg-hex-window>.win-resizer-w{left:0!important}
body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>.win-resizer-e{right:6.2%!important}
body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>.win-resizer-w{left:6.2%!important}
body.techgrid-fui-active .win95.tg-hex-window>.win-resizer-ne,
body.techgrid-fui-active .win95.tg-hex-window>.win-resizer-nw,
body.techgrid-fui-active .win95.tg-hex-window>.win-resizer-se,
body.techgrid-fui-active .win95.tg-hex-window>.win-resizer-sw{width:22px!important;height:22px!important}
@media(max-width:700px){
  body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-toolbar{display:grid!important;grid-template-columns:1fr!important;height:auto!important}
  body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-layout{grid-template-columns:1fr!important;height:auto!important;overflow:auto!important}
  body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-index{max-height:150px!important;border-right:0!important;border-bottom:1px solid var(--tg-edge)!important}
}


/* Michael Klementz | 27.09.2026 13:05 Uhr – Objekt 61b: Historischer v0.29-Fensterblock erzwingt keine Wabenproportion oder Wabenkontur mehr. */
body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized){
  --tg-win-shape:polygon(0 0,100% 0,100% 100%,0 100%)!important;
  min-width:300px!important;min-height:260px!important;
  aspect-ratio:auto!important;
  clip-path:var(--tg-win-shape)!important;
}
body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>.win-title{
  left:25%!important;right:25%!important;top:5px!important;bottom:auto!important;
  width:50%!important;height:30px!important;min-height:30px!important;
  padding:0 42px!important;justify-content:center!important;text-align:center!important;
  transform:none!important;clip-path:none!important;
  background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--tg-line) 13%,var(--tg-panel-2)) 15% 85%,transparent)!important;
  border:0!important;border-bottom:1px solid color-mix(in srgb,var(--tg-line-2) 74%,transparent)!important;
}
body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>.win-title .win-title-text{text-align:center!important}

/* Alle drei Steuerknöpfe sitzen klein und sauber in der oberen Horizontalen, nicht mehr in den Ecken der Schrägen. */
body.techgrid-fui-active .win95.tg-hex-window>.win-controls>.win-btn{
  top:7px!important;width:21px!important;height:21px!important;min-width:21px!important;
  font-size:10px!important;border-radius:50%!important;clip-path:none!important;
  border:1px solid color-mix(in srgb,var(--tg-edge) 68%,transparent)!important;
  background:radial-gradient(circle at 35% 30%,color-mix(in srgb,var(--tg-line-2) 14%,var(--tg-panel-2)),var(--tg-panel-2) 72%)!important;
}
body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>.win-controls>[data-minimize-window]{left:calc(25% + 9px)!important}
body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>.win-controls>[data-maximize-window]{right:calc(25% + 36px)!important}
body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>.win-controls>[data-close-window]{right:calc(25% + 9px)!important}

/* Inhaltsfläche ist transparent und scrollbar, aber ohne sichtbare Browser-Scrollbar. */
body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>.win-body,
body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>.alert-content{
  left:8.5%!important;right:8.5%!important;top:42px!important;bottom:8%!important;
  padding:12px 0!important;border:0!important;box-shadow:none!important;background:transparent!important;clip-path:none!important;
  scrollbar-width:none!important;-ms-overflow-style:none!important;overflow-y:auto!important;overflow-x:hidden!important;
}
body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>.win-body::-webkit-scrollbar,
body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>.alert-content::-webkit-scrollbar,
body.techgrid-fui-active .win95.tg-hex-window .tg-fluid-scroll::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
body.techgrid-fui-active .win95.tg-hex-window .tg-fluid-scroll{scrollbar-width:none!important;-ms-overflow-style:none!important}

/* Der Scrollinhalt atmet mit der Wabe: oben/unten schmal, im Zentrum fließend breit. */
body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized) .tg-fluid-row{
  --tg-flow-wide:0;
  width:calc(54% + (46% * var(--tg-flow-wide)))!important;
  max-width:100%!important;margin-left:auto!important;margin-right:auto!important;
  transform:scale(calc(.96 + (.04 * var(--tg-flow-wide))))!important;
  transform-origin:center center!important;
  opacity:calc(.76 + (.24 * var(--tg-flow-wide)))!important;
  transition:width .24s cubic-bezier(.2,.7,.2,1),transform .24s ease,opacity .2s ease!important;
  box-sizing:border-box!important;
}

/* Michael Klementz | 27.09.2026 13:05 Uhr – Objekt 61b: Kleine Displays behalten freie Rechteckproportion; nur Bedienung und Typografie werden kompakter. */
@media(max-width:760px),(max-height:620px){
  body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized){min-width:260px!important;min-height:225px!important;aspect-ratio:auto!important}
  body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>.win-title{left:22%!important;right:22%!important;width:56%!important;padding:0 34px!important}
  body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>.win-controls>[data-minimize-window]{left:calc(22% + 6px)!important}
  body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>.win-controls>[data-maximize-window]{right:calc(22% + 31px)!important}
  body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>.win-controls>[data-close-window]{right:calc(22% + 6px)!important}
}

/* Michael Klementz | 26.09.2026 07:10 Uhr – v0.30 FlowDeck: alle internen Waben sprechen dieselbe visuelle Sprache. Keine rechteckige Formularwüste, sondern ruhige Rails, adaptive Karten und klare Fokusbewegung. */
body.techgrid-fui-active .tg-hex-window .tg-content-stage{
  --tg-flow-gap:9px;scroll-behavior:smooth!important;scroll-snap-type:y proximity!important;
}
body.techgrid-fui-active .tg-hex-window .tg-flow-field,
body.techgrid-fui-active .tg-hex-window :is(input:not([type="checkbox"]):not([type="radio"]),textarea,select){
  min-height:34px!important;padding:7px 12px!important;color:var(--tg-ink)!important;caret-color:var(--tg-line-2)!important;
  border:0!important;border-bottom:1px solid color-mix(in srgb,var(--tg-line) 64%,transparent)!important;border-radius:0!important;
  background:linear-gradient(90deg,transparent 0,color-mix(in srgb,var(--tg-card) 78%,transparent) 8% 92%,transparent 100%)!important;
  box-shadow:inset 0 -1px 0 color-mix(in srgb,var(--tg-edge) 35%,transparent)!important;outline:none!important;
  transition:background .22s ease,border-color .22s ease,box-shadow .22s ease,transform .22s ease!important;
}
body.techgrid-fui-active .tg-hex-window :is(input,textarea,select):focus{
  border-bottom-color:var(--tg-line-2)!important;background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--tg-line) 10%,var(--tg-card)) 9% 91%,transparent)!important;
  box-shadow:0 8px 22px -18px var(--tg-glow),inset 0 -1px 0 var(--tg-line-2)!important;transform:translateY(-1px)!important;
}
body.techgrid-fui-active .tg-hex-window textarea{resize:vertical!important;min-height:72px!important}

/* Aktionen sind kleine Lichtsegmente: Text bleibt sofort verständlich, der aktive Zustand läuft als Signal von links nach rechts durch. */
body.techgrid-fui-active .tg-hex-window .tg-flow-action,
body.techgrid-fui-active .tg-hex-window :is(.os-btn,.portal-app-button,.calc-btn,.reorder-btn){
  position:relative!important;isolation:isolate!important;overflow:hidden!important;min-height:30px!important;padding:6px 13px!important;
  border:1px solid color-mix(in srgb,var(--tg-edge) 68%,transparent)!important;border-radius:0!important;
  clip-path:polygon(7px 0,100% 0,100% calc(100% - 7px),calc(100% - 7px) 100%,0 100%,0 7px)!important;
  background:color-mix(in srgb,var(--tg-card) 86%,transparent)!important;color:var(--tg-ink)!important;
  transition:transform .16s ease,filter .16s ease,border-color .16s ease!important;
}
body.techgrid-fui-active .tg-hex-window .tg-flow-action::before{
  content:"";position:absolute;z-index:-1;inset:0;transform:translateX(-108%);background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--tg-line) 22%,transparent),transparent);transition:transform .32s cubic-bezier(.2,.8,.2,1)
}
body.techgrid-fui-active .tg-hex-window .tg-flow-action:hover::before{transform:translateX(108%)}
body.techgrid-fui-active .tg-hex-window .tg-flow-action:hover{transform:translateY(-1px)!important;border-color:var(--tg-line)!important;filter:brightness(1.08)!important}
body.techgrid-fui-active .tg-hex-window .tg-flow-action:active{transform:translateY(1px) scale(.985)!important}

/* Karten werden zu schwebenden Informationsscheiben; in der Wabenmitte leuchten sie leicht auf. */
body.techgrid-fui-active .tg-hex-window .tg-flow-card{
  border:1px solid color-mix(in srgb,var(--tg-edge) 56%,transparent)!important;border-radius:0!important;
  clip-path:polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px)!important;
  background:linear-gradient(115deg,color-mix(in srgb,var(--tg-card) 91%,transparent),color-mix(in srgb,var(--tg-panel-2) 78%,transparent))!important;
  box-shadow:inset 3px 0 0 color-mix(in srgb,var(--tg-line) 35%,transparent)!important;transition:filter .22s ease,box-shadow .22s ease!important;
}
body.techgrid-fui-active .tg-hex-window .tg-flow-focus.tg-flow-card{box-shadow:inset 3px 0 0 var(--tg-line),0 0 18px -13px var(--tg-glow)!important;filter:brightness(1.035)}

/* Funktionsleisten kleben nicht wie klassische Toolbars, sondern gleiten als horizontale Rail. */
body.techgrid-fui-active .tg-hex-window .tg-flow-rail{
  display:flex!important;align-items:center!important;gap:7px!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important;
  padding:6px 9px!important;border:0!important;border-top:1px solid color-mix(in srgb,var(--tg-edge) 35%,transparent)!important;border-bottom:1px solid color-mix(in srgb,var(--tg-edge) 35%,transparent)!important;
  background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--tg-card) 72%,transparent) 8% 92%,transparent)!important;scroll-snap-type:x proximity!important;
}
body.techgrid-fui-active .tg-hex-window .tg-flow-rail::-webkit-scrollbar{display:none!important}
body.techgrid-fui-active .tg-hex-window .tg-flow-rail>*{scroll-snap-align:center}

/* Tabellen bleiben Tabellen, aber als lesbare Datenmatrix: Kopfzeile fixiert, Zeilen mit Signalspur und horizontaler Rail bei Platzmangel. */
body.techgrid-fui-active .tg-hex-window .tg-flow-table-shell{overflow:auto!important;scrollbar-width:none!important;mask-image:linear-gradient(90deg,transparent 0,#000 14px,#000 calc(100% - 14px),transparent 100%)}
body.techgrid-fui-active .tg-hex-window .tg-flow-table-shell::-webkit-scrollbar{display:none!important}
body.techgrid-fui-active .tg-hex-window .tg-flow-table{width:100%!important;border-collapse:separate!important;border-spacing:0 3px!important;background:transparent!important}
body.techgrid-fui-active .tg-hex-window .tg-flow-table thead th{position:sticky!important;top:0!important;z-index:4!important;padding:7px 9px!important;border:0!important;border-bottom:1px solid var(--tg-line)!important;background:color-mix(in srgb,var(--tg-panel) 92%,transparent)!important;color:var(--tg-line-2)!important;backdrop-filter:blur(8px)!important}
body.techgrid-fui-active .tg-hex-window .tg-flow-table tbody td{padding:7px 9px!important;border:0!important;border-top:1px solid color-mix(in srgb,var(--tg-edge) 30%,transparent)!important;border-bottom:1px solid color-mix(in srgb,var(--tg-edge) 30%,transparent)!important;background:color-mix(in srgb,var(--tg-card) 72%,transparent)!important;transition:background .16s ease,transform .16s ease!important}
body.techgrid-fui-active .tg-hex-window .tg-flow-table tbody tr:hover td{background:color-mix(in srgb,var(--tg-line) 9%,var(--tg-card))!important;transform:translateX(2px)}

/* Vertikales Fließen plus dezentes seitliches Einfädeln: am Rand schmal/versetzt, in der Mitte vollbreit und ruhig. */
body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized) .tg-fluid-row{
  transform:translateX(calc(var(--tg-flow-side,0) * 10px)) scale(calc(.965 + (.035 * var(--tg-flow-wide))))!important;
  filter:saturate(calc(.88 + (.12 * var(--tg-flow-wide))))!important;
  scroll-snap-align:center!important;will-change:width,transform,opacity!important;
}
body.techgrid-fui-active .tg-hex-window .tg-flow-focus{animation:tgFlowFocus .34s ease both}
@keyframes tgFlowFocus{from{filter:brightness(.96)}to{filter:brightness(1.035)}}

/* Maximiert wird aus der Wabe ein Datenpaneel, die gleichen Bedienelemente bleiben aber erhalten. */
body.techgrid-fui-active .win95.tg-hex-window.window-maximized .tg-content-stage{padding:12px 18px!important}
body.techgrid-fui-active .win95.tg-hex-window.window-maximized .tg-fluid-row{width:100%!important;max-width:100%!important;transform:none!important;opacity:1!important}

@media(max-width:700px){
  body.techgrid-fui-active .tg-hex-window .tg-flow-table{min-width:560px!important}
  body.techgrid-fui-active .tg-hex-window .tg-flow-action{min-height:34px!important}
  body.techgrid-fui-active .tg-hex-window .tg-flow-field{font-size:14px!important}
}
@media(prefers-reduced-motion:reduce){
  body.techgrid-fui-active .tg-hex-window *{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}
}


/* Michael Klementz | 26.09.2026 08:05 Uhr – v0.31 Feinschliff: adaptive Typografie, echte Zuggriffe und harte Lesbarkeitsregeln für sämtliche internen TechGrid-Fenster. */
body.techgrid-fui-active .win95.tg-hex-window{
  --tg-content-font-scale:1;
  container-type:size;
  container-name:tg-work-window;
}
body.techgrid-fui-active .win95.tg-hex-window .tg-content-stage{
  font-size:calc(1rem * var(--tg-content-font-scale))!important;
  line-height:1.42!important;
}
body.techgrid-fui-active .win95.tg-hex-window .tg-content-stage :is(h1,h2,h3,h4,h5,p,label,legend,li,dt,dd,td,th,span,strong,small,a){
  overflow-wrap:break-word!important;
  word-break:normal!important;
  hyphens:auto;
  max-width:100%;
}
body.techgrid-fui-active .win95.tg-hex-window .tg-content-stage :is(input,textarea,select,button){
  font-size:1em!important;line-height:1.25!important;max-width:100%!important;
}
body.techgrid-fui-active .win95.tg-hex-window .tg-content-stage :is(.grid,.row,.c2,.c3,.c4,.c6,.c8,.c9,.c10,.c12,.form-row,.admin-form-row,.toolbar,.controls){
  min-width:0!important;
}
body.techgrid-fui-active .win95.tg-hex-window .tg-content-stage img,
body.techgrid-fui-active .win95.tg-hex-window .tg-content-stage svg,
body.techgrid-fui-active .win95.tg-hex-window .tg-content-stage canvas{max-width:100%!important;height:auto}

/* Historische Seitenzone: sichtbares Zusatzbedienelement entfernt; nur Inhaltsabstände bleiben relevant. */







/* Die Inhalts-Sicherheitszone hält Fensterkanten, Scrollflächen und Text zuverlässig auseinander. */
body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>.win-body,
body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>.alert-content{
  left:10.5%!important;right:10.5%!important;
}

body.techgrid-fui-active .win95.tg-hex-window.window-maximized>.win-body{padding-left:58px!important;padding-right:58px!important}

/* Maus-Zuggriffe: nicht nur technisch vorhanden, sondern sichtbar und intuitiv. */
body.techgrid-fui-active .win95.tg-hex-window>.win-resizer{z-index:205!important}
body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>.win-resizer-n,
body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>.win-resizer-s{
  left:31%!important;right:31%!important;height:9px!important;opacity:.5!important;
  background:linear-gradient(90deg,transparent,var(--tg-line),transparent)!important;
}
body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>.win-resizer-e,
body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>.win-resizer-w{
  top:42%!important;bottom:42%!important;width:10px!important;opacity:.55!important;
  background:linear-gradient(transparent,var(--tg-line),transparent)!important;
}
body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>.win-resizer-ne,
body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>.win-resizer-nw,
body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>.win-resizer-se,
body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>.win-resizer-sw{
  opacity:.72!important;border:1px solid color-mix(in srgb,var(--tg-line) 70%,transparent)!important;
  background:color-mix(in srgb,var(--tg-panel-2) 82%,transparent)!important;box-shadow:0 0 7px -2px var(--tg-glow)!important;
}
body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>.win-resizer-ne{right:22%!important;top:2%!important}
body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>.win-resizer-nw{left:22%!important;top:2%!important}
body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>.win-resizer-se{right:22%!important;bottom:2%!important}
body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>.win-resizer-sw{left:22%!important;bottom:2%!important}
body.techgrid-fui-active .win95.tg-hex-window>.win-resizer:hover{opacity:1!important;filter:brightness(1.35)!important}

/* Bei wirklich kleinen Arbeitsfenstern schalten komplexe Layouts auf eine Spalte um, statt Text zu quetschen. */
@container tg-work-window (max-width:520px){
  body.techgrid-fui-active .win95.tg-hex-window .tg-content-stage :is(.grid,.admin-grid,.settings-grid,.mail-layout,.secure-mail-layout,.record-layout){
    grid-template-columns:minmax(0,1fr)!important;
  }
  body.techgrid-fui-active .win95.tg-hex-window .tg-flow-rail{flex-wrap:nowrap!important}
  body.techgrid-fui-active .win95.tg-hex-window .tg-flow-table{font-size:.88em!important}
}
@container tg-work-window (max-width:400px){
  
  body.techgrid-fui-active .win95.tg-hex-window .tg-content-stage{line-height:1.36!important}
}

/* Lange Kennungen/URLs dürfen umbrechen; kurze Bedienelemente bleiben dagegen als Einheit lesbar. */
body.techgrid-fui-active .win95.tg-hex-window .tg-flow-action,
body.techgrid-fui-active .win95.tg-hex-window>.win-title .win-title-text{
  overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;word-break:normal!important;
}
body.techgrid-fui-active .win95.tg-hex-window .tg-flow-field{overflow-wrap:normal!important;word-break:normal!important}


/* Michael Klementz | 26.09.2026 09:05 Uhr – Security Alert steht im PRAETORIAN allein: der runde Orbit zeigt ein echtes Ereignis an, ohne eine zusätzliche Sammelwabe zu brauchen. */
body.techgrid-fui-active .tg-node .tg-security-orb{
  position:absolute;z-index:18;right:8%;top:9%;width:25px;height:25px;border-radius:50%;
  display:grid;place-items:center;pointer-events:none;
  border:1px solid color-mix(in srgb,var(--tg-line-2) 72%,transparent);
  background:radial-gradient(circle at 35% 30%,color-mix(in srgb,var(--tg-line-2) 25%,var(--tg-panel-2)),var(--tg-panel-2) 72%);
  box-shadow:0 0 0 3px color-mix(in srgb,var(--tg-line) 8%,transparent),0 0 11px -3px var(--tg-glow);
  color:var(--tg-muted);opacity:.62;transition:opacity .2s ease,transform .2s ease,box-shadow .2s ease,color .2s ease;
}
body.techgrid-fui-active .tg-node .tg-security-orb i{position:absolute;inset:4px;border:1px solid currentColor;border-radius:50%;opacity:.6}
body.techgrid-fui-active .tg-node .tg-security-orb b{font:800 11px/1 ui-monospace,monospace}
body.techgrid-fui-active .tg-node.has-security-event .tg-security-orb{
  opacity:1;color:var(--tg-line-2);transform:scale(1.08);
  box-shadow:0 0 0 4px color-mix(in srgb,var(--tg-line) 14%,transparent),0 0 18px var(--tg-glow);
  animation:tgSecurityOrbit 1.7s ease-in-out infinite;
}
@keyframes tgSecurityOrbit{0%,100%{filter:brightness(1)}50%{filter:brightness(1.45)}}
@media(prefers-reduced-motion:reduce){body.techgrid-fui-active .tg-node.has-security-event .tg-security-orb{animation:none}}


/* Michael Klementz | 26.09.2026 10:20 Uhr – v0.33: alle Arbeitsfenster bekommen lebendige, aber lesbare FlowDeck-Inhalte; Pizza.Net bleibt Film-Easteregg, wirkt jetzt aber wie eine moderne, bewegte Requisite statt wie eine alte Webseite. */
body.techgrid-fui-active .win95.tg-hex-window .tg-content-stage>.tg-flow-semantic,
body.techgrid-fui-active .win95.tg-hex-window .tg-content-stage .tg-flow-card{
  position:relative;isolation:isolate;
  border:1px solid color-mix(in srgb,var(--tg-edge) 52%,transparent)!important;
  background:linear-gradient(145deg,color-mix(in srgb,var(--tg-panel) 88%,transparent),color-mix(in srgb,var(--tg-panel-2) 76%,transparent))!important;
  box-shadow:inset 0 1px 0 color-mix(in srgb,var(--tg-line-2) 10%,transparent),0 12px 30px -24px var(--tg-glow)!important;
  backdrop-filter:blur(9px);
  transition:transform .24s ease,border-color .24s ease,box-shadow .24s ease,opacity .24s ease;
}
body.techgrid-fui-active .win95.tg-hex-window .tg-content-stage>.tg-flow-semantic:hover,
body.techgrid-fui-active .win95.tg-hex-window .tg-content-stage .tg-flow-card:hover{
  border-color:color-mix(in srgb,var(--tg-line) 72%,transparent)!important;
  box-shadow:inset 0 1px 0 color-mix(in srgb,var(--tg-line-2) 18%,transparent),0 14px 34px -20px var(--tg-glow)!important;
}
body.techgrid-fui-active .win95.tg-hex-window .tg-flow-heading{
  position:relative;padding-inline-start:.72em!important;letter-spacing:.025em;
}
body.techgrid-fui-active .win95.tg-hex-window .tg-flow-heading::before{
  content:"";position:absolute;left:0;top:.16em;bottom:.16em;width:2px;
  background:linear-gradient(transparent,var(--tg-line),var(--tg-line-2),transparent);box-shadow:0 0 8px var(--tg-glow);
}
body.techgrid-fui-active .win95.tg-hex-window .tg-flow-field{
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease,transform .18s ease!important;
}
body.techgrid-fui-active .win95.tg-hex-window .tg-flow-field:focus{
  transform:translateX(2px);box-shadow:0 0 0 1px var(--tg-line),inset 3px 0 0 var(--tg-line-2),0 0 16px -8px var(--tg-glow)!important;
}
body.techgrid-fui-active .win95.tg-hex-window .tg-flow-action{position:relative;overflow:hidden!important}
body.techgrid-fui-active .win95.tg-hex-window .tg-flow-action::after{
  content:"";position:absolute;inset:-40% auto -40% -45%;width:30%;pointer-events:none;
  background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--tg-line-2) 26%,transparent),transparent);
  transform:skewX(-18deg);transition:left .38s ease;
}
body.techgrid-fui-active .win95.tg-hex-window .tg-flow-action:hover::after{left:118%}
body.techgrid-fui-active .win95.tg-hex-window .tg-flow-table tbody tr{transition:background .16s ease,transform .16s ease}
body.techgrid-fui-active .win95.tg-hex-window .tg-flow-table tbody tr:hover{background:color-mix(in srgb,var(--tg-line) 8%,transparent)!important;transform:translateX(2px)}
@media(prefers-reduced-motion:reduce){
 body.techgrid-fui-active .win95.tg-hex-window .tg-flow-action::after{display:none}
 body.techgrid-fui-active .win95.tg-hex-window .tg-flow-table tbody tr:hover{transform:none}
}

/* Pizza.Net // THE NET REMIX: 90er-Webrequisite, CRT/Glas, räumliche Layer und horizontale Szenenbewegung im TechGrid. */
body.techgrid-fui-active .pizza-net-window.tg-hex-window .pizza-browser{
  --pizza-film-red:#a9473b;--pizza-film-blue:#123878;--pizza-film-cream:#f1dfad;--pizza-film-cyan:#7ed8e5;
  position:relative;overflow:hidden!important;color:#f5f0df!important;
  background:
    radial-gradient(circle at 18% 14%,rgba(104,181,210,.15),transparent 28%),
    radial-gradient(circle at 86% 76%,rgba(176,64,51,.20),transparent 34%),
    linear-gradient(135deg,#08131c 0%,#0d2432 46%,#091016 100%)!important;
  font-family:"Courier New",ui-monospace,monospace!important;
}
body.techgrid-fui-active .pizza-net-window .pizza-browser::before{
  content:"";position:absolute;inset:0;z-index:20;pointer-events:none;opacity:.19;mix-blend-mode:screen;
  background:repeating-linear-gradient(0deg,rgba(255,255,255,.07) 0 1px,transparent 1px 4px);
}
body.techgrid-fui-active .pizza-net-window .pizza-browser::after{
  content:"";position:absolute;inset:0;z-index:19;pointer-events:none;
  box-shadow:inset 0 0 70px rgba(0,0,0,.75),inset 0 0 18px rgba(91,213,229,.08);
}
body.techgrid-fui-active .pizza-net-window .pizza-browser-chrome{
  position:relative;z-index:21;background:linear-gradient(180deg,rgba(23,43,57,.97),rgba(8,20,29,.96))!important;
  border-bottom:1px solid rgba(126,216,229,.28)!important;box-shadow:0 8px 24px rgba(0,0,0,.28)!important;
}
body.techgrid-fui-active .pizza-net-window .pizza-browser-row{background:transparent!important;border-color:rgba(126,216,229,.15)!important}
body.techgrid-fui-active .pizza-net-window .pizza-nav-btn{
  color:#d8eef0!important;background:linear-gradient(#173341,#0c1d27)!important;border:1px solid rgba(126,216,229,.28)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.08),0 4px 10px rgba(0,0,0,.18)!important;
}
body.techgrid-fui-active .pizza-net-window .pizza-address{
  color:#9ee6ed!important;background:rgba(2,10,15,.82)!important;border:1px solid rgba(126,216,229,.28)!important;
  box-shadow:inset 0 0 14px rgba(0,0,0,.65)!important;
}
body.techgrid-fui-active .pizza-net-window .pizza-browser-body{
  position:relative;z-index:2;padding:0!important;background:transparent!important;overflow:hidden!important;perspective:1000px;
}
body.techgrid-fui-active .pizza-net-window .pizza-sequence-page{
  min-height:100%;height:100%;box-sizing:border-box;padding:12px clamp(12px,4vw,34px) 18px!important;
  overflow:visible;scrollbar-width:auto;animation:none!important;
}
body.techgrid-fui-active .pizza-net-window .pizza-sequence-page::-webkit-scrollbar{display:none}
@keyframes pizzaSceneIn{from{opacity:0;transform:translateX(13%) rotateY(-4deg) scale(.985);filter:blur(3px)}to{opacity:1;transform:none;filter:none}}
body.techgrid-fui-active .pizza-net-window .pizza-cinema-atmosphere{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0}
body.techgrid-fui-active .pizza-net-window .pizza-cinema-atmosphere i{
  position:absolute;width:42%;aspect-ratio:1;border:1px solid rgba(126,216,229,.13);border-radius:50%;filter:blur(.2px);
  animation:none!important;
}
body.techgrid-fui-active .pizza-net-window .pizza-cinema-atmosphere i:nth-child(1){left:-18%;top:3%}
body.techgrid-fui-active .pizza-net-window .pizza-cinema-atmosphere i:nth-child(2){right:-20%;top:28%;animation-delay:-4s;animation-duration:16s}
body.techgrid-fui-active .pizza-net-window .pizza-cinema-atmosphere i:nth-child(3){left:34%;bottom:-30%;animation-delay:-8s;animation-duration:19s}
body.techgrid-fui-active .pizza-net-window .pizza-cinema-atmosphere span{
 position:absolute;inset:0;background:linear-gradient(115deg,transparent 35%,rgba(255,255,255,.025) 48%,transparent 61%);animation:none!important;
}
@keyframes pizzaDrift{to{transform:translate3d(8%,5%,0) scale(1.16)}}
@keyframes pizzaLightSweep{from{transform:translateX(-75%)}to{transform:translateX(75%)}}
body.techgrid-fui-active .pizza-net-window .pizza-ad-head{
  position:relative;z-index:2;margin:0 auto 10px!important;padding:9px 14px!important;max-width:720px;
  background:linear-gradient(110deg,rgba(168,67,55,.92),rgba(86,35,37,.88))!important;
  border:1px solid rgba(255,221,173,.38)!important;box-shadow:0 16px 35px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.14)!important;
  backdrop-filter:none!important;transform:none!important;
}
body.techgrid-fui-active .pizza-net-window .pizza-ad-title{color:#fff1bd!important;text-shadow:0 2px 0 #54252b,0 0 18px rgba(255,218,159,.20)!important}
body.techgrid-fui-active .pizza-net-window :is(.pizza-menu-film,.pizza-address-film,.pizza-transmit-screen){
  position:relative;z-index:2!important;margin-inline:auto!important;max-width:760px!important;
  border:1px solid rgba(126,216,229,.28)!important;
  background:linear-gradient(145deg,rgba(12,35,47,.94),rgba(7,19,27,.94))!important;
  box-shadow:0 24px 54px rgba(0,0,0,.42),inset 0 0 0 1px rgba(255,255,255,.04),inset 0 0 35px rgba(126,216,229,.035)!important;
  backdrop-filter:none!important;transform:none!important;
}
body.techgrid-fui-active .pizza-net-window .pizza-order-grid{background:transparent!important}
body.techgrid-fui-active .pizza-net-window .pizza-order-panel{border-color:rgba(126,216,229,.16)!important;background:rgba(5,16,23,.38)!important}
body.techgrid-fui-active .pizza-net-window .pizza-order-panel h3{
  color:#ffdba2!important;background:linear-gradient(90deg,rgba(169,71,59,.72),rgba(169,71,59,.16))!important;
  border:0!important;border-left:2px solid #d78068!important;text-shadow:0 1px 0 #311!important;
}
body.techgrid-fui-active .pizza-net-window .pizza-choice{color:#e9eee8!important}
body.techgrid-fui-active .pizza-net-window .pizza-choice i{background:#0a1b25!important;border:1px solid rgba(126,216,229,.38)!important;box-shadow:inset 0 0 8px rgba(0,0,0,.8)!important}
body.techgrid-fui-active .pizza-net-window .pizza-choice input:checked+i{box-shadow:inset 0 0 8px rgba(0,0,0,.8),0 0 12px rgba(215,128,104,.35)!important}
body.techgrid-fui-active .pizza-net-window .pizza-send-order,
body.techgrid-fui-active .pizza-net-window .pizza-film-done{
  border:1px solid rgba(255,219,162,.45)!important;background:linear-gradient(135deg,#9f4439,#5f2930)!important;color:#fff0bd!important;
  box-shadow:0 7px 18px rgba(0,0,0,.30),inset 0 1px rgba(255,255,255,.15)!important;transition:transform .16s ease,filter .16s ease,box-shadow .16s ease!important;
}
body.techgrid-fui-active .pizza-net-window :is(.pizza-send-order,.pizza-film-done):hover{transform:translateY(-2px)!important;filter:brightness(1.14);box-shadow:0 10px 24px rgba(0,0,0,.34),0 0 15px rgba(215,128,104,.18)!important}
body.techgrid-fui-active .pizza-net-window .pizza-address-prompt{color:#f7dfb1!important;text-shadow:0 2px 0 #492129,0 0 20px rgba(255,218,159,.14)!important}
body.techgrid-fui-active .pizza-net-window .pizza-address-data{
  background:rgba(4,25,30,.88)!important;border:1px solid rgba(126,216,229,.34)!important;box-shadow:inset 0 0 25px rgba(0,0,0,.55),0 14px 26px rgba(0,0,0,.20)!important;
}
body.techgrid-fui-active .pizza-net-window .pizza-data-row span{color:#83c7d2!important}
body.techgrid-fui-active .pizza-net-window .pizza-data-row strong{color:#eadca7!important}
body.techgrid-fui-active .pizza-net-window .pizza-transmit-terminal{
  background:rgba(0,4,7,.90)!important;border:1px solid rgba(126,216,229,.28)!important;color:#bfe8e6!important;
  box-shadow:inset 0 0 28px #000,0 0 20px rgba(126,216,229,.05)!important;
}
body.techgrid-fui-active .pizza-net-window .pizza-transmit-meter{background:#061117!important;border:1px solid rgba(126,216,229,.24)!important}
body.techgrid-fui-active .pizza-net-window .pizza-transmit-meter span{background:linear-gradient(90deg,#8b403a,#e09b73,#8bd7df)!important;box-shadow:0 0 12px rgba(126,216,229,.28)}
body.techgrid-fui-active .pizza-net-window .pizza-final-alert{background:radial-gradient(circle,rgba(80,9,12,.92),rgba(0,0,0,.97))!important;backdrop-filter:none!important}
@container tg-work-window (max-width:620px){
 body.techgrid-fui-active .pizza-net-window .pizza-order-grid{grid-template-columns:1fr!important;height:auto!important}
 body.techgrid-fui-active .pizza-net-window .pizza-order-panel{min-height:0!important;height:auto!important;border-right:0!important;border-bottom:1px solid rgba(126,216,229,.14)!important;overflow:visible!important}
 body.techgrid-fui-active .pizza-net-window .pizza-menu-film{overflow:auto!important}
 body.techgrid-fui-active .pizza-net-window .pizza-data-city{grid-template-columns:70px minmax(0,1fr)!important}
 body.techgrid-fui-active .pizza-net-window .pizza-data-city span:nth-of-type(n/**/+2),
 body.techgrid-fui-active .pizza-net-window .pizza-data-city strong:nth-of-type(n/**/+2){grid-column:auto}
}
@media(prefers-reduced-motion:reduce){
 body.techgrid-fui-active .pizza-net-window .pizza-sequence-page{animation:none}
 body.techgrid-fui-active .pizza-net-window .pizza-cinema-atmosphere *{animation:none!important}
}

/* Michael Klementz | 26.09.2026 07:43 Uhr – Der persönliche Waben-Editor ist kein klassischer Texteditor: Command-Deck, Papierfläche und Farbimpuls liegen als lesbare Ebenen direkt in der Arbeitswabe. */
body.techgrid-fui-active .tg-personal-note-window{container-name:tg-note-window;container-type:size}
body.techgrid-fui-active .tg-note-editor-shell{height:100%;min-height:0;display:grid;grid-template-rows:auto auto minmax(150px,1fr) auto auto;gap:9px;padding:4px 1px 2px;box-sizing:border-box;color:var(--tg-text)}
body.techgrid-fui-active .tg-note-titleline{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end;padding:0 2px}
body.techgrid-fui-active .tg-note-titleline label{display:grid;gap:4px;color:var(--tg-muted);font:700 10px/1 ui-monospace,monospace;letter-spacing:.13em}
body.techgrid-fui-active .tg-note-titleline input{min-width:0;border:0;border-bottom:1px solid color-mix(in srgb,var(--tg-line) 45%,transparent);background:transparent;color:var(--tg-text);padding:5px 2px;font:700 calc(17px * var(--tg-content-font-scale,1))/1.1 inherit;outline:0}
body.techgrid-fui-active .tg-note-titleline input:focus{border-color:var(--tg-line);box-shadow:0 5px 12px -10px var(--tg-glow)}
body.techgrid-fui-active .tg-note-titleline>span{font:700 9px/1 ui-monospace,monospace;color:var(--tg-muted);white-space:nowrap}
body.techgrid-fui-active .tg-note-commanddeck{display:flex;align-items:center;gap:6px;overflow-x:auto;scrollbar-width:none;padding:6px;border:1px solid color-mix(in srgb,var(--tg-edge) 55%,transparent);background:linear-gradient(90deg,color-mix(in srgb,var(--tg-panel) 90%,transparent),color-mix(in srgb,var(--tg-panel-2) 80%,transparent));clip-path:polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px)}
body.techgrid-fui-active .tg-note-commanddeck::-webkit-scrollbar{display:none}
body.techgrid-fui-active .tg-note-commandgroup{display:flex;gap:3px;padding-right:6px;border-right:1px solid color-mix(in srgb,var(--tg-line) 18%,transparent)}
body.techgrid-fui-active .tg-note-commanddeck button,body.techgrid-fui-active .tg-note-emoji summary{height:29px;min-width:31px;border:1px solid color-mix(in srgb,var(--tg-line) 27%,transparent);background:color-mix(in srgb,var(--tg-panel-2) 86%,transparent);color:var(--tg-text);font:700 11px/1 ui-monospace,monospace;display:grid;place-items:center;cursor:pointer;transition:.16s ease;list-style:none}
body.techgrid-fui-active .tg-note-commanddeck button:hover,body.techgrid-fui-active .tg-note-emoji summary:hover{border-color:var(--tg-line);color:var(--tg-line-2);box-shadow:inset 0 0 12px color-mix(in srgb,var(--tg-line) 8%,transparent),0 0 10px -6px var(--tg-glow);transform:translateY(-1px)}
body.techgrid-fui-active .tg-note-color{min-width:150px;padding:0 5px}body.techgrid-fui-active .tg-note-color label{display:grid;grid-template-columns:auto 1fr 16px;gap:6px;align-items:center;font:700 8px/1 ui-monospace,monospace;color:var(--tg-muted)}
body.techgrid-fui-active .tg-note-color input{width:78px;accent-color:var(--tg-line)}body.techgrid-fui-active .tg-note-color i{width:12px;height:12px;border-radius:50%;box-shadow:0 0 8px currentColor}
body.techgrid-fui-active .tg-note-emoji{position:relative}body.techgrid-fui-active .tg-note-emoji>div{position:absolute;z-index:30;right:0;top:34px;width:190px;display:grid;grid-template-columns:repeat(6,1fr);gap:3px;padding:6px;background:color-mix(in srgb,var(--tg-panel) 96%,#000);border:1px solid var(--tg-line);box-shadow:0 14px 32px rgba(0,0,0,.4)}body.techgrid-fui-active .tg-note-emoji>div button{font-size:17px}
body.techgrid-fui-active .tg-note-paper{min-height:0;overflow:auto;outline:0;padding:clamp(14px,3cqw,26px);background:linear-gradient(180deg,color-mix(in srgb,var(--tg-panel-2) 72%,transparent),color-mix(in srgb,var(--tg-panel) 86%,transparent));border:1px solid color-mix(in srgb,var(--tg-line) 25%,transparent);box-shadow:inset 0 0 35px rgba(0,0,0,.13);font-size:calc(15px * var(--tg-content-font-scale,1));line-height:1.55;overflow-wrap:anywhere;word-break:normal;hyphens:auto;caret-color:var(--tg-line-2)}
body.techgrid-fui-active .tg-note-paper:focus{border-color:color-mix(in srgb,var(--tg-line) 65%,transparent);box-shadow:inset 3px 0 0 var(--tg-line),inset 0 0 35px rgba(0,0,0,.13),0 0 18px -12px var(--tg-glow)}body.techgrid-fui-active .tg-note-paper a{color:var(--tg-line-2);text-decoration:underline;text-underline-offset:3px}body.techgrid-fui-active .tg-note-paper ul,body.techgrid-fui-active .tg-note-paper ol{padding-left:1.5em}
body.techgrid-fui-active .tg-note-status{display:flex;justify-content:space-between;gap:10px;color:var(--tg-muted);font:9px/1.25 ui-monospace,monospace;padding:0 3px}body.techgrid-fui-active .tg-note-status output{white-space:nowrap;color:var(--tg-line-2)}
body.techgrid-fui-active .tg-note-savebar{display:flex;justify-content:flex-end;gap:7px}body.techgrid-fui-active .tg-note-savebar button{min-height:32px;padding:0 14px;border:1px solid color-mix(in srgb,var(--tg-line) 32%,transparent);background:var(--tg-panel-2);color:var(--tg-text);font:700 10px/1 ui-monospace,monospace;letter-spacing:.05em;cursor:pointer}body.techgrid-fui-active .tg-note-savebar button.primary{border-color:color-mix(in srgb,var(--tg-line) 65%,transparent);color:var(--tg-line-2);box-shadow:0 0 14px -9px var(--tg-glow)}
@container tg-note-window (max-width:520px){body.techgrid-fui-active .tg-note-titleline{grid-template-columns:1fr}body.techgrid-fui-active .tg-note-titleline>span{display:none}body.techgrid-fui-active .tg-note-commanddeck{gap:4px}body.techgrid-fui-active .tg-note-status span{display:none}}

body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized){
  filter:drop-shadow(0 0 1px color-mix(in srgb,var(--tg-line-2) 72%,transparent)) drop-shadow(0 10px 24px rgba(0,0,0,.20))!important;
}
body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)::before,
body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)::after{
  content:"";position:absolute;pointer-events:none;z-index:170;clip-path:var(--tg-win-shape);
  background:linear-gradient(135deg,color-mix(in srgb,var(--tg-line-2) 70%,transparent),color-mix(in srgb,var(--tg-line) 26%,transparent) 32%,color-mix(in srgb,var(--tg-edge) 72%,transparent) 68%,color-mix(in srgb,var(--tg-line-2) 55%,transparent));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;
}
body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)::before{inset:0;padding:1px;opacity:.72}
body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)::after{inset:4px;padding:1px;opacity:.24}

/* Sitzung gehört optisch zum unteren linken Systemblock, nicht mehr in die Desktopmitte. */
body.techgrid-fui-active .tg-session-nav{
  top:auto!important;left:4.6%!important;bottom:1.25%!important;transform:none!important;z-index:1850!important;
  max-width:min(540px,54vw)!important;padding:3px 4px!important;gap:4px!important;
  background:color-mix(in srgb,var(--tg-panel) 68%,transparent)!important;box-shadow:0 0 12px color-mix(in srgb,var(--tg-glow) 30%,transparent)!important;
}
body.techgrid-fui-active .tg-session-user{display:block!important;max-width:150px!important;line-height:24px!important}
body.techgrid-fui-active .tg-session-nav button,body.techgrid-fui-active .tg-session-nav a{min-height:24px!important;line-height:22px!important;padding:0 8px!important}
body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="compact"] .tg-session-nav,
body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="micro"] .tg-session-nav{top:auto!important;left:18px!important;bottom:8px!important;transform:none!important;max-width:calc(100vw - 36px)!important}
body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="compact"] .tg-session-user,
body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="micro"] .tg-session-user{display:block!important;max-width:96px!important;font-size:6.5px!important;padding:0 5px!important}

/* Adaptive Typografie skaliert die sichtbare Inhaltsgruppe inklusive Controls und Abständen proportional. */
body.techgrid-fui-active .win95.tg-hex-window{--tg-ui-scale:1;--tg-ui-inverse:1}
body.techgrid-fui-active .win95.tg-hex-window>.win-body.tg-content-stage>:not(iframe),
body.techgrid-fui-active .win95.tg-hex-window>.alert-content.tg-content-stage>*,
body.techgrid-fui-active .win95.tg-hex-window.praetorian-control-window .prae-content>.inner-pad{
  zoom:var(--tg-ui-scale);width:calc(100% * var(--tg-ui-inverse));max-width:calc(100% * var(--tg-ui-inverse));box-sizing:border-box;
}
body.techgrid-fui-active .win95.tg-hex-window .tg-content-stage{font-size:1rem!important}

/* Admin-/Formularbereiche dürfen nie wieder auf schmale Einzelbuchstaben-Spalten zusammengedrückt werden. */
body.techgrid-fui-active .win95.tg-hex-window .inline-grid.admin-form-row{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;align-items:start!important;
}
body.techgrid-fui-active .win95.tg-hex-window .inline-grid.admin-form-row>:is(.c2,.c3,.c4,.c6){grid-column:span 1!important;min-width:0!important}
body.techgrid-fui-active .win95.tg-hex-window .inline-grid.admin-form-row>:is(.c8,.c9,.c10,.c12),
body.techgrid-fui-active .win95.tg-hex-window .inline-grid.admin-form-row>.admin-actions{grid-column:1/-1!important;min-width:0!important}
body.techgrid-fui-active .win95.tg-hex-window .inline-grid.admin-form-row label,
body.techgrid-fui-active .win95.tg-hex-window .check-group label{
  word-break:normal!important;overflow-wrap:break-word!important;hyphens:none!important;white-space:normal!important;line-height:1.3!important;
}
@container tg-work-window (max-width:700px){
  body.techgrid-fui-active .win95.tg-hex-window .inline-grid.admin-form-row{grid-template-columns:minmax(0,1fr)!important}
  body.techgrid-fui-active .win95.tg-hex-window .inline-grid.admin-form-row>*{grid-column:1!important}
}
body.techgrid-fui-active .win95.tg-hex-window .admin-avatar-picker{display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;gap:8px!important;align-items:center!important;min-width:0!important}
body.techgrid-fui-active .win95.tg-hex-window .admin-avatar-preview{width:38px!important;height:38px!important;max-width:38px!important;object-fit:cover!important}

/* Checkbox-/Radio-Gruppen werden zu klaren Auswahlkarten statt Browser-Standardlisten. */
body.techgrid-fui-active .win95.tg-hex-window .check-group{
  display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr))!important;gap:6px!important;padding:7px!important;
  border:1px solid color-mix(in srgb,var(--tg-edge) 58%,transparent)!important;
  background:linear-gradient(145deg,color-mix(in srgb,var(--tg-panel-2) 70%,transparent),color-mix(in srgb,var(--tg-panel) 48%,transparent))!important;
  box-shadow:inset 0 0 18px rgba(0,0,0,.08)!important;
}
body.techgrid-fui-active .win95.tg-hex-window .check-group>label{
  display:grid!important;grid-template-columns:20px minmax(0,1fr)!important;align-items:center!important;gap:8px!important;
  min-width:0!important;min-height:34px!important;margin:0!important;padding:5px 8px!important;
  border:1px solid color-mix(in srgb,var(--tg-edge) 38%,transparent)!important;background:color-mix(in srgb,var(--tg-card) 66%,transparent)!important;color:var(--tg-ink)!important;
  transition:border-color .16s ease,background .16s ease,transform .16s ease!important;
}
body.techgrid-fui-active .win95.tg-hex-window .check-group>label:hover{border-color:color-mix(in srgb,var(--tg-line) 70%,transparent)!important;background:color-mix(in srgb,var(--tg-line) 8%,var(--tg-card))!important;transform:translateX(1px)}
body.techgrid-fui-active .win95.tg-hex-window input.tg-choice-input{
  appearance:none!important;-webkit-appearance:none!important;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;margin:0!important;padding:0!important;
  border:1px solid color-mix(in srgb,var(--tg-line) 62%,var(--tg-edge))!important;background:color-mix(in srgb,var(--tg-panel-2) 88%,black)!important;
  box-shadow:inset 0 0 0 3px color-mix(in srgb,var(--tg-panel) 90%,transparent),0 0 7px color-mix(in srgb,var(--tg-glow) 20%,transparent)!important;cursor:pointer!important;
  clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%)!important;
}
body.techgrid-fui-active .win95.tg-hex-window input.tg-choice-input:checked{background:var(--tg-line-2)!important;box-shadow:inset 0 0 0 4px var(--tg-panel-2),0 0 9px var(--tg-glow)!important}
body.techgrid-fui-active .win95.tg-hex-window input.tg-choice-input[type="radio"]{border-radius:50%!important;clip-path:none!important}
body.techgrid-fui-active .win95.tg-hex-window input.tg-choice-input:focus-visible{outline:1px solid var(--tg-line-2)!important;outline-offset:2px!important}

/* Echte TechGrid-Auswahlliste: native Selects bleiben fürs Formular erhalten, die sichtbare Bedienung ist vollständig im Wabendesign. */
body.techgrid-fui-active .win95.tg-hex-window select.tg-native-select{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;margin:0!important;padding:0!important}
body.techgrid-fui-active .tg-select-shell,body.techgrid-module .tg-select-shell{position:relative!important;width:100%!important;min-width:0!important;z-index:36!important}
body.techgrid-fui-active .tg-select-trigger,body.techgrid-module .tg-select-trigger{
  width:100%!important;min-height:36px!important;display:grid!important;grid-template-columns:minmax(0,1fr) 24px!important;align-items:center!important;gap:6px!important;padding:6px 8px 6px 11px!important;
  border:1px solid color-mix(in srgb,var(--tg-line) 48%,var(--tg-edge))!important;background:linear-gradient(135deg,color-mix(in srgb,var(--tg-panel-2) 92%,black),color-mix(in srgb,var(--tg-panel) 84%,transparent))!important;
  color:var(--tg-ink)!important;text-align:left!important;font:inherit!important;box-shadow:inset 3px 0 0 color-mix(in srgb,var(--tg-line) 40%,transparent)!important;cursor:pointer!important;
}
body.techgrid-fui-active .tg-select-trigger span,body.techgrid-module .tg-select-trigger span{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;min-width:0!important}
body.techgrid-fui-active .tg-select-trigger i,body.techgrid-module .tg-select-trigger i{width:11px;height:11px;justify-self:center;border-right:1px solid var(--tg-line-2);border-bottom:1px solid var(--tg-line-2);transform:rotate(45deg) translateY(-3px);transition:transform .16s ease}
body.techgrid-fui-active .tg-select-shell.is-open .tg-select-trigger i,body.techgrid-module .tg-select-shell.is-open .tg-select-trigger i{transform:rotate(225deg) translate(-2px,-1px)}
body.techgrid-fui-active .tg-select-list,body.techgrid-module .tg-select-list{
  position:absolute!important;left:0!important;right:0!important;top:calc(100% + 4px)!important;z-index:999!important;max-height:220px!important;overflow:auto!important;padding:4px!important;
  border:1px solid color-mix(in srgb,var(--tg-line-2) 58%,var(--tg-edge))!important;background:color-mix(in srgb,var(--tg-panel-2) 97%,black)!important;box-shadow:0 12px 30px rgba(0,0,0,.34),0 0 15px color-mix(in srgb,var(--tg-glow) 22%,transparent)!important;backdrop-filter:blur(12px)!important;
}
body.techgrid-fui-active .tg-select-list[hidden],body.techgrid-module .tg-select-list[hidden]{display:none!important}
body.techgrid-fui-active .tg-select-option,body.techgrid-module .tg-select-option{display:block!important;width:100%!important;min-height:31px!important;padding:6px 9px!important;border:0!important;border-bottom:1px solid color-mix(in srgb,var(--tg-edge) 28%,transparent)!important;background:transparent!important;color:var(--tg-ink)!important;text-align:left!important;font:inherit!important;white-space:normal!important;overflow-wrap:break-word!important;cursor:pointer!important}
body.techgrid-fui-active .tg-select-option:hover,body.techgrid-fui-active .tg-select-option.is-selected,body.techgrid-module .tg-select-option:hover,body.techgrid-module .tg-select-option.is-selected{background:linear-gradient(90deg,color-mix(in srgb,var(--tg-line) 18%,transparent),transparent)!important;color:var(--tg-line-2)!important}

/* Generelle Lesbarkeit: Inhalte bleiben im Rahmen, Tabellen scrollen kontrolliert und keine Beschriftung wird buchstabenweise zerhackt. */
body.techgrid-fui-active .win95.tg-hex-window .tg-content-stage *{box-sizing:border-box;min-width:0}
body.techgrid-fui-active .win95.tg-hex-window .tg-content-stage :is(label,p,li,td,th,.os-small,.admin-summary-title,.section-caption){word-break:normal!important;overflow-wrap:break-word!important;hyphens:none!important}
body.techgrid-fui-active .win95.tg-hex-window :is(.table-scroll,.tg-flow-table-shell){max-width:100%!important;overflow:auto!important}
body.techgrid-fui-active .win95.tg-hex-window table{width:100%!important;max-width:100%!important;table-layout:auto!important}
body.techgrid-fui-active .win95.tg-hex-window .admin-actions{display:flex!important;flex-wrap:wrap!important;gap:8px!important;align-items:center!important}

/* Gleiche Auswahloptik auch innerhalb der Same-Origin-Tool-Iframes. */
body.techgrid-hex-embedded .tg-select-shell{position:relative!important;width:100%!important;min-width:0!important;z-index:36!important}
body.techgrid-hex-embedded .tg-select-trigger{width:100%!important;min-height:36px!important;display:grid!important;grid-template-columns:minmax(0,1fr) 24px!important;align-items:center!important;gap:6px!important;padding:6px 8px 6px 11px!important;border:1px solid color-mix(in srgb,var(--tg-line) 48%,var(--tg-edge))!important;background:linear-gradient(135deg,color-mix(in srgb,var(--tg-panel-2) 92%,black),color-mix(in srgb,var(--tg-panel) 84%,transparent))!important;color:var(--tg-ink)!important;text-align:left!important;font:inherit!important;cursor:pointer!important}
body.techgrid-hex-embedded .tg-select-trigger span{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body.techgrid-hex-embedded .tg-select-trigger i{width:11px;height:11px;justify-self:center;border-right:1px solid var(--tg-line-2);border-bottom:1px solid var(--tg-line-2);transform:rotate(45deg) translateY(-3px)}
body.techgrid-hex-embedded .tg-select-list{position:absolute!important;left:0!important;right:0!important;top:calc(100% + 4px)!important;z-index:999!important;max-height:220px!important;overflow:auto!important;padding:4px!important;border:1px solid color-mix(in srgb,var(--tg-line-2) 58%,var(--tg-edge))!important;background:color-mix(in srgb,var(--tg-panel-2) 97%,black)!important;box-shadow:0 12px 30px rgba(0,0,0,.34)!important}
body.techgrid-hex-embedded .tg-select-list[hidden]{display:none!important}
body.techgrid-hex-embedded .tg-select-option{display:block!important;width:100%!important;min-height:31px!important;padding:6px 9px!important;border:0!important;border-bottom:1px solid color-mix(in srgb,var(--tg-edge) 28%,transparent)!important;background:transparent!important;color:var(--tg-ink)!important;text-align:left!important;font:inherit!important;white-space:normal!important;cursor:pointer!important}
body.techgrid-hex-embedded .tg-select-option:hover,body.techgrid-hex-embedded .tg-select-option.is-selected{background:linear-gradient(90deg,color-mix(in srgb,var(--tg-line) 18%,transparent),transparent)!important;color:var(--tg-line-2)!important}
body.techgrid-hex-embedded select.tg-native-select{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
body.techgrid-hex-embedded input.tg-choice-input{appearance:none!important;-webkit-appearance:none!important;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;margin:0 5px 0 0!important;border:1px solid color-mix(in srgb,var(--tg-line) 62%,var(--tg-edge))!important;background:color-mix(in srgb,var(--tg-panel-2) 88%,black)!important;box-shadow:inset 0 0 0 3px color-mix(in srgb,var(--tg-panel) 90%,transparent)!important;vertical-align:middle!important;clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%)!important}
body.techgrid-hex-embedded input.tg-choice-input:checked{background:var(--tg-line-2)!important;box-shadow:inset 0 0 0 4px var(--tg-panel-2),0 0 8px var(--tg-glow)!important}

/* Michael Klementz | 26.09.2026 11:29 Uhr – Objektprüfung 01: Das Gatekeeper-Hauptfenster ist jetzt ein eigener responsiver Arbeits-Hub; Suche, Rubriken und Kacheln bleiben bei jeder Fenstergröße lesbar und bedienbar. */
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="hub"]>.win-body{
  display:flex!important;flex-direction:column!important;gap:clamp(8px,1.2cqw,14px)!important;
  padding:clamp(10px,1.55cqw,18px)!important;overflow:auto!important;overscroll-behavior:contain!important;
  scrollbar-width:thin!important;scrollbar-color:var(--tg-line) color-mix(in srgb,var(--tg-panel) 72%,transparent)!important;scrollbar-gutter:stable;container-type:inline-size;container-name:tg-hub-content;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="hub"]>.win-body::-webkit-scrollbar{width:8px!important;height:8px!important}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="hub"]>.win-body::-webkit-scrollbar-thumb{background:color-mix(in srgb,var(--tg-line) 66%,transparent)!important;border:2px solid transparent!important;background-clip:padding-box!important}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="hub"]>.win-body::-webkit-scrollbar-track{background:color-mix(in srgb,var(--tg-panel) 72%,transparent)!important}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="hub"] .os-msg{
  flex:0 0 auto!important;max-width:100%!important;margin:0!important;padding:clamp(8px,1.1cqw,12px) clamp(10px,1.5cqw,16px)!important;
  overflow-wrap:anywhere!important;word-break:normal!important;line-height:1.42!important;
  border:1px solid color-mix(in srgb,var(--tg-edge) 42%,transparent)!important;
  background:linear-gradient(100deg,color-mix(in srgb,var(--tg-line) 7%,transparent),transparent 72%)!important;
  clip-path:polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px)!important;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="hub"] .gate-search-wrap{
  flex:0 0 auto!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:6px!important;
  min-width:0!important;margin:0!important;padding:clamp(9px,1.2cqw,13px)!important;
  border:1px solid color-mix(in srgb,var(--tg-edge) 48%,transparent)!important;
  background:color-mix(in srgb,var(--tg-panel-2) 72%,transparent)!important;
  box-shadow:inset 3px 0 0 color-mix(in srgb,var(--tg-line) 48%,transparent)!important;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="hub"] .gate-search-wrap>label{
  min-width:0!important;margin:0!important;color:var(--tg-line-2)!important;font-weight:800!important;letter-spacing:.1em!important;
  overflow-wrap:anywhere!important;word-break:normal!important;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="hub"] .gate-search-line{
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;align-items:stretch!important;min-width:0!important;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="hub"] .gate-search-line>.os-input{
  width:100%!important;min-width:0!important;max-width:none!important;height:auto!important;min-height:36px!important;margin:0!important;
  text-overflow:ellipsis!important;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="hub"] .gate-search-line>.os-btn{
  width:auto!important;min-width:max-content!important;min-height:36px!important;margin:0!important;padding-inline:14px!important;white-space:nowrap!important;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="hub"] #gateSearchState{
  min-width:0!important;max-width:100%!important;margin:0!important;line-height:1.35!important;overflow-wrap:anywhere!important;word-break:normal!important;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="hub"] .gate-collapse{
  flex:0 0 auto!important;min-width:0!important;max-width:100%!important;margin:0!important;overflow:visible!important;
  border:1px solid color-mix(in srgb,var(--tg-edge) 38%,transparent)!important;background:color-mix(in srgb,var(--tg-panel) 62%,transparent)!important;
  clip-path:polygon(7px 0,100% 0,100% calc(100% - 7px),calc(100% - 7px) 100%,0 100%,0 7px)!important;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="hub"] .gate-section-summary{
  display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;align-items:center!important;gap:8px!important;
  min-width:0!important;min-height:38px!important;margin:0!important;padding:8px 11px!important;cursor:pointer!important;
  overflow:hidden!important;list-style:none!important;border-bottom:1px solid color-mix(in srgb,var(--tg-edge) 30%,transparent)!important;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="hub"] .gate-section-summary::-webkit-details-marker{display:none!important}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="hub"] .gate-section-summary>span:first-child{
  min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="hub"] .gate-section-count{
  min-width:25px!important;height:22px!important;padding:0 7px!important;display:grid!important;place-items:center!important;
  border:1px solid color-mix(in srgb,var(--tg-line) 44%,transparent)!important;background:color-mix(in srgb,var(--tg-line) 8%,transparent)!important;
  color:var(--tg-line-2)!important;font-variant-numeric:tabular-nums!important;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="hub"] .gate-section-arrow{transition:transform .18s ease!important}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="hub"] .gate-collapse[open] .gate-section-arrow{transform:rotate(90deg)!important}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="hub"] .gate-collapse-body{
  min-width:0!important;max-width:100%!important;overflow:visible!important;padding:10px!important;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="hub"] .portal-grid{
  display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))!important;gap:9px!important;min-width:0!important;width:100%!important;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="hub"] .portal-item{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;align-content:start!important;gap:4px!important;
  width:100%!important;min-width:0!important;max-width:100%!important;min-height:52px!important;height:auto!important;margin:0!important;padding:7px 9px!important;
  overflow:hidden!important;text-align:left!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;
  border:1px solid color-mix(in srgb,var(--tg-edge) 42%,transparent)!important;background:linear-gradient(145deg,color-mix(in srgb,var(--tg-panel-2) 78%,transparent),color-mix(in srgb,var(--tg-panel) 62%,transparent))!important;
  clip-path:polygon(7px 0,100% 0,100% calc(100% - 7px),calc(100% - 7px) 100%,0 100%,0 7px)!important;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="hub"] .portal-item>*{min-width:0!important;max-width:100%!important;overflow-wrap:break-word!important;word-break:normal!important}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="hub"] .portal-item strong{font-size:1.03em!important;line-height:1.22!important;color:var(--tg-ink)!important}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="hub"] .portal-item>span:not(.portal-kind){line-height:1.35!important;color:var(--tg-muted)!important}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="hub"] .portal-kind{
  width:max-content!important;max-width:100%!important;font-size:.78em!important;letter-spacing:.09em!important;color:var(--tg-line-2)!important;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="hub"] .portal-file-meta{font-size:.8em!important;opacity:.78!important}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="hub"] .empty-note{margin:0!important;min-width:0!important;overflow-wrap:anywhere!important;word-break:normal!important}
@container tg-hub-content (max-width:520px){
  body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="hub"] .portal-grid{grid-template-columns:1fr!important}
  body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="hub"] .portal-item{min-height:0!important}
}
@container tg-hub-content (max-width:360px){
  body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="hub"] .gate-search-line{grid-template-columns:1fr!important}
  body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="hub"] .gate-search-line>.os-btn{width:auto!important}
  body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="hub"] .gate-section-summary{grid-template-columns:minmax(0,1fr) auto!important}
  body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="hub"] .gate-section-arrow{display:none!important}
}

/* Michael Klementz | 27.09.2026 08:08 Uhr – Objektprüfung 02: SYSTEMSTATUS nutzt die Wabenfläche jetzt vollständig, lesbar und ohne Inline-Layoutfallen. */
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="status"]>.gate-status-body{
  display:block!important;overflow-y:auto!important;overflow-x:hidden!important;
  padding-block:10px!important;container-type:inline-size;container-name:tg-status-content;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="status"] .gate-status-overview{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;
  width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="status"] .gate-status-card{
  position:relative!important;display:flex!important;flex-direction:column!important;justify-content:center!important;
  min-width:0!important;min-height:68px!important;padding:10px 12px!important;overflow:hidden!important;
  border:1px solid color-mix(in srgb,var(--tg-edge) 54%,transparent)!important;
  background:linear-gradient(145deg,color-mix(in srgb,var(--tg-panel) 86%,transparent),color-mix(in srgb,var(--tg-panel-2) 70%,transparent))!important;
  box-shadow:inset 0 1px 0 color-mix(in srgb,var(--tg-line-2) 10%,transparent),0 10px 26px -24px var(--tg-glow)!important;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="status"] .gate-status-card::before{
  content:"";position:absolute;left:0;top:18%;bottom:18%;width:2px;background:linear-gradient(transparent,var(--tg-line),var(--tg-line-2),transparent);box-shadow:0 0 8px var(--tg-glow);opacity:.8;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="status"] .gate-status-card-node{grid-column:1/-1!important;min-height:76px!important}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="status"] .gate-status-label{
  margin:0 0 5px!important;text-transform:uppercase!important;letter-spacing:.08em!important;line-height:1.25!important;
  white-space:normal!important;overflow-wrap:break-word!important;word-break:normal!important;color:var(--tg-muted)!important;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="status"] .gate-status-value{
  display:block!important;min-width:0!important;max-width:100%!important;margin:0!important;color:var(--tg-ink)!important;
  font-weight:700!important;line-height:1.25!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="status"] .gate-status-node{font-size:1.08em!important}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="status"] .gate-status-count{font-size:1.42em!important;line-height:1!important;color:var(--tg-line-2)!important;text-shadow:0 0 10px color-mix(in srgb,var(--tg-glow) 45%,transparent)}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="status"] .gate-status-state{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;width:max-content!important;max-width:100%!important;
  min-height:28px!important;margin:0!important;padding:4px 10px!important;cursor:default!important;white-space:normal!important;overflow-wrap:break-word!important;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="status"] .gate-status-state::before{
  content:"";width:7px;height:7px;margin-right:7px;border-radius:50%;background:currentColor;box-shadow:0 0 8px currentColor;flex:0 0 auto;
}
@container tg-status-content (max-width:430px){
  body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="status"] .gate-status-overview{grid-template-columns:minmax(0,1fr)!important;gap:7px!important}
  body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="status"] .gate-status-card-node{grid-column:1!important}
  body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="status"] .gate-status-card{min-height:58px!important;padding:8px 10px!important}
}
@container tg-status-content (max-height:360px){
  body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="status"] .gate-status-card{min-height:52px!important;padding-block:7px!important}
}
body.techgrid-fui-active .win95.tg-hex-window.window-maximized[data-tg-window-profile="status"] .gate-status-overview{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;max-width:980px!important;margin-inline:auto!important;
}
body.techgrid-fui-active .win95.tg-hex-window.window-maximized[data-tg-window-profile="status"] .gate-status-card-node{grid-column:span 2!important}
@media(prefers-reduced-motion:reduce){body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="status"] *{scroll-behavior:auto!important}}


body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="chat"]>.chat-body{
  min-width:0!important;min-height:0!important;height:100%!important;
  display:grid!important;grid-template-rows:minmax(0,1fr) auto auto!important;gap:clamp(6px,1.4cqw,11px)!important;
  overflow:hidden!important;padding:clamp(8px,2cqw,16px)!important;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="chat"] .chat-message-list{
  min-width:0!important;min-height:0!important;max-height:none!important;height:auto!important;overflow-y:auto!important;overflow-x:hidden!important;
  padding:clamp(7px,1.7cqw,13px)!important;border:1px solid color-mix(in srgb,var(--tg-edge) 66%,transparent)!important;
  background:linear-gradient(160deg,color-mix(in srgb,var(--tg-panel-2) 90%,transparent),color-mix(in srgb,var(--tg-panel) 76%,transparent))!important;
  box-shadow:inset 0 0 22px color-mix(in srgb,var(--tg-shadow) 42%,transparent)!important;scrollbar-width:none;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="chat"] .chat-message-list::-webkit-scrollbar{display:none}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="chat"] .chat-message-list.has-unseen-tail{box-shadow:inset 0 -3px 0 var(--tg-line-2),inset 0 0 22px color-mix(in srgb,var(--tg-shadow) 42%,transparent)!important}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="chat"] .chat-message{
  display:grid!important;grid-template-columns:1fr!important;gap:4px!important;width:min(88%,680px)!important;max-width:88%!important;
  margin:0 auto 8px 0!important;padding:clamp(7px,1.5cqw,11px)!important;border:1px solid color-mix(in srgb,var(--tg-edge) 58%,transparent)!important;
  background:color-mix(in srgb,var(--tg-card) 90%,transparent)!important;color:var(--tg-ink)!important;border-radius:2px 12px 12px 12px!important;
  box-shadow:0 8px 20px -18px var(--tg-shadow)!important;font-size:inherit!important;line-height:1.42!important;overflow:visible!important;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="chat"] .chat-message.mine{
  margin-left:auto!important;margin-right:0!important;border-color:color-mix(in srgb,var(--tg-line) 55%,var(--tg-edge))!important;
  background:linear-gradient(145deg,color-mix(in srgb,var(--tg-line) 10%,var(--tg-card)),var(--tg-card))!important;border-radius:12px 2px 12px 12px!important;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="chat"] .chat-message-head{
  display:block!important;min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important;color:var(--tg-muted)!important;font-size:.72em!important;letter-spacing:.045em!important;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="chat"] .chat-message-text{
  display:block!important;min-width:0!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;hyphens:auto!important;color:var(--tg-ink)!important;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="chat"] .chat-compose{
  min-width:0!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="chat"] .chat-input{
  width:100%!important;min-width:0!important;min-height:clamp(48px,10cqh,76px)!important;max-height:130px!important;resize:vertical!important;
  font:inherit!important;line-height:1.4!important;color:var(--tg-ink)!important;background:color-mix(in srgb,var(--tg-panel-2) 88%,transparent)!important;
  border:1px solid var(--tg-edge)!important;box-shadow:inset 3px 0 0 color-mix(in srgb,var(--tg-line) 38%,transparent)!important;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="chat"] .chat-compose .os-btn{
  align-self:stretch!important;min-width:clamp(68px,16cqw,112px)!important;height:auto!important;white-space:nowrap!important;font:inherit!important;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="chat"] .chat-meta{
  min-width:0!important;display:flex!important;justify-content:space-between!important;gap:8px!important;flex-wrap:wrap!important;margin:0!important;
  color:var(--tg-muted)!important;font-size:.72em!important;white-space:normal!important;overflow-wrap:anywhere!important;
}
@container tg-work-window (max-width:480px){
 body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="chat"] .chat-compose{grid-template-columns:1fr!important}
 body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="chat"] .chat-compose .os-btn{min-height:30px!important;width:auto!important}
 body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="chat"] .chat-message{width:96%!important;max-width:96%!important}
}
@container tg-work-window (max-height:430px){
 body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="chat"]>.chat-body{gap:5px!important;padding-block:6px!important}
 body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="chat"] .chat-input{min-height:40px!important;max-height:64px!important;resize:none!important}
 body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="chat"] .chat-meta{display:none!important}
}

/* Michael Klementz | 27.09.2026 08:08 Uhr – v0.39 Objekt 4: Das Handbuch nutzt seine Wabe vollständig, ohne abgeschnittene Suche, Statuszeile oder unlesbare Navigation. */
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"]>.win-body{
  display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important;min-height:0!important;
  padding:0!important;overflow:hidden!important;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-toolbar{
  min-width:0!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(210px,.72fr)!important;
  align-items:center!important;gap:10px!important;height:auto!important;min-height:0!important;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-toolbar-copy,
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-search-label{min-width:0!important}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-toolbar-copy strong,
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-toolbar-copy span{
  display:block!important;max-width:100%!important;overflow-wrap:break-word!important;word-break:normal!important;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-search-label{
  display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:center!important;gap:8px!important;
  color:var(--tg-muted)!important;font:inherit!important;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-search-control{position:relative;display:block;min-width:0}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] [data-handbook-search]{
  box-sizing:border-box!important;width:100%!important;min-width:0!important;padding-right:30px!important;
  color:var(--tg-ink)!important;background:color-mix(in srgb,var(--tg-panel-2) 88%,transparent)!important;
  border:1px solid var(--tg-edge)!important;outline:0!important;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] [data-handbook-search]:focus{border-color:var(--tg-line)!important;box-shadow:0 0 0 1px color-mix(in srgb,var(--tg-line) 45%,transparent)!important}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-search-clear{
  position:absolute;right:4px;top:50%;translate:0 -50%;width:22px;height:22px;padding:0;border:0;border-radius:50%;
  color:var(--tg-line-2);background:transparent;cursor:pointer;font:700 16px/1 ui-monospace,monospace;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-search-clear[hidden]{display:none!important}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-layout{
  min-height:0!important;height:auto!important;overflow:hidden!important;grid-template-columns:minmax(145px,.34fr) minmax(0,1.66fr)!important;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] :is(.handbook-index,.handbook-content){min-width:0!important;min-height:0!important;overscroll-behavior:contain!important}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-index button{
  box-sizing:border-box!important;min-width:0!important;white-space:normal!important;overflow-wrap:break-word!important;word-break:normal!important;
  color:var(--tg-ink)!important;border-radius:4px!important;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-index button:hover,
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-index button:focus-visible{
  color:var(--tg-line-2)!important;background:color-mix(in srgb,var(--tg-line) 10%,transparent)!important;border-color:color-mix(in srgb,var(--tg-line) 38%,transparent)!important;outline:none!important;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-content{padding:clamp(8px,2.1cqw,15px)!important;scroll-padding-top:8px!important;outline:none!important}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-cover{
  min-width:0!important;padding:clamp(10px,2.3cqw,18px)!important;gap:clamp(9px,2cqw,16px)!important;
  color:var(--tg-ink)!important;background:linear-gradient(135deg,color-mix(in srgb,var(--tg-line) 16%,var(--tg-panel)),color-mix(in srgb,var(--tg-panel-2) 90%,transparent))!important;
  border:1px solid var(--tg-edge)!important;box-shadow:inset 0 1px 0 color-mix(in srgb,var(--tg-line-2) 12%,transparent)!important;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-cover-mark{flex:0 0 auto;width:clamp(38px,8cqw,58px);height:clamp(38px,8cqw,58px);font-size:clamp(25px,5.4cqw,38px);color:var(--tg-line-2);border-color:var(--tg-line)!important}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-cover>div:last-child{min-width:0}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-cover strong,
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-cover span{overflow-wrap:break-word!important;word-break:normal!important;color:inherit!important}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-entry{min-width:0!important;border-radius:5px!important}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-entry-head{min-width:0!important;align-items:flex-start!important;flex-wrap:wrap!important}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-entry-head strong{min-width:0;overflow-wrap:break-word!important;word-break:normal!important;color:var(--tg-ink)!important}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] :is(.handbook-summary,.handbook-steps,.handbook-note span,.handbook-section-intro){overflow-wrap:break-word!important;word-break:normal!important;hyphens:auto;color:var(--tg-ink)!important}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-section-intro{background:color-mix(in srgb,var(--tg-line) 7%,var(--tg-card))!important;border-left-color:var(--tg-line)!important}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-note span{background:color-mix(in srgb,#d7a627 10%,var(--tg-card))!important;border-left-color:#d7a627!important}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-status{
  position:static!important;min-width:0!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;
  padding:5px 10px!important;color:var(--tg-muted)!important;background:color-mix(in srgb,var(--tg-panel-2) 90%,transparent)!important;border:0!important;border-top:1px solid var(--tg-edge)!important;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-status span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@container tg-work-window (max-width:620px){
  body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-toolbar{grid-template-columns:1fr!important;gap:6px!important;padding-block:7px!important}
  body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-search-label{grid-template-columns:1fr!important;gap:4px!important}
  body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-layout{grid-template-columns:1fr!important;grid-template-rows:auto minmax(0,1fr)!important;height:auto!important;overflow:hidden!important}
  body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-index{display:flex!important;max-height:none!important;min-height:0!important;gap:5px!important;padding:6px 8px!important;overflow-x:auto!important;overflow-y:hidden!important;border-right:0!important;border-bottom:1px solid var(--tg-edge)!important;scrollbar-width:none}
  body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-index::-webkit-scrollbar{display:none}
  body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-index-title{display:none!important}
  body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-index button{flex:0 0 auto!important;width:auto!important;max-width:190px!important;grid-template-columns:22px minmax(0,1fr)!important;padding:6px 8px!important}
}
@container tg-work-window (max-width:430px){
  body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-toolbar-copy span{display:none!important}
  body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-cover{align-items:flex-start!important}
  body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-status span:last-child{display:none!important}
}

/* Michael Klementz | 27.09.2026 08:08 Uhr – Schritt 5: QR-Generator bleibt in jeder Wabengröße lesbar; Scannerfläche, Formulare und Auswahlfelder dürfen nie aus dem Fenster drücken. */
body[class*="user-theme-techgrid-"].qr-tool-body{min-width:0!important;overflow-x:hidden!important}
body[class*="user-theme-techgrid-"] .qr-tool-panel{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;container-type:inline-size;container-name:qr-tool}
body[class*="user-theme-techgrid-"] .qr-tool-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-width:0!important}
body[class*="user-theme-techgrid-"] .qr-tool-head>div:first-child{min-width:0!important}
body[class*="user-theme-techgrid-"] .qr-tool-head h1{margin:2px 0 0!important;font-size:clamp(20px,4.2cqi,34px)!important;line-height:1.05!important;overflow-wrap:anywhere!important}
body[class*="user-theme-techgrid-"] .qr-kicker{font-size:clamp(9px,1.8cqi,12px)!important;white-space:normal!important}
body[class*="user-theme-techgrid-"] .qr-tool-status{flex:0 0 auto!important;max-width:42%!important;white-space:normal!important;text-align:center!important;overflow-wrap:anywhere!important}
body[class*="user-theme-techgrid-"] .qr-tool-grid{width:100%!important;min-width:0!important;align-items:stretch!important}
body[class*="user-theme-techgrid-"] .qr-form,
body[class*="user-theme-techgrid-"] .qr-preview-area,
body[class*="user-theme-techgrid-"] .qr-field-row,
body[class*="user-theme-techgrid-"] .qr-field-row>div{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
body[class*="user-theme-techgrid-"] .qr-field-row.two{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
body[class*="user-theme-techgrid-"] .qr-field-row label{display:block!important;max-width:100%!important;line-height:1.25!important;overflow-wrap:break-word!important;word-break:normal!important}
body[class*="user-theme-techgrid-"] .qr-form :is(input,textarea,select){width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;font:inherit!important}
body[class*="user-theme-techgrid-"] .qr-form select{
  appearance:none!important;-webkit-appearance:none!important;padding-right:34px!important;
  background-color:color-mix(in srgb,var(--tg-card) 92%,#000 8%)!important;
  background-image:linear-gradient(45deg,transparent 50%,var(--tg-line-2) 50%),linear-gradient(135deg,var(--tg-line-2) 50%,transparent 50%),linear-gradient(90deg,color-mix(in srgb,var(--tg-edge) 70%,transparent),color-mix(in srgb,var(--tg-edge) 70%,transparent))!important;
  background-position:calc(100% - 15px) 50%,calc(100% - 10px) 50%,calc(100% - 29px) 50%!important;
  background-size:5px 5px,5px 5px,1px 58%!important;background-repeat:no-repeat!important;
  border:1px solid color-mix(in srgb,var(--tg-line) 48%,var(--tg-edge))!important;color:var(--tg-ink)!important;
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--tg-line) 8%,transparent),0 0 14px -11px var(--tg-glow)!important;
}
body[class*="user-theme-techgrid-"] .qr-form select:focus{outline:none!important;border-color:var(--tg-line)!important;box-shadow:0 0 0 1px var(--tg-line),0 0 16px -8px var(--tg-glow)!important}
body[class*="user-theme-techgrid-"] .qr-form select option{background:#10171d;color:#eef8f8}
body.user-theme-techgrid-light .qr-form select option{background:#edf4f5;color:#132126}
body[class*="user-theme-techgrid-"] .qr-field-hint{align-self:end!important;min-width:0!important;padding:9px 10px!important;line-height:1.35!important;overflow-wrap:break-word!important;border-left:2px solid color-mix(in srgb,var(--tg-line) 62%,transparent)!important;background:color-mix(in srgb,var(--tg-card) 62%,transparent)!important}
body[class*="user-theme-techgrid-"] .qr-checkbox{display:flex!important;align-items:flex-start!important;gap:8px!important;min-width:0!important;padding:8px 10px!important;border:1px solid color-mix(in srgb,var(--tg-edge) 62%,transparent)!important;background:color-mix(in srgb,var(--tg-card) 68%,transparent)!important}
body[class*="user-theme-techgrid-"] .qr-checkbox input{width:18px!important;height:18px!important;min-width:18px!important;accent-color:var(--tg-line)!important}
body[class*="user-theme-techgrid-"] .qr-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;min-width:0!important}
body[class*="user-theme-techgrid-"] .qr-actions .os-btn{width:auto!important;min-width:0!important;min-height:30px!important;height:auto!important;padding:5px 8px!important;white-space:normal!important;line-height:1.15!important;overflow-wrap:normal!important}
body[class*="user-theme-techgrid-"] .qr-validation{max-width:100%!important;box-sizing:border-box!important;overflow-wrap:anywhere!important;line-height:1.35!important}
body[class*="user-theme-techgrid-"] .qr-preview-area{position:relative!important;overflow:hidden!important;border:1px solid color-mix(in srgb,var(--tg-edge) 68%,transparent)!important;background:radial-gradient(circle at 50% 45%,color-mix(in srgb,var(--tg-line) 8%,transparent),transparent 58%),color-mix(in srgb,var(--tg-card) 72%,transparent)!important}
body[class*="user-theme-techgrid-"] .qr-preview-title{min-width:0!important;overflow-wrap:anywhere!important}
body[class*="user-theme-techgrid-"] .qr-preview{display:grid!important;place-items:center!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important;padding:10px!important;box-sizing:border-box!important}
body[class*="user-theme-techgrid-"] .qr-preview :is(canvas,img){display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:min(56vh,520px)!important;object-fit:contain!important;image-rendering:auto!important;box-shadow:0 12px 32px rgba(0,0,0,.24)!important}
body[class*="user-theme-techgrid-"] .qr-payload-info{max-width:100%!important;min-width:0!important;overflow-wrap:anywhere!important;word-break:normal!important;line-height:1.3!important}
@container qr-tool (max-width:700px){
 body[class*="user-theme-techgrid-"] .qr-tool-grid{grid-template-columns:1fr!important}
 body[class*="user-theme-techgrid-"] .qr-preview-area{grid-template-rows:auto minmax(210px,auto) auto!important}
 body[class*="user-theme-techgrid-"] .qr-preview{min-height:210px!important;height:auto!important}
 body[class*="user-theme-techgrid-"] .qr-preview :is(canvas,img){max-height:360px!important}
}
@container qr-tool (max-width:460px){
 body[class*="user-theme-techgrid-"] .qr-tool-panel{padding-inline:10px!important}
 body[class*="user-theme-techgrid-"] .qr-tool-head{margin-inline:-10px!important;padding-inline:12px!important;align-items:flex-start!important}
 body[class*="user-theme-techgrid-"] .qr-field-row.two{grid-template-columns:1fr!important}
 body[class*="user-theme-techgrid-"] .qr-actions{grid-template-columns:1fr!important}
 body[class*="user-theme-techgrid-"] .qr-tool-status{max-width:36%!important;font-size:.82em!important}
}
@container qr-tool (max-width:330px){
 body[class*="user-theme-techgrid-"] .qr-tool-head{display:grid!important;grid-template-columns:1fr!important}
 body[class*="user-theme-techgrid-"] .qr-tool-status{max-width:100%!important;justify-self:start!important}
 body[class*="user-theme-techgrid-"] .qr-preview{min-height:170px!important;padding:6px!important}
}

/* Michael Klementz | 27.09.2026 08:14 Uhr – Objekt 6: Taschenrechner bleibt in jeder Wabengröße lesbar und vollständig bedienbar. */
.calc-tool-shell.embedded,
.calc-tool-shell.embedded *{box-sizing:border-box;min-width:0}
.calc-tool-shell.embedded{width:100%;height:auto;overflow:visible}
.calc-tool-shell.embedded .calc-future-panel{overflow:hidden}
.calc-tool-shell.embedded .calc-panel-head,
.calc-tool-shell.embedded .calc-main-grid{width:100%}
.calc-tool-shell.embedded .calc-history-line,
.calc-tool-shell.embedded .calc-main-line{max-width:100%;scrollbar-width:thin}
.calc-tool-shell.embedded .calc-main-line{white-space:nowrap;overflow-x:auto;overflow-y:hidden}
.calc-tool-shell.embedded .calc-sub-line{flex-wrap:wrap;line-height:1.35}
.calc-tool-shell.embedded .calc-meta-item,
.calc-tool-shell.embedded .calc-memory-row{align-items:flex-start;flex-wrap:wrap}
.calc-tool-shell.embedded .calc-meta-item b,
.calc-tool-shell.embedded .calc-memory-row b,
.calc-tool-shell.embedded .calc-inline-note,
.calc-tool-shell.embedded .calc-history-exp,
.calc-tool-shell.embedded .calc-history-res{overflow-wrap:anywhere;word-break:normal}
.calc-tool-shell.embedded .calc-btn:focus-visible,
.calc-tool-shell.embedded #calcAngleMode:focus-visible,
.calc-tool-shell.embedded .calc-history-item:focus-visible{outline:2px solid rgba(73,164,235,.72);outline-offset:2px}
.calc-tool-shell.embedded .calc-btn{touch-action:manipulation;user-select:none;-webkit-user-select:none}
.calc-tool-shell.embedded .calc-history-list{overscroll-behavior:contain;scrollbar-width:thin}

@media (max-width:700px){
  .calc-tool-shell.embedded .calc-panel-head{gap:8px}
  .calc-tool-shell.embedded .calc-panel-head h1{font-size:clamp(22px,8vw,32px)}
  .calc-tool-shell.embedded .calc-head-side{grid-template-columns:1fr 1fr}
  .calc-tool-shell.embedded .calc-status-pill,
  .calc-tool-shell.embedded .calc-mode-toggle{min-height:40px;padding:7px 9px}
  .calc-tool-shell.embedded .calc-status-pill strong,
  .calc-tool-shell.embedded .calc-mode-toggle strong{font-size:9px;letter-spacing:.09em}
  .calc-tool-shell.embedded .calc-keypad-wrap{grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}
  .calc-tool-shell.embedded .calc-btn{min-height:42px;padding:6px 3px;border-radius:12px;font-size:11px}
  .calc-tool-shell.embedded .calc-sidebar{grid-template-columns:1fr}
  .calc-tool-shell.embedded .calc-history-list{max-height:150px}
}
@media (max-width:430px){
  .calc-tool-shell.embedded{padding:4px}
  .calc-tool-shell.embedded .calc-panel-head{padding:8px 8px 5px}
  .calc-tool-shell.embedded .calc-kicker{display:none}
  .calc-tool-shell.embedded .calc-head-side{grid-template-columns:1fr}
  .calc-tool-shell.embedded .calc-status-pill,
  .calc-tool-shell.embedded .calc-mode-toggle{min-height:34px;border-radius:11px}
  .calc-tool-shell.embedded .calc-main-grid{padding:0 8px 9px;gap:8px}
  .calc-tool-shell.embedded .calc-display-wrap{padding:7px;border-radius:15px}
  .calc-tool-shell.embedded .calc-top-strip{display:none}
  .calc-tool-shell.embedded .calc-display{min-height:82px;padding:7px 9px;border-radius:13px}
  .calc-tool-shell.embedded .calc-history-line{font-size:10px;min-height:14px}
  .calc-tool-shell.embedded .calc-main-line{font-size:clamp(23px,11vw,34px);min-height:42px}
  .calc-tool-shell.embedded .calc-sub-line{font-size:8px;letter-spacing:.06em;gap:4px}
  .calc-tool-shell.embedded .calc-keypad-wrap{gap:3px;margin-top:6px}
  .calc-tool-shell.embedded .calc-btn{min-height:36px;padding:4px 1px;border-radius:9px;font-size:9px}
  .calc-tool-shell.embedded .calc-card{padding:9px;border-radius:13px}
  .calc-tool-shell.embedded .calc-card h2{margin-bottom:6px}
  .calc-tool-shell.embedded .calc-memory-row,
  .calc-tool-shell.embedded .calc-meta-item{padding:6px 7px}
}
@media (max-width:340px){
  .calc-tool-shell.embedded .calc-panel-head h1{font-size:20px}
  .calc-tool-shell.embedded .calc-btn{font-size:8px;min-height:33px}
  .calc-tool-shell.embedded .calc-main-line{font-size:22px}
  .calc-tool-shell.embedded #calcMetaLine{display:none}
}

/* Michael Klementz | 27.09.2026 08:15 Uhr – Objekt 7 TRACE bleibt von großer Wabe bis Mini-Fenster vollständig lesbar und bedienbar. */
body[class*="user-theme-techgrid-"] .trace-tool{display:flex!important;flex-direction:column!important;min-width:0!important;min-height:100dvh!important;overflow:visible!important}
body[class*="user-theme-techgrid-"] .trace-controls{display:grid!important;grid-template-columns:minmax(180px,1fr) auto auto!important;align-items:end!important;gap:8px 10px!important;min-width:0!important}
body[class*="user-theme-techgrid-"] .trace-target-field{display:grid!important;gap:4px!important;min-width:0!important;color:var(--tg-muted)!important;font-size:.78rem!important;letter-spacing:.06em!important}
body[class*="user-theme-techgrid-"] .trace-target-field input{width:100%!important;min-width:0!important;height:36px!important;padding:7px 10px!important;box-sizing:border-box!important;font:inherit!important;color:var(--tg-ink)!important;background:color-mix(in srgb,var(--tg-card) 78%,transparent)!important;border:1px solid color-mix(in srgb,var(--tg-edge) 72%,transparent)!important;outline:none!important}
body[class*="user-theme-techgrid-"] .trace-target-field input:focus{border-color:var(--tg-line-2)!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--tg-line-2) 18%,transparent)!important}
body[class*="user-theme-techgrid-"] .trace-actions{display:flex!important;flex-wrap:wrap!important;gap:6px!important;min-width:0!important}
body[class*="user-theme-techgrid-"] .trace-actions button{min-height:36px!important;white-space:nowrap!important}
body[class*="user-theme-techgrid-"] .trace-actions button:disabled{opacity:.38!important;cursor:default!important;filter:saturate(.4)!important}
body[class*="user-theme-techgrid-"] .trace-state{display:flex!important;align-items:center!important;justify-content:center!important;min-height:36px!important;max-width:190px!important;padding:6px 10px!important;border:1px solid color-mix(in srgb,var(--tg-line-2) 48%,transparent)!important;background:color-mix(in srgb,var(--tg-line) 8%,transparent)!important;color:var(--tg-line-2)!important;font-weight:700!important;text-align:center!important;overflow-wrap:anywhere!important}
body[class*="user-theme-techgrid-"] .trace-layout{min-width:0!important;align-items:stretch!important}
body[class*="user-theme-techgrid-"] :is(.trace-console,.trace-map,.trace-whois){min-width:0!important;overflow:hidden!important}
body[class*="user-theme-techgrid-"] .trace-console pre{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;overflow:auto!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important;word-break:normal!important;scrollbar-width:thin!important}
body[class*="user-theme-techgrid-"] .trace-node-map{min-width:0!important;overflow:auto hidden!important;padding:16px 8px!important;box-sizing:border-box!important}
body[class*="user-theme-techgrid-"] .trace-node-map .tn{min-width:max-content!important;white-space:nowrap!important}
body[class*="user-theme-techgrid-"] .trace-fields{min-width:0!important}
body[class*="user-theme-techgrid-"] .trace-fields>*{min-width:0!important;overflow-wrap:anywhere!important;word-break:normal!important}
@media(max-width:900px){
 body[class*="user-theme-techgrid-"] .trace-controls{grid-template-columns:minmax(0,1fr) auto!important}
 body[class*="user-theme-techgrid-"] .trace-target-field{grid-column:1/-1!important}
 body[class*="user-theme-techgrid-"] .trace-state{max-width:160px!important}
}
@media(max-width:760px){
 body[class*="user-theme-techgrid-"] .trace-console pre{height:clamp(170px,34vh,280px)!important}
 body[class*="user-theme-techgrid-"] .trace-map{min-height:210px!important}
}
@media(max-width:520px){
 body[class*="user-theme-techgrid-"] .trace-tool{padding:0 6px 8px!important}
 body[class*="user-theme-techgrid-"] .trace-tool>.legacy-menu{margin:0 -6px!important;overflow:auto hidden!important;white-space:nowrap!important}
 body[class*="user-theme-techgrid-"] .trace-controls{grid-template-columns:1fr!important;gap:7px!important;padding:7px 0!important}
 body[class*="user-theme-techgrid-"] .trace-target-field,body[class*="user-theme-techgrid-"] .trace-actions,body[class*="user-theme-techgrid-"] .trace-state{grid-column:1!important;width:100%!important;max-width:none!important}
 body[class*="user-theme-techgrid-"] .trace-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body[class*="user-theme-techgrid-"] .trace-actions button{width:auto!important;min-width:0!important;padding-inline:6px!important}
 body[class*="user-theme-techgrid-"] .trace-layout{gap:7px!important}
 body[class*="user-theme-techgrid-"] .trace-console pre{height:180px!important;font-size:.82em!important}
 body[class*="user-theme-techgrid-"] .trace-map{min-height:180px!important}
 body[class*="user-theme-techgrid-"] .trace-whois{margin-top:7px!important}
 body[class*="user-theme-techgrid-"] .trace-fields{grid-template-columns:minmax(72px,.42fr) minmax(0,1.58fr)!important}
}
@media(max-width:340px){body[class*="user-theme-techgrid-"] .trace-actions{grid-template-columns:1fr!important}}

/* Michael Klementz | 27.09.2026 08:08 Uhr – RECORD DISPLAY bekommt einen belastbaren eigenen Fensterfluss statt gequetschter Legacy-Spalten. */
body[class*="user-theme-techgrid-"].records-tool-body{overflow:auto!important;container-type:inline-size}
body[class*="user-theme-techgrid-"] .records-tool{min-width:0!important;max-width:100%!important;overflow:visible!important}
body[class*="user-theme-techgrid-"] .record-head{display:flex!important;flex-wrap:wrap!important;gap:6px 14px!important;align-items:center!important;justify-content:space-between!important;line-height:1.25!important}
body[class*="user-theme-techgrid-"] .record-head>*{min-width:0!important;overflow-wrap:anywhere!important}
body[class*="user-theme-techgrid-"] .record-controls{display:grid!important;grid-template-columns:minmax(220px,1fr) repeat(4,max-content)!important;gap:7px!important;align-items:stretch!important}
body[class*="user-theme-techgrid-"] .record-controls label{min-width:0!important;display:grid!important;grid-template-columns:max-content minmax(0,1fr)!important;align-items:center!important;gap:8px!important}
body[class*="user-theme-techgrid-"] .record-controls input{width:100%!important;min-width:0!important}
body[class*="user-theme-techgrid-"] .record-controls button{min-height:36px!important;white-space:normal!important;line-height:1.15!important}
body[class*="user-theme-techgrid-"] .record-tabs{display:flex!important;gap:5px!important;overflow-x:auto!important;scrollbar-width:none!important;overscroll-behavior-inline:contain}
body[class*="user-theme-techgrid-"] .record-tabs::-webkit-scrollbar{display:none}
body[class*="user-theme-techgrid-"] .record-tabs button{flex:0 0 auto!important;min-height:34px!important;white-space:nowrap!important}
body[class*="user-theme-techgrid-"] .record-tabs button.active{box-shadow:inset 0 -2px 0 var(--tg-line-2),0 0 12px color-mix(in srgb,var(--tg-line) 20%,transparent)!important}
body[class*="user-theme-techgrid-"] .record-card{align-items:stretch!important;min-width:0!important;overflow:hidden!important}
body[class*="user-theme-techgrid-"] .record-photo{min-width:0!important;padding:10px!important;text-align:center!important}
body[class*="user-theme-techgrid-"] .record-photo small{max-width:100%!important;overflow-wrap:anywhere!important}
body[class*="user-theme-techgrid-"] .record-fields{min-width:0!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-content:start!important}
body[class*="user-theme-techgrid-"] .record-fields>div{min-width:0!important;grid-template-columns:minmax(92px,.38fr) minmax(0,.62fr)!important;align-items:start!important;gap:8px!important}
body[class*="user-theme-techgrid-"] .record-fields>div[hidden]{display:none!important}
body[class*="user-theme-techgrid-"] .record-fields :is(b,span){min-width:0!important;line-height:1.3!important;overflow-wrap:anywhere!important;word-break:normal!important;hyphens:none!important}
body[class*="user-theme-techgrid-"] .record-statusbar{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important}
body[class*="user-theme-techgrid-"] .record-statusbar span{min-width:0!important;line-height:1.2!important;overflow-wrap:anywhere!important}
@container (max-width:720px){
 body[class*="user-theme-techgrid-"] .record-controls{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body[class*="user-theme-techgrid-"] .record-controls label{grid-column:1/-1!important}
 body[class*="user-theme-techgrid-"] .record-controls button{width:auto!important}
 body[class*="user-theme-techgrid-"] .record-card{grid-template-columns:minmax(105px,.34fr) minmax(0,.66fr)!important}
 body[class*="user-theme-techgrid-"] .record-fields{grid-template-columns:1fr!important}
 body[class*="user-theme-techgrid-"] .record-fields .wide{grid-column:1!important}
 body[class*="user-theme-techgrid-"] .record-fields>div{grid-template-columns:1fr!important;gap:3px!important}
}
@container (max-width:470px){
 body[class*="user-theme-techgrid-"] .record-head{display:grid!important;grid-template-columns:1fr!important}
 body[class*="user-theme-techgrid-"] .record-controls{grid-template-columns:1fr!important}
 body[class*="user-theme-techgrid-"] .record-controls label{grid-column:1!important;grid-template-columns:1fr!important;gap:4px!important}
 body[class*="user-theme-techgrid-"] .record-card{grid-template-columns:1fr!important;padding:8px!important}
 body[class*="user-theme-techgrid-"] .record-photo{min-height:88px!important;display:grid!important;grid-template-columns:auto 1fr!important;gap:10px!important;justify-content:center!important}
 body[class*="user-theme-techgrid-"] .record-silhouette{font-size:54px!important}
 body[class*="user-theme-techgrid-"] .record-statusbar{grid-template-columns:1fr!important}
}
@media print{
 .record-menu,.record-controls{display:none!important}
 .records-tool{background:#fff!important;color:#000!important;padding:0!important}
 .record-card{border:1px solid #777!important;box-shadow:none!important}
 .record-statusbar{color:#000!important}
}


/* MKL | 02.10.2026 – Secure Mail: Listenzeilen bleiben inhaltsnah statt sich bei wenigen Nachrichten über die gesamte Fensterhöhe zu strecken; drei Arbeitszonen bleiben unabhängig scrollbar. */
body.mail-tool-body{min-width:0!important;overflow:auto!important}
.secure-mail-app,.secure-mail-app *{box-sizing:border-box;min-width:0}
.secure-mail-app{height:100dvh!important;min-height:360px!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
.secure-mail-toolbar{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:6px 8px}
.secure-mail-toolbar>span{margin-left:auto!important;white-space:nowrap}
.secure-mail-mailbox-select{min-width:min(290px,100%);margin-left:auto!important;flex-wrap:wrap}
.secure-mail-mailbox-select select{min-width:0!important;max-width:100%;flex:1 1 180px}
.secure-mail-shell{flex:1 1 auto!important;min-height:0!important;height:auto!important;grid-template-columns:minmax(150px,20%) minmax(210px,30%) minmax(0,1fr)!important;overflow:hidden}
.secure-mail-sidebar,.secure-mail-list-panel,.secure-mail-reader-panel{min-height:0!important;overflow:hidden}
.secure-mail-folders,.secure-mail-list,.secure-mail-reader{min-height:0!important;overflow:auto!important;overscroll-behavior:contain;scrollbar-gutter:stable}
.secure-mail-folders{flex:1 1 auto}
.secure-mail-list,.secure-mail-reader{flex:1 1 auto}
.secure-mail-list{align-content:start!important;grid-auto-rows:max-content!important}
.secure-mail-row{align-content:start!important;grid-auto-rows:max-content!important}
.mail-folder,.secure-mail-row{width:100%;max-width:100%;overflow:hidden}
.mail-folder span,.secure-mail-row-top b,.secure-mail-row-top span,.secure-mail-row-subject,.secure-mail-row-preview,.secure-mail-subject,.secure-mail-meta-grid span,.secure-mail-reader-body,.secure-mail-statusbar span{overflow-wrap:anywhere;word-break:normal;hyphens:auto}
.secure-mail-row-top{align-items:flex-start;flex-wrap:wrap}
.secure-mail-row-top span{margin-left:auto;white-space:nowrap}
.secure-mail-reader-body{min-height:140px!important;white-space:pre-wrap!important;line-height:1.55!important}
.secure-mail-reader-actions button{min-height:32px}
.secure-mail-statusbar{flex:0 0 auto;flex-wrap:wrap;align-items:center}
.secure-mail-statusbar span:first-child{flex:1 1 180px}
.secure-mail-compose{position:absolute!important;inset:10px!important;max-width:none!important;max-height:calc(100% - 20px)!important;overflow:auto!important;z-index:1200;border:1px solid var(--tg-edge,#6b7d8d);box-shadow:0 12px 38px rgba(0,0,0,.45)!important}
.secure-mail-compose form{padding:12px;grid-template-columns:1fr}
.secure-mail-compose label{display:grid;grid-template-columns:minmax(70px,100px) minmax(0,1fr);gap:8px;align-items:center;overflow-wrap:anywhere}
.secure-mail-compose textarea{resize:vertical;min-height:120px;max-height:42dvh}
.secure-mail-compose-actions{flex-wrap:wrap}
@media(max-width:820px){
 .secure-mail-shell{grid-template-columns:minmax(145px,32%) minmax(0,1fr)!important;grid-template-rows:minmax(150px,42%) minmax(180px,1fr)}
 .secure-mail-sidebar{grid-row:1/3}.secure-mail-reader-panel{grid-column:2;grid-row:2}.secure-mail-list-panel{grid-column:2;grid-row:1}
 .secure-mail-side-note{font-size:10px;padding:7px;margin:0 7px 7px}
}
@media(max-width:560px){
 .mail-menubar{white-space:nowrap;overflow-x:auto;scrollbar-width:thin}
 .secure-mail-app{min-height:320px!important}
 .secure-mail-toolbar{align-items:stretch}
 .secure-mail-toolbar button{flex:1 1 105px}
 .secure-mail-toolbar>span{order:-1;width:100%;margin:0!important}
 .secure-mail-mailbox-select{width:100%;margin:0!important}
 .secure-mail-shell{display:flex!important;flex-direction:column!important;overflow:auto!important}
 .secure-mail-sidebar{flex:0 0 auto;overflow:visible}.secure-mail-folders{display:flex;overflow-x:auto!important;padding:7px}.mail-folder{flex:0 0 auto;width:auto;min-width:135px}
 .secure-mail-side-note,.secure-mail-monitor-label{display:none}
 .secure-mail-list-panel{flex:0 0 min(38dvh,250px);min-height:130px!important}
 .secure-mail-reader-panel{flex:1 0 220px;min-height:180px!important}
 .secure-mail-reader-actions{width:100%}.secure-mail-reader-actions button{flex:0 1 auto}
 .secure-mail-meta-grid{grid-template-columns:58px minmax(0,1fr)!important}
 .secure-mail-compose label{grid-template-columns:1fr}
 .secure-mail-compose-actions button{flex:1 1 120px}
 .secure-mail-statusbar span:not(:first-child){display:none}
}
@media(max-width:340px){
 .secure-mail-toolbar button,.secure-mail-reader-actions button,.secure-mail-compose-actions button{flex-basis:100%}
 .secure-mail-row-top span{width:100%;margin-left:0}
 .secure-mail-subject{font-size:16px!important}
}


/* Michael Klementz | 27.09.2026 08:15 Uhr – Objekt 10: Mozart's Ghost bleibt vom kleinen Hexfenster bis zur Maximalansicht vollständig lesbar und bedienbar. */
body[class*="user-theme-techgrid-"] .mozart-tool{display:flex!important;flex-direction:column!important;min-height:100dvh!important;overflow:auto!important;box-sizing:border-box!important}
body[class*="user-theme-techgrid-"] .moz-browser{display:flex!important;flex-wrap:wrap!important;gap:6px!important;min-width:0!important}
body[class*="user-theme-techgrid-"] .moz-browser>span{white-space:nowrap!important}
body[class*="user-theme-techgrid-"] .moz-browser>div{margin-left:auto!important;min-width:180px!important;max-width:none!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body[class*="user-theme-techgrid-"] .moz-head{min-width:0!important;flex:0 0 auto!important}
body[class*="user-theme-techgrid-"] .moz-head>div{min-width:0!important}
body[class*="user-theme-techgrid-"] .moz-head h1{overflow-wrap:break-word!important;word-break:normal!important}
body[class*="user-theme-techgrid-"] .moz-player{min-width:0!important;align-items:stretch!important}
body[class*="user-theme-techgrid-"] .moz-spectrum{min-width:0!important;overflow:hidden!important}
body[class*="user-theme-techgrid-"] .moz-player-display{min-width:0!important;display:flex!important;align-items:center!important}
body[class*="user-theme-techgrid-"] .moz-player button:disabled{opacity:.42!important;cursor:default!important;filter:saturate(.4)!important}
body[class*="user-theme-techgrid-"] .moz-columns{min-width:0!important;align-items:stretch!important}
body[class*="user-theme-techgrid-"] .moz-columns section{min-width:0!important;overflow:auto!important}
body[class*="user-theme-techgrid-"] .moz-columns button{min-height:34px!important;padding:7px 8px!important;margin:3px 0!important;text-decoration:none!important;border:1px solid color-mix(in srgb,var(--tg-edge) 58%,transparent)!important;text-align:left!important;overflow-wrap:anywhere!important}
body[class*="user-theme-techgrid-"] .moz-columns button.active{border-color:var(--tg-line)!important;box-shadow:inset 3px 0 0 var(--tg-line),0 0 12px color-mix(in srgb,var(--tg-glow) 45%,transparent)!important;color:var(--tg-ink)!important}
body[class*="user-theme-techgrid-"] .moz-center p{overflow-wrap:break-word!important}
body[class*="user-theme-techgrid-"] .moz-disc{max-width:42vw!important;max-height:42vw!important}
body[class*="user-theme-techgrid-"] .moz-node-panel{position:fixed!important;left:50%!important;right:auto!important;top:50%!important;transform:translate(-50%,-50%)!important;width:min(520px,calc(100vw - 34px))!important;max-height:calc(100dvh - 50px)!important;overflow:auto!important;box-sizing:border-box!important}
body[class*="user-theme-techgrid-"] .moz-node-panel>div{gap:10px!important;align-items:center!important}
body[class*="user-theme-techgrid-"] .moz-node-panel pre{white-space:pre-wrap!important;overflow-wrap:anywhere!important;max-width:100%!important;box-sizing:border-box!important}
body[class*="user-theme-techgrid-"] .moz-foot{margin-top:auto!important;overflow-wrap:break-word!important}
@media(max-width:620px){
 body[class*="user-theme-techgrid-"] .moz-browser>span{font-size:10px!important}
 body[class*="user-theme-techgrid-"] .moz-browser>div{order:2!important;flex-basis:100%!important;margin-left:0!important;min-width:0!important}
 body[class*="user-theme-techgrid-"] .moz-head{gap:10px!important;padding:8px 10px 6px!important}
 body[class*="user-theme-techgrid-"] .moz-pi{font-size:42px!important}
 body[class*="user-theme-techgrid-"] .moz-head h1{font-size:clamp(21px,7vw,31px)!important;letter-spacing:.07em!important}
 body[class*="user-theme-techgrid-"] .moz-player{grid-template-columns:minmax(0,1fr) 58px!important;margin:0 8px 8px!important;padding:6px!important}
 body[class*="user-theme-techgrid-"] .moz-player-display{grid-column:1/-1!important;grid-row:auto!important;white-space:normal!important;overflow-wrap:anywhere!important;min-height:34px!important}
 body[class*="user-theme-techgrid-"] .moz-columns{grid-template-columns:1fr!important;padding:0 8px 8px!important}
 body[class*="user-theme-techgrid-"] .moz-columns section:not(.moz-center){display:block!important}
 body[class*="user-theme-techgrid-"] .moz-center{order:-1!important}
}
@media(max-width:360px){
 body[class*="user-theme-techgrid-"] .moz-browser>span{flex:1 1 calc(50% - 6px)!important;text-align:center!important}
 body[class*="user-theme-techgrid-"] .moz-head p{font-size:11px!important}
 body[class*="user-theme-techgrid-"] .moz-disc{width:82px!important;height:82px!important}
}


/* Michael Klementz | 27.09.2026 08:08 Uhr – Objekt 11 SHELL: Terminalinhalt bleibt in jeder Wabengröße lesbar, der Prompt bricht kontrolliert um und die Ausgabe ist die primäre Scrollfläche. */
.sim-shell-window .sim-shell{container-type:inline-size;gap:0;overflow:hidden!important}
.sim-shell-window .sim-shell-output{overflow-y:auto!important;overflow-x:auto!important;overscroll-behavior:contain;overflow-wrap:anywhere;word-break:normal;scrollbar-width:thin;padding:2px 3px 6px 2px}
.sim-shell-window .sim-shell-prompt{display:flex;align-items:flex-start;gap:5px;min-width:0;white-space:normal!important;word-break:normal!important;overflow-wrap:anywhere;border-top:1px solid rgba(255,255,255,.14);padding-top:7px}
.sim-shell-window .sim-shell-prefix{flex:0 0 auto}.sim-shell-window .sim-shell-typed{min-width:0;overflow-wrap:anywhere;word-break:break-word}
.sim-shell-window .sim-shell-hint{flex:0 0 auto;margin-top:5px;padding-top:5px;border-top:1px solid rgba(255,255,255,.08);font:10px/1.25 Consolas,"Courier New",monospace;letter-spacing:.04em;color:#8997a4;white-space:normal;overflow-wrap:break-word}
.sim-shell-window .sim-cmd{font-weight:700}.sim-shell-window .sim-reply{color:#dce8f3}
@container (max-width:420px){.sim-shell-window .sim-shell{padding:7px!important;font-size:12px!important}.sim-shell-window .sim-shell-output{font-size:12px!important;line-height:1.38!important}.sim-shell-window .sim-shell-hint{font-size:9px}}
@container (max-width:300px){.sim-shell-window .sim-shell{padding:5px!important}.sim-shell-window .sim-shell-hint{display:none}.sim-shell-window .sim-shell-prompt{gap:3px}}
@media(max-height:520px){.sim-shell-window .sim-shell-hint{display:none}.sim-shell-window .sim-shell{padding:6px!important}}

/* Michael Klementz | 27.09.2026 – BANK bleibt auch in kleinen TechGrid-Waben lesbar: Kamera, Scanstatus und Bedienung teilen sich den Platz statt sich gegenseitig zu überdecken. */
.bank-camera-window{width:min(700px,calc(100vw - 24px));height:min(620px,calc(100dvh - 92px));min-width:min(300px,calc(100vw - 12px));min-height:330px;box-sizing:border-box}
.bank-camera-window>.win-body{height:calc(100% - 28px);min-height:0;overflow:hidden!important;padding:0!important;box-sizing:border-box}
.bank-camera-wrap{height:100%;min-height:0;display:flex;flex-direction:column;gap:8px;overflow:auto;overscroll-behavior:contain;padding:10px 12px 12px;box-sizing:border-box;scrollbar-width:none}
.bank-camera-wrap::-webkit-scrollbar{width:0;height:0}
.bank-identify{flex:0 0 auto;min-width:0;margin:0;padding:7px 9px;border:1px solid rgba(95,139,176,.48);background:rgba(0,12,22,.74);overflow-wrap:anywhere}
.bank-camera-stage{flex:1 1 auto;min-height:170px;max-height:min(390px,48dvh);aspect-ratio:16/10;border-color:#516b87;box-shadow:inset 0 0 24px rgba(34,111,151,.18),0 0 0 1px rgba(137,185,221,.12)}
.bank-camera-placeholder{position:absolute;inset:0;display:grid;place-items:center;padding:18px;text-align:center;color:#87a5bd;background:radial-gradient(circle at 50% 45%,rgba(20,57,77,.55),rgba(0,5,10,.96) 68%);font:700 clamp(11px,2vw,14px)/1.35 Consolas,"Courier New",monospace;letter-spacing:.09em;overflow-wrap:anywhere;z-index:1}
.bank-camera-placeholder[hidden]{display:none}
.bank-camera-video,.bank-scan-grid,.bank-scan-line,.bank-camera-corners{z-index:2}.bank-scan-grid{z-index:3}.bank-scan-line{z-index:4}.bank-camera-corners{position:absolute;inset:9px;z-index:5;pointer-events:none;background:linear-gradient(#6bff9c,#6bff9c) left top/26px 2px no-repeat,linear-gradient(#6bff9c,#6bff9c) left top/2px 26px no-repeat,linear-gradient(#6bff9c,#6bff9c) right top/26px 2px no-repeat,linear-gradient(#6bff9c,#6bff9c) right top/2px 26px no-repeat,linear-gradient(#6bff9c,#6bff9c) left bottom/26px 2px no-repeat,linear-gradient(#6bff9c,#6bff9c) left bottom/2px 26px no-repeat,linear-gradient(#6bff9c,#6bff9c) right bottom/26px 2px no-repeat,linear-gradient(#6bff9c,#6bff9c) right bottom/2px 26px no-repeat;opacity:.68}
.bank-camera-status{flex:0 0 auto;min-width:0;padding:8px 9px;border:1px solid rgba(92,129,160,.42);background:rgba(0,10,18,.7);font-size:12px;line-height:1.4;letter-spacing:.055em;overflow-wrap:anywhere}
.bank-camera-actions{flex:0 0 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.bank-camera-actions .os-btn{min-width:0;min-height:34px;white-space:normal;line-height:1.15;overflow-wrap:anywhere}
.bank-camera-privacy{flex:0 0 auto;color:#7690a5;font:10px/1.35 Consolas,"Courier New",monospace;letter-spacing:.06em;text-align:center;overflow-wrap:anywhere}
.bank-camera-window.window-minimized{height:auto!important;min-height:0!important}.bank-camera-window.window-minimized>.win-body{display:none!important}
.bank-camera-window.window-maximized{height:auto!important;max-height:none!important}.bank-camera-window.window-maximized>.win-body{height:calc(100% - 28px)!important}
@media(max-width:520px){.bank-camera-wrap{padding:8px;gap:6px}.bank-camera-stage{min-height:150px;max-height:42dvh}.bank-camera-actions{grid-template-columns:1fr 1fr}.bank-camera-actions [data-bank-stop]{grid-column:1/-1}.bank-identify{font-size:clamp(14px,5vw,21px);letter-spacing:.055em}.bank-camera-privacy{font-size:9px}}
@media(max-width:350px){.bank-camera-actions{grid-template-columns:1fr}.bank-camera-actions [data-bank-stop]{grid-column:auto}.bank-camera-stage{min-height:135px}.bank-camera-status{font-size:11px;letter-spacing:.025em}}
@media(max-height:520px){.bank-camera-window{min-height:260px}.bank-camera-wrap{gap:5px;padding:6px 9px}.bank-camera-stage{min-height:120px}.bank-camera-privacy{display:none}.bank-camera-actions .os-btn{min-height:29px}.bank-identify{padding:4px 7px;margin:0;font-size:15px}.bank-camera-status{padding:5px 7px}}


/* Michael Klementz | 27.09.2026 08:08 Uhr – BNDx bleibt jetzt auch als schmale oder niedrige TechGrid-Wabe vollständig lesbar; Konsole, Commander-Panels, Datensatz und Status skalieren ohne abgeschnittene Inhalte. */
.bndx-stage{height:100%;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;background:#030807;color:#b3ffb5;font-family:Consolas,"Courier New",monospace}
.bndx-stage-head{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;padding:7px 10px;border-bottom:1px solid rgba(88,255,154,.32);background:rgba(4,30,21,.92);font-size:11px;letter-spacing:.055em}
.bndx-stage-head span,.bndx-stage-head strong{min-width:0;overflow-wrap:anywhere;word-break:normal}.bndx-stage-head strong{color:#e9fff0;text-align:right}
.bndx-code-stage .bndx-code{min-height:0;height:auto!important;overflow:auto!important;overscroll-behavior:contain}
.bndx-stage-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:8px 10px;border-top:1px solid rgba(88,255,154,.28);background:#06120d}
.bndx-stage-actions button{min-width:0;min-height:34px;padding:6px 10px;border:1px solid #53c986;background:#0b2418;color:#d9ffe7;font:700 11px/1.15 Consolas,"Courier New",monospace;letter-spacing:.045em;cursor:pointer}
.bndx-stage-actions button:hover,.bndx-stage-actions button:focus-visible{outline:1px solid #d9ffe7;outline-offset:1px;background:#123724}
.bndx-remote-head{position:sticky;top:0;z-index:6;margin:-4px -4px 4px;background:#061b63;border-color:#75dcff;color:#d9f8ff}
.bndx-remote-window .bndx-remote-shell{min-width:0!important;overflow:auto!important;overscroll-behavior:contain!important}
.bndx-nc-panels,.bndx-nc-pane,.bndx-record,.bndx-record-row{min-width:0!important}
.bndx-nc-pane>div,.bndx-record-row>*{min-width:0;overflow-wrap:anywhere;word-break:normal}
.bndx-record-row b{overflow:hidden;text-overflow:ellipsis}
.bndx-identity-deleted{padding:16px;box-sizing:border-box;overflow-wrap:anywhere;word-break:normal}
@media(max-width:520px){
  .bndx-stage-head{align-items:flex-start;flex-direction:column;gap:3px;padding:6px 8px}.bndx-stage-head strong{text-align:left}
  .bndx-stage-actions{grid-template-columns:1fr;padding:6px 8px}.bndx-stage-actions button{min-height:31px}
  .bndx-nc-menu{white-space:normal!important;overflow-wrap:anywhere!important}
  .bndx-nc-panels{grid-template-columns:1fr!important;height:auto!important;max-height:none!important;padding:3px!important}
  .bndx-nc-pane{min-height:100px}
  .bndx-record{width:100%!important;margin:5px 0 0!important;box-shadow:none!important}
  .bndx-record-row{grid-template-columns:minmax(72px,.42fr) minmax(0,1fr)!important;gap:6px!important;padding:4px 5px!important}
}
@media(max-width:340px){.bndx-record-row{grid-template-columns:1fr!important;gap:1px!important}.bndx-record-row b{white-space:normal}.bndx-record-title{font-size:11px!important;letter-spacing:.025em!important}}
@media(max-height:520px){.bndx-stage-head{padding-top:4px;padding-bottom:4px}.bndx-stage-actions{padding-top:4px;padding-bottom:4px}.bndx-code pre{padding:9px!important}.bndx-nc-panels{height:112px}}

/* Michael Klementz | 27.09.2026 – Pizza.Net bleibt auch als kleine Wabe ein vollständiger Browser: Chrome, Auswahl, Lieferdaten und Übertragung haben eigene sichere Reflow-/Scrollregeln. */
body.techgrid-fui-active .pizza-net-window{container-name:tg-pizza-window;container-type:size}
body.techgrid-fui-active .pizza-net-window .pizza-browser,body.techgrid-fui-active .pizza-net-window .pizza-browser *{box-sizing:border-box;min-width:0}
body.techgrid-fui-active .pizza-net-window .pizza-browser-row{grid-template-columns:repeat(3,minmax(72px,auto)) minmax(0,1fr)!important}
body.techgrid-fui-active .pizza-net-window .pizza-browser-row-bottom{grid-template-columns:repeat(3,minmax(72px,auto)) auto minmax(120px,1fr)!important}
body.techgrid-fui-active .pizza-net-window .pizza-nav-btn{min-height:30px;white-space:normal;overflow-wrap:break-word;touch-action:manipulation}
body.techgrid-fui-active .pizza-net-window .pizza-nav-btn:disabled{opacity:.38;cursor:default;filter:saturate(.35)}
body.techgrid-fui-active .pizza-net-window .pizza-nav-btn.is-active{color:#fff0bd!important;border-color:rgba(255,219,162,.62)!important;box-shadow:inset 0 0 14px rgba(215,128,104,.15),0 0 10px rgba(215,128,104,.14)!important}
body.techgrid-fui-active .pizza-net-window .pizza-address{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.techgrid-fui-active .pizza-net-window .pizza-sequence-page{overscroll-behavior:contain;overflow-y:auto!important;overflow-x:hidden!important;scrollbar-width:none}
body.techgrid-fui-active .pizza-net-window :is(.pizza-choice,.pizza-data-row,.pizza-address-prompt,.pizza-transmit-title,.pizza-transmit-status,.pizza-final-alert){overflow-wrap:anywhere;word-break:normal}
body.techgrid-fui-active .pizza-net-window .pizza-choice{min-height:27px;align-items:center}
body.techgrid-fui-active .pizza-net-window .pizza-choice input{flex:0 0 auto}
body.techgrid-fui-active .pizza-net-window .pizza-price-line{display:flex;flex-wrap:wrap;gap:5px;align-items:center}
body.techgrid-fui-active .pizza-net-window .pizza-send-order,body.techgrid-fui-active .pizza-net-window .pizza-film-done{min-height:34px;white-space:normal}
body.techgrid-fui-active .pizza-net-window .pizza-transmit-terminal{overflow:auto!important;max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere}
@container tg-pizza-window (max-width:700px){
 body.techgrid-fui-active .pizza-net-window .pizza-browser-row,body.techgrid-fui-active .pizza-net-window .pizza-browser-row-bottom{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 body.techgrid-fui-active .pizza-net-window .pizza-browser-row .pizza-url-label{grid-column:1/2}
 body.techgrid-fui-active .pizza-net-window .pizza-browser-row .pizza-address{grid-column:2/4}
 body.techgrid-fui-active .pizza-net-window .pizza-order-grid{grid-template-columns:1fr!important;height:auto!important}
 body.techgrid-fui-active .pizza-net-window .pizza-order-panel{height:auto!important;overflow:visible!important}
 body.techgrid-fui-active .pizza-net-window .pizza-menu-film{height:auto!important;min-height:100%;overflow:visible!important}
 body.techgrid-fui-active .pizza-net-window .pizza-ad-title{font-size:clamp(26px,8cqw,38px)!important}
}
@container tg-pizza-window (max-width:430px){
 body.techgrid-fui-active .pizza-net-window .pizza-browser-chrome{padding:3px!important}
 body.techgrid-fui-active .pizza-net-window .pizza-browser-row,body.techgrid-fui-active .pizza-net-window .pizza-browser-row-bottom{gap:3px!important}
 body.techgrid-fui-active .pizza-net-window .pizza-nav-btn{font-size:10px!important;padding:4px 3px!important;min-height:27px}
 body.techgrid-fui-active .pizza-net-window .pizza-url-label{display:none}
 body.techgrid-fui-active .pizza-net-window .pizza-browser-row-bottom .pizza-address{grid-column:1/-1!important}
 body.techgrid-fui-active .pizza-net-window .pizza-sequence-page{padding:7px 7px 12px!important}
 body.techgrid-fui-active .pizza-net-window .pizza-ad-head{padding:6px 8px!important;margin-bottom:6px!important}
 body.techgrid-fui-active .pizza-net-window .pizza-ad-tagline{white-space:normal!important;overflow-wrap:anywhere}
 body.techgrid-fui-active .pizza-net-window .pizza-order-panel h3{font-size:16px!important}
 body.techgrid-fui-active .pizza-net-window .pizza-choice{font-size:12px!important}
 body.techgrid-fui-active .pizza-net-window .pizza-address-bottom{display:grid!important;grid-template-columns:1fr!important;gap:6px!important}
 body.techgrid-fui-active .pizza-net-window .pizza-film-done{width:100%}
 body.techgrid-fui-active .pizza-net-window .pizza-data-row{grid-template-columns:64px minmax(0,1fr)!important}
}
@container tg-pizza-window (max-height:430px){
 body.techgrid-fui-active .pizza-net-window .pizza-ad-head{min-height:0!important;margin-bottom:5px!important;padding-block:4px!important}
 body.techgrid-fui-active .pizza-net-window .pizza-ad-tagline{display:none}
 body.techgrid-fui-active .pizza-net-window .pizza-sequence-page{padding-top:6px!important}
}

/* Michael Klementz | 27.09.2026 08:15 Uhr – Fremde und dynamische Apps bekommen einen stabilen TechGrid-Host: Ladezustand, volle Nutzfläche und keine iframe-Kanten, die beim Skalieren aus der Wabe laufen. */
body.techgrid-fui-active .tg-module-stage{position:relative!important;min-width:0!important;min-height:0!important;overflow:hidden!important;background:color-mix(in srgb,var(--tg-panel) 94%,#000 6%)!important}
body.techgrid-fui-active .tg-module-stage>.gate-app-frame,
body.techgrid-fui-active .tg-module-stage>.techgrid-module-frame{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;display:block!important;border:0!important;outline:0!important;background:transparent!important}
body.techgrid-fui-active .tg-module-state{position:absolute;z-index:3;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:.7em;max-width:min(78%,520px);padding:.72em 1em;border:1px solid color-mix(in srgb,var(--tg-accent) 58%,transparent);background:color-mix(in srgb,var(--tg-panel) 92%,#000 8%);box-shadow:0 0 18px color-mix(in srgb,var(--tg-accent) 16%,transparent);font:700 clamp(10px,1.05em,14px)/1.25 ui-monospace,Consolas,monospace;letter-spacing:.06em;text-align:center;overflow-wrap:anywhere;pointer-events:none}
body.techgrid-fui-active .tg-module-state[hidden]{display:none!important}
body.techgrid-fui-active .tg-module-state-dot{flex:0 0 .72em;width:.72em;height:.72em;border-radius:50%;background:var(--tg-accent);box-shadow:0 0 10px var(--tg-accent);animation:tgModulePulse 1s ease-in-out infinite alternate}
body.techgrid-fui-active .tg-module-state.is-error{border-color:#ff6b5e;color:#ffd5d1}
body.techgrid-fui-active .tg-module-state.is-error .tg-module-state-dot{background:#ff6b5e;box-shadow:0 0 10px #ff6b5e;animation:none}
@keyframes tgModulePulse{to{opacity:.35;transform:scale(.76)}}
@media(max-width:520px){body.techgrid-fui-active .tg-module-state{max-width:72%;padding:.58em .72em;letter-spacing:.025em}}
@media(prefers-reduced-motion:reduce){body.techgrid-fui-active .tg-module-state-dot{animation:none}}

/* Michael Klementz | 27.09.2026 08:24 Uhr – PRAETORIAN CONTROL bleibt vom großen Adminfenster bis zum schmalen Arbeitsfenster lesbar: Navigation, Banner und Arbeitsfläche fließen statt sich gegenseitig Platz wegzunehmen. */
body.techgrid-fui-active .praetorian-control-window{container-name:tg-prae-control;container-type:size}
body.techgrid-fui-active .praetorian-control-window :is(.prae-main,.prae-sidebar,.prae-content,.inner-pad,.table-frame,.inline-grid,.admin-form-row,.admin-actions){min-width:0;box-sizing:border-box}
body.techgrid-fui-active .praetorian-control-window .hero-banner{min-width:0;overflow:hidden}
body.techgrid-fui-active .praetorian-control-window .hero-center{min-width:0}
body.techgrid-fui-active .praetorian-control-window .hero-center h1,body.techgrid-fui-active .praetorian-control-window .hero-center .subline,body.techgrid-fui-active .praetorian-control-window .hero-right{overflow-wrap:anywhere;word-break:normal}
body.techgrid-fui-active .praetorian-control-window .prae-main{display:grid;grid-template-columns:minmax(148px,190px) minmax(0,1fr);height:100%;min-height:0;overflow:hidden}
body.techgrid-fui-active .praetorian-control-window .prae-sidebar{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:none}
body.techgrid-fui-active .praetorian-control-window .prae-sidebar::-webkit-scrollbar{display:none}
body.techgrid-fui-active .praetorian-control-window .nav-tile{min-width:0;white-space:normal;overflow-wrap:anywhere;word-break:normal;touch-action:manipulation}
body.techgrid-fui-active .praetorian-control-window .prae-content{min-height:0!important;overflow:auto!important;overscroll-behavior:contain!important;scrollbar-width:none}
body.techgrid-fui-active .praetorian-control-window .prae-content::-webkit-scrollbar{display:none}
body.techgrid-fui-active .praetorian-control-window .inner-pad{width:100%;max-width:100%;overflow:visible}
body.techgrid-fui-active .praetorian-control-window :is(label,.os-small,.os-msg,.empty-note,.section-caption,legend,summary,td,th){overflow-wrap:anywhere;word-break:normal;hyphens:none}
body.techgrid-fui-active .praetorian-control-window :is(input,select,textarea,button,.os-btn){max-width:100%;min-width:0}
body.techgrid-fui-active .praetorian-control-window .table-scroll{max-width:100%;overflow:auto!important;overscroll-behavior:contain}
body.techgrid-fui-active .praetorian-control-window .admin-actions{display:flex;flex-wrap:wrap;align-items:center;gap:7px}
body.techgrid-fui-active .praetorian-control-window .admin-actions>.os-btn{flex:0 1 auto;white-space:normal}
@container tg-prae-control (max-width:720px){
 body.techgrid-fui-active .praetorian-control-window .hero-banner{padding-block:6px!important;min-height:0!important}
 body.techgrid-fui-active .praetorian-control-window .hero-left{font-size:clamp(28px,9cqw,48px)!important}
 body.techgrid-fui-active .praetorian-control-window .hero-center h1{font-size:clamp(18px,6cqw,30px)!important}
 body.techgrid-fui-active .praetorian-control-window .hero-right{display:none!important}
 body.techgrid-fui-active .praetorian-control-window .prae-main{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}
 body.techgrid-fui-active .praetorian-control-window .prae-sidebar{display:flex!important;gap:4px;padding:5px!important;overflow-x:auto!important;overflow-y:hidden!important;border-right:0!important;border-bottom:1px solid color-mix(in srgb,var(--tg-accent) 30%,transparent)!important;scroll-snap-type:x proximity}
 body.techgrid-fui-active .praetorian-control-window .nav-tile{flex:0 0 auto!important;width:auto!important;max-width:170px;margin:0!important;padding:6px 8px!important;scroll-snap-align:start;display:flex!important;align-items:center;gap:5px}
 body.techgrid-fui-active .praetorian-control-window .nav-ico{flex:0 0 auto}
 body.techgrid-fui-active .praetorian-control-window .inner-pad{padding:8px!important}
}
@container tg-prae-control (max-width:470px){
 body.techgrid-fui-active .praetorian-control-window .hero-banner{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;gap:7px!important}
 body.techgrid-fui-active .praetorian-control-window .hero-center .subline{font-size:9px!important;letter-spacing:.02em!important}
 body.techgrid-fui-active .praetorian-control-window .nav-tile{max-width:138px;padding:5px 6px!important;font-size:10px!important}
 body.techgrid-fui-active .praetorian-control-window .inner-pad{padding:6px!important}
 body.techgrid-fui-active .praetorian-control-window .table-frame{padding:6px!important}
 body.techgrid-fui-active .praetorian-control-window .section-caption{font-size:11px!important;padding:5px 6px!important}
 body.techgrid-fui-active .praetorian-control-window .admin-actions{display:grid!important;grid-template-columns:1fr!important}
 body.techgrid-fui-active .praetorian-control-window .admin-actions>.os-btn{width:auto}
}
@container tg-prae-control (max-height:470px){
 body.techgrid-fui-active .praetorian-control-window .hero-banner{padding-block:3px!important}
 body.techgrid-fui-active .praetorian-control-window .hero-center .subline{display:none!important}
 body.techgrid-fui-active .praetorian-control-window .prae-sidebar{padding-block:3px!important}
 body.techgrid-fui-active .praetorian-control-window .nav-tile{padding-block:4px!important}
}

/* Michael Klementz | 27.09.2026 08:08 Uhr – SECURITY ALERT ist jetzt eine echte responsive TechGrid-Ereigniskarte statt eines roten Textblocks; keine Detailzeile darf beim Skalieren oder Verkleinern kollidieren. */
body.techgrid-fui-active #praetorianSecurityAlert .security-alert-content{display:flex;flex-direction:column;gap:clamp(8px,1.5vw,14px);min-width:0;overflow:auto!important;overscroll-behavior:contain;scrollbar-gutter:stable;padding:clamp(12px,2vw,20px)!important}
body.techgrid-fui-active #praetorianSecurityAlert .security-alert-head{display:flex;align-items:center;gap:12px;min-width:0;padding-bottom:10px;border-bottom:1px solid color-mix(in srgb,var(--tg-danger,#ff5454) 42%,transparent)}
body.techgrid-fui-active #praetorianSecurityAlert .security-alert-beacon{flex:0 0 14px;width:14px;height:14px;border-radius:50%;background:#ff4b4b;box-shadow:0 0 0 4px rgba(255,75,75,.12),0 0 16px rgba(255,75,75,.8);animation:securityAlertBeacon 1.4s ease-in-out infinite}
@keyframes securityAlertBeacon{50%{opacity:.48;box-shadow:0 0 0 8px rgba(255,75,75,.05),0 0 7px rgba(255,75,75,.45)}}
body.techgrid-fui-active #praetorianSecurityAlert .security-alert-kicker{font:700 10px/1.2 "Courier New",monospace;letter-spacing:.16em;color:color-mix(in srgb,var(--tg-danger,#ff6a6a) 80%,var(--tg-ink));overflow-wrap:anywhere}
body.techgrid-fui-active #praetorianSecurityAlert .security-alert-title{margin-top:3px;font:800 clamp(16px,2.4vw,22px)/1.1 Arial,sans-serif;letter-spacing:.035em;color:var(--tg-ink);overflow-wrap:anywhere;word-break:normal}
body.techgrid-fui-active #praetorianSecurityAlert .security-alert-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7px;margin:0;min-width:0}
body.techgrid-fui-active #praetorianSecurityAlert .security-alert-grid>div{display:grid;grid-template-columns:minmax(58px,.36fr) minmax(0,1fr);gap:8px;align-items:start;min-width:0;padding:8px 9px;border:1px solid color-mix(in srgb,var(--tg-line) 42%,transparent);background:color-mix(in srgb,var(--tg-panel) 78%,transparent)}
body.techgrid-fui-active #praetorianSecurityAlert .security-alert-grid .security-alert-wide{grid-column:1/-1}
body.techgrid-fui-active #praetorianSecurityAlert .security-alert-grid dt{margin:0;font:700 10px/1.35 "Courier New",monospace;letter-spacing:.08em;text-transform:uppercase;color:var(--tg-muted)}
body.techgrid-fui-active #praetorianSecurityAlert .security-alert-grid dd{margin:0;min-width:0;font:700 12px/1.35 "Courier New",monospace;color:var(--tg-ink);overflow-wrap:anywhere;word-break:normal;user-select:text}
body.techgrid-fui-active #praetorianSecurityAlert .security-alert-notice{margin:0!important;display:grid;gap:3px;text-align:left!important;text-transform:uppercase;letter-spacing:.07em;min-width:0}
body.techgrid-fui-active #praetorianSecurityAlert .security-alert-notice strong,body.techgrid-fui-active #praetorianSecurityAlert .security-alert-notice span{overflow-wrap:anywhere;word-break:normal}
body.techgrid-fui-active #praetorianSecurityAlert .security-alert-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:stretch;margin-top:auto;min-width:0}
body.techgrid-fui-active #praetorianSecurityAlert .security-alert-actions form{margin:0;display:flex;min-width:0}
body.techgrid-fui-active #praetorianSecurityAlert .security-alert-actions .os-btn{display:inline-flex;align-items:center;justify-content:center;min-height:34px;text-decoration:none;white-space:normal;text-align:center;overflow-wrap:anywhere}
body.techgrid-fui-active #praetorianSecurityAlert[data-tg-size="compact"] .security-alert-grid,body.techgrid-fui-active #praetorianSecurityAlert[data-tg-size="micro"] .security-alert-grid{grid-template-columns:minmax(0,1fr)}
body.techgrid-fui-active #praetorianSecurityAlert[data-tg-size="compact"] .security-alert-grid .security-alert-wide,body.techgrid-fui-active #praetorianSecurityAlert[data-tg-size="micro"] .security-alert-grid .security-alert-wide{grid-column:auto}
body.techgrid-fui-active #praetorianSecurityAlert[data-tg-size="micro"] .security-alert-actions{display:grid;grid-template-columns:minmax(0,1fr)}
body.techgrid-fui-active #praetorianSecurityAlert[data-tg-size="micro"] .security-alert-actions form,body.techgrid-fui-active #praetorianSecurityAlert[data-tg-size="micro"] .security-alert-actions .os-btn{width:auto}
body.techgrid-fui-active #praetorianSecurityAlert[data-tg-short="1"] .security-alert-content{gap:7px;padding:10px!important}
body.techgrid-fui-active #praetorianSecurityAlert[data-tg-short="1"] .security-alert-head{padding-bottom:6px}
body.techgrid-fui-active #praetorianSecurityAlert[data-tg-short="1"] .security-alert-grid>div{padding:6px 7px}
@media (prefers-reduced-motion:reduce){body.techgrid-fui-active #praetorianSecurityAlert .security-alert-beacon{animation:none}}

/* Michael Klementz | 27.09.2026 – Schritt 53: User-Erstellung und PIN-Konflikt bleiben auch in kleinen TechGrid-Waben komplett lesbar und bedienbar. */
body.techgrid-fui-active .praetorian-control-window .create-details{overflow:visible}
body.techgrid-fui-active .praetorian-control-window .create-details>summary{display:flex;align-items:center;min-height:38px;padding:8px 10px;cursor:pointer;font-weight:800;letter-spacing:.055em;overflow-wrap:break-word;word-break:normal}
body.techgrid-fui-active .praetorian-control-window .create-details[open]>summary{border-bottom:1px solid color-mix(in srgb,var(--tg-line) 32%,transparent)}
body.techgrid-fui-active .praetorian-control-window .admin-form-row :is(input,select,button){max-width:100%;box-sizing:border-box}
body.techgrid-fui-active .praetorian-control-window .admin-form-row input[type="password"]{font-family:ui-monospace,"Cascadia Mono",Consolas,monospace;letter-spacing:.08em}
body.techgrid-fui-active .praetorian-control-window .admin-avatar-preview{width:42px;height:42px;object-fit:cover;border-radius:50%;flex:0 0 42px}
body.techgrid-fui-active .praetorian-control-window .admin-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
body.techgrid-fui-active .praetorian-control-window .admin-actions .os-small{flex:1 1 180px;min-width:0;overflow-wrap:break-word}
body.techgrid-fui-active .praetorian-control-window .pin-overview-cell{max-width:100%;min-width:0}
body.techgrid-fui-active .praetorian-control-window .pin-overview-value{min-width:0;max-width:160px;overflow:hidden;text-overflow:ellipsis}

body.techgrid-fui-active .duplicate-pin-alert.tg-hex-window .alert-content{
  min-height:0!important;overflow:auto!important;padding:clamp(12px,2.5vw,22px)!important;
  background:linear-gradient(145deg,color-mix(in srgb,#8d1818 82%,var(--tg-panel)),color-mix(in srgb,#351313 84%,var(--tg-card)))!important;
  color:#fff!important;
}
body.techgrid-fui-active .duplicate-pin-alert .duplicate-alert-heading{display:flex;align-items:center;gap:9px;font-size:clamp(16px,3vw,23px);line-height:1.15;letter-spacing:.055em;overflow-wrap:break-word;word-break:normal}
body.techgrid-fui-active .duplicate-pin-alert .duplicate-alert-heading::before{content:"!";display:grid;place-items:center;width:28px;height:28px;flex:0 0 28px;border:1px solid rgba(255,225,160,.8);clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);color:#ffe5a4;text-shadow:0 0 8px rgba(255,199,85,.7)}
body.techgrid-fui-active .duplicate-pin-alert .duplicate-alert-message{margin:12px 0 16px;padding:12px;border:1px solid rgba(255,225,225,.28);background:rgba(0,0,0,.18);line-height:1.5;overflow-wrap:break-word;word-break:normal}
body.techgrid-fui-active .duplicate-pin-alert .duplicate-alert-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px}
body.techgrid-fui-active .duplicate-pin-alert .duplicate-alert-actions .os-btn{min-width:120px}
@media(max-width:520px){
 body.techgrid-fui-active .praetorian-control-window .create-details>summary{font-size:12px;letter-spacing:.035em}
 body.techgrid-fui-active .praetorian-control-window .admin-actions>.os-btn{flex:1 1 140px}
 body.techgrid-fui-active .duplicate-pin-alert .duplicate-alert-actions .os-btn{width:auto}
}
@media(max-height:560px){
 body.techgrid-fui-active .duplicate-pin-alert.tg-hex-window .alert-content{padding:10px!important}
 body.techgrid-fui-active .duplicate-pin-alert .duplicate-alert-message{margin:8px 0;padding:9px}
}


/* Michael Klementz | 27.09.2026 08:08 Uhr – Objekt 19: PRAETORIAN-Handbuch bleibt bei Admin-Textmengen, Suche und kleinen Waben vollständig lesbar. */
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-toolbar-copy{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;column-gap:8px!important}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-toolbar-copy>strong,
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-toolbar-copy>span{grid-column:1;min-width:0}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-realm-badge{grid-column:2;grid-row:1 / span 2;align-self:center;padding:4px 7px;border:1px solid color-mix(in srgb,var(--tg-line) 58%,transparent);background:color-mix(in srgb,var(--tg-line) 10%,transparent);color:var(--tg-line-2);font:700 9px/1.1 "Courier New",monospace;letter-spacing:.08em;white-space:nowrap}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] [data-handbook-entry]:focus{outline:1px solid var(--tg-line)!important;outline-offset:2px!important}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-index button[hidden]{display:none!important}
@container tg-hex-window (max-width:520px){
 body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-toolbar-copy{grid-template-columns:minmax(0,1fr)!important}
 body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-realm-badge{grid-column:1;grid-row:auto;justify-self:start;margin-top:2px}
 body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-cover{align-items:flex-start!important}
 body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-entry-head>span{max-width:100%;white-space:normal!important}
}
@container tg-hex-window (max-height:430px){
 body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-toolbar{padding-block:5px!important}
 body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-toolbar-copy>span{display:none!important}
 body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-cover{padding-block:8px!important;margin-bottom:8px!important}
}

/* Michael Klementz | 27.09.2026 08:18 Uhr – Objekt 20: Dynamische PRAETORIAN-Privatchats ordnen Nachrichten, Eingabe und Status auch in sehr kleinen Waben ohne Überlagerungen. */
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="chat"].admin-chat-window{
  min-width:300px!important;
  container-type:size;
}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="chat"].admin-chat-window>.chat-body{
  padding:clamp(7px,1.5cqw,12px)!important;
  gap:clamp(6px,1.2cqw,10px)!important;
}
body.techgrid-fui-active .admin-chat-window .chat-message-list{
  border:1px solid color-mix(in srgb,var(--tg-edge) 72%,transparent)!important;
  background:color-mix(in srgb,var(--tg-card) 84%,transparent)!important;
  scrollbar-width:none;
}
body.techgrid-fui-active .admin-chat-window .chat-message{
  grid-template-columns:minmax(118px,auto) minmax(0,1fr)!important;
  gap:8px!important;
  padding:7px 9px!important;
  align-items:start!important;
  border-bottom:1px solid color-mix(in srgb,var(--tg-edge) 38%,transparent)!important;
}
body.techgrid-fui-active .admin-chat-window .chat-message.mine{background:color-mix(in srgb,var(--tg-line) 8%,transparent)!important}
body.techgrid-fui-active .admin-chat-window .chat-message-head{
  color:var(--tg-line-2)!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  font-size:.82em!important;
}
body.techgrid-fui-active .admin-chat-window .chat-message-text{
  min-width:0!important;
  color:var(--tg-ink)!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  hyphens:none!important;
}
body.techgrid-fui-active .admin-chat-window .chat-compose{
  margin:0!important;
  grid-template-columns:minmax(0,1fr) minmax(78px,auto)!important;
  gap:8px!important;
  align-items:stretch!important;
}
body.techgrid-fui-active .admin-chat-window .chat-input{
  width:100%!important;min-width:0!important;min-height:48px!important;max-height:130px!important;
  resize:vertical!important;box-sizing:border-box!important;
}
body.techgrid-fui-active .admin-chat-window .chat-compose .os-btn{min-width:78px!important;height:auto!important;margin:0!important}
body.techgrid-fui-active .admin-chat-window .chat-meta{
  margin:0!important;min-width:0!important;white-space:normal!important;align-items:center!important;
  border-top:1px solid color-mix(in srgb,var(--tg-edge) 45%,transparent)!important;padding-top:5px!important;
}
body.techgrid-fui-active .admin-chat-window .chat-channel-label{min-width:0!important;overflow-wrap:anywhere!important}
body.techgrid-fui-active .admin-chat-window .chat-state-pill{flex:0 0 auto!important;color:var(--tg-ok,#7ee79c)!important}
body.techgrid-fui-active .admin-chat-window .chat-message-list.has-unseen-tail{box-shadow:inset 0 -3px 0 color-mix(in srgb,var(--tg-line-2) 72%,transparent)!important}
@container (max-width:430px){
  body.techgrid-fui-active .admin-chat-window .chat-message{grid-template-columns:1fr!important;gap:3px!important}
  body.techgrid-fui-active .admin-chat-window .chat-compose{grid-template-columns:1fr!important}
  body.techgrid-fui-active .admin-chat-window .chat-compose .os-btn{width:auto!important;min-height:30px!important}
  body.techgrid-fui-active .admin-chat-window .chat-meta{gap:5px!important;flex-wrap:wrap!important}
}
@container (max-height:360px){
  body.techgrid-fui-active .admin-chat-window .chat-input{min-height:38px!important;max-height:64px!important}
  body.techgrid-fui-active .admin-chat-window .chat-channel-label{display:none!important}
  body.techgrid-fui-active .admin-chat-window>.chat-body{gap:5px!important;padding-top:5px!important;padding-bottom:5px!important}
}

/* MKL | 02.10.2026 – Schritt 258: Dynamische PRAETORIAN-Module bleiben realm-sicher geladen; Tabellen, Designauswahl und Auditkarten sind auch in schmalen internen Fenstern lesbar und kontraststark. */
body.techgrid-fui-active .techgrid-module-host{container-name:tg-prae-module-host;container-type:size}
body.techgrid-fui-active .techgrid-module-host .tg-module-stage{isolation:isolate}
body.techgrid-fui-active .techgrid-module-host .techgrid-module-frame{color-scheme:dark;overscroll-behavior:contain}
@container tg-prae-module-host (max-width:520px){
 body.techgrid-fui-active .techgrid-module-host .tg-module-state{max-width:68%;font-size:10px!important;letter-spacing:.025em;padding:.5em .62em}
}
@container tg-prae-module-host (max-height:390px){
 body.techgrid-fui-active .techgrid-module-host .tg-module-state{top:54%;padding:.42em .58em}
}
body.techgrid-module #praetorianControlWindow .prae-content{overscroll-behavior:contain!important;scrollbar-width:none!important}
body.techgrid-module #praetorianControlWindow .prae-content::-webkit-scrollbar{display:none!important}
body.techgrid-module #praetorianControlWindow .inner-pad{min-width:0!important;max-width:100%!important;overflow:visible!important}
body.techgrid-module #praetorianControlWindow :is(.table-frame,.info-frame,.design-admin-card,.portal-item,.section-frame,.chat-card,.inline-grid,.admin-form-row,.admin-actions){min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
body.techgrid-module #praetorianControlWindow :is(label,.os-small,.os-msg,.empty-note,.section-caption,legend,summary,p,li,td,th){overflow-wrap:anywhere!important;word-break:normal!important;hyphens:none!important}
body.techgrid-module #praetorianControlWindow :is(input,select,textarea,button,.os-btn){min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
body.techgrid-module #praetorianControlWindow .table-scroll{max-width:100%!important;overflow:auto!important;overscroll-behavior:contain!important}
body.techgrid-module #praetorianControlWindow .design-access-choice{background:color-mix(in srgb,var(--tg-panel-2) 90%,var(--tg-card))!important;color:var(--tg-ink)!important;border-color:color-mix(in srgb,var(--tg-line) 42%,var(--tg-edge))!important}
body.techgrid-module #praetorianControlWindow .design-access-choice>span:last-child{color:var(--tg-ink)!important;text-shadow:none!important}
body.techgrid-module[data-prae-view="log"] #praetorianControlWindow .audit-log-summary{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:6px!important;margin:0 0 9px!important}
body.techgrid-module[data-prae-view="log"] #praetorianControlWindow .audit-log-summary>span{display:grid!important;grid-template-columns:1fr auto!important;gap:5px!important;align-items:center!important;min-width:0!important;padding:5px 7px!important;border:1px solid color-mix(in srgb,var(--tg-line) 38%,var(--tg-edge))!important;background:color-mix(in srgb,var(--tg-panel-2) 88%,transparent)!important}
body.techgrid-module[data-prae-view="log"] #praetorianControlWindow .audit-log-summary small{min-width:0!important;font-size:8px!important;line-height:1.2!important;letter-spacing:.07em!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important}
body.techgrid-module[data-prae-view="log"] #praetorianControlWindow .audit-log-summary b{font:800 12px/1.15 ui-monospace,"Cascadia Mono",Consolas,monospace!important;color:var(--tg-line-2)!important;font-variant-numeric:tabular-nums!important}
body.techgrid-module[data-prae-view="log"] #praetorianControlWindow .audit-log-scroll{overflow:auto!important;max-width:100%!important;scrollbar-gutter:stable both-edges!important}
body.techgrid-module[data-prae-view="log"] #praetorianControlWindow .audit-log-table{width:100%!important;min-width:820px!important;table-layout:auto!important}
body.techgrid-module[data-prae-view="log"] #praetorianControlWindow .audit-log-table th,
body.techgrid-module[data-prae-view="log"] #praetorianControlWindow .audit-log-table td:not(.audit-detail-cell){white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important}
body.techgrid-module[data-prae-view="log"] #praetorianControlWindow .audit-log-table .audit-detail-cell{min-width:260px!important;white-space:normal!important;overflow-wrap:break-word!important;word-break:normal!important}
body.techgrid-module #praetorianControlWindow .admin-actions{display:flex!important;flex-wrap:wrap!important;gap:7px!important;align-items:center!important}
@media(max-width:560px){
 body.techgrid-module #praetorianControlWindow .inner-pad{padding:8px!important}
 body.techgrid-module #praetorianControlWindow .inline-grid.admin-form-row{grid-template-columns:1fr!important}
 body.techgrid-module #praetorianControlWindow .admin-actions{display:grid!important;grid-template-columns:1fr!important}
 body.techgrid-module #praetorianControlWindow .admin-actions>.os-btn,body.techgrid-module #praetorianControlWindow .admin-actions>button{width:auto!important}
 body.techgrid-module[data-prae-view="log"] #praetorianControlWindow .audit-log-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.techgrid-module[data-prae-view="log"] #praetorianControlWindow .audit-log-scroll{overflow:visible!important;max-height:none!important;scrollbar-gutter:auto!important}
 body.techgrid-module[data-prae-view="log"] #praetorianControlWindow .audit-log-table{display:block!important;min-width:0!important;width:100%!important;border:0!important;background:transparent!important}
 body.techgrid-module[data-prae-view="log"] #praetorianControlWindow .audit-log-table thead{display:none!important}
 body.techgrid-module[data-prae-view="log"] #praetorianControlWindow .audit-log-table tbody{display:grid!important;gap:8px!important;width:100%!important}
 body.techgrid-module[data-prae-view="log"] #praetorianControlWindow .audit-log-table tr{display:grid!important;grid-template-columns:1fr!important;width:100%!important;min-width:0!important;padding:7px 8px!important;border:1px solid color-mix(in srgb,var(--tg-line) 32%,var(--tg-edge))!important;background:color-mix(in srgb,var(--tg-panel-2) 86%,transparent)!important}
 body.techgrid-module[data-prae-view="log"] #praetorianControlWindow .audit-log-table td{display:grid!important;grid-template-columns:minmax(78px,34%) minmax(0,1fr)!important;gap:7px!important;min-width:0!important;padding:5px 6px!important;border:0!important;border-bottom:1px solid color-mix(in srgb,var(--tg-edge) 22%,transparent)!important;white-space:normal!important;overflow-wrap:break-word!important;word-break:normal!important}
 body.techgrid-module[data-prae-view="log"] #praetorianControlWindow .audit-log-table td::before{content:attr(data-label)!important;font-size:8px!important;line-height:1.2!important;letter-spacing:.07em!important;font-weight:800!important;opacity:.7!important;white-space:normal!important}
 body.techgrid-module[data-prae-view="log"] #praetorianControlWindow .audit-log-table td{grid-column:1/-1!important}
 body.techgrid-module[data-prae-view="log"] #praetorianControlWindow .audit-log-table td:last-child{border-bottom:0!important}
 body.techgrid-module[data-prae-view="log"] #praetorianControlWindow .audit-log-table .audit-detail-cell{min-width:0!important}
}
@media(max-width:380px){
 body.techgrid-module #praetorianControlWindow .inner-pad{padding:5px!important}
 body.techgrid-module #praetorianControlWindow .section-caption{font-size:10px!important;letter-spacing:.07em!important}
 body.techgrid-module #praetorianControlWindow :is(.table-frame,.info-frame,.design-admin-card,.portal-item,.section-frame,.chat-card){padding:6px!important}
}
@media(max-height:380px){
 body.techgrid-module #praetorianControlWindow .inner-pad{padding-block:5px!important}
 body.techgrid-module #praetorianControlWindow .section-caption{position:static!important;backdrop-filter:none!important}
}

/* Michael Klementz | 27.09.2026 08:18 Uhr – Benutzerverwaltung: klare Datensatzkarten, kompakte Übersicht und saubere Kleinstfenster ohne gequetschte Felder. */
body.techgrid-fui-active .praetorian-control-window .user-overview-table{min-width:760px}
body.techgrid-fui-active .praetorian-control-window .user-overview-table th{white-space:nowrap}
body.techgrid-fui-active .praetorian-control-window .user-overview-table td{vertical-align:middle;overflow-wrap:anywhere}
body.techgrid-fui-active .praetorian-control-window .user-count-chip{display:inline-flex;min-width:28px;height:28px;align-items:center;justify-content:center;border:1px solid color-mix(in srgb,var(--tg-accent,#7cf) 52%,transparent);clip-path:polygon(18% 0,82% 0,100% 50%,82% 100%,18% 100%,0 50%);font-weight:800;font-variant-numeric:tabular-nums}
body.techgrid-fui-active .praetorian-control-window .user-editor-card{position:relative;margin:10px 0!important;padding:12px!important;border:1px solid color-mix(in srgb,var(--tg-accent,#7cf) 30%,transparent)!important;background:color-mix(in srgb,var(--tg-panel,#111827) 88%,transparent)!important}
body.techgrid-fui-active .praetorian-control-window .user-editor-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 0 9px!important;border-bottom:1px solid color-mix(in srgb,var(--tg-accent,#7cf) 24%,transparent)}
body.techgrid-fui-active .praetorian-control-window .user-editor-head>div{display:flex;align-items:baseline;gap:9px;min-width:0}
body.techgrid-fui-active .praetorian-control-window .user-editor-head strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.techgrid-fui-active .praetorian-control-window .user-editor-head code{max-width:42%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.82em;opacity:.78}
body.techgrid-fui-active .praetorian-control-window .user-editor-kicker{font-size:.7em;letter-spacing:.14em;opacity:.62;white-space:nowrap}
body.techgrid-fui-active .praetorian-control-window .user-editor-card .check-group{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:7px!important}
body.techgrid-fui-active .praetorian-control-window .user-editor-card .check-group>label{min-height:38px;display:flex!important;align-items:center!important;gap:8px!important;padding:7px 9px!important}
body.techgrid-fui-active .praetorian-control-window .user-editor-card .admin-actions{padding-top:3px}
body.techgrid-fui-active .praetorian-control-window .user-editor-card .admin-actions .os-btn{min-height:38px}
@container tg-prae-control (max-width:700px){
 body.techgrid-fui-active .praetorian-control-window .user-overview-scroll{overflow:visible!important}
 body.techgrid-fui-active .praetorian-control-window .user-overview-table{min-width:0!important;width:100%!important;border-collapse:separate!important;border-spacing:0 8px!important}
 body.techgrid-fui-active .praetorian-control-window .user-overview-table thead{display:none!important}
 body.techgrid-fui-active .praetorian-control-window .user-overview-table tbody,.praetorian-control-window .user-overview-table tr,.praetorian-control-window .user-overview-table td{display:block!important;width:100%!important;box-sizing:border-box!important}
 body.techgrid-fui-active .praetorian-control-window .user-overview-table tr{padding:8px 10px!important;border:1px solid color-mix(in srgb,var(--tg-accent,#7cf) 28%,transparent)!important}
 body.techgrid-fui-active .praetorian-control-window .user-overview-table td{display:grid!important;grid-template-columns:minmax(76px,.42fr) minmax(0,1fr)!important;gap:8px!important;padding:5px 0!important;border:0!important}
 body.techgrid-fui-active .praetorian-control-window .user-overview-table td::before{content:attr(data-label);font-size:.72em;letter-spacing:.09em;font-weight:800;opacity:.62;text-transform:uppercase}
 body.techgrid-fui-active .praetorian-control-window .user-editor-head{align-items:flex-start;flex-direction:column;gap:4px}
 body.techgrid-fui-active .praetorian-control-window .user-editor-head code{max-width:100%}
 body.techgrid-fui-active .praetorian-control-window .user-editor-card .check-group{grid-template-columns:1fr}
}
@container tg-prae-control (max-width:430px){
 body.techgrid-fui-active .praetorian-control-window .user-editor-card{padding:9px!important}
 body.techgrid-fui-active .praetorian-control-window .user-editor-card .admin-actions{display:grid!important;grid-template-columns:1fr!important}
 body.techgrid-fui-active .praetorian-control-window .user-editor-card .admin-actions>*{width:auto!important;max-width:100%!important}
 body.techgrid-fui-active .praetorian-control-window .admin-avatar-picker{grid-template-columns:36px minmax(0,1fr)!important}
}

/* Michael Klementz | 27.09.2026 – Funktionsverwaltung bleibt auch in kleinen TechGrid-Waben lesbar und bedienbar. */
body.techgrid-fui-active .function-admin-card>summary{grid-template-columns:auto minmax(150px,1.35fr) auto auto minmax(140px,1fr)!important;align-items:center;gap:8px 10px}
body.techgrid-fui-active .function-admin-card .function-state,body.techgrid-fui-active .function-admin-card .function-user-count{white-space:nowrap;font:800 9px/1.2 Consolas,monospace;letter-spacing:.08em}
body.techgrid-fui-active .function-admin-card .function-state{padding:4px 7px;border:1px solid currentColor;clip-path:polygon(7px 0,100% 0,100% calc(100% - 7px),calc(100% - 7px) 100%,0 100%,0 7px)}
body.techgrid-fui-active .function-admin-card .function-state.is-active{color:#69f5a5}
body.techgrid-fui-active .function-admin-card .function-state.is-disabled{color:#ff8b78}
body.techgrid-fui-active .function-admin-card .admin-summary-url{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.techgrid-fui-active .function-admin-card .admin-reorder-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}
body.techgrid-fui-active .function-admin-card .admin-order-label{margin-right:auto;min-width:0;overflow-wrap:anywhere}
body.techgrid-fui-active .function-admin-card .reorder-btn{min-width:42px;min-height:36px}
body.techgrid-fui-active .function-admin-card .check-group,body.techgrid-fui-active .function-create-card .check-group{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr));gap:7px!important}
body.techgrid-fui-active .function-admin-card .check-group>label,body.techgrid-fui-active .function-create-card .check-group>label{min-width:0;overflow-wrap:break-word}
body.techgrid-fui-active .function-admin-card input[readonly]{opacity:.82;cursor:not-allowed}
body.techgrid-fui-active .function-admin-card .admin-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
body.techgrid-fui-active .function-admin-card .admin-actions .os-small{flex:1 1 220px;min-width:0}
body.techgrid-fui-active .prae-content.tg-narrow .function-admin-card>summary{grid-template-columns:auto minmax(0,1fr) auto!important}
body.techgrid-fui-active .prae-content.tg-narrow .function-admin-card>summary .function-user-count{grid-column:3}
body.techgrid-fui-active .prae-content.tg-narrow .function-admin-card>summary .admin-summary-url{grid-column:2/-1;width:100%;white-space:normal;overflow-wrap:anywhere}
body.techgrid-fui-active .prae-content.tg-narrow .function-admin-card .admin-form-row>div,body.techgrid-fui-active .prae-content.tg-narrow .function-create-card .admin-form-row>div{grid-column:1/-1!important}
body.techgrid-fui-active .prae-content.tg-micro .function-admin-card>summary{grid-template-columns:auto minmax(0,1fr)!important}
body.techgrid-fui-active .prae-content.tg-micro .function-admin-card>summary .function-state,body.techgrid-fui-active .prae-content.tg-micro .function-admin-card>summary .function-user-count,body.techgrid-fui-active .prae-content.tg-micro .function-admin-card>summary .admin-summary-url{grid-column:2;width:100%;white-space:normal}
body.techgrid-fui-active .prae-content.tg-micro .function-admin-card .admin-actions .os-btn,body.techgrid-fui-active .prae-content.tg-micro .function-create-card .os-btn{width:auto}
body.techgrid-fui-active .tg-hex-window.tg-window-low .function-admin-card .admin-form-row{padding-block:7px!important}

/* Michael Klementz | 27.09.2026 09:09 Uhr – FILE UPLOAD bleibt jetzt auch in schmalen Waben ein sauber lesbarer Dokumentmanager statt zusammengequetschter Formularspalten. */
body.techgrid-fui-active .file-create-card,body.techgrid-fui-active .file-admin-card{min-width:0;max-width:100%;overflow:hidden}
body.techgrid-fui-active .file-admin-card>summary{display:grid;grid-template-columns:minmax(150px,1.25fr) auto auto minmax(170px,1fr);align-items:center;gap:7px 12px;min-width:0}
body.techgrid-fui-active .file-admin-card>summary>*{min-width:0}
body.techgrid-fui-active .file-admin-card .admin-summary-title{overflow-wrap:break-word;word-break:normal}
body.techgrid-fui-active .file-admin-card .file-state,body.techgrid-fui-active .file-admin-card .file-user-count{white-space:nowrap;font-size:.88em;letter-spacing:.04em}
body.techgrid-fui-active .file-admin-card .file-name-summary{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.techgrid-fui-active .file-create-card input[type="file"]{width:100%;max-width:100%;min-width:0;overflow:hidden}
body.techgrid-fui-active .file-create-card input[type="file"]::file-selector-button{font:inherit;max-width:48%;margin-right:8px;padding:7px 9px;border:1px solid currentColor;border-radius:3px;background:rgba(255,255,255,.06);color:inherit;cursor:pointer}
body.techgrid-fui-active .file-admin-card input:disabled{opacity:.82;cursor:not-allowed;text-overflow:ellipsis}
body.techgrid-fui-active .file-admin-card .admin-reorder-bar{display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-width:0}
body.techgrid-fui-active .file-admin-card .admin-order-label{min-width:0;margin-right:auto;overflow-wrap:break-word}
body.techgrid-fui-active .file-admin-card .reorder-btn{flex:0 0 auto;min-width:40px}
body.techgrid-fui-active .file-admin-card .admin-actions>a.os-btn{display:inline-flex;align-items:center;justify-content:center;text-align:center}
body.techgrid-fui-active .prae-content.tg-narrow .file-admin-card>summary{grid-template-columns:minmax(0,1fr) auto auto}
body.techgrid-fui-active .prae-content.tg-narrow .file-admin-card>summary .file-name-summary{grid-column:1/-1;width:100%;white-space:normal;overflow-wrap:anywhere}
body.techgrid-fui-active .prae-content.tg-narrow :is(.file-admin-card,.file-create-card) .admin-form-row>div{grid-column:1/-1!important}
body.techgrid-fui-active .prae-content.tg-micro .file-admin-card>summary{grid-template-columns:minmax(0,1fr) auto}
body.techgrid-fui-active .prae-content.tg-micro .file-admin-card>summary .file-state,body.techgrid-fui-active .prae-content.tg-micro .file-admin-card>summary .file-user-count,body.techgrid-fui-active .prae-content.tg-micro .file-admin-card>summary .file-name-summary{grid-column:1/-1;width:100%;white-space:normal;overflow-wrap:anywhere}
body.techgrid-fui-active .prae-content.tg-micro :is(.file-admin-card,.file-create-card) .admin-actions{display:grid!important;grid-template-columns:1fr!important}
body.techgrid-fui-active .prae-content.tg-micro :is(.file-admin-card,.file-create-card) .admin-actions>*{width:auto!important;max-width:100%!important}
body.techgrid-fui-active .tg-hex-window.tg-window-low :is(.file-admin-card,.file-create-card) .admin-form-row{padding-block:7px!important}
body.techgrid-fui-active .tg-hex-window.tg-window-low .file-admin-card .admin-reorder-bar{padding-block:5px!important}

/* Michael Klementz | 27.09.2026 09:14 Uhr – Linkverwaltung: lange Ziele, Freigaben und Aktionen bleiben auch in schmalen PRAETORIAN-Waben sauber lesbar und bedienbar. */
body.techgrid-fui-active .link-management-frame{min-width:0;overflow:hidden}
body.techgrid-fui-active .link-admin-card>summary{display:grid!important;grid-template-columns:minmax(120px,1.2fr) auto auto minmax(150px,1.6fr);gap:8px 12px;align-items:center;min-width:0}
body.techgrid-fui-active .link-admin-card>summary>*{min-width:0}
body.techgrid-fui-active .link-admin-card .admin-summary-title{overflow-wrap:break-word;word-break:normal}
body.techgrid-fui-active .link-admin-card .admin-summary-url{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;direction:ltr;unicode-bidi:plaintext}
body.techgrid-fui-active .link-admin-card :is(input[name="url"],input[name="title"],input[name="description"]){width:100%;min-width:0}
body.techgrid-fui-active .link-admin-card input[name="url"]{font-family:ui-monospace,"Cascadia Mono",Consolas,monospace;font-size:.92em}
body.techgrid-fui-active :is(.link-admin-card,.link-create-card) .check-group{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:6px 8px;min-width:0}
body.techgrid-fui-active :is(.link-admin-card,.link-create-card) .check-group>label{min-width:0;overflow-wrap:break-word}
body.techgrid-fui-active :is(.link-admin-card,.link-create-card) .admin-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
body.techgrid-fui-active .prae-content.tg-narrow .link-admin-card>summary{grid-template-columns:minmax(0,1fr) auto auto}
body.techgrid-fui-active .prae-content.tg-narrow .link-admin-card>summary .admin-summary-url{grid-column:1/-1;width:100%;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
body.techgrid-fui-active .prae-content.tg-narrow :is(.link-admin-card,.link-create-card) .admin-form-row>div{grid-column:1/-1!important}
body.techgrid-fui-active .prae-content.tg-micro .link-admin-card>summary{grid-template-columns:minmax(0,1fr);gap:5px}
body.techgrid-fui-active .prae-content.tg-micro .link-admin-card>summary :is(.link-state,.link-user-count,.admin-summary-url){grid-column:1;width:100%;white-space:normal;overflow-wrap:anywhere}
body.techgrid-fui-active .prae-content.tg-micro :is(.link-admin-card,.link-create-card) .check-group{grid-template-columns:1fr}
body.techgrid-fui-active .prae-content.tg-micro :is(.link-admin-card,.link-create-card) .admin-actions>*{width:auto;justify-content:center;text-align:center;box-sizing:border-box}
body.techgrid-fui-active .tg-hex-window.tg-window-low :is(.link-admin-card,.link-create-card) .admin-form-row{padding-block:7px!important}

/* Michael Klementz | 27.09.2026 09:09 Uhr – Die Chatverwaltung bleibt auch in kleinen PRAETORIAN-Waben lesbar und zeigt Kanal- und NEW-Status ohne gequetschte Texte. */
.chat-admin-summary{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 10px}
.chat-admin-summary>span{display:inline-flex;align-items:center;gap:5px;min-height:30px;padding:5px 9px;border:1px solid color-mix(in srgb,var(--accent,#8e232d) 48%,transparent);background:color-mix(in srgb,var(--panel,#d8d8d8) 88%,transparent);font-size:10px;letter-spacing:.08em;white-space:nowrap}
.chat-admin-summary b{font-size:13px;color:var(--accent,#8e232d)}
.chat-user-grid{grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));align-items:stretch}
.chat-user-button{grid-template-columns:minmax(0,1fr) auto!important;gap:8px 12px!important;min-width:0;min-height:66px!important;padding:9px 10px!important;overflow:hidden}
.chat-user-main{display:flex;min-width:0;flex-direction:column;align-items:flex-start;gap:3px}
.chat-user-main strong{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;line-height:1.25}
.chat-user-id{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px!important;opacity:.82}
.chat-user-state{grid-column:2!important;grid-row:1!important;align-self:center;display:flex;min-width:54px;min-height:42px;padding:5px 7px;flex-direction:column;align-items:center;justify-content:center;border:1px solid currentColor;line-height:1;text-align:center}
.chat-user-state b{font-size:11px!important;white-space:nowrap}.chat-user-state small{margin-top:4px;font-size:8px;letter-spacing:.08em;white-space:nowrap}
.chat-user-button.has-unread .chat-user-state{box-shadow:inset 0 0 0 1px currentColor,0 0 10px color-mix(in srgb,currentColor 30%,transparent)}
.admin-chat-notify{max-width:100%;overflow:hidden}.admin-chat-notify-buttons{min-width:0;flex:1}.admin-chat-alert-btn{max-width:100%;white-space:normal!important;overflow-wrap:anywhere;text-align:left!important}
.praetorian-control-window.tg-size-compact .chat-user-grid,.praetorian-control-window.tg-size-micro .chat-user-grid{grid-template-columns:1fr}
.praetorian-control-window.tg-size-micro .chat-admin-summary{display:grid;grid-template-columns:1fr 1fr}.praetorian-control-window.tg-size-micro .chat-admin-summary>span{justify-content:center;min-width:0}
.praetorian-control-window.tg-size-micro .chat-user-button{min-height:58px!important;padding:7px 8px!important}.praetorian-control-window.tg-size-micro .chat-user-state{min-width:48px;min-height:36px}
.praetorian-control-window.tg-height-low .chat-user-button{min-height:54px!important;padding-block:6px!important}.praetorian-control-window.tg-height-low .chat-admin-summary{margin-bottom:6px}

/* Michael Klementz | 27.09.2026 09:24 Uhr – Easter-Egg-Verwaltung: Trigger, Userfreigaben und Status bleiben jetzt von großer bis winziger Wabe eindeutig lesbar und direkt bedienbar. */
body.techgrid-fui-active .easter-management-frame{min-width:0;overflow:hidden}
body.techgrid-fui-active .easter-admin-intro{margin-bottom:9px!important;max-width:78ch;line-height:1.45}
body.techgrid-fui-active .easter-admin-summary{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:0 0 12px}
body.techgrid-fui-active .easter-admin-summary>span{display:inline-flex;align-items:center;gap:5px;min-height:30px;padding:5px 9px;border:1px solid color-mix(in srgb,var(--tg-accent,#7cf) 38%,transparent);background:color-mix(in srgb,var(--tg-panel,#111827) 86%,transparent);font-size:10px;letter-spacing:.08em;white-space:nowrap}
body.techgrid-fui-active .easter-admin-summary b{font-size:13px;color:var(--tg-accent,#7cf);font-variant-numeric:tabular-nums}
body.techgrid-fui-active .easter-admin-grid{grid-template-columns:repeat(auto-fit,minmax(min(290px,100%),1fr))!important;gap:10px!important;align-items:start}
body.techgrid-fui-active .easter-admin-card{min-width:0!important;max-width:100%!important;overflow:hidden!important;padding:11px!important;box-sizing:border-box!important}
body.techgrid-fui-active .easter-admin-head{min-width:0;align-items:flex-start!important}
body.techgrid-fui-active .easter-admin-head strong{min-width:0;overflow-wrap:break-word;word-break:normal;line-height:1.25}
body.techgrid-fui-active .easter-admin-head .access-status{flex:0 0 auto;white-space:nowrap}
body.techgrid-fui-active .easter-trigger{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:7px;margin-top:8px!important;min-width:0}
body.techgrid-fui-active .easter-trigger>span{font-size:9px;letter-spacing:.1em;opacity:.65;white-space:nowrap}
body.techgrid-fui-active .easter-trigger>b{min-width:0;font:inherit;font-weight:800;overflow-wrap:anywhere;word-break:normal}
body.techgrid-fui-active .easter-description{margin:7px 0 10px!important;line-height:1.4;overflow-wrap:break-word!important}
body.techgrid-fui-active .easter-user-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 6px;padding-top:7px;border-top:1px solid color-mix(in srgb,var(--tg-accent,#7cf) 22%,transparent);font-size:9px;letter-spacing:.08em}
body.techgrid-fui-active .easter-user-head strong{font-size:10px;font-variant-numeric:tabular-nums;white-space:nowrap}
body.techgrid-fui-active .easter-admin-card .check-group{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(150px,100%),1fr));gap:6px!important;min-width:0;margin-top:0!important}
body.techgrid-fui-active .easter-admin-card .check-group>label{display:flex!important;align-items:center!important;gap:7px!important;min-width:0!important;min-height:36px;padding:6px 8px!important;box-sizing:border-box!important}
body.techgrid-fui-active .easter-admin-card .check-group>label>span{min-width:0;overflow-wrap:break-word;word-break:normal}
body.techgrid-fui-active .easter-admin-card .check-group small{opacity:.7;font-size:.82em;overflow-wrap:anywhere}
body.techgrid-fui-active .easter-card-actions{display:flex;justify-content:flex-end;gap:6px;margin-top:8px}
body.techgrid-fui-active .easter-card-actions .os-btn{min-width:62px;min-height:32px}
body.techgrid-fui-active .easter-save-bar{position:sticky;bottom:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;padding:9px;border:1px solid color-mix(in srgb,var(--tg-accent,#7cf) 34%,transparent);background:color-mix(in srgb,var(--tg-panel,#111827) 94%,transparent);backdrop-filter:blur(8px)}
body.techgrid-fui-active .prae-content.tg-narrow .easter-admin-grid,body.techgrid-fui-active .prae-content.tg-micro .easter-admin-grid{grid-template-columns:1fr!important}
body.techgrid-fui-active .prae-content.tg-micro .easter-admin-summary{display:grid;grid-template-columns:1fr 1fr}
body.techgrid-fui-active .prae-content.tg-micro .easter-admin-summary>span{justify-content:center;min-width:0}
body.techgrid-fui-active .prae-content.tg-micro .easter-admin-summary>span:last-child{grid-column:1/-1}
body.techgrid-fui-active .prae-content.tg-micro .easter-admin-head{flex-direction:column;gap:5px}
body.techgrid-fui-active .prae-content.tg-micro .easter-trigger{grid-template-columns:1fr;gap:2px}
body.techgrid-fui-active .prae-content.tg-micro .easter-admin-card .check-group{grid-template-columns:1fr!important}
body.techgrid-fui-active .prae-content.tg-micro .easter-card-actions{display:grid;grid-template-columns:1fr 1fr}
body.techgrid-fui-active .prae-content.tg-micro .easter-card-actions .os-btn{width:auto}
body.techgrid-fui-active .prae-content.tg-micro .easter-save-bar{align-items:stretch;flex-direction:column}
body.techgrid-fui-active .prae-content.tg-micro .easter-save-bar .os-btn{width:auto}
body.techgrid-fui-active .tg-hex-window.tg-window-low .easter-admin-card{padding-block:7px!important}
body.techgrid-fui-active .tg-hex-window.tg-window-low .easter-description{margin-block:4px 6px!important}

/* Michael Klementz | 27.09.2026 – Gatekeeper-Konfiguration bleibt auch in kleinen TechGrid-Waben vollständig lesbar und bedienbar. */
.gatekeeper-config-panel,.gatekeeper-mail-panel,.gatekeeper-access-panel{min-width:0;max-width:100%;overflow:hidden}
.gatekeeper-config-panel form,.gatekeeper-mail-panel form,.gatekeeper-access-panel form{min-width:0;max-width:100%}
.gatekeeper-text-group,.gatekeeper-text-group .inline-grid,.retro-mail-template-row,.retro-mail-template-row .inline-grid{min-width:0;max-width:100%}
.gatekeeper-config-panel .os-input,.gatekeeper-config-panel .os-textarea,.gatekeeper-mail-panel .os-input,.gatekeeper-mail-panel .os-textarea{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
.gatekeeper-config-panel .os-textarea,.gatekeeper-mail-panel .os-textarea{resize:vertical;min-height:4.4em;max-height:18em}
.gatekeeper-access-panel .access-matrix{min-width:0;max-width:100%;gap:10px}
.gatekeeper-access-panel .access-row{grid-template-columns:minmax(150px,.9fr) minmax(150px,.62fr) minmax(220px,1.5fr);align-items:start;min-width:0;max-width:100%;overflow:hidden}
.gatekeeper-access-panel .access-point-info,.gatekeeper-access-panel .access-point-state,.gatekeeper-access-panel .access-point-users{min-width:0;max-width:100%}
.gatekeeper-access-panel .access-point-info strong,.gatekeeper-access-panel .access-point-description{overflow-wrap:anywhere;word-break:normal;hyphens:none}
.gatekeeper-access-panel .access-status{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.gatekeeper-access-panel .access-point-users{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(190px,100%),1fr));gap:6px}
.gatekeeper-access-panel .access-point-users label{display:flex;align-items:flex-start;gap:7px;min-width:0;max-width:100%;padding:7px 8px;box-sizing:border-box;overflow-wrap:anywhere;word-break:normal}
.gatekeeper-access-panel .access-point-users input{flex:0 0 auto;margin-top:2px}
.gatekeeper-access-panel .access-save-actions{margin-top:12px;position:sticky;bottom:0;z-index:2;padding:8px 0 2px;background:linear-gradient(to bottom,transparent 0%,rgba(213,220,232,.96) 35%)}
@container tgwin (max-width: 760px){
  .gatekeeper-access-panel .access-row{grid-template-columns:1fr 1fr}
  .gatekeeper-access-panel .access-point-users{grid-column:1/-1}
  .gatekeeper-mail-panel .retro-mail-template-row .c3,.gatekeeper-mail-panel .retro-mail-template-row .c9{grid-column:span 12}
}
@container tgwin (max-width: 520px){
  .gatekeeper-access-panel .access-row{grid-template-columns:1fr}
  .gatekeeper-access-panel .access-point-users{grid-column:auto;grid-template-columns:1fr}
  .gatekeeper-config-panel .inline-grid>[class^="c"],.gatekeeper-config-panel .inline-grid>[class*=" c"],.gatekeeper-mail-panel .inline-grid>[class^="c"],.gatekeeper-mail-panel .inline-grid>[class*=" c"]{grid-column:1/-1}
  .gatekeeper-config-panel .admin-actions,.gatekeeper-access-panel .admin-actions{display:grid;grid-template-columns:1fr}
  .gatekeeper-config-panel .admin-actions .os-btn,.gatekeeper-access-panel .admin-actions .os-btn{width:auto;white-space:normal}
}
@container tgwin (max-height: 520px){
  .gatekeeper-config-panel,.gatekeeper-mail-panel,.gatekeeper-access-panel{padding-top:7px;padding-bottom:7px}
  .gatekeeper-text-group{margin-bottom:8px;padding:8px}
  .gatekeeper-access-panel .access-row{padding:7px;gap:7px}
  .gatekeeper-mail-panel .retro-mail-template-row{padding:7px;margin-bottom:7px}
}

/* Michael Klementz | 27.09.2026 09:15 Uhr – Designfreigaben bleiben auch in schmalen PRAETORIAN-Waben als echte Vorschaukarten lesbar. */
.design-admin-card{min-width:0;overflow:hidden;align-content:start}
.design-admin-user{min-width:0;flex-wrap:wrap;padding-bottom:7px;border-bottom:1px solid color-mix(in srgb,currentColor 20%,transparent)}
.design-admin-user strong,.design-admin-user span{min-width:0;overflow-wrap:anywhere}
.design-admin-options{min-width:0;grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr))}
.design-access-choice{min-width:0;grid-template-columns:auto minmax(44px,58px) minmax(0,1fr);cursor:pointer}
.design-access-choice>span:last-child{min-width:0;overflow-wrap:break-word;word-break:normal;hyphens:none}
.design-preview{width:100%;max-width:58px;aspect-ratio:29/17;height:auto;min-height:30px}
.design-admin-card>label{display:grid;gap:6px;min-width:0}
.design-admin-card>label>.os-input{width:100%;max-width:100%;min-width:0}
.design-admin-card .hex-select-shell{width:100%;max-width:100%;min-width:0}
.design-admin-card .hex-select-trigger{width:100%;min-width:0;text-align:left}
.design-admin-card .hex-select-list{max-width:min(100%,520px)}
.design-access-save{position:sticky;bottom:0;z-index:3;margin-top:14px!important;padding:10px 0 2px;background:linear-gradient(180deg,transparent,color-mix(in srgb,var(--tg-panel,#07151c) 94%,transparent) 28%,var(--tg-panel,#07151c) 100%)}
.tg-hex-window.tg-profile-control.tg-window-compact .design-admin-grid{grid-template-columns:1fr}
.tg-hex-window.tg-profile-control.tg-window-compact .design-admin-options{grid-template-columns:repeat(2,minmax(0,1fr))}
.tg-hex-window.tg-profile-control.tg-window-micro .design-admin-options{grid-template-columns:1fr}
.tg-hex-window.tg-profile-control.tg-window-micro .design-access-choice{grid-template-columns:auto 46px minmax(0,1fr);gap:6px;padding:6px}
.tg-hex-window.tg-profile-control.tg-window-micro .design-access-save .os-btn{width:auto}
.tg-hex-window.tg-profile-control.tg-window-low .design-admin-card{gap:5px;padding:8px}
.tg-hex-window.tg-profile-control.tg-window-low .design-admin-options{gap:5px}

/* Michael Klementz | 27.09.2026 09:20 Uhr – ZIP-Sicherung zeigt Umfang, Ablauf und sensible Daten auch in kleinen Waben klar und ohne gequetschte Dateinamen. */
body.techgrid-fui-active .backup-admin-panel{min-width:0;max-width:100%;overflow:hidden}
body.techgrid-fui-active .backup-intro{margin-bottom:10px;line-height:1.45;overflow-wrap:break-word}
body.techgrid-fui-active .backup-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:0 0 11px;min-width:0}
body.techgrid-fui-active .backup-summary>span{display:grid;gap:3px;min-width:0;padding:8px 9px;border:1px solid color-mix(in srgb,var(--tg-accent,#7cf) 34%,transparent);background:color-mix(in srgb,var(--tg-panel,#101923) 90%,transparent)}
body.techgrid-fui-active .backup-summary small{font-size:8px;letter-spacing:.11em;opacity:.66;white-space:nowrap}
body.techgrid-fui-active .backup-summary b{min-width:0;font:800 12px/1.25 ui-monospace,"Cascadia Mono",Consolas,monospace;overflow-wrap:anywhere}
body.techgrid-fui-active .backup-preview-error{margin-bottom:10px;overflow-wrap:anywhere}
body.techgrid-fui-active .backup-scope,.backup-behaviour{min-width:0;max-width:100%;overflow:hidden}
body.techgrid-fui-active .backup-scope-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;min-width:0}
body.techgrid-fui-active .backup-scope-block{min-width:0}
body.techgrid-fui-active .backup-scope-block>label{display:block;margin-bottom:6px}
body.techgrid-fui-active .backup-code-list{display:flex;flex-wrap:wrap;gap:5px;min-width:0;max-height:150px;overflow:auto;padding-right:3px}
body.techgrid-fui-active .backup-code-list code{display:inline-block;max-width:100%;padding:4px 6px;border:1px solid color-mix(in srgb,currentColor 24%,transparent);background:color-mix(in srgb,var(--tg-panel,#101923) 82%,transparent);font-size:.88em;overflow-wrap:anywhere;word-break:normal}
body.techgrid-fui-active .backup-behaviour-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;min-width:0}
body.techgrid-fui-active .backup-behaviour-grid>div{display:grid;gap:4px;min-width:0;padding:8px;border:1px solid color-mix(in srgb,var(--tg-accent,#7cf) 24%,transparent)}
body.techgrid-fui-active .backup-behaviour-grid strong{font-size:9px;letter-spacing:.08em;overflow-wrap:break-word}
body.techgrid-fui-active .backup-behaviour-grid span{font-size:10px;line-height:1.35;overflow-wrap:break-word}
body.techgrid-fui-active .backup-engine-note{margin-top:8px;overflow-wrap:break-word}
body.techgrid-fui-active .backup-sensitive-warning{margin-top:10px;overflow-wrap:break-word}
body.techgrid-fui-active .backup-download-form{margin-top:11px;min-width:0}
body.techgrid-fui-active .backup-download-actions{position:sticky;bottom:0;z-index:2;display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:8px 0 2px;background:linear-gradient(180deg,transparent,color-mix(in srgb,var(--tg-panel,#101923) 95%,transparent) 32%)}
body.techgrid-fui-active .backup-download-actions .os-small{flex:1 1 220px;min-width:0;overflow-wrap:break-word}
body.techgrid-fui-active .prae-content.tg-narrow .backup-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
body.techgrid-fui-active .prae-content.tg-narrow .backup-scope-grid{grid-template-columns:1fr}
body.techgrid-fui-active .prae-content.tg-narrow .backup-behaviour-grid{grid-template-columns:1fr}
body.techgrid-fui-active .prae-content.tg-micro .backup-summary{grid-template-columns:1fr 1fr}
body.techgrid-fui-active .prae-content.tg-micro .backup-download-actions{display:grid;grid-template-columns:1fr}
body.techgrid-fui-active .prae-content.tg-micro .backup-download-actions>*{width:auto;max-width:100%;box-sizing:border-box}
body.techgrid-fui-active .tg-hex-window.tg-window-low .backup-summary{gap:5px;margin-bottom:7px}
body.techgrid-fui-active .tg-hex-window.tg-window-low .backup-summary>span{padding:5px 7px}
body.techgrid-fui-active .tg-hex-window.tg-window-low .backup-behaviour-grid>div{padding:5px}
body.techgrid-fui-active .tg-hex-window.tg-window-low .backup-code-list{max-height:92px}

/* Michael Klementz | 27.09.2026 09:09 Uhr – Audit / Security Log: große Fenster als robuste Tabelle, kleine Waben als lesbare Ereigniskarten statt gequetschter Spalten. */
body.techgrid-fui-active .audit-admin-view{min-width:0;overflow:hidden}
body.techgrid-fui-active .audit-log-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:0 0 10px;min-width:0}
body.techgrid-fui-active .audit-log-summary>span{display:grid;gap:3px;min-width:0;padding:7px 9px;border:1px solid color-mix(in srgb,var(--tg-accent,#7cf) 34%,transparent);background:color-mix(in srgb,var(--tg-panel,#101923) 90%,transparent)}
body.techgrid-fui-active .audit-log-summary small{font-size:8px;letter-spacing:.1em;opacity:.68;white-space:normal;overflow-wrap:break-word}
body.techgrid-fui-active .audit-log-summary b{font:800 13px/1.2 ui-monospace,"Cascadia Mono",Consolas,monospace;color:var(--tg-accent,#7cf);font-variant-numeric:tabular-nums}
body.techgrid-fui-active .audit-log-explainer{margin-bottom:10px!important;max-width:100%;overflow-wrap:break-word;word-break:normal}
body.techgrid-fui-active .audit-log-scroll{max-height:min(55vh,620px);overflow:auto!important;overscroll-behavior:contain;scrollbar-gutter:stable both-edges}
body.techgrid-fui-active .audit-log-table{width:100%;min-width:720px;table-layout:auto}
body.techgrid-fui-active .audit-log-table th,body.techgrid-fui-active .audit-log-table td{vertical-align:top;white-space:normal;overflow-wrap:anywhere;word-break:normal}
body.techgrid-fui-active .audit-log-table td:first-child{white-space:nowrap;font-variant-numeric:tabular-nums}
body.techgrid-fui-active .audit-log-table td:last-child{font-family:ui-monospace,"Cascadia Mono",Consolas,monospace}
body.techgrid-fui-active .audit-action-badge{display:inline-flex;max-width:100%;padding:2px 5px;border:1px solid color-mix(in srgb,var(--tg-accent,#7cf) 32%,transparent);background:color-mix(in srgb,var(--tg-panel,#101923) 82%,transparent);overflow-wrap:anywhere}
body.techgrid-fui-active .audit-event-warn .audit-action-badge{border-color:rgba(255,99,71,.72);color:#ffb2a4;background:rgba(120,24,20,.22)}
body.techgrid-fui-active .audit-empty-note{min-height:72px;display:flex;align-items:center;justify-content:center;text-align:center}
body.techgrid-fui-active .prae-content.tg-narrow .audit-log-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
body.techgrid-fui-active .prae-content.tg-micro .audit-log-scroll{max-height:none;overflow:auto!important;border:0;background:transparent;scrollbar-gutter:auto}
body.techgrid-fui-active .prae-content.tg-micro .audit-log-table{display:block;min-width:0;width:100%;border:0;background:transparent}
body.techgrid-fui-active .prae-content.tg-micro .audit-log-table thead{display:none}
body.techgrid-fui-active .prae-content.tg-micro .audit-log-table tbody{display:grid;gap:8px;width:100%}
body.techgrid-fui-active .prae-content.tg-micro .audit-log-table tr{display:grid;grid-template-columns:1fr 1fr;gap:0;width:100%;min-width:0;border:1px solid color-mix(in srgb,var(--tg-accent,#7cf) 32%,transparent);background:color-mix(in srgb,var(--tg-panel,#101923) 90%,transparent)}
body.techgrid-fui-active .prae-content.tg-micro .audit-log-table td{display:grid;grid-template-columns:minmax(74px,34%) minmax(0,1fr);gap:7px;min-width:0;padding:5px 7px;border:0;border-bottom:1px solid color-mix(in srgb,var(--tg-accent,#7cf) 14%,transparent);white-space:normal!important;overflow-wrap:anywhere}
body.techgrid-fui-active .prae-content.tg-micro .audit-log-table td::before{content:attr(data-label);font-size:8px;letter-spacing:.08em;opacity:.62;white-space:normal}
body.techgrid-fui-active .prae-content.tg-micro .audit-log-table td:nth-child(4),body.techgrid-fui-active .prae-content.tg-micro .audit-log-table td:nth-child(5),body.techgrid-fui-active .prae-content.tg-micro .audit-log-table td:nth-child(6){grid-column:1/-1}
body.techgrid-fui-active .prae-content.tg-micro .audit-log-table td:last-child{border-bottom:0}
body.techgrid-fui-active .prae-content.tg-micro .audit-event-warn{border-color:rgba(255,99,71,.62)}
body.techgrid-fui-active .tg-hex-window.tg-window-low .audit-log-summary{gap:5px;margin-bottom:6px}
body.techgrid-fui-active .tg-hex-window.tg-window-low .audit-log-summary>span{padding:4px 6px}
body.techgrid-fui-active .tg-hex-window.tg-window-low .audit-log-explainer{margin-bottom:6px!important;font-size:9px}
@media(max-width:360px){body.techgrid-fui-active .prae-content.tg-micro .audit-log-summary{grid-template-columns:1fr 1fr}body.techgrid-fui-active .prae-content.tg-micro .audit-log-table tr{grid-template-columns:1fr}body.techgrid-fui-active .prae-content.tg-micro .audit-log-table td{grid-column:1!important}}

/* Michael Klementz | 27.09.2026 09:27 Uhr – Adminzugang bleibt auch in kleinen PRAETORIAN-Waben vollständig lesbar; Passwortfelder bekommen eigene sichere Sichtschalter. */
body.techgrid-fui-active .admin-credentials-panel{min-width:0;max-width:100%;overflow:hidden}
body.techgrid-fui-active .admin-credentials-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:0 0 10px;min-width:0}
body.techgrid-fui-active .admin-credentials-summary>span{display:grid;gap:3px;min-width:0;padding:7px 9px;border:1px solid color-mix(in srgb,var(--tg-accent,#7cf) 32%,transparent);background:color-mix(in srgb,var(--tg-panel,#101923) 90%,transparent)}
body.techgrid-fui-active .admin-credentials-summary small{font-size:8px;letter-spacing:.1em;opacity:.65;white-space:normal}
body.techgrid-fui-active .admin-credentials-summary b{font:800 10px/1.3 ui-monospace,"Cascadia Mono",Consolas,monospace;overflow-wrap:break-word;word-break:normal}
body.techgrid-fui-active .admin-credentials-note{margin-bottom:10px!important;line-height:1.42;overflow-wrap:break-word}
body.techgrid-fui-active .admin-credentials-form{min-width:0}
body.techgrid-fui-active .admin-credential-field{min-width:0}
body.techgrid-fui-active .admin-credential-field>label{display:block;min-width:0;margin-bottom:5px;overflow-wrap:break-word}
body.techgrid-fui-active .admin-current-username:disabled{opacity:.82;cursor:not-allowed;background:color-mix(in srgb,var(--tg-panel,#101923) 82%,#777 18%)}
body.techgrid-fui-active .field-optional{font-size:.82em;opacity:.65;white-space:normal}
body.techgrid-fui-active .password-field-shell{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px;align-items:stretch;min-width:0}
body.techgrid-fui-active .password-field-shell>.os-input{min-width:0;width:100%}
body.techgrid-fui-active .password-reveal-button{min-width:76px;max-width:100%;padding:0 8px;border:1px solid color-mix(in srgb,var(--tg-accent,#7cf) 48%,transparent);background:color-mix(in srgb,var(--tg-panel,#101923) 88%,transparent);color:inherit;font:700 8px/1 ui-monospace,"Cascadia Mono",Consolas,monospace;letter-spacing:.06em;cursor:pointer}
body.techgrid-fui-active .password-reveal-button:hover,body.techgrid-fui-active .password-reveal-button:focus-visible{outline:1px solid var(--tg-accent,#7cf);outline-offset:1px;background:color-mix(in srgb,var(--tg-accent,#7cf) 14%,var(--tg-panel,#101923))}
body.techgrid-fui-active .password-reveal-button.is-visible{border-color:var(--tg-accent,#7cf);box-shadow:inset 0 0 10px color-mix(in srgb,var(--tg-accent,#7cf) 12%,transparent)}
body.techgrid-fui-active .admin-credentials-actions{display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap;min-width:0}
body.techgrid-fui-active .admin-credentials-actions>.os-small{flex:1 1 210px;min-width:0;overflow-wrap:break-word}
body.techgrid-fui-active .prae-content.tg-narrow .admin-credentials-summary{grid-template-columns:1fr 1fr}
body.techgrid-fui-active .prae-content.tg-narrow .admin-credentials-summary>span:last-child{grid-column:1/-1}
body.techgrid-fui-active .prae-content.tg-narrow .admin-credentials-form>[class^="c"],body.techgrid-fui-active .prae-content.tg-narrow .admin-credentials-form>[class*=" c"]{grid-column:1/-1!important}
body.techgrid-fui-active .prae-content.tg-micro .admin-credentials-summary{grid-template-columns:1fr}
body.techgrid-fui-active .prae-content.tg-micro .admin-credentials-summary>span:last-child{grid-column:auto}
body.techgrid-fui-active .prae-content.tg-micro .password-field-shell{grid-template-columns:1fr}
body.techgrid-fui-active .prae-content.tg-micro .password-reveal-button{min-height:28px;width:auto}
body.techgrid-fui-active .prae-content.tg-micro .admin-credentials-actions{display:grid;grid-template-columns:1fr}
body.techgrid-fui-active .prae-content.tg-micro .admin-credentials-actions>*{width:auto;max-width:100%;box-sizing:border-box}
body.techgrid-fui-active .tg-hex-window.tg-window-low .admin-credentials-summary{gap:5px;margin-bottom:6px}
body.techgrid-fui-active .tg-hex-window.tg-window-low .admin-credentials-summary>span{padding:4px 6px}
body.techgrid-fui-active .tg-hex-window.tg-window-low .admin-credentials-note{margin-bottom:6px!important;font-size:9px}


/* Michael Klementz | 27.09.2026 09:18 Uhr – Gemeinsamer Chat: echte Wabenbreiten, stabiler Verlauf und sichtbarer Hinweis auf neue Meldungen. */
body.os-body .netchat-window.tg-hex-window .netchat-body,
body.os-body .netchat-window.tg-hex-window .netchat-stage{min-width:0!important;min-height:0!important;overflow:hidden!important}
body.os-body .netchat-window .netchat-frame{position:relative!important;min-width:0!important;min-height:0!important}
body.os-body .netchat-window .netchat-messages{min-width:0!important;min-height:0!important;overscroll-behavior:contain!important;scrollbar-gutter:stable!important}
body.os-body .netchat-window .netchat-row,body.os-body .netchat-window .netchat-usercell,body.os-body .netchat-window .netchat-bubble{min-width:0!important}
body.os-body .netchat-window .netchat-text,body.os-body .netchat-window .netchat-userlabel,body.os-body .netchat-window .netchat-presence-label{overflow-wrap:break-word!important;word-break:normal!important;hyphens:none!important}
body.os-body .netchat-window .netchat-input{min-width:0!important;max-width:100%!important;box-sizing:border-box!important;resize:vertical!important;max-height:132px!important}
body.os-body .netchat-window .netchat-unseen{display:none;position:absolute;right:18px;bottom:16px;z-index:3;padding:6px 10px;border:1px solid currentColor;border-radius:999px;background:rgba(8,15,26,.92);color:var(--tg-accent,#79e7ff);font:700 10px/1.1 "Courier New",monospace;letter-spacing:.05em;cursor:pointer;box-shadow:0 0 12px rgba(0,0,0,.35)}
body.os-body .netchat-window.netchat-has-unseen .netchat-unseen{display:block}
body.os-body .netchat-window .netchat-footer span{min-width:0;overflow-wrap:break-word}
body.os-body .netchat-window.tg-window-compact .netchat-toolbar,body.os-body .netchat-window.tg-window-micro .netchat-toolbar{grid-template-columns:1fr!important;gap:5px!important}
body.os-body .netchat-window.tg-window-compact .netchat-presence,body.os-body .netchat-window.tg-window-micro .netchat-presence{justify-content:flex-start!important;flex-wrap:wrap!important}
body.os-body .netchat-window.tg-window-compact .netchat-row{grid-template-columns:minmax(96px,30%) minmax(0,1fr)!important}
body.os-body .netchat-window.tg-window-micro .netchat-row{grid-template-columns:1fr!important;gap:2px!important}
body.os-body .netchat-window.tg-window-micro .netchat-usercell{grid-template-columns:minmax(0,1fr) 34px!important;border-right:0!important;border-bottom:1px solid #75648d!important}
body.os-body .netchat-window.tg-window-micro .netchat-userlabel{text-align:left!important;font-size:12px!important}
body.os-body .netchat-window.tg-window-micro .netchat-avatarbox{width:34px!important}
body.os-body .netchat-window.tg-window-micro .netchat-avatarbox img{width:30px!important;height:30px!important}
body.os-body .netchat-window.tg-window-micro .netchat-bubble{padding:5px 4px!important}
body.os-body .netchat-window.tg-window-micro .netchat-compose{grid-template-columns:1fr!important}
body.os-body .netchat-window.tg-window-micro .netchat-send{width:100%!important;height:36px!important;border-radius:8px!important}
body.os-body .netchat-window.tg-window-low .netchat-header-strip{display:none!important}
body.os-body .netchat-window.tg-window-low .netchat-toolbar{padding-block:4px!important;min-height:38px!important}
body.os-body .netchat-window.tg-window-low .netchat-logo{font-size:19px!important}
body.os-body .netchat-window.tg-window-low .netchat-compose{padding-block:5px!important}
body.os-body .netchat-window.tg-window-low .netchat-input{height:40px!important;min-height:40px!important}
body.os-body .netchat-window.tg-window-low .netchat-footer{padding-block:2px!important}

/* Michael Klementz | 27.09.2026 09:15 Uhr – Access-Sequenz: sechs Fenster bleiben auch auf kleinen/kurzen Displays lesbar und die Sequenz kann sauber übersprungen werden. */
.sequence-progress{position:fixed;z-index:10020;left:clamp(8px,2vw,22px);right:clamp(8px,2vw,22px);bottom:clamp(8px,2vh,18px);height:3px;background:#5f769355;overflow:hidden;pointer-events:none}
.sequence-progress i{display:block;width:0;height:100%;background:#86ffad;box-shadow:0 0 10px #62ff93;transition:width .28s ease}
.sequence-skip{position:fixed;z-index:10021;right:clamp(8px,2vw,22px);top:clamp(8px,2vh,18px);border:1px solid #6e8fb4;background:#091a35dd;color:#b9d8ff;padding:6px 9px;font:700 10px/1 "Courier New",monospace;letter-spacing:.08em;cursor:pointer}
.sequence-skip:hover,.sequence-skip:focus-visible{color:#fff;border-color:#9effb5;outline:2px solid #9effb566;outline-offset:2px}
.seq-browser-chrome,.seq-url,.seq-window-title,.seq-window-status,.seq-record-lines span,.seq-reservation-lines{overflow-wrap:anywhere}
.seq-window{min-width:0;min-height:0;overflow:hidden}
.seq-window-title{gap:6px;white-space:nowrap;overflow:hidden}.seq-window-title>span{flex:0 0 auto}.seq-window-status{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.seq-record-lines div{min-width:0}.seq-record-lines span{min-width:0}
@media(max-width:520px){
  .legacy-sequence>section{width:98vw;height:92dvh}
  .seq-browser-chrome{height:58px;gap:7px;padding:6px 7px;font-size:9px;flex-wrap:wrap;align-content:flex-start}.seq-url{left:6px;right:6px;bottom:5px;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .seq-mozart-page{height:calc(100% - 58px);padding:14px 10px}.seq-mozart-page h1{font-size:clamp(28px,12vw,48px);margin:16px 0 4px}.seq-mozart-page p{font-size:11px;margin-bottom:12px}.seq-stars{letter-spacing:8px}.seq-pi{font-size:72px}
  .seq-scan-title{max-width:calc(100% - 90px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:9px}
  .seq-stage{inset:32px 3px 7px}.seq-window-title{padding:3px 4px}.seq-window-status{left:2px;right:2px;bottom:2px;padding:2px 3px}
  .seq-window-hex{width:64%;height:27%;left:1%;top:1%}.seq-window-cad{width:58%;height:28%;right:1%;top:10%}.seq-window-network{width:58%;height:27%;left:10%;top:30%}.seq-window-terminal{width:68%;height:29%;left:1%;bottom:1%}.seq-window-record{width:60%;height:29%;right:1%;bottom:3%}.seq-window-reservation{width:48%;height:22%;right:3%;top:45%}
  .seq-record-lines{padding:5px 5px 19px;gap:3px;font-size:8px}.seq-record-lines div{grid-template-columns:42px minmax(0,1fr)}.seq-reservation-lines{padding:5px 6px 19px;gap:3px;font-size:8px}
  .sequence-final-pi{font-size:100px}.sequence-final-text{padding:0 12px;font-size:clamp(14px,5vw,22px);overflow-wrap:anywhere}.sequence-skip{font-size:8px;padding:5px 7px}
}
@media(max-height:520px){
  .legacy-sequence>section{height:96dvh}.seq-mozart-page{padding:8px 14px}.seq-mozart-page h1{font-size:34px;margin:5px 0 2px}.seq-mozart-page p{margin-bottom:5px}.seq-stars{display:none}.seq-mozart-grid{gap:8px}.seq-mozart-grid>div:not(.seq-pi){padding:7px;gap:4px;font-size:10px}.seq-pi{font-size:58px}
  .seq-stage{inset:29px 4px 5px}.seq-scan-title{top:4px!important;padding:3px 7px;font-size:9px}.seq-window-title{height:18px;font-size:8px}.seq-window-status{font-size:7px}.seq-window pre{font-size:7px;padding-bottom:18px}.sequence-final-pi{font-size:82px}.sequence-final-line{margin-top:10px}
  .sequence-progress{bottom:4px}.sequence-skip{top:4px;right:4px}
}
@media(prefers-reduced-motion:reduce){.sequence-progress i,.seq-window{transition:none!important}.sequence-skip{animation:none!important}}

/* Michael Klementz | 27.09.2026 – Schritt 71: Gatekeeper- und PRAETORIAN-Login bleiben vom kleinen Handy bis zum großen Desktop vollständig lesbar und bedienbar. */
body.os-body .login-window{max-height:calc(100dvh - 86px);overflow:hidden}
body.os-body .login-window>.win-body{max-height:calc(100dvh - 124px);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
body.os-body .login-window-praetorian{width:min(430px,calc(100vw - 32px));max-width:430px;margin:clamp(24px,7vh,72px) clamp(16px,4vw,40px) 52px auto}
body.os-body .login-secret-shell{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:stretch;min-width:0}
body.os-body .login-secret-shell>.os-input{width:100%;min-width:0}
body.os-body .login-secret-toggle{min-width:82px;white-space:nowrap}
body.os-body .login-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;margin-top:14px;min-width:0}
body.os-body .login-actions>.os-btn{min-width:92px}
body.os-body .login-window .win-title-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.os-body .login-window .win-controls{flex:0 0 auto}
body.os-body .login-window .os-msg.error{border-left:4px solid #b71919;font-weight:800}
@media(max-height:560px){body.os-body .login-window{margin-top:8px;max-height:calc(100dvh - 48px)}body.os-body .login-window>.win-body{max-height:calc(100dvh - 84px)}body.os-body .login-window .gk-poster{min-height:96px!important}.os-quote{display:none}}
@media(max-width:420px){body.os-body .login-window-praetorian{width:calc(100vw - 16px);margin:10px auto 48px}body.os-body .login-secret-shell{grid-template-columns:1fr}body.os-body .login-secret-toggle{width:auto;min-height:30px}body.os-body .login-actions{display:flex;flex-wrap:wrap;gap:7px}body.os-body .login-actions>.os-btn{width:auto;min-width:0}}
@media(max-width:310px){body.os-body .login-actions{grid-template-columns:1fr}}

/* Michael Klementz | 27.09.2026 – Desktop-Menüs und TechGrid-Dialoge bleiben in jeder Auflösung innerhalb der Arbeitsfläche und vollständig bedienbar. */
body.techgrid-fui-active .tg-context-menu{
  max-width:calc(100% - 16px)!important;
  max-height:calc(100% - 16px)!important;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  scrollbar-color:var(--tg-line) transparent;
}
body.techgrid-fui-active .tg-context-menu button{overflow-wrap:break-word;word-break:normal;white-space:normal}
body.techgrid-fui-active .tg-dialog-shade{padding:12px;box-sizing:border-box;overflow:auto;overscroll-behavior:contain}
body.techgrid-fui-active .tg-dialog{
  width:min(430px,100%);
  max-height:min(620px,calc(100% - 4px));
  min-width:0;
  display:grid;
  grid-template-rows:auto minmax(0,1fr) auto;
  box-sizing:border-box;
  overflow:hidden;
}
body.techgrid-fui-active .tg-dialog header,body.techgrid-fui-active .tg-dialog-body,body.techgrid-fui-active .tg-dialog footer{min-width:0}
body.techgrid-fui-active .tg-dialog header strong,body.techgrid-fui-active .tg-dialog p{overflow-wrap:break-word;word-break:normal;hyphens:none}
body.techgrid-fui-active .tg-dialog-body{overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--tg-line) transparent;padding:1px 3px}
body.techgrid-fui-active .tg-dialog-input{min-width:0;max-width:100%}
@media(max-width:520px){
  body.techgrid-fui-active .tg-dialog-shade{padding:8px}
  body.techgrid-fui-active .tg-dialog{padding:11px;max-height:calc(100% - 2px)}
  body.techgrid-fui-active .tg-dialog footer{display:grid;grid-template-columns:1fr 1fr;gap:7px}
  body.techgrid-fui-active .tg-dialog button{min-width:0;width:auto}
  body.techgrid-fui-active .tg-context-menu{width:min(290px,calc(100% - 16px));padding:8px}
}
@media(max-width:340px){
  body.techgrid-fui-active .tg-dialog footer{grid-template-columns:1fr}
  body.techgrid-fui-active .tg-dialog header strong{font-size:12px}
  body.techgrid-fui-active .tg-context-menu{left:8px!important;right:8px!important;width:auto!important;max-width:none!important}
}
@media(max-height:430px){
  body.techgrid-fui-active .tg-dialog-shade{place-items:start center;padding-block:7px}
  body.techgrid-fui-active .tg-dialog{max-height:calc(100dvh - 14px);padding:9px}
  body.techgrid-fui-active .tg-dialog header{padding-bottom:6px;margin-bottom:7px}
  body.techgrid-fui-active .tg-dialog footer{margin-top:7px}
}

/* Michael Klementz | 27.09.2026 09:24 Uhr – Hilfetexte und Benachrichtigungen bleiben kompakt, kontrastreich und innerhalb des TechGrid-Desktops. */
body.techgrid-fui-active .tg-node-tooltip{position:absolute;z-index:190;box-sizing:border-box;width:min(310px,calc(100vw - 24px));max-height:min(190px,42vh);overflow:auto;padding:9px 11px;border:1px solid color-mix(in srgb,var(--tg-line) 62%,transparent);clip-path:polygon(10px 0,calc(100% - 10px) 0,100% 10px,100% calc(100% - 10px),calc(100% - 10px) 100%,10px 100%,0 calc(100% - 10px),0 10px);background:color-mix(in srgb,var(--tg-panel,#071018) 94%,transparent);box-shadow:0 0 18px color-mix(in srgb,var(--tg-line) 18%,transparent);color:var(--tg-text,#e9fbff);pointer-events:none;opacity:0;transform:translateY(-4px);transition:opacity .12s ease,transform .12s ease}
body.techgrid-fui-active .tg-node-tooltip.is-visible{opacity:1;transform:none}
body.techgrid-fui-active .tg-node-tooltip[hidden]{display:none!important}
body.techgrid-fui-active .tg-node-tooltip strong,body.techgrid-fui-active .tg-node-tooltip span,body.techgrid-fui-active .tg-node-tooltip small{display:block;max-width:100%;overflow-wrap:break-word;word-break:normal;hyphens:none}
body.techgrid-fui-active .tg-node-tooltip strong{font:800 11px/1.25 "Courier New",monospace;letter-spacing:.08em;color:var(--tg-line-2,var(--tg-line))}
body.techgrid-fui-active .tg-node-tooltip span{margin-top:4px;font:600 11px/1.35 Arial,sans-serif}
body.techgrid-fui-active .tg-node-tooltip small{margin-top:6px;padding-top:5px;border-top:1px solid color-mix(in srgb,var(--tg-line) 24%,transparent);font:700 9px/1.3 "Courier New",monospace;letter-spacing:.04em;opacity:.78}
body.techgrid-fui-active .tg-node-badge,body.techgrid-fui-active .tg-folder-notice{pointer-events:none;max-width:42px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.techgrid-fui-active .tg-node:focus-visible{outline:2px solid var(--tg-line-2,var(--tg-line));outline-offset:5px}
@media(max-width:520px),(max-height:430px){body.techgrid-fui-active .tg-node-tooltip{width:min(270px,calc(100vw - 16px));max-height:34vh;padding:7px 9px}body.techgrid-fui-active .tg-node-tooltip small{font-size:8px}}
@media(prefers-reduced-motion:reduce){body.techgrid-fui-active .tg-node-tooltip{transition:none!important}}


/* Michael Klementz | 27.09.2026 15:51 Uhr – Objekt 66 Nachprüfung: Der Dock-Block ist wieder vollständig gültiges CSS; viele minimierte Fenster bleiben horizontal scrollbar und per Touch-Pan erreichbar. */
body.techgrid-fui-active .tg-window-dock{
  min-width:0!important;max-width:calc(100% - 64px)!important;overflow-x:auto!important;overflow-y:hidden!important;
  flex-wrap:nowrap!important;scrollbar-width:thin;scrollbar-color:var(--tg-line) transparent;overscroll-behavior-inline:contain;
  scroll-snap-type:x proximity;padding:4px 2px 8px;box-sizing:border-box;touch-action:pan-x;
}
body.techgrid-fui-active .tg-window-dock::-webkit-scrollbar{height:6px}
body.techgrid-fui-active .tg-window-dock::-webkit-scrollbar-track{background:transparent}
body.techgrid-fui-active .tg-window-dock::-webkit-scrollbar-thumb{background:var(--tg-line);border-radius:0}
body.techgrid-fui-active .tg-dock-node{
  flex:0 1 190px!important;min-width:92px!important;max-width:190px!important;height:36px!important;box-sizing:border-box!important;
  overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;scroll-snap-align:start;
}
body.techgrid-fui-active .tg-dock-node:focus-visible{outline:2px solid var(--tg-line-2)!important;outline-offset:2px!important;box-shadow:0 0 20px var(--tg-glow)!important}
@media (max-width:720px){
  body.techgrid-fui-active .tg-window-dock{left:12px!important;right:12px!important;bottom:10px!important;max-width:calc(100% - 24px)!important;gap:6px!important;padding-bottom:7px!important}
  body.techgrid-fui-active .tg-dock-node{flex-basis:150px!important;min-width:84px!important;max-width:150px!important;height:34px!important;padding:6px 11px!important;font-size:8px!important}
}
@media (max-width:420px),(max-height:520px){
  body.techgrid-fui-active .tg-window-dock{left:8px!important;right:8px!important;bottom:7px!important;max-width:calc(100% - 16px)!important}
  body.techgrid-fui-active .tg-dock-node{flex-basis:128px!important;min-width:76px!important;max-width:128px!important;height:32px!important;padding:5px 9px!important;letter-spacing:.045em!important}
}

/* Michael Klementz | 27.09.2026 10:27 Uhr – Die acht Resize-Zonen sind auf Maus, Touch und Pen gut greifbar, ohne die Wabenoptik mit sichtbaren Standardrahmen zu zerstören. */
body.techgrid-fui-active .win95.window-resizing{user-select:none!important;-webkit-user-select:none!important}
body.techgrid-fui-active .win95.window-resizing iframe{pointer-events:none!important}
body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>.win-resizer{touch-action:none!important}
@media (pointer:coarse){
  body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>.win-resizer-n,
  body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>.win-resizer-s{height:24px!important}
  body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>.win-resizer-e,
  body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>.win-resizer-w{width:24px!important}
  body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>.win-resizer-ne,
  body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>.win-resizer-nw,
  body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>.win-resizer-se,
  body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>.win-resizer-sw{width:30px!important;height:30px!important}
}

/* Michael Klementz | 27.09.2026 10:27 Uhr – Beim Fensterziehen bleibt der Titel griffig; eingebettete Inhalte können den laufenden Pointer-Drag nicht abfangen. */
body.techgrid-fui-active .win95.window-dragging{user-select:none!important;-webkit-user-select:none!important}
body.techgrid-fui-active .win95.window-dragging iframe{pointer-events:none!important}
body.techgrid-fui-active .win95.window-dragging>.win-title{cursor:grabbing!important}

/* Michael Klementz | 27.09.2026 10:27 Uhr – Maximierte TechGrid-Fenster halten Titel, Controls und Nutzfläche auch auf Micro-/Low-Height-Viewports sauber auseinander. */
body.techgrid-fui-active .win95.tg-hex-window.window-maximized>.win-title .win-title-text{max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body.techgrid-fui-active .win95.tg-hex-window.window-maximized>.win-controls{pointer-events:none!important}
body.techgrid-fui-active .win95.tg-hex-window.window-maximized>.win-controls>.win-btn{pointer-events:auto!important}
@media(max-width:620px){
  body.techgrid-fui-active .win95.tg-hex-window.window-maximized>.win-title{left:74px!important;width:calc(100% - 184px)!important;padding:0 8px!important}
  body.techgrid-fui-active .win95.tg-hex-window.window-maximized>.win-title .win-title-text{font-size:8px!important}
  body.techgrid-fui-active .win95.tg-hex-window.window-maximized>.win-body,
  body.techgrid-fui-active .win95.tg-hex-window.window-maximized>.alert-content{left:6px!important;right:6px!important;bottom:6px!important;padding:10px!important}
}
@media(max-height:440px){
  body.techgrid-fui-active .win95.tg-hex-window.window-maximized>.win-title{top:4px!important;height:26px!important}
  body.techgrid-fui-active .win95.tg-hex-window.window-maximized>.win-controls>.win-btn{top:5px!important}
  body.techgrid-fui-active .win95.tg-hex-window.window-maximized>.win-body,
  body.techgrid-fui-active .win95.tg-hex-window.window-maximized>.alert-content{top:36px!important;bottom:5px!important;padding:8px!important}
  body.techgrid-fui-active .win95.tg-hex-window.window-maximized.praetorian-control-window>.hero-banner{top:36px!important;height:48px!important}
  body.techgrid-fui-active .win95.tg-hex-window.window-maximized.praetorian-control-window>.prae-main{top:90px!important;bottom:5px!important}
}
@media(prefers-reduced-motion:reduce){body.techgrid-fui-active .win95.tg-hex-window.tg-window-morphing,body.techgrid-fui-active .win95.tg-hex-window.tg-window-morphing>*{animation:none!important;transition:none!important}}

/* Michael Klementz | 27.09.2026 11:42 Uhr – Adaptive Typografie bleibt auch in Micro-/Low-Height-Fenstern ohne sichtbare Zusatzsteuerung aktiv. */





@media (max-height:420px){}

/* Michael Klementz | 27.09.2026 11:55 Uhr – Iframe-Module bleiben beim Laden, Skalieren und bei kleinen Fenstern sauber in ihrer Arbeitsfläche; Fokus und Fehlerstatus sind sichtbar statt irgendwo hinter der Wabe zu verschwinden. */
body.techgrid-fui-active .tg-module-stage:focus-within{outline:1px solid color-mix(in srgb,var(--tg-accent) 52%,transparent);outline-offset:-2px}
body.techgrid-fui-active .tg-module-stage>iframe{max-width:100%!important;max-height:100%!important;contain:layout paint;overscroll-behavior:contain}
body.techgrid-fui-active .tg-module-state{max-height:calc(100% - 24px);overflow:auto;overscroll-behavior:contain}
body.techgrid-fui-active .tg-window-micro .tg-module-state{max-width:64%;font-size:9px!important;padding:.42em .55em!important}
body.techgrid-fui-active .tg-window-low .tg-module-state{top:52%;font-size:9px!important;padding:.38em .52em!important}
@media(max-width:420px){body.techgrid-fui-active .tg-module-state{max-width:62%;font-size:9px!important;line-height:1.18}}

/* Michael Klementz | 27.09.2026 11:28 Uhr – Objekt 48: Formulare bleiben in jeder Wabengröße lesbar; Fokus, Fehler, Disabled-Zustände und lange Beschriftungen sind eindeutig statt gequetscht. */
body.techgrid-fui-active .win95.tg-hex-window .tg-content-stage :is(input:not([type="checkbox"]):not([type="radio"]),textarea,.tg-select-trigger){max-width:100%!important;min-width:0!important;line-height:1.35!important}
body.techgrid-fui-active .win95.tg-hex-window .tg-content-stage textarea{resize:vertical!important;min-height:5.2em!important;max-height:min(42dvh,22em)!important;overflow:auto!important}
body.techgrid-fui-active .win95.tg-hex-window .tg-content-stage :is(label,.admin-form-row,.form-row,.field-row){max-width:100%!important;min-width:0!important}
body.techgrid-fui-active .win95.tg-hex-window .tg-content-stage label{overflow-wrap:break-word!important;word-break:normal!important}
body.techgrid-fui-active .win95.tg-hex-window .tg-content-stage :is(input,textarea,.tg-select-trigger):focus-visible{outline:2px solid var(--tg-line-2)!important;outline-offset:2px!important}
body.techgrid-fui-active .win95.tg-hex-window .tg-content-stage :is(input,textarea,select,button):disabled,
body.techgrid-fui-active .win95.tg-hex-window .tg-select-trigger[aria-disabled="true"]{opacity:.52!important;cursor:not-allowed!important;filter:saturate(.55)!important}
body.techgrid-fui-active .win95.tg-hex-window .tg-content-stage :is(input,textarea)[aria-invalid="true"],
body.techgrid-fui-active .win95.tg-hex-window .tg-content-stage :is(input,textarea):user-invalid{border-color:#ff786d!important;box-shadow:inset 3px 0 0 #ff786d,0 0 10px rgba(255,80,70,.18)!important}
body.techgrid-fui-active .tg-select-trigger:focus-visible,body.techgrid-hex-embedded .tg-select-trigger:focus-visible{outline:2px solid var(--tg-line-2)!important;outline-offset:2px!important}
body.techgrid-fui-active .tg-select-option:focus-visible,body.techgrid-hex-embedded .tg-select-option:focus-visible{outline:1px solid var(--tg-line-2)!important;outline-offset:-2px!important}
body.techgrid-fui-active .tg-select-option:disabled,body.techgrid-hex-embedded .tg-select-option:disabled{opacity:.45!important;cursor:not-allowed!important}
body.techgrid-fui-active .win95.tg-hex-window input.tg-choice-input:disabled,body.techgrid-hex-embedded input.tg-choice-input:disabled{opacity:.48!important;cursor:not-allowed!important;filter:saturate(.45)!important}
body.techgrid-fui-active .win95.tg-hex-window.tg-window-micro .tg-content-stage :is(.admin-form-row,.form-row,.field-row){grid-template-columns:minmax(0,1fr)!important;flex-wrap:wrap!important}
body.techgrid-fui-active .win95.tg-hex-window.tg-window-micro .tg-content-stage :is(input:not([type="checkbox"]):not([type="radio"]),textarea,.tg-select-shell,.tg-select-trigger){width:100%!important;max-width:100%!important}
body.techgrid-fui-active .win95.tg-hex-window.tg-window-low .tg-content-stage textarea{min-height:3.8em!important;max-height:28dvh!important}
body.techgrid-hex-embedded :is(input:not([type="checkbox"]):not([type="radio"]),textarea,.tg-select-trigger){max-width:100%!important;min-width:0!important}
body.techgrid-hex-embedded textarea{resize:vertical!important;max-height:42dvh!important;overflow:auto!important}

/* Michael Klementz | 27.09.2026 11:28 Uhr – Tabellen und Datenlisten bleiben breit nutzbar, bekommen feste Kopfzeilen und kippen in kleinen TechGrid-Fenstern kontrolliert in lesbare Datensatzkarten. */
body.techgrid-fui-active :is(.table-scroll,.code-guide-table-wrap){max-width:100%;min-width:0;overflow:auto!important;overscroll-behavior:contain;scrollbar-gutter:stable both-edges;-webkit-overflow-scrolling:touch}
body.techgrid-fui-active :is(.os-table,.code-guide-table){width:100%;font-variant-numeric:tabular-nums}
body.techgrid-fui-active :is(.os-table,.code-guide-table) th{position:sticky;top:0;z-index:3;white-space:nowrap;box-shadow:0 1px 0 color-mix(in srgb,currentColor 22%,transparent)}
body.techgrid-fui-active :is(.os-table,.code-guide-table) td{max-width:34rem;overflow-wrap:anywhere;word-break:normal}
body.techgrid-fui-active :is(.os-table,.code-guide-table) :is(code,.audit-action-badge,.user-count-chip){white-space:normal;overflow-wrap:anywhere}
body.techgrid-fui-active :is(.os-table,.code-guide-table) tbody tr{transition:background-color .12s ease,filter .12s ease}
body.techgrid-fui-active :is(.os-table,.code-guide-table) tbody tr:hover td,
body.techgrid-fui-active :is(.os-table,.code-guide-table) tbody tr:focus-within td{filter:brightness(1.06)}
body.techgrid-fui-active .audit-log-table{min-width:760px}
body.techgrid-fui-active .audit-log-table td:first-child{white-space:nowrap}
body.techgrid-fui-active .code-guide-table{min-width:620px}
body.techgrid-fui-active .code-guide-table th:nth-child(1){width:18%}
body.techgrid-fui-active .code-guide-table th:nth-child(2){width:32%}
body.techgrid-fui-active .code-guide-table th:nth-child(3){width:50%}
body.techgrid-fui-active .code-guide-table td code{white-space:normal!important;overflow-wrap:anywhere}
@container tg-prae-control (max-width:700px){
 body.techgrid-fui-active .praetorian-control-window .audit-log-scroll{overflow:visible!important;max-height:none!important}
 body.techgrid-fui-active .praetorian-control-window .audit-log-table{min-width:0!important;width:100%!important;border-collapse:separate!important;border-spacing:0 8px!important}
 body.techgrid-fui-active .praetorian-control-window .audit-log-table thead{display:none!important}
 body.techgrid-fui-active .praetorian-control-window .audit-log-table tbody,
 body.techgrid-fui-active .praetorian-control-window .audit-log-table tr,
 body.techgrid-fui-active .praetorian-control-window .audit-log-table td{display:block!important;width:100%!important;box-sizing:border-box!important}
 body.techgrid-fui-active .praetorian-control-window .audit-log-table tr{padding:8px 10px!important;border:1px solid color-mix(in srgb,var(--tg-accent,#7cf) 28%,transparent)!important}
 body.techgrid-fui-active .praetorian-control-window .audit-log-table td{display:grid!important;grid-template-columns:minmax(88px,.38fr) minmax(0,1fr)!important;gap:8px!important;padding:5px 0!important;border:0!important;white-space:normal!important;max-width:none!important}
 body.techgrid-fui-active .praetorian-control-window .audit-log-table td::before{content:attr(data-label);font-size:.72em;letter-spacing:.09em;font-weight:800;opacity:.62;text-transform:uppercase}
}
@media(max-width:560px){
 body.code-guide-body .code-guide-table-wrap{overflow:visible!important}
 body.code-guide-body .code-guide-table{min-width:0!important;width:100%!important;border-collapse:separate!important;border-spacing:0 8px!important}
 body.code-guide-body .code-guide-table thead{display:none!important}
 body.code-guide-body .code-guide-table :is(tbody,tr,td){display:block!important;width:100%!important;box-sizing:border-box!important}
 body.code-guide-body .code-guide-table tr{border:1px solid currentColor;padding:8px}
 body.code-guide-body .code-guide-table td{display:grid!important;grid-template-columns:minmax(82px,.34fr) minmax(0,1fr)!important;gap:8px!important;border:0!important;padding:5px!important;max-width:none!important}
 body.code-guide-body .code-guide-table td:nth-child(1)::before{content:"TYP"}
 body.code-guide-body .code-guide-table td:nth-child(2)::before{content:"EINGABE"}
 body.code-guide-body .code-guide-table td:nth-child(3)::before{content:"REAKTION"}
 body.code-guide-body .code-guide-table td::before{font-size:.72em;letter-spacing:.08em;font-weight:800;opacity:.68}
}


/* Michael Klementz | 27.09.2026 12:04 Uhr – Objekt 50: Status-, Fehler-, Warn- und Leerzustände bleiben in jeder Fenstergröße klar lesbar, ohne Aktionen oder Inhalte zu verdrängen. */
body.techgrid-fui-active .win95.tg-hex-window :is(.os-msg,.empty-note,.qr-tool-status,.chat-error-detail,.backup-preview-error,.backup-sensitive-warning){max-width:100%!important;min-width:0!important;box-sizing:border-box!important;overflow-wrap:anywhere!important;word-break:normal!important;white-space:normal!important;line-height:1.4!important}
body.techgrid-fui-active .win95.tg-hex-window .os-msg{position:relative!important;padding-left:30px!important;max-height:min(34dvh,14rem)!important;overflow:auto!important;overscroll-behavior:contain!important}
body.techgrid-fui-active .win95.tg-hex-window .os-msg::before{position:absolute;left:10px;top:8px;font-weight:900;line-height:1;opacity:.86}
body.techgrid-fui-active .win95.tg-hex-window .os-msg:not(.error):not(.warn):not(.success)::before{content:"i"}
body.techgrid-fui-active .win95.tg-hex-window .os-msg.success::before{content:"✓"}
body.techgrid-fui-active .win95.tg-hex-window .os-msg.warn::before{content:"!"}
body.techgrid-fui-active .win95.tg-hex-window .os-msg.error::before{content:"×"}
body.techgrid-fui-active .win95.tg-hex-window .os-msg.success{background:#d9efda!important;color:#125d25!important;border-left-color:#55a767!important}
body.techgrid-fui-active .win95.tg-hex-window .os-msg.warn{border-left-color:#c89c2e!important}
body.techgrid-fui-active .win95.tg-hex-window .os-msg.error{border-left-color:#bf4c4c!important}
body.techgrid-fui-active .win95.tg-hex-window .empty-note{overflow-wrap:anywhere!important;white-space:normal!important;text-align:left!important}
body.techgrid-fui-active .win95.tg-hex-window.tg-window-micro .os-msg{padding:6px 7px 6px 24px!important;font-size:10px!important;max-height:30dvh!important}
body.techgrid-fui-active .win95.tg-hex-window.tg-window-micro .os-msg::before{left:7px;top:6px}
body.techgrid-fui-active .win95.tg-hex-window.tg-window-low :is(.os-msg,.empty-note){margin-bottom:5px!important;padding-top:5px!important;padding-bottom:5px!important;max-height:25dvh!important;overflow:auto!important}
body.techgrid-fui-active .duplicate-pin-alert .alert-content{max-height:min(70dvh,34rem)!important;overflow:auto!important;overscroll-behavior:contain!important}
body.techgrid-fui-active .duplicate-pin-alert :is(.duplicate-alert-heading,.duplicate-alert-message){max-width:100%!important;overflow-wrap:anywhere!important;word-break:normal!important}
body.techgrid-fui-active .duplicate-pin-alert .duplicate-alert-actions{display:flex!important;flex-wrap:wrap!important;gap:8px!important}
body.techgrid-fui-active .duplicate-pin-alert .duplicate-alert-actions .os-btn{min-width:0!important;max-width:100%!important;white-space:normal!important;text-align:center!important}
@media(max-width:440px),(max-height:430px){body.techgrid-fui-active .duplicate-pin-alert .duplicate-alert-actions{display:grid!important;grid-template-columns:minmax(0,1fr)!important}body.techgrid-fui-active .duplicate-pin-alert .duplicate-alert-actions .os-btn{width:auto!important}}
body.techgrid-hex-embedded :is(.os-msg,.empty-note,.qr-tool-status,.chat-error-detail){max-width:100%!important;box-sizing:border-box!important;overflow-wrap:anywhere!important;white-space:normal!important}

/* Michael Klementz | 27.09.2026 12:28 Uhr – Objekt 51: Buttons und Aktionsleisten bleiben auch mit langen Texten, Touch-Bedienung und kleinen Fenstern eindeutig, lesbar und erreichbar. */
body.techgrid-fui-active .win95.tg-hex-window .tg-content-stage :is(.os-btn,button,input[type="button"],input[type="submit"],input[type="reset"]){box-sizing:border-box;max-width:100%;min-width:0;min-height:34px;line-height:1.2;overflow-wrap:anywhere;word-break:normal;white-space:normal;text-align:center;touch-action:manipulation}
body.techgrid-fui-active .win95.tg-hex-window .tg-content-stage :is(.os-btn,button,input[type="button"],input[type="submit"],input[type="reset"]):focus-visible{outline:2px solid var(--tg-line-2)!important;outline-offset:2px!important}
body.techgrid-fui-active .win95.tg-hex-window .tg-content-stage :is(.os-btn,button,input[type="button"],input[type="submit"],input[type="reset"]):disabled{opacity:.48!important;cursor:not-allowed!important;filter:saturate(.45)!important;pointer-events:none!important}
body.techgrid-fui-active .win95.tg-hex-window .tg-content-stage :is(.admin-actions,.qr-actions,.security-alert-actions,.duplicate-alert-actions,.easter-card-actions,.pizza-actions){max-width:100%;min-width:0;box-sizing:border-box;flex-wrap:wrap;gap:8px}
body.techgrid-fui-active .win95.tg-hex-window .tg-content-stage :is(.admin-actions,.qr-actions,.security-alert-actions,.duplicate-alert-actions,.easter-card-actions)>:is(.os-btn,button,a.os-btn,form){min-width:0;max-width:100%}
body.techgrid-fui-active .win95.tg-hex-window .tg-content-stage :is(.admin-actions,.security-alert-actions,.duplicate-alert-actions)>form{display:flex;flex:0 1 auto;margin:0}
body.techgrid-fui-active .win95.tg-hex-window .tg-content-stage :is(.admin-actions,.security-alert-actions,.duplicate-alert-actions)>form>.os-btn{width:auto}
body.techgrid-fui-active .win95.tg-hex-window.tg-window-micro .tg-content-stage :is(.admin-actions,.qr-actions,.security-alert-actions,.duplicate-alert-actions,.easter-card-actions,.pizza-actions){display:grid!important;grid-template-columns:minmax(0,1fr)!important;align-items:stretch!important}
body.techgrid-fui-active .win95.tg-hex-window.tg-window-micro .tg-content-stage :is(.admin-actions,.qr-actions,.security-alert-actions,.duplicate-alert-actions,.easter-card-actions,.pizza-actions)>*{width:auto!important;max-width:100%!important}
body.techgrid-fui-active .win95.tg-hex-window.tg-window-micro .tg-content-stage :is(.os-btn,button,input[type="button"],input[type="submit"],input[type="reset"]){width:auto;min-height:30px;padding-left:8px;padding-right:8px}
body.techgrid-fui-active .win95.tg-hex-window.tg-window-low .tg-content-stage :is(.os-btn,button,input[type="button"],input[type="submit"],input[type="reset"]){min-height:30px;padding-top:4px;padding-bottom:4px}
@media (pointer:coarse){body.techgrid-fui-active .win95.tg-hex-window .tg-content-stage :is(.os-btn,button,input[type="button"],input[type="submit"],input[type="reset"]){min-height:42px}}
body.techgrid-hex-embedded :is(.os-btn,button,input[type="button"],input[type="submit"],input[type="reset"]){box-sizing:border-box;max-width:100%;min-width:0;min-height:34px;line-height:1.2;overflow-wrap:anywhere;white-space:normal;touch-action:manipulation}
body.techgrid-hex-embedded :is(.admin-actions,.qr-actions,.security-alert-actions,.duplicate-alert-actions,.easter-card-actions){max-width:100%;min-width:0;flex-wrap:wrap;gap:8px}

/* Michael Klementz | 27.09.2026 11:28 Uhr – Schritt 52: Fensterkopf, Steuerknöpfe und Statusleisten bleiben auch in Micro-/Low-Height-Fenstern lesbar und kollisionsfrei. */
body.techgrid-fui-active .win95.win-managed>.win-title{min-width:0!important}
body.techgrid-fui-active .win95.win-managed>.win-title .win-title-text{min-width:0!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body.techgrid-fui-active .win95.win-managed>.win-controls>.win-btn{line-height:1!important;overflow:hidden!important;text-overflow:clip!important;white-space:nowrap!important}
body.techgrid-fui-active .win95.win-managed :is(.statusbar,.status-bar,.record-statusbar,.secure-mail-statusbar,.seq-window-status){min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
body.techgrid-fui-active .win95.win-managed :is(.statusbar,.status-bar,.record-statusbar,.secure-mail-statusbar,.seq-window-status)>*{min-width:0!important;overflow-wrap:anywhere!important;word-break:normal!important}
body.techgrid-fui-active .win95.win-managed.tg-window-compact:not(.window-maximized)>.win-title{padding-inline:32px!important}
body.techgrid-fui-active .win95.win-managed.tg-window-micro:not(.window-maximized)>.win-title{left:20%!important;right:20%!important;width:60%!important;height:27px!important;min-height:27px!important;padding:0 31px!important}
body.techgrid-fui-active .win95.win-managed.tg-window-micro:not(.window-maximized)>.win-title .win-title-text{font-size:7.5px!important;letter-spacing:.08em!important}
body.techgrid-fui-active .win95.win-managed.tg-window-micro>.win-controls>.win-btn{top:6px!important;width:20px!important;height:20px!important;min-width:20px!important;font-size:9px!important}
body.techgrid-fui-active .win95.win-managed.tg-window-micro:not(.window-maximized)>.win-controls>[data-minimize-window]{left:calc(20% + 5px)!important}
body.techgrid-fui-active .win95.win-managed.tg-window-micro:not(.window-maximized)>.win-controls>[data-maximize-window]{right:calc(20% + 29px)!important}
body.techgrid-fui-active .win95.win-managed.tg-window-micro:not(.window-maximized)>.win-controls>[data-close-window]{right:calc(20% + 5px)!important}
body.techgrid-fui-active .win95.win-managed.tg-window-low :is(.record-statusbar,.secure-mail-statusbar){font-size:9px!important;line-height:1.15!important;gap:4px!important;padding-block:3px!important}
@media (max-width:420px){
  body.techgrid-fui-active .win95.win-managed.window-maximized>.win-title{left:66px!important;width:calc(100% - 164px)!important}
  body.techgrid-fui-active .win95.win-managed.window-maximized>.win-title .win-title-text{font-size:7.5px!important;letter-spacing:.07em!important}
}

/* Michael Klementz | 27.09.2026 11:28 Uhr – Schmal + niedrig ist ein eigener Realfall: Bedienelemente bleiben erreichbar, ohne Inhalte oder Fensterknöpfe zu überlagern. */
body.techgrid-fui-active .tg-hex-window.tg-window-micro.tg-window-low{--tg-responsive-gap:5px}
body.techgrid-fui-active .tg-hex-window.tg-window-micro.tg-window-low .tg-hex-content{min-height:0;overflow:auto;overscroll-behavior:contain}

body.techgrid-fui-active .tg-hex-window.tg-window-micro.tg-window-low :is(.admin-actions,.form-actions,.os-actions,.alert-actions){gap:5px!important}

/* Michael Klementz | 27.09.2026 – Family-Mode bleibt auch bei vielen Unterwaben klar: aktive Familie vorne, fremde Root-Waben dezent zurück, Text immer voll lesbar. */
body.techgrid-fui-active .tg-family-active{transition:opacity .2s ease,filter .2s ease,transform .2s ease}
body.techgrid-fui-active .tg-family-root{z-index:96!important}
body.techgrid-fui-active .tg-family-child{z-index:88!important}
body.techgrid-fui-active .tg-family-descendant{z-index:86!important}
body.techgrid-fui-active .tg-context-dim{pointer-events:auto!important}
body.techgrid-fui-active .tg-context-dim .tg-node-frame{opacity:.68!important;filter:drop-shadow(0 0 5px color-mix(in srgb,var(--tg-glow) 20%,transparent)) saturate(.84) brightness(.96)!important}
body.techgrid-fui-active .tg-context-dim :is(strong,small,.tg-node-icon){opacity:1!important}
body.techgrid-fui-active .tg-child-line.is-direct-family{stroke-width:1.8;opacity:.92}
body.techgrid-fui-active .tg-child-line.is-family{stroke-width:1.25;opacity:.68}
body.techgrid-fui-active .tg-root-line.is-dim{opacity:.2}
body.techgrid-fui-active .tg-root-line.is-active-root{opacity:.95;stroke-width:1.8}
@media (max-width:720px),(max-height:520px){
  body.techgrid-fui-active .tg-context-dim .tg-node-frame{opacity:.78!important}
  body.techgrid-fui-active .tg-family-focus .tg-node-frame{transform:none}
  body.techgrid-fui-active .tg-child-line.is-direct-family{stroke-width:1.45}
}
@media (prefers-reduced-motion:reduce){
  body.techgrid-fui-active .tg-family-active,body.techgrid-fui-active .tg-context-dim{transition:none!important}
}

/* Michael Klementz | 27.09.2026 12:04 Uhr – Tech-Linien bleiben hinter den Waben ruhig lesbar; bei vielen Verbindungen und kleinen Ansichten wird das Leuchten bewusst reduziert. */
body.techgrid-fui-active .tg-circuit-layer{contain:layout paint;will-change:opacity}
body.techgrid-fui-active .tg-circuit-layer path{pointer-events:none}
body.techgrid-fui-active .tg-root-line,body.techgrid-fui-active .tg-child-line{transition:opacity .18s ease,stroke-width .18s ease,filter .18s ease}
body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="compact"] .tg-circuit-layer path,
body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="micro"] .tg-circuit-layer path{filter:none!important}
body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="micro"] .tg-root-line{opacity:.28!important;stroke-width:1px!important}
body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="micro"] .tg-child-line{opacity:.44!important;stroke-width:1px!important}
body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="micro"] .tg-child-line.is-direct-family{opacity:.78!important;stroke-width:1.25px!important}
@media (prefers-reduced-motion:reduce){
  body.techgrid-fui-active .tg-root-line,body.techgrid-fui-active .tg-child-line{animation:none!important;transition:none!important;stroke-dashoffset:0!important}
  body.techgrid-fui-active .techgrid-desktop-v3.tg-circuit-reflow .tg-circuit-layer{animation:none!important}
}

/* Michael Klementz | 28.09.2026 – Schritt 130: Der zentrale CORE bleibt auch im kleinsten Viewport ein eigener Bedienlayer.
   Der CORE selbst muss per Maus/Tastatur erreichbar sein; nur seine rein dekorativen Orbit-/Emblem-Inhalte ignorieren Pointer. */
body.techgrid-fui-active .tg-core-orbit{pointer-events:auto;cursor:pointer;transform-origin:center center;will-change:transform,left,top}
body.techgrid-fui-active .tg-core-orbit :is(.tg-orbit,.tg-core-pulse,.tg-core-mark,.tg-praetorian-emblem,.tg-gatekeeper-emblem){pointer-events:none}
body.techgrid-fui-active .tg-core-mark,
body.techgrid-fui-active .tg-praetorian-emblem,
body.techgrid-fui-active .tg-gatekeeper-emblem{max-width:100%;max-height:100%}
@media (prefers-reduced-motion:reduce){
  body.techgrid-fui-active .tg-core-orbit::after,
  body.techgrid-fui-active .tg-core-pulse,
  body.techgrid-fui-active .tg-orbit-a,
  body.techgrid-fui-active .tg-orbit-b,
  body.techgrid-fui-active .tg-orbit-c{animation:none!important}
}

/* Michael Klementz | 27.09.2026 11:35 Uhr – Light und Matrix bleiben auch bei offenen Fenstern kontraststark; Themewechsel färbt nur, er verändert keine Geometrie. */
body.user-theme-techgrid-light.techgrid-fui-active .tg-node strong,
body.user-theme-techgrid-light.techgrid-fui-active .tg-node small,
body.user-theme-techgrid-light.techgrid-fui-active .tg-window-dock,
body.user-theme-techgrid-light.techgrid-fui-active .tg-context-menu{ text-shadow:none!important; }
body.user-theme-techgrid-light.techgrid-fui-active .tg-node-surface{box-shadow:inset 0 0 24px rgba(65,45,25,.08),inset 0 0 0 1px rgba(55,35,20,.08)}
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-node strong{color:#f1fff9!important}
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-node small{color:#b8ead5!important}
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-family-dim:not(.tg-family-active){opacity:.58!important}

/* Michael Klementz | 27.09.2026 13:05 Uhr – Objekt 61b: Programmfenster sind wieder echte Rechtecke. Desktop-Waben bleiben Waben; Fensterbreite und -höhe sind frei und unabhängig skalierbar. */
body.techgrid-fui-active .win95.tg-hex-window,
body.techgrid-fui-active .win95.tg-rect-window{
  --tg-win-shape:polygon(0 0,100% 0,100% 100%,0 100%)!important;
  --tg-win-inner-left:10px!important;
  --tg-win-inner-right:10px!important;
  --tg-win-inner-top:46px!important;
  --tg-win-inner-bottom:10px!important;
  display:block!important;
  min-width:260px!important;
  min-height:190px!important;
  aspect-ratio:auto!important;
  clip-path:none!important;
  overflow:hidden!important;
  border:1px solid color-mix(in srgb,var(--tg-edge) 78%,transparent)!important;
  border-radius:0!important;
  background:linear-gradient(180deg,color-mix(in srgb,var(--tg-line) 4%,transparent),transparent 28%),var(--tg-panel-2)!important;
  box-shadow:0 24px 58px rgba(0,0,0,.48),0 0 0 1px color-mix(in srgb,var(--tg-line) 22%,transparent),0 0 24px color-mix(in srgb,var(--tg-glow) 72%,transparent)!important;
  filter:none!important;
  transition:left .28s cubic-bezier(.2,.76,.2,1),top .28s cubic-bezier(.2,.76,.2,1),width .28s cubic-bezier(.2,.76,.2,1),height .28s cubic-bezier(.2,.76,.2,1),box-shadow .22s ease,background .22s ease!important;
}
/* Wichtig: diese Regel steht absichtlich nach allen historischen Wabenregeln. Sonst konnte display:block!important ein geschlossenes/reopenable Fenster trotz hidden sichtbar halten. */
body.techgrid-fui-active .win95.tg-hex-window[hidden],
body.techgrid-fui-active .win95.tg-rect-window[hidden]{display:none!important}

body.techgrid-fui-active .win95.tg-hex-window::before,
body.techgrid-fui-active .win95.tg-rect-window::before{
  content:""!important;position:absolute!important;inset:0!important;z-index:90!important;pointer-events:none!important;
  padding:1px!important;box-sizing:border-box!important;clip-path:none!important;
  background:linear-gradient(90deg,var(--tg-line-2),var(--tg-line) 20%,transparent 42% 72%,var(--tg-line-2)) top/100% 1px no-repeat,
             linear-gradient(90deg,var(--tg-line),transparent 24% 76%,var(--tg-line-2)) bottom/100% 1px no-repeat!important;
  -webkit-mask:none!important;mask:none!important;opacity:.68!important;filter:drop-shadow(0 0 6px var(--tg-glow))!important;
}
body.techgrid-fui-active .win95.tg-hex-window::after,
body.techgrid-fui-active .win95.tg-rect-window::after{
  content:""!important;position:absolute!important;inset:5px!important;z-index:2!important;pointer-events:none!important;
  border:1px solid color-mix(in srgb,var(--tg-edge) 30%,transparent)!important;background:none!important;clip-path:none!important;
  -webkit-mask:none!important;mask:none!important;opacity:.58!important;animation:none!important;
}

body.techgrid-fui-active .win95.tg-hex-window>.win-title,
body.techgrid-fui-active .win95.tg-rect-window>.win-title,
body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>.win-title,
body.techgrid-fui-active .win95.tg-rect-window:not(.window-maximized)>.win-title{
  position:absolute!important;z-index:120!important;left:8px!important;right:94px!important;top:7px!important;bottom:auto!important;
  width:auto!important;height:31px!important;min-height:31px!important;padding:0 12px!important;margin:0!important;
  display:flex!important;align-items:center!important;justify-content:flex-start!important;text-align:left!important;
  transform:none!important;transform-origin:center!important;clip-path:none!important;cursor:grab!important;touch-action:none!important;
  background:linear-gradient(90deg,color-mix(in srgb,var(--tg-line) 10%,var(--tg-panel-2)),color-mix(in srgb,var(--tg-panel-2) 96%,transparent))!important;
  border:0!important;border-bottom:1px solid color-mix(in srgb,var(--tg-line) 72%,transparent)!important;box-shadow:none!important;
}
body.techgrid-fui-active .win95.tg-hex-window>.win-title .win-title-text,
body.techgrid-fui-active .win95.tg-rect-window>.win-title .win-title-text{
  width:100%!important;text-align:left!important;font-size:9px!important;letter-spacing:.12em!important;
}
body.techgrid-fui-active .win95.tg-hex-window>.win-title::before,
body.techgrid-fui-active .win95.tg-rect-window>.win-title::before{left:0!important;right:auto!important;top:0!important;width:72px!important;height:1px!important}
body.techgrid-fui-active .win95.tg-hex-window>.win-title::after,
body.techgrid-fui-active .win95.tg-rect-window>.win-title::after{left:0!important;right:18%!important;bottom:0!important;height:1px!important}

body.techgrid-fui-active .win95.tg-hex-window>.win-controls,
body.techgrid-fui-active .win95.tg-rect-window>.win-controls{display:contents!important}
body.techgrid-fui-active .win95.tg-hex-window>.win-controls>.win-btn,
body.techgrid-fui-active .win95.tg-rect-window>.win-controls>.win-btn{
  position:absolute!important;z-index:190!important;top:9px!important;width:25px!important;height:25px!important;min-width:25px!important;
  border-radius:0!important;clip-path:none!important;font-size:11px!important;opacity:.9!important;pointer-events:auto!important;
}
body.techgrid-fui-active .win95.tg-hex-window>.win-controls>[data-minimize-window],
body.techgrid-fui-active .win95.tg-rect-window>.win-controls>[data-minimize-window]{left:auto!important;right:66px!important}
body.techgrid-fui-active .win95.tg-hex-window>.win-controls>[data-maximize-window],
body.techgrid-fui-active .win95.tg-rect-window>.win-controls>[data-maximize-window]{right:38px!important}
body.techgrid-fui-active .win95.tg-hex-window>.win-controls>[data-close-window],
body.techgrid-fui-active .win95.tg-rect-window>.win-controls>[data-close-window]{right:10px!important}

body.techgrid-fui-active .win95.tg-hex-window>.win-body,
body.techgrid-fui-active .win95.tg-rect-window>.win-body,
body.techgrid-fui-active .win95.tg-hex-window>.alert-content,
body.techgrid-fui-active .win95.tg-rect-window>.alert-content,
body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>.win-body,
body.techgrid-fui-active .win95.tg-rect-window:not(.window-maximized)>.win-body,
body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>.alert-content,
body.techgrid-fui-active .win95.tg-rect-window:not(.window-maximized)>.alert-content{
  position:absolute!important;z-index:20!important;left:10px!important;right:10px!important;top:46px!important;bottom:10px!important;
  width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;
  margin:0!important;padding:12px!important;overflow:auto!important;box-sizing:border-box!important;
  background:linear-gradient(180deg,color-mix(in srgb,var(--tg-line) 2%,transparent),transparent 26%)!important;
  border:1px solid color-mix(in srgb,var(--tg-edge) 28%,transparent)!important;box-shadow:inset 0 0 22px rgba(0,0,0,.10)!important;
  clip-path:none!important;
}
body.techgrid-fui-active .win95.tg-hex-window.gate-app-window>.win-body,
body.techgrid-fui-active .win95.tg-rect-window.gate-app-window>.win-body,
body.techgrid-fui-active .win95.tg-hex-window.techgrid-module-host>.win-body,
body.techgrid-fui-active .win95.tg-rect-window.techgrid-module-host>.win-body{padding:0!important;overflow:hidden!important}

/* PRAETORIAN nutzt dieselbe rechteckige Geometrie, Banner und Inhalt liegen unter der Fensterleiste statt in einer Wabenkontur. */
body.techgrid-fui-active .win95.tg-hex-window.praetorian-control-window>.hero-banner,
body.techgrid-fui-active .win95.tg-rect-window.praetorian-control-window>.hero-banner{
  display:grid!important;position:absolute!important;z-index:24!important;left:10px!important;right:10px!important;top:46px!important;
  width:auto!important;height:70px!important;min-height:0!important;margin:0!important;padding:10px 16px!important;clip-path:none!important;
}
body.techgrid-fui-active .win95.tg-hex-window.praetorian-control-window>.prae-main,
body.techgrid-fui-active .win95.tg-rect-window.praetorian-control-window>.prae-main{
  position:absolute!important;z-index:20!important;left:10px!important;right:10px!important;top:124px!important;bottom:10px!important;
  width:auto!important;height:auto!important;min-height:0!important;margin:0!important;overflow:hidden!important;
}

body.techgrid-fui-active .win95.tg-hex-window.window-maximized,
body.techgrid-fui-active .win95.tg-rect-window.window-maximized{
  --tg-win-shape:polygon(0 0,100% 0,100% 100%,0 100%)!important;aspect-ratio:auto!important;clip-path:none!important;
  left:8px!important;top:8px!important;width:calc(100% - 16px)!important;height:calc(100% - 16px)!important;
}
body.techgrid-fui-active .win95.tg-hex-window.window-maximized>.win-title,
body.techgrid-fui-active .win95.tg-rect-window.window-maximized>.win-title{left:8px!important;right:94px!important;top:7px!important;width:auto!important;height:31px!important;justify-content:flex-start!important;text-align:left!important;transform:none!important;clip-path:none!important}
body.techgrid-fui-active .win95.tg-hex-window.window-maximized>.win-title .win-title-text,
body.techgrid-fui-active .win95.tg-rect-window.window-maximized>.win-title .win-title-text{text-align:left!important}
body.techgrid-fui-active .win95.tg-hex-window.window-maximized>.win-controls>[data-minimize-window],
body.techgrid-fui-active .win95.tg-rect-window.window-maximized>.win-controls>[data-minimize-window]{left:auto!important;right:66px!important;top:9px!important}
body.techgrid-fui-active .win95.tg-hex-window.window-maximized>.win-controls>[data-maximize-window],
body.techgrid-fui-active .win95.tg-rect-window.window-maximized>.win-controls>[data-maximize-window]{right:38px!important;top:9px!important}
body.techgrid-fui-active .win95.tg-hex-window.window-maximized>.win-controls>[data-close-window],
body.techgrid-fui-active .win95.tg-rect-window.window-maximized>.win-controls>[data-close-window]{right:10px!important;top:9px!important}
body.techgrid-fui-active .win95.tg-hex-window.window-maximized>.win-body,
body.techgrid-fui-active .win95.tg-rect-window.window-maximized>.win-body,
body.techgrid-fui-active .win95.tg-hex-window.window-maximized>.alert-content,
body.techgrid-fui-active .win95.tg-rect-window.window-maximized>.alert-content{left:10px!important;right:10px!important;top:46px!important;bottom:10px!important;clip-path:none!important}
body.techgrid-fui-active .win95.tg-hex-window.window-maximized.praetorian-control-window>.hero-banner,
body.techgrid-fui-active .win95.tg-rect-window.window-maximized.praetorian-control-window>.hero-banner{left:10px!important;right:10px!important;top:46px!important;height:70px!important;clip-path:none!important}
body.techgrid-fui-active .win95.tg-hex-window.window-maximized.praetorian-control-window>.prae-main,
body.techgrid-fui-active .win95.tg-rect-window.window-maximized.praetorian-control-window>.prae-main{left:10px!important;right:10px!important;top:124px!important;bottom:10px!important}

/* Rechteckige Resize-Zonen liegen an allen vier realen Fensterkanten; kein Griff verändert ungefragt die zweite Achse. */
body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>.win-resizer-n,
body.techgrid-fui-active .win95.tg-rect-window:not(.window-maximized)>.win-resizer-n,
body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>.win-resizer-s,
body.techgrid-fui-active .win95.tg-rect-window:not(.window-maximized)>.win-resizer-s{left:8px!important;right:8px!important}
body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>.win-resizer-e,
body.techgrid-fui-active .win95.tg-rect-window:not(.window-maximized)>.win-resizer-e{right:-7px!important;top:8px!important;bottom:8px!important}
body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>.win-resizer-w,
body.techgrid-fui-active .win95.tg-rect-window:not(.window-maximized)>.win-resizer-w{left:-7px!important;top:8px!important;bottom:8px!important}

/* FlowDeck darf im Rechteck die verfügbare Breite nutzen und wird nicht länger an eine gedachte Wabenspitze angepasst. */
body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized) .tg-fluid-row,
body.techgrid-fui-active .win95.tg-rect-window:not(.window-maximized) .tg-fluid-row{width:100%!important;max-width:100%!important;transform:none!important;opacity:1!important}

@media(max-width:760px),(max-height:620px){
  body.techgrid-fui-active .win95.tg-hex-window,
  body.techgrid-fui-active .win95.tg-rect-window,
  body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized),
  body.techgrid-fui-active .win95.tg-rect-window:not(.window-maximized){min-width:240px!important;min-height:170px!important;aspect-ratio:auto!important;clip-path:none!important}
  body.techgrid-fui-active .win95.tg-hex-window>.win-title,
  body.techgrid-fui-active .win95.tg-rect-window>.win-title,
  body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>.win-title,
  body.techgrid-fui-active .win95.tg-rect-window:not(.window-maximized)>.win-title{left:7px!important;right:86px!important;top:6px!important;width:auto!important;height:29px!important;padding:0 9px!important;transform:none!important}
  body.techgrid-fui-active .win95.tg-hex-window>.win-controls>.win-btn,
  body.techgrid-fui-active .win95.tg-rect-window>.win-controls>.win-btn{top:8px!important;width:23px!important;height:23px!important;min-width:23px!important}
  body.techgrid-fui-active .win95.tg-hex-window>.win-controls>[data-minimize-window],
  body.techgrid-fui-active .win95.tg-rect-window>.win-controls>[data-minimize-window]{left:auto!important;right:62px!important}
  body.techgrid-fui-active .win95.tg-hex-window>.win-controls>[data-maximize-window],
  body.techgrid-fui-active .win95.tg-rect-window>.win-controls>[data-maximize-window]{right:36px!important}
  body.techgrid-fui-active .win95.tg-hex-window>.win-controls>[data-close-window],
  body.techgrid-fui-active .win95.tg-rect-window>.win-controls>[data-close-window]{right:10px!important}
  body.techgrid-fui-active .win95.tg-hex-window>.win-body,
  body.techgrid-fui-active .win95.tg-rect-window>.win-body,
  body.techgrid-fui-active .win95.tg-hex-window>.alert-content,
  body.techgrid-fui-active .win95.tg-rect-window>.alert-content{left:7px!important;right:7px!important;top:42px!important;bottom:7px!important;padding:9px!important}
  body.techgrid-fui-active .win95.tg-hex-window.praetorian-control-window>.hero-banner,
  body.techgrid-fui-active .win95.tg-rect-window.praetorian-control-window>.hero-banner{left:7px!important;right:7px!important;top:42px!important;height:58px!important;padding:8px 11px!important}
  body.techgrid-fui-active .win95.tg-hex-window.praetorian-control-window>.prae-main,
  body.techgrid-fui-active .win95.tg-rect-window.praetorian-control-window>.prae-main{left:7px!important;right:7px!important;top:106px!important;bottom:7px!important}
}

/* Michael Klementz | 27.09.2026 13:05 Uhr – Objekt 61b Nachsicherung: Diese spezifische Regel gewinnt auch gegen historische :not()-Wabenregeln; Rechteck heißt hier ausdrücklich ohne Clip-Maske und ohne Seitenverhältnis. */
body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized),
body.techgrid-fui-active .win95.tg-rect-window:not(.window-maximized){
  --tg-win-shape:polygon(0 0,100% 0,100% 100%,0 100%)!important;
  aspect-ratio:auto!important;
  clip-path:none!important;
}

/* Michael Klementz | 27.09.2026 13:05 Uhr – Objekt 61b finale Geometrie: Die neue Rechteckklasse hat bewusst höhere Priorität als alle historischen Waben-Positionsregeln. */
body.techgrid-fui-active .win95.tg-hex-window.tg-rect-window:not(.window-maximized){
  aspect-ratio:auto!important;clip-path:none!important;min-width:260px!important;min-height:190px!important;
}
body.techgrid-fui-active .win95.tg-hex-window.tg-rect-window:not(.window-maximized)>.win-title{
  left:8px!important;right:94px!important;top:7px!important;bottom:auto!important;width:auto!important;height:31px!important;
  padding:0 10px!important;justify-content:flex-start!important;text-align:left!important;transform:none!important;clip-path:none!important;
}
body.techgrid-fui-active .win95.tg-hex-window.tg-rect-window:not(.window-maximized)>.win-controls>[data-minimize-window]{left:auto!important;right:66px!important;top:9px!important}
body.techgrid-fui-active .win95.tg-hex-window.tg-rect-window:not(.window-maximized)>.win-controls>[data-maximize-window]{left:auto!important;right:38px!important;top:9px!important}
body.techgrid-fui-active .win95.tg-hex-window.tg-rect-window:not(.window-maximized)>.win-controls>[data-close-window]{left:auto!important;right:10px!important;top:9px!important}
body.techgrid-fui-active .win95.tg-hex-window.tg-rect-window:not(.window-maximized)>.win-body,
body.techgrid-fui-active .win95.tg-hex-window.tg-rect-window:not(.window-maximized)>.alert-content{
  left:10px!important;right:10px!important;top:46px!important;bottom:10px!important;width:auto!important;height:auto!important;clip-path:none!important;
}
@media(max-width:760px),(max-height:620px){
  body.techgrid-fui-active .win95.tg-hex-window.tg-rect-window:not(.window-maximized){min-width:240px!important;min-height:170px!important;aspect-ratio:auto!important;clip-path:none!important}
  body.techgrid-fui-active .win95.tg-hex-window.tg-rect-window:not(.window-maximized)>.win-title{left:7px!important;right:86px!important;top:6px!important;width:auto!important;height:29px!important;padding:0 9px!important}
  body.techgrid-fui-active .win95.tg-hex-window.tg-rect-window:not(.window-maximized)>.win-controls>[data-minimize-window]{left:auto!important;right:62px!important;top:8px!important}
  body.techgrid-fui-active .win95.tg-hex-window.tg-rect-window:not(.window-maximized)>.win-controls>[data-maximize-window]{left:auto!important;right:36px!important;top:8px!important}
  body.techgrid-fui-active .win95.tg-hex-window.tg-rect-window:not(.window-maximized)>.win-controls>[data-close-window]{left:auto!important;right:10px!important;top:8px!important}
  body.techgrid-fui-active .win95.tg-hex-window.tg-rect-window:not(.window-maximized)>.win-body,
  body.techgrid-fui-active .win95.tg-hex-window.tg-rect-window:not(.window-maximized)>.alert-content{left:7px!important;right:7px!important;top:42px!important;bottom:7px!important}
}

/* Michael Klementz | 28.09.2026 – Schritt 113: Kein separater Bewegungs-Schalter mehr in der unteren Sitzungsleiste; Steuerung ausschließlich über Desktop-Rechtsklick. */

/* Michael Klementz | 27.09.2026 – Objekt 62: „Bewegungen AUS“ stoppt wirklich ALLE CSS-Animationen und Übergänge im TechGrid, in Fenstern und in eingebetteten Same-Origin-Modulen. */
body.techgrid-motion-off:not(#mkl-motion-lock-a):not(#mkl-motion-lock-b),
body.techgrid-motion-off:not(#mkl-motion-lock-a):not(#mkl-motion-lock-b) *,
body.techgrid-motion-off:not(#mkl-motion-lock-a):not(#mkl-motion-lock-b) *::before,
body.techgrid-motion-off:not(#mkl-motion-lock-a):not(#mkl-motion-lock-b) *::after{
  animation:none!important;
  animation-name:none!important;
  animation-duration:0s!important;
  animation-delay:0s!important;
  transition:none!important;
  transition-duration:0s!important;
  transition-delay:0s!important;
  scroll-behavior:auto!important;
}

/* Hover darf bei ausgeschalteten Bewegungen weiterhin Farbe/Fokus zeigen, aber nichts mehr verschieben, drehen oder skalieren. Die künstlichen :not()-IDs erhöhen bewusst nur die Priorität gegen ältere !important-TechGrid-Regeln. */
body.techgrid-motion-off:not(#mkl-motion-hover-a):not(#mkl-motion-hover-b) :is(button,a,summary):hover,
body.techgrid-motion-off:not(#mkl-motion-hover-a):not(#mkl-motion-hover-b) .win-btn:hover,
body.techgrid-motion-off:not(#mkl-motion-hover-a):not(#mkl-motion-hover-b) .os-btn:hover,
body.techgrid-motion-off:not(#mkl-motion-hover-a):not(#mkl-motion-hover-b) .tg-flow-action:hover,
body.techgrid-motion-off:not(#mkl-motion-hover-a):not(#mkl-motion-hover-b) .pizza-net-window :is(.pizza-send-order,.pizza-film-done):hover,
body.techgrid-motion-off:not(#mkl-motion-hover-a):not(#mkl-motion-hover-b) .tg-note-commanddeck button:hover,
body.techgrid-motion-off:not(#mkl-motion-hover-a):not(#mkl-motion-hover-b) .tg-note-emoji summary:hover,
body.techgrid-motion-off:not(#mkl-motion-hover-a):not(#mkl-motion-hover-b) .check-group>label:hover,
body.techgrid-motion-off:not(#mkl-motion-hover-a):not(#mkl-motion-hover-b) .tg-flow-table tbody tr:hover,
body.techgrid-motion-off:not(#mkl-motion-hover-a):not(#mkl-motion-hover-b) .tg-flow-table tbody tr:hover td{transform:none!important}
body.techgrid-motion-off:not(#mkl-motion-hover-a):not(#mkl-motion-hover-b) .techgrid-desktop-v3 button.tg-node:hover:not(.is-dragging),
body.techgrid-motion-off:not(#mkl-motion-hover-a):not(#mkl-motion-hover-b) .techgrid-desktop-v3 button.tg-node:focus-visible:not(.is-dragging),
body.techgrid-motion-off:not(#mkl-motion-hover-a):not(#mkl-motion-hover-b) .techgrid-desktop-v3 button.tg-node.is-dragging{transform:translate(-50%,-50%)!important}
body.techgrid-motion-off:not(#mkl-motion-hover-a):not(#mkl-motion-hover-b) .tg-node:hover .tg-node-frame,
body.techgrid-motion-off:not(#mkl-motion-hover-a):not(#mkl-motion-hover-b) .tg-node:focus-visible .tg-node-frame,
body.techgrid-motion-off:not(#mkl-motion-hover-a):not(#mkl-motion-hover-b) .tg-node.is-hover .tg-node-frame,
body.techgrid-motion-off:not(#mkl-motion-hover-a):not(#mkl-motion-hover-b) .tg-node:hover .tg-node-icon,
body.techgrid-motion-off:not(#mkl-motion-hover-a):not(#mkl-motion-hover-b) .tg-node:focus-visible .tg-node-icon,
body.techgrid-motion-off:not(#mkl-motion-hover-a):not(#mkl-motion-hover-b) .tg-family-focus .tg-node-frame{transform:none!important}
body.techgrid-motion-off:not(#mkl-motion-hover-a):not(#mkl-motion-hover-b) .tg-node-folder:is(:hover,.stack-preview) .tg-stack-slab{transform:translate3d(0,0,0) rotateY(0) scale(1)!important}
body.techgrid-motion-off:not(#mkl-motion-hover-a):not(#mkl-motion-hover-b) .tg-node-folder.stack-preview .tg-stack-slab{opacity:.42!important;filter:drop-shadow(0 0 8px var(--tg-glow))!important}
body.techgrid-motion-off:not(#mkl-motion-hover-a):not(#mkl-motion-hover-b) .tg-flow-action:hover::before{transform:translateX(-108%)!important;opacity:0!important}

/* Die Halte-Zuordnung bleibt funktional, zeigt bei Bewegung AUS aber nur einen statischen Halteindikator statt eines weiterlaufenden Balkens. */
body.techgrid-motion-off .tg-reparent-meter i{animation:none!important;width:38%!important;opacity:.7}

/* Accessibility-Fallback: Selbst wenn JavaScript noch nicht initialisiert ist, erzwingt die OS-Vorgabe Reduced Motion dieselbe ruhige Darstellung. */
@media(prefers-reduced-motion:reduce){
  body[class*="user-theme-techgrid-"]:not(#mkl-reduced-lock-a):not(#mkl-reduced-lock-b),
  body[class*="user-theme-techgrid-"]:not(#mkl-reduced-lock-a):not(#mkl-reduced-lock-b) *,
  body[class*="user-theme-techgrid-"]:not(#mkl-reduced-lock-a):not(#mkl-reduced-lock-b) *::before,
  body[class*="user-theme-techgrid-"]:not(#mkl-reduced-lock-a):not(#mkl-reduced-lock-b) *::after{
    animation:none!important;
    animation-name:none!important;
    animation-duration:0s!important;
    animation-delay:0s!important;
    transition:none!important;
    transition-duration:0s!important;
    transition-delay:0s!important;
    scroll-behavior:auto!important;
  }
  body[class*="user-theme-techgrid-"] .tg-node:hover:not(.is-dragging),
  body[class*="user-theme-techgrid-"] .tg-node:focus-visible:not(.is-dragging){transform:translate(-50%,-50%)!important}
  body[class*="user-theme-techgrid-"] .tg-node:hover .tg-node-frame,
  body[class*="user-theme-techgrid-"] .tg-node:focus-visible .tg-node-frame,
  body[class*="user-theme-techgrid-"] .tg-node.is-hover .tg-node-frame,
  body[class*="user-theme-techgrid-"] .tg-node:hover .tg-node-icon,
  body[class*="user-theme-techgrid-"] .tg-node:focus-visible .tg-node-icon,
  body[class*="user-theme-techgrid-"] .win-btn:hover,
  body[class*="user-theme-techgrid-"] .os-btn:hover,
  body[class*="user-theme-techgrid-"] button:hover,
  body[class*="user-theme-techgrid-"] .tg-flow-action:hover,
  body[class*="user-theme-techgrid-"] .tg-flow-table tbody tr:hover,
  body[class*="user-theme-techgrid-"] .tg-flow-table tbody tr:hover td{transform:none!important}
  body[class*="user-theme-techgrid-"] .tg-flow-action:hover::before{transform:translateX(-108%)!important;opacity:0!important}
  body[class*="user-theme-techgrid-"]:not(#mkl-reduced-hover-a):not(#mkl-reduced-hover-b) :is(button,a,summary):hover{transform:none!important}
  body[class*="user-theme-techgrid-"]:not(#mkl-reduced-hover-a):not(#mkl-reduced-hover-b) .techgrid-desktop-v3 button.tg-node:hover:not(.is-dragging),
  body[class*="user-theme-techgrid-"]:not(#mkl-reduced-hover-a):not(#mkl-reduced-hover-b) .techgrid-desktop-v3 button.tg-node:focus-visible:not(.is-dragging),
  body[class*="user-theme-techgrid-"]:not(#mkl-reduced-hover-a):not(#mkl-reduced-hover-b) .techgrid-desktop-v3 button.tg-node.is-dragging{transform:translate(-50%,-50%)!important}
  body[class*="user-theme-techgrid-"]:not(#mkl-reduced-hover-a):not(#mkl-reduced-hover-b) .tg-family-focus .tg-node-frame,
  body[class*="user-theme-techgrid-"]:not(#mkl-reduced-hover-a):not(#mkl-reduced-hover-b) .tg-node:hover .tg-node-frame,
  body[class*="user-theme-techgrid-"]:not(#mkl-reduced-hover-a):not(#mkl-reduced-hover-b) .tg-node:focus-visible .tg-node-frame,
  body[class*="user-theme-techgrid-"]:not(#mkl-reduced-hover-a):not(#mkl-reduced-hover-b) .tg-node:hover .tg-node-icon,
  body[class*="user-theme-techgrid-"]:not(#mkl-reduced-hover-a):not(#mkl-reduced-hover-b) .tg-node:focus-visible .tg-node-icon{transform:none!important}
  body[class*="user-theme-techgrid-"]:not(#mkl-reduced-hover-a):not(#mkl-reduced-hover-b) .tg-node-folder:is(:hover,.stack-preview) .tg-stack-slab{transform:translate3d(0,0,0) rotateY(0) scale(1)!important}
  body[class*="user-theme-techgrid-"] .tg-reparent-meter i{animation:none!important;width:38%!important;opacity:.7}
}


/* Michael Klementz | 27.09.2026 – Objekt 63: TechGrid-Systemchrome bekommt eine feste Hierarchie und eine gemeinsame dynamische Safe-Area; Sitzung, Dock, Versionsstand und maximierte Fenster überdecken sich nicht mehr. */
body.techgrid-fui-active{
  --tg-session-bottom-safe:52px;
  --tg-dock-bottom:52px;
  --tg-system-bottom-safe:52px;
}
body.techgrid-fui-active .tg-session-nav{z-index:2147470800!important}
body.techgrid-fui-active .tg-window-dock{
  bottom:var(--tg-dock-bottom,52px)!important;
  z-index:2147470750!important;
}
body.techgrid-fui-active .tg-version-mark{z-index:2147470700!important}
body.techgrid-fui-active .win95.tg-hex-window.window-maximized,
body.techgrid-fui-active .win95.tg-rect-window.window-maximized{
  top:8px!important;
  height:calc(100% - var(--tg-system-bottom-safe,52px) - 16px)!important;
  max-height:calc(100% - var(--tg-system-bottom-safe,52px) - 16px)!important;
}
@media(max-width:720px),(max-height:520px){
  body.techgrid-fui-active .tg-window-dock{bottom:var(--tg-dock-bottom,48px)!important}
}

/* Michael Klementz | 27.09.2026 – Objekt 63: Der Standarddesktop-Scrollbar-Gutter ist im vollflächigen TechGrid abgeschaltet; maximierte Fenster sitzen dadurch exakt im 8-px-Rahmen statt mit unsichtbarem Seitenversatz. */
body.techgrid-fui-active .desktop{scrollbar-gutter:auto!important}

/* Michael Klementz | 27.09.2026 14:53 Uhr – Objekt 65 Nachprüfung: Tastaturfokus bleibt in allen neun TechGrid-Designs unabhängig von Browser-Heuristik und älteren outline:0-Regeln sichtbar. */
body.os-body.techgrid-fui-active:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-light,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-matrix,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) .techgrid-desktop-v3 button.tg-node:focus,
body.os-body.techgrid-fui-active:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-light,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-matrix,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) .techgrid-desktop-v3 button.tg-node:focus-visible{
  outline:2px solid var(--tg-line-2,var(--tg-line))!important;
  outline-offset:5px!important;
  filter:drop-shadow(0 0 15px var(--tg-glow))!important;
}
body.techgrid-fui-active .tg-core-orbit:focus-visible{
  outline:2px solid var(--tg-line-2,var(--tg-line))!important;
  outline-offset:7px!important;
  filter:drop-shadow(0 0 18px var(--tg-glow))!important;
}
body.techgrid-fui-active .tg-session-nav :is(button,a):focus-visible,
body.techgrid-fui-active .tg-context-menu :is(button,input,select,a):focus-visible,
body.techgrid-fui-active .tg-dialog :is(button,input,select,textarea,a):focus-visible,
body.techgrid-fui-active .tg-idle-lock :is(button,input,a):focus-visible{
  outline:2px solid var(--tg-line-2,var(--tg-line))!important;
  outline-offset:2px!important;
  box-shadow:0 0 0 1px color-mix(in srgb,var(--tg-panel,#071018) 72%,transparent),0 0 16px var(--tg-glow)!important;
}
body.techgrid-fui-active .win95.tg-rect-window :is(.win-btn,button,a[href],input,textarea,select,[tabindex]):focus-visible{
  outline:2px solid var(--tg-line-2,var(--tg-line))!important;
  outline-offset:2px!important;
}



/* Michael Klementz | 27.09.2026 15:11 Uhr – Objekt 66: Touch/Tablet/Stift nutzen native Inhalts-Scrollgesten; nur Titel, Resize-Griffe und Waben fangen Gesten exklusiv für Drag/Resize ab. */
body.techgrid-fui-active .win95.tg-hex-window{touch-action:auto!important}
body.techgrid-fui-active .win95.tg-hex-window>.win-title{touch-action:none!important}
body.techgrid-fui-active .win95.tg-hex-window>:is(.win-body,.alert-content,.prae-main),
body.techgrid-fui-active .win95.tg-hex-window :is(.prae-content,.inner-pad,.table-scroll,.handbook-index,.handbook-content,.secure-mail-folders,.secure-mail-list,.secure-mail-reader,.netchat-messages,.chat-message-list,.sim-shell-output,.pizza-browser-body,.bndx-code,.bndx-remote-shell,.tg-note-paper){
  touch-action:pan-x pan-y!important;-webkit-overflow-scrolling:touch;
}
body.techgrid-fui-active :is(.win-btn,.tg-dock-node,.tg-context-menu button,.tg-dialog button,.tg-session-nav button,.tg-session-nav a){touch-action:manipulation}
body.techgrid-fui-active .tg-context-menu{touch-action:pan-y}
body.techgrid-fui-active .tg-dialog-body{touch-action:pan-y}

/* Grobe Zeiger bekommen größere echte Trefferflächen, ohne Maus-/Desktop-Geometrie unnötig aufzublähen. */
@media (pointer:coarse){
  body.techgrid-fui-active .tg-context-menu button{min-height:42px!important;padding:9px 11px!important}
  body.techgrid-fui-active .tg-dialog button{min-height:42px!important}
  body.techgrid-fui-active .tg-session-nav button,body.techgrid-fui-active .tg-session-nav a{min-height:40px!important;line-height:38px!important;padding-inline:13px!important}
  body.techgrid-fui-active .tg-dock-node{min-height:40px!important;height:40px!important;padding-block:7px!important}
}
@media (pointer:coarse) and (max-width:620px){
  body.techgrid-fui-active .tg-dock-node{min-height:38px!important;height:38px!important}
}

/* Michael Klementz | 27.09.2026 15:18 Uhr – Objekt 66 Nachprüfung: Coarse-Resize-Zonen liegen nicht mehr über Titel/Controls; Fensterbuttons bleiben oberste Touch-Ziele, die acht Resize-Richtungen trotzdem erreichbar. */
@media (pointer:coarse){
  body.techgrid-fui-active .win95.win-managed.tg-hex-window.tg-rect-window>.win-title{right:136px!important}
  body.techgrid-fui-active .win95.win-managed.tg-hex-window.tg-rect-window>.win-controls>.win-btn{z-index:3005!important;top:5px!important;width:36px!important;height:36px!important;min-width:36px!important;font-size:11px!important;overflow:visible!important}
  body.techgrid-fui-active .win95.win-managed.tg-hex-window.tg-rect-window>.win-controls>.win-btn::before{content:"";position:absolute;inset:-2px;background:transparent;pointer-events:auto}
  body.techgrid-fui-active .win95.win-managed.tg-hex-window.tg-rect-window>.win-controls>[data-minimize-window]{left:auto!important;right:92px!important}
  body.techgrid-fui-active .win95.win-managed.tg-hex-window.tg-rect-window>.win-controls>[data-maximize-window]{left:auto!important;right:50px!important}
  body.techgrid-fui-active .win95.win-managed.tg-hex-window.tg-rect-window>.win-controls>[data-close-window]{left:auto!important;right:8px!important}
  body.techgrid-fui-active .win95.win-managed.tg-hex-window:not(.window-maximized)>.win-resizer-n{left:22px!important;right:132px!important;top:-7px!important;height:14px!important}
  body.techgrid-fui-active .win95.win-managed.tg-hex-window:not(.window-maximized)>.win-resizer-s{left:22px!important;right:22px!important;bottom:-9px!important;height:18px!important}
  body.techgrid-fui-active .win95.win-managed.tg-hex-window:not(.window-maximized)>.win-resizer-e{top:54px!important;bottom:24px!important;right:-7px!important;width:14px!important}
  body.techgrid-fui-active .win95.win-managed.tg-hex-window:not(.window-maximized)>.win-resizer-w{top:54px!important;bottom:24px!important;left:-7px!important;width:14px!important}
  body.techgrid-fui-active .win95.win-managed.tg-hex-window:not(.window-maximized)>.win-resizer-ne{top:-8px!important;right:-8px!important;width:22px!important;height:22px!important}
  body.techgrid-fui-active .win95.win-managed.tg-hex-window:not(.window-maximized)>.win-resizer-nw{top:-8px!important;left:-8px!important;width:22px!important;height:22px!important}
  body.techgrid-fui-active .win95.win-managed.tg-hex-window:not(.window-maximized)>.win-resizer-se{bottom:-10px!important;right:-10px!important;width:28px!important;height:28px!important}
  body.techgrid-fui-active .win95.win-managed.tg-hex-window:not(.window-maximized)>.win-resizer-sw{bottom:-10px!important;left:-10px!important;width:28px!important;height:28px!important}
}
@media (pointer:coarse) and (max-width:620px){
  body.techgrid-fui-active .win95.win-managed.tg-window-micro.tg-hex-window.tg-rect-window>.win-title{right:136px!important}
}

/* Michael Klementz | 27.09.2026 16:37 Uhr – Objekt 68: Unter 360 px Breite steht die Desktop-Version vertikal am rechten Rand; so kollidiert sie auch bei zweizeiliger Sitzungsleiste nicht mehr mit STARTMENÜ/ABMELDEN. */
@media (max-width:360px){
  body.techgrid-fui-active .tg-version-mark{
    right:4px!important;bottom:6px!important;top:auto!important;
    writing-mode:vertical-rl!important;transform:rotate(180deg)!important;
    font-size:6px!important;line-height:1!important;letter-spacing:.06em!important;
    width:auto!important;height:auto!important;max-height:92px!important;
  }
}

/* Michael Klementz | 27.09.2026 16:37 Uhr – Objekt 68: Normale Mindestgrößen bleiben erhalten, werden bei echten Extremviewports aber auf die verfügbare Safe-Area begrenzt; dadurch bleiben Fenster vollständig erreichbar statt über den Rand oder unter die Sitzung zu ragen. */
@media (max-width:760px),(max-height:620px){
  body.techgrid-fui-active .win95.win-managed.tg-hex-window:not(.window-maximized),
  body.techgrid-fui-active .win95.win-managed.tg-rect-window:not(.window-maximized){
    min-width:min(240px,calc(100vw - 8px))!important;
    min-height:min(170px,calc(100dvh - var(--tg-system-bottom-safe,52px) - 8px))!important;
  }
}

/* Michael Klementz | 27.09.2026 16:37 Uhr – Objekt 68: Maximierte TechGrid-Fenster übernehmen keine historische 240×120-Mindestgröße; ihre calc()-Geometrie darf sich bei Ultra-Micro vollständig an die echte Safe-Area anpassen. */
body.techgrid-fui-active .win95.win-managed:is(.tg-hex-window,.tg-rect-window).window-maximized{
  min-width:0!important;min-height:0!important;
}

/* Michael Klementz | 27.09.2026 19:57 Uhr – Objekt 73: Solar Light und Matrix Light bekommen auf hellen Flächen kontrastfeste Akzentfarben; Benachrichtigungsrot bleibt in allen neun TechGrid-Themes auch mit weißer Kleinschrift lesbar. */
body.os-body.user-theme-techgrid-light,
body.techgrid-module.user-theme-techgrid-light,
body.techgrid-hex-embedded.user-theme-techgrid-light{
  --tg-line:#b53a18;
  --tg-line-2:#a14a00;
  --tg-danger:#b91f3a;
}
body.os-body.user-theme-techgrid-matrix,
body.techgrid-module.user-theme-techgrid-matrix,
body.techgrid-hex-embedded.user-theme-techgrid-matrix{
  --tg-line:#075c47;
  --tg-line-2:#004f91;
  --tg-danger:#a81731;
}
body.os-body:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel),
body.techgrid-module:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel),
body.techgrid-hex-embedded:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel){
  --tg-danger:#b91f3a;
}

/* Michael Klementz | 27.09.2026 19:57 Uhr – Objekt 73: Eingabehilfen übernehmen in allen TechGrid-Varianten dieselben lesbaren Themefarben statt Browser-Standardweiß/-grau. */
body.techgrid-fui-active :is(input,textarea)::placeholder,
body.techgrid-module :is(input,textarea)::placeholder,
body.techgrid-hex-embedded :is(input,textarea)::placeholder{color:var(--tg-muted)!important;opacity:1!important}
body.techgrid-fui-active select option,
body.techgrid-module select option,
body.techgrid-hex-embedded select option{background:var(--tg-panel-2)!important;color:var(--tg-ink)!important}

/* Michael Klementz | 27.09.2026 – Objekt 74: Fehlgeschlagene Module bleiben als bedienbarer Fehlerzustand sichtbar; Wiederholen ist ein echtes Touch-/Tastaturziel statt nur Text. */
body.techgrid-fui-active .tg-module-state.is-error{flex-wrap:wrap;justify-content:center;pointer-events:auto}
body.techgrid-fui-active .tg-module-retry{flex:0 0 auto;width:auto;max-width:100%;min-height:28px;padding:4px 8px;border:1px solid currentColor;background:transparent;color:inherit;font:800 9px/1.2 ui-monospace,Consolas,monospace;letter-spacing:.06em;white-space:normal;cursor:pointer;pointer-events:auto}
body.techgrid-fui-active .tg-module-retry:hover,body.techgrid-fui-active .tg-module-retry:focus-visible{background:color-mix(in srgb,currentColor 14%,transparent);outline:2px solid currentColor;outline-offset:2px}
body.techgrid-fui-active .tg-module-retry[hidden]{display:none!important}

/* Michael Klementz | 27.09.2026 – Objekt 74: Extrem lange Namen/URLs bleiben in Karten, Chats und Adminlisten innerhalb ihrer Fläche; laufende Formularübertragungen sind sichtbar und nicht doppelt klickbar. */
.portal-item strong,.portal-item span,.netchat-userlabel,.chat-channel-label,.admin-summary-url,.empty-note,.os-msg{overflow-wrap:anywhere;word-break:normal}
form.is-submitting{cursor:progress}
form.is-submitting button[type="submit"],form.is-submitting input[type="submit"]{pointer-events:none;opacity:.68}

/* Michael Klementz | 28.09.2026 – Schritt 115: Theme-Audit für Waben-/Icontexte. Die Titel- und Infotöne sind je TechGrid-Theme bewusst kontrastfest statt nur dekorativ getönt; besonders Solar Light und Matrix Light bleiben auch während des Titel-Shimmers lesbar. */
body.os-body.user-theme-techgrid-amber{--tg-node-title:#fff7da;--tg-node-info:#e4cfa0;--tg-node-shine:#ffe85b;--tg-alert-bg:#6a0d08;--tg-alert-bg2:#350504;--tg-alert-ring:#ff5a36;--tg-alert-text:#ffe85b;--tg-alert-info:#ffd56b;--tg-alert-glow:rgba(255,76,44,.48)}
body.os-body.user-theme-techgrid-aqua{--tg-node-title:#eaffff;--tg-node-info:#a7dce4;--tg-node-shine:#2fffd3;--tg-alert-bg:#6f0b17;--tg-alert-bg2:#37050b;--tg-alert-ring:#ff516c;--tg-alert-text:#ffe96a;--tg-alert-info:#ffd775;--tg-alert-glow:rgba(255,81,108,.46)}
body.os-body.user-theme-techgrid-light{--tg-node-title:#241b16;--tg-node-info:#544940;--tg-node-shine:#842600;--tg-alert-bg:#8a1720;--tg-alert-bg2:#530b12;--tg-alert-ring:#d42c3c;--tg-alert-text:#fff08a;--tg-alert-info:#ffe099;--tg-alert-glow:rgba(190,32,48,.34)}
body.os-body.user-theme-techgrid-crimson{--tg-node-title:#fff1ea;--tg-node-info:#f3c2b6;--tg-node-shine:#ffb743;--tg-alert-bg:#670807;--tg-alert-bg2:#330303;--tg-alert-ring:#ff4937;--tg-alert-text:#ffe05a;--tg-alert-info:#ffd56e;--tg-alert-glow:rgba(255,73,55,.5)}
body.os-body.user-theme-techgrid-violet{--tg-node-title:#f7f1ff;--tg-node-info:#d9c7f0;--tg-node-shine:#ff83ed;--tg-alert-bg:#620a22;--tg-alert-bg2:#310510;--tg-alert-ring:#ff456d;--tg-alert-text:#ffe56d;--tg-alert-info:#ffd67e;--tg-alert-glow:rgba(255,69,109,.46)}
body.os-body.user-theme-techgrid-matrix{--tg-node-title:#10231d;--tg-node-info:#29443a;--tg-node-shine:#00365f;--tg-alert-bg:#7a151b;--tg-alert-bg2:#470b0e;--tg-alert-ring:#c8222f;--tg-alert-text:#fff07a;--tg-alert-info:#ffe28c;--tg-alert-glow:rgba(200,34,47,.32)}

body.techgrid-fui-active .tg-node:not([data-tg-id="security-alert"]){color:var(--tg-node-title,var(--tg-ink))!important}
body.techgrid-fui-active .tg-node:not([data-tg-id="security-alert"]) .tg-shimmer-text{
  background:linear-gradient(100deg,var(--tg-node-title,var(--tg-ink)) 0 36%,var(--tg-node-shine,var(--tg-line-2)) 48%,var(--tg-node-title,var(--tg-ink)) 62% 100%)!important;
  background-size:260% 100%!important;-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;text-shadow:none!important;
}
body.techgrid-fui-active .tg-node:not([data-tg-id="security-alert"]) small{color:var(--tg-node-info,var(--tg-muted))!important;text-shadow:none!important}

/* SECURITY ALERT ist semantisch und themeübergreifend rot/gelb. Die Grundform bleibt der runde TechGrid-Knoten, aber Hintergrund, Ring, Icon und Schrift sind bewusst Alarmfarben. */
body.techgrid-fui-active .tg-node[data-tg-id="security-alert"]{color:var(--tg-alert-text)!important}
body.techgrid-fui-active .tg-node[data-tg-id="security-alert"] .tg-node-frame{
  background:conic-gradient(from 0deg,var(--tg-alert-ring),#7a1018 17%,var(--tg-alert-ring) 36%,#4c070b 58%,var(--tg-alert-ring) 79%,#5b090f 100%)!important;
  filter:drop-shadow(0 0 15px var(--tg-alert-glow))!important;
}
body.techgrid-fui-active .tg-node[data-tg-id="security-alert"] .tg-node-frame::before{
  background:radial-gradient(circle at 36% 28%,color-mix(in srgb,var(--tg-alert-ring) 30%,var(--tg-alert-bg)),var(--tg-alert-bg2) 78%)!important;
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--tg-alert-ring) 64%,transparent),inset 0 0 22px rgba(0,0,0,.28)!important;
}
body.techgrid-fui-active .tg-node[data-tg-id="security-alert"] .tg-node-surface{
  background:radial-gradient(circle at 50% 38%,color-mix(in srgb,var(--tg-alert-bg) 82%,var(--tg-alert-ring) 18%),var(--tg-alert-bg2) 76%)!important;
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--tg-alert-ring) 44%,transparent),inset 0 0 24px rgba(0,0,0,.24)!important;
}
body.techgrid-fui-active .tg-node[data-tg-id="security-alert"] .tg-node-icon{
  filter:drop-shadow(0 0 8px color-mix(in srgb,var(--tg-alert-text) 54%,transparent))!important;opacity:1!important;
}
body.techgrid-fui-active .tg-node[data-tg-id="security-alert"] .tg-shimmer-text{
  background:linear-gradient(100deg,var(--tg-alert-text) 0 38%,#fff8b8 49%,var(--tg-alert-text) 61% 100%)!important;
  background-size:260% 100%!important;-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;text-shadow:0 0 8px var(--tg-alert-glow)!important;
}
body.techgrid-fui-active .tg-node[data-tg-id="security-alert"] small{color:var(--tg-alert-info)!important;text-shadow:0 0 7px rgba(0,0,0,.34)!important;opacity:1!important}
body.techgrid-fui-active .tg-node[data-tg-id="security-alert"] .tg-security-orb{
  border-color:var(--tg-alert-text)!important;background:var(--tg-alert-bg)!important;color:var(--tg-alert-text)!important;
  box-shadow:0 0 0 3px color-mix(in srgb,var(--tg-alert-ring) 18%,transparent),0 0 14px var(--tg-alert-glow)!important;opacity:.76!important;
}
body.techgrid-fui-active .tg-node[data-tg-id="security-alert"].has-security-event .tg-security-orb{
  color:#fff4a3!important;background:var(--tg-alert-ring)!important;box-shadow:0 0 0 4px color-mix(in srgb,var(--tg-alert-text) 18%,transparent),0 0 20px var(--tg-alert-glow)!important;opacity:1!important;
}
body.techgrid-fui-active .tg-node[data-tg-id="security-alert"] .tg-node-frame::after{
  border-top-color:var(--tg-alert-text)!important;border-left-color:var(--tg-alert-ring)!important;filter:drop-shadow(0 0 4px var(--tg-alert-glow))!important;
}
body.techgrid-fui-active .tg-node[data-tg-id="security-alert"] .tg-node-surface::before{
  border-right-color:var(--tg-alert-text)!important;border-bottom-color:var(--tg-alert-ring)!important;filter:drop-shadow(0 0 3px var(--tg-alert-glow))!important;
}
body.techgrid-fui-active .tg-node[data-tg-id="security-alert"] .tg-node-surface::after{
  background:linear-gradient(90deg,transparent 0 5%,var(--tg-alert-ring) 12%,transparent 34%,var(--tg-alert-text) 56%,transparent 84%,var(--tg-alert-ring) 94%,transparent 100%)!important;
}

/* Michael Klementz | 28.09.2026 – Schritt 117: Waben selbst werden beim Einblenden nicht mehr geblurrt. Geöffnete Sammelwaben erhalten je Theme eine feste, kontraststarke Textfarbe; der Titel-Shimmer wird im geöffneten Zustand bewusst deaktiviert, damit Titel und Infotext auf der hervorgehobenen Sammelwabenfläche jederzeit lesbar bleiben. */
body.os-body.user-theme-techgrid-amber{--tg-folder-open-title:#fff8d9;--tg-folder-open-info:#f1d797;--tg-folder-open-shadow:rgba(0,0,0,.72)}
body.os-body.user-theme-techgrid-aqua{--tg-folder-open-title:#efffff;--tg-folder-open-info:#b7edf2;--tg-folder-open-shadow:rgba(0,0,0,.72)}
body.os-body.user-theme-techgrid-light{--tg-folder-open-title:#29150d;--tg-folder-open-info:#5a2f1f;--tg-folder-open-shadow:transparent}
body.os-body.user-theme-techgrid-crimson{--tg-folder-open-title:#fff5e8;--tg-folder-open-info:#ffd2ad;--tg-folder-open-shadow:rgba(0,0,0,.72)}
body.os-body.user-theme-techgrid-violet{--tg-folder-open-title:#fff7ff;--tg-folder-open-info:#ecccf5;--tg-folder-open-shadow:rgba(0,0,0,.72)}
body.os-body.user-theme-techgrid-matrix{--tg-folder-open-title:#082118;--tg-folder-open-info:#29483d;--tg-folder-open-shadow:transparent}

body.techgrid-fui-active .tg-node-folder.is-open:not([data-tg-id="security-alert"]) strong,
body.techgrid-fui-active .tg-node-folder.is-open:not([data-tg-id="security-alert"]) .tg-shimmer-text{
  background:none!important;
  background-image:none!important;
  -webkit-background-clip:border-box!important;
  background-clip:border-box!important;
  color:var(--tg-folder-open-title,var(--tg-node-title,var(--tg-ink)))!important;
  -webkit-text-fill-color:var(--tg-folder-open-title,var(--tg-node-title,var(--tg-ink)))!important;
  text-shadow:0 1px 2px var(--tg-folder-open-shadow,transparent)!important;
  animation:none!important;
}
body.techgrid-fui-active .tg-node-folder.is-open:not([data-tg-id="security-alert"]) small{
  color:var(--tg-folder-open-info,var(--tg-node-info,var(--tg-muted)))!important;
  -webkit-text-fill-color:var(--tg-folder-open-info,var(--tg-node-info,var(--tg-muted)))!important;
  text-shadow:0 1px 2px var(--tg-folder-open-shadow,transparent)!important;
  opacity:1!important;
}


/* ==========================================================================
   v0.99.18 · Schritt 118 – TechGrid Motion System
   Gemeinsame Motion-Sprache: scharf, schnell, transform/opacity-basiert.
   ========================================================================== */
body.techgrid-fui-active{
  --tg-motion-instant:70ms;
  --tg-motion-fast:110ms;
  --tg-motion-ui:150ms;
  --tg-motion-panel:200ms;
  --tg-motion-window:270ms;
  --tg-ease-out:cubic-bezier(.16,.84,.24,1);
  --tg-ease-standard:cubic-bezier(.2,.72,.2,1);
  --tg-ease-in:cubic-bezier(.42,0,.8,.34);
}
body.techgrid-fui-active .tg-node,
body.techgrid-fui-active .tg-node-frame,
body.techgrid-fui-active .tg-node-surface,
body.techgrid-fui-active .tg-node strong,
body.techgrid-fui-active .tg-node small,
body.techgrid-fui-active .win-btn,
body.techgrid-fui-active .tg-dock-node,
body.techgrid-fui-active .tg-context-menu button,
body.techgrid-fui-active .tg-dialog button,
body.techgrid-fui-active .tg-dialog input,
body.techgrid-fui-active .tg-dialog select,
body.techgrid-fui-active .tg-dialog textarea,
body.techgrid-fui-active .tg-fluid-row{
  transition-duration:var(--tg-motion-ui)!important;
  transition-timing-function:var(--tg-ease-standard)!important;
}
body.techgrid-fui-active :is(button,.os-btn,.btn,a,input,select,textarea):focus-visible{
  transition:color var(--tg-motion-fast) var(--tg-ease-standard),border-color var(--tg-motion-fast) var(--tg-ease-standard),box-shadow var(--tg-motion-ui) var(--tg-ease-out),background-color var(--tg-motion-ui) var(--tg-ease-standard),transform var(--tg-motion-fast) var(--tg-ease-out)!important;
}
body.techgrid-fui-active .tg-context-menu{
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  animation:tgMenuIn var(--tg-motion-panel) var(--tg-ease-out) both;
  transform-origin:18px 18px;
}
body.techgrid-fui-active .tg-dialog-shade{
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  animation:tgShadeIn var(--tg-motion-ui) ease-out both;
}
body.techgrid-fui-active .tg-dialog{
  animation:tgDialogIn var(--tg-motion-panel) var(--tg-ease-out) both;
  transform-origin:50% 42%;
}
body.techgrid-fui-active .tg-node:hover:not(.is-dragging),
body.techgrid-fui-active .tg-node:focus-visible:not(.is-dragging){
  transition:transform var(--tg-motion-ui) var(--tg-ease-out),filter var(--tg-motion-ui) var(--tg-ease-out)!important;
}
body.techgrid-fui-active .tg-node.is-dragging{
  transition:none!important;
  will-change:transform;
}
body.techgrid-fui-active .win95.window-opening,
body.techgrid-fui-active .win95.tg-window-arrive{
  animation:tgWindowOpenSmooth var(--tg-motion-window) var(--tg-ease-out) both!important;
}
body.techgrid-fui-active .win95.window-closing{
  animation:tgWindowCloseSmooth var(--tg-motion-panel) var(--tg-ease-in) both!important;
}
body.techgrid-fui-active .tg-layout-sliding .tg-node{
  transition:transform 300ms var(--tg-ease-out),left 300ms var(--tg-ease-out),top 300ms var(--tg-ease-out)!important;
}
body.techgrid-fui-active .tg-content-stage > :where(section,article,div,form,fieldset,table,.table-frame,.info-frame,.portal-item){
  transition:opacity var(--tg-motion-panel) var(--tg-ease-out),transform var(--tg-motion-panel) var(--tg-ease-out),border-color var(--tg-motion-ui) var(--tg-ease-standard),box-shadow var(--tg-motion-ui) var(--tg-ease-standard);
}
body.techgrid-fui-active .tg-fluid-row{
  transition-property:transform,opacity,width,max-width,background-color,border-color!important;
}
@keyframes tgMenuIn{from{opacity:0;transform:translateY(-5px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes tgShadeIn{from{opacity:0}to{opacity:1}}
@keyframes tgDialogIn{from{opacity:0;transform:translateY(10px) scale(.975)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes tgWindowOpenSmooth{0%{opacity:0;transform:translateY(14px) scale(.975)}62%{opacity:1;transform:translateY(-1px) scale(1.004)}100%{opacity:1;transform:translateY(0) scale(1)}}
@keyframes tgWindowCloseSmooth{0%{opacity:1;transform:translateY(0) scale(1)}100%{opacity:0;transform:translateY(8px) scale(.982)}}
/* Die alten Node→Window-Morphs bleiben scharf und GPU-freundlich. */
@keyframes tgWindowFromNode{0%{opacity:0;transform:scale(.10) translateY(8px)}55%{opacity:1;transform:scale(1.012) translateY(-1px)}100%{opacity:1;transform:scale(1) translateY(0)}}
@keyframes tgWindowToNode{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.10) translateY(8px)}}
@media(prefers-reduced-motion:reduce){
  body.techgrid-fui-active *,body.techgrid-fui-active *::before,body.techgrid-fui-active *::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}


/* ==========================================================================
   v0.99.19 · Schritt 119 – Desktop Infobox System
   ========================================================================== */
body.techgrid-fui-active .tg-widget-layer{position:absolute;inset:0;z-index:18;pointer-events:none;overflow:hidden}
body.techgrid-fui-active .tg-widget{position:absolute;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;min-width:220px;min-height:120px;pointer-events:auto;color:var(--tg-ink);background:linear-gradient(155deg,color-mix(in srgb,var(--tg-line) 7%,var(--tg-panel-2)),var(--tg-panel-2) 55%,color-mix(in srgb,var(--tg-line-2) 5%,var(--tg-panel)));border:1px solid color-mix(in srgb,var(--tg-edge) 88%,transparent);box-shadow:0 12px 28px rgba(0,0,0,.28),0 0 18px color-mix(in srgb,var(--tg-glow) 60%,transparent),inset 0 0 0 1px rgba(255,255,255,.025);opacity:0;transform:translateY(7px) scale(.985);filter:hue-rotate(var(--tg-widget-hue,0deg));overflow:hidden;contain:layout paint;transition:opacity var(--tg-motion-panel) var(--tg-ease-out),transform var(--tg-motion-panel) var(--tg-ease-out),box-shadow var(--tg-motion-ui) var(--tg-ease-standard),border-color var(--tg-motion-ui) var(--tg-ease-standard)}
body.techgrid-fui-active .tg-widget::before{content:"";position:absolute;inset:0 auto 0 0;width:2px;background:linear-gradient(var(--tg-line),var(--tg-line-2),transparent);opacity:.9;pointer-events:none}
body.techgrid-fui-active .tg-widget.is-ready{opacity:1;transform:none}
body.techgrid-fui-active .tg-widget:hover{border-color:var(--tg-line-2);box-shadow:0 16px 34px rgba(0,0,0,.32),0 0 22px var(--tg-glow),inset 0 0 0 1px rgba(255,255,255,.035)}
body.techgrid-fui-active .tg-widget.is-moving,body.techgrid-fui-active .tg-widget.is-resizing{transition:none!important;z-index:120;box-shadow:0 22px 48px rgba(0,0,0,.38),0 0 28px var(--tg-glow)}
body.techgrid-fui-active .tg-widget>header{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center;padding:10px 10px 8px 12px;background:linear-gradient(90deg,color-mix(in srgb,var(--tg-line) 10%,transparent),transparent);border-bottom:1px solid color-mix(in srgb,var(--tg-edge) 58%,transparent);cursor:move;user-select:none;touch-action:none}
body.techgrid-fui-active .tg-widget.is-pinned>header{cursor:default}
body.techgrid-fui-active .tg-widget>header>div:first-child{min-width:0;display:grid;gap:2px}
body.techgrid-fui-active .tg-widget>header small{color:var(--tg-muted);font:700 7px/1 Consolas,monospace;letter-spacing:.18em;text-transform:uppercase}
body.techgrid-fui-active .tg-widget>header strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--tg-ink);font:800 11px/1.2 "Segoe UI",Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase}
body.techgrid-fui-active .tg-widget-state{padding:4px 6px;border:1px solid color-mix(in srgb,var(--tg-line-2) 46%,transparent);color:var(--tg-line-2);font:800 7px/1 Consolas,monospace;letter-spacing:.08em;white-space:nowrap}
body.techgrid-fui-active .tg-widget-state.is-error{color:#ffd05c;border-color:#ff5e4b;background:rgba(120,14,12,.18)}
body.techgrid-fui-active .tg-widget-actions{display:flex;gap:3px}
body.techgrid-fui-active .tg-widget-actions button{width:25px!important;height:24px!important;min-width:0!important;min-height:0!important;padding:0!important;display:grid!important;place-items:center!important;background:transparent!important;color:var(--tg-muted)!important;border:1px solid transparent!important;border-radius:0!important;box-shadow:none!important;font:800 13px/1 Consolas,monospace!important;cursor:pointer!important}
body.techgrid-fui-active .tg-widget-actions button:hover{color:var(--tg-line-2)!important;border-color:var(--tg-edge)!important;background:color-mix(in srgb,var(--tg-line) 8%,transparent)!important;transform:translateY(-1px)!important}
body.techgrid-fui-active .tg-widget-info{padding:6px 12px 0;color:var(--tg-muted);font:600 9px/1.35 "Segoe UI",Arial,sans-serif;overflow-wrap:anywhere}
body.techgrid-fui-active .tg-widget-body{min-height:0;overflow:auto;padding:9px 12px 8px;scrollbar-width:thin;scrollbar-color:var(--tg-line) transparent}
body.techgrid-fui-active .tg-widget-headline{color:var(--tg-line-2);font:800 clamp(15px,1.5vw,22px)/1.15 "Segoe UI",Arial,sans-serif;letter-spacing:.02em;overflow-wrap:anywhere}
body.techgrid-fui-active .tg-widget-detail{margin-top:5px;color:var(--tg-muted);font:600 10px/1.35 "Segoe UI",Arial,sans-serif}
body.techgrid-fui-active .tg-widget-empty{display:grid;place-items:center;height:100%;min-height:52px;text-align:center;color:var(--tg-muted);font:700 9px/1.45 Consolas,monospace;letter-spacing:.04em}
body.techgrid-fui-active .tg-widget-list{display:grid;gap:5px;margin-top:7px}
body.techgrid-fui-active .tg-widget-list>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;padding:5px 0;border-top:1px solid color-mix(in srgb,var(--tg-edge) 28%,transparent);font:600 9px/1.25 "Segoe UI",Arial,sans-serif}
body.techgrid-fui-active .tg-widget-list b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tg-widget-list span{color:var(--tg-muted);text-align:right}
body.techgrid-fui-active .tg-widget>footer{display:flex;justify-content:space-between;gap:8px;padding:6px 10px 7px 12px;border-top:1px solid color-mix(in srgb,var(--tg-edge) 35%,transparent);color:var(--tg-muted);font:700 7px/1 Consolas,monospace;letter-spacing:.06em}
body.techgrid-fui-active .tg-widget-online{display:flex;align-items:center;gap:5px}.tg-widget-online i{width:5px;height:5px;border-radius:50%;background:#5cffb7;box-shadow:0 0 7px #5cffb7}
body.techgrid-fui-active .tg-widget-chart{display:block;width:100%;height:42px;margin-top:7px;overflow:visible}.tg-widget-chart polyline{fill:none;stroke:var(--tg-line-2);stroke-width:1.8;vector-effect:non-scaling-stroke;filter:drop-shadow(0 0 4px var(--tg-glow))}
body.techgrid-fui-active .tg-widget-resizer{position:absolute;right:0;bottom:0;width:18px;height:18px;cursor:nwse-resize;touch-action:none;background:linear-gradient(135deg,transparent 45%,var(--tg-edge) 46% 52%,transparent 53% 64%,var(--tg-line-2) 65% 71%,transparent 72%)}
body.techgrid-fui-active .tg-widget.is-pinned .tg-widget-resizer{display:none}.tg-widget.is-loading .tg-widget-state{animation:tgWidgetPulse .8s ease-in-out infinite alternate}
@keyframes tgWidgetPulse{to{opacity:.45}}
body.user-theme-techgrid-light.techgrid-fui-active .tg-widget,body.user-theme-techgrid-matrix.techgrid-fui-active .tg-widget{box-shadow:0 12px 28px rgba(38,53,48,.14),0 0 14px color-mix(in srgb,var(--tg-glow) 55%,transparent);text-shadow:none}
/* Setup-Fenster */
body.techgrid-fui-active .tg-widget-setup-window{min-width:640px;min-height:480px}
body.techgrid-fui-active .tg-widget-setup-window>.win-body{padding:0!important;overflow:hidden!important}
body.techgrid-fui-active .tg-widget-setup{height:100%;min-height:0;display:grid;grid-template-columns:250px minmax(0,1fr);background:var(--tg-panel)}
body.techgrid-fui-active .tg-widget-setup>aside{min-height:0;display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:10px;padding:14px;border-right:1px solid var(--tg-edge);background:linear-gradient(180deg,color-mix(in srgb,var(--tg-line) 6%,var(--tg-panel-2)),var(--tg-panel-2))}
body.techgrid-fui-active .tg-widget-setup-brand{display:grid;gap:5px}.tg-widget-setup-brand small{color:var(--tg-line-2);font:700 7px/1 Consolas,monospace;letter-spacing:.18em}.tg-widget-setup-brand strong{font:900 16px/1.15 "Segoe UI",Arial,sans-serif;letter-spacing:.11em}
body.techgrid-fui-active .tg-widget-setup button.primary{border-color:var(--tg-line-2)!important;color:var(--tg-line-2)!important;background:color-mix(in srgb,var(--tg-line) 12%,var(--tg-button))!important}
body.techgrid-fui-active .tg-widget-library{min-height:0;overflow:auto;display:grid;align-content:start;gap:5px;scrollbar-width:thin;scrollbar-color:var(--tg-line) transparent}
body.techgrid-fui-active .tg-widget-library button{display:grid!important;gap:2px!important;width:100%!important;min-height:36px!important;text-align:left!important;padding:5px 7px!important;border:1px solid color-mix(in srgb,var(--tg-edge) 45%,transparent)!important;background:var(--tg-card)!important;color:var(--tg-ink)!important;border-radius:0!important;box-shadow:none!important}
body.techgrid-fui-active .tg-widget-library button.active{border-color:var(--tg-line-2)!important;box-shadow:inset 3px 0 0 var(--tg-line-2)!important}.tg-widget-library button span{font:800 9px/1.2 "Segoe UI",Arial,sans-serif}.tg-widget-library button small{color:var(--tg-muted);font:700 7px/1.25 Consolas,monospace}
body.techgrid-fui-active .tg-widget-library-empty{padding:16px 5px;color:var(--tg-muted);font:700 8px/1.45 Consolas,monospace;text-align:center}
body.techgrid-fui-active .tg-widget-setup>form{min-width:0;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto}
body.techgrid-fui-active .tg-widget-setup-head{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:13px 16px;border-bottom:1px solid var(--tg-edge);background:linear-gradient(90deg,color-mix(in srgb,var(--tg-line) 8%,transparent),transparent)}
body.techgrid-fui-active .tg-widget-setup-head small{display:block;color:var(--tg-line-2);font:700 7px/1 Consolas,monospace;letter-spacing:.16em}.tg-widget-setup-head h2{margin:4px 0 0;font:800 15px/1.2 "Segoe UI",Arial,sans-serif;letter-spacing:.06em}.tg-widget-setup-head>span{color:var(--tg-muted);font:700 8px/1 Consolas,monospace;letter-spacing:.1em}
body.techgrid-fui-active .tg-widget-form-scroll{min-height:0;overflow:auto;padding:14px 16px 18px;scrollbar-width:thin;scrollbar-color:var(--tg-line) transparent}
body.techgrid-fui-active .tg-widget-form-scroll fieldset{margin:0 0 13px;padding:12px;border:1px solid color-mix(in srgb,var(--tg-edge) 55%,transparent);background:color-mix(in srgb,var(--tg-card) 86%,transparent)}
body.techgrid-fui-active .tg-widget-form-scroll legend{padding:0 7px;color:var(--tg-line-2);font:800 8px/1 Consolas,monospace;letter-spacing:.13em;text-transform:uppercase}
body.techgrid-fui-active .tg-widget-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px}.tg-widget-form-grid label{display:grid;gap:5px;min-width:0}.tg-widget-form-grid label.wide{grid-column:1/-1}.tg-widget-form-grid label>span{color:var(--tg-muted);font:700 8px/1.2 Consolas,monospace;letter-spacing:.05em}
body.techgrid-fui-active .tg-widget-form-grid :is(input,select,textarea){width:100%;min-width:0!important;padding:8px 9px!important;font:600 11px/1.3 "Segoe UI",Arial,sans-serif!important}.tg-widget-form-grid textarea{resize:vertical;min-height:62px}
body.techgrid-fui-active .tg-widget-calendar-fields{display:grid;gap:8px}.tg-widget-calendar-fields fieldset{margin:0!important;padding:8px!important}.tg-widget-calendar-fields fieldset .tg-widget-form-grid{grid-template-columns:1fr 2fr}
body.techgrid-fui-active .tg-widget-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 12px}.tg-widget-checks label{display:flex;align-items:center;gap:7px;color:var(--tg-ink);font:600 10px/1.3 "Segoe UI",Arial,sans-serif}.tg-widget-checks input{width:auto!important;min-height:0!important}
body.techgrid-fui-active .tg-widget-setup form>footer{display:grid;grid-template-columns:auto auto 1fr auto auto;gap:7px;padding:10px 14px;border-top:1px solid var(--tg-edge);background:var(--tg-panel-2)}
body.techgrid-fui-active .tg-widget-setup form>footer button{min-height:34px!important;font-size:8px!important;letter-spacing:.06em!important}.tg-widget-setup form>footer button.danger{color:#ffd0c9!important;border-color:#ff594d!important}
@media(max-width:760px){
  body.techgrid-fui-active .tg-widget{min-width:min(220px,calc(100% - 8px));min-height:min(120px,calc(100% - 8px))}
  body.techgrid-fui-active .tg-widget-setup-window{min-width:0}
  body.techgrid-fui-active .tg-widget-setup{grid-template-columns:1fr!important;grid-template-rows:auto minmax(0,1fr)!important}
  body.techgrid-fui-active .tg-widget-setup>aside{display:grid!important;grid-template-columns:auto minmax(180px,1fr);grid-template-rows:auto auto;gap:7px!important;max-height:154px;padding:9px!important;border-right:0!important;border-bottom:1px solid var(--tg-edge)!important}
  body.techgrid-fui-active .tg-widget-setup-brand{align-self:center}.tg-widget-setup-brand small{display:none}.tg-widget-setup-brand strong{font-size:12px}
  body.techgrid-fui-active .tg-widget-presets{grid-template-columns:minmax(120px,1fr) auto;align-items:center}.tg-widget-presets button{width:auto!important}
  body.techgrid-fui-active .tg-widget-library{grid-column:1/-1;grid-auto-flow:column;grid-auto-columns:minmax(170px,220px);overflow-x:auto;overflow-y:hidden;padding-bottom:2px}
  body.techgrid-fui-active .tg-widget-library button{min-height:42px!important}
  body.techgrid-fui-active .tg-widget-form-grid,body.techgrid-fui-active .tg-widget-checks{grid-template-columns:1fr!important}
  body.techgrid-fui-active .tg-widget-setup form>footer{grid-template-columns:1fr 1fr!important}.tg-widget-setup form>footer span{display:none}
}
@media(max-height:470px) and (max-width:760px){
  body.techgrid-fui-active .tg-widget-setup>aside{max-height:106px}.tg-widget-setup-brand{display:none!important}.tg-widget-setup>aside>[data-widget-new]{min-height:30px!important}.tg-widget-library{max-height:42px!important}
}
body.techgrid-fui-active .tg-widget-online.is-stale i{background:#ffcf5b;box-shadow:0 0 7px #ffcf5b}.tg-widget-online.is-stale{color:#ffcf5b}
body.techgrid-fui-active .tg-widget-online.is-error i{background:#ff5e4b;box-shadow:0 0 7px #ff5e4b}.tg-widget-online.is-error{color:#ff9f93}
body.techgrid-fui-active .tg-widget-forecast{display:grid;grid-template-columns:auto 1fr;gap:2px 8px;align-items:baseline;margin-top:7px;padding:7px 8px;border-left:2px solid var(--tg-line-2);background:color-mix(in srgb,var(--tg-line-2) 6%,transparent)}
body.techgrid-fui-active .tg-widget-forecast span{color:var(--tg-line-2);font:800 7px/1 Consolas,monospace;letter-spacing:.14em}.tg-widget-forecast b{font:800 11px/1.1 "Segoe UI",Arial,sans-serif}.tg-widget-forecast small{grid-column:1/-1;color:var(--tg-muted);font:600 7px/1.3 Consolas,monospace}
body.techgrid-fui-active .tg-widget-presets{display:flex;flex-wrap:wrap;align-items:center;gap:5px}.tg-widget-presets select{flex:1 1 170px;width:auto!important;min-width:0!important;padding:7px!important;font-size:9px!important}.tg-widget-presets button{flex:0 1 auto;width:auto!important;min-width:0!important;min-height:28px!important;padding:4px 7px!important;font-size:8px!important;letter-spacing:.05em!important}


/* ==========================================================================
   v0.99.22 · Schritt 122 – Motion Polish / Widget Daily-Use Finish
   Ausblendungen bleiben kurz und eindeutig; dynamische Setup-Inhalte treten
   weich ein. Ausschließlich transform/opacity, kein zusätzlicher Blur.
   ========================================================================== */
body.techgrid-fui-active .tg-context-menu.is-leaving{animation:tgMenuOut var(--tg-motion-fast) var(--tg-ease-in) both!important}
body.techgrid-fui-active .tg-dialog-shade.is-leaving{animation:tgShadeOut var(--tg-motion-fast) ease-in both!important}
body.techgrid-fui-active .tg-dialog-shade.is-leaving .tg-dialog{animation:tgDialogOut var(--tg-motion-fast) var(--tg-ease-in) both!important}
body.techgrid-fui-active .tg-widget.is-leaving{opacity:0!important;transform:translateY(5px) scale(.985)!important;transition:opacity 160ms var(--tg-ease-in),transform 160ms var(--tg-ease-in)!important}
body.techgrid-fui-active .tg-widget-body>*{animation:tgWidgetContentIn var(--tg-motion-ui) var(--tg-ease-out) both}
body.techgrid-fui-active [data-widget-source-fields]>*{animation:tgSetupFieldIn var(--tg-motion-ui) var(--tg-ease-out) both}
body.techgrid-fui-active .tg-widget-library button{transition:border-color var(--tg-motion-fast) var(--tg-ease-standard),background-color var(--tg-motion-ui) var(--tg-ease-standard),box-shadow var(--tg-motion-ui) var(--tg-ease-out),transform var(--tg-motion-fast) var(--tg-ease-out)!important}
body.techgrid-fui-active .tg-widget-library button:hover{transform:translateX(2px)!important}
body.techgrid-fui-active .tg-widget-form-scroll fieldset{transition:border-color var(--tg-motion-ui) var(--tg-ease-standard),background-color var(--tg-motion-ui) var(--tg-ease-standard),box-shadow var(--tg-motion-ui) var(--tg-ease-out)!important}
body.techgrid-fui-active .tg-widget-form-scroll fieldset:focus-within{border-color:color-mix(in srgb,var(--tg-line-2) 72%,var(--tg-edge))!important;box-shadow:inset 2px 0 0 var(--tg-line-2),0 0 12px color-mix(in srgb,var(--tg-glow) 34%,transparent)!important}
@keyframes tgMenuOut{from{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(-3px) scale(.99)}}
@keyframes tgShadeOut{from{opacity:1}to{opacity:0}}
@keyframes tgDialogOut{from{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(7px) scale(.985)}}
@keyframes tgWidgetContentIn{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:none}}
@keyframes tgSetupFieldIn{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
/* Schritt 122: Reduced-Motion bleibt die letzte Kaskadeninstanz, auch für später definierte Leave-Animationen. */
@media(prefers-reduced-motion:reduce){
  body.techgrid-fui-active *,body.techgrid-fui-active *::before,body.techgrid-fui-active *::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}
body.techgrid-motion-off *,body.techgrid-motion-off *::before,body.techgrid-motion-off *::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}


/* ==========================================================================
   v0.99.23 · Schritt 123 – Session-Guard Kontrast / Theme-Treue
   Das Sperrfenster besitzt eine eigene, pro TechGrid-Theme kontrastgeprüfte
   Auth-Palette. Sie gewinnt bewusst gegen globale Formular-/Button-Regeln.
   ========================================================================== */
.tg-idle-lock{
  --tg-lock-bg:#041018;
  --tg-lock-bg-2:#071923;
  --tg-lock-ink:#eaffff;
  --tg-lock-muted:#a8d8e0;
  --tg-lock-label:#55ffdc;
  --tg-lock-edge:#43d7ff;
  --tg-lock-glow:rgba(37,183,255,.30);
  --tg-lock-input-bg:#06141d;
  --tg-lock-input-ink:#f4ffff;
  --tg-lock-button-bg:#073746;
  --tg-lock-button-ink:#edffff;
  --tg-lock-cancel-bg:#07151d;
  --tg-lock-cancel-ink:#b8d8df;
  --tg-lock-state-bg:#4e2805;
  --tg-lock-state-ink:#ffe0b5;
  --tg-lock-error-bg:#5c0d17;
  --tg-lock-error-ink:#ffe5e9;
  --tg-lock-symbol-ink:#061018;
}
body.user-theme-techgrid-amber .tg-idle-lock{
  --tg-lock-bg:#0d0a05;--tg-lock-bg-2:#181006;--tg-lock-ink:#fff7da;--tg-lock-muted:#d8c49c;--tg-lock-label:#ffe85b;--tg-lock-edge:#ffad33;--tg-lock-glow:rgba(255,165,0,.30);--tg-lock-input-bg:#171107;--tg-lock-input-ink:#fff9e7;--tg-lock-button-bg:#4a2a07;--tg-lock-button-ink:#fff7da;--tg-lock-cancel-bg:#18130b;--tg-lock-cancel-ink:#e1ceb0;--tg-lock-symbol-ink:#201100;
}
body.user-theme-techgrid-aqua .tg-idle-lock{
  --tg-lock-bg:#041018;--tg-lock-bg-2:#071923;--tg-lock-ink:#eaffff;--tg-lock-muted:#a8d8e0;--tg-lock-label:#55ffdc;--tg-lock-edge:#43d7ff;--tg-lock-glow:rgba(37,183,255,.30);--tg-lock-input-bg:#06141d;--tg-lock-input-ink:#f4ffff;--tg-lock-button-bg:#073746;--tg-lock-button-ink:#edffff;--tg-lock-cancel-bg:#07151d;--tg-lock-cancel-ink:#b8d8df;--tg-lock-symbol-ink:#061018;
}
body.user-theme-techgrid-light .tg-idle-lock{
  --tg-lock-bg:#fffaf6;--tg-lock-bg-2:#f1ece7;--tg-lock-ink:#1a1715;--tg-lock-muted:#504b46;--tg-lock-label:#8a2e10;--tg-lock-edge:#c84420;--tg-lock-glow:rgba(180,70,28,.20);--tg-lock-input-bg:#ffffff;--tg-lock-input-ink:#151515;--tg-lock-button-bg:#8d2e11;--tg-lock-button-ink:#fff8f1;--tg-lock-cancel-bg:#e8e0da;--tg-lock-cancel-ink:#29231f;--tg-lock-state-bg:#fff0d2;--tg-lock-state-ink:#633400;--tg-lock-error-bg:#fff0f2;--tg-lock-error-ink:#851528;--tg-lock-symbol-ink:#fffaf6;
}
body.user-theme-techgrid-crimson .tg-idle-lock{
  --tg-lock-bg:#180609;--tg-lock-bg-2:#260a0e;--tg-lock-ink:#fff2ec;--tg-lock-muted:#e5b7ac;--tg-lock-label:#ffd06a;--tg-lock-edge:#ff946e;--tg-lock-glow:rgba(255,91,77,.30);--tg-lock-input-bg:#21090d;--tg-lock-input-ink:#fff6f2;--tg-lock-button-bg:#5d1713;--tg-lock-button-ink:#fff3ed;--tg-lock-cancel-bg:#261013;--tg-lock-cancel-ink:#eec6bd;--tg-lock-symbol-ink:#260a0e;
}
body.user-theme-techgrid-violet .tg-idle-lock{
  --tg-lock-bg:#10061d;--tg-lock-bg-2:#1b0a31;--tg-lock-ink:#f6f1ff;--tg-lock-muted:#d1c2ea;--tg-lock-label:#ff8aeb;--tg-lock-edge:#c47dff;--tg-lock-glow:rgba(143,91,255,.29);--tg-lock-input-bg:#170b28;--tg-lock-input-ink:#fbf7ff;--tg-lock-button-bg:#401659;--tg-lock-button-ink:#fff2ff;--tg-lock-cancel-bg:#190c27;--tg-lock-cancel-ink:#d7cae9;--tg-lock-symbol-ink:#180827;
}
body.user-theme-techgrid-matrix .tg-idle-lock{
  --tg-lock-bg:#03100c;--tg-lock-bg-2:#052019;--tg-lock-ink:#ecfff8;--tg-lock-muted:#aad9c7;--tg-lock-label:#65caff;--tg-lock-edge:#36ffca;--tg-lock-glow:rgba(0,255,178,.25);--tg-lock-input-bg:#061a14;--tg-lock-input-ink:#f0fff9;--tg-lock-button-bg:#0a4736;--tg-lock-button-ink:#effff9;--tg-lock-cancel-bg:#071b14;--tg-lock-cancel-ink:#b9ddcf;--tg-lock-symbol-ink:#03100c;
}
.tg-idle-lock-window{
  background:linear-gradient(155deg,color-mix(in srgb,var(--tg-lock-label) 6%,var(--tg-lock-bg)),var(--tg-lock-bg) 48%,var(--tg-lock-bg-2))!important;
  border-color:var(--tg-lock-edge)!important;
  box-shadow:0 25px 80px rgba(0,0,0,.48),0 0 34px var(--tg-lock-glow)!important;
  color:var(--tg-lock-ink)!important;
  scrollbar-color:var(--tg-lock-label) transparent!important;
}
.tg-idle-lock-window header{border-bottom-color:var(--tg-lock-edge)!important;background:linear-gradient(90deg,color-mix(in srgb,var(--tg-lock-label) 10%,transparent),transparent)!important}
.tg-idle-lock-window header small{color:var(--tg-lock-label)!important}
.tg-idle-lock-window header strong{color:var(--tg-lock-ink)!important;text-shadow:none!important}
.tg-idle-state{border-color:color-mix(in srgb,var(--tg-lock-state-ink) 60%,var(--tg-lock-edge))!important;color:var(--tg-lock-state-ink)!important;background:var(--tg-lock-state-bg)!important;text-shadow:none!important}
.tg-idle-hex{background:linear-gradient(135deg,var(--tg-lock-edge),var(--tg-lock-label))!important;color:var(--tg-lock-symbol-ink)!important;box-shadow:0 0 18px var(--tg-lock-glow)!important;text-shadow:none!important}
.tg-idle-lock-body p{color:var(--tg-lock-ink)!important;text-shadow:none!important}
.tg-idle-lock-body .tg-idle-hint{color:var(--tg-lock-muted)!important}
.tg-idle-lock label{color:var(--tg-lock-label)!important;text-shadow:none!important}
.tg-idle-lock input{
  background:var(--tg-lock-input-bg)!important;
  color:var(--tg-lock-input-ink)!important;
  border:1px solid color-mix(in srgb,var(--tg-lock-edge) 76%,transparent)!important;
  border-bottom-color:var(--tg-lock-edge)!important;
  box-shadow:inset 0 0 18px rgba(0,0,0,.12)!important;
  text-shadow:none!important;
  caret-color:var(--tg-lock-label)!important;
}
.tg-idle-lock input::placeholder{color:var(--tg-lock-muted)!important;opacity:1!important}
.tg-idle-lock input:focus{border-color:var(--tg-lock-label)!important;box-shadow:0 0 0 1px var(--tg-lock-label),0 0 14px var(--tg-lock-glow)!important}
.tg-idle-lock button{
  background:var(--tg-lock-button-bg)!important;
  color:var(--tg-lock-button-ink)!important;
  border-color:var(--tg-lock-label)!important;
  box-shadow:0 0 12px color-mix(in srgb,var(--tg-lock-glow) 68%,transparent)!important;
  text-shadow:none!important;
}
.tg-idle-lock button:hover,.tg-idle-lock button:focus-visible{border-color:var(--tg-lock-edge)!important;filter:brightness(1.08);box-shadow:0 0 0 1px var(--tg-lock-edge),0 0 17px var(--tg-lock-glow)!important}
.tg-idle-lock .tg-idle-cancel{background:var(--tg-lock-cancel-bg)!important;color:var(--tg-lock-cancel-ink)!important;border-color:color-mix(in srgb,var(--tg-lock-muted) 68%,var(--tg-lock-edge))!important;box-shadow:none!important}
.tg-idle-lock .tg-idle-cancel:hover,.tg-idle-lock .tg-idle-cancel:focus-visible{color:var(--tg-lock-ink)!important;border-color:var(--tg-lock-edge)!important}
.tg-idle-error{border-color:color-mix(in srgb,var(--tg-lock-error-ink) 48%,#ff4058)!important;background:var(--tg-lock-error-bg)!important;color:var(--tg-lock-error-ink)!important;text-shadow:none!important}
/* Schritt 123: Auth-Farben müssen innerhalb des Session-Guards globale Theme-Formularregeln sicher überstimmen. */
body.os-body.techgrid-fui-active .tg-idle-lock label{color:var(--tg-lock-label)!important;text-shadow:none!important}
body.os-body.techgrid-fui-active .tg-idle-lock input{
  background:var(--tg-lock-input-bg)!important;color:var(--tg-lock-input-ink)!important;
  border:1px solid color-mix(in srgb,var(--tg-lock-edge) 76%,transparent)!important;border-bottom-color:var(--tg-lock-edge)!important;
  box-shadow:inset 0 0 18px rgba(0,0,0,.12)!important;text-shadow:none!important;caret-color:var(--tg-lock-label)!important
}
body.os-body.techgrid-fui-active .tg-idle-lock input::placeholder{color:var(--tg-lock-muted)!important;opacity:1!important}
body.os-body.techgrid-fui-active .tg-idle-lock input:focus{border-color:var(--tg-lock-label)!important;box-shadow:0 0 0 1px var(--tg-lock-label),0 0 14px var(--tg-lock-glow)!important}
body.os-body.techgrid-fui-active .tg-idle-lock button{
  background:var(--tg-lock-button-bg)!important;color:var(--tg-lock-button-ink)!important;border-color:var(--tg-lock-label)!important;
  box-shadow:0 0 12px color-mix(in srgb,var(--tg-lock-glow) 68%,transparent)!important;text-shadow:none!important
}
body.os-body.techgrid-fui-active .tg-idle-lock button:hover,
body.os-body.techgrid-fui-active .tg-idle-lock button:focus-visible{border-color:var(--tg-lock-edge)!important;filter:brightness(1.08);box-shadow:0 0 0 1px var(--tg-lock-edge),0 0 17px var(--tg-lock-glow)!important}
body.os-body.techgrid-fui-active .tg-idle-lock button.tg-idle-cancel{background:var(--tg-lock-cancel-bg)!important;color:var(--tg-lock-cancel-ink)!important;border-color:color-mix(in srgb,var(--tg-lock-muted) 68%,var(--tg-lock-edge))!important;box-shadow:none!important}
body.os-body.techgrid-fui-active .tg-idle-lock button.tg-idle-cancel:hover,
body.os-body.techgrid-fui-active .tg-idle-lock button.tg-idle-cancel:focus-visible{color:var(--tg-lock-ink)!important;border-color:var(--tg-lock-edge)!important}
/* Schritt 123: Die globale TechGrid-Buttonregel nutzt drei :not()-Klassen; innerhalb des Guards wird sie absichtlich noch spezifischer überstimmt. */
body.os-body.techgrid-fui-active .tg-idle-lock button:not(.tg-node):not(.tg-dock-node):not(.win-btn){
  background:var(--tg-lock-button-bg)!important;color:var(--tg-lock-button-ink)!important;border-color:var(--tg-lock-label)!important;
  box-shadow:0 0 12px color-mix(in srgb,var(--tg-lock-glow) 68%,transparent)!important;text-shadow:none!important
}
body.os-body.techgrid-fui-active .tg-idle-lock button:not(.tg-node):not(.tg-dock-node):not(.win-btn):hover,
body.os-body.techgrid-fui-active .tg-idle-lock button:not(.tg-node):not(.tg-dock-node):not(.win-btn):focus-visible{border-color:var(--tg-lock-edge)!important;filter:brightness(1.08);box-shadow:0 0 0 1px var(--tg-lock-edge),0 0 17px var(--tg-lock-glow)!important}
body.os-body.techgrid-fui-active .tg-idle-lock button.tg-idle-cancel:not(.tg-node):not(.tg-dock-node):not(.win-btn){background:var(--tg-lock-cancel-bg)!important;color:var(--tg-lock-cancel-ink)!important;border-color:color-mix(in srgb,var(--tg-lock-muted) 68%,var(--tg-lock-edge))!important;box-shadow:none!important}

/* ========================================================================== 
   v0.99.24 · Schritt 124 – Tooltips Gatekeeper/PRAETORIAN/Session Guard
   Native title-Hinweise werden durch eine zentrale, themefeste Tooltip-Engine
   ersetzt. Dieselbe Palette korrigiert die reicheren TechGrid-Waben-Tooltips.
   ========================================================================== */
body{
  --tg-tip-bg:#06131b;--tg-tip-ink:#f1fbff;--tg-tip-muted:#b6ccd6;--tg-tip-edge:#55d9ff;--tg-tip-accent:#76ffe1;--tg-tip-glow:rgba(58,202,255,.24);
}
body.user-theme-techgrid-amber{--tg-tip-bg:#171006;--tg-tip-ink:#fff7df;--tg-tip-muted:#d9c7a5;--tg-tip-edge:#ffad33;--tg-tip-accent:#ffe85b;--tg-tip-glow:rgba(255,165,0,.24)}
body.user-theme-techgrid-aqua{--tg-tip-bg:#06131b;--tg-tip-ink:#f1fbff;--tg-tip-muted:#b6d7de;--tg-tip-edge:#43d7ff;--tg-tip-accent:#55ffdc;--tg-tip-glow:rgba(37,183,255,.24)}
body.user-theme-techgrid-light{--tg-tip-bg:#fffaf6;--tg-tip-ink:#211b17;--tg-tip-muted:#5a514b;--tg-tip-edge:#b9401f;--tg-tip-accent:#8a2e10;--tg-tip-glow:rgba(184,64,31,.16)}
body.user-theme-techgrid-crimson{--tg-tip-bg:#20090d;--tg-tip-ink:#fff2ed;--tg-tip-muted:#e5bdb4;--tg-tip-edge:#ff946e;--tg-tip-accent:#ffd06a;--tg-tip-glow:rgba(255,91,77,.24)}
body.user-theme-techgrid-violet{--tg-tip-bg:#180b28;--tg-tip-ink:#f8f2ff;--tg-tip-muted:#d8c8ec;--tg-tip-edge:#c47dff;--tg-tip-accent:#ff8aeb;--tg-tip-glow:rgba(143,91,255,.24)}
body.user-theme-techgrid-matrix{--tg-tip-bg:#061913;--tg-tip-ink:#effff9;--tg-tip-muted:#b9ddd0;--tg-tip-edge:#36ffca;--tg-tip-accent:#72ccff;--tg-tip-glow:rgba(0,255,178,.20)}
.os-global-tooltip{
  position:fixed;z-index:2147483647;box-sizing:border-box;max-width:min(340px,calc(100vw - 20px));max-height:min(210px,45vh);overflow:auto;
  padding:8px 11px;border:1px solid var(--tg-tip-edge);background:var(--tg-tip-bg);color:var(--tg-tip-ink);
  box-shadow:0 10px 28px rgba(0,0,0,.34),0 0 16px var(--tg-tip-glow);font:700 10px/1.38 "Segoe UI",Arial,sans-serif;letter-spacing:.025em;
  overflow-wrap:break-word;word-break:normal;white-space:normal;pointer-events:none;opacity:0;transform:translateY(-4px) scale(.985);
  transition:opacity .13s ease,transform .13s cubic-bezier(.2,.8,.2,1);clip-path:polygon(7px 0,100% 0,100% calc(100% - 7px),calc(100% - 7px) 100%,0 100%,0 7px)
}
.os-global-tooltip.is-visible{opacity:1;transform:none}
.os-global-tooltip[hidden]{display:none!important}
body.user-theme-techgrid-light .os-global-tooltip{box-shadow:0 10px 26px rgba(58,36,24,.18),0 0 12px var(--tg-tip-glow)}

/* Reicher Waben-Tooltip: gleiche geprüfte Palette statt Theme-Fallbacks. */
body.techgrid-fui-active .tg-node-tooltip{
  border-color:var(--tg-tip-edge)!important;background:var(--tg-tip-bg)!important;color:var(--tg-tip-ink)!important;
  box-shadow:0 0 18px var(--tg-tip-glow)!important
}
body.techgrid-fui-active .tg-node-tooltip strong{color:var(--tg-tip-accent)!important;text-shadow:none!important}
body.techgrid-fui-active .tg-node-tooltip span{color:var(--tg-tip-ink)!important;text-shadow:none!important}
body.techgrid-fui-active .tg-node-tooltip small{color:var(--tg-tip-muted)!important;opacity:1!important;border-top-color:color-mix(in srgb,var(--tg-tip-edge) 35%,transparent)!important;text-shadow:none!important}

@media(max-width:520px),(max-height:430px){.os-global-tooltip{max-width:min(290px,calc(100vw - 14px));padding:7px 9px;font-size:9px}}
@media(prefers-reduced-motion:reduce){.os-global-tooltip{transition:none!important}}
body.techgrid-motion-off .os-global-tooltip{transition:none!important}


/* v0.99.25 / Schritt 125 – Desktop-integrierte Datenmodule */
body.techgrid-fui-active .tg-widget-layer{z-index:16}
body.techgrid-fui-active .tg-widget{
  background:
    linear-gradient(90deg,color-mix(in srgb,var(--tg-line) 5%,transparent),transparent 34%),
    linear-gradient(180deg,color-mix(in srgb,var(--tg-panel-2) 76%,transparent),color-mix(in srgb,var(--tg-panel) 62%,transparent));
  border:0;
  border-left:1px solid color-mix(in srgb,var(--tg-line) 58%,transparent);
  border-top:1px solid color-mix(in srgb,var(--tg-edge) 38%,transparent);
  box-shadow:inset 0 1px 0 color-mix(in srgb,var(--tg-line-2) 8%,transparent),0 7px 18px rgba(0,0,0,.14),0 0 12px color-mix(in srgb,var(--tg-glow) 25%,transparent);
  clip-path:polygon(0 0,calc(100% - 18px) 0,100% 18px,100% 100%,18px 100%,0 calc(100% - 18px));
}
body.techgrid-fui-active .tg-widget::before{
  inset:0 auto 0 0;width:3px;
  background:linear-gradient(180deg,transparent 2%,var(--tg-line-2) 14%,var(--tg-line) 45%,transparent 88%);
  box-shadow:0 0 10px color-mix(in srgb,var(--tg-glow) 48%,transparent);
}
body.techgrid-fui-active .tg-widget::after{
  content:"";position:absolute;right:0;top:0;width:74px;height:36px;pointer-events:none;opacity:.72;
  background:
    linear-gradient(135deg,transparent 0 49%,color-mix(in srgb,var(--tg-line-2) 42%,transparent) 50% 51%,transparent 52%) 100% 0/34px 34px no-repeat,
    linear-gradient(90deg,color-mix(in srgb,var(--tg-line) 34%,transparent),transparent) 0 7px/54px 1px no-repeat,
    radial-gradient(circle at 13px 7px,var(--tg-line-2) 0 2px,transparent 2.4px);
}
body.techgrid-fui-active .tg-widget:hover{border-left-color:var(--tg-line-2);box-shadow:inset 0 1px 0 color-mix(in srgb,var(--tg-line-2) 10%,transparent),0 9px 22px rgba(0,0,0,.17),0 0 16px color-mix(in srgb,var(--tg-glow) 42%,transparent)}
body.techgrid-fui-active .tg-widget.is-moving,body.techgrid-fui-active .tg-widget.is-resizing{box-shadow:0 13px 30px rgba(0,0,0,.24),0 0 22px color-mix(in srgb,var(--tg-glow) 52%,transparent)}
body.techgrid-fui-active .tg-widget>header{padding:9px 11px 7px 14px;background:linear-gradient(90deg,color-mix(in srgb,var(--tg-line) 9%,transparent),transparent 62%);border-bottom:1px solid color-mix(in srgb,var(--tg-line) 24%,transparent)}
body.techgrid-fui-active .tg-widget>header::before{content:"";position:absolute;left:13px;right:82px;bottom:-1px;height:1px;background:linear-gradient(90deg,var(--tg-line),transparent)}
body.techgrid-fui-active .tg-widget-state{background:color-mix(in srgb,var(--tg-panel) 48%,transparent);border-color:color-mix(in srgb,var(--tg-line-2) 34%,transparent)}
body.techgrid-fui-active .tg-widget-info{padding-top:5px}
body.techgrid-fui-active .tg-widget-list>div{border-top-color:color-mix(in srgb,var(--tg-line) 18%,transparent)}
body.techgrid-fui-active .tg-widget>footer{background:linear-gradient(90deg,color-mix(in srgb,var(--tg-line) 4%,transparent),transparent);border-top-color:color-mix(in srgb,var(--tg-line) 21%,transparent)}
body.techgrid-fui-active .tg-widget-resizer{opacity:.6}
body.techgrid-fui-active .tg-widget.is-pinned::before{background:linear-gradient(180deg,transparent,var(--tg-line-2) 25%,var(--tg-line-2) 75%,transparent)}
body.techgrid-fui-active .tg-widget.is-pinned>header::after{content:"LINKED";margin-left:auto;color:var(--tg-line-2);font:800 6px/1 Consolas,monospace;letter-spacing:.16em;opacity:.65}
body.user-theme-techgrid-light.techgrid-fui-active .tg-widget,body.user-theme-techgrid-matrix.techgrid-fui-active .tg-widget{background:linear-gradient(90deg,color-mix(in srgb,var(--tg-line) 5%,transparent),transparent 38%),linear-gradient(180deg,color-mix(in srgb,var(--tg-panel-2) 91%,transparent),color-mix(in srgb,var(--tg-panel) 86%,transparent));box-shadow:0 6px 17px rgba(38,53,48,.09),0 0 10px color-mix(in srgb,var(--tg-glow) 27%,transparent)}

/* Region / Quellen-Auswahl */
body.techgrid-fui-active .tg-widget-source-note{grid-column:1/-1;padding:9px 11px;border-left:2px solid var(--tg-line);background:color-mix(in srgb,var(--tg-line) 5%,transparent);color:var(--tg-muted);font:650 8px/1.45 "Segoe UI",Arial,sans-serif}
body.techgrid-fui-active .tg-widget-source-note b{color:var(--tg-line-2);font-family:Consolas,monospace;letter-spacing:.04em}
body.techgrid-fui-active .tg-widget-region{grid-column:1/-1;display:grid;grid-template-columns:minmax(150px,.65fr) minmax(220px,1.35fr);gap:9px;padding:10px;border:1px solid color-mix(in srgb,var(--tg-edge) 46%,transparent);background:color-mix(in srgb,var(--tg-card) 62%,transparent)}
body.techgrid-fui-active .tg-widget-region .tg-widget-inline{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px}
body.techgrid-fui-active .tg-widget-region .tg-widget-inline button{min-width:94px!important;padding-inline:8px!important}
body.techgrid-fui-active .tg-widget-region-status{grid-column:1/-1;min-height:16px;color:var(--tg-muted);font:700 7px/1.35 Consolas,monospace;letter-spacing:.04em}
body.techgrid-fui-active .tg-widget-region-status.is-ok{color:var(--tg-line-2)}
body.techgrid-fui-active .tg-widget-region-status.is-error{color:#ff8c75}
body.techgrid-fui-active .tg-widget-source-select{grid-column:1/-1}
@media(max-width:720px){body.techgrid-fui-active .tg-widget-region{grid-template-columns:1fr}}
body.techgrid-fui-active .tg-widget>header{position:relative}
body.techgrid-fui-active .tg-widget.is-pinned>header::after{position:absolute;right:84px;top:8px;margin:0}
body.techgrid-fui-active .tg-widget>header small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Schritt 127: Im TechGrid-Desktopmenü bleiben klassische/Modern-Designfamilien sichtbar und klar von den sechs Live-TechGrid-Themes getrennt. */
body.techgrid-fui-active .tg-context-theme-group{display:grid;gap:4px;padding-top:5px}
body.techgrid-fui-active .tg-context-theme-group+ .tg-context-theme-group{margin-top:3px;padding-top:7px;border-top:1px solid color-mix(in srgb,var(--tg-line) 16%,transparent)}
body.techgrid-fui-active .tg-context-theme-group>small{color:var(--tg-muted);font:700 6.5px/1.2 Consolas,monospace;letter-spacing:.16em;text-transform:uppercase;padding:0 2px}

/* ========================================================================== 
   v0.99.28 · Schritt 128 – Infoboxen als integrierte Desktop-Datenlayer
   ========================================================================== */
/* Infoboxen gehören zum Desktop-Hintergrund. CORE und Waben liegen garantiert darüber. */
body.techgrid-fui-active .tg-widget-layer{
  z-index:5!important;
  overflow:hidden!important;
}

body.techgrid-fui-active .tg-core-orbit{z-index:8!important}

/* Keine Mini-Fensterkarte: reine Desktop-Typografie mit Signalrail, analog zum Hover-Readout. */
body.techgrid-fui-active .tg-widget{
  display:grid!important;
  grid-template-rows:auto auto minmax(0,auto) auto!important;
  align-content:start!important;
  padding:8px 12px 8px 15px!important;
  color:var(--tg-ink)!important;
  background:transparent!important;
  border:0!important;
  border-left:2px solid color-mix(in srgb,var(--tg-line-2) 78%,transparent)!important;
  border-radius:0!important;
  clip-path:none!important;
  box-shadow:none!important;
  contain:layout!important;
  filter:hue-rotate(var(--tg-widget-hue,0deg));
  text-shadow:none!important;
}
body.techgrid-fui-active .tg-widget::before{
  content:""!important;
  position:absolute!important;
  left:-2px!important;top:10px!important;bottom:10px!important;width:2px!important;
  background:linear-gradient(180deg,transparent,var(--tg-line-2) 20%,var(--tg-line) 58%,transparent)!important;
  box-shadow:0 0 8px color-mix(in srgb,var(--tg-glow) 34%,transparent)!important;
  pointer-events:none!important;
}
body.techgrid-fui-active .tg-widget::after{
  content:""!important;
  position:absolute!important;
  left:0!important;top:8px!important;width:72px!important;height:1px!important;
  background:linear-gradient(90deg,var(--tg-line-2),transparent)!important;
  opacity:.56!important;pointer-events:none!important;
}
body.techgrid-fui-active .tg-widget:hover,
body.techgrid-fui-active .tg-widget:focus-within{
  border-left-color:var(--tg-line-2)!important;
  box-shadow:none!important;
}
body.techgrid-fui-active .tg-widget.is-moving,
body.techgrid-fui-active .tg-widget.is-resizing{
  z-index:2!important; /* bleibt innerhalb der Widget-Ebene und damit unter jeder Wabe */
  background:color-mix(in srgb,var(--tg-panel) 14%,transparent)!important;
  box-shadow:none!important;
}

body.techgrid-fui-active .tg-widget>header{
  position:relative!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto auto!important;
  gap:8px!important;align-items:start!important;
  min-height:34px!important;
  padding:4px 0 5px!important;
  background:transparent!important;
  border:0!important;
  cursor:move!important;
}
body.techgrid-fui-active .tg-widget>header::before,
body.techgrid-fui-active .tg-widget>header::after{display:none!important}
body.techgrid-fui-active .tg-widget.is-pinned>header{cursor:default!important}
body.techgrid-fui-active .tg-widget>header small{
  color:var(--tg-line-2)!important;
  font:800 6.5px/1 Consolas,monospace!important;
  letter-spacing:.22em!important;
  opacity:.78!important;
}
body.techgrid-fui-active .tg-widget>header strong{
  color:var(--tg-ink)!important;
  font:750 15px/1.12 "Segoe UI",Arial,sans-serif!important;
  letter-spacing:.055em!important;
  text-transform:uppercase!important;
}
body.techgrid-fui-active .tg-widget-state{
  align-self:start!important;
  padding:2px 0!important;
  border:0!important;background:transparent!important;
  color:var(--tg-muted)!important;
  font:800 6.5px/1 Consolas,monospace!important;
  letter-spacing:.12em!important;
  opacity:.75!important;
}
body.techgrid-fui-active .tg-widget-state::before{content:"● ";color:var(--tg-line-2)!important;font-size:6px!important}
body.techgrid-fui-active .tg-widget-state.is-error{color:#ff8f7c!important;background:transparent!important;border:0!important}
body.techgrid-fui-active .tg-widget-state.is-error::before{color:#ff5e4b!important}

/* Bedienung bleibt vorhanden, aber nicht als Fensterleiste. */
body.techgrid-fui-active .tg-widget-actions{
  display:flex!important;gap:2px!important;
  opacity:.22!important;
  transition:opacity var(--tg-motion-ui) var(--tg-ease-standard)!important;
}
body.techgrid-fui-active .tg-widget:hover .tg-widget-actions,
body.techgrid-fui-active .tg-widget:focus-within .tg-widget-actions{opacity:.92!important}
body.techgrid-fui-active .tg-widget-actions button{
  width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important;
  padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;
  color:var(--tg-muted)!important;font:800 12px/1 Consolas,monospace!important;
  clip-path:none!important;border-radius:0!important;
}
body.techgrid-fui-active .tg-widget-actions button:hover,
body.techgrid-fui-active .tg-widget-actions button:focus-visible{
  color:var(--tg-line-2)!important;background:transparent!important;border:0!important;
  box-shadow:none!important;transform:translateY(-1px)!important;
}
@media (hover:none){body.techgrid-fui-active .tg-widget-actions{opacity:.72!important}}

body.techgrid-fui-active .tg-widget-info{
  padding:0 0 4px!important;
  color:var(--tg-muted)!important;
  font:600 8.5px/1.35 "Segoe UI",Arial,sans-serif!important;
}
body.techgrid-fui-active .tg-widget-body{
  min-height:0!important;max-height:100%!important;
  overflow:auto!important;
  padding:4px 0 3px!important;
  background:transparent!important;
  scrollbar-width:none!important;
  overscroll-behavior:contain!important;
}
body.techgrid-fui-active .tg-widget-body::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
body.techgrid-fui-active .tg-widget-headline{
  color:var(--tg-line-2)!important;
  font:760 clamp(15px,1.5vw,21px)/1.15 "Segoe UI",Arial,sans-serif!important;
  letter-spacing:.015em!important;
}
body.techgrid-fui-active .tg-widget-detail{margin-top:4px!important;color:var(--tg-muted)!important;font:600 9px/1.35 "Segoe UI",Arial,sans-serif!important}
body.techgrid-fui-active .tg-widget-empty{
  display:block!important;height:auto!important;min-height:0!important;padding:4px 0!important;text-align:left!important;
  color:var(--tg-muted)!important;font:650 8px/1.45 Consolas,monospace!important;letter-spacing:.035em!important;
}
body.techgrid-fui-active .tg-widget-error-copy{
  display:grid!important;gap:2px!important;margin:1px 0 5px!important;padding:0!important;
  border:0!important;background:transparent!important;color:#ff9a87!important;
}
body.techgrid-fui-active .tg-widget-error-copy b{font:800 6.5px/1 Consolas,monospace!important;letter-spacing:.15em!important;color:#ff6958!important}
body.techgrid-fui-active .tg-widget-error-copy span{font:650 8.5px/1.35 "Segoe UI",Arial,sans-serif!important}
body.techgrid-fui-active .tg-widget-list{gap:2px!important;margin-top:5px!important}
body.techgrid-fui-active .tg-widget-list>div{
  grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;
  padding:3px 0!important;border:0!important;
  border-top:1px solid color-mix(in srgb,var(--tg-line) 12%,transparent)!important;
  background:transparent!important;font:600 8.5px/1.25 "Segoe UI",Arial,sans-serif!important;
}
body.techgrid-fui-active .tg-widget-list>div:first-child{border-top-color:transparent!important}
body.techgrid-fui-active .tg-widget>footer{
  display:flex!important;justify-content:space-between!important;gap:8px!important;
  padding:5px 0 0!important;margin-top:2px!important;
  border:0!important;background:transparent!important;
  color:var(--tg-muted)!important;font:700 6.5px/1 Consolas,monospace!important;letter-spacing:.065em!important;
  opacity:.76!important;
}
body.techgrid-fui-active .tg-widget-online i{width:4px!important;height:4px!important;box-shadow:0 0 5px currentColor!important}
body.techgrid-fui-active .tg-widget-chart{height:36px!important;margin-top:5px!important;opacity:.82!important}

/* Größenänderung bleibt am unteren Rand verfügbar, aber ohne sichtbaren Fenstergriff. */
body.techgrid-fui-active .tg-widget-resizer{
  right:-4px!important;bottom:-4px!important;width:20px!important;height:20px!important;
  background:transparent!important;border:0!important;box-shadow:none!important;opacity:0!important;
}
body.techgrid-fui-active .tg-widget.is-pinned .tg-widget-resizer{display:none!important}
body.techgrid-fui-active .tg-widget.is-pinned>header::after{
  content:"LINKED"!important;display:inline!important;position:static!important;
  color:var(--tg-line-2)!important;font:800 6px/1 Consolas,monospace!important;letter-spacing:.14em!important;opacity:.55!important;
}

/* Helle Themes nutzen dieselbe integrierte Typografie, keine weiße Mini-Fensterfläche. */
body.user-theme-techgrid-light.techgrid-fui-active .tg-widget,
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-widget{
  background:transparent!important;box-shadow:none!important;text-shadow:none!important;
}

/* ========================================================================== 
   v0.99.29 · Schritt 129 – Freies Fensterscrollen / unsichtbare Rahmen-Resize-Zonen / No-Blur
   ========================================================================== */
/* Mausrad und Trackpad sollen pixelgenau/frei laufen; Snap/Smooth gilt nur für explizite Bedienelemente. */
body.techgrid-fui-active .win95.tg-rect-window .tg-content-stage,
body.techgrid-fui-active .win95.tg-rect-window .tg-fluid-scroll,
body.techgrid-fui-active .win95.tg-rect-window :is(.win-body,.alert-content,.prae-main,.prae-content,.inner-pad,.table-scroll,.handbook-content,.handbook-index,.secure-mail-list,.secure-mail-reader,.netchat-messages,.chat-message-list,.sim-shell-output,.pizza-browser-body,.bndx-code,.bndx-remote-shell,.tg-note-paper){
  scroll-behavior:auto!important;
  scroll-snap-type:none!important;
  overscroll-behavior:contain!important;
}

/* Resize bleibt an Rahmen/Kanten/Ecken vollständig aktiv, ist aber optisch unsichtbar. */
body.techgrid-fui-active .win95.win-managed.tg-rect-window:not(.window-maximized)>.win-resizer,
body.techgrid-fui-active .win95.win-managed.tg-rect-window:not(.window-maximized)>.win-resizer:hover,
body.techgrid-fui-active .win95.win-managed.tg-rect-window:not(.window-maximized)>.win-resizer:active{
  opacity:0!important;
  background:transparent!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  filter:none!important;
}
/* Die unsichtbaren Trefferflächen sitzen ausschließlich am echten Rechteckrahmen. */
body.techgrid-fui-active .win95.win-managed.tg-rect-window:not(.window-maximized)>.win-resizer-n{left:12px!important;right:12px!important;top:-6px!important;height:12px!important}
body.techgrid-fui-active .win95.win-managed.tg-rect-window:not(.window-maximized)>.win-resizer-s{left:12px!important;right:12px!important;bottom:-6px!important;height:12px!important}
body.techgrid-fui-active .win95.win-managed.tg-rect-window:not(.window-maximized)>.win-resizer-e{top:12px!important;bottom:12px!important;right:-6px!important;width:12px!important}
body.techgrid-fui-active .win95.win-managed.tg-rect-window:not(.window-maximized)>.win-resizer-w{top:12px!important;bottom:12px!important;left:-6px!important;width:12px!important}
body.techgrid-fui-active .win95.win-managed.tg-rect-window:not(.window-maximized)>.win-resizer-ne{top:-7px!important;right:-7px!important;width:20px!important;height:20px!important}
body.techgrid-fui-active .win95.win-managed.tg-rect-window:not(.window-maximized)>.win-resizer-nw{top:-7px!important;left:-7px!important;width:20px!important;height:20px!important}
body.techgrid-fui-active .win95.win-managed.tg-rect-window:not(.window-maximized)>.win-resizer-se{bottom:-7px!important;right:-7px!important;width:20px!important;height:20px!important}
body.techgrid-fui-active .win95.win-managed.tg-rect-window:not(.window-maximized)>.win-resizer-sw{bottom:-7px!important;left:-7px!important;width:20px!important;height:20px!important}

/* Historische Pflichtregel: Waben werden zu keinem Zeitpunkt weichgezeichnet. */
body.techgrid-fui-active .tg-node,
body.techgrid-fui-active .tg-node-frame,
body.techgrid-fui-active .tg-node-surface,
body.techgrid-fui-active .tg-node-icon,
body.techgrid-fui-active .tg-stack-slab{
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
@keyframes tgNodeIn{0%{opacity:0;transform:translate(-50%,-50%) translateY(7px) scale(.96)}100%{opacity:1;transform:translate(-50%,-50%) translateY(0) scale(1)}}
@keyframes tgNodeOut{0%{opacity:1;transform:translate(-50%,-50%) translateY(0) scale(1)}100%{opacity:0;transform:translate(-50%,-50%) translateY(4px) scale(.98)}}
/* Auch der Übergang Wabe -> Fenster nutzt nur Opacity/Scale/Brightness, niemals Blur. */
@keyframes tgWindowFromNode{0%{opacity:0;transform:scale(.08) rotate(-3deg);filter:brightness(2.05)}38%{opacity:1;filter:brightness(1.42)}72%{transform:scale(1.018) rotate(0)}100%{opacity:1;transform:scale(1);filter:brightness(1)}}
@keyframes tgWindowToNode{0%{opacity:1;transform:scale(1);filter:brightness(1)}100%{opacity:0;transform:scale(.10) translateY(8px);filter:brightness(1.75)}}

/* Schritt 129 Nachprüfung: Resize-Trefferflächen liegen vollständig IN der echten
   Fensterkante. Dadurch können Desktop-/Circuit-Layer außerhalb des Fensters den
   Pointer nicht mehr abfangen; sichtbar bleibt weiterhin kein Griff. */
body.techgrid-fui-active .win95.win-managed.tg-rect-window:not(.window-maximized)>.win-resizer-n{left:14px!important;right:14px!important;top:0!important;height:8px!important}
body.techgrid-fui-active .win95.win-managed.tg-rect-window:not(.window-maximized)>.win-resizer-s{left:14px!important;right:14px!important;bottom:0!important;height:8px!important}
body.techgrid-fui-active .win95.win-managed.tg-rect-window:not(.window-maximized)>.win-resizer-e{top:14px!important;bottom:14px!important;right:0!important;width:8px!important}
body.techgrid-fui-active .win95.win-managed.tg-rect-window:not(.window-maximized)>.win-resizer-w{top:14px!important;bottom:14px!important;left:0!important;width:8px!important}
body.techgrid-fui-active .win95.win-managed.tg-rect-window:not(.window-maximized)>.win-resizer-ne{top:0!important;right:0!important;width:16px!important;height:16px!important}
body.techgrid-fui-active .win95.win-managed.tg-rect-window:not(.window-maximized)>.win-resizer-nw{top:0!important;left:0!important;width:16px!important;height:16px!important}
body.techgrid-fui-active .win95.win-managed.tg-rect-window:not(.window-maximized)>.win-resizer-se{bottom:0!important;right:0!important;width:16px!important;height:16px!important}
body.techgrid-fui-active .win95.win-managed.tg-rect-window:not(.window-maximized)>.win-resizer-sw{bottom:0!important;left:0!important;width:16px!important;height:16px!important}
/* Schritt 129 No-Blur-Nachprüfung: Auch der historische Inhalts-Morph darf keine
   Weichzeichnung mehr einführen. */
@keyframes tgHexContentMorph{
  0%{opacity:.38;transform:translateY(4px) scale(.985);filter:brightness(1.16)}
  45%{opacity:.72;transform:translateY(1px) scale(.995);filter:brightness(1.07)}
  100%{opacity:1;transform:none;filter:none}
}


/* ==========================================================================
   v0.99.30 · Schritt 130 – Desktop-Gesamtsystem / CORE- und Ebenenregression
   Infoboxen < CORE < Waben; CORE selbst ist wieder mit Maus bedienbar.
   ========================================================================== */
body.techgrid-fui-active .tg-widget-layer{z-index:5!important}
body.techgrid-fui-active .tg-core-orbit{z-index:8!important;pointer-events:auto!important;cursor:pointer!important}
body.techgrid-fui-active .tg-core-orbit :is(.tg-orbit,.tg-core-pulse,.tg-core-mark,.tg-praetorian-emblem,.tg-gatekeeper-emblem){pointer-events:none!important}
body.techgrid-fui-active .tg-node-layer{z-index:9!important}

/* ==========================================================================
   v0.99.32 · Schritt 132 – Waben raster-scharf statt Glow-Weichzeichnung
   ========================================================================== */
body.techgrid-fui-active .tg-node:not([data-tg-id="security-alert"]){
  perspective:none!important;
  filter:none!important;
}
body.techgrid-fui-active .tg-node:not([data-tg-id="security-alert"]) .tg-node-frame,
body.techgrid-fui-active .tg-node:not([data-tg-id="security-alert"]) .tg-node-frame::after,
body.techgrid-fui-active .tg-node:not([data-tg-id="security-alert"]) .tg-node-icon,
body.techgrid-fui-active .tg-node:not([data-tg-id="security-alert"]) .tg-hierarchy-mark,
body.techgrid-fui-active .tg-node:not([data-tg-id="security-alert"]) :is(strong,small,em){
  filter:none!important;
  text-shadow:none!important;
}
/* 3D-Rotation und Skalierung rasterisieren kleine Schrift/Icon-Layer weich.
   Hover bleibt deshalb als klare 2-px-Anhebung plus Rahmenakzent erhalten. */
body.os-body.techgrid-fui-active:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-light,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-matrix,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) .techgrid-desktop-v3 button.tg-node:hover:not(.is-dragging),
body.os-body.techgrid-fui-active:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-light,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-matrix,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) .techgrid-desktop-v3 button.tg-node:focus-visible:not(.is-dragging){
  transform:translate(-50%,-50%)!important;
}
body.os-body.techgrid-fui-active:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-light,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-matrix,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) .techgrid-desktop-v3 button.tg-node.is-dragging{
  transform:translate(-50%,-50%)!important;
}
body.techgrid-fui-active .tg-node:not([data-tg-id="security-alert"]):is(:hover,:focus-visible) .tg-node-frame,
body.techgrid-fui-active .tg-family-focus:not([data-tg-id="security-alert"]) .tg-node-frame{
  transform:none!important;
}

body.techgrid-fui-active .tg-node:not([data-tg-id="security-alert"]):is(:hover,:focus-visible) .tg-node-surface{
  box-shadow:inset 0 0 0 1px var(--tg-line-2)!important;
}
/* Klare Interaktionssignale ohne Blur-/Drop-Shadow-Filter. */
body.techgrid-fui-active .tg-node:not([data-tg-id="security-alert"]).tg-dock-target .tg-node-surface,
body.techgrid-fui-active .tg-node:not([data-tg-id="security-alert"]).tg-reparent-target .tg-node-surface{
  box-shadow:inset 0 0 0 2px var(--tg-line-2)!important;
}
body.techgrid-fui-active .tg-node:not([data-tg-id="security-alert"]).tg-dock-ready .tg-node-surface{
  box-shadow:inset 0 0 0 2px var(--tg-line)!important;
}
/* Kleine Beschriftung nur in ganzen Pixelstufen rendern; das vermeidet weiche
   Subpixel-Glyphen bei den responsiven Wabengrößen. */
body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="wide"]{--tg-info-size:7px}
body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="medium"]{--tg-title-size:9px;--tg-info-size:6px}
body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="compact"]{--tg-title-size:8px;--tg-info-size:6px}
body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="micro"]{--tg-title-size:7px;--tg-info-size:5px}
/* Schritt 132 – Spezialfälle ebenfalls raster-scharf: offene Sammelwaben und
   Matrix-Light dürfen die globale No-Glow-Regel nicht wieder überschreiben. */
body.techgrid-fui-active .tg-node.tg-node-folder.is-open:not([data-tg-id="security-alert"]) .tg-node-frame,
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-node.tg-node-folder.is-open:not([data-tg-id="security-alert"]) .tg-node-frame{
  filter:none!important;
  transform:none!important;
}
body.techgrid-fui-active .tg-node.tg-node-folder.is-open:not([data-tg-id="security-alert"]) :is(strong,small,em),
body.user-theme-techgrid-matrix.techgrid-fui-active .tg-node.tg-node-folder.is-open:not([data-tg-id="security-alert"]) :is(strong,small,em){
  text-shadow:none!important;
  filter:none!important;
}

/* ========================================================================== 
   v0.99.33 · Schritt 133 – Fensterinhalt / Selects / Typografie-Sicherheitszone
   ========================================================================== */
body.techgrid-fui-active .win95.tg-rect-window:not(.gate-app-window):not(.techgrid-module-host):not(.praetorian-control-window) > :is(.win-body,.alert-content).tg-content-stage{
  left:clamp(40px,10.5%,52px)!important;
  right:clamp(40px,10.5%,52px)!important;
}
/* Auf kleinen Fenstern bleiben die Seitenleisten kompakt, ohne Eingabefelder zu überdecken. */
body.techgrid-fui-active .win95.tg-rect-window.tg-window-micro:not(.gate-app-window):not(.techgrid-module-host):not(.praetorian-control-window) > :is(.win-body,.alert-content).tg-content-stage{
  left:40px!important;right:40px!important;
}
/* Selectlisten öffnen sich bei wenig Platz oberhalb des Feldes und bleiben vollständig
   innerhalb der scrollbaren Fensterfläche. */
body.techgrid-fui-active .tg-select-shell.is-drop-up .tg-select-list,
body.techgrid-module .tg-select-shell.is-drop-up .tg-select-list,
body.techgrid-hex-embedded .tg-select-shell.is-drop-up .tg-select-list{
  top:auto!important;bottom:calc(100% + 4px)!important;
}
/* Der unsichtbare Original-Select ist nur Formulardatenträger; Fokus liegt am TechGrid-Trigger. */
body.techgrid-fui-active select.tg-native-select[aria-hidden="true"],
body.techgrid-module select.tg-native-select[aria-hidden="true"],
body.techgrid-hex-embedded select.tg-native-select[aria-hidden="true"]{outline:0!important}
body.techgrid-fui-active .tg-select-list,
body.techgrid-module .tg-select-list,
body.techgrid-hex-embedded .tg-select-list{box-sizing:border-box!important}

/* ========================================================================== 
   v0.99.33 · Schritt 133 – Audit-/Versionslog: Historie + neueste Einträge oben
   ========================================================================== */
body.techgrid-fui-active .audit-log-summary{grid-template-columns:repeat(5,minmax(0,1fr))}
body.techgrid-fui-active .audit-log-table{min-width:940px}
body.techgrid-fui-active .audit-log-table .audit-detail-cell{min-width:240px;max-width:520px;line-height:1.42}
body.techgrid-fui-active .audit-event-version .audit-action-badge{
  border-color:color-mix(in srgb,var(--tg-accent2,var(--tg-accent,#7cf)) 58%,transparent);
  color:var(--tg-accent2,var(--tg-accent,#7cf));
  background:color-mix(in srgb,var(--tg-panel,#101923) 80%,transparent);
}
body.techgrid-fui-active .audit-event-version td:first-child{font-weight:800}
body.techgrid-fui-active .prae-content.tg-narrow .audit-log-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
body.techgrid-fui-active .prae-content.tg-micro .audit-log-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
body.techgrid-fui-active .prae-content.tg-micro .audit-log-table td:nth-child(7){grid-column:1/-1}


/* Michael Klementz | 28.09.2026 – Schritt 134: Formzustände als eindeutige TechGrid-Signale.
   Disabled-Auswahlen wirken nicht mehr aktiv; gewählte Checkbox-/Radio-Zeilen sind als Zustand erkennbar;
   Custom-Select-Validierung und laufende PRAETORIAN-Submits bleiben auch per Tastatur eindeutig. */
body.techgrid-fui-active .win95.tg-hex-window .check-group>label:has(input.tg-choice-input:checked){
  border-color:color-mix(in srgb,var(--tg-line-2) 78%,var(--tg-edge))!important;
  background:color-mix(in srgb,var(--tg-line) 12%,var(--tg-card))!important;
  box-shadow:inset 3px 0 0 var(--tg-line-2)!important;
}
body.techgrid-fui-active .win95.tg-hex-window .check-group>label:has(input.tg-choice-input:focus-visible){
  outline:2px solid var(--tg-line-2)!important;outline-offset:2px!important;
}
body.techgrid-fui-active .win95.tg-hex-window .check-group>label:has(input.tg-choice-input:disabled){
  opacity:.52!important;cursor:not-allowed!important;filter:saturate(.5)!important;transform:none!important;
}
body.techgrid-fui-active .win95.tg-hex-window .check-group>label:has(input.tg-choice-input:disabled):hover{
  border-color:color-mix(in srgb,var(--tg-edge) 38%,transparent)!important;
  background:color-mix(in srgb,var(--tg-card) 66%,transparent)!important;transform:none!important;
}
body.techgrid-fui-active .tg-select-trigger[aria-invalid="true"],
body.techgrid-hex-embedded .tg-select-trigger[aria-invalid="true"]{
  border-color:#c63d35!important;box-shadow:inset 3px 0 0 #c63d35,0 0 0 1px color-mix(in srgb,#c63d35 35%,transparent)!important;
}
body.techgrid-fui-active form.is-submitting button[type="submit"][aria-disabled="true"],
body.techgrid-fui-active form.is-submitting input[type="submit"][aria-disabled="true"]{
  opacity:.54!important;cursor:progress!important;filter:saturate(.45)!important;pointer-events:none!important;
}


/* Michael Klementz | 28.09.2026 – Schritt 134: Einheitlicher Loading-Zustand auch für asynchrone Chat-/Mail-Formulare. */
body.techgrid-fui-active form[aria-busy="true"] button[type="submit"],
body.techgrid-fui-active form[aria-busy="true"] input[type="submit"],
body.techgrid-hex-embedded form[aria-busy="true"] button[type="submit"],
body.techgrid-hex-embedded form[aria-busy="true"] input[type="submit"]{
  opacity:.54!important;cursor:progress!important;filter:saturate(.45)!important;
}


/* Michael Klementz | 28.09.2026 – Schritt 135: Tabellen/Listen bleiben deckend, sortierbar und in kleinen PRAETORIAN-Fenstern wirklich responsiv. */
body.techgrid-fui-active .win95.tg-hex-window.praetorian-control-window{
  container-name:tg-prae-control!important;
  container-type:size!important;
}
body.techgrid-fui-active :is(.os-table,.code-guide-table) thead th{
  background:color-mix(in srgb,var(--tg-line) 9%,var(--tg-bg2))!important;
  color:var(--tg-ink)!important;
  border-color:var(--tg-edge)!important;
  background-clip:padding-box!important;
}
body.techgrid-fui-active [data-sortable-table] thead th{padding:0!important}
body.techgrid-fui-active [data-sortable-table] .tg-table-sort{
  width:100%;min-width:0;min-height:32px;padding:6px 22px 6px 8px;border:0!important;background:transparent!important;color:inherit!important;
  position:relative;text-align:left;font:inherit!important;letter-spacing:inherit!important;text-transform:inherit!important;cursor:pointer;clip-path:none!important;box-shadow:none!important;
}
body.techgrid-fui-active [data-sortable-table] .tg-table-sort::after{
  content:"↕";position:absolute;right:7px;top:50%;transform:translateY(-50%);opacity:.45;font-size:.9em;
}
body.techgrid-fui-active [data-sortable-table] th[aria-sort="ascending"] .tg-table-sort::after{content:"↑";opacity:1;color:var(--tg-line-2)}
body.techgrid-fui-active [data-sortable-table] th[aria-sort="descending"] .tg-table-sort::after{content:"↓";opacity:1;color:var(--tg-line-2)}
body.techgrid-fui-active [data-sortable-table] .tg-table-sort:hover,
body.techgrid-fui-active [data-sortable-table] .tg-table-sort:focus-visible{background:color-mix(in srgb,var(--tg-line) 12%,transparent)!important;outline:2px solid var(--tg-line-2)!important;outline-offset:-2px!important}
body.techgrid-fui-active .table-scroll:focus-visible,
body.techgrid-fui-active .code-guide-table-wrap:focus-visible{outline:2px solid var(--tg-line-2)!important;outline-offset:2px!important}
body.techgrid-fui-active .table-empty-row td{padding:14px!important;text-align:center!important;font-style:italic!important;opacity:.72!important}
@container tg-prae-control (max-width:700px){
  body.techgrid-fui-active .praetorian-control-window .table-empty-row{display:block!important;padding:0!important}
  body.techgrid-fui-active .praetorian-control-window .table-empty-row td{display:block!important;padding:12px!important;text-align:left!important}
  body.techgrid-fui-active .praetorian-control-window .table-empty-row td::before{display:none!important;content:none!important}
}

/* Michael Klementz | 28.09.2026 – Schritt 135: Listenaktionen behalten in TechGrid einen sichtbaren Tastaturfokus und aktive Zeilen bleiben klar vom Hover getrennt. */
body.techgrid-fui-active :is(.portal-item,.mail-folder,.secure-mail-row,.handbook-index button,.prae-sidebar .nav-tile):focus-visible{
  outline:2px solid var(--tg-line-2)!important;
  outline-offset:2px!important;
}
body.techgrid-fui-active :is(.mail-folder.active,.secure-mail-row.active,.prae-sidebar .nav-tile.active){
  box-shadow:inset 3px 0 0 var(--tg-line-2)!important;
}

/* Schritt 135 final: Sticky-Kopfzeilen gewinnen in ALLEN neun TechGrid-Themes gegen ältere themespezifische Tabellenregeln. */
body.os-body.techgrid-fui-active:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-light,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-matrix,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) :is(.os-table,.code-guide-table) thead th{
  background:color-mix(in srgb,var(--tg-line) 9%,var(--tg-bg2))!important;
  color:var(--tg-ink)!important;
  border-color:var(--tg-edge)!important;
  background-clip:padding-box!important;
}

/* Michael Klementz | 29.09.2026 – Schritt 136: Status-, Fehler-, Warn-, Leer- und Ladezustände erhalten eine feste semantische Palette. Keine Meldung darf nur über Farbe kommunizieren; Symbol, Text und Zustand bleiben in allen neun TechGrid-Themes eindeutig. */
body:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel),
body.techgrid-module:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel),
body.techgrid-hex-embedded:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel){
  --tg-state-info-bg:#17212a;--tg-state-info-ink:#f2f8ff;--tg-state-info-edge:#5d8fa9;
  --tg-state-success-bg:#123822;--tg-state-success-ink:#dcffe7;--tg-state-success-edge:#64d38b;
  --tg-state-warn-bg:#493800;--tg-state-warn-ink:#fff1b6;--tg-state-warn-edge:#e7bd48;
  --tg-state-error-bg:#4b1517;--tg-state-error-ink:#ffe0dc;--tg-state-error-edge:#ff7a6c;
  --tg-state-empty-bg:#111922;--tg-state-empty-ink:#c3d0dc;--tg-state-empty-edge:#4c6072;
}
body.user-theme-techgrid-light,
body.user-theme-techgrid-matrix,
body.techgrid-module:is(.user-theme-techgrid-light,.user-theme-techgrid-matrix),
body.techgrid-hex-embedded:is(.user-theme-techgrid-light,.user-theme-techgrid-matrix){
  --tg-state-info-bg:#f4f7f8;--tg-state-info-ink:#1b2925;--tg-state-info-edge:#678078;
  --tg-state-success-bg:#e6f4e9;--tg-state-success-ink:#1b5930;--tg-state-success-edge:#4d9866;
  --tg-state-warn-bg:#fff2ca;--tg-state-warn-ink:#624900;--tg-state-warn-edge:#b6871b;
  --tg-state-error-bg:#ffe4df;--tg-state-error-ink:#78251f;--tg-state-error-edge:#b94d43;
  --tg-state-empty-bg:#eef2f0;--tg-state-empty-ink:#44534e;--tg-state-empty-edge:#83918c;
}
body.techgrid-fui-active .win95.tg-hex-window .os-msg,
body.techgrid-hex-embedded .os-msg{
  background:var(--tg-state-info-bg)!important;color:var(--tg-state-info-ink)!important;
  border:1px solid var(--tg-state-info-edge)!important;border-left:4px solid var(--tg-state-info-edge)!important;
  box-shadow:none!important;
}
body.techgrid-fui-active .win95.tg-hex-window .os-msg.success,
body.techgrid-hex-embedded .os-msg.success{
  background:var(--tg-state-success-bg)!important;color:var(--tg-state-success-ink)!important;border-color:var(--tg-state-success-edge)!important;
}
body.techgrid-fui-active .win95.tg-hex-window .os-msg.warn,
body.techgrid-hex-embedded .os-msg.warn{
  background:var(--tg-state-warn-bg)!important;color:var(--tg-state-warn-ink)!important;border-color:var(--tg-state-warn-edge)!important;
}
body.techgrid-fui-active .win95.tg-hex-window .os-msg.error,
body.techgrid-hex-embedded .os-msg.error{
  background:var(--tg-state-error-bg)!important;color:var(--tg-state-error-ink)!important;border-color:var(--tg-state-error-edge)!important;
}
body.techgrid-fui-active .win95.tg-hex-window .empty-note,
body.techgrid-hex-embedded .empty-note{
  background:var(--tg-state-empty-bg)!important;color:var(--tg-state-empty-ink)!important;
  border:1px dashed var(--tg-state-empty-edge)!important;box-shadow:none!important;
}
body.techgrid-fui-active .win95.tg-hex-window .qr-tool-status:not(.error),
body.techgrid-hex-embedded .qr-tool-status:not(.error){background:var(--tg-state-success-bg)!important;color:var(--tg-state-success-ink)!important;border-color:var(--tg-state-success-edge)!important}
body.techgrid-fui-active .win95.tg-hex-window .qr-tool-status.error,
body.techgrid-hex-embedded .qr-tool-status.error{background:var(--tg-state-error-bg)!important;color:var(--tg-state-error-ink)!important;border-color:var(--tg-state-error-edge)!important}
body.techgrid-fui-active .handbook-loading{color:var(--tg-state-info-ink)!important;background:var(--tg-state-info-bg)!important;border-left:4px solid var(--tg-state-info-edge)!important;margin:12px;padding:16px!important}
body.techgrid-fui-active .handbook-loading.handbook-error{color:var(--tg-state-error-ink)!important;background:var(--tg-state-error-bg)!important;border-left-color:var(--tg-state-error-edge)!important}

/* Modulstatus: Prüfen/Laden, kurz erfolgreich, Fehler + echter Retry. */
body.techgrid-fui-active .tg-module-state{background:var(--tg-state-info-bg)!important;color:var(--tg-state-info-ink)!important;border-color:var(--tg-state-info-edge)!important;box-shadow:none!important}
body.techgrid-fui-active .tg-module-state.is-loading .tg-module-state-dot{background:var(--tg-state-info-edge)!important;box-shadow:none!important}
body.techgrid-fui-active .tg-module-state.is-ready{background:var(--tg-state-success-bg)!important;color:var(--tg-state-success-ink)!important;border-color:var(--tg-state-success-edge)!important}
body.techgrid-fui-active .tg-module-state.is-ready .tg-module-state-dot{background:var(--tg-state-success-edge)!important;box-shadow:none!important;animation:none!important}
body.techgrid-fui-active .tg-module-state.is-error{background:var(--tg-state-error-bg)!important;color:var(--tg-state-error-ink)!important;border-color:var(--tg-state-error-edge)!important}
body.techgrid-fui-active .tg-module-state.is-error .tg-module-state-dot{background:var(--tg-state-error-edge)!important;box-shadow:none!important}
body.techgrid-fui-active .tg-module-retry{border-color:currentColor!important;background:transparent!important;color:inherit!important}

/* Desktop-Infoboxen: Loading, STALE und FEHLER sind getrennte Zustände; während eines Abrufs ist der Refresh-Button wirklich deaktiviert. */
body.techgrid-fui-active .tg-widget[aria-busy="true"] [data-widget-refresh]{opacity:.38!important;cursor:progress!important;pointer-events:none!important}
body.techgrid-fui-active .tg-widget-state.is-loading{color:var(--tg-line-2)!important;opacity:1!important}
body.techgrid-fui-active .tg-widget-state.is-loading::before{color:var(--tg-line-2)!important}
body.techgrid-fui-active .tg-widget-state.is-stale{color:var(--tg-state-warn-ink)!important;opacity:1!important}
body.techgrid-fui-active .tg-widget-state.is-stale::before{color:var(--tg-state-warn-edge)!important}
body.techgrid-fui-active .tg-widget-state.is-error{color:var(--tg-state-error-edge)!important;opacity:1!important}
body.techgrid-fui-active .tg-widget-online.is-stale{color:var(--tg-state-warn-edge)!important}
body.techgrid-fui-active .tg-widget-online.is-stale i{background:var(--tg-state-warn-edge)!important;box-shadow:none!important}
body.techgrid-fui-active .tg-widget-online.is-error{color:var(--tg-state-error-edge)!important}
body.techgrid-fui-active .tg-widget-online.is-error i{background:var(--tg-state-error-edge)!important;box-shadow:none!important}
body.techgrid-fui-active .tg-widget-probe-status,
body.techgrid-fui-active .tg-widget-region-status{padding:5px 7px;border-left:3px solid var(--tg-state-info-edge);background:var(--tg-state-info-bg);color:var(--tg-state-info-ink)!important}
body.techgrid-fui-active .tg-widget-probe-status.is-running{border-color:var(--tg-state-info-edge);color:var(--tg-state-info-ink)!important}
body.techgrid-fui-active .tg-widget-probe-status.is-ok,
body.techgrid-fui-active .tg-widget-region-status.is-ok{border-color:var(--tg-state-success-edge);background:var(--tg-state-success-bg);color:var(--tg-state-success-ink)!important}
body.techgrid-fui-active .tg-widget-probe-status.is-error,
body.techgrid-fui-active .tg-widget-region-status.is-error{border-color:var(--tg-state-error-edge);background:var(--tg-state-error-bg);color:var(--tg-state-error-ink)!important}

/* Disabled/Busy bleibt erkennbar, ohne Text unlesbar zu machen. */
body.techgrid-fui-active :is(button,.os-btn,input[type="submit"],input[type="button"]):disabled,
body.techgrid-hex-embedded :is(button,.os-btn,input[type="submit"],input[type="button"]):disabled{opacity:.5!important;filter:saturate(.45)!important;cursor:not-allowed!important}
body.techgrid-fui-active form[aria-busy="true"] :is(button[type="submit"],input[type="submit"]),
body.techgrid-hex-embedded form[aria-busy="true"] :is(button[type="submit"],input[type="submit"]){cursor:progress!important}
body.techgrid-fui-active [data-browser-online].is-online{color:var(--tg-state-success-edge)!important}
body.techgrid-fui-active [data-browser-online].is-offline{color:var(--tg-state-error-edge)!important;font-weight:900!important}

/* ==========================================================================
   v0.99.37 · Schritt 137 – Dialoge / Overlays / Bestätigungen
   Modale TechGrid-Dialoge liegen systemweit über Programmfenstern, sperren
   den Hintergrund ohne Blur und bleiben auch auf Micro-/Low-Height-Ansichten
   vollständig bedienbar. Gefahrendialoge sind eindeutig, aber nicht grell.
   ========================================================================== */
body.techgrid-fui-active.tg-modal-open{overflow:hidden!important}
body.techgrid-fui-active .tg-dialog-shade{
  position:fixed!important;inset:0!important;z-index:2147483200!important;
  place-items:center!important;padding:clamp(8px,2.2vw,18px)!important;
  box-sizing:border-box!important;overflow:auto!important;overscroll-behavior:contain!important;
  background:rgba(2,5,9,.66)!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
body.techgrid-fui-active .tg-dialog-shade[hidden]{display:none!important}
body.techgrid-fui-active .tg-dialog{
  width:min(460px,100%)!important;max-width:100%!important;
  max-height:min(680px,calc(100dvh - 20px))!important;min-height:0!important;
  display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important;
  overflow:hidden!important;box-sizing:border-box!important;
  background:linear-gradient(150deg,color-mix(in srgb,var(--tg-line) 8%,var(--tg-panel-2)),var(--tg-panel-2) 72%)!important;
  border:1px solid var(--tg-edge)!important;color:var(--tg-ink)!important;
  box-shadow:0 22px 58px rgba(0,0,0,.58),0 0 0 1px color-mix(in srgb,var(--tg-line) 12%,transparent)!important;
}
body.techgrid-fui-active .tg-dialog header{min-width:0!important}
body.techgrid-fui-active .tg-dialog header span{color:var(--tg-line-2)!important}
body.techgrid-fui-active .tg-dialog header strong{color:var(--tg-ink)!important;overflow-wrap:anywhere!important}
body.techgrid-fui-active .tg-dialog-body{min-height:0!important;overflow:auto!important;overscroll-behavior:contain!important;scrollbar-gutter:stable!important;padding:2px 4px!important}
body.techgrid-fui-active .tg-dialog p{color:var(--tg-muted)!important}
body.techgrid-fui-active .tg-dialog footer{flex:0 0 auto!important;padding-top:9px!important;border-top:1px solid color-mix(in srgb,var(--tg-edge) 58%,transparent)!important;background:color-mix(in srgb,var(--tg-panel-2) 96%,transparent)!important}
body.techgrid-fui-active .tg-dialog.is-danger{border-color:color-mix(in srgb,var(--tg-danger) 68%,var(--tg-edge))!important;box-shadow:0 22px 58px rgba(0,0,0,.60),0 0 0 1px color-mix(in srgb,var(--tg-danger) 18%,transparent)!important}
body.techgrid-fui-active .tg-dialog.is-danger header span{color:color-mix(in srgb,var(--tg-danger) 72%,white)!important}
body.techgrid-fui-active .tg-dialog button.danger{background:color-mix(in srgb,var(--tg-danger) 70%,#130707)!important;border-color:color-mix(in srgb,var(--tg-danger) 84%,white)!important;color:#fff!important;font-weight:800!important}
body.techgrid-fui-active .tg-dialog button.danger:hover,body.techgrid-fui-active .tg-dialog button.danger:focus-visible{background:color-mix(in srgb,var(--tg-danger) 82%,#160505)!important;border-color:#fff!important}
@media(max-width:520px){
  body.techgrid-fui-active .tg-dialog-shade{padding:7px!important}
  body.techgrid-fui-active .tg-dialog{width:100%!important;max-height:calc(100dvh - 14px)!important;padding:10px!important}
  body.techgrid-fui-active .tg-dialog footer{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important}
}
@media(max-width:340px){body.techgrid-fui-active .tg-dialog footer{grid-template-columns:1fr!important}}
@media(max-height:430px){
  body.techgrid-fui-active .tg-dialog-shade{place-items:start center!important;padding-block:5px!important}
  body.techgrid-fui-active .tg-dialog{max-height:calc(100dvh - 10px)!important;padding:8px!important}
  body.techgrid-fui-active .tg-dialog header{padding-bottom:5px!important;margin-bottom:6px!important}
  body.techgrid-fui-active .tg-dialog footer{margin-top:5px!important;padding-top:5px!important}
}

/* ==========================================================================
   v0.99.38 · Schritt 138 – Benachrichtigungen / Badges / Read-Unread
   Benachrichtigungszähler bleiben semantisch rot, kontrastfest und rasterklar.
   Sammelwaben zeigen dieselbe klare Sprache ohne Glow-Weichzeichnung.
   ========================================================================== */
body.techgrid-fui-active,
body.techgrid-module,
body.techgrid-hex-embedded{
  --tg-notice-bg:#9b1830;
  --tg-notice-fg:#fff;
  --tg-notice-edge:#ffd36a;
}
body.techgrid-fui-active .tg-node-badge{
  min-width:22px!important;height:20px!important;padding:0 6px!important;
  border-radius:999px!important;background:var(--tg-notice-bg)!important;color:var(--tg-notice-fg)!important;
  border:1px solid rgba(255,255,255,.78)!important;box-shadow:none!important;
  font:800 10px/18px Arial,sans-serif!important;letter-spacing:0!important;
  text-align:center!important;filter:none!important;text-shadow:none!important;
}
body.techgrid-fui-active .tg-folder-notice{
  left:10px!important;bottom:9px!important;min-width:22px!important;height:17px!important;padding:0 5px!important;
  gap:4px!important;border:1px solid var(--tg-notice-edge)!important;border-radius:999px!important;
  background:var(--tg-notice-bg)!important;color:var(--tg-notice-fg)!important;
  box-shadow:none!important;filter:none!important;text-shadow:none!important;
  font:800 9px/15px Arial,sans-serif!important;opacity:1!important;
}
body.techgrid-fui-active .tg-folder-notice i{
  width:5px!important;height:5px!important;background:var(--tg-notice-edge)!important;
  box-shadow:none!important;animation:none!important;opacity:1!important;
}
body.techgrid-fui-active .tg-node-folder.is-open .tg-folder-notice{opacity:1!important}
body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="compact"] .tg-folder-notice{transform:scale(.9)!important}
body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="micro"] .tg-folder-notice{transform:scale(.82)!important}

/* Ungelesene Mailzeilen tragen zusätzlich zur fetten Betreffzeile einen klaren
   NEU-Marker. Der Zustand ist damit nicht nur über Schriftgewicht/Farbe erkennbar. */
.secure-mail-unread-mark{
  display:inline-flex;align-items:center;justify-content:center;margin-right:7px;padding:2px 5px;
  border-radius:999px;background:#9b1830;color:#fff;border:1px solid rgba(255,255,255,.72);
  font:800 9px/1 Arial,sans-serif;font-style:normal;letter-spacing:.06em;vertical-align:middle;
}
body.techgrid-module .secure-mail-row.unread,
body.techgrid-hex-embedded .secure-mail-row.unread{
  border-left:4px solid #9b1830!important;
}
body.techgrid-module .secure-mail-unread-mark,
body.techgrid-hex-embedded .secure-mail-unread-mark{background:#9b1830!important;color:#fff!important;border-color:rgba(255,255,255,.78)!important}

/* Screenreader-Liveregion für neue Zählerstände; visuell komplett unsichtbar. */
.tg-sr-only{
  position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;
  overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;
}


/* ==========================================================================
   MKL | 30.09.2026 – Security-Signal und zentraler Innenfenster-Grundstandard
   ========================================================================== */
/* Aktiver Security Alert: auch die Interaktionslinie trägt dieselbe Signalfarbe wie Warnring/Icon. */
body.techgrid-fui-active .tg-circuit-layer path.is-security-signal{
  stroke:var(--tg-alert-ring,#ff516c)!important;
  opacity:1!important;stroke-width:2.2px!important;
  filter:drop-shadow(0 0 6px var(--tg-alert-glow,rgba(255,81,108,.46)))!important;
}
/* Der bestätigte/klare Security Alert ist keine leere Desktop-Wabe. */
body.techgrid-fui-active .tg-node[data-tg-id="security-alert"][hidden]{display:none!important}

/* Verbindlicher Innenfenster-Standard für jedes vom TechGrid-Fenstermanager erfasste Fenster. */
body.techgrid-fui-active .win95.win-managed[data-tg-window-audited="149"]{
  color:var(--tg-ink)!important;
  background:linear-gradient(155deg,color-mix(in srgb,var(--tg-line) 5%,var(--tg-panel-2)),var(--tg-panel-2) 58%,var(--tg-panel))!important;
  border-color:color-mix(in srgb,var(--tg-edge) 88%,transparent)!important;
}
body.techgrid-fui-active .win95.win-managed[data-tg-window-audited="149"]>.win-controls{
  position:absolute!important;z-index:3004!important;pointer-events:auto!important;
}
body.techgrid-fui-active .win95.win-managed[data-tg-window-audited="149"]>.win-controls>.win-btn{
  color:var(--tg-ink)!important;background:color-mix(in srgb,var(--tg-panel-2) 84%,var(--tg-line) 7%)!important;
  border-color:color-mix(in srgb,var(--tg-edge) 78%,transparent)!important;box-shadow:none!important;
}
body.techgrid-fui-active .win95.win-managed[data-tg-window-audited="149"]>.win-controls>.win-btn:hover,
body.techgrid-fui-active .win95.win-managed[data-tg-window-audited="149"]>.win-controls>.win-btn:focus-visible{
  color:var(--tg-line-2)!important;border-color:var(--tg-line)!important;background:color-mix(in srgb,var(--tg-panel-2) 74%,var(--tg-line) 14%)!important;
}
body.techgrid-fui-active .win95.win-managed[data-tg-window-audited="149"]>.win-controls>[data-close-window]:hover,
body.techgrid-fui-active .win95.win-managed[data-tg-window-audited="149"]>.win-controls>[data-close-window]:focus-visible{
  color:#fff!important;background:color-mix(in srgb,var(--tg-danger,#b91f3a) 78%,var(--tg-panel-2))!important;border-color:var(--tg-danger,#b91f3a)!important;
}
body.techgrid-fui-active .win95.win-managed[data-tg-window-audited="149"] :is(input,textarea,select,.os-input){
  color:var(--tg-ink)!important;background:color-mix(in srgb,var(--tg-panel) 88%,transparent)!important;border-color:color-mix(in srgb,var(--tg-edge) 72%,transparent)!important;
}
body.techgrid-fui-active .win95.win-managed[data-tg-window-audited="149"] :is(.os-btn,button:not(.win-btn)){
  border-color:color-mix(in srgb,var(--tg-edge) 74%,transparent);
}
/* Jede Haupt-Innenfläche bleibt als Scroll-Fallback erreichbar; spezialisierte Listen/Reader dürfen weiterhin selbst scrollen. */
body.techgrid-fui-active .win95.win-managed[data-tg-window-audited="149"]>:is(.win-body,.alert-content,.prae-main).tg-content-stage{
  min-width:0!important;min-height:0!important;max-width:100%!important;overscroll-behavior:contain!important;scrollbar-gutter:stable;
}
body.techgrid-fui-active .win95.win-managed[data-tg-window-audited="149"] :is(.tg-fluid-scroll,.prae-content,.inner-pad,.table-scroll,.handbook-content,.handbook-index,.secure-mail-list,.secure-mail-reader,.netchat-messages,.chat-message-list,.sim-shell-output,.pizza-browser-body,.bndx-code,.bndx-remote-shell,.tg-note-paper){
  scrollbar-width:thin;scrollbar-color:var(--tg-line) color-mix(in srgb,var(--tg-panel) 72%,transparent);
}


/* v0.99.50 · Schritt 150 – Einzelprüfung Fenster 01–03: Gatekeeper Hub, Status, Einzelchat. */
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="status"]>.gate-status-body{scrollbar-gutter:stable!important;scrollbar-width:thin!important;scrollbar-color:var(--tg-line) color-mix(in srgb,var(--tg-panel) 72%,transparent)!important}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="chat"] .chat-message-list{scrollbar-gutter:stable!important;scrollbar-width:thin!important;scrollbar-color:var(--tg-line) color-mix(in srgb,var(--tg-panel) 72%,transparent)!important}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="chat"] .chat-compose :is(textarea,input){background:color-mix(in srgb,var(--tg-panel) 90%,transparent)!important;color:var(--tg-ink)!important;border-color:color-mix(in srgb,var(--tg-edge) 72%,transparent)!important}

/* ==========================================================================
   v0.99.51 · Schritt 151 – Fenster 04–06 einzeln: PRAETORIAN / Security / PIN Alert
   ========================================================================== */
/* 04 PRAETORIAN Control: Navigation und Arbeitsinhalt besitzen getrennte, sichtbare Theme-Scrollflächen. */
body.techgrid-fui-active #praetorianControlWindow .prae-main{
  min-width:0!important;min-height:0!important;overflow:hidden!important;
}
body.techgrid-fui-active #praetorianControlWindow .prae-sidebar,
body.techgrid-fui-active #praetorianControlWindow .prae-content{
  min-width:0!important;min-height:0!important;overflow:auto!important;
  overscroll-behavior:contain!important;scrollbar-gutter:stable!important;
  scrollbar-width:thin!important;
  scrollbar-color:var(--tg-line) color-mix(in srgb,var(--tg-panel) 76%,transparent)!important;
}
body.techgrid-fui-active #praetorianControlWindow .prae-sidebar::-webkit-scrollbar,
body.techgrid-fui-active #praetorianControlWindow .prae-content::-webkit-scrollbar{width:8px;height:8px!important;display:block!important}
body.techgrid-fui-active #praetorianControlWindow .prae-sidebar::-webkit-scrollbar-track,
body.techgrid-fui-active #praetorianControlWindow .prae-content::-webkit-scrollbar-track{background:color-mix(in srgb,var(--tg-panel) 76%,transparent)!important}
body.techgrid-fui-active #praetorianControlWindow .prae-sidebar::-webkit-scrollbar-thumb,
body.techgrid-fui-active #praetorianControlWindow .prae-content::-webkit-scrollbar-thumb{background:var(--tg-line)!important;border:1px solid color-mix(in srgb,var(--tg-edge) 74%,transparent)!important;border-radius:0!important}
body.techgrid-fui-active #praetorianControlWindow .prae-sidebar{
  background:color-mix(in srgb,var(--tg-panel-2) 90%,transparent)!important;
  border-right:1px solid color-mix(in srgb,var(--tg-edge) 68%,transparent)!important;
}
body.techgrid-fui-active #praetorianControlWindow .prae-content{
  background:linear-gradient(180deg,color-mix(in srgb,var(--tg-line) 3%,transparent),transparent 30%),var(--tg-panel)!important;
}

/* 05 Security Alert: Signalfarbe bleibt bewusst auffällig, Fläche/Buttons gehören trotzdem zum aktiven Theme. */
body.techgrid-fui-active #praetorianSecurityAlert>.alert-content{
  color:var(--tg-ink)!important;
  background:linear-gradient(155deg,color-mix(in srgb,var(--tg-danger,#ff516c) 12%,var(--tg-panel-2)),var(--tg-panel) 58%,color-mix(in srgb,var(--tg-danger,#ff516c) 5%,var(--tg-panel)))!important;
  border-color:color-mix(in srgb,var(--tg-danger,#ff516c) 46%,var(--tg-edge))!important;
  scrollbar-gutter:stable!important;scrollbar-width:thin!important;
  scrollbar-color:var(--tg-alert-ring,#ff516c) color-mix(in srgb,var(--tg-panel) 78%,transparent)!important;
}
body.techgrid-fui-active #praetorianSecurityAlert>.alert-content::-webkit-scrollbar{width:8px;height:8px}
body.techgrid-fui-active #praetorianSecurityAlert>.alert-content::-webkit-scrollbar-track{background:color-mix(in srgb,var(--tg-panel) 78%,transparent)}
body.techgrid-fui-active #praetorianSecurityAlert>.alert-content::-webkit-scrollbar-thumb{background:var(--tg-alert-ring,#ff516c);border:1px solid color-mix(in srgb,var(--tg-edge) 72%,transparent);border-radius:0}
body.techgrid-fui-active #praetorianSecurityAlert .security-alert-notice{
  color:var(--tg-ink)!important;background:color-mix(in srgb,var(--tg-danger,#ff516c) 9%,var(--tg-panel-2))!important;
  border-color:color-mix(in srgb,var(--tg-danger,#ff516c) 46%,var(--tg-edge))!important;
}
body.techgrid-fui-active #praetorianSecurityAlert .security-alert-actions{
  position:sticky;bottom:0;z-index:4;padding-top:9px;padding-bottom:1px;
  background:linear-gradient(to bottom,transparent 0,color-mix(in srgb,var(--tg-panel) 96%,transparent) 24%);
}
body.techgrid-fui-active #praetorianSecurityAlert .security-alert-actions .os-btn{
  color:var(--tg-ink)!important;background:color-mix(in srgb,var(--tg-panel-2) 88%,var(--tg-danger,#ff516c) 7%)!important;
  border-color:color-mix(in srgb,var(--tg-danger,#ff516c) 42%,var(--tg-edge))!important;
}

/* 06 Duplicate/User-Creation PIN Alert: Danger-Signal im Theme, Aktionen bleiben beim internen Scrollen erreichbar. */
body.techgrid-fui-active #duplicatePinAlertWindow>.alert-content{
  display:flex!important;flex-direction:column!important;min-width:0!important;min-height:0!important;
  color:var(--tg-ink)!important;
  background:linear-gradient(155deg,color-mix(in srgb,var(--tg-danger,#ff516c) 16%,var(--tg-panel-2)),var(--tg-panel) 66%,color-mix(in srgb,var(--tg-danger,#ff516c) 7%,var(--tg-panel)))!important;
  border-color:color-mix(in srgb,var(--tg-danger,#ff516c) 46%,var(--tg-edge))!important;
  scrollbar-gutter:stable!important;scrollbar-width:thin!important;
  scrollbar-color:var(--tg-alert-ring,#ff516c) color-mix(in srgb,var(--tg-panel) 78%,transparent)!important;
}
body.techgrid-fui-active #duplicatePinAlertWindow>.alert-content::-webkit-scrollbar{width:8px;height:8px}
body.techgrid-fui-active #duplicatePinAlertWindow>.alert-content::-webkit-scrollbar-track{background:color-mix(in srgb,var(--tg-panel) 78%,transparent)}
body.techgrid-fui-active #duplicatePinAlertWindow>.alert-content::-webkit-scrollbar-thumb{background:var(--tg-alert-ring,#ff516c);border:1px solid color-mix(in srgb,var(--tg-edge) 72%,transparent);border-radius:0}
body.techgrid-fui-active #duplicatePinAlertWindow .duplicate-alert-heading{color:var(--tg-ink)!important}
body.techgrid-fui-active #duplicatePinAlertWindow .duplicate-alert-message{
  color:var(--tg-ink)!important;background:color-mix(in srgb,var(--tg-danger,#ff516c) 8%,var(--tg-panel-2))!important;
  border-color:color-mix(in srgb,var(--tg-danger,#ff516c) 36%,var(--tg-edge))!important;
}
body.techgrid-fui-active #duplicatePinAlertWindow .duplicate-alert-actions{
  position:sticky;bottom:0;z-index:4;margin-top:auto!important;padding-top:9px;padding-bottom:1px;
  background:linear-gradient(to bottom,transparent 0,color-mix(in srgb,var(--tg-panel) 96%,transparent) 24%);
}
body.techgrid-fui-active #duplicatePinAlertWindow .duplicate-alert-actions .os-btn{
  color:var(--tg-ink)!important;background:color-mix(in srgb,var(--tg-panel-2) 88%,var(--tg-danger,#ff516c) 7%)!important;
  border-color:color-mix(in srgb,var(--tg-danger,#ff516c) 38%,var(--tg-edge))!important;
}

/* ==========================================================================
   v0.99.52 · Schritt 152 – Fenster 07–10: Handbuch / Gruppenchat / Einzelchat / Secure Mail
   ========================================================================== */
/* 07 Handbuch: Index und Inhalt zeigen ihre Scrollposition sichtbar im aktiven Theme. */
body.techgrid-fui-active .os-handbook-window :is(.handbook-index,.handbook-content){
  scrollbar-gutter:stable!important;scrollbar-width:thin!important;
  scrollbar-color:var(--tg-line) color-mix(in srgb,var(--tg-panel) 76%,transparent)!important;
}
body.techgrid-fui-active .os-handbook-window :is(.handbook-index,.handbook-content)::-webkit-scrollbar{display:block!important;width:8px!important;height:8px!important}
body.techgrid-fui-active .os-handbook-window :is(.handbook-index,.handbook-content)::-webkit-scrollbar-track{background:color-mix(in srgb,var(--tg-panel) 76%,transparent)!important}
body.techgrid-fui-active .os-handbook-window :is(.handbook-index,.handbook-content)::-webkit-scrollbar-thumb{background:var(--tg-line)!important;border:1px solid color-mix(in srgb,var(--tg-edge) 72%,transparent)!important;border-radius:0!important}
body.techgrid-fui-active .os-handbook-window .handbook-toolbar,
body.techgrid-fui-active .os-handbook-window .handbook-index,
body.techgrid-fui-active .os-handbook-window .handbook-content{
  color:var(--tg-ink)!important;background:color-mix(in srgb,var(--tg-panel) 90%,transparent)!important;border-color:color-mix(in srgb,var(--tg-edge) 70%,transparent)!important;
}

/* 08 Gruppenchat: CyberChat-Flächen vollständig in TechGrid-Theme, Verlauf bleibt einzige große Scrollfläche. */
body.techgrid-fui-active .netchat-window>.netchat-body{background:var(--tg-panel)!important;color:var(--tg-ink)!important}
body.techgrid-fui-active .netchat-window .netchat-stage{background:linear-gradient(180deg,color-mix(in srgb,var(--tg-line) 4%,var(--tg-panel-2)),var(--tg-panel))!important}
body.techgrid-fui-active .netchat-window :is(.netchat-header-strip,.netchat-footer){background:color-mix(in srgb,var(--tg-line) 10%,var(--tg-panel-2))!important;color:var(--tg-ink)!important;border-color:var(--tg-edge)!important}
body.techgrid-fui-active .netchat-window .netchat-toolbar,
body.techgrid-fui-active .netchat-window .netchat-compose{background:color-mix(in srgb,var(--tg-panel-2) 90%,transparent)!important;border-color:var(--tg-edge)!important}
body.techgrid-fui-active .netchat-window .netchat-logo{color:var(--tg-line-2)!important}
body.techgrid-fui-active .netchat-window .netchat-presence-label{color:var(--tg-muted)!important}
body.techgrid-fui-active .netchat-window .netchat-messages{
  background:color-mix(in srgb,var(--tg-panel) 94%,transparent)!important;color:var(--tg-ink)!important;border-color:var(--tg-edge)!important;
  scrollbar-gutter:stable!important;scrollbar-width:thin!important;scrollbar-color:var(--tg-line) color-mix(in srgb,var(--tg-panel) 76%,transparent)!important;
}
body.techgrid-fui-active .netchat-window .netchat-messages::-webkit-scrollbar{display:block!important;width:8px!important;height:8px!important}
body.techgrid-fui-active .netchat-window .netchat-messages::-webkit-scrollbar-track{background:color-mix(in srgb,var(--tg-panel) 76%,transparent)!important}
body.techgrid-fui-active .netchat-window .netchat-messages::-webkit-scrollbar-thumb{background:var(--tg-line)!important;border:1px solid color-mix(in srgb,var(--tg-edge) 72%,transparent)!important;border-radius:0!important}
body.techgrid-fui-active .netchat-window :is(.netchat-bubble,.netchat-online){background:color-mix(in srgb,var(--tg-panel-2) 92%,transparent)!important;border-color:var(--tg-edge)!important;color:var(--tg-ink)!important}
body.techgrid-fui-active .netchat-window .netchat-row.mine .netchat-bubble{background:color-mix(in srgb,var(--tg-line) 9%,var(--tg-panel-2))!important}
body.techgrid-fui-active .netchat-window :is(.netchat-text,.netchat-userlabel){color:var(--tg-ink)!important}
body.techgrid-fui-active .netchat-window .netchat-time{color:var(--tg-muted)!important}
body.techgrid-fui-active .netchat-window .netchat-input{background:var(--tg-panel)!important;color:var(--tg-ink)!important;border-color:var(--tg-edge)!important}
body.techgrid-fui-active .netchat-window .netchat-send{background:color-mix(in srgb,var(--tg-line) 14%,var(--tg-panel-2))!important;color:var(--tg-ink)!important;border-color:var(--tg-line)!important}

/* 09 PRAETORIAN Einzelchat: sichtbare Theme-Scrollbar auch in Chromium; Composer bleibt außerhalb des Verlaufs. */
body.techgrid-fui-active .admin-chat-window .chat-message-list{
  scrollbar-gutter:stable!important;scrollbar-width:thin!important;scrollbar-color:var(--tg-line) color-mix(in srgb,var(--tg-panel) 76%,transparent)!important;
}
body.techgrid-fui-active .admin-chat-window .chat-message-list::-webkit-scrollbar{display:block!important;width:8px!important;height:8px!important}
body.techgrid-fui-active .admin-chat-window .chat-message-list::-webkit-scrollbar-track{background:color-mix(in srgb,var(--tg-panel) 76%,transparent)!important}
body.techgrid-fui-active .admin-chat-window .chat-message-list::-webkit-scrollbar-thumb{background:var(--tg-line)!important;border:1px solid color-mix(in srgb,var(--tg-edge) 72%,transparent)!important;border-radius:0!important}

/* 10 Secure Mail: Ordner, Liste und Reader behalten getrennte sichtbare Theme-Scrollbereiche. */
body[class*="user-theme-techgrid-"] .secure-mail-app,
body[class*="user-theme-techgrid-"] .secure-mail-shell,
body[class*="user-theme-techgrid-"] :is(.secure-mail-sidebar,.secure-mail-list-panel,.secure-mail-reader-panel){
  color:var(--tg-ink)!important;background:var(--tg-panel)!important;border-color:var(--tg-edge)!important;
}
body[class*="user-theme-techgrid-"] :is(.secure-mail-folders,.secure-mail-list,.secure-mail-reader){
  scrollbar-gutter:stable!important;scrollbar-width:thin!important;scrollbar-color:var(--tg-line) color-mix(in srgb,var(--tg-panel) 76%,transparent)!important;
}
body[class*="user-theme-techgrid-"] :is(.secure-mail-folders,.secure-mail-list,.secure-mail-reader)::-webkit-scrollbar{display:block!important;width:8px!important;height:8px!important}
body[class*="user-theme-techgrid-"] :is(.secure-mail-folders,.secure-mail-list,.secure-mail-reader)::-webkit-scrollbar-track{background:color-mix(in srgb,var(--tg-panel) 76%,transparent)!important}
body[class*="user-theme-techgrid-"] :is(.secure-mail-folders,.secure-mail-list,.secure-mail-reader)::-webkit-scrollbar-thumb{background:var(--tg-line)!important;border:1px solid color-mix(in srgb,var(--tg-edge) 72%,transparent)!important;border-radius:0!important}
body[class*="user-theme-techgrid-"] .secure-mail-row{background:var(--tg-panel-2)!important;color:var(--tg-ink)!important;border-color:var(--tg-edge)!important}
body[class*="user-theme-techgrid-"] .secure-mail-row.active{background:color-mix(in srgb,var(--tg-line) 11%,var(--tg-panel-2))!important}
body[class*="user-theme-techgrid-"] .secure-mail-reader-body,
body[class*="user-theme-techgrid-"] .secure-mail-meta-grid{background:color-mix(in srgb,var(--tg-panel-2) 92%,transparent)!important;color:var(--tg-ink)!important;border-color:var(--tg-edge)!important}

/* ==========================================================================
   v0.99.53 · Schritt 153 – Fenster 11–14: PRAETORIAN Users / Functions / Files / Links
   ========================================================================== */
/* Gemeinsamer eingebetteter Modulstandard: echte sichtbare Scrollfläche statt versteckter Scrollbar. */
body.techgrid-module #praetorianControlWindow .prae-content{
  overflow:auto!important;overscroll-behavior:contain!important;scrollbar-gutter:stable!important;
  scrollbar-width:thin!important;scrollbar-color:var(--tg-line) color-mix(in srgb,var(--tg-panel) 76%,transparent)!important;
}
body.techgrid-module #praetorianControlWindow .prae-content::-webkit-scrollbar{display:block!important;width:8px!important;height:8px!important}
body.techgrid-module #praetorianControlWindow .prae-content::-webkit-scrollbar-track{background:color-mix(in srgb,var(--tg-panel) 76%,transparent)!important}
body.techgrid-module #praetorianControlWindow .prae-content::-webkit-scrollbar-thumb{background:var(--tg-line)!important;border:1px solid color-mix(in srgb,var(--tg-edge) 72%,transparent)!important;border-radius:0!important}
body.techgrid-module #praetorianControlWindow .inner-pad{color:var(--tg-ink)!important;background:linear-gradient(180deg,color-mix(in srgb,var(--tg-line) 3%,transparent),transparent 28%),var(--tg-panel)!important}
body.techgrid-module #praetorianControlWindow :is(.table-frame,.admin-details,.retro-fieldset,.empty-note){background:color-mix(in srgb,var(--tg-panel-2) 90%,transparent)!important;color:var(--tg-ink)!important;border-color:var(--tg-edge)!important}
body.techgrid-module #praetorianControlWindow :is(input,textarea,select,.os-input){max-width:100%!important;min-width:0!important;box-sizing:border-box!important;color:var(--tg-ink)!important;background:var(--tg-panel)!important;border-color:var(--tg-edge)!important}
body.techgrid-module #praetorianControlWindow :is(.os-btn,button){max-width:100%;box-sizing:border-box}
body.techgrid-module #praetorianControlWindow .admin-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}

/* 11 Users / PINs: Benutzerübersicht und Editor bleiben im Modul breit nutzbar und kippen klein sauber auf Karten. */
body.techgrid-module[data-prae-view="users"] .user-overview-scroll{max-width:100%!important;overflow:auto!important;scrollbar-gutter:stable!important}
body.techgrid-module[data-prae-view="users"] .user-overview-table{min-width:760px}
body.techgrid-module[data-prae-view="users"] .user-editor-card .check-group{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important;gap:7px!important}
@media(max-width:700px){
 body.techgrid-module[data-prae-view="users"] .user-overview-table{min-width:620px!important;width:max-content!important}
 body.techgrid-module[data-prae-view="users"] .user-overview-table :is(th,td){white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important}
 body.techgrid-module[data-prae-view="users"] .user-editor-card .check-group{grid-template-columns:1fr!important}
 body.techgrid-module[data-prae-view="users"] .admin-actions>*{flex:0 0 auto!important;min-width:0}
}

/* 12 Functions: lange Ziele/Freigaben dürfen keine Spalten oder Buttons aus dem Fenster drücken. */
body.techgrid-module[data-prae-view="functions"] :is(.function-admin-card,.function-create-card) .admin-form-row{min-width:0!important}
body.techgrid-module[data-prae-view="functions"] :is(.admin-summary-url,.os-small,label){overflow-wrap:anywhere!important;word-break:normal!important}
body.techgrid-module[data-prae-view="functions"] .check-group{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important;gap:7px!important}
@media(max-width:620px){body.techgrid-module[data-prae-view="functions"] .check-group{grid-template-columns:1fr!important}body.techgrid-module[data-prae-view="functions"] .admin-actions>*{width:auto!important}}

/* 13 File Upload: Dateiname, Ablaufdatum, Uploadfeld und Freigaben bleiben ohne Horizontalüberbreite erreichbar. */
body.techgrid-module[data-prae-view="files"] :is(.file-admin-card,.file-create-card) .admin-form-row{min-width:0!important}
body.techgrid-module[data-prae-view="files"] :is(.file-name-summary,.admin-summary-url){white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important}
body.techgrid-module[data-prae-view="files"] input[type="file"]{width:100%!important;max-width:100%!important;overflow:hidden!important}
body.techgrid-module[data-prae-view="files"] .check-group{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important;gap:7px!important}
@media(max-width:620px){body.techgrid-module[data-prae-view="files"] .check-group{grid-template-columns:1fr!important}body.techgrid-module[data-prae-view="files"] .admin-actions>*{width:auto!important}}

/* 14 Links: sehr lange URLs werden innerhalb der Karte umbrochen; Eingabe und Test-/Speicheraktionen bleiben erreichbar. */
body.techgrid-module[data-prae-view="links"] :is(.link-admin-card,.link-create-card) .admin-form-row{min-width:0!important}
body.techgrid-module[data-prae-view="links"] :is(.admin-summary-url,.os-small,label){white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important}
body.techgrid-module[data-prae-view="links"] input[name="url"]{font-family:ui-monospace,"Cascadia Mono",Consolas,monospace!important;font-size:.92em!important}
body.techgrid-module[data-prae-view="links"] .check-group{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important;gap:7px!important}

body.techgrid-module[data-prae-view="links"] .link-target-group{grid-template-columns:repeat(2,minmax(110px,1fr))!important;align-items:stretch!important}
body.techgrid-module[data-prae-view="links"] .link-target-group label{min-height:34px!important;white-space:nowrap!important}
body.techgrid-module[data-prae-view="links"] .link-target-state{white-space:nowrap!important;font-size:.78em!important;opacity:.82!important}
@media(max-width:520px){body.techgrid-module[data-prae-view="links"] .link-target-group{grid-template-columns:1fr!important}}
@media(max-width:620px){body.techgrid-module[data-prae-view="links"] .check-group{grid-template-columns:1fr!important}body.techgrid-module[data-prae-view="links"] .admin-actions>*{width:auto!important}}


/* Michael Klementz | 29.09.2026 – Schritt 154: Fenster 15–20 einzeln auf TechGrid-Innenlayout, Scrollziele und kleine Fenstergrößen abgesichert. */
body.techgrid-module[data-prae-view="chat"] .prae-content,
body.techgrid-module[data-prae-view="eastereggs"] .prae-content,
body.techgrid-module[data-prae-view="gatekeeper"] .prae-content,
body.techgrid-module[data-prae-view="designs"] .prae-content,
body.techgrid-module[data-prae-view="log"] .prae-content,
body.techgrid-module[data-prae-view="backup"] .prae-content{
  min-width:0;
  overflow:auto!important;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
}
body.techgrid-module[data-prae-view="chat"] .table-frame,
body.techgrid-module[data-prae-view="eastereggs"] .table-frame,
body.techgrid-module[data-prae-view="gatekeeper"] .table-frame,
body.techgrid-module[data-prae-view="designs"] .table-frame,
body.techgrid-module[data-prae-view="log"] .table-frame,
body.techgrid-module[data-prae-view="backup"] .table-frame{
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
body.techgrid-fui-active[data-prae-view="chat"] .chat-admin-summary{position:sticky;top:0;z-index:3;padding:5px 0;background:linear-gradient(180deg,var(--tg-panel,#07151c) 78%,transparent)}
body.techgrid-fui-active[data-prae-view="chat"] .chat-user-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr))!important;gap:8px!important;min-width:0}
body.techgrid-fui-active[data-prae-view="chat"] .chat-user-button{width:100%;max-width:100%;box-sizing:border-box}
body.techgrid-fui-active[data-prae-view="chat"] .prae-content.tg-micro .chat-admin-summary{position:static}

body.techgrid-fui-active[data-prae-view="eastereggs"] .easter-save-bar{bottom:0;max-width:100%;box-sizing:border-box}
body.techgrid-fui-active[data-prae-view="eastereggs"] .easter-admin-form{min-width:0;max-width:100%}

body.techgrid-fui-active[data-prae-view="gatekeeper"] :is(.gatekeeper-text-group,.gatekeeper-mail-panel,.gatekeeper-access-panel){min-width:0;max-width:100%;box-sizing:border-box}
body.techgrid-fui-active[data-prae-view="gatekeeper"] :is(.gatekeeper-text-group,.retro-mail-template-row,.access-row) :is(input,textarea,select,.os-input,.os-textarea){min-width:0;max-width:100%;box-sizing:border-box}
body.techgrid-fui-active[data-prae-view="gatekeeper"] .access-row{grid-template-columns:minmax(180px,.9fr) minmax(140px,.55fr) minmax(220px,1.2fr)}
body.techgrid-fui-active[data-prae-view="gatekeeper"] .prae-content.tg-narrow .access-row,
body.techgrid-fui-active[data-prae-view="gatekeeper"] .prae-content.tg-micro .access-row{grid-template-columns:1fr!important}
body.techgrid-fui-active[data-prae-view="gatekeeper"] .prae-content.tg-micro :is(.admin-actions,.access-save-actions){display:grid!important;grid-template-columns:1fr!important}
body.techgrid-fui-active[data-prae-view="gatekeeper"] .prae-content.tg-micro :is(.admin-actions,.access-save-actions)>*{width:auto;max-width:100%;box-sizing:border-box}

body.techgrid-fui-active[data-prae-view="designs"] .design-admin-grid{grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr))!important;min-width:0}
body.techgrid-fui-active[data-prae-view="designs"] .design-access-save{position:sticky;bottom:0;z-index:3}

body.techgrid-fui-active[data-prae-view="log"] .audit-log-scroll{scrollbar-gutter:stable both-edges}
body.techgrid-fui-active[data-prae-view="log"] .audit-log-summary{position:sticky;top:0;z-index:3;padding:5px 0;background:linear-gradient(180deg,var(--tg-panel,#07151c) 80%,transparent)}
body.techgrid-fui-active[data-prae-view="log"] .prae-content.tg-micro .audit-log-summary{position:static}

body.techgrid-fui-active[data-prae-view="backup"] .backup-summary{grid-template-columns:repeat(4,minmax(0,1fr));min-width:0}
body.techgrid-fui-active[data-prae-view="backup"] :is(.backup-scope-grid,.backup-behaviour-grid){min-width:0}
body.techgrid-fui-active[data-prae-view="backup"] .backup-code-list{min-width:0;max-width:100%;overflow:auto;scrollbar-gutter:stable}
body.techgrid-fui-active[data-prae-view="backup"] .backup-code-list code{white-space:normal;overflow-wrap:anywhere;word-break:break-word}
body.techgrid-fui-active[data-prae-view="backup"] .backup-download-actions{position:sticky;bottom:0;z-index:3;padding-block:8px;background:linear-gradient(180deg,transparent,var(--tg-panel,#07151c) 30%)}
body.techgrid-fui-active[data-prae-view="backup"] .prae-content.tg-narrow .backup-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
body.techgrid-fui-active[data-prae-view="backup"] .prae-content.tg-micro .backup-summary{grid-template-columns:1fr 1fr}
body.techgrid-fui-active[data-prae-view="backup"] .prae-content.tg-micro .backup-download-actions{display:grid!important;grid-template-columns:1fr!important}
body.techgrid-fui-active[data-prae-view="backup"] .prae-content.tg-micro .backup-download-actions>*{width:auto;max-width:100%;box-sizing:border-box}


/* Michael Klementz | 29.09.2026 – Schritt 155: Fenster 21–26 einzeln auf sichtbare interne Scrollflächen, kleine Fenster und Theme-Konsistenz geprüft. */
:is(body.qr-tool-body,body.calc-tool-body,body.trace-tool-body,body.records-tool-body,body.mozart-tool-body,body.code-guide-body){
  min-width:0!important;
  max-width:100%!important;
  overflow:auto!important;
  overscroll-behavior:contain!important;
  scrollbar-gutter:stable!important;
}
:is(body.qr-tool-body,body.calc-tool-body,body.trace-tool-body,body.records-tool-body,body.mozart-tool-body,body.code-guide-body)::-webkit-scrollbar{width:10px;height:10px}
:is(body.qr-tool-body,body.calc-tool-body,body.trace-tool-body,body.records-tool-body,body.mozart-tool-body,body.code-guide-body)::-webkit-scrollbar-thumb{background:color-mix(in srgb,var(--tg-line,#6ab7c8) 68%,#5b6873);border:2px solid color-mix(in srgb,var(--tg-panel,#101923) 86%,transparent);border-radius:8px}
:is(body.qr-tool-body,body.calc-tool-body,body.trace-tool-body,body.records-tool-body,body.mozart-tool-body,body.code-guide-body)::-webkit-scrollbar-track{background:color-mix(in srgb,var(--tg-panel,#101923) 88%,#000)}

body.qr-tool-body .qr-tool-panel{min-height:100%;overflow:visible!important}
body.qr-tool-body .qr-preview-area{min-width:0;overflow:auto;scrollbar-gutter:stable}
body.calc-tool-body .calc-tool-shell{min-width:0;max-width:100%;overflow:visible!important}
body.calc-tool-body :is(.calc-history-panel,.calc-future-panel){min-width:0;overflow:auto;scrollbar-gutter:stable}
body.trace-tool-body .trace-console{min-width:0;overflow:hidden}
body.trace-tool-body .trace-console pre{overflow:auto!important;scrollbar-gutter:stable both-edges}
body.records-tool-body .record-card{min-width:0;max-width:100%}
body.records-tool-body .record-tabs{scrollbar-width:thin!important;scrollbar-gutter:stable}
body.mozart-tool-body .mozart-tool{min-width:0;max-width:100%;overflow:visible!important}
body.mozart-tool-body :is(.moz-columns,.moz-browser){min-width:0;max-width:100%;box-sizing:border-box}
body.mozart-tool-body .moz-columns>section{min-width:0;overflow:auto;scrollbar-gutter:stable}
body.code-guide-body .code-guide-shell{min-width:0;max-width:100%;overflow:visible!important}
body.code-guide-body .code-guide-table-wrap{max-width:100%;overflow:auto!important;scrollbar-gutter:stable both-edges}

@media(max-width:520px){
  body.qr-tool-body .qr-tool-grid,
  body.calc-tool-body .calc-layout,
  body.trace-tool-body .trace-layout,
  body.records-tool-body .record-card,
  body.mozart-tool-body .moz-columns{grid-template-columns:1fr!important}
  body.mozart-tool-body .moz-head{align-items:flex-start;gap:10px;padding:12px 8px 8px}
  body.mozart-tool-body .moz-pi{font-size:54px}
  body.code-guide-body .code-guide-table-wrap{overflow:visible!important}
}


/* MKL | 30.09.2026 – Fenster 27–32: Spezialfenster mit eigenen, sichtbaren Scrollflächen. */
.sim-shell-output,.bndx-code,.bndx-remote-shell,.pizza-browser-body,.extra-gate-window>.win-body{scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:var(--tg-accent,#6fd3ff) rgba(0,0,0,.18)}
.sim-shell-output::-webkit-scrollbar,.bndx-code::-webkit-scrollbar,.bndx-remote-shell::-webkit-scrollbar,.pizza-browser-body::-webkit-scrollbar,.extra-gate-window>.win-body::-webkit-scrollbar{width:8px;height:8px}
.sim-shell-output::-webkit-scrollbar-thumb,.bndx-code::-webkit-scrollbar-thumb,.bndx-remote-shell::-webkit-scrollbar-thumb,.pizza-browser-body::-webkit-scrollbar-thumb,.extra-gate-window>.win-body::-webkit-scrollbar-thumb{background:var(--tg-accent,#6fd3ff);border-radius:8px}
.sim-shell-output::-webkit-scrollbar-track,.bndx-code::-webkit-scrollbar-track,.bndx-remote-shell::-webkit-scrollbar-track,.pizza-browser-body::-webkit-scrollbar-track,.extra-gate-window>.win-body::-webkit-scrollbar-track{background:rgba(0,0,0,.18)}
.bank-camera-window>.win-body{overflow:auto!important;scrollbar-gutter:stable}
.bank-camera-wrap{min-width:0;overflow-wrap:anywhere}
.bank-camera-actions{display:flex;flex-wrap:wrap;gap:6px}.bank-camera-actions>*{min-width:0;max-width:100%}
.bndx-remote-shell{overflow:auto!important;min-height:0}
.bndx-nc-panels,.bndx-record{min-width:0}
.bndx-record-row>*{min-width:0;overflow-wrap:anywhere}
.pizza-browser-body{overflow:auto!important;overscroll-behavior:contain}
.pizza-sequence-page{min-height:min-content!important}
.gate-app-window .tg-module-stage{min-width:0;min-height:0;overflow:hidden}
.gate-app-frame{min-width:0;min-height:0;scrollbar-gutter:stable}
@media(max-width:640px),(max-height:520px){
  .bank-camera-window,.bndx-code-window,.bndx-remote-window,.pizza-net-window,.sim-shell-window{max-width:calc(100vw - 12px)!important;max-height:calc(100dvh - 84px)!important}
  .bank-camera-stage{min-height:180px}
  .bank-camera-actions{align-items:stretch}.bank-camera-actions .os-btn{flex:1 1 150px}
  .bndx-nc-panels{grid-template-columns:1fr;height:auto;max-height:none}
  .bndx-record-row{grid-template-columns:minmax(76px,32%) minmax(0,1fr)}
  .pizza-menu-film .pizza-order-grid{grid-template-columns:1fr!important;overflow:visible!important}
  .pizza-menu-film,.pizza-menu-film .pizza-order-panel,.pizza-address-film{overflow:visible!important;height:auto!important}
}


/* MKL | 30.09.2026 – Fenster 33–35: Setup-, Rich-Text- und dynamische Arbeitsflächen. */
body.techgrid-fui-active .tg-widget-form-scroll,
body.techgrid-fui-active .tg-widget-library,
body.techgrid-fui-active .tg-note-commanddeck,
body.techgrid-fui-active .tg-note-paper,
body.techgrid-fui-active .win95.tg-hex-window .tg-fluid-scroll{
  scrollbar-width:thin!important;
  scrollbar-color:var(--tg-line) color-mix(in srgb,var(--tg-panel) 72%,transparent)!important;
  scrollbar-gutter:stable;
  overscroll-behavior:contain;
}
body.techgrid-fui-active .tg-widget-form-scroll{min-height:0;overflow:auto!important;scroll-padding-bottom:14px}
body.techgrid-fui-active .tg-widget-library{min-height:0;overflow:auto!important}
body.techgrid-fui-active .tg-note-commanddeck{min-width:0;overflow-x:auto!important;overflow-y:hidden!important;padding-bottom:3px}
body.techgrid-fui-active .tg-note-paper{overflow:auto!important;min-width:0;max-width:100%}
body.techgrid-fui-active .tg-note-savebar,body.techgrid-fui-active .tg-widget-setup form>footer{position:relative;z-index:3;background:var(--tg-panel-2)}
body.techgrid-fui-active .tg-personal-note-window>.win-body{min-width:0;min-height:0;overflow:hidden!important}
body.techgrid-fui-active .tg-note-editor-shell{min-width:0;min-height:0;overflow:hidden}
body.techgrid-fui-active .win95.tg-hex-window .tg-content-stage{min-width:0;min-height:0}
@media(max-height:560px){
  body.techgrid-fui-active .tg-widget-setup-window>.win-body{overflow:hidden!important}
  body.techgrid-fui-active .tg-widget-setup{min-height:0}
  body.techgrid-fui-active .tg-widget-setup>aside{max-height:96px!important}
  body.techgrid-fui-active .tg-widget-setup>form{min-height:0}
  body.techgrid-fui-active .tg-widget-form-scroll{padding-bottom:8px}
  body.techgrid-fui-active .tg-widget-setup form>footer{position:sticky;bottom:0}
  body.techgrid-fui-active .tg-note-editor-shell{grid-template-rows:auto auto minmax(90px,1fr) auto auto;gap:5px}
  body.techgrid-fui-active .tg-note-commanddeck{max-height:54px}
  body.techgrid-fui-active .tg-note-savebar{position:sticky;bottom:0}
}

/* Michael Klementz | 29.09.2026 – Schritt 158: Fenster 36–39 / Fake-DOS-Konsolen abschließend auf zentralen Lifecycle, Theme-Innenfläche und interne Scrollbarkeit gezogen. */
body.techgrid-fui-active .win95.tg-hex-window.fake-dos-window>.win-body{
  padding:8px!important;
  overflow:hidden!important;
  background:color-mix(in srgb,var(--tg-bg) 92%,#000 8%)!important;
  border-color:color-mix(in srgb,var(--tg-edge) 48%,transparent)!important;
}
body.techgrid-fui-active .fake-dos-window .dos-shell{
  display:grid!important;
  grid-template-rows:auto minmax(0,1fr)!important;
  min-width:0!important;
  min-height:0!important;
  background:color-mix(in srgb,var(--tg-bg) 88%,#000 12%)!important;
  color:var(--tg-text,#d8d8d8)!important;
}
body.techgrid-fui-active .fake-dos-window .dos-context{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  min-width:0!important;
  padding:5px 8px!important;
  border-bottom:1px solid color-mix(in srgb,var(--tg-line) 46%,transparent)!important;
  color:var(--tg-line)!important;
  background:color-mix(in srgb,var(--tg-panel) 82%,transparent)!important;
  font:700 10px/1.2 "Courier New",monospace!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
}
body.techgrid-fui-active .fake-dos-window .dos-context span{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body.techgrid-fui-active .fake-dos-window .dos-context b{flex:0 0 auto!important;color:var(--tg-muted,var(--tg-text))!important;font:inherit!important}
body.techgrid-fui-active .fake-dos-window .dos-output{
  min-width:0!important;
  min-height:0!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  margin:0!important;
  overflow:auto!important;
  box-sizing:border-box!important;
  overscroll-behavior:contain!important;
  scrollbar-gutter:stable both-edges!important;
  scrollbar-width:thin!important;
  scrollbar-color:var(--tg-line) color-mix(in srgb,var(--tg-panel) 72%,#000)!important;
  background:color-mix(in srgb,var(--tg-bg) 78%,#000 22%)!important;
  color:var(--tg-text,#d8d8d8)!important;
  white-space:pre-wrap!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}
body.techgrid-fui-active .fake-dos-window .dos-output::-webkit-scrollbar{width:8px;height:8px}
body.techgrid-fui-active .fake-dos-window .dos-output::-webkit-scrollbar-thumb{background:var(--tg-line);border-radius:8px}
body.techgrid-fui-active .fake-dos-window .dos-output::-webkit-scrollbar-track{background:color-mix(in srgb,var(--tg-panel) 72%,#000)}
body.techgrid-fui-active .fake-dos-window[data-fake-dos-label="My Computer"] .dos-context span::before{content:"SYSTEM // ";opacity:.72}
body.techgrid-fui-active .fake-dos-window[data-fake-dos-label="My Network"] .dos-context span::before{content:"NETWORK // ";opacity:.72}
body.techgrid-fui-active .fake-dos-window[data-fake-dos-label="Documents"] .dos-context span::before{content:"ARCHIVE // ";opacity:.72}
@media(max-width:560px),(max-height:430px){
  body.techgrid-fui-active .fake-dos-window .dos-context{padding:4px 6px!important;font-size:9px!important}
  body.techgrid-fui-active .fake-dos-window .dos-output{padding:8px!important;font-size:12px!important;line-height:1.3!important}
}

/* Michael Klementz | 29.09.2026 – Schritt 159: Gesamt-Regressionslauf. Vertikale Inhaltsflächen zeigen wieder eine schmale Theme-Scrollbar. Horizontale Rails/Tabs/Command-Decks behalten bewusst ihre dezente, balkenlose Bedienung. */
body.techgrid-fui-active .win95.tg-hex-window .tg-fluid-scroll,
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="chat"] .chat-message-list,
body.techgrid-fui-active .praetorian-control-window .prae-sidebar,
body.techgrid-fui-active .praetorian-control-window .prae-content,
body.techgrid-module #praetorianControlWindow .prae-content,
body.techgrid-fui-active .pizza-net-window .pizza-sequence-page,
body.techgrid-fui-active .bank-camera-wrap,
body.techgrid-fui-active .tg-widget-body,
body.techgrid-fui-active .tg-flow-table-shell {
  scrollbar-width: thin !important;
  scrollbar-color: color-mix(in srgb,var(--tg-accent) 72%,var(--tg-edge)) color-mix(in srgb,var(--tg-panel) 88%,transparent) !important;
  scrollbar-gutter: stable;
}
body.techgrid-fui-active .win95.tg-hex-window .tg-fluid-scroll::-webkit-scrollbar,
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="chat"] .chat-message-list::-webkit-scrollbar,
body.techgrid-fui-active .praetorian-control-window .prae-sidebar::-webkit-scrollbar,
body.techgrid-fui-active .praetorian-control-window .prae-content::-webkit-scrollbar,
body.techgrid-module #praetorianControlWindow .prae-content::-webkit-scrollbar,
body.techgrid-fui-active .pizza-net-window .pizza-sequence-page::-webkit-scrollbar,
body.techgrid-fui-active .bank-camera-wrap::-webkit-scrollbar,
body.techgrid-fui-active .tg-widget-body::-webkit-scrollbar,
body.techgrid-fui-active .tg-flow-table-shell::-webkit-scrollbar {
  display:block !important;
  width:8px !important;
  height:8px !important;
}
body.techgrid-fui-active .win95.tg-hex-window .tg-fluid-scroll::-webkit-scrollbar-track,
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="chat"] .chat-message-list::-webkit-scrollbar-track,
body.techgrid-fui-active .praetorian-control-window .prae-sidebar::-webkit-scrollbar-track,
body.techgrid-fui-active .praetorian-control-window .prae-content::-webkit-scrollbar-track,
body.techgrid-module #praetorianControlWindow .prae-content::-webkit-scrollbar-track,
body.techgrid-fui-active .pizza-net-window .pizza-sequence-page::-webkit-scrollbar-track,
body.techgrid-fui-active .bank-camera-wrap::-webkit-scrollbar-track,
body.techgrid-fui-active .tg-widget-body::-webkit-scrollbar-track,
body.techgrid-fui-active .tg-flow-table-shell::-webkit-scrollbar-track {
  background:color-mix(in srgb,var(--tg-panel) 88%,transparent) !important;
}
body.techgrid-fui-active .win95.tg-hex-window .tg-fluid-scroll::-webkit-scrollbar-thumb,
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="chat"] .chat-message-list::-webkit-scrollbar-thumb,
body.techgrid-fui-active .praetorian-control-window .prae-sidebar::-webkit-scrollbar-thumb,
body.techgrid-fui-active .praetorian-control-window .prae-content::-webkit-scrollbar-thumb,
body.techgrid-module #praetorianControlWindow .prae-content::-webkit-scrollbar-thumb,
body.techgrid-fui-active .pizza-net-window .pizza-sequence-page::-webkit-scrollbar-thumb,
body.techgrid-fui-active .bank-camera-wrap::-webkit-scrollbar-thumb,
body.techgrid-fui-active .tg-widget-body::-webkit-scrollbar-thumb,
body.techgrid-fui-active .tg-flow-table-shell::-webkit-scrollbar-thumb {
  background:color-mix(in srgb,var(--tg-accent) 74%,var(--tg-edge)) !important;
  border:2px solid color-mix(in srgb,var(--tg-panel) 88%,transparent) !important;
  border-radius:999px !important;
}



/* Michael Klementz | 29.09.2026 – Schritt 162: Secure Mail kompakter, klarer und vollständig wheel-scrollbar. */
body.mail-tool-body .secure-mail-toolbar{gap:4px!important;padding:4px 6px!important;min-height:0!important}
body.mail-tool-body .secure-mail-toolbar button{min-height:27px!important;height:auto!important;padding:3px 7px!important;font-size:11px!important;line-height:1.15!important;flex:0 0 auto!important}
body.mail-tool-body .secure-mail-toolbar>span{font-size:10px!important;letter-spacing:.04em!important}
body.mail-tool-body .secure-mail-mailbox-select{min-width:0!important;gap:4px!important;font-size:10px!important}
body.mail-tool-body .secure-mail-mailbox-select select{min-height:27px!important;padding:2px 5px!important;font-size:11px!important}
body.mail-tool-body .secure-mail-panel-title{min-height:23px!important;padding:4px 7px!important;font-size:10px!important;letter-spacing:.06em!important}
body.mail-tool-body .secure-mail-monitor-label{padding:4px 7px!important;font-size:10px!important}
body.mail-tool-body .secure-mail-folders{gap:3px!important;padding:5px!important}
body.mail-tool-body .mail-folder{min-height:28px!important;padding:4px 7px!important;gap:6px!important;font-size:11px!important;line-height:1.15!important;align-items:center!important}
body.mail-tool-body .mail-folder span:last-child{font-size:10px!important;white-space:nowrap!important;opacity:.82}
body.mail-tool-body .secure-mail-list{gap:4px!important;padding:5px!important}
body.mail-tool-body .secure-mail-row{padding:6px!important;gap:3px!important}
body.mail-tool-body .secure-mail-row-top{font-size:10px!important}
body.mail-tool-body .secure-mail-row-subject{font-size:12px!important}
body.mail-tool-body .secure-mail-row-preview{font-size:10px!important;line-height:1.2!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.mail-tool-body .secure-mail-reader{padding:7px!important}
body.mail-tool-body .secure-mail-subject{font-size:16px!important}
body.mail-tool-body .secure-mail-reader-actions{gap:4px!important}
body.mail-tool-body .secure-mail-reader-actions button{min-height:27px!important;padding:3px 7px!important;font-size:10px!important;line-height:1.15!important}
body.mail-tool-body .secure-mail-meta-grid{grid-template-columns:55px minmax(0,1fr)!important;gap:3px 6px!important;margin-top:6px!important;padding:6px!important;font-size:10px!important}
body.mail-tool-body .secure-mail-reader-body{margin-top:7px!important;padding:9px!important;min-height:120px!important;font-size:12px!important;line-height:1.42!important}
body.mail-tool-body .secure-mail-side-note{margin:0 5px 5px!important;padding:6px!important;font-size:9px!important;line-height:1.3!important}
body.mail-tool-body .secure-mail-statusbar{padding:3px 7px!important;font-size:9px!important;gap:6px!important}
body.mail-tool-body :is(.secure-mail-folders,.secure-mail-list,.secure-mail-reader){scrollbar-width:thin!important;scrollbar-gutter:stable!important;overscroll-behavior:contain!important}
body.mail-tool-body :is(.secure-mail-folders,.secure-mail-list,.secure-mail-reader)::-webkit-scrollbar{display:block!important;width:7px!important;height:7px!important}
@media(max-width:560px){
 body.mail-tool-body .secure-mail-toolbar{align-items:center!important;flex-wrap:wrap!important}
 body.mail-tool-body .secure-mail-toolbar button{flex:0 1 auto!important;min-width:72px!important}
 body.mail-tool-body .secure-mail-toolbar>span{order:0!important;width:auto!important;margin-left:auto!important}
 body.mail-tool-body .secure-mail-mailbox-select{width:100%!important;flex:1 1 100%!important}
 body.mail-tool-body .secure-mail-folders{padding:4px!important;gap:3px!important}
 body.mail-tool-body .mail-folder{min-width:92px!important;padding:4px 6px!important}
 body.mail-tool-body .secure-mail-reader-actions{width:auto!important}
 body.mail-tool-body .secure-mail-reader-actions button{flex:0 1 auto!important;min-width:66px!important}
}
@media(max-width:340px){
 body.mail-tool-body .secure-mail-toolbar button,body.mail-tool-body .secure-mail-reader-actions button{flex:1 1 auto!important;min-width:0!important}
}

/* Schritt 162 – Mausrad muss in jedem internen Fenster eine sichtbare vertikale Inhaltsfläche erreichen können. */
body.techgrid-fui-active .win95.tg-hex-window :is(.prae-content,.inner-pad,.table-scroll,.handbook-index,.handbook-content,.secure-mail-folders,.secure-mail-list,.secure-mail-reader,.netchat-messages,.chat-message-list,.sim-shell-output,.pizza-browser-body,.bndx-code,.bndx-remote-shell,.tg-note-paper,.tg-content-stage,.tg-fluid-scroll){
  overscroll-behavior:contain!important;scrollbar-width:thin!important;scrollbar-gutter:stable!important;
}

/* Michael Klementz | 29.09.2026 – Schritt 165: Detailaudit Formulare, Buttons und Aktionsleisten.
   Sekundäre Verwaltung bleibt kompakt; Primär-, Sicherheits- und Fensteraktionen bleiben klar greifbar. */
body.techgrid-fui-active .win95.tg-hex-window :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),select,.os-input){
  min-height:31px!important;
  padding:5px 9px!important;
  font-size:11px!important;
  line-height:1.25!important;
  box-sizing:border-box!important;
}
body.techgrid-fui-active .win95.tg-hex-window :is(textarea,.os-textarea){
  min-height:64px!important;
  padding:7px 9px!important;
  font-size:11px!important;
  line-height:1.35!important;
  box-sizing:border-box!important;
}
body.techgrid-fui-active .win95.tg-hex-window .admin-actions{
  gap:5px!important;
  row-gap:5px!important;
}
body.techgrid-fui-active .win95.tg-hex-window .admin-actions :is(.os-btn,button:not(.win-btn)){
  min-height:29px!important;
  min-width:0!important;
  padding:4px 9px!important;
  font-size:10px!important;
  line-height:1.15!important;
  letter-spacing:.035em!important;
  white-space:normal!important;
}
body.techgrid-fui-active .win95.tg-hex-window :is(.reorder-btn,.easter-card-actions .os-btn,.chat-user-button){
  min-height:28px!important;
  padding:4px 8px!important;
  font-size:10px!important;
}
body.techgrid-fui-active .win95.tg-hex-window .check-group{
  gap:5px 7px!important;
}
body.techgrid-fui-active .win95.tg-hex-window .check-group>label{
  min-height:27px!important;
  padding:4px 6px!important;
  gap:5px!important;
  font-size:10px!important;
  line-height:1.2!important;
  align-items:center!important;
}
body.techgrid-fui-active .win95.tg-hex-window :is(input[type="checkbox"],input[type="radio"]){
  min-height:0!important;
  width:15px!important;
  height:15px!important;
  flex:0 0 15px!important;
}
body.techgrid-fui-active .win95.tg-hex-window :is(.section-caption,.os-small,label,legend){
  line-height:1.25!important;
}
/* Klar hervorgehobene Haupt-/Sicherheitsaktionen bleiben etwas größer. */
body.techgrid-fui-active .win95.tg-hex-window :is(.security-alert-actions,.duplicate-alert-actions,.backup-download-actions,.easter-save-bar,.design-access-save,.access-save-actions) .os-btn,
body.techgrid-fui-active .win95.tg-hex-window button[type="submit"].red{
  min-height:32px!important;
  padding:5px 11px!important;
  font-size:10.5px!important;
}
/* Kommunikations-Composer bleibt gut greifbar, wird aber nicht unnötig hoch. */
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="chat"] .chat-compose .os-btn,
body.techgrid-fui-active .admin-chat-window .chat-compose .os-btn{
  min-height:32px!important;
  padding:5px 10px!important;
}
/* Adminmodule: Aktionsleisten bleiben übersichtlich statt zu großen Vollbreiten-Kacheln. */
body.techgrid-fui-active .praetorian-control-window .prae-content:not(.tg-micro) .admin-actions>.os-btn,
body.techgrid-module #praetorianControlWindow .prae-content:not(.tg-micro) .admin-actions>.os-btn{
  flex:0 1 auto!important;
  width:auto!important;
  max-width:100%!important;
}
body.techgrid-fui-active .praetorian-control-window .prae-content.tg-micro .admin-actions,
body.techgrid-module #praetorianControlWindow .prae-content.tg-micro .admin-actions{
  gap:4px!important;
}
body.techgrid-fui-active .praetorian-control-window .prae-content.tg-micro .admin-actions>.os-btn,
body.techgrid-module #praetorianControlWindow .prae-content.tg-micro .admin-actions>.os-btn{
  width:auto!important;
  min-height:28px!important;
}
/* Secure Mail bleibt von den globalen Adminregeln unabhängig und bewusst besonders kompakt. */
body.mail-tool-body :is(button,select,input,textarea){box-sizing:border-box}

/* Michael Klementz | 29.09.2026 – Schritt 166: Detailaudit Tools, Spezialfenster und Editoraktionen. */
body.techgrid-fui-active :is(.qr-tool-window,.calc-tool-window,.trace-tool-window,.record-tool-window,.mozart-tool-window,.codes-tool-window) :is(button,.os-btn){
  min-height:29px!important;
  padding:4px 8px!important;
  font-size:10px!important;
  line-height:1.15!important;
  min-width:0!important;
  max-width:100%!important;
}
body.techgrid-fui-active .calc-tool-window .calc-btn{
  min-height:34px!important;
  padding:5px 6px!important;
  font-size:12px!important;
}
body.techgrid-fui-active .qr-tool-window .qr-actions{
  gap:5px!important;
}
body.techgrid-fui-active .qr-tool-window .qr-actions .os-btn{
  min-height:30px!important;
  padding:5px 8px!important;
}
body.techgrid-fui-active .trace-tool-window :is(input,select,.os-input),
body.techgrid-fui-active .record-tool-window :is(input,select,.os-input),
body.techgrid-fui-active .codes-tool-window :is(input,select,.os-input){
  min-height:30px!important;
  padding:5px 8px!important;
  font-size:10.5px!important;
}
body.techgrid-fui-active .record-tool-window .record-tabs{
  gap:3px!important;
}
body.techgrid-fui-active .record-tool-window .record-tabs button{
  min-height:27px!important;
  padding:4px 7px!important;
  font-size:9px!important;
}
body.techgrid-fui-active .sim-shell-window :is(button,.os-btn),
body.techgrid-fui-active .bank-camera-window :is(button,.os-btn),
body.techgrid-fui-active .bndx-code-window :is(button,.os-btn),
body.techgrid-fui-active .bndx-remote-window :is(button,.os-btn){
  min-height:29px!important;
  padding:4px 8px!important;
  font-size:10px!important;
  min-width:0!important;
}
body.techgrid-fui-active .bank-camera-actions{
  gap:5px!important;
}
body.techgrid-fui-active .bank-camera-actions .os-btn{
  min-height:30px!important;
  padding:5px 7px!important;
}
body.techgrid-fui-active .pizza-net-window :is(.pizza-nav-btn,.pizza-send-order,.pizza-film-done,button){
  min-height:28px!important;
  padding:4px 7px!important;
  font-size:10px!important;
  line-height:1.15!important;
}
body.techgrid-fui-active .pizza-net-window .pizza-choice{
  min-height:30px!important;
  padding:5px 7px!important;
}
body.techgrid-fui-active .tg-widget-setup :is(button,.os-btn){
  min-height:29px!important;
  padding:4px 8px!important;
  font-size:10px!important;
}
body.techgrid-fui-active .tg-widget-setup form>footer{
  gap:5px!important;
}
body.techgrid-fui-active .tg-note-commanddeck{
  gap:3px!important;
  padding:4px!important;
}
body.techgrid-fui-active .tg-note-commanddeck :is(button,.os-btn,summary){
  min-height:27px!important;
  min-width:27px!important;
  padding:3px 6px!important;
  font-size:10px!important;
  line-height:1!important;
}
body.techgrid-fui-active .tg-note-savebar{
  gap:5px!important;
}
body.techgrid-fui-active .tg-note-savebar :is(button,.os-btn){
  min-height:30px!important;
  padding:5px 9px!important;
  font-size:10px!important;
}
body.techgrid-fui-active .fake-dos-window :is(button,.os-btn){
  min-height:27px!important;
  padding:3px 7px!important;
  font-size:10px!important;
}
/* Spezialfenster mit wenigen Primäraktionen bleiben erkennbar und nicht zu flach. */
body.techgrid-fui-active :is(.bank-camera-window,.bndx-code-window,.bndx-remote-window,.pizza-net-window) :is(button[type="submit"],.primary,.os-btn.green){
  min-height:31px!important;
}
@media(max-width:420px),(max-height:500px){
  body.techgrid-fui-active .tg-note-commanddeck :is(button,.os-btn,summary){min-height:25px!important;padding:3px 5px!important;font-size:9px!important}
  body.techgrid-fui-active .bank-camera-actions{grid-template-columns:1fr 1fr!important}
  body.techgrid-fui-active .bank-camera-actions .os-btn:last-child{grid-column:1/-1}
  body.techgrid-fui-active .record-tool-window .record-tabs button{min-height:25px!important;font-size:8.5px!important}
}

/* ==========================================================================
   v0.99.68 · Schritt 168 – konsistente Interaktionszustände in TechGrid
   ========================================================================== */
body.techgrid-fui-active :is(.os-btn,button:not(.tg-node):not(.tg-dock-node):not(.win-btn),.tg-select-trigger,.tg-select-option){
  transition:border-color .12s ease,background-color .12s ease,color .12s ease,box-shadow .12s ease,transform .12s ease,opacity .12s ease;
}
body.techgrid-fui-active :is(.os-btn,button:not(.tg-node):not(.tg-dock-node):not(.win-btn),.tg-select-trigger,.tg-select-option):not(:disabled):hover{
  border-color:var(--tg-line-2)!important;
  background:color-mix(in srgb,var(--tg-line) 10%,var(--tg-panel-2))!important;
  color:var(--tg-ink)!important;
}
body.techgrid-fui-active :is(.os-btn,button:not(.tg-node):not(.tg-dock-node):not(.win-btn),.tg-select-trigger,.tg-select-option):not(:disabled):active{
  transform:translateY(1px)!important;
  background:color-mix(in srgb,var(--tg-line) 17%,var(--tg-panel-2))!important;
  border-color:var(--tg-line)!important;
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--tg-line-2) 38%,transparent)!important;
}
body.techgrid-fui-active :is(.os-btn,button,.tg-select-trigger,.tg-select-option,a[href],input,textarea,select,[tabindex]):focus-visible{
  outline:2px solid var(--tg-line-2)!important;
  outline-offset:2px!important;
}
body.techgrid-fui-active :is(input,textarea,select,.os-input):not(:disabled):hover{
  border-color:color-mix(in srgb,var(--tg-line) 64%,var(--tg-edge))!important;
}
body.techgrid-fui-active :is(input,textarea,select,.os-input):focus-visible{
  border-color:var(--tg-line-2)!important;
  box-shadow:0 0 0 1px color-mix(in srgb,var(--tg-line-2) 46%,transparent)!important;
}
body.techgrid-fui-active :is(button,.os-btn,input,textarea,select,.tg-select-trigger,.tg-select-option):disabled,
body.techgrid-fui-active :is(button,.os-btn,input,textarea,select,.tg-select-trigger,.tg-select-option)[aria-disabled="true"]{
  opacity:.42!important;
  filter:saturate(.35)!important;
  cursor:not-allowed!important;
  transform:none!important;
  box-shadow:none!important;
}
body.techgrid-fui-active :is(button,.os-btn,.tg-select-trigger,.tg-select-option):disabled:hover,
body.techgrid-fui-active :is(button,.os-btn,.tg-select-trigger,.tg-select-option)[aria-disabled="true"]:hover{
  border-color:color-mix(in srgb,var(--tg-edge) 74%,transparent)!important;
  background:color-mix(in srgb,var(--tg-panel-2) 84%,var(--tg-line) 4%)!important;
  color:var(--tg-muted)!important;
}
/* Dauerhaft ausgewählt ist stärker und anders als bloß Hover. */
body.techgrid-fui-active :is(.prae-sidebar .nav-tile.active,.mail-folder.active,.secure-mail-row.active,.record-tabs button.active,.tg-select-option[aria-selected="true"],.task-tab.is-active,[aria-current="page"]){
  background:color-mix(in srgb,var(--tg-line) 18%,var(--tg-panel-2))!important;
  color:var(--tg-ink)!important;
  border-color:var(--tg-line-2)!important;
  box-shadow:inset 3px 0 0 var(--tg-line-2)!important;
}
body.techgrid-fui-active :is(.tg-select-option[aria-selected="true"],.record-tabs button.active):hover{
  background:color-mix(in srgb,var(--tg-line) 22%,var(--tg-panel-2))!important;
}
/* Semantische Zustände bleiben über alle neun TechGrid-Themes eindeutig. */
body.techgrid-fui-active :is(.os-btn.red,.danger,[data-danger="1"],.error,.os-msg.error){
  --tg-state-color:var(--tg-danger,#ff516c);
}
body.techgrid-fui-active :is(.os-btn.green,.success,.os-msg.success){
  --tg-state-color:var(--tg-ok,#7ee79c);
}
body.techgrid-fui-active :is(.warn,.warning,.os-msg.warn,[data-warning="1"]){
  --tg-state-color:var(--tg-warning,#ffd166);
}
body.techgrid-fui-active :is(.os-btn.red,.os-btn.green,.danger,.warn,.warning,.success,.error,.os-msg.error,.os-msg.warn,.os-msg.success){
  border-color:var(--tg-state-color)!important;
}
body.techgrid-fui-active :is(input,textarea,select)[aria-invalid="true"],
body.techgrid-fui-active :is(input,textarea,select):invalid:not(:placeholder-shown){
  border-color:var(--tg-danger,#ff516c)!important;
  box-shadow:inset 3px 0 0 var(--tg-danger,#ff516c)!important;
}
body.techgrid-fui-active :is(input,textarea,select)[aria-invalid="true"]:focus-visible,
body.techgrid-fui-active :is(input,textarea,select):invalid:not(:placeholder-shown):focus-visible{
  outline-color:var(--tg-danger,#ff516c)!important;
}

/* v0.99.69 / Schritt 169 – Hilfetexte, Tooltips und Statusmeldungen */
body.techgrid-fui-active .os-global-tooltip,
body.techgrid-fui-active .tg-node-tooltip{
  scrollbar-width:thin;
  scrollbar-color:var(--tg-tip-edge,var(--tg-line)) transparent;
}
body.techgrid-fui-active .os-global-tooltip::-webkit-scrollbar,
body.techgrid-fui-active .tg-node-tooltip::-webkit-scrollbar{width:6px;height:6px}
body.techgrid-fui-active .os-global-tooltip::-webkit-scrollbar-thumb,
body.techgrid-fui-active .tg-node-tooltip::-webkit-scrollbar-thumb{background:var(--tg-tip-edge,var(--tg-line))}
body.techgrid-fui-active :is(.os-msg,.tg-module-state,.tg-widget-probe-status,.tg-widget-region-status,.handbook-loading,[role="status"],[role="alert"]){
  overflow-wrap:anywhere;
  word-break:normal;
}
body.techgrid-fui-active #praetorianSecurityAlert .security-alert-actions{
  display:flex!important;flex-wrap:wrap!important;gap:6px!important;align-items:center!important;
}
body.techgrid-fui-active #praetorianSecurityAlert .security-alert-actions :is(.os-btn,button){
  min-height:28px!important;padding:5px 9px!important;font-size:9px!important;letter-spacing:.045em!important;
}
body.techgrid-fui-active #praetorianSecurityAlert .security-alert-notice{
  border-left:4px solid var(--tg-state-warn-edge)!important;
  background:var(--tg-state-warn-bg)!important;color:var(--tg-state-warn-ink)!important;
}
body.techgrid-fui-active #praetorianSecurityAlert[data-security-active="0"] .security-alert-notice{
  border-left-color:var(--tg-state-success-edge)!important;background:var(--tg-state-success-bg)!important;color:var(--tg-state-success-ink)!important;
}

/* Michael Klementz | 29.09.2026 – Schritt 192: Secure-Mail-Ordnernavigation für schmale interne Fenster weiter verdichtet. */
body.mail-tool-body .secure-mail-panel-title{min-height:20px!important;padding:3px 6px!important;font-size:9px!important;letter-spacing:.055em!important}
body.mail-tool-body .secure-mail-folders{gap:2px!important;padding:3px!important;align-content:start!important;flex:0 0 auto!important}
body.mail-tool-body .mail-folder{
  width:100%!important;
  min-width:0!important;
  min-height:22px!important;
  padding:2px 5px!important;
  gap:4px!important;
  font-size:10px!important;
  line-height:1.05!important;
  border-width:1px!important;
  align-items:center!important;
}
body.mail-tool-body .mail-folder span:first-child{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body.mail-tool-body .mail-folder span:last-child{font-size:9px!important;line-height:1!important;min-width:1.4em!important;text-align:right!important}
body.mail-tool-body .secure-mail-side-note{margin:0 3px 3px!important;padding:4px 5px!important;font-size:8.5px!important;line-height:1.22!important}
@media(max-width:760px){
  body.mail-tool-body .secure-mail-folders{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;overflow-x:visible!important}
  body.mail-tool-body .mail-folder{width:100%!important;min-width:0!important;justify-content:center!important}
  body.mail-tool-body .mail-folder span:first-child{max-width:100%!important}
}
@media(max-width:430px){
  body.mail-tool-body .secure-mail-folders{grid-template-columns:1fr!important}
  body.mail-tool-body .mail-folder{justify-content:space-between!important}
}

/* ========================================================================== */
/* v1.00.22 / Schritt 222 – Native persönliche Notizen                       */
/* ========================================================================== */
.icon-glyph[data-icon="notes"],.gate-view-glyph[data-icon="notes"]{background-image:url("./desktop-icons/notes.svg")!important}
.notes-window{position:fixed;left:clamp(8px,calc((100vw - 1040px)/2),170px);top:clamp(44px,8vh,110px);width:min(1040px,calc(100vw - 16px));height:min(760px,calc(100dvh - 86px));min-width:min(680px,calc(100vw - 16px));min-height:min(500px,calc(100dvh - 56px));z-index:760}
.notes-window>.win-body{padding:0!important;overflow:hidden!important}
.notes-shell{
  --notes-accent:var(--tg-line,#285d91);--notes-accent-2:var(--tg-line-2,#6ea7d5);--notes-bg:var(--tg-panel,#d7dde5);--notes-panel:var(--tg-panel-2,#edf1f4);--notes-ink:var(--tg-ink,#122033);--notes-muted:var(--tg-muted,#5a6878);--notes-edge:var(--tg-edge,#718397);
  position:relative;height:100%;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);background:linear-gradient(145deg,color-mix(in srgb,var(--notes-accent) 5%,var(--notes-bg)),var(--notes-bg));color:var(--notes-ink);font:13px/1.4 Arial,Helvetica,sans-serif
}
.notes-topline{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;border-bottom:1px solid color-mix(in srgb,var(--notes-edge) 55%,transparent);background:linear-gradient(90deg,color-mix(in srgb,var(--notes-accent) 12%,var(--notes-panel)),var(--notes-panel));box-shadow:0 4px 15px rgba(0,0,0,.08)}
.notes-topline>div{display:grid;gap:1px}.notes-topline small,.notes-page-head small,.notes-category-head small,.notes-inline-card small{font:700 10px/1.2 Consolas,"Courier New",monospace;letter-spacing:.14em;color:var(--notes-accent)}
.notes-topline strong{font:800 20px/1.1 Arial,sans-serif;letter-spacing:.04em}.notes-topline>span{font:700 10px/1 Consolas,monospace;letter-spacing:.08em;color:var(--notes-muted);padding:6px 8px;border:1px solid color-mix(in srgb,var(--notes-edge) 38%,transparent);background:color-mix(in srgb,var(--notes-panel) 80%,transparent)}.notes-topline>span.is-error{color:#b21e2b;border-color:#b21e2b}
.notes-viewport{min-height:0;overflow:hidden}.notes-track{display:flex;width:200%;height:100%;transform:translateX(0);transition:transform .32s cubic-bezier(.2,.78,.2,1);will-change:transform}.notes-track.show-category{transform:translateX(-50%)}
.notes-page{flex:0 0 50%;width:50%;min-width:0;height:100%;box-sizing:border-box;overflow:auto;padding:18px 20px 24px;scrollbar-gutter:stable}
.notes-page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px;padding-bottom:14px;border-bottom:1px solid color-mix(in srgb,var(--notes-edge) 34%,transparent)}
.notes-page-head h2,.notes-category-head h2{margin:2px 0 4px;font:800 clamp(20px,2.7vw,30px)/1.05 Arial,sans-serif;letter-spacing:.01em}.notes-page-head p{margin:0;max-width:620px;color:var(--notes-muted);font-size:12px}
.notes-primary,.notes-category-head-actions button,.notes-composer-tabs button,.notes-back,.notes-card-actions button,.notes-category-actions button,.notes-editor-toolbar button,.notes-widget-body button,.notes-desktop-widget header button,.notes-inline-card button{border:1px solid color-mix(in srgb,var(--notes-edge) 68%,transparent);background:linear-gradient(180deg,color-mix(in srgb,var(--notes-panel) 94%,#fff),color-mix(in srgb,var(--notes-panel) 78%,var(--notes-accent)));color:var(--notes-ink);min-height:31px;padding:6px 10px;font:700 11px/1 Arial,sans-serif;cursor:pointer;box-shadow:inset 0 1px 0 rgba(255,255,255,.22)}
.notes-primary{background:linear-gradient(180deg,color-mix(in srgb,var(--notes-accent) 22%,var(--notes-panel)),color-mix(in srgb,var(--notes-accent) 38%,var(--notes-panel)));border-color:color-mix(in srgb,var(--notes-accent) 72%,var(--notes-edge));font-weight:800}
.notes-primary:hover,.notes-category-head-actions button:hover,.notes-composer-tabs button:hover,.notes-back:hover,.notes-card-actions button:hover,.notes-category-actions button:hover,.notes-editor-toolbar button:hover,.notes-desktop-widget header button:hover,.notes-inline-card button:hover{filter:brightness(1.06);border-color:var(--notes-accent)}
.notes-category-list{display:grid;gap:9px;max-width:900px}.notes-category-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:stretch;border:1px solid color-mix(in srgb,var(--notes-edge) 45%,transparent);background:linear-gradient(110deg,color-mix(in srgb,var(--notes-panel) 95%,transparent),color-mix(in srgb,var(--notes-accent) 7%,var(--notes-panel)));box-shadow:0 6px 14px rgba(0,0,0,.07)}
.notes-category-open{appearance:none;border:0;background:transparent;color:inherit;text-align:left;display:grid;grid-template-columns:38px minmax(0,1fr) 18px;align-items:center;gap:10px;padding:12px 14px;cursor:pointer}.notes-category-open:hover{background:color-mix(in srgb,var(--notes-accent) 7%,transparent)}.notes-category-open>span:nth-child(2){display:grid;gap:3px}.notes-category-open strong{font-size:14px}.notes-category-open small{color:var(--notes-muted);font-size:10px}.notes-category-open i{font:400 24px/1 Arial;color:var(--notes-accent)}.notes-category-mark{display:grid;place-items:center;width:34px;height:34px;border:1px solid color-mix(in srgb,var(--notes-accent) 45%,transparent);background:color-mix(in srgb,var(--notes-accent) 8%,var(--notes-panel));font-size:17px}
.notes-category-actions{display:flex;align-items:center;gap:4px;padding:7px 8px 7px 0}.notes-category-actions button{width:32px;padding:0;font-size:15px}.notes-category-actions button[data-delete-category]{color:#a31625}
.notes-empty{min-height:160px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:7px;padding:24px;border:1px dashed color-mix(in srgb,var(--notes-edge) 55%,transparent);background:color-mix(in srgb,var(--notes-panel) 72%,transparent);color:var(--notes-muted)}.notes-empty b{color:var(--notes-ink);font-size:14px}.notes-empty-category{min-height:130px}
.notes-category-head{position:sticky;top:-18px;z-index:8;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;margin:-18px -20px 14px;padding:12px 18px;background:color-mix(in srgb,var(--notes-panel) 94%,transparent);border-bottom:1px solid color-mix(in srgb,var(--notes-edge) 40%,transparent);backdrop-filter:blur(12px);box-shadow:0 7px 16px rgba(0,0,0,.08)}.notes-back{width:34px;height:34px;padding:0;font-size:25px}.notes-category-head-actions{display:flex;align-items:center;gap:5px}.notes-category-head-actions button[data-notes-pin]{min-width:104px}.notes-category-head-actions button.is-pinned{border-color:var(--notes-accent);background:color-mix(in srgb,var(--notes-accent) 18%,var(--notes-panel))}
.notes-composer{margin-bottom:15px;border:1px solid color-mix(in srgb,var(--notes-edge) 45%,transparent);background:linear-gradient(150deg,color-mix(in srgb,var(--notes-panel) 95%,transparent),color-mix(in srgb,var(--notes-accent) 4%,var(--notes-panel)));box-shadow:0 8px 18px rgba(0,0,0,.07);overflow:visible}.notes-composer-tabs{display:flex;gap:0;border-bottom:1px solid color-mix(in srgb,var(--notes-edge) 40%,transparent)}.notes-composer-tabs button{border-width:0 1px 0 0;border-radius:0;min-width:110px;background:transparent}.notes-composer-tabs button.active{background:color-mix(in srgb,var(--notes-accent) 13%,var(--notes-panel));color:var(--notes-accent)}
.notes-composer-pane{padding:12px}.notes-subtitle-input,.notes-composer textarea{width:100%;box-sizing:border-box;border:1px solid color-mix(in srgb,var(--notes-edge) 55%,transparent);background:color-mix(in srgb,#fff 76%,var(--notes-panel));color:#132232;padding:8px 9px;font:600 12px/1.3 Arial,sans-serif;outline:none}.notes-composer textarea{resize:vertical;min-height:100px;margin-top:8px}.notes-subtitle-input:focus,.notes-composer textarea:focus,.notes-rich-editor:focus{border-color:var(--notes-accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--notes-accent) 14%,transparent)}
.notes-editor-toolbar{position:relative;display:flex;align-items:center;gap:5px;flex-wrap:wrap;padding:8px 0 7px}.notes-editor-toolbar button{min-width:31px;height:29px;padding:4px 8px}.notes-editor-toolbar label{display:flex;align-items:center;gap:5px;height:29px;padding:0 6px;border:1px solid color-mix(in srgb,var(--notes-edge) 45%,transparent);background:color-mix(in srgb,var(--notes-panel) 90%,transparent);font:700 10px/1 Arial;color:var(--notes-muted)}.notes-editor-toolbar select{border:0;background:transparent;color:var(--notes-ink);font:700 11px/1 Arial;outline:none}
.notes-emoji-panel{position:absolute;left:190px;top:39px;z-index:24;display:grid;grid-template-columns:repeat(8,32px);gap:3px;padding:7px;background:var(--notes-panel);border:1px solid var(--notes-edge);box-shadow:0 12px 28px rgba(0,0,0,.28)}.notes-emoji-panel[hidden]{display:none!important}.notes-emoji-panel button{min-width:32px;width:32px;height:32px;padding:0;font-size:17px}
.notes-rich-editor{min-height:112px;max-height:260px;overflow:auto;border:1px solid color-mix(in srgb,var(--notes-edge) 55%,transparent);background:color-mix(in srgb,#fff 80%,var(--notes-panel));color:#132232;padding:10px;font:13px/1.5 Arial,sans-serif;outline:none;word-break:break-word}.notes-rich-editor:empty::before{content:attr(data-placeholder);color:#7a8794;pointer-events:none}.notes-rich-editor a,.notes-rich-output a{color:#0960a8;text-decoration:underline}.notes-composer-actions{display:flex;justify-content:flex-end;padding-top:9px}
.notes-card-list{display:grid;gap:10px;padding-bottom:14px}.notes-card{position:relative;border:1px solid color-mix(in srgb,var(--notes-edge) 45%,transparent);background:linear-gradient(145deg,color-mix(in srgb,var(--notes-panel) 97%,transparent),color-mix(in srgb,var(--notes-accent) 4%,var(--notes-panel)));box-shadow:0 8px 16px rgba(0,0,0,.07);transition:transform .16s ease,border-color .16s ease,opacity .16s ease}.notes-card.is-dragging{opacity:.55}.notes-card.is-drop-target{border-color:var(--notes-accent);transform:translateY(3px)}.notes-card-content{padding:12px 14px}.notes-card h3{margin:0 86px 8px 0;font:800 11px/1.2 Arial,sans-serif;text-transform:uppercase;letter-spacing:.07em;color:var(--notes-accent)}.notes-card h3.is-muted{opacity:.48}.notes-card-actions{position:absolute;right:7px;top:7px;display:flex;align-items:center;gap:4px}.notes-card-actions button{width:29px;height:27px;min-height:27px;padding:0}.notes-card-grip{display:grid;place-items:center;width:29px;height:27px;border:1px solid color-mix(in srgb,var(--notes-edge) 50%,transparent);background:color-mix(in srgb,var(--notes-panel) 86%,transparent);cursor:grab;color:var(--notes-muted);font-size:17px;user-select:none}.notes-card-grip:active{cursor:grabbing}.notes-rich-output{color:var(--notes-ink);font-size:13px;line-height:1.52;word-break:break-word}.notes-rich-output p,.notes-rich-output div{margin:.15em 0}.notes-todo-list{display:grid;gap:2px}.notes-todo-row{display:grid;grid-template-columns:18px minmax(0,1fr);gap:8px;align-items:start;padding:6px 4px;border-bottom:1px solid color-mix(in srgb,var(--notes-edge) 16%,transparent);cursor:pointer}.notes-todo-row:last-child{border-bottom:0}.notes-todo-row input{margin:2px 0 0;accent-color:var(--notes-accent)}.notes-todo-row span{word-break:break-word}.notes-todo-row.done span{text-decoration:line-through;opacity:.5}.notes-card-empty{color:var(--notes-muted);font-size:11px}
.notes-inline-dialog{position:absolute;inset:0;z-index:80;display:grid;place-items:center;padding:16px;background:rgba(10,18,27,.34);backdrop-filter:blur(3px)}.notes-inline-card{width:min(440px,calc(100% - 30px));display:grid;gap:9px;padding:16px;border:1px solid var(--notes-edge);background:var(--notes-panel);box-shadow:0 22px 50px rgba(0,0,0,.34)}.notes-inline-card strong{font-size:16px}.notes-inline-card input{width:100%;box-sizing:border-box;padding:8px;border:1px solid var(--notes-edge);background:#fff;color:#101820}.notes-inline-card>div{display:flex;justify-content:flex-end;gap:6px}
.notes-desktop-widget{--notes-accent:var(--tg-line,#285d91);--notes-accent-2:var(--tg-line-2,#6ea7d5);--notes-panel:var(--tg-panel-2,#eef2f5);--notes-ink:var(--tg-ink,#122033);--notes-muted:var(--tg-muted,#5a6878);--notes-edge:var(--tg-edge,#718397);position:absolute;z-index:36;display:grid;grid-template-rows:auto minmax(0,1fr);min-width:260px;min-height:180px;overflow:hidden;background:linear-gradient(155deg,color-mix(in srgb,var(--notes-accent) 7%,var(--notes-panel)),var(--notes-panel));border:1px solid color-mix(in srgb,var(--notes-edge) 66%,transparent);box-shadow:0 14px 28px rgba(0,0,0,.22),0 0 18px color-mix(in srgb,var(--notes-accent) 14%,transparent);color:var(--notes-ink);font:12px/1.35 Arial,sans-serif;pointer-events:auto}.notes-desktop-widget>header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;border-bottom:1px solid color-mix(in srgb,var(--notes-edge) 35%,transparent);background:linear-gradient(90deg,color-mix(in srgb,var(--notes-accent) 15%,var(--notes-panel)),var(--notes-panel));cursor:move;touch-action:none;user-select:none}.notes-desktop-widget>header>div:first-child{display:grid;gap:1px;min-width:0}.notes-desktop-widget>header small{font:700 8px/1 Consolas,monospace;color:var(--notes-accent);letter-spacing:.1em}.notes-desktop-widget>header strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.notes-desktop-widget>header>div:last-child{display:flex;gap:4px}.notes-desktop-widget>header button{width:27px;height:25px;min-height:25px;padding:0}.notes-widget-body{min-height:0;overflow:auto;padding:8px;display:grid;align-content:start;gap:7px}.notes-desktop-widget .notes-card{box-shadow:none}.notes-desktop-widget .notes-card-content{padding:9px 10px}.notes-desktop-widget .notes-card h3{margin-right:0;font-size:9px}.notes-desktop-widget .notes-rich-output{font-size:11px;line-height:1.4}.notes-desktop-widget .notes-todo-row{font-size:11px;padding:4px 2px}.notes-desktop-widget .notes-empty{min-height:100px;padding:12px}.notes-widget-resizer{position:absolute;right:0;bottom:0;width:20px;height:20px;cursor:nwse-resize;touch-action:none;background:linear-gradient(135deg,transparent 0 48%,color-mix(in srgb,var(--notes-accent) 70%,transparent) 49% 56%,transparent 57% 65%,color-mix(in srgb,var(--notes-accent) 70%,transparent) 66% 73%,transparent 74%)}
body.techgrid-fui-active .notes-desktop-widget{z-index:5;border-color:color-mix(in srgb,var(--tg-edge) 86%,transparent);background:linear-gradient(155deg,color-mix(in srgb,var(--tg-line) 6%,var(--tg-panel-2)),var(--tg-panel-2));box-shadow:0 12px 28px rgba(0,0,0,.28),0 0 16px color-mix(in srgb,var(--tg-glow) 45%,transparent)}
body.techgrid-fui-active .notes-window{z-index:1600!important}
body.techgrid-fui-active .notes-shell{background:linear-gradient(145deg,color-mix(in srgb,var(--tg-line) 4%,var(--tg-panel)),var(--tg-panel))}
body.user-theme-techgrid-light .notes-rich-editor,body.user-theme-techgrid-light .notes-subtitle-input,body.user-theme-techgrid-light .notes-composer textarea,body.user-theme-techgrid-light .notes-inline-card input{color:#16251f;background:#f7fbf7}
body.user-theme-techgrid-aqua .notes-rich-editor,body.user-theme-techgrid-aqua .notes-subtitle-input,body.user-theme-techgrid-aqua .notes-composer textarea,body.user-theme-techgrid-aqua .notes-inline-card input,body.user-theme-techgrid-amber .notes-rich-editor,body.user-theme-techgrid-amber .notes-subtitle-input,body.user-theme-techgrid-amber .notes-composer textarea,body.user-theme-techgrid-amber .notes-inline-card input,body.user-theme-techgrid-matrix .notes-rich-editor,body.user-theme-techgrid-matrix .notes-subtitle-input,body.user-theme-techgrid-matrix .notes-composer textarea,body.user-theme-techgrid-matrix .notes-inline-card input,body.user-theme-techgrid-crimson .notes-rich-editor,body.user-theme-techgrid-crimson .notes-subtitle-input,body.user-theme-techgrid-crimson .notes-composer textarea,body.user-theme-techgrid-crimson .notes-inline-card input,body.user-theme-techgrid-violet .notes-rich-editor,body.user-theme-techgrid-violet .notes-subtitle-input,body.user-theme-techgrid-violet .notes-composer textarea,body.user-theme-techgrid-violet .notes-inline-card input{background:color-mix(in srgb,var(--tg-panel-2) 94%,#000);color:var(--tg-ink);caret-color:var(--tg-line);border-color:color-mix(in srgb,var(--tg-edge) 82%,transparent)}
body.user-theme-techgrid-aqua .notes-rich-editor:empty::before,body.user-theme-techgrid-amber .notes-rich-editor:empty::before,body.user-theme-techgrid-matrix .notes-rich-editor:empty::before,body.user-theme-techgrid-crimson .notes-rich-editor:empty::before,body.user-theme-techgrid-violet .notes-rich-editor:empty::before{color:var(--tg-muted)}
body.user-theme-techgrid-aqua .notes-rich-editor a,body.user-theme-techgrid-aqua .notes-rich-output a,body.user-theme-techgrid-amber .notes-rich-editor a,body.user-theme-techgrid-amber .notes-rich-output a,body.user-theme-techgrid-matrix .notes-rich-editor a,body.user-theme-techgrid-matrix .notes-rich-output a,body.user-theme-techgrid-crimson .notes-rich-editor a,body.user-theme-techgrid-crimson .notes-rich-output a,body.user-theme-techgrid-violet .notes-rich-editor a,body.user-theme-techgrid-violet .notes-rich-output a{color:var(--tg-line)}
@media (max-width:760px){.notes-window{left:4px!important;right:4px!important;top:42px!important;width:auto!important;height:calc(100dvh - 82px)!important;min-width:0!important;min-height:0!important}.notes-page{padding:12px}.notes-category-head{top:-12px;margin:-12px -12px 12px;padding:9px 10px;grid-template-columns:auto minmax(0,1fr)}.notes-category-head-actions{grid-column:1/-1;justify-content:flex-end}.notes-page-head{flex-direction:column}.notes-page-head .notes-primary{align-self:flex-end}.notes-emoji-panel{left:0;grid-template-columns:repeat(6,32px)}.notes-category-row{grid-template-columns:minmax(0,1fr)}.notes-category-actions{padding:0 8px 8px;justify-content:flex-end}.notes-card h3{margin-right:80px}}
@media (max-height:560px){.notes-window{top:36px!important;height:calc(100dvh - 72px)!important;min-height:0!important}.notes-topline{padding:7px 10px}.notes-topline strong{font-size:16px}.notes-page{padding-top:10px}.notes-category-head{top:-10px;margin-top:-10px}.notes-rich-editor{min-height:82px;max-height:160px}}
@media (prefers-reduced-motion:reduce){.notes-track,.notes-card{transition:none!important}}
.user-theme-norton .notes-rich-editor{background:var(--nc-black)!important;color:var(--nc-white)!important;caret-color:var(--nc-yellow)!important;border-color:var(--nc-cyan)!important}.user-theme-norton .notes-rich-editor:empty::before{color:#a9ffff!important}.user-theme-norton .notes-rich-editor a,.user-theme-norton .notes-rich-output a{color:var(--nc-yellow)!important}

/* Michael Klementz | 30.09.2026 – Schritt 223: RECORD DISPLAY bekommt pro Design einen festen, kontrastreichen
   Lesbarkeitsvertrag. Feldhintergrund und Feldschrift dürfen nicht mehr aus unterschiedlichen Theme-Ebenen stammen. */
.records-tool{
  --record-field-bg:#f5f6f7;
  --record-value-fg:#172334;
  --record-label-fg:#27496f;
  --record-field-border:#8998a8;
  --record-status-bg:#d3dae1;
  --record-status-fg:#172334;
  --record-input-bg:#fff;
  --record-input-fg:#111827;
  --record-photo-bg:#b5c0ca;
  --record-photo-fg:#304760;
  --record-tab-bg:#a8b4c1;
  --record-tab-fg:#101820;
  --record-tab-active-bg:#edf2f5;
  --record-tab-active-fg:#10233a;
  --record-alert-fg:#a20d18;
}
.records-tool .record-fields>div{
  background:var(--record-field-bg)!important;
  color:var(--record-value-fg)!important;
  border-color:var(--record-field-border)!important;
}
.records-tool .record-fields b{color:var(--record-label-fg)!important}
.records-tool .record-fields [data-record-value]{color:var(--record-value-fg)!important;font-weight:600;text-shadow:none!important}
.records-tool .record-fields [data-record-value].record-alert{color:var(--record-alert-fg)!important;font-weight:800!important}
.records-tool .record-statusbar span{background:var(--record-status-bg)!important;color:var(--record-status-fg)!important;border-color:var(--record-field-border)!important;text-shadow:none!important}
.records-tool .record-controls{color:var(--record-value-fg)!important}
.records-tool .record-controls input{background:var(--record-input-bg)!important;color:var(--record-input-fg)!important;border-color:var(--record-field-border)!important;caret-color:currentColor!important}
.records-tool .record-controls input::placeholder{color:color-mix(in srgb,var(--record-input-fg) 64%,transparent)!important;opacity:1!important}
.records-tool .record-photo{background:var(--record-photo-bg)!important;color:var(--record-photo-fg)!important;border-color:var(--record-field-border)!important}
.records-tool .record-photo .record-silhouette,.records-tool .record-photo small{color:var(--record-photo-fg)!important;text-shadow:none!important}
.records-tool .record-tabs button{background:var(--record-tab-bg)!important;color:var(--record-tab-fg)!important;border-color:var(--record-field-border)!important;text-shadow:none!important}
.records-tool .record-tabs button.active{background:var(--record-tab-active-bg)!important;color:var(--record-tab-active-fg)!important;border-color:var(--record-field-border)!important}

.user-theme-norton .records-tool{
  --record-field-bg:#000090;
  --record-value-fg:#fff;
  --record-label-fg:#ffff54;
  --record-field-border:#36ffff;
  --record-status-bg:#000090;
  --record-status-fg:#fff;
  --record-input-bg:#001967;
  --record-input-fg:#fff;
  --record-photo-bg:#031b72;
  --record-photo-fg:#36ffff;
  --record-tab-bg:#c0c0c0;
  --record-tab-fg:#00145d;
  --record-tab-active-bg:#36ffff;
  --record-tab-active-fg:#000;
  --record-alert-fg:#ff9d9d;
}
.user-theme-windows31 .records-tool{
  --record-field-bg:#fff;
  --record-value-fg:#000;
  --record-label-fg:#000080;
  --record-field-border:#808080;
  --record-status-bg:#fff;
  --record-status-fg:#000;
  --record-input-bg:#fff;
  --record-input-fg:#000;
  --record-photo-bg:#c0c0c0;
  --record-photo-fg:#000080;
  --record-tab-bg:#c0c0c0;
  --record-tab-fg:#000;
  --record-tab-active-bg:#000080;
  --record-tab-active-fg:#fff;
  --record-alert-fg:#b00020;
}
.user-theme-windowsphone .records-tool{
  --record-field-bg:#1c1c1c;
  --record-value-fg:#fff;
  --record-label-fg:#76d8ff;
  --record-field-border:#4a4a4a;
  --record-status-bg:#171717;
  --record-status-fg:#fff;
  --record-input-bg:#050505;
  --record-input-fg:#fff;
  --record-photo-bg:#151515;
  --record-photo-fg:#76d8ff;
  --record-tab-bg:#242424;
  --record-tab-fg:#fff;
  --record-tab-active-bg:var(--wp-accent,#1ba1e2);
  --record-tab-active-fg:#fff;
  --record-alert-fg:#ff8c8c;
}
body[class*="user-theme-techgrid-"] .records-tool{
  --record-field-bg:color-mix(in srgb,var(--tg-card) 88%,var(--tg-bg) 12%);
  --record-value-fg:var(--tg-ink);
  --record-label-fg:var(--tg-line-2);
  --record-field-border:color-mix(in srgb,var(--tg-edge) 82%,var(--tg-line) 18%);
  --record-status-bg:color-mix(in srgb,var(--tg-panel-2) 88%,var(--tg-card));
  --record-status-fg:var(--tg-ink);
  --record-input-bg:color-mix(in srgb,var(--tg-panel-2) 92%,var(--tg-bg));
  --record-input-fg:var(--tg-ink);
  --record-photo-bg:color-mix(in srgb,var(--tg-card) 82%,var(--tg-panel-2));
  --record-photo-fg:var(--tg-line-2);
  --record-tab-bg:color-mix(in srgb,var(--tg-panel-2) 86%,var(--tg-line) 6%);
  --record-tab-fg:var(--tg-ink);
  --record-tab-active-bg:color-mix(in srgb,var(--tg-line) 18%,var(--tg-panel-2));
  --record-tab-active-fg:var(--tg-ink);
  --record-alert-fg:var(--tg-danger,#ff657d);
}
/* TechGrid Light nutzt eine sehr helle Kartenfläche; dessen leuchtende Akzentfarbe ist dort nur für Linien geeignet,
   nicht als Fließtext. Für RECORD DISPLAY werden Beschriftung/Warnung deshalb bewusst abgedunkelt. */
body.user-theme-techgrid-light .records-tool{
  --record-label-fg:#6b3500;
  --record-photo-fg:#6b3500;
  --record-alert-fg:#8a0018;
}

/* ========================================================================== */
/* v1.00.24 / Schritt 224 – Notizen-Widget als wallpapernahe Desktop-Ebene   */
/* ========================================================================== */
.notes-desktop-widget{
  --notes-wall-surface:color-mix(in srgb,var(--notes-panel) 48%,transparent);
  --notes-wall-head:color-mix(in srgb,var(--notes-panel) 24%,transparent);
  --notes-wall-card:color-mix(in srgb,var(--notes-panel) 46%,transparent);
  --notes-wall-edge:color-mix(in srgb,var(--notes-edge) 34%,transparent);
  --notes-wall-hover-edge:color-mix(in srgb,var(--notes-accent) 58%,transparent);
  --notes-wall-shadow:rgba(0,0,0,.12);
  background:linear-gradient(145deg,color-mix(in srgb,var(--notes-accent) 3%,var(--notes-wall-surface)),var(--notes-wall-surface))!important;
  border:1px solid transparent!important;
  box-shadow:none!important;
  backdrop-filter:blur(2px) saturate(1.04);
  -webkit-backdrop-filter:blur(2px) saturate(1.04);
  transition:border-color .18s ease,background .18s ease,box-shadow .18s ease,backdrop-filter .18s ease;
}
.notes-desktop-widget:hover,.notes-desktop-widget:focus-within{
  border-color:var(--notes-wall-hover-edge)!important;
  background:linear-gradient(145deg,color-mix(in srgb,var(--notes-accent) 6%,var(--notes-wall-surface)),var(--notes-wall-surface))!important;
  box-shadow:0 7px 18px var(--notes-wall-shadow)!important;
  backdrop-filter:blur(3px) saturate(1.08);
  -webkit-backdrop-filter:blur(3px) saturate(1.08);
}
.notes-desktop-widget>header{
  padding:8px 9px 5px!important;
  border-bottom:1px solid transparent!important;
  background:linear-gradient(90deg,var(--notes-wall-head),transparent 82%)!important;
  box-shadow:none!important;
}
.notes-desktop-widget:hover>header,.notes-desktop-widget:focus-within>header{border-bottom-color:var(--notes-wall-edge)!important}
.notes-desktop-widget>header small{opacity:.67;text-shadow:0 1px 2px color-mix(in srgb,var(--notes-wall-surface) 75%,transparent)}
.notes-desktop-widget>header strong{text-shadow:0 1px 2px color-mix(in srgb,var(--notes-wall-surface) 82%,transparent)}
.notes-desktop-widget>header>div:last-child{opacity:.14;transition:opacity .16s ease}
.notes-desktop-widget:hover>header>div:last-child,.notes-desktop-widget:focus-within>header>div:last-child{opacity:1}
.notes-desktop-widget>header button{
  background:color-mix(in srgb,var(--notes-panel) 42%,transparent)!important;
  border-color:color-mix(in srgb,var(--notes-edge) 30%,transparent)!important;
  box-shadow:none!important;
}
.notes-desktop-widget:hover>header button,.notes-desktop-widget:focus-within>header button{background:color-mix(in srgb,var(--notes-panel) 82%,transparent)!important;border-color:color-mix(in srgb,var(--notes-edge) 58%,transparent)!important}
.notes-widget-body{background:transparent!important;padding:5px 7px 8px!important;gap:5px!important;scrollbar-color:color-mix(in srgb,var(--notes-accent) 42%,transparent) transparent}
.notes-desktop-widget .notes-card{
  background:var(--notes-wall-card)!important;
  border-color:var(--notes-wall-edge)!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
.notes-desktop-widget .notes-card-content{background:transparent!important}
.notes-desktop-widget .notes-card h3{opacity:.72;letter-spacing:.065em}
.notes-desktop-widget .notes-rich-output,.notes-desktop-widget .notes-todo-row{color:var(--notes-ink)!important;text-shadow:0 1px 1px color-mix(in srgb,var(--notes-wall-surface) 68%,transparent)}
.notes-desktop-widget .notes-todo-row{border-bottom-color:color-mix(in srgb,var(--notes-edge) 16%,transparent)!important}
.notes-desktop-widget .notes-empty{background:color-mix(in srgb,var(--notes-panel) 24%,transparent)!important;border-color:color-mix(in srgb,var(--notes-edge) 24%,transparent)!important}
.notes-widget-resizer{opacity:.08;transition:opacity .16s ease;background:linear-gradient(135deg,transparent 0 48%,color-mix(in srgb,var(--notes-accent) 52%,transparent) 49% 56%,transparent 57% 65%,color-mix(in srgb,var(--notes-accent) 52%,transparent) 66% 73%,transparent 74%)!important}
.notes-desktop-widget:hover .notes-widget-resizer,.notes-desktop-widget:focus-within .notes-widget-resizer{opacity:.82}

/* Standard: leichtes Papier/Wasserzeichen statt separates Fenster. */
.user-theme-standard .notes-desktop-widget{
  --notes-wall-surface:rgba(239,244,248,.55);--notes-wall-head:rgba(239,244,248,.32);--notes-wall-card:rgba(249,251,252,.47);--notes-wall-edge:rgba(71,91,111,.24);--notes-wall-hover-edge:rgba(48,93,137,.52);--notes-wall-shadow:rgba(25,39,54,.15);
}
/* Norton: dunkle Desktopfolie mit Cyan-/Gelbakzenten, ohne weißen Fremdkörper. */
.user-theme-norton .notes-desktop-widget{
  --notes-accent:var(--nc-cyan,#36ffff);--notes-panel:var(--nc-blue,#000090);--notes-ink:var(--nc-white,#fff);--notes-muted:#b7ffff;--notes-edge:var(--nc-cyan,#36ffff);
  --notes-wall-surface:rgba(0,0,80,.58);--notes-wall-head:rgba(0,0,115,.38);--notes-wall-card:rgba(0,0,100,.44);--notes-wall-edge:rgba(54,255,255,.25);--notes-wall-hover-edge:rgba(54,255,255,.72);--notes-wall-shadow:rgba(0,0,0,.22);
}
.user-theme-norton .notes-desktop-widget .notes-card h3{color:var(--nc-yellow,#ffff54)!important;opacity:.92}
.user-theme-norton .notes-desktop-widget>header button{color:var(--nc-cyan,#36ffff)!important}
/* Windows 3.1: graue transparente Desktopplatte mit klassischem Navy-Kontrast. */
.user-theme-windows31 .notes-desktop-widget{
  --notes-accent:#000080;--notes-panel:#c0c0c0;--notes-ink:#000;--notes-muted:#404040;--notes-edge:#808080;
  --notes-wall-surface:rgba(192,192,192,.56);--notes-wall-head:rgba(192,192,192,.34);--notes-wall-card:rgba(255,255,255,.38);--notes-wall-edge:rgba(64,64,64,.24);--notes-wall-hover-edge:rgba(0,0,128,.62);--notes-wall-shadow:rgba(0,0,0,.15);
}
/* Windows Phone: nahezu rahmenlose dunkle Live-Tile-Ebene. */
.user-theme-windowsphone .notes-desktop-widget{
  --notes-accent:#29b6f6;--notes-panel:#080808;--notes-ink:#fff;--notes-muted:#c7c7c7;--notes-edge:#6e6e6e;
  --notes-wall-surface:rgba(0,0,0,.52);--notes-wall-head:rgba(0,0,0,.26);--notes-wall-card:rgba(18,18,18,.42);--notes-wall-edge:rgba(255,255,255,.15);--notes-wall-hover-edge:rgba(41,182,246,.65);--notes-wall-shadow:rgba(0,0,0,.28);
}
/* TechGrid: das Wallpaper und die Linienfarbe bleiben optisch dominant. */
body.techgrid-fui-active .notes-desktop-widget{
  --notes-wall-surface:color-mix(in srgb,var(--tg-panel-2) 34%,transparent);
  --notes-wall-head:color-mix(in srgb,var(--tg-panel-2) 20%,transparent);
  --notes-wall-card:color-mix(in srgb,var(--tg-panel-2) 31%,transparent);
  --notes-wall-edge:color-mix(in srgb,var(--tg-edge) 24%,transparent);
  --notes-wall-hover-edge:color-mix(in srgb,var(--tg-line) 62%,transparent);
  --notes-wall-shadow:color-mix(in srgb,#000 22%,transparent);
  border-color:transparent!important;
  box-shadow:none!important;
}
body.user-theme-techgrid-light .notes-desktop-widget{
  --notes-wall-surface:rgba(235,244,238,.48);--notes-wall-head:rgba(235,244,238,.25);--notes-wall-card:rgba(248,252,249,.43);--notes-wall-edge:rgba(28,84,55,.18);--notes-wall-hover-edge:rgba(28,112,73,.5);--notes-wall-shadow:rgba(20,52,35,.12);
}
body.user-theme-techgrid-matrix .notes-desktop-widget{
  --notes-wall-surface:rgba(1,20,9,.48);--notes-wall-head:rgba(1,28,12,.29);--notes-wall-card:rgba(0,30,13,.34);--notes-wall-edge:rgba(76,255,139,.18);--notes-wall-hover-edge:rgba(76,255,139,.62);--notes-wall-shadow:rgba(0,0,0,.25);
}
@media (prefers-reduced-motion:reduce){.notes-desktop-widget,.notes-desktop-widget>header>div:last-child,.notes-widget-resizer{transition:none!important}}
/* Schritt 224 – Feinabgleich: keine große Widget-Platte im Ruhezustand; nur Inhalte liegen wie Wallpaper-Overlays auf dem Desktop. */
.notes-desktop-widget{background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.notes-desktop-widget:hover,.notes-desktop-widget:focus-within{background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.notes-desktop-widget>header{background:linear-gradient(90deg,var(--notes-wall-head),transparent 72%)!important}
body.techgrid-fui-active .notes-desktop-widget,body.techgrid-fui-active .notes-desktop-widget:hover,body.techgrid-fui-active .notes-desktop-widget:focus-within{background:transparent!important;box-shadow:none!important}

/* ========================================================================== 
   v1.00.27 · Schritt 227 – verlässliche Auswahlfelder / Surface-Visibility
   ========================================================================== */
/* Admin-Auswahlfelder liegen immer oberhalb dekorativer Theme-Ebenen. */
#praetorianControlWindow :is(.check-group>label,.design-access-choice,.os-check){
  position:relative;isolation:isolate;cursor:pointer;box-sizing:border-box;
}
#praetorianControlWindow :is(.check-group>label,.design-access-choice,.os-check) :is(input[type="checkbox"],input[type="radio"]){
  position:relative!important;z-index:8!important;pointer-events:auto!important;cursor:pointer!important;opacity:1!important;
}
#praetorianControlWindow :is(.check-group>label,.design-access-choice,.os-check)>span{position:relative;z-index:2;min-width:0}
#praetorianControlWindow :is(.check-group>label,.design-access-choice):has(input[type="checkbox"]:checked),
#praetorianControlWindow :is(.check-group>label,.design-access-choice):has(input[type="radio"]:checked){
  outline:2px solid color-mix(in srgb,currentColor 38%,transparent);outline-offset:-2px;
}
#praetorianControlWindow :is(input[type="checkbox"],input[type="radio"]):focus-visible{
  outline:2px solid #1e6fff!important;outline-offset:2px!important;
}
#praetorianControlWindow .admin-choice-group{align-items:stretch}
#praetorianControlWindow .admin-choice-group>label{min-height:38px;padding:7px 10px}
#praetorianControlWindow .surface-visibility-group{grid-template-columns:repeat(2,minmax(130px,1fr))!important}
#praetorianControlWindow .surface-visibility-group>label>span{font-weight:700;letter-spacing:.025em}
#praetorianControlWindow .start-surface-choice{display:grid!important;grid-template-columns:repeat(2,minmax(220px,1fr))!important;gap:10px!important;padding:8px!important}
#praetorianControlWindow .start-surface-choice>label{display:grid!important;grid-template-columns:22px minmax(0,1fr)!important;align-items:start!important;gap:9px!important;min-height:64px!important;padding:10px!important}
#praetorianControlWindow .start-surface-choice span{display:grid;gap:4px}
#praetorianControlWindow .start-surface-choice strong{font-size:13px}
#praetorianControlWindow .start-surface-choice small{font-size:11px;line-height:1.3;opacity:.78;font-weight:400}
@media(max-width:680px){
  #praetorianControlWindow .surface-visibility-group,
  #praetorianControlWindow .start-surface-choice{grid-template-columns:1fr!important}
}

/* TechGrid: ein einziger eindeutiger Choice-Layer ersetzt die zuvor überlappenden Kompaktregeln. */
body.techgrid-fui-active #praetorianControlWindow input.tg-choice-input,
body.techgrid-module #praetorianControlWindow input.tg-choice-input{
  appearance:none!important;-webkit-appearance:none!important;display:inline-grid!important;place-items:center!important;
  width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;margin:0!important;padding:0!important;
  border:1px solid color-mix(in srgb,var(--tg-line) 72%,var(--tg-edge))!important;
  background:color-mix(in srgb,var(--tg-panel-2) 88%,black)!important;
  box-shadow:inset 0 0 0 3px color-mix(in srgb,var(--tg-panel) 88%,transparent),0 0 6px color-mix(in srgb,var(--tg-glow) 18%,transparent)!important;
  color:var(--tg-panel-2)!important;clip-path:none!important;border-radius:2px!important;overflow:visible!important;
}
body.techgrid-fui-active #praetorianControlWindow input.tg-choice-input[type="radio"],
body.techgrid-module #praetorianControlWindow input.tg-choice-input[type="radio"]{border-radius:50%!important}
body.techgrid-fui-active #praetorianControlWindow input.tg-choice-input::after,
body.techgrid-module #praetorianControlWindow input.tg-choice-input::after{
  content:"";display:grid;place-items:center;width:100%;height:100%;font:900 14px/1 Arial,sans-serif;color:var(--tg-panel-2);text-shadow:none;
}
body.techgrid-fui-active #praetorianControlWindow input.tg-choice-input[type="checkbox"]:checked,
body.techgrid-module #praetorianControlWindow input.tg-choice-input[type="checkbox"]:checked{
  background:var(--tg-line-2)!important;border-color:var(--tg-line-2)!important;box-shadow:0 0 0 1px color-mix(in srgb,var(--tg-line-2) 55%,transparent),0 0 10px var(--tg-glow)!important;
}
body.techgrid-fui-active #praetorianControlWindow input.tg-choice-input[type="checkbox"]:checked::after,
body.techgrid-module #praetorianControlWindow input.tg-choice-input[type="checkbox"]:checked::after{content:"✓"}
body.techgrid-fui-active #praetorianControlWindow input.tg-choice-input[type="radio"]:checked,
body.techgrid-module #praetorianControlWindow input.tg-choice-input[type="radio"]:checked{
  background:var(--tg-panel-2)!important;border-color:var(--tg-line-2)!important;box-shadow:inset 0 0 0 4px var(--tg-line-2),0 0 9px var(--tg-glow)!important;
}
body.techgrid-fui-active #praetorianControlWindow .check-group>label:has(input.tg-choice-input:checked),
body.techgrid-module #praetorianControlWindow .check-group>label:has(input.tg-choice-input:checked),
body.techgrid-fui-active #praetorianControlWindow .design-access-choice:has(input.tg-choice-input:checked),
body.techgrid-module #praetorianControlWindow .design-access-choice:has(input.tg-choice-input:checked){
  color:var(--tg-ink)!important;border-color:var(--tg-line-2)!important;background:color-mix(in srgb,var(--tg-line-2) 13%,var(--tg-card))!important;
  box-shadow:inset 3px 0 0 var(--tg-line-2),0 0 8px color-mix(in srgb,var(--tg-glow) 18%,transparent)!important;outline:0!important;
}
body.techgrid-fui-active #praetorianControlWindow .check-group>label,
body.techgrid-module #praetorianControlWindow .check-group>label{z-index:1!important;overflow:visible!important}
body.techgrid-fui-active #praetorianControlWindow .check-group>label:hover,
body.techgrid-module #praetorianControlWindow .check-group>label:hover{z-index:3!important}
/* TechGrid-Module wird ohne techgrid-ui.js geladen: Choice-Styling greift dort auch direkt auf native Inputs. */
body.techgrid-module #praetorianControlWindow :is(input[type="checkbox"],input[type="radio"]){
  appearance:none!important;-webkit-appearance:none!important;display:inline-grid!important;place-items:center!important;
  position:relative!important;z-index:8!important;pointer-events:auto!important;cursor:pointer!important;
  width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;margin:0!important;padding:0!important;
  border:1px solid color-mix(in srgb,var(--tg-line) 72%,var(--tg-edge))!important;background:color-mix(in srgb,var(--tg-panel-2) 88%,black)!important;color:var(--tg-panel-2)!important;
  clip-path:none!important;border-radius:2px!important;
}
body.techgrid-module #praetorianControlWindow input[type="radio"]{border-radius:50%!important}
body.techgrid-module #praetorianControlWindow input[type="checkbox"]::after{content:"";display:grid;place-items:center;width:100%;height:100%;font:900 14px/1 Arial,sans-serif;color:var(--tg-panel-2)}
body.techgrid-module #praetorianControlWindow input[type="checkbox"]:checked{background:var(--tg-line-2)!important;border-color:var(--tg-line-2)!important;box-shadow:0 0 10px var(--tg-glow)!important}
body.techgrid-module #praetorianControlWindow input[type="checkbox"]:checked::after{content:"✓"}
body.techgrid-module #praetorianControlWindow input[type="radio"]:checked{background:var(--tg-panel-2)!important;border-color:var(--tg-line-2)!important;box-shadow:inset 0 0 0 4px var(--tg-line-2),0 0 9px var(--tg-glow)!important}
/* Klassische Themes: native Controls bleiben nativ, aber groß, klar und vollständig klickbar. */
body.os-body:not(.techgrid-fui-active):not(.techgrid-module) #praetorianControlWindow :is(input[type="checkbox"],input[type="radio"]){
  width:18px;height:18px;min-width:18px;min-height:18px;margin:0 4px 0 0;vertical-align:middle;accent-color:#174bc3;cursor:pointer;
}
body.os-body:not(.techgrid-fui-active):not(.techgrid-module) #praetorianControlWindow .check-group>label:has(input:checked),
body.os-body:not(.techgrid-fui-active):not(.techgrid-module) #praetorianControlWindow .design-access-choice:has(input:checked){
  background:color-mix(in srgb,#174bc3 9%,transparent);border-color:color-mix(in srgb,#174bc3 55%,#7d8798);outline:0;
}
body.user-theme-norton:not(.techgrid-fui-active) #praetorianControlWindow :is(input[type="checkbox"],input[type="radio"]){accent-color:var(--nc-yellow)!important}
body.user-theme-windows31:not(.techgrid-fui-active) #praetorianControlWindow :is(input[type="checkbox"],input[type="radio"]){accent-color:#000080!important}
body.user-theme-windowsphone:not(.techgrid-fui-active) #praetorianControlWindow :is(input[type="checkbox"],input[type="radio"]){accent-color:#00a4ef!important}
#praetorianControlWindow :is(.check-group>label,.design-access-choice).is-choice-checked{
  outline:2px solid color-mix(in srgb,currentColor 38%,transparent);outline-offset:-2px;
}
body.techgrid-fui-active #praetorianControlWindow :is(.check-group>label,.design-access-choice).is-choice-checked,
body.techgrid-module #praetorianControlWindow :is(.check-group>label,.design-access-choice).is-choice-checked{
  outline:0!important;border-color:var(--tg-line-2)!important;background:color-mix(in srgb,var(--tg-line-2) 13%,var(--tg-card))!important;box-shadow:inset 3px 0 0 var(--tg-line-2),0 0 8px color-mix(in srgb,var(--tg-glow) 18%,transparent)!important;
}
/* Schritt 227 – Abschluss: auch Auswahlfelder außerhalb der Admin-Konfiguration erhalten im TechGrid
   denselben echten Treffer-/Zustands-Layer. Das beseitigt Deko-Überlagerungen in INFOBOXEN und QR. */
body.techgrid-fui-active :is(.tg-widget-checks>label,.qr-checkbox),
body.techgrid-module :is(.tg-widget-checks>label,.qr-checkbox){
  position:relative!important;isolation:isolate!important;z-index:2!important;overflow:visible!important;cursor:pointer!important;pointer-events:auto!important;
}
body.techgrid-fui-active :is(.tg-widget-checks>label,.qr-checkbox)>:is(input[type="checkbox"],input[type="radio"]),
body.techgrid-module :is(.tg-widget-checks>label,.qr-checkbox)>:is(input[type="checkbox"],input[type="radio"]){
  appearance:none!important;-webkit-appearance:none!important;display:inline-grid!important;place-items:center!important;
  position:relative!important;z-index:9!important;pointer-events:auto!important;cursor:pointer!important;opacity:1!important;
  width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;margin:0!important;padding:0!important;
  border:1px solid color-mix(in srgb,var(--tg-line) 72%,var(--tg-edge))!important;
  background:color-mix(in srgb,var(--tg-panel-2) 88%,black)!important;color:var(--tg-panel-2)!important;
  clip-path:none!important;border-radius:2px!important;box-shadow:inset 0 0 0 3px color-mix(in srgb,var(--tg-panel) 88%,transparent)!important;
}
body.techgrid-fui-active :is(.tg-widget-checks>label,.qr-checkbox)>input[type="checkbox"]::after,
body.techgrid-module :is(.tg-widget-checks>label,.qr-checkbox)>input[type="checkbox"]::after{
  content:"";display:grid;place-items:center;width:100%;height:100%;font:900 14px/1 Arial,sans-serif;color:var(--tg-panel-2)!important;
}
body.techgrid-fui-active :is(.tg-widget-checks>label,.qr-checkbox)>input[type="checkbox"]:checked,
body.techgrid-module :is(.tg-widget-checks>label,.qr-checkbox)>input[type="checkbox"]:checked{
  background:var(--tg-line-2)!important;border-color:var(--tg-line-2)!important;box-shadow:0 0 0 1px color-mix(in srgb,var(--tg-line-2) 55%,transparent),0 0 10px var(--tg-glow)!important;
}
body.techgrid-fui-active :is(.tg-widget-checks>label,.qr-checkbox)>input[type="checkbox"]:checked::after,
body.techgrid-module :is(.tg-widget-checks>label,.qr-checkbox)>input[type="checkbox"]:checked::after{content:"✓"}
body.techgrid-fui-active :is(.tg-widget-checks>label,.qr-checkbox):has(input:checked),
body.techgrid-module :is(.tg-widget-checks>label,.qr-checkbox):has(input:checked){
  border-color:color-mix(in srgb,var(--tg-line-2) 52%,var(--tg-edge))!important;background:color-mix(in srgb,var(--tg-line-2) 9%,var(--tg-card))!important;
}

/* ========================================================================== */
/* v1.00.27 / Schritt 227 – universeller finaler Choice-Layer                */
/* ========================================================================== */
:root{
  --choice-bg:#f8fbff;--choice-edge:#657189;--choice-on:#153bcb;--choice-check:#fff;
  --choice-label-on:rgba(21,59,203,.08);--choice-label-edge:rgba(37,55,90,.18);
}
body.user-theme-norton{--choice-bg:#000;--choice-edge:#00ffff;--choice-on:#ffff00;--choice-check:#000;--choice-label-on:rgba(255,255,0,.12);--choice-label-edge:rgba(0,255,255,.48)}
body.user-theme-windows31{--choice-bg:#fff;--choice-edge:#000080;--choice-on:#000080;--choice-check:#fff;--choice-label-on:rgba(0,0,128,.09);--choice-label-edge:rgba(0,0,128,.35)}
body.user-theme-windowsphone{--choice-bg:#111;--choice-edge:#8d8d8d;--choice-on:#00a4ef;--choice-check:#fff;--choice-label-on:rgba(0,164,239,.16);--choice-label-edge:rgba(0,164,239,.4)}
body[class*="user-theme-techgrid-"]{--choice-bg:color-mix(in srgb,var(--tg-panel-2) 94%,#000);--choice-edge:var(--tg-edge);--choice-on:var(--tg-line);--choice-check:var(--tg-bg);--choice-label-on:color-mix(in srgb,var(--tg-line) 11%,transparent);--choice-label-edge:color-mix(in srgb,var(--tg-edge) 68%,transparent)}
body.user-theme-techgrid-light{--choice-check:#fff}

body.os-body :is(.check-group>label,label.os-check,.design-access-choice,.tg-widget-checks>label,.qr-checkbox){
  position:relative!important;isolation:isolate!important;z-index:2!important;min-width:0;box-sizing:border-box;cursor:pointer!important;pointer-events:auto!important;
}
body.os-body :is(.check-group>label,label.os-check,.design-access-choice,.tg-widget-checks>label,.qr-checkbox):has(input:checked),
body.os-body :is(.check-group>label,label.os-check,.design-access-choice,.tg-widget-checks>label,.qr-checkbox).is-choice-checked{
  background:var(--choice-label-on)!important;border-color:var(--choice-label-edge)!important;
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--choice-on) 12%,transparent)!important;
}
body.os-body :is(.check-group,label.os-check,.design-access-choice,.tg-widget-checks,.qr-checkbox) :is(input[type="checkbox"],input[type="radio"]){
  -webkit-appearance:none!important;appearance:none!important;box-sizing:border-box!important;
  display:inline-block!important;position:relative!important;z-index:9!important;pointer-events:auto!important;cursor:pointer!important;opacity:1!important;
  width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;max-width:18px!important;max-height:18px!important;
  flex:0 0 18px!important;margin:0!important;padding:0!important;overflow:hidden!important;clip-path:none!important;
  background:var(--choice-bg)!important;border:2px solid var(--choice-edge)!important;box-shadow:none!important;
  vertical-align:middle!important;background-repeat:no-repeat!important;background-position:center!important;background-size:13px 13px!important;
}
body.os-body :is(.check-group,label.os-check,.design-access-choice,.tg-widget-checks,.qr-checkbox) input[type="checkbox"]{border-radius:3px!important}
body.os-body :is(.check-group,label.os-check,.design-access-choice,.tg-widget-checks,.qr-checkbox) input[type="radio"]{border-radius:50%!important}
body.os-body :is(.check-group,label.os-check,.design-access-choice,.tg-widget-checks,.qr-checkbox) input[type="checkbox"]:checked{
  background-color:var(--choice-on)!important;border-color:var(--choice-on)!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l3.4 3.4L16 5.8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
}
body.user-theme-norton :is(.check-group,label.os-check,.design-access-choice,.tg-widget-checks,.qr-checkbox) input[type="checkbox"]:checked{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l3.4 3.4L16 5.8' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
}
body.os-body :is(.check-group,label.os-check,.design-access-choice,.tg-widget-checks,.qr-checkbox) input[type="radio"]:checked{
  background:radial-gradient(circle,var(--choice-check) 0 34%,transparent 38%),var(--choice-on)!important;border-color:var(--choice-on)!important;
}
body.os-body :is(.check-group,label.os-check,.design-access-choice,.tg-widget-checks,.qr-checkbox) :is(input[type="checkbox"],input[type="radio"]):focus-visible{
  outline:2px solid var(--choice-on)!important;outline-offset:2px!important;
}
body.os-body :is(.check-group,label.os-check,.design-access-choice,.tg-widget-checks,.qr-checkbox) :is(input[type="checkbox"],input[type="radio"]):disabled{
  opacity:.5!important;cursor:not-allowed!important;
}
/* Schritt 227 – TechGrid-Hochspezifitätsabschluss gegen alte Kompaktregeln (15 px / Vollflächen-Checked). */
body.os-body.techgrid-fui-active .win95.tg-hex-window :is(.check-group,.os-check,.design-access-choice,.tg-widget-checks,.qr-checkbox) input.tg-choice-input[type="checkbox"],
body.os-body.techgrid-fui-active .win95.tg-hex-window :is(.check-group,.os-check,.design-access-choice,.tg-widget-checks,.qr-checkbox) input.tg-choice-input[type="radio"],
body.os-body.techgrid-fui-active .win95.tg-hex-window :is(.check-group,.os-check,.design-access-choice,.tg-widget-checks,.qr-checkbox) input[type="checkbox"],
body.os-body.techgrid-fui-active .win95.tg-hex-window :is(.check-group,.os-check,.design-access-choice,.tg-widget-checks,.qr-checkbox) input[type="radio"]{
  width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;max-width:18px!important;max-height:18px!important;flex:0 0 18px!important;
  clip-path:none!important;position:relative!important;z-index:9!important;pointer-events:auto!important;opacity:1!important;
  background:var(--choice-bg)!important;border:2px solid var(--choice-edge)!important;box-shadow:none!important;
}
body.os-body.techgrid-fui-active .win95.tg-hex-window :is(.check-group,.os-check,.design-access-choice,.tg-widget-checks,.qr-checkbox) input.tg-choice-input[type="checkbox"]:checked,
body.os-body.techgrid-fui-active .win95.tg-hex-window :is(.check-group,.os-check,.design-access-choice,.tg-widget-checks,.qr-checkbox) input[type="checkbox"]:checked{
  background-color:var(--choice-on)!important;border-color:var(--choice-on)!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l3.4 3.4L16 5.8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;background-position:center!important;background-size:13px 13px!important;box-shadow:0 0 8px color-mix(in srgb,var(--tg-glow) 30%,transparent)!important;
}
body.user-theme-norton.os-body.techgrid-fui-active .win95.tg-hex-window :is(.check-group,.os-check,.design-access-choice,.tg-widget-checks,.qr-checkbox) input[type="checkbox"]:checked{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l3.4 3.4L16 5.8' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
}
body.os-body.techgrid-fui-active .win95.tg-hex-window :is(.check-group,.os-check,.design-access-choice,.tg-widget-checks,.qr-checkbox) input.tg-choice-input[type="radio"]:checked,
body.os-body.techgrid-fui-active .win95.tg-hex-window :is(.check-group,.os-check,.design-access-choice,.tg-widget-checks,.qr-checkbox) input[type="radio"]:checked{
  background:radial-gradient(circle,var(--choice-check) 0 34%,transparent 38%),var(--choice-on)!important;border-color:var(--choice-on)!important;box-shadow:0 0 8px color-mix(in srgb,var(--tg-glow) 30%,transparent)!important;
}


/* Schritt 227 – letzter Choice-Commit: alte TechGrid-ID-Regeln dürfen den sichtbaren Haken nicht mehr überstimmen. */
body.os-body.techgrid-fui-active #praetorianControlWindow :is(.check-group,.os-check,.design-access-choice) input.tg-choice-input[type="checkbox"]:checked,
body.os-body.techgrid-fui-active #praetorianControlWindow :is(.check-group,.os-check,.design-access-choice) input[type="checkbox"]:checked,
body.techgrid-module #praetorianControlWindow :is(.check-group,.os-check,.design-access-choice) input[type="checkbox"]:checked{
  background-color:var(--choice-on)!important;
  border-color:var(--choice-on)!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l3.4 3.4L16 5.8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;background-position:center!important;background-size:13px 13px!important;
}
body.os-body.techgrid-fui-active #praetorianControlWindow :is(.check-group,.os-check,.design-access-choice) input.tg-choice-input[type="radio"]:checked,
body.os-body.techgrid-fui-active #praetorianControlWindow :is(.check-group,.os-check,.design-access-choice) input[type="radio"]:checked,
body.techgrid-module #praetorianControlWindow :is(.check-group,.os-check,.design-access-choice) input[type="radio"]:checked{
  background:radial-gradient(circle,var(--choice-check) 0 34%,transparent 38%),var(--choice-on)!important;
  border-color:var(--choice-on)!important;
}


/* v1.00.28 / Schritt 228 – sichere Policy-Aktualisierung ohne Entwurfsverlust */
.mkl-policy-refresh-notice{
  position:fixed;right:18px;bottom:52px;z-index:2147482500;width:min(390px,calc(100vw - 36px));box-sizing:border-box;
  padding:11px 13px;border:1px solid rgba(87,210,255,.7);background:rgba(8,16,24,.94);color:#f4fbff;
  box-shadow:0 14px 34px rgba(0,0,0,.38),0 0 18px rgba(66,190,255,.18);backdrop-filter:blur(8px);
  font:12px/1.35 system-ui,-apple-system,"Segoe UI",sans-serif;pointer-events:none;
}
.mkl-policy-refresh-notice strong{display:block;margin-bottom:3px;font:700 11px/1.2 Consolas,monospace;letter-spacing:.12em;color:#62dcff}
.mkl-policy-refresh-notice span{display:block;opacity:.9}
body[class*="user-theme-techgrid-"] .mkl-policy-refresh-notice{background:var(--tg-panel-2);color:var(--tg-ink);border-color:var(--tg-edge);box-shadow:var(--tg-shadow)}
body[class*="user-theme-techgrid-"] .mkl-policy-refresh-notice strong{color:var(--tg-line-2)}
body.user-theme-norton .mkl-policy-refresh-notice{background:#000;color:#fff;border:2px solid #00ffff;box-shadow:4px 4px 0 #000}
body.user-theme-norton .mkl-policy-refresh-notice strong{color:#ffff00}
body.user-theme-windows31 .mkl-policy-refresh-notice{background:#c0c0c0;color:#000;border:2px outset #fff;box-shadow:2px 2px 0 #000}
body.user-theme-windows31 .mkl-policy-refresh-notice strong{color:#000080}
body.user-theme-windowsphone .mkl-policy-refresh-notice{background:#111;color:#fff;border:1px solid currentColor;box-shadow:none}
body.user-theme-windowsphone .mkl-policy-refresh-notice strong{color:#00b7c3}
@media(max-width:640px){.mkl-policy-refresh-notice{right:10px;bottom:46px;width:calc(100vw - 20px);padding:9px 10px}}


/* ==========================================================================
   v1.00.33 · Schritt 233 – Tools/Config, Handbuch und Scrollflächen
   ========================================================================== */
.os-handbook-window>.win-body{display:flex!important;flex-direction:column!important;min-width:0!important;min-height:0!important}
.handbook-toolbar{flex:0 0 auto!important;min-width:0!important;gap:8px!important;padding:7px 9px!important}
.handbook-toolbar-copy{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:4px 8px!important}
.handbook-toolbar-copy strong{flex:1 1 220px!important}
.handbook-search-label{min-width:0!important;flex:1 1 260px!important;justify-content:flex-end!important}
.handbook-search-control{display:flex!important;min-width:0!important;flex:1 1 220px!important;max-width:360px!important}
.handbook-search-control input{width:100%!important;min-width:0!important}
.handbook-search-clear{flex:0 0 28px!important;width:28px!important;min-width:28px!important;height:28px!important;min-height:28px!important;padding:0!important}
.handbook-layout{flex:1 1 auto!important;height:auto!important;min-height:0!important;min-width:0!important;overflow:hidden!important}
.handbook-index{min-width:0!important;padding:6px!important}
.handbook-index button{min-height:0!important;padding:5px 6px!important;font-size:11px!important;line-height:1.25!important;white-space:normal!important;overflow-wrap:anywhere!important}
.handbook-content{min-width:0!important;min-height:0!important;padding:9px!important}
.handbook-cover{padding:12px 14px!important;margin-bottom:10px!important;gap:11px!important}
.handbook-cover-mark{width:44px!important;height:44px!important;font-size:29px!important}
.handbook-cover strong{font-size:16px!important}
.handbook-section{margin-bottom:9px!important}
.handbook-section h2{margin:0!important;padding:0!important;background:transparent!important}
.handbook-section-toggle{width:100%!important;min-width:0!important;display:grid!important;grid-template-columns:28px minmax(0,1fr) 22px!important;align-items:center!important;gap:7px!important;text-align:left!important;padding:7px 8px!important;border:0!important;background:#345c7e!important;color:#fff!important;cursor:pointer!important}
.handbook-section-toggle>span{display:grid!important;place-items:center!important;min-width:24px!important;height:20px!important;background:rgba(0,0,0,.2)!important;font:700 10px/1 "Courier New",monospace!important}
.handbook-section-toggle>strong{min-width:0!important;overflow-wrap:anywhere!important;font:700 13px/1.2 Tahoma,Verdana,Arial,sans-serif!important}
.handbook-section-toggle>b{display:grid!important;place-items:center!important;font:700 16px/1 Arial!important}
.handbook-section-body{padding-top:7px!important}
.handbook-entry{padding:8px 9px!important}
.handbook-entry-head{align-items:flex-start!important;flex-wrap:wrap!important}
.handbook-entry-head span{margin-left:auto!important}
.handbook-top{padding:3px 0!important;min-height:0!important}
.handbook-status{position:static!important;flex:0 0 auto!important;min-width:0!important;flex-wrap:wrap!important;padding:4px 7px!important}
.handbook-status span{min-width:0!important;overflow-wrap:anywhere!important}
@media(max-width:760px){
  .handbook-toolbar{display:grid!important;grid-template-columns:1fr!important}
  .handbook-search-label{display:grid!important;grid-template-columns:1fr!important;justify-items:stretch!important}
  .handbook-search-control{max-width:none!important;width:100%!important}
  .handbook-layout{display:flex!important;flex-direction:column!important}
  .handbook-index{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px!important;overflow-y:auto!important;overflow-x:hidden!important;max-height:124px!important;border-right:0!important;border-bottom:2px groove #eef2f6!important}
  .handbook-index button{width:100%!important;display:grid!important;grid-template-columns:23px minmax(0,1fr)!important;white-space:normal!important}
  .handbook-content{flex:1 1 auto!important}
}
@media(max-width:460px){
  .handbook-index{grid-template-columns:1fr!important;max-height:108px!important}
  .handbook-toolbar-copy>span{display:none!important}
  .handbook-realm-badge{display:inline-block!important}
  .handbook-cover{display:none!important}
  .handbook-entry-head span{margin-left:0!important}
}
.user-theme-norton .handbook-section-toggle{background:var(--nc-cyan)!important;color:#000!important}
.user-theme-windows31 .handbook-section-toggle{background:var(--w31-blue)!important;color:#fff!important}

/* Einheitlicher Scrollvertrag: normale Fensterinhalte vertikal erreichbar, Spezialflächen behalten eigene Scroller. */
body.os-body .win95.win-managed>.win-body{min-width:0!important;min-height:0!important;overscroll-behavior:contain}
body.os-body .win95.win-managed>.win-body:not(.tg-module-stage):not(.chat-body):not(:has(.sim-shell)):not(:has(.netchat-stage)){overflow-y:auto!important;overflow-x:hidden!important;scrollbar-gutter:stable}
body.os-body .win95.win-managed :is(.inner-pad,.prae-content,.admin-grid,.portal-grid,.table-scroll,.audit-log-scroll,.handbook-content,.handbook-index,.secure-mail-folders,.secure-mail-list,.secure-mail-reader,.chat-message-list,.netchat-messages,.sim-shell-output,.bndx-code,.bndx-remote-shell,.pizza-browser-body,.tg-widget-form-scroll,.tg-widget-library,.tg-note-paper){min-height:0!important;overscroll-behavior:contain;scrollbar-gutter:stable}
body.os-body .win95.win-managed :is(.inner-pad,.prae-content,.admin-grid,.portal-grid){max-width:100%!important;overflow-y:auto;overflow-x:hidden}
body.os-body .win95.win-managed .table-scroll{max-width:100%!important;overflow:auto!important}
body.os-body .gate-app-window>.win-body.tg-module-stage{overflow:hidden!important;min-height:0!important}
body.os-body .gate-app-window .gate-app-frame{min-width:0!important;min-height:0!important;max-width:100%!important;overscroll-behavior:contain!important}
@media(max-width:640px),(max-height:560px){
  body.os-body .win95.win-managed{max-width:calc(100vw - 10px)!important;max-height:calc(100dvh - 70px)!important}
  body.os-body .win95.win-managed>.win-body{max-width:100%!important}
  body.os-body .win95.win-managed :is(.admin-actions,.secure-mail-reader-actions,.secure-mail-compose-actions,.bank-camera-actions){flex-wrap:wrap!important}
  body.os-body .win95.win-managed :is(.admin-actions,.secure-mail-reader-actions,.secure-mail-compose-actions,.bank-camera-actions)>*{max-width:100%!important}
}

/* ========================================================================== 
   v1.00.34 · Schritt 234 – globale Select-Ebene / überlagerungsfreie Optionen
   ========================================================================== */
body.techgrid-fui-active .tg-select-list.tg-select-portal,
body.techgrid-module .tg-select-list.tg-select-portal,
body.techgrid-hex-embedded .tg-select-list.tg-select-portal{
  position:fixed!important;right:auto!important;bottom:auto!important;
  z-index:2147483640!important;isolation:isolate!important;
  overflow-x:hidden!important;overflow-y:auto!important;
  overscroll-behavior:contain!important;contain:paint!important;
}
body.techgrid-fui-active .tg-select-list.tg-select-portal .tg-select-option,
body.techgrid-module .tg-select-list.tg-select-portal .tg-select-option,
body.techgrid-hex-embedded .tg-select-list.tg-select-portal .tg-select-option{
  position:relative!important;z-index:1!important;min-width:0!important;max-width:100%!important;
}

/* ========================================================================== 
   v1.00.34 · Schritt 234 – Fenster-/Control-Audit: Reflow, Popover und Klickflächen
   ========================================================================== */
/* Bedienleisten brechen um. Seitliches Scrollen bleibt nur dort erhalten, wo der Inhalt
   fachlich wirklich breit ist (Tabellen/Code/Datenmatrizen), nicht für Buttons und Felder. */
body.techgrid-fui-active .win95.tg-hex-window .tg-flow-rail{
  flex-wrap:wrap!important;overflow-x:visible!important;overflow-y:visible!important;scroll-snap-type:none!important;
}
body.techgrid-fui-active .win95.tg-hex-window .tg-flow-rail>*{min-width:0!important;max-width:100%!important;scroll-snap-align:none!important}
body.techgrid-fui-active .win95.tg-hex-window :is(.toolbar,.controls,.admin-actions,.secure-mail-toolbar,.secure-mail-reader-actions,.secure-mail-compose-actions,.record-controls,.trace-controls,.chat-compose,.bank-camera-actions,.notes-category-head-actions){
  min-width:0!important;max-width:100%!important;box-sizing:border-box!important;
}
body.techgrid-fui-active .win95.tg-hex-window :is(.toolbar,.admin-actions,.secure-mail-toolbar,.secure-mail-reader-actions,.secure-mail-compose-actions,.chat-compose,.bank-camera-actions,.notes-category-head-actions){
  flex-wrap:wrap!important;
}
body.techgrid-fui-active .win95.tg-hex-window :is(input:not([type="checkbox"]):not([type="radio"]),textarea,.tg-select-shell,.tg-select-trigger){min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
body.techgrid-fui-active .win95.tg-hex-window :is(button,.os-btn,.tg-flow-action){max-width:100%!important;white-space:normal!important;overflow-wrap:break-word!important}

/* Portaled Selectlisten besitzen eine eigene Viewport-Ebene. Alte left/right/top-Regeln
   der eingebetteten Selectdarstellung dürfen die dynamisch berechnete Position nicht erben. */
body.techgrid-fui-active .tg-select-list.tg-select-portal,
body.techgrid-module .tg-select-list.tg-select-portal,
body.techgrid-hex-embedded .tg-select-list.tg-select-portal{
  left:auto;right:auto;top:auto;bottom:auto;pointer-events:auto!important;
  min-width:120px!important;box-sizing:border-box!important;
}
body.techgrid-fui-active .tg-select-list.tg-select-portal .tg-select-option,
body.techgrid-module .tg-select-list.tg-select-portal .tg-select-option,
body.techgrid-hex-embedded .tg-select-list.tg-select-portal .tg-select-option{
  height:auto!important;min-height:31px!important;line-height:1.28!important;
  text-overflow:clip!important;white-space:normal!important;overflow-wrap:anywhere!important;
}

/* Infobox-Setup reagiert auf die tatsächliche Fenstergröße, nicht nur auf die Browserbreite. */
body.techgrid-fui-active .tg-widget-setup-window.tg-window-compact,
body.techgrid-fui-active .tg-widget-setup-window.tg-window-micro{min-width:0!important}
body.techgrid-fui-active .tg-widget-setup-window.tg-window-compact .tg-widget-setup,
body.techgrid-fui-active .tg-widget-setup-window.tg-window-micro .tg-widget-setup{
  grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto minmax(0,1fr)!important;
}
body.techgrid-fui-active .tg-widget-setup-window.tg-window-compact .tg-widget-setup>aside,
body.techgrid-fui-active .tg-widget-setup-window.tg-window-micro .tg-widget-setup>aside{
  grid-template-columns:auto minmax(0,1fr)!important;grid-template-rows:auto auto!important;max-height:150px!important;
  padding:8px!important;border-right:0!important;border-bottom:1px solid var(--tg-edge)!important;
}
body.techgrid-fui-active .tg-widget-setup-window.tg-window-compact .tg-widget-library,
body.techgrid-fui-active .tg-widget-setup-window.tg-window-micro .tg-widget-library{
  grid-column:1/-1!important;grid-auto-flow:row!important;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important;
  overflow-x:hidden!important;overflow-y:auto!important;max-height:78px!important;
}
body.techgrid-fui-active .tg-widget-setup-window.tg-window-compact .tg-widget-form-grid,
body.techgrid-fui-active .tg-widget-setup-window.tg-window-compact .tg-widget-checks,
body.techgrid-fui-active .tg-widget-setup-window.tg-window-micro .tg-widget-form-grid,
body.techgrid-fui-active .tg-widget-setup-window.tg-window-micro .tg-widget-checks{grid-template-columns:minmax(0,1fr)!important}
body.techgrid-fui-active .tg-widget-setup-window.tg-window-compact .tg-widget-setup form>footer,
body.techgrid-fui-active .tg-widget-setup-window.tg-window-micro .tg-widget-setup form>footer{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:stretch!important;
}
body.techgrid-fui-active .tg-widget-setup-window.tg-window-compact .tg-widget-setup form>footer>* ,
body.techgrid-fui-active .tg-widget-setup-window.tg-window-micro .tg-widget-setup form>footer>*{min-width:0!important;max-width:100%!important}
body.techgrid-fui-active .tg-widget-setup-window.tg-window-compact .tg-widget-setup form>footer span,
body.techgrid-fui-active .tg-widget-setup-window.tg-window-micro .tg-widget-setup form>footer span{display:none!important}

/* Persönliche Rich-Text-Wabe: Werkzeugleiste darf auf mehrere Zeilen gehen. Dadurch werden
   Emoji-Auswahl und alle Buttons vollständig sichtbar statt von einem Overflow-Container gekappt. */
body.techgrid-fui-active .tg-note-commanddeck{
  flex-wrap:wrap!important;overflow:visible!important;max-height:none!important;align-content:flex-start!important;
}
body.techgrid-fui-active .tg-note-commandgroup{min-width:0!important;flex-wrap:wrap!important}
body.techgrid-fui-active .tg-note-color{min-width:min(150px,100%)!important;max-width:100%!important}
body.techgrid-fui-active .tg-note-emoji>div{
  z-index:2140!important;max-width:min(240px,calc(100vw - 28px))!important;max-height:min(230px,50dvh)!important;overflow:auto!important;
}

/* Notes-App: Popover/Dialog bleiben im nutzbaren Fensterbereich und erhalten einen eigenen Scroller. */
.notes-emoji-panel{max-width:calc(100% - 12px)!important;max-height:min(220px,45dvh)!important;overflow:auto!important;box-sizing:border-box!important}
.notes-inline-dialog{overflow:auto!important;overscroll-behavior:contain!important}
.notes-inline-card{max-height:calc(100% - 16px)!important;overflow:auto!important;box-sizing:border-box!important}
.notes-inline-card>div{flex-wrap:wrap!important}

/* Same-Origin Toolmodule und Dialogfelder: keine feste Mindestbreite darf andere Controls überlagern. */
body.techgrid-hex-embedded :is(form,fieldset,label,.toolbar,.controls,.form-row,.field-row,.admin-form-row){min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
body.techgrid-hex-embedded :is(input:not([type="checkbox"]):not([type="radio"]),textarea,.tg-select-shell,.tg-select-trigger){min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
body.techgrid-hex-embedded :is(.toolbar,.controls,.secure-mail-toolbar,.secure-mail-reader-actions,.secure-mail-compose-actions,.record-controls,.trace-controls){max-width:100%!important}

@media(max-width:760px),(max-height:600px){
  body.techgrid-fui-active .tg-widget-library{grid-auto-flow:row!important;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important;overflow-x:hidden!important;overflow-y:auto!important}
  body.techgrid-fui-active .tg-note-savebar{flex-wrap:wrap!important}
  body.techgrid-fui-active .tg-note-savebar button{flex:1 1 150px!important;min-width:0!important}
  .notes-emoji-panel{left:0!important;right:auto!important;grid-template-columns:repeat(auto-fit,minmax(32px,1fr))!important}
  .notes-inline-card{width:100%!important;max-width:440px!important;padding:12px!important}
}

/* Fensterbreite statt nur Browserbreite: Navigationsleisten umbrechen auch dann, wenn ein
   Fenster auf einem großen Monitor bewusst klein gezogen wird. */
body.techgrid-fui-active .os-handbook-window.tg-window-compact .handbook-layout{display:flex!important;flex-direction:column!important}
body.techgrid-fui-active .os-handbook-window.tg-window-compact .handbook-index{
  display:grid!important;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important;gap:4px!important;
  overflow-x:hidden!important;overflow-y:auto!important;max-height:124px!important;border-right:0!important;border-bottom:1px solid var(--tg-edge)!important;
}
body.techgrid-fui-active .os-handbook-window.tg-window-compact .handbook-index button{width:100%!important;min-width:0!important}
body.techgrid-fui-active .praetorian-control-window.tg-window-compact .prae-sidebar{
  display:grid!important;grid-template-columns:repeat(auto-fit,minmax(130px,1fr))!important;overflow-x:hidden!important;overflow-y:auto!important;max-height:150px!important;scroll-snap-type:none!important;
}
body.techgrid-fui-active .praetorian-control-window.tg-window-compact .prae-sidebar>*{min-width:0!important;width:100%!important;scroll-snap-align:none!important}
body.techgrid-fui-active .record-tool-window.tg-window-compact .record-tabs{flex-wrap:wrap!important;overflow-x:visible!important}


/* MKL | 30.09.2026 – Credential-Verwaltung: Passwortanzeige und Testphasen-Reset bleiben responsiv innerhalb der PRAETORIAN-Benutzeransicht. */
.admin-password-overview{min-height:34px;padding:5px 7px;border:1px solid rgba(80,110,150,.32);background:rgba(255,255,255,.28);box-sizing:border-box}
.admin-password-overview.is-revealed .pin-eye-open{display:none}
.admin-password-overview.is-revealed .pin-eye-closed{display:inline-block}
.admin-test-password-reset{display:flex;justify-content:flex-end;gap:8px;margin-top:10px;min-width:0}
.admin-test-password-reset>.os-btn{max-width:100%;white-space:normal}
body.techgrid-fui-active .admin-password-overview{background:color-mix(in srgb,var(--tg-panel,#101923) 88%,transparent);border-color:color-mix(in srgb,var(--tg-accent,#7cf) 30%,transparent)}
body.techgrid-fui-active .prae-content.tg-micro .admin-test-password-reset{display:grid;grid-template-columns:1fr}
body.techgrid-fui-active .prae-content.tg-micro .admin-test-password-reset>.os-btn{width:auto}

/* MKL | 01.10.2026 – Verdeckte Zugangspunkte, eigenständige Vergabeansicht und kompakte Handbuchnavigation ohne horizontalen Scrollzwang. */
.pi-marker{
  position:fixed;right:18px;bottom:8px;z-index:3;
  color:rgba(255,255,255,.38);font-family:Georgia,"Times New Roman",serif;font-size:25px;line-height:1;
  padding:8px 10px;text-shadow:0 1px 3px #000;pointer-events:none;user-select:none;
}
.pi-hotspot{
  position:fixed!important;right:18px!important;bottom:8px!important;z-index:4!important;
  width:45px!important;height:41px!important;padding:0!important;margin:0!important;
  color:transparent!important;background:transparent!important;border:0!important;box-shadow:none!important;
  opacity:1!important;cursor:default!important;outline:0!important;text-decoration:none!important;
}
.pi-hotspot:hover,.pi-hotspot:focus,.pi-hotspot:active{color:transparent!important;background:transparent!important;opacity:1!important;outline:0!important;box-shadow:none!important}
.copyright-line{position:fixed!important}
.copyright-mark{display:inline-block;position:relative;z-index:1}
.copyright-access-hotspot{
  position:absolute;left:-3px;top:-5px;width:18px;height:23px;z-index:3;
  background:transparent!important;border:0!important;box-shadow:none!important;cursor:default!important;outline:0!important;text-decoration:none!important;
}
.copyright-access-hotspot:hover,.copyright-access-hotspot:focus,.copyright-access-hotspot:active{background:transparent!important;outline:0!important;box-shadow:none!important}
.home-scene .image-hotspot-link,.home-scene .image-hotspot-area{cursor:default!important;outline:0!important}
.home-scene .image-hotspot-area{fill:rgba(255,255,255,.001)!important;stroke:transparent!important}

.access-point-manager{min-width:0;overflow:hidden}
.access-point-manager-intro{max-width:100%;padding:8px 10px;margin:0 0 10px;background:rgba(255,255,255,.36);border-left:4px solid #506f8c;line-height:1.45;overflow-wrap:anywhere}
.access-point-manager-form{min-width:0}
.access-assignment-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(360px,100%),1fr));gap:10px;min-width:0}
.access-assignment-card{min-width:0;border:1px solid #aab4be;background:#eef2f5;padding:9px;display:grid;gap:9px}
.access-assignment-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;min-width:0}
.access-assignment-head>div{display:grid;gap:3px;min-width:0}
.access-assignment-head strong{font:700 12px/1.2 Tahoma,Verdana,Arial,sans-serif;color:#193a59;overflow-wrap:anywhere}
.access-assignment-head span:not(.access-status){font:11px/1.35 Tahoma,Verdana,Arial,sans-serif;color:#536879;overflow-wrap:anywhere}
.access-assignment-head .access-status{flex:0 0 auto;max-width:130px;text-align:center}
.access-assignment-controls{display:grid;grid-template-columns:minmax(150px,.8fr) minmax(180px,1fr);gap:8px;min-width:0}
.access-assignment-controls label{display:grid;gap:4px;min-width:0;font:700 10px/1.2 Arial,sans-serif;color:#3d566d;text-transform:uppercase;letter-spacing:.04em}
.access-assignment-controls label[data-access-link-field]{grid-column:2}
.access-assignment-controls .os-input{width:100%;min-width:0;box-sizing:border-box;text-transform:none;letter-spacing:normal}
.access-assignment-controls [hidden]{display:none!important}
.access-save-actions{position:sticky;bottom:0;z-index:2;margin-top:10px;padding:8px 0 2px;background:linear-gradient(to top,#d4dbe3 75%,rgba(212,219,227,0))}
@media(max-width:720px){
  .access-assignment-grid{grid-template-columns:1fr}
  .access-assignment-head{display:grid;grid-template-columns:minmax(0,1fr);gap:6px}
  .access-assignment-head .access-status{justify-self:start;max-width:100%}
  .access-assignment-controls{grid-template-columns:1fr}
  .access-assignment-controls label[data-access-link-field]{grid-column:auto}
}
.user-theme-norton .access-point-manager-intro,.user-theme-norton .access-assignment-card{background:#000090!important;color:var(--nc-white)!important;border-color:var(--nc-cyan)!important}
.user-theme-norton .access-assignment-head strong,.user-theme-norton .access-assignment-head span:not(.access-status),.user-theme-norton .access-assignment-controls label{color:var(--nc-white)!important}
.user-theme-windows31 .access-point-manager-intro,.user-theme-windows31 .access-assignment-card{background:var(--w31-gray)!important;color:#000!important;border-color:var(--w31-dark)!important}
.user-theme-windows31 .access-assignment-head strong,.user-theme-windows31 .access-assignment-head span:not(.access-status),.user-theme-windows31 .access-assignment-controls label{color:#000!important}

.os-handbook-window>.win-body{min-width:0!important;overflow:hidden!important}
.handbook-toolbar{min-width:0!important;padding:7px 9px!important;gap:9px!important}
.handbook-toolbar-copy,.handbook-search-label,.handbook-search-control{min-width:0!important}
.handbook-layout{min-width:0!important;grid-template-columns:minmax(158px,190px) minmax(0,1fr)!important}
.handbook-index{min-width:0!important;overflow-x:hidden!important;padding:5px!important;scrollbar-gutter:stable}
.handbook-index-title{padding:5px 6px!important;margin-bottom:4px!important;font-size:10px!important}
.handbook-index button{
  width:100%!important;min-width:0!important;display:grid!important;grid-template-columns:22px minmax(0,1fr)!important;
  gap:4px!important;align-items:start!important;padding:4px 5px!important;margin:0!important;
  border:0!important;border-left:2px solid transparent!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
  font:10.5px/1.22 Tahoma,Verdana,Arial,sans-serif!important;white-space:normal!important;overflow-wrap:anywhere!important;
}
.handbook-index button:hover,.handbook-index button:focus-visible{border-left-color:#506f8c!important;background:rgba(255,255,255,.28)!important;outline:0!important}
.handbook-index button>span{font-size:9px!important;line-height:1.35!important}
.handbook-content{min-width:0!important;overflow-x:hidden!important;padding:9px!important}
.handbook-entry{min-width:0!important;padding:8px 9px!important}
.handbook-section h2{margin-bottom:6px!important}
@media(max-width:760px){
  .handbook-layout{display:flex!important;flex-direction:column!important;height:calc(100% - 106px)!important}
  .handbook-index{
    flex:0 0 auto!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:3px!important;max-height:104px!important;overflow-y:auto!important;overflow-x:hidden!important;
    border-right:0!important;border-bottom:2px groove #eef2f6!important;
  }
  .handbook-index-title{display:none!important}
  .handbook-index button{grid-template-columns:18px minmax(0,1fr)!important;padding:3px 4px!important;font-size:9.5px!important}
  .handbook-content{flex:1 1 auto!important;padding:7px!important}
}
@media(max-width:520px){
  .handbook-toolbar{padding:5px 7px!important}
  .handbook-layout{height:calc(100% - 96px)!important}
  .handbook-index{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-height:96px!important}
  .handbook-index button{grid-template-columns:16px minmax(0,1fr)!important;font-size:9px!important;line-height:1.18!important}
  .handbook-index button>span{font-size:8px!important}
}
@media(max-width:340px){.handbook-index{grid-template-columns:1fr!important;max-height:88px!important}}

@container tg-work-window (max-width:620px){
  body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-index{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-content:start!important;
    gap:2px!important;max-height:112px!important;padding:4px!important;overflow-x:hidden!important;overflow-y:auto!important;
    scrollbar-width:thin!important;border-right:0!important;border-bottom:1px solid var(--tg-edge)!important;
  }
  body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-index::-webkit-scrollbar{display:block!important;width:6px!important;height:6px!important}
  body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-index button{
    width:100%!important;max-width:none!important;min-height:0!important;display:grid!important;grid-template-columns:16px minmax(0,1fr)!important;
    gap:3px!important;padding:3px 4px!important;border:0!important;border-left:2px solid transparent!important;border-radius:0!important;
    background:transparent!important;font-size:9.5px!important;line-height:1.15!important;box-shadow:none!important;text-align:left!important;
  }
  body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-index button:hover,
  body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-index button:focus-visible{
    border-left-color:var(--tg-line)!important;background:color-mix(in srgb,var(--tg-line) 9%,transparent)!important;
  }
  body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-index button>span{font-size:8px!important;line-height:1.15!important}
}
@container tg-work-window (max-width:360px){
  body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-index{grid-template-columns:1fr!important;max-height:100px!important}
}

/* MKL | 01.10.2026 – Adaptive Typografie arbeitet ohne sichtbare Zusatzleiste; Win-Body, Alert und PRAETORIAN-Hauptfläche nutzen einen gemeinsamen kollisionsfreien Sicherheitsraum. */




body.techgrid-fui-active .win95.tg-hex-window:not(.window-maximized)>:is(.win-body,.alert-content,.prae-main){left:max(7%,30px)!important}

body.techgrid-fui-active .win95.tg-hex-window.window-maximized>:is(.win-body,.alert-content,.prae-main){left:32px!important}
body.techgrid-fui-active .win95.tg-hex-window.window-maximized>.win-body{padding-left:10px!important}



body.techgrid-fui-active .win95.tg-hex-window.tg-window-low:not(.window-maximized)>:is(.win-body,.alert-content,.prae-main),
body.techgrid-fui-active .win95.tg-hex-window.tg-window-micro:not(.window-maximized)>:is(.win-body,.alert-content,.prae-main){left:27px!important}

/* MKL | 01.10.2026 – Alle internen Fensterflächen unterstützen Mausrad/Trackpad und vertikales Touch-Ziehen; Rootflächen und Spezialscroller teilen denselben Scrollvertrag, Tabellen dürfen zusätzlich horizontal bewegt werden. */
body.os-body .win95.win-managed :is(.win-body,.alert-content,.prae-main,.prae-content,.inner-pad,.table-scroll,.audit-log-scroll,.handbook-content,.handbook-index,.secure-mail-folders,.secure-mail-list,.secure-mail-reader,.chat-message-list,.netchat-messages,.sim-shell-output,.bndx-code,.bndx-remote-shell,.pizza-browser-body,.tg-widget-form-scroll,.tg-widget-library,.tg-note-paper,.tg-content-stage,.tg-fluid-scroll){-webkit-overflow-scrolling:touch;overscroll-behavior:contain;scrollbar-gutter:stable}
body.os-body .win95.win-managed :is(.win-body,.alert-content,.prae-main,.prae-content,.inner-pad,.handbook-content,.handbook-index,.secure-mail-folders,.secure-mail-list,.secure-mail-reader,.chat-message-list,.netchat-messages,.sim-shell-output,.bndx-code,.bndx-remote-shell,.pizza-browser-body,.tg-widget-form-scroll,.tg-widget-library,.tg-note-paper,.tg-content-stage,.tg-fluid-scroll){touch-action:pan-y}
body.os-body .win95.win-managed .table-scroll{touch-action:pan-x pan-y}

/* MKL | 01.10.2026 – Secure-Mail-Nachrichtenaktionen sind echte Inhaltsbreiten-Buttons: keine künstlichen Mindestbreiten, nur kompakte Innenabstände und responsiver Umbruch. */
body.mail-tool-body .secure-mail-reader-actions,body.mail-tool-body .secure-mail-compose-actions{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:3px!important;flex-wrap:wrap!important;width:auto!important}
body.mail-tool-body .secure-mail-reader-actions button,body.mail-tool-body .secure-mail-compose-actions button,body.mail-tool-body .secure-mail-toolbar button{flex:0 0 auto!important;width:fit-content!important;min-width:0!important;max-width:100%!important;min-height:22px!important;height:auto!important;padding:2px 6px!important;font-size:9.5px!important;line-height:1.1!important;white-space:nowrap!important;overflow-wrap:normal!important}
@media(max-width:340px){body.mail-tool-body .secure-mail-reader-actions button,body.mail-tool-body .secure-mail-compose-actions button,body.mail-tool-body .secure-mail-toolbar button{flex:0 1 auto!important;white-space:normal!important}}

/* MKL | 01.10.2026 – Gruppenchat-TALK bleibt auch in kleinen Fenstern einzeilig; kleinere Typografie und kompaktere Maße verhindern Umbruch ohne die Eingabezeile unnötig zu verbreitern. */
body.os-body .netchat-window .netchat-send{font-size:9.5px!important;line-height:1!important;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;letter-spacing:0!important;padding:0 6px!important;min-width:50px!important;width:50px!important;height:34px!important}
body.os-body .netchat-window.tg-window-micro .netchat-send{width:50px!important;height:32px!important;min-width:50px!important;justify-self:end!important}

/* MKL | 01.10.2026 – Mehrfach-Link-Zugangspunkte: bis zu sechs benannte Ziele je Linkpunkt; das animierte Auswahlmenü bleibt klein, unaufdringlich und greift Ziegel-, Glut- und Rottöne der Startseite auf, ohne Zieladressen offenzulegen. */
.access-link-editor{min-width:0;display:grid;gap:6px;padding:6px;border:1px solid rgba(56,74,88,.42);background:rgba(255,255,255,.2);box-sizing:border-box}.access-link-editor[hidden]{display:none!important}.access-link-editor-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.access-link-editor-head>span{font:700 10px/1.2 Tahoma,Verdana,Arial,sans-serif;letter-spacing:.04em}.access-link-add,.access-link-remove{flex:0 0 auto!important;width:auto!important;min-width:0!important;padding:3px 7px!important}.access-link-list{display:grid;gap:5px;min-width:0}.access-link-row{display:grid;grid-template-columns:minmax(110px,.72fr) minmax(180px,1.6fr) auto;gap:5px;align-items:end;min-width:0}.access-link-row[hidden]{display:none!important}.access-link-row label{min-width:0}.access-link-row input{width:100%;min-width:0;box-sizing:border-box}.access-link-remove{min-height:27px!important;font-size:15px!important;line-height:1!important}.access-link-hint{opacity:.78}@media(max-width:720px){.access-link-row{grid-template-columns:minmax(0,1fr) auto}.access-link-row label{grid-column:1}.access-link-row .access-link-remove{grid-column:2;grid-row:1/3;align-self:stretch}.access-link-editor-head{align-items:flex-start}}
.home-access-link-menu{position:fixed;z-index:2147482500;width:max-content;min-width:116px;max-width:min(208px,calc(100vw - 14px));padding:4px;border:1px solid rgba(118,70,43,.86);clip-path:polygon(5px 0,100% 0,100% calc(100% - 5px),calc(100% - 5px) 100%,0 100%,0 5px);background:linear-gradient(180deg,rgba(29,24,21,.965),rgba(11,11,10,.975));box-shadow:0 6px 18px rgba(0,0,0,.38),inset 0 0 0 1px rgba(225,143,77,.09);color:#e2b98d;transform-origin:top center;transform:scaleY(.5) translateY(-3px);opacity:0;transition:transform .16s cubic-bezier(.2,.72,.28,1),opacity .12s ease;pointer-events:none;backdrop-filter:blur(2px)}.home-access-link-menu.is-open{transform:scaleY(1) translateY(0);opacity:1;pointer-events:auto}.home-access-link-menu-title{padding:2px 5px 4px;color:#b66c3d;font:700 7.5px/1.1 Tahoma,Verdana,Arial,sans-serif;letter-spacing:.16em;text-align:center;border-bottom:1px solid rgba(168,75,47,.3)}.home-access-link-menu-list{display:grid;gap:1px;padding-top:3px}.home-access-link-menu-item{appearance:none;border:0;border-left:2px solid transparent;border-radius:1px;background:transparent;color:#ddbea0;width:100%;min-width:0;max-width:100%;padding:4px 6px;text-align:left;font:600 9.5px/1.2 Tahoma,Verdana,Arial,sans-serif;white-space:normal;overflow-wrap:anywhere;cursor:pointer;transition:background .11s ease,border-color .11s ease,color .11s ease}.home-access-link-menu-item:hover,.home-access-link-menu-item:focus-visible{outline:0;border-left-color:#c13f2f;background:linear-gradient(90deg,rgba(179,56,42,.19),rgba(223,132,58,.08));color:#ffe0bf}@media(prefers-reduced-motion:reduce){.home-access-link-menu{transition:none!important}}

body.os-body .win95.win-managed,
body.techgrid-module,
body.techgrid-hex-embedded{
  --mkl-control-h:26px;
  --mkl-control-pad-y:4px;
  --mkl-control-pad-x:8px;
  --mkl-control-font:10.5px;
}
body.os-body .win95.win-managed :is(.admin-actions,.toolbar,.controls,.secure-mail-toolbar,.secure-mail-reader-actions,.secure-mail-compose-actions,.trace-actions,.record-controls,.chat-compose,.bank-camera-actions,.duplicate-alert-actions,.easter-card-actions,.tg-note-savebar,.notes-category-head-actions),
body.techgrid-module :is(.admin-actions,.toolbar,.controls,.secure-mail-toolbar,.secure-mail-reader-actions,.secure-mail-compose-actions,.trace-actions,.record-controls,.chat-compose,.bank-camera-actions,.duplicate-alert-actions,.easter-card-actions,.tg-note-savebar,.notes-category-head-actions),
body.techgrid-hex-embedded :is(.admin-actions,.toolbar,.controls,.secure-mail-toolbar,.secure-mail-reader-actions,.secure-mail-compose-actions,.trace-actions,.record-controls,.chat-compose,.bank-camera-actions,.duplicate-alert-actions,.easter-card-actions,.tg-note-savebar,.notes-category-head-actions){
  display:flex!important;align-items:center!important;justify-content:flex-start!important;align-content:flex-start!important;
  flex-wrap:wrap!important;gap:5px!important;min-width:0!important;max-width:100%!important;overflow:visible!important;
}
body.os-body .win95.win-managed :is(button.os-btn,.admin-actions>button,.toolbar>button,.controls>button,.secure-mail-toolbar>button,.secure-mail-reader-actions>button,.secure-mail-compose-actions>button,.trace-actions>button,.record-controls>button,.chat-compose>button,.bank-camera-actions>button,.duplicate-alert-actions>button,.easter-card-actions>button,.tg-note-savebar>button,.notes-category-head-actions>button),
body.techgrid-module :is(button.os-btn,.admin-actions>button,.toolbar>button,.controls>button,.secure-mail-toolbar>button,.secure-mail-reader-actions>button,.secure-mail-compose-actions>button,.trace-actions>button,.record-controls>button,.chat-compose>button,.bank-camera-actions>button,.duplicate-alert-actions>button,.easter-card-actions>button,.tg-note-savebar>button,.notes-category-head-actions>button),
body.techgrid-hex-embedded :is(button.os-btn,.admin-actions>button,.toolbar>button,.controls>button,.secure-mail-toolbar>button,.secure-mail-reader-actions>button,.secure-mail-compose-actions>button,.trace-actions>button,.record-controls>button,.chat-compose>button,.bank-camera-actions>button,.duplicate-alert-actions>button,.easter-card-actions>button,.tg-note-savebar>button,.notes-category-head-actions>button){
  box-sizing:border-box!important;flex:0 0 auto!important;width:fit-content!important;min-width:0!important;max-width:100%!important;
  min-height:var(--mkl-control-h)!important;height:auto!important;padding:var(--mkl-control-pad-y) var(--mkl-control-pad-x)!important;
  font-size:var(--mkl-control-font)!important;line-height:1.12!important;letter-spacing:0!important;white-space:normal!important;
  overflow-wrap:normal!important;word-break:normal!important;text-align:center!important;touch-action:manipulation!important;
}
body.os-body .win95.win-managed .admin-actions>*:has(>button:only-child),
body.techgrid-module .admin-actions>*:has(>button:only-child),
body.techgrid-hex-embedded .admin-actions>*:has(>button:only-child){flex:0 0 auto!important;min-width:0!important;max-width:100%!important}
@media(max-width:520px),(max-height:500px){
  body.os-body .win95.win-managed,body.techgrid-module,body.techgrid-hex-embedded{--mkl-control-h:24px;--mkl-control-pad-y:3px;--mkl-control-pad-x:6px;--mkl-control-font:9.5px}
  body.os-body .win95.win-managed :is(button.os-btn,.admin-actions>button,.toolbar>button,.controls>button,.secure-mail-toolbar>button,.secure-mail-reader-actions>button,.secure-mail-compose-actions>button,.trace-actions>button,.record-controls>button,.chat-compose>button),
  body.techgrid-module :is(button.os-btn,.admin-actions>button,.toolbar>button,.controls>button,.secure-mail-toolbar>button,.secure-mail-reader-actions>button,.secure-mail-compose-actions>button,.trace-actions>button,.record-controls>button,.chat-compose>button),
  body.techgrid-hex-embedded :is(button.os-btn,.admin-actions>button,.toolbar>button,.controls>button,.secure-mail-toolbar>button,.secure-mail-reader-actions>button,.secure-mail-compose-actions>button,.trace-actions>button,.record-controls>button,.chat-compose>button){white-space:normal!important}
}

/* Ganze Fensterfläche = vertikaler Bildlauf. Spezialisierte Unterlisten behalten ihren eigenen Scroller; reine Rootflächen erhalten einen belastbaren Fallback. */
body.os-body .win95.win-managed:not(.gate-app-window):not(.techgrid-module-host) > :is(.win-body,.alert-content){overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior-y:contain!important;-webkit-overflow-scrolling:touch!important;touch-action:pan-y!important}
body.os-body .win95.win-managed.praetorian-control-window>.prae-main{overscroll-behavior-y:contain!important}
body.os-body .win95.win-managed :is(.prae-content,.inner-pad,.handbook-content,.handbook-index,.secure-mail-folders,.secure-mail-list,.secure-mail-reader,.chat-message-list,.netchat-messages,.sim-shell-output,.pizza-browser-body,.bndx-code,.bndx-remote-shell,.table-scroll,.audit-log-scroll,.tg-widget-form-scroll,.tg-widget-library,.tg-note-paper,.tg-content-stage,.tg-fluid-scroll){-webkit-overflow-scrolling:touch!important;overscroll-behavior-y:contain!important}
html:has(body.techgrid-hex-embedded){height:auto!important;min-height:100%!important;overflow-x:hidden!important;overflow-y:auto!important}
body.techgrid-hex-embedded{height:auto!important;min-height:100%!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior-y:contain!important;-webkit-overflow-scrolling:touch!important;touch-action:pan-y!important}
body.techgrid-hex-embedded :is(.legacy-tool,.calc-tool-shell,.qr-tool-panel,.code-guide-shell,.secure-mail-app,.trace-tool,.records-tool,.mozart-tool){max-width:100%!important;min-width:0!important}

/* MKL | 02.10.2026 – Rechnerdiagnose: Karten und Funktionszeilen bleiben auch in schmalen TechGrid-Fenstern lesbar und überlagern keine Beschriftungen. */
body.techgrid-hex-embedded .calc-main-grid{grid-template-columns:minmax(0,1fr)!important;gap:10px!important;padding-left:12px!important;padding-right:12px!important}
body.techgrid-hex-embedded .calc-sidebar{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(210px,1fr))!important;grid-template-rows:none!important;gap:8px!important;align-items:start!important}
body.techgrid-hex-embedded .calc-card{min-width:0!important;padding:10px!important;border-radius:14px!important}
body.techgrid-hex-embedded .calc-card h2{margin:0 0 6px!important;font-size:10px!important;line-height:1.1!important}
body.techgrid-hex-embedded :is(.calc-memory-row,.calc-meta-item){display:grid!important;grid-template-columns:minmax(78px,.72fr) minmax(0,1.28fr)!important;align-items:start!important;gap:6px!important;padding:6px 7px!important}
body.techgrid-hex-embedded :is(.calc-memory-row,.calc-meta-item)>span{min-width:0!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;line-height:1.2!important}
body.techgrid-hex-embedded :is(.calc-memory-row,.calc-meta-item)>b{min-width:0!important;max-width:100%!important;text-align:right!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;line-height:1.2!important}
body.techgrid-hex-embedded .calc-meta-item>b{font-size:clamp(8px,.86em,11px)!important}
@media(max-width:760px){body.techgrid-hex-embedded :is(.calc-memory-row,.calc-meta-item){grid-template-columns:minmax(70px,.62fr) minmax(0,1.38fr)!important}}
body.techgrid-hex-embedded .calc-history-list{max-height:160px!important;overflow-y:auto!important}
@media(max-width:620px){body.techgrid-hex-embedded .calc-sidebar{grid-template-columns:1fr!important}body.techgrid-hex-embedded .calc-main-grid{padding-left:7px!important;padding-right:7px!important}}


/* Kompaktkorrektur aus dem Vollfenster-Audit: lange Aktionen umbrechen statt überdehnen, Spezialcontrols bleiben handlich. */
body.os-body .password-reveal-button{box-sizing:border-box!important;width:auto!important;min-width:94px!important;max-width:94px!important;height:29px!important;min-height:29px!important;max-height:29px!important;padding:2px 5px!important;align-self:center!important;justify-self:start!important;font-size:7.5px!important;line-height:1!important;white-space:nowrap!important;overflow:hidden!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
body.os-body .win95.win-managed button.os-btn.access-link-remove{box-sizing:border-box!important;width:38px!important;min-width:38px!important;max-width:38px!important;height:28px!important;min-height:28px!important;max-height:28px!important;padding:0!important;align-self:end!important;line-height:1!important;font-size:12px!important;overflow:hidden!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
body.os-body .chat-user-button{min-height:40px!important;height:auto!important;padding:5px 7px!important;gap:2px 6px!important;line-height:1.08!important}
body.os-body .chat-user-button strong{font-size:11px!important;line-height:1.1!important}
body.os-body .chat-user-button :is(span,b,.chat-user-state){font-size:8.5px!important;line-height:1.05!important}
body.os-body .chat-user-button .chat-user-state{min-height:30px!important;padding:3px 5px!important}
@media(max-width:720px){body.os-body .access-link-row .access-link-remove{grid-column:2!important;grid-row:2!important;align-self:end!important}}
body.qr-tool-body .qr-actions{align-items:center!important;justify-content:flex-start!important}
body.qr-tool-body .qr-actions .os-btn{width:fit-content!important;max-width:100%!important;min-width:0!important;min-height:26px!important;height:auto!important;padding:4px 8px!important;font-size:10px!important;line-height:1.1!important;white-space:normal!important}
body.mozart-tool-body .moz-pi{width:42px!important;height:44px!important;min-width:42px!important;min-height:44px!important;padding:0!important;font-size:34px!important;line-height:1!important;overflow:hidden!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
body.mozart-tool-body .moz-columns button{display:inline-flex!important;width:auto!important;max-width:100%!important;min-height:24px!important;margin:3px 0!important;padding:3px 5px!important;border:1px solid color-mix(in srgb,currentColor 42%,transparent)!important;border-radius:2px!important;background:color-mix(in srgb,currentColor 7%,transparent)!important;text-decoration:none!important;font-size:11px!important;line-height:1.12!important;white-space:normal!important}
body.mozart-tool-body .moz-player button{width:fit-content!important;min-width:0!important;min-height:25px!important;padding:3px 7px!important;font-size:10px!important;line-height:1!important}
body.os-body .netchat-window .netchat-send{white-space:nowrap!important}
body.mail-tool-body :is(.secure-mail-reader-actions,.secure-mail-compose-actions,.secure-mail-toolbar) button{white-space:normal!important}

@media(max-width:620px),(max-height:520px){}
@media(max-width:620px),(max-height:520px){}


/* MKL | 01.10.2026 – Schritt 244: Echte Aktionsbuttons bleiben in sämtlichen internen Fenstern inhaltsbreit und kompakt; nur Listen-/Karten-/Keypad-Elemente dürfen bewusst flächig sein. */
body.os-body :is(.admin-actions,.security-alert-actions,.duplicate-alert-actions,.easter-card-actions,.easter-save-bar,.gate-search-line,.chat-compose,.qr-actions,.trace-actions,.record-controls,.secure-mail-toolbar,.secure-mail-reader-actions,.secure-mail-compose-actions,.gatekeeper-config-panel .admin-actions,.gatekeeper-access-panel .admin-actions,.design-access-save,.tg-widget-presets,.login-actions){
  align-items:center!important;
  justify-content:flex-start!important;
  flex-wrap:wrap!important;
}
body.os-body :is(.admin-actions,.security-alert-actions,.duplicate-alert-actions,.easter-card-actions,.easter-save-bar,.gate-search-line,.chat-compose,.qr-actions,.trace-actions,.record-controls,.secure-mail-toolbar,.secure-mail-reader-actions,.secure-mail-compose-actions,.gatekeeper-config-panel .admin-actions,.gatekeeper-access-panel .admin-actions,.design-access-save,.tg-widget-presets,.login-actions) > :is(button,.os-btn,a.os-btn,input[type="button"],input[type="submit"],input[type="reset"]),
body.os-body :is(.admin-actions,.security-alert-actions,.duplicate-alert-actions,.easter-card-actions,.easter-save-bar,.gate-search-line,.chat-compose,.gatekeeper-config-panel .admin-actions,.gatekeeper-access-panel .admin-actions,.design-access-save,.login-actions) > form,
body.os-body :is(.admin-actions,.security-alert-actions,.duplicate-alert-actions,.easter-card-actions,.easter-save-bar,.gate-search-line,.chat-compose,.gatekeeper-config-panel .admin-actions,.gatekeeper-access-panel .admin-actions,.design-access-save,.login-actions) > form > :is(button,.os-btn,input[type="submit"]){
  flex:0 0 auto!important;
  width:fit-content!important;
  min-width:0!important;
  max-width:100%!important;
}
body.os-body .win95.win-managed :is(.admin-actions,.security-alert-actions,.duplicate-alert-actions,.easter-card-actions,.easter-save-bar,.gate-search-line,.chat-compose,.trace-actions,.record-controls,.secure-mail-toolbar,.secure-mail-reader-actions,.secure-mail-compose-actions,.design-access-save) :is(button,.os-btn,a.os-btn,input[type="button"],input[type="submit"],input[type="reset"]){
  min-height:25px!important;
  height:auto!important;
  padding:4px 8px!important;
  line-height:1.12!important;
  white-space:normal!important;
  overflow-wrap:break-word!important;
}
body.os-body .win95.win-managed .chat-compose :is(button,.os-btn){white-space:nowrap!important}
body.os-body .win95.win-managed .admin-test-password-reset>.os-btn,
body.os-body .win95.win-managed .prae-content.tg-micro .admin-test-password-reset>.os-btn,
body.os-body .win95.win-managed .prae-content.tg-micro :is(.function-admin-card,.function-create-card) .admin-actions .os-btn,
body.os-body .win95.win-managed .prae-content.tg-micro :is(.easter-card-actions,.easter-save-bar) .os-btn,
body.techgrid-module #praetorianControlWindow .admin-actions>:is(.os-btn,button),
body.techgrid-module #praetorianControlWindow .admin-actions>form,
body.techgrid-module #praetorianControlWindow .admin-actions>form>.os-btn{
  width:fit-content!important;
  flex:0 0 auto!important;
}
@media(max-width:420px){
  body.os-body .win95.win-managed :is(.admin-actions,.security-alert-actions,.duplicate-alert-actions,.easter-card-actions,.easter-save-bar,.gate-search-line,.chat-compose,.qr-actions,.trace-actions,.record-controls,.secure-mail-toolbar,.secure-mail-reader-actions,.secure-mail-compose-actions,.design-access-save){gap:5px!important}
  body.os-body .win95.win-managed :is(.admin-actions,.security-alert-actions,.duplicate-alert-actions,.easter-card-actions,.easter-save-bar,.gate-search-line,.chat-compose,.qr-actions,.trace-actions,.record-controls,.secure-mail-toolbar,.secure-mail-reader-actions,.secure-mail-compose-actions,.design-access-save) :is(button,.os-btn,a.os-btn,input[type="button"],input[type="submit"],input[type="reset"]){padding:3px 6px!important;font-size:max(8px,.78em)!important}
}
body.os-body.user-theme-techgrid-amber{}
body.os-body.user-theme-techgrid-aqua{}
body.os-body.user-theme-techgrid-light{}
body.os-body.user-theme-techgrid-crimson{}
body.os-body.user-theme-techgrid-violet{}
body.os-body.user-theme-techgrid-matrix{}
@media(max-width:620px),(max-height:520px){
}


/* MKL | 01.10.2026 – Schritt 245: Interne Fenster ohne seitliches Pseudo-Bedienrad; stabile Inhaltsflächen, kompakte Controls und überlagerungsfreier Textfluss. */
body.os-body .win95.win-managed,
body.techgrid-fui-active .win95.win-managed{container-type:inline-size;}
body.os-body .win95.win-managed :is(.win-body,.alert-content,.prae-main,.prae-content,.inner-pad,.tg-content-stage),
body.techgrid-module #praetorianControlWindow :is(.prae-main,.prae-content,.inner-pad){min-width:0!important;min-height:0!important;box-sizing:border-box!important;}
body.os-body .win95.win-managed :is(.prae-content,.inner-pad,.table-scroll,.audit-log-scroll,.handbook-content,.handbook-index,.secure-mail-folders,.secure-mail-list,.secure-mail-reader,.chat-message-list,.netchat-messages,.sim-shell-output,.pizza-browser-body,.bndx-code,.bndx-remote-shell,.tg-widget-form-scroll,.tg-widget-library,.tg-note-paper),
body.techgrid-module #praetorianControlWindow .prae-content{overflow:auto!important;overscroll-behavior:contain!important;scrollbar-gutter:stable!important;}

/* Aktionsbuttons: inhaltsbreit statt Balken, kontrollierter Umbruch, keine Überlagerung. */
body.os-body .win95.win-managed :is(.admin-actions,.security-alert-actions,.duplicate-alert-actions,.easter-card-actions,.easter-save-bar,.gate-search-line,.chat-compose,.qr-actions,.trace-actions,.record-controls,.secure-mail-toolbar,.secure-mail-reader-actions,.secure-mail-compose-actions,.design-access-save,.pizza-browser-row) > :is(button,.os-btn,a.os-btn,input[type="button"],input[type="submit"],input[type="reset"]),
body.techgrid-module #praetorianControlWindow .admin-actions > :is(button,.os-btn,a.os-btn,input[type="button"],input[type="submit"],input[type="reset"]){
  flex:0 1 auto!important;width:auto!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:27px!important;max-height:none!important;
  padding:4px 8px!important;box-sizing:border-box!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;line-height:1.15!important;text-align:center!important;
}
body.os-body .win95.win-managed :is(.admin-actions,.security-alert-actions,.duplicate-alert-actions,.easter-card-actions,.easter-save-bar,.gate-search-line,.chat-compose,.qr-actions,.trace-actions,.record-controls,.secure-mail-toolbar,.secure-mail-reader-actions,.secure-mail-compose-actions,.design-access-save,.pizza-browser-row),
body.techgrid-module #praetorianControlWindow .admin-actions{min-width:0!important;max-width:100%!important;flex-wrap:wrap!important;gap:6px!important;align-items:center!important;}
body.os-body .win95.win-managed :is(.portal-item,.table-frame,.info-frame,.admin-details,.retro-fieldset,.chat-card,.function-admin-card,.file-admin-card,.link-admin-card,.design-admin-card) :is(strong,span,label,p,small,td,th,summary),
body.techgrid-module #praetorianControlWindow :is(.table-frame,.info-frame,.admin-details,.retro-fieldset,.chat-card) :is(strong,span,label,p,small,td,th,summary){min-width:0!important;max-width:100%!important;overflow-wrap:anywhere!important;word-break:normal!important;}

/* PRAETORIAN-Module: Users/PINs und Chat Config müssen unmittelbar sichtbaren, scrollbaren Inhalt liefern. */
body.techgrid-module #praetorianControlWindow,
body.techgrid-module #praetorianControlWindow>.prae-main,
body.techgrid-module #praetorianControlWindow .prae-content{visibility:visible!important;opacity:1!important;}
body.techgrid-module #praetorianControlWindow .prae-content{display:block!important;width:100%!important;height:100%!important;background:var(--tg-panel)!important;}
body.techgrid-module #praetorianControlWindow .inner-pad{display:block!important;width:100%!important;min-height:100%!important;background:transparent!important;}
body.techgrid-module[data-prae-view="users"] :is(.table-frame,.user-overview-scroll,.user-editor-card),
body.techgrid-module[data-prae-view="chat"] :is(.table-frame,.chat-admin-summary,.chat-user-grid){visibility:visible!important;opacity:1!important;}

/* Pizza.Net: eine einzige stabile Scrollfläche; keine Blur-/Transform-/Lichtanimationen, die beim Resize/Scrollen flackern. */
body.os-body .pizza-net-window>.win-body{overflow:hidden!important;}
body.os-body .pizza-net-window .pizza-browser{height:100%!important;min-height:0!important;display:flex!important;flex-direction:column!important;}
body.os-body .pizza-net-window .pizza-browser-body{position:relative!important;flex:1 1 auto!important;min-height:0!important;overflow:auto!important;contain:layout paint!important;transform:none!important;filter:none!important;backface-visibility:hidden!important;}
body.os-body .pizza-net-window .pizza-sequence-page{height:auto!important;min-height:100%!important;overflow:visible!important;animation:none!important;transform:none!important;filter:none!important;contain:layout!important;}
body.os-body .pizza-net-window .pizza-cinema-atmosphere *{animation:none!important;transform:none!important;filter:none!important;}
body.os-body .pizza-net-window :is(.pizza-menu-film,.pizza-address-film,.pizza-transmit-screen,.pizza-order-screen,.pizza-order-grid,.pizza-order-panel){min-width:0!important;max-width:100%!important;box-sizing:border-box!important;}
body.os-body .pizza-net-window .pizza-order-panel{overflow:visible!important;height:auto!important;}
body.os-body .pizza-net-window .pizza-order-grid{height:auto!important;align-items:start!important;}
@container (max-width:620px){
  body.os-body .pizza-net-window .pizza-browser-row,body.os-body .pizza-net-window .pizza-browser-row-bottom{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  body.os-body .pizza-net-window .pizza-browser-row-bottom .pizza-url-label,body.os-body .pizza-net-window .pizza-browser-row-bottom .pizza-address{grid-column:1/-1!important;}
  body.os-body .pizza-net-window .pizza-order-grid{grid-template-columns:1fr!important;}
}


/* MKL | 01.10.2026 – Schritt 246: Interne Fenster werden aus Nutzersicht konsolidiert: keine seitliche Typografie-Leiste, kompakte Aktionsbuttons ohne Wortzerhackung und ein lesbares Handbuch-Inhaltsverzeichnis. */


body.os-body .win95.win-managed :is(button.os-btn,a.os-btn,input.os-btn,.admin-actions>button,.admin-actions>a,.toolbar>button,.controls>button),
body.techgrid-module #praetorianControlWindow :is(button.os-btn,a.os-btn,input.os-btn,.admin-actions>button,.admin-actions>a){
  width:auto!important;min-width:0!important;max-width:100%!important;min-height:26px!important;height:auto!important;
  padding:4px 9px!important;line-height:1.2!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;
  text-align:center!important;box-sizing:border-box!important;
}
body.os-body .win95.win-managed :is(.admin-actions,.toolbar,.controls,.secure-mail-toolbar,.secure-mail-reader-actions,.secure-mail-compose-actions,.qr-actions,.trace-actions,.record-controls,.easter-card-actions,.easter-save-bar,.tg-widget-presets),
body.techgrid-module #praetorianControlWindow .admin-actions{
  display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-start!important;gap:6px!important;min-width:0!important;max-width:100%!important;
}
body.techgrid-module #praetorianControlWindow .admin-actions>*{flex:0 1 auto!important;width:auto!important;min-width:0!important;max-width:100%!important}
@media(max-width:560px){
  body.techgrid-module #praetorianControlWindow .admin-actions{display:flex!important;grid-template-columns:none!important}
  body.techgrid-module #praetorianControlWindow .admin-actions>:is(.os-btn,button,a),
  body.techgrid-module #praetorianControlWindow .admin-actions>form,
  body.techgrid-module #praetorianControlWindow .admin-actions>form>:is(.os-btn,button){width:auto!important;min-width:0!important;max-width:100%!important;flex:0 1 auto!important}
}

/* Handbuch: Navigation wie ein echtes Inhaltsverzeichnis, nicht wie große Kachelbuttons. Wörter werden nur an Leerzeichen umbrochen. */
body.os-body .os-handbook-window .handbook-layout{grid-template-columns:clamp(220px,28%,290px) minmax(0,1fr)!important}
body.os-body .os-handbook-window .handbook-index{padding:7px!important;overflow-x:hidden!important;overflow-y:auto!important}
body.os-body .os-handbook-window .handbook-index button{
  display:grid!important;grid-template-columns:24px minmax(0,1fr)!important;align-items:start!important;gap:7px!important;
  width:100%!important;min-width:0!important;min-height:0!important;margin:0 0 3px!important;padding:6px 7px!important;
  border:1px solid transparent!important;border-left:3px solid transparent!important;border-radius:2px!important;background:transparent!important;box-shadow:none!important;
  font:600 11px/1.28 Tahoma,Verdana,Arial,sans-serif!important;text-align:left!important;text-transform:none!important;letter-spacing:0!important;
  white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;
}
body.os-body .os-handbook-window .handbook-index button>span{font:700 9px/1.35 ui-monospace,"Cascadia Mono",Consolas,monospace!important;white-space:nowrap!important}
body.os-body .os-handbook-window .handbook-index button:hover,
body.os-body .os-handbook-window .handbook-index button:focus-visible{border-left-color:#506f8c!important;background:rgba(80,111,140,.09)!important;outline:0!important}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-index button{
  white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;text-align:left!important;
}
@container tg-work-window (max-width:700px){
  body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-layout{display:flex!important;flex-direction:column!important}
  body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-index{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px!important;max-height:150px!important;border-right:0!important;border-bottom:1px solid var(--tg-edge)!important;
  }
  body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-index-title{grid-column:1/-1!important}
}
@container tg-work-window (max-width:430px){
  body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-index{grid-template-columns:1fr!important;max-height:132px!important}
}

/* Inhaltskarten und Beschriftungen: keine künstliche Zerlegung normaler Wörter; technische IDs/URLs dürfen weiterhin gezielt umbrechen. */
body.os-body .win95.win-managed :is(.section-caption,.os-small,.empty-note,.handbook-entry,.handbook-summary,.handbook-steps,.nav-tile,.portal-item,.chat-card) :is(strong,span,label,p,small,li),
body.techgrid-module #praetorianControlWindow :is(.section-caption,.os-small,.empty-note,.table-frame,.info-frame,.admin-details,.chat-card) :is(strong,span,label,p,small,li){
  word-break:normal!important;hyphens:none!important;overflow-wrap:normal!important;
}
body.os-body .win95.win-managed :is(code,.admin-summary-url,.file-name-summary,[data-url],td),
body.techgrid-module #praetorianControlWindow :is(code,.admin-summary-url,.file-name-summary,[data-url],td){overflow-wrap:anywhere!important;word-break:normal!important}


/* MKL | 01.10.2026 – Schritt 247: Sichtprüfung interne Fenster – Aktionsleisten und Handbuch werden als echte UI-Controls statt Vollbreiten-Kacheln behandelt. */
body.os-body .win95.win-managed :is(.admin-actions,.security-alert-actions,.duplicate-alert-actions,.easter-card-actions,.easter-save-bar,.gate-search-line,.chat-compose,.qr-actions,.trace-actions,.record-controls,.secure-mail-toolbar,.secure-mail-reader-actions,.secure-mail-compose-actions,.design-access-save,.backup-download-actions,.bank-camera-actions,.tg-note-savebar,.notes-category-head-actions),
body.techgrid-module #praetorianControlWindow :is(.admin-actions,.security-alert-actions,.easter-card-actions,.easter-save-bar,.design-access-save,.backup-download-actions),
body.techgrid-hex-embedded :is(.admin-actions,.security-alert-actions,.duplicate-alert-actions,.easter-card-actions,.easter-save-bar,.qr-actions,.trace-actions,.record-controls,.secure-mail-toolbar,.secure-mail-reader-actions,.secure-mail-compose-actions){
  display:flex!important;flex-flow:row wrap!important;align-items:center!important;align-content:flex-start!important;justify-content:flex-start!important;
  gap:6px!important;width:auto!important;min-width:0!important;max-width:100%!important;height:auto!important;overflow:visible!important;
}
body.os-body .win95.win-managed :is(.admin-actions,.security-alert-actions,.duplicate-alert-actions,.easter-card-actions,.easter-save-bar,.gate-search-line,.chat-compose,.qr-actions,.trace-actions,.record-controls,.secure-mail-toolbar,.secure-mail-reader-actions,.secure-mail-compose-actions,.design-access-save,.backup-download-actions,.bank-camera-actions,.tg-note-savebar,.notes-category-head-actions) > :is(button,.os-btn,a.os-btn,input[type="button"],input[type="submit"],input[type="reset"]),
body.techgrid-module #praetorianControlWindow :is(.admin-actions,.security-alert-actions,.easter-card-actions,.easter-save-bar,.design-access-save,.backup-download-actions) > :is(button,.os-btn,a.os-btn,input[type="button"],input[type="submit"],input[type="reset"]),
body.techgrid-hex-embedded :is(.admin-actions,.security-alert-actions,.duplicate-alert-actions,.easter-card-actions,.easter-save-bar,.qr-actions,.trace-actions,.record-controls,.secure-mail-toolbar,.secure-mail-reader-actions,.secure-mail-compose-actions) > :is(button,.os-btn,a.os-btn,input[type="button"],input[type="submit"],input[type="reset"]){
  flex:0 1 auto!important;width:auto!important;min-width:0!important;max-width:100%!important;min-height:27px!important;height:auto!important;
  padding:4px 8px!important;box-sizing:border-box!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;
  line-height:1.15!important;text-align:center!important;
}
body.os-body .win95.win-managed :is(.admin-actions,.security-alert-actions,.duplicate-alert-actions,.easter-card-actions,.easter-save-bar,.gate-search-line,.chat-compose,.design-access-save,.backup-download-actions) > form,
body.techgrid-module #praetorianControlWindow :is(.admin-actions,.security-alert-actions,.easter-card-actions,.easter-save-bar,.design-access-save,.backup-download-actions) > form{
  display:inline-flex!important;flex:0 1 auto!important;width:auto!important;min-width:0!important;max-width:100%!important;margin:0!important;
}
body.os-body .win95.win-managed :is(.admin-actions,.security-alert-actions,.duplicate-alert-actions,.easter-card-actions,.easter-save-bar,.gate-search-line,.chat-compose,.design-access-save,.backup-download-actions) > form > :is(button,.os-btn,input[type="submit"]),
body.techgrid-module #praetorianControlWindow :is(.admin-actions,.security-alert-actions,.easter-card-actions,.easter-save-bar,.design-access-save,.backup-download-actions) > form > :is(button,.os-btn,input[type="submit"]){
  width:auto!important;min-width:0!important;max-width:100%!important;flex:0 1 auto!important;
}
/* Auch Micro-Fenster bleiben kompakt; nur echte Formularfelder dürfen auf volle Breite gehen. */
body.techgrid-fui-active .win95.tg-hex-window.tg-window-micro .tg-content-stage :is(.admin-actions,.security-alert-actions,.duplicate-alert-actions,.easter-card-actions,.easter-save-bar,.qr-actions,.trace-actions,.record-controls,.secure-mail-toolbar,.secure-mail-reader-actions,.secure-mail-compose-actions,.design-access-save,.backup-download-actions){
  display:flex!important;grid-template-columns:none!important;flex-flow:row wrap!important;align-items:center!important;
}
body.techgrid-fui-active .win95.tg-hex-window.tg-window-micro .tg-content-stage :is(.admin-actions,.security-alert-actions,.duplicate-alert-actions,.easter-card-actions,.easter-save-bar,.qr-actions,.trace-actions,.record-controls,.secure-mail-toolbar,.secure-mail-reader-actions,.secure-mail-compose-actions,.design-access-save,.backup-download-actions) > *{
  width:auto!important;min-width:0!important;max-width:100%!important;flex:0 1 auto!important;
}
body.techgrid-fui-active .win95.tg-hex-window.tg-window-micro .tg-content-stage :is(.admin-actions,.security-alert-actions,.duplicate-alert-actions,.easter-card-actions,.easter-save-bar,.qr-actions,.trace-actions,.record-controls,.secure-mail-toolbar,.secure-mail-reader-actions,.secure-mail-compose-actions,.design-access-save,.backup-download-actions) :is(button,.os-btn,a.os-btn,input[type="button"],input[type="submit"],input[type="reset"]){
  width:auto!important;min-width:0!important;max-width:100%!important;min-height:28px!important;padding:4px 7px!important;
}
/* PRAETORIAN: lange Begleittexte dürfen umbrechen, Aktionen bleiben daneben kompakt. */
body.techgrid-module #praetorianControlWindow .admin-actions>.os-small,
body.techgrid-fui-active .praetorian-control-window .admin-actions>.os-small{flex:1 1 220px!important;min-width:140px!important;max-width:100%!important;overflow-wrap:normal!important;word-break:normal!important;}
body.techgrid-module #praetorianControlWindow :is(.function-admin-card,.file-admin-card,.link-admin-card,.design-admin-card,.chat-card,.table-frame,.info-frame,.retro-fieldset){min-width:0!important;max-width:100%!important;overflow-x:hidden!important;}
body.techgrid-module #praetorianControlWindow :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea){max-width:100%!important;min-width:0!important;box-sizing:border-box!important;}
/* Handbuch: linke Navigation bekommt genug Nutzbreite und verhält sich wie eine Liste, nicht wie Kachelbuttons. */
body.os-body .os-handbook-window .handbook-layout,
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-layout{grid-template-columns:clamp(250px,31%,330px) minmax(0,1fr)!important;min-width:0!important;}
body.os-body .os-handbook-window .handbook-index,
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-index{min-width:0!important;padding:8px!important;overflow-x:hidden!important;}
body.os-body .os-handbook-window .handbook-index button,
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-index button{
  display:grid!important;grid-template-columns:26px minmax(0,1fr)!important;gap:8px!important;align-items:start!important;
  width:100%!important;min-width:0!important;max-width:100%!important;min-height:0!important;height:auto!important;margin:0 0 3px!important;padding:6px 7px!important;
  text-align:left!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;font-size:11px!important;line-height:1.25!important;
}
body.os-body .os-handbook-window .handbook-index button>span,
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-index button>span{white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;}
@media(max-width:760px){
  body.os-body .os-handbook-window .handbook-layout,
  body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-layout{display:flex!important;flex-direction:column!important;height:auto!important;min-height:0!important;}
  body.os-body .os-handbook-window .handbook-index,
  body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-index{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px!important;max-height:190px!important;border-right:0!important;overflow:auto!important;}
  body.os-body .os-handbook-window .handbook-index-title,
  body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-index-title{grid-column:1/-1!important;}
}
@media(max-width:460px){
  body.os-body .os-handbook-window .handbook-index,
  body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-index{grid-template-columns:1fr!important;max-height:150px!important;}
}

/* MKL | 01.10.2026 – Schritt 248: Spezialfenster Pizza.Net, Shell und BNDx auf je eine stabile Inhalts-/Scrolllogik konsolidiert; Flacker-/Blur-Quellen und abgeschnittene Inhalte entfernt. */
body.os-body .pizza-net-window{container-type:inline-size;min-width:0!important;max-width:calc(100vw - 12px)!important;max-height:calc(100dvh - 84px)!important}
body.os-body .pizza-net-window>.win-body{display:block!important;min-height:0!important;overflow:hidden!important}
body.os-body .pizza-net-window .pizza-browser{height:100%!important;min-height:0!important;overflow:hidden!important}
body.os-body .pizza-net-window .pizza-browser-chrome{flex:0 0 auto!important;min-width:0!important}
body.os-body .pizza-net-window .pizza-browser-row{grid-template-columns:repeat(3,max-content) minmax(0,1fr)!important;min-width:0!important}
body.os-body .pizza-net-window .pizza-browser-row-bottom{grid-template-columns:repeat(3,max-content) max-content minmax(0,1fr)!important}
body.os-body .pizza-net-window .pizza-nav-btn{width:auto!important;min-width:0!important;max-width:100%!important;white-space:nowrap!important}
body.os-body .pizza-net-window .pizza-address{min-width:0!important;max-width:100%!important}
body.os-body .pizza-net-window .pizza-browser-body{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;padding:8px 10px 14px!important;perspective:none!important;scrollbar-gutter:stable}
body.os-body .pizza-net-window .pizza-sequence-page{height:auto!important;min-height:100%!important;max-width:650px!important;overflow:visible!important;padding:0!important;animation:none!important;transform:none!important;filter:none!important}
body.os-body .pizza-net-window .pizza-cinema-atmosphere i,
body.os-body .pizza-net-window .pizza-cinema-atmosphere span{animation:none!important;filter:none!important;transform:none!important}
body.os-body .pizza-net-window :is(.pizza-ad-head,.pizza-menu-film,.pizza-address-film,.pizza-transmit-screen,.pizza-final-alert){backdrop-filter:none!important;transform:none!important;filter:none!important}
body.os-body .pizza-net-window .pizza-ad-head{margin:0 0 8px!important}
body.os-body .pizza-net-window .pizza-menu-film{flex:0 0 auto!important;min-height:0!important;height:auto!important;overflow:visible!important;padding:8px 14px!important}
body.os-body .pizza-net-window .pizza-menu-film .pizza-order-screen{height:auto!important;min-height:0!important;display:block!important}
body.os-body .pizza-net-window .pizza-menu-film .pizza-order-grid{height:auto!important;align-items:start!important}
body.os-body .pizza-net-window .pizza-menu-film .pizza-order-panel{height:auto!important;min-height:0!important;overflow:visible!important}
body.os-body .pizza-net-window .pizza-menu-film .pizza-choice{box-sizing:border-box!important;min-width:0!important}
body.os-body .pizza-net-window .pizza-menu-film .pizza-choice span{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:break-word!important}
body.os-body .pizza-net-window .pizza-address-film{height:auto!important;min-height:0!important;overflow:visible!important}
body.os-body .pizza-net-window .pizza-address-data{max-width:100%!important}
body.os-body .pizza-net-window .pizza-data-row,body.os-body .pizza-net-window .pizza-data-row>*{min-width:0!important}
body.os-body .pizza-net-window .pizza-data-row strong{white-space:normal!important;overflow-wrap:anywhere!important}
body.os-body .pizza-net-window .pizza-transmit-screen{min-height:0!important;height:auto!important;overflow:visible!important}
body.os-body .pizza-net-window .pizza-transmit-terminal{height:min(255px,38dvh)!important;min-height:120px!important;overflow:auto!important}
@container (max-width:560px){
  body.os-body .pizza-net-window .pizza-browser-row,body.os-body .pizza-net-window .pizza-browser-row-bottom{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important}
  body.os-body .pizza-net-window .pizza-browser-row-bottom .pizza-url-label{grid-column:1/2!important}
  body.os-body .pizza-net-window .pizza-browser-row-bottom .pizza-address{grid-column:2/4!important}
  body.os-body .pizza-net-window .pizza-nav-btn{white-space:normal!important;line-height:1.05!important}
  body.os-body .pizza-net-window .pizza-order-grid{grid-template-columns:1fr!important}
  body.os-body .pizza-net-window .pizza-order-panel{border-right:0!important;border-bottom:1px solid rgba(126,216,229,.18)!important}
  body.os-body .pizza-net-window .pizza-topping-grid{grid-template-columns:1fr!important}
  body.os-body .pizza-net-window .pizza-data-city{grid-template-columns:64px minmax(0,1fr)!important}
  body.os-body .pizza-net-window .pizza-address-bottom{flex-wrap:wrap!important}
}

body.os-body .sim-shell-window{container-type:inline-size;min-width:0!important;max-width:calc(100vw - 12px)!important;max-height:calc(100dvh - 84px)!important}
body.os-body .sim-shell-window>.win-body{display:flex!important;min-height:0!important;overflow:hidden!important}
body.os-body .sim-shell-window .sim-shell{flex:1 1 auto!important;min-width:0!important;min-height:0!important;overflow:hidden!important}
body.os-body .sim-shell-window .sim-shell-output{flex:1 1 auto!important;min-width:0!important;min-height:0!important;overflow:auto!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important;scrollbar-gutter:stable}
body.os-body .sim-shell-window .sim-shell-prompt{flex:0 0 auto!important;min-width:0!important;overflow-wrap:anywhere!important}
body.os-body .sim-shell-window .sim-shell-prefix{white-space:nowrap!important}
body.os-body .sim-shell-window .sim-shell-typed{min-width:0!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important}
@container (max-width:420px){body.os-body .sim-shell-window .sim-shell-hint{display:none!important}}

body.os-body :is(.bndx-code-window,.bndx-remote-window){container-type:inline-size;min-width:0!important;max-width:calc(100vw - 12px)!important;max-height:calc(100dvh - 84px)!important}
body.os-body :is(.bndx-code-window,.bndx-remote-window)>.win-body{min-width:0!important;min-height:0!important;overflow:hidden!important}
body.os-body .bndx-code-window .bndx-stage{height:100%!important;min-width:0!important;min-height:0!important}
body.os-body .bndx-code-window .bndx-code{min-width:0!important;min-height:0!important;overflow:auto!important;white-space:normal!important;scrollbar-gutter:stable}
body.os-body .bndx-code-window .bndx-code pre{min-width:0!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important}
body.os-body .bndx-stage-actions{grid-template-columns:repeat(2,minmax(0,max-content))!important;justify-content:end!important;min-width:0!important}
body.os-body .bndx-stage-actions button{width:auto!important;max-width:100%!important;white-space:normal!important}
body.os-body .bndx-remote-window .bndx-remote-shell{display:grid!important;grid-template-rows:auto auto minmax(0,auto) minmax(0,1fr)!important;height:100%!important;min-width:0!important;min-height:0!important;overflow:auto!important;scrollbar-gutter:stable}
body.os-body .bndx-remote-window :is(.bndx-stage-head,.bndx-nc-menu,.bndx-nc-panels,.bndx-record){min-width:0!important;max-width:100%!important}
body.os-body .bndx-remote-window .bndx-nc-panels{overflow:auto!important}
body.os-body .bndx-remote-window .bndx-record{overflow:auto!important}
body.os-body .bndx-remote-window .bndx-record-row{grid-template-columns:minmax(82px,.38fr) minmax(0,1fr)!important;min-width:0!important}
body.os-body .bndx-remote-window .bndx-record-row>*{min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important}
@container (max-width:430px){
  body.os-body .bndx-stage-head{align-items:flex-start!important;flex-direction:column!important;gap:3px!important}
  body.os-body .bndx-stage-head strong{text-align:left!important}
  body.os-body .bndx-stage-actions{grid-template-columns:1fr!important}
  body.os-body .bndx-stage-actions button{width:auto!important}
  body.os-body .bndx-remote-window .bndx-nc-panels{grid-template-columns:1fr!important}
  body.os-body .bndx-remote-window .bndx-record-row{grid-template-columns:1fr!important;gap:2px!important}
}

/* MKL | 01.10.2026 – Schritt 249: Zweite Fenster-Einzelprüfung; alle echten Aktionsbuttons bleiben kompakt, Modulfehler besitzen keinen Balkenbutton, Hub-Karten und Texte fließen ohne Wortzerhackung. */
body.techgrid-fui-active .tg-module-state.is-error{display:flex!important;flex-flow:row wrap!important;align-items:center!important;justify-content:center!important;gap:7px!important;width:max-content!important;max-width:min(82%,520px)!important;padding:8px 10px!important;overflow:visible!important;text-align:center!important;overflow-wrap:break-word!important}
body.techgrid-fui-active .tg-module-state.is-error .tg-module-state-dot{flex:0 0 10px!important}
body.techgrid-fui-active .tg-module-state.is-error>span:nth-of-type(2){flex:1 1 220px!important;min-width:0!important}
body.techgrid-fui-active .tg-module-state.is-error .tg-module-retry{display:inline-flex!important;flex:0 0 auto!important;width:auto!important;min-width:0!important;max-width:100%!important;min-height:28px!important;padding:4px 8px!important;align-items:center!important;justify-content:center!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;pointer-events:auto!important}

body.os-body .win95.win-managed :is(.admin-actions,.security-alert-actions,.duplicate-alert-actions,.easter-card-actions,.easter-save-bar,.gate-search-line,.chat-compose,.qr-actions,.trace-actions,.record-controls,.secure-mail-toolbar,.secure-mail-reader-actions,.secure-mail-compose-actions,.design-access-save,.backup-download-actions,.bank-camera-actions,.tg-note-savebar,.notes-category-head-actions,.admin-credentials-actions,.access-save-actions,.login-actions,.bndx-stage-actions),
body.techgrid-module #praetorianControlWindow :is(.admin-actions,.security-alert-actions,.easter-card-actions,.easter-save-bar,.design-access-save,.backup-download-actions,.admin-credentials-actions,.access-save-actions),
body.techgrid-hex-embedded :is(.admin-actions,.security-alert-actions,.duplicate-alert-actions,.easter-card-actions,.easter-save-bar,.qr-actions,.trace-actions,.record-controls,.secure-mail-toolbar,.secure-mail-reader-actions,.secure-mail-compose-actions){
  display:flex!important;flex-flow:row wrap!important;align-items:center!important;align-content:flex-start!important;justify-content:flex-start!important;gap:6px!important;min-width:0!important;max-width:100%!important;height:auto!important;overflow:visible!important;
}
body.os-body .win95.win-managed :is(.admin-actions,.security-alert-actions,.duplicate-alert-actions,.easter-card-actions,.easter-save-bar,.gate-search-line,.chat-compose,.qr-actions,.trace-actions,.record-controls,.secure-mail-toolbar,.secure-mail-reader-actions,.secure-mail-compose-actions,.design-access-save,.backup-download-actions,.bank-camera-actions,.tg-note-savebar,.notes-category-head-actions,.admin-credentials-actions,.access-save-actions,.login-actions,.bndx-stage-actions) > :is(button,.os-btn,a.os-btn,input[type="button"],input[type="submit"],input[type="reset"]),
body.techgrid-module #praetorianControlWindow :is(.admin-actions,.security-alert-actions,.easter-card-actions,.easter-save-bar,.design-access-save,.backup-download-actions,.admin-credentials-actions,.access-save-actions) > :is(button,.os-btn,a.os-btn,input[type="button"],input[type="submit"],input[type="reset"]),
body.techgrid-hex-embedded :is(.admin-actions,.security-alert-actions,.duplicate-alert-actions,.easter-card-actions,.easter-save-bar,.qr-actions,.trace-actions,.record-controls,.secure-mail-toolbar,.secure-mail-reader-actions,.secure-mail-compose-actions) > :is(button,.os-btn,a.os-btn,input[type="button"],input[type="submit"],input[type="reset"]){
  flex:0 1 auto!important;width:auto!important;min-width:0!important;max-width:100%!important;min-height:26px!important;height:auto!important;padding:4px 8px!important;box-sizing:border-box!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;line-height:1.15!important;text-align:center!important;
}
body.os-body .win95.win-managed :is(.admin-actions,.security-alert-actions,.duplicate-alert-actions,.easter-card-actions,.easter-save-bar,.gate-search-line,.chat-compose,.design-access-save,.backup-download-actions,.admin-credentials-actions,.access-save-actions,.login-actions)>form,
body.techgrid-module #praetorianControlWindow :is(.admin-actions,.security-alert-actions,.easter-card-actions,.easter-save-bar,.design-access-save,.backup-download-actions,.admin-credentials-actions,.access-save-actions)>form{display:inline-flex!important;flex:0 1 auto!important;width:auto!important;min-width:0!important;max-width:100%!important;margin:0!important}
body.os-body .win95.win-managed :is(.admin-actions,.security-alert-actions,.duplicate-alert-actions,.easter-card-actions,.easter-save-bar,.gate-search-line,.chat-compose,.design-access-save,.backup-download-actions,.admin-credentials-actions,.access-save-actions,.login-actions)>form>:is(button,.os-btn,input[type="submit"]),
body.techgrid-module #praetorianControlWindow :is(.admin-actions,.security-alert-actions,.easter-card-actions,.easter-save-bar,.design-access-save,.backup-download-actions,.admin-credentials-actions,.access-save-actions)>form>:is(button,.os-btn,input[type="submit"]){width:auto!important;min-width:0!important;max-width:100%!important;flex:0 1 auto!important}

body.techgrid-fui-active .tg-dialog-actions{display:flex!important;flex-flow:row wrap!important;justify-content:flex-end!important;gap:6px!important}
body.techgrid-fui-active .tg-dialog-actions>button{width:auto!important;min-width:0!important;max-width:100%!important;min-height:28px!important;padding:4px 8px!important;white-space:normal!important}
body.techgrid-fui-active .tg-idle-actions{display:flex!important;flex-flow:row wrap!important;justify-content:flex-end!important;gap:8px!important}
body.techgrid-fui-active .tg-idle-actions>button{width:auto!important;min-width:0!important;max-width:100%!important;flex:0 1 auto!important}
body.techgrid-fui-active .tg-idle-reveal{width:auto!important;min-width:0!important;max-width:100%!important}

body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="hub"] .portal-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr))!important;gap:7px!important}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="hub"] .portal-item{min-height:52px!important;padding:7px 9px!important;gap:3px!important;overflow-wrap:break-word!important;word-break:normal!important}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="hub"] .portal-item>*{overflow-wrap:break-word!important;word-break:normal!important;hyphens:none!important}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="hub"] .portal-item strong{font-size:.96em!important;line-height:1.18!important;margin:0!important}
body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="hub"] .portal-item>span:not(.portal-kind){font-size:.86em!important;line-height:1.24!important;margin:0!important}

body.os-body .os-handbook-window .handbook-index button,body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-index button{overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important}
body.os-body .os-handbook-window .handbook-index button>:not(span),body.techgrid-fui-active .win95.tg-hex-window[data-tg-window-profile="handbook"] .handbook-index button>:not(span){min-width:0!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important}

body.mail-tool-body :is(.secure-mail-reader-actions,.secure-mail-compose-actions,.secure-mail-toolbar) button,body.os-body .netchat-window .netchat-send{white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important}
body.os-body .bndx-stage-actions{display:flex!important;flex-flow:row wrap!important;justify-content:flex-end!important;gap:6px!important}
body.os-body .bndx-stage-actions button{width:auto!important;min-width:0!important;max-width:100%!important;min-height:27px!important;padding:4px 8px!important}


/* MKL | 01.10.2026 – Schritt 252: Aktionsbuttons aller internen Fenster erhalten einen einheitlichen rechteckigen Einzeilen-Vertrag; lange Beschriftungen werden über kompaktere Typografie statt vertikalem Aufziehen lesbar gehalten. */
body.os-body .win95.win-managed,
body.techgrid-module,
body.techgrid-hex-embedded,
body.legacy-tool-body,
body.qr-tool-body,
body.calc-tool-body{
  --mkl-action-h:28px;
  --mkl-action-pad-x:8px;
  --mkl-action-font:10px;
  --mkl-action-radius:2px;
}
body.os-body .win95.win-managed :is(.admin-actions,.security-alert-actions,.duplicate-alert-actions,.easter-card-actions,.easter-save-bar,.design-access-save,.backup-download-actions,.admin-credentials-actions,.access-save-actions,.login-actions,.qr-actions,.trace-actions,.record-controls,.secure-mail-toolbar,.secure-mail-reader-actions,.secure-mail-compose-actions,.bank-camera-actions,.tg-note-savebar,.notes-category-head-actions,.bndx-stage-actions,.tg-dialog-actions,.tg-idle-actions,.pizza-browser-row),
body.techgrid-module #praetorianControlWindow :is(.admin-actions,.security-alert-actions,.easter-card-actions,.easter-save-bar,.design-access-save,.backup-download-actions,.admin-credentials-actions,.access-save-actions),
body.techgrid-hex-embedded :is(.admin-actions,.security-alert-actions,.duplicate-alert-actions,.easter-card-actions,.easter-save-bar,.qr-actions,.trace-actions,.record-controls,.secure-mail-toolbar,.secure-mail-reader-actions,.secure-mail-compose-actions),
body.legacy-tool-body :is(.trace-actions,.record-controls,.secure-mail-toolbar,.secure-mail-reader-actions,.secure-mail-compose-actions){
  display:flex!important;
  flex-flow:row wrap!important;
  align-items:center!important;
  align-content:flex-start!important;
  justify-content:flex-start!important;
  gap:6px!important;
  min-width:0!important;
  max-width:100%!important;
  height:auto!important;
  overflow:visible!important;
}
body.os-body .win95.win-managed :is(.admin-actions,.security-alert-actions,.duplicate-alert-actions,.easter-card-actions,.easter-save-bar,.design-access-save,.backup-download-actions,.admin-credentials-actions,.access-save-actions,.login-actions,.qr-actions,.trace-actions,.record-controls,.secure-mail-toolbar,.secure-mail-reader-actions,.secure-mail-compose-actions,.bank-camera-actions,.tg-note-savebar,.notes-category-head-actions,.bndx-stage-actions,.tg-dialog-actions,.tg-idle-actions,.pizza-browser-row) > :is(button,.os-btn,a.os-btn,input[type="button"],input[type="submit"],input[type="reset"]),
body.techgrid-module #praetorianControlWindow :is(.admin-actions,.security-alert-actions,.easter-card-actions,.easter-save-bar,.design-access-save,.backup-download-actions,.admin-credentials-actions,.access-save-actions) > :is(button,.os-btn,a.os-btn,input[type="button"],input[type="submit"],input[type="reset"]),
body.techgrid-hex-embedded :is(.admin-actions,.security-alert-actions,.duplicate-alert-actions,.easter-card-actions,.easter-save-bar,.qr-actions,.trace-actions,.record-controls,.secure-mail-toolbar,.secure-mail-reader-actions,.secure-mail-compose-actions) > :is(button,.os-btn,a.os-btn,input[type="button"],input[type="submit"],input[type="reset"]),
body.legacy-tool-body :is(.trace-actions,.record-controls,.secure-mail-toolbar,.secure-mail-reader-actions,.secure-mail-compose-actions) > :is(button,.os-btn,a.os-btn,input[type="button"],input[type="submit"],input[type="reset"]),
body.qr-tool-body .qr-actions > .os-btn,
body.os-body .bndx-stage-actions > button,
body.os-body .pizza-browser-row > .pizza-nav-btn,
body.os-body :is(.pizza-send-order,.pizza-film-done),
body.os-body .netchat-window .netchat-send,
body.techgrid-fui-active .tg-module-state.is-error .tg-module-retry,
body.techgrid-fui-active .tg-dialog-actions > button,
body.techgrid-fui-active .tg-idle-actions > button{
  box-sizing:border-box!important;
  display:inline-flex!important;
  flex:0 0 auto!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:0!important;
  max-width:100%!important;
  height:var(--mkl-action-h)!important;
  min-height:var(--mkl-action-h)!important;
  max-height:var(--mkl-action-h)!important;
  padding:0 var(--mkl-action-pad-x)!important;
  border-radius:var(--mkl-action-radius)!important;
  font-size:var(--mkl-action-font)!important;
  line-height:1!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:none!important;
  text-align:center!important;
  vertical-align:middle!important;
  text-overflow:clip!important;
}
body.os-body .win95.win-managed :is(.admin-actions,.security-alert-actions,.duplicate-alert-actions,.easter-card-actions,.easter-save-bar,.design-access-save,.backup-download-actions,.admin-credentials-actions,.access-save-actions,.login-actions) > form,
body.techgrid-module #praetorianControlWindow :is(.admin-actions,.security-alert-actions,.easter-card-actions,.easter-save-bar,.design-access-save,.backup-download-actions,.admin-credentials-actions,.access-save-actions) > form{
  display:inline-flex!important;
  flex:0 0 auto!important;
  width:auto!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
}
body.os-body .win95.win-managed :is(.admin-actions,.security-alert-actions,.duplicate-alert-actions,.easter-card-actions,.easter-save-bar,.design-access-save,.backup-download-actions,.admin-credentials-actions,.access-save-actions,.login-actions) > form > :is(button,.os-btn,input[type="submit"]),
body.techgrid-module #praetorianControlWindow :is(.admin-actions,.security-alert-actions,.easter-card-actions,.easter-save-bar,.design-access-save,.backup-download-actions,.admin-credentials-actions,.access-save-actions) > form > :is(button,.os-btn,input[type="submit"]){
  width:auto!important;
  min-width:0!important;
  max-width:100%!important;
  flex:0 0 auto!important;
  height:var(--mkl-action-h)!important;
  min-height:var(--mkl-action-h)!important;
  max-height:var(--mkl-action-h)!important;
  padding:0 var(--mkl-action-pad-x)!important;
  border-radius:var(--mkl-action-radius)!important;
  font-size:var(--mkl-action-font)!important;
  line-height:1!important;
  white-space:nowrap!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:none!important;
}
body.os-body .win95.win-managed :is(.os-btn,.password-reveal-button,.login-secret-toggle):not(.chat-user-button):not(.portal-item),
body.techgrid-module #praetorianControlWindow :is(.os-btn,.password-reveal-button):not(.chat-user-button),
body.legacy-tool-body :is(.trace-actions button,.record-controls button,.secure-mail-toolbar button,.secure-mail-reader-actions button,.secure-mail-compose-actions button){
  border-radius:var(--mkl-action-radius)!important;
}
body.os-body .netchat-window .netchat-send{
  width:auto!important;
  min-width:62px!important;
  padding-inline:9px!important;
  border-radius:2px!important;
}
body.os-body .pizza-browser-row > .pizza-nav-btn{min-width:0!important;padding-inline:7px!important}
body.os-body :is(.pizza-send-order,.pizza-film-done){min-width:0!important;padding-inline:10px!important}
body.records-tool-body .record-tabs{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:3px!important}
body.records-tool-body .record-tabs button{
  box-sizing:border-box!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  width:auto!important;
  min-width:0!important;
  max-width:100%!important;
  height:27px!important;
  min-height:27px!important;
  max-height:27px!important;
  padding:0 8px!important;
  border-radius:2px!important;
  font-size:9.5px!important;
  line-height:1!important;
  white-space:nowrap!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
}
body.mozart-tool-body .moz-player button,
body.mozart-tool-body .moz-columns button{
  border-radius:2px!important;
  line-height:1.1!important;
}
body.mozart-tool-body .moz-player button{height:27px!important;min-height:27px!important;max-height:27px!important;white-space:nowrap!important}
body.mozart-tool-body .moz-columns button{min-height:25px!important;height:auto!important;max-height:34px!important;padding:3px 6px!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important}
body.qr-tool-body .qr-actions .os-btn,
body.mail-tool-body :is(.secure-mail-toolbar,.secure-mail-reader-actions,.secure-mail-compose-actions) button,
body.trace-tool-body .trace-actions button,
body.records-tool-body .record-controls button{
  font-size:9.5px!important;
}
body.techgrid-module #praetorianControlWindow :is(.admin-actions,.security-alert-actions,.easter-card-actions,.easter-save-bar,.design-access-save,.backup-download-actions,.admin-credentials-actions,.access-save-actions) :is(button,.os-btn,a.os-btn)[data-tg-label-fit="compact"],
body.os-body .win95.win-managed :is(.admin-actions,.security-alert-actions,.duplicate-alert-actions,.easter-card-actions,.easter-save-bar,.design-access-save,.backup-download-actions,.admin-credentials-actions,.access-save-actions,.login-actions,.qr-actions,.trace-actions,.record-controls,.secure-mail-toolbar,.secure-mail-reader-actions,.secure-mail-compose-actions,.bank-camera-actions,.tg-note-savebar,.notes-category-head-actions,.bndx-stage-actions,.tg-dialog-actions,.tg-idle-actions) :is(button,.os-btn,a.os-btn)[data-tg-label-fit="compact"]{
  font-size:9px!important;
  padding-inline:6px!important;
}
body.techgrid-module #praetorianControlWindow :is(.admin-actions,.security-alert-actions,.easter-card-actions,.easter-save-bar,.design-access-save,.backup-download-actions,.admin-credentials-actions,.access-save-actions) :is(button,.os-btn,a.os-btn)[data-tg-label-fit="tight"],
body.os-body .win95.win-managed :is(.admin-actions,.security-alert-actions,.duplicate-alert-actions,.easter-card-actions,.easter-save-bar,.design-access-save,.backup-download-actions,.admin-credentials-actions,.access-save-actions,.login-actions,.qr-actions,.trace-actions,.record-controls,.secure-mail-toolbar,.secure-mail-reader-actions,.secure-mail-compose-actions,.bank-camera-actions,.tg-note-savebar,.notes-category-head-actions,.bndx-stage-actions,.tg-dialog-actions,.tg-idle-actions) :is(button,.os-btn,a.os-btn)[data-tg-label-fit="tight"]{
  font-size:8px!important;
  padding-inline:5px!important;
}
@container (max-width:420px){
  body.os-body .win95.win-managed,
  body.techgrid-module,
  body.techgrid-hex-embedded{--mkl-action-h:27px;--mkl-action-pad-x:6px;--mkl-action-font:9px}
}
@media(max-width:380px){
  body.legacy-tool-body,body.qr-tool-body,body.calc-tool-body{--mkl-action-h:27px;--mkl-action-pad-x:6px;--mkl-action-font:9px}
}
body.techgrid-module #praetorianControlWindow .password-reveal-button,
body.os-body .win95.win-managed .password-reveal-button{
  box-sizing:border-box!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:54px!important;
  max-width:100%!important;
  height:28px!important;
  min-height:28px!important;
  max-height:28px!important;
  padding:0 7px!important;
  border-radius:2px!important;
  font-size:9px!important;
  line-height:1!important;
  white-space:nowrap!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
}
body.qr-tool-body .qr-actions{
  display:flex!important;
  flex-flow:row wrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  justify-items:start!important;
  gap:6px!important;
}
body.qr-tool-body .qr-actions>.os-btn{
  justify-self:start!important;
  align-self:center!important;
  width:max-content!important;
  max-width:100%!important;
}
body.calc-tool-body .calc-mode-toggle button{
  box-sizing:border-box!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:52px!important;
  height:28px!important;
  min-height:28px!important;
  max-height:28px!important;
  padding:0 9px!important;
  border-radius:2px!important;
  font-size:12px!important;
  line-height:1!important;
  white-space:nowrap!important;
}

body.os-body .chat-user-button .chat-user-state.clear,
body.techgrid-module .chat-user-button .chat-user-state.clear{
  min-width:68px!important;
  min-height:28px!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  white-space:nowrap!important;
}
body.os-body .chat-user-button .chat-user-state.clear .chat-open-label,
body.techgrid-module .chat-user-button .chat-user-state.clear .chat-open-label{
  font-size:8.5px!important;
  line-height:1!important;
  white-space:nowrap!important;
  letter-spacing:.02em!important;
}

/* MKL | 02.10.2026 – Schritt 255: Persönliche Direktlink-Waben und die Zielwahl zentraler Links bleiben kompakt, klar benannt und ohne vertikal gezogene Bedienelemente. */
body.techgrid-fui-active .tg-direct-link-window{container-name:tg-direct-link-window;container-type:size}
body.techgrid-fui-active .tg-direct-link-window>.win-body{min-width:0;min-height:0;overflow:hidden!important}
body.techgrid-fui-active .tg-direct-link-form{height:100%;min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;box-sizing:border-box;display:grid;grid-template-rows:auto auto auto auto minmax(18px,auto) auto;align-content:start;gap:12px;padding:5px 3px 3px;color:var(--tg-text)}
body.techgrid-fui-active .tg-direct-link-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;padding:1px 2px 8px;border-bottom:1px solid color-mix(in srgb,var(--tg-line) 28%,transparent)}
body.techgrid-fui-active .tg-direct-link-head>div{display:grid;gap:3px;min-width:0}
body.techgrid-fui-active .tg-direct-link-head small,body.techgrid-fui-active .tg-direct-link-head>span{font:700 9px/1 ui-monospace,monospace;letter-spacing:.12em;color:var(--tg-muted);white-space:nowrap}
body.techgrid-fui-active .tg-direct-link-head strong{font:800 17px/1.05 ui-monospace,monospace;letter-spacing:.04em;color:var(--tg-line-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.techgrid-fui-active .tg-direct-link-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 12px;min-width:0}
body.techgrid-fui-active .tg-direct-link-field{display:grid;gap:5px;min-width:0;color:var(--tg-muted);font:700 9px/1 ui-monospace,monospace;letter-spacing:.11em}
body.techgrid-fui-active .tg-direct-link-field>span{display:flex;align-items:baseline;gap:6px;white-space:nowrap}
body.techgrid-fui-active .tg-direct-link-field>span i{font-style:normal;font-weight:500;letter-spacing:.02em;opacity:.75;text-transform:none}
body.techgrid-fui-active .tg-direct-link-field input{box-sizing:border-box;width:100%;min-width:0;height:32px;min-height:32px;padding:0 9px;border:1px solid color-mix(in srgb,var(--tg-line) 32%,transparent);border-radius:2px;background:color-mix(in srgb,var(--tg-panel-2) 86%,transparent);color:var(--tg-text);font:600 12px/1.1 ui-monospace,monospace;outline:0}
body.techgrid-fui-active .tg-direct-link-field input:focus{border-color:var(--tg-line);box-shadow:0 0 0 1px color-mix(in srgb,var(--tg-line) 28%,transparent),0 0 16px -10px var(--tg-glow)}
body.techgrid-fui-active .tg-direct-link-field input[aria-invalid="true"]{border-color:var(--tg-danger,#d94848)!important;box-shadow:0 0 0 1px color-mix(in srgb,var(--tg-danger,#d94848) 32%,transparent)!important}
body.techgrid-fui-active .tg-direct-link-url{grid-column:1/-1}
body.techgrid-fui-active .tg-direct-link-target{min-width:0;margin:0;padding:8px;border:1px solid color-mix(in srgb,var(--tg-line) 24%,transparent);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7px}
body.techgrid-fui-active .tg-direct-link-target legend{padding:0 5px;color:var(--tg-muted);font:700 9px/1 ui-monospace,monospace;letter-spacing:.11em}
body.techgrid-fui-active .tg-direct-link-target label{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto;column-gap:8px;row-gap:2px;align-items:center;padding:8px 9px;border:1px solid color-mix(in srgb,var(--tg-line) 20%,transparent);border-radius:2px;background:color-mix(in srgb,var(--tg-panel) 82%,transparent);cursor:pointer}
body.techgrid-fui-active .tg-direct-link-target label:has(input:checked){border-color:color-mix(in srgb,var(--tg-line) 70%,transparent);background:color-mix(in srgb,var(--tg-line) 9%,var(--tg-panel));box-shadow:inset 2px 0 0 var(--tg-line)}
body.techgrid-fui-active .tg-direct-link-target input{grid-row:1/3;margin:0;accent-color:var(--tg-line)}
body.techgrid-fui-active .tg-direct-link-target span{font:800 10px/1 ui-monospace,monospace;letter-spacing:.05em;color:var(--tg-text);white-space:nowrap}
body.techgrid-fui-active .tg-direct-link-target small{font:500 9px/1.2 ui-monospace,monospace;color:var(--tg-muted);white-space:normal}
body.techgrid-fui-active .tg-direct-link-preview{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr);gap:3px 10px;align-items:center;padding:9px 10px;border-left:3px solid var(--tg-line);background:color-mix(in srgb,var(--tg-panel-2) 78%,transparent)}
body.techgrid-fui-active .tg-direct-link-preview>span{grid-row:1/3;font:800 8px/1 ui-monospace,monospace;letter-spacing:.09em;color:var(--tg-line-2);white-space:nowrap}
body.techgrid-fui-active .tg-direct-link-preview>strong{min-width:0;font:800 11px/1.1 ui-monospace,monospace;color:var(--tg-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.techgrid-fui-active .tg-direct-link-preview>small{min-width:0;font:500 9px/1.2 ui-monospace,monospace;color:var(--tg-muted);overflow-wrap:anywhere}
body.techgrid-fui-active .tg-direct-link-preview.is-invalid{border-left-color:var(--tg-danger,#d94848)}
body.techgrid-fui-active .tg-direct-link-preview.is-invalid>span{color:var(--tg-danger,#d94848)}
body.techgrid-fui-active .tg-direct-link-status{min-height:18px;color:var(--tg-line-2);font:700 9px/1.3 ui-monospace,monospace}
body.techgrid-fui-active .tg-direct-link-status.is-error{color:var(--tg-danger,#d94848)}
body.techgrid-fui-active .tg-direct-link-actions{position:sticky;bottom:0;display:flex;justify-content:flex-end;align-items:center;gap:7px;padding:7px 0 1px;background:linear-gradient(180deg,transparent,var(--tg-panel) 22%)}
body.techgrid-fui-active .tg-direct-link-actions button{box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;width:auto!important;min-width:0!important;max-width:100%!important;height:28px!important;min-height:28px!important;max-height:28px!important;padding:0 10px!important;border:1px solid color-mix(in srgb,var(--tg-line) 34%,transparent)!important;border-radius:2px!important;background:var(--tg-panel-2)!important;color:var(--tg-text)!important;font:800 9px/1 ui-monospace,monospace!important;letter-spacing:.035em!important;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;cursor:pointer!important}
body.techgrid-fui-active .tg-direct-link-actions button.primary{border-color:color-mix(in srgb,var(--tg-line) 70%,transparent)!important;color:var(--tg-line-2)!important;box-shadow:0 0 14px -10px var(--tg-glow)!important}
body.techgrid-fui-active .tg-direct-link-actions button:focus-visible{outline:2px solid var(--tg-line-2);outline-offset:2px}
@container tg-direct-link-window (max-width:520px){
  body.techgrid-fui-active .tg-direct-link-form{gap:9px}
  body.techgrid-fui-active .tg-direct-link-head>span{display:none}
  body.techgrid-fui-active .tg-direct-link-fields{grid-template-columns:minmax(0,1fr)}
  body.techgrid-fui-active .tg-direct-link-url{grid-column:auto}
  body.techgrid-fui-active .tg-direct-link-target{grid-template-columns:minmax(0,1fr)}
}
@container tg-direct-link-window (max-width:360px){
  body.techgrid-fui-active .tg-direct-link-head strong{font-size:14px}
  body.techgrid-fui-active .tg-direct-link-actions{flex-wrap:wrap;justify-content:flex-start}
  body.techgrid-fui-active .tg-direct-link-actions button{font-size:8px!important;padding-inline:7px!important}
}
@container tg-direct-link-window (max-height:420px){
  body.techgrid-fui-active .tg-direct-link-form{gap:7px}
  body.techgrid-fui-active .tg-direct-link-target label{padding-block:5px}
  body.techgrid-fui-active .tg-direct-link-preview{padding-block:6px}
}

/* MKL | 02.10.2026 – Retry-/Lock-Aktionen bleiben in allen Designs kompakte rechteckige Bedienelemente; Fehlerzustände dürfen Inhalt und Chatverlauf nicht durch hohe Vollbreitenflächen verdrängen. */
.chat-inline-retry,
.secure-mail-load-error button,
.tg-idle-lock button{
  box-sizing:border-box!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:0!important;
  max-width:100%!important;
  height:28px!important;
  min-height:28px!important;
  max-height:28px!important;
  padding:0 9px!important;
  border-radius:2px!important;
  font-size:10px!important;
  line-height:1!important;
  white-space:nowrap!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
}
.chat-inline-retry{border:1px solid currentColor;background:rgba(255,255,255,.08);color:inherit;cursor:pointer;font-weight:700}
.chat-inline-retry[hidden]{display:none!important}
.netchat-footer-state,.chat-meta-status{display:inline-flex;align-items:center;justify-content:flex-end;gap:6px;min-width:0;flex-wrap:wrap}
.secure-mail-load-error{display:flex;align-items:flex-start;gap:8px;flex-wrap:wrap}
.secure-mail-load-error>span{flex:1 1 180px;min-width:0;overflow-wrap:break-word}
.tg-idle-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;flex-wrap:wrap!important;grid-template-columns:none!important}
.tg-idle-password-row>button{align-self:center!important}
@media(max-width:390px){.tg-idle-actions{justify-content:flex-start!important}.tg-idle-password-row{grid-template-columns:minmax(0,1fr) auto!important}.chat-inline-retry,.secure-mail-load-error button,.tg-idle-lock button{font-size:9px!important;padding-inline:7px!important}}
\n\n/* MKL | 02.10.2026 – Schritt 257: PRAETORIAN-TechGrid-Sichtbarkeit und Oberflächenhinweise kompakt, laienverständlich und responsiv. */
.techgrid-builtin-visibility-panel{display:grid;grid-template-columns:minmax(210px,.8fr) minmax(300px,1.5fr);gap:12px 18px;align-items:start;margin:0 0 16px;padding:12px;border:1px solid color-mix(in srgb,var(--os-accent,#ff9500) 42%,var(--os-border,#555));background:color-mix(in srgb,var(--os-panel,#171717) 94%,transparent)}
.techgrid-builtin-visibility-copy{display:grid;gap:5px;min-width:0}.techgrid-builtin-visibility-copy strong{font-size:12px;letter-spacing:.04em}.techgrid-builtin-visibility-copy span{font-size:11px;line-height:1.45;opacity:.82}
.techgrid-builtin-visibility-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px 8px}.techgrid-builtin-visibility-grid label{display:flex;align-items:center;gap:7px;min-height:28px;padding:4px 7px;border:1px solid color-mix(in srgb,var(--os-border,#555) 82%,transparent);background:color-mix(in srgb,var(--os-panel-2,#222) 90%,transparent);cursor:pointer}.techgrid-builtin-visibility-grid label:has(input:checked){border-color:color-mix(in srgb,var(--os-accent,#ff9500) 72%,var(--os-border,#555));background:color-mix(in srgb,var(--os-accent,#ff9500) 10%,var(--os-panel-2,#222))}.techgrid-builtin-visibility-grid input{margin:0}.techgrid-builtin-visibility-grid span{min-width:0;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.techgrid-builtin-visibility-panel>.admin-actions{grid-column:1/-1;margin:0;padding-top:2px}.surface-chip{display:inline-flex;align-items:center;justify-content:center;min-width:27px;height:18px;padding:0 5px;border:1px solid currentColor;font:700 9px/1 Consolas,monospace;letter-spacing:.03em}.surface-chip.is-on{color:var(--os-accent,#ff9500);opacity:.95}.surface-chip.is-off{color:currentColor;opacity:.32;text-decoration:line-through}
@media (max-width:760px){.techgrid-builtin-visibility-panel{grid-template-columns:1fr}.techgrid-builtin-visibility-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:430px){.techgrid-builtin-visibility-panel{padding:9px;gap:9px}.techgrid-builtin-visibility-grid{grid-template-columns:1fr}.techgrid-builtin-visibility-grid label{min-height:28px}.techgrid-builtin-visibility-panel>.admin-actions .os-btn{font-size:10px!important;padding-inline:8px!important}}

body.techgrid-fui-active .tg-hover-readout.is-suppressed{opacity:0!important;visibility:hidden!important;pointer-events:none!important}

/* MKL | 02.10.2026 – Schritt 259: Eingebettete PRAETORIAN-Module erhalten eine echte Viewport-Höhe; die bisher auf 0 px kollabierende Body-/Desktop-Kette macht vorhandene Funktionen wieder sichtbar und scrollbar. */
html.techgrid-module-document{height:100%!important;min-height:100%!important;overflow:hidden!important}
html.techgrid-module-document>body.techgrid-module{
  box-sizing:border-box!important;
  width:100%!important;
  height:100dvh!important;
  min-height:100dvh!important;
  max-height:100dvh!important;
  overflow:hidden!important;
}
body.techgrid-module>.os-shell,
body.techgrid-module>.os-shell>.desktop{
  box-sizing:border-box!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:100%!important;
  overflow:hidden!important;
}
body.techgrid-module>.os-shell>.desktop>.os-stage{
  position:absolute!important;
  inset:0!important;
  box-sizing:border-box!important;
  width:auto!important;
  height:auto!important;
  min-width:0!important;
  min-height:0!important;
  overflow:hidden!important;
}
body.techgrid-module #praetorianControlWindow{
  position:absolute!important;
  inset:0!important;
  width:auto!important;
  height:auto!important;
  min-width:0!important;
  min-height:0!important;
}
body.techgrid-module #praetorianControlWindow>.prae-main{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  width:auto!important;
  height:auto!important;
  min-width:0!important;
  min-height:0!important;
  overflow:hidden!important;
}
body.techgrid-module #praetorianControlWindow .prae-content{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  width:auto!important;
  height:auto!important;
  min-width:0!important;
  min-height:0!important;
  overflow:auto!important;
  overscroll-behavior:contain!important;
}


/* MKL | 02.10.2026 – Schritt 261: Global Chat zeigt Benutzernamen vollständig und ruhig im Nachrichtenblock; der eigentliche Nachrichtentext startet normalgewichtig mit Abstand. Das Linkmenü der versteckten Zugangspunkte erscheint als kompaktes Hex-Cluster ohne zusätzliche Überschrift. */
body.techgrid-fui-active .netchat-window{
  --nc-frame:color-mix(in srgb,var(--tg-panel-2) 94%,#000 6%);
  --nc-stage:linear-gradient(180deg,color-mix(in srgb,var(--tg-line) 4%,transparent),transparent 22%),var(--tg-panel);
  --nc-stage-2:color-mix(in srgb,var(--tg-panel) 86%,transparent);
  --nc-card:color-mix(in srgb,var(--tg-card) 84%,var(--tg-panel-2));
  --nc-card-soft:color-mix(in srgb,var(--tg-panel-2) 78%,transparent);
  --nc-edge:color-mix(in srgb,var(--tg-line) 44%,var(--tg-edge));
  --nc-accent:var(--tg-line);
  --nc-accent-2:var(--tg-line-2);
  --nc-text:var(--tg-ink);
  --nc-muted:color-mix(in srgb,var(--tg-muted) 82%,var(--tg-ink) 18%);
  --nc-glow:color-mix(in srgb,var(--tg-glow) 72%,transparent);
}
body.techgrid-fui-active .netchat-window>.win-body{background:var(--nc-frame)!important}
body.techgrid-fui-active .netchat-stage{background:var(--nc-stage)!important;color:var(--nc-text)!important}
body.techgrid-fui-active .netchat-header-strip{background:linear-gradient(90deg,color-mix(in srgb,var(--nc-accent) 15%,#061018),color-mix(in srgb,var(--nc-accent-2) 10%,#07131a))!important;color:var(--nc-accent-2)!important;border-bottom:1px solid var(--nc-edge)!important;box-shadow:inset 0 -1px 0 color-mix(in srgb,var(--nc-accent-2) 25%,transparent)!important}
body.techgrid-fui-active .netchat-toolbar{background:linear-gradient(180deg,color-mix(in srgb,var(--nc-accent) 10%,var(--nc-frame)),color-mix(in srgb,var(--nc-accent-2) 4%,var(--nc-stage-2)))!important;border-top:1px solid color-mix(in srgb,var(--nc-accent-2) 30%,transparent)!important;border-bottom:1px solid var(--nc-edge)!important}
body.techgrid-fui-active .netchat-logo{color:var(--nc-accent-2)!important;text-shadow:0 0 0 transparent,0 0 10px color-mix(in srgb,var(--nc-glow) 45%,transparent)!important}
body.techgrid-fui-active .netchat-logo-live,
body.techgrid-fui-active .netchat-presence-label,
body.techgrid-fui-active .netchat-roster-empty{color:var(--nc-muted)!important}
body.techgrid-fui-active .netchat-online{background:color-mix(in srgb,var(--nc-card) 82%,transparent)!important;border:1px solid var(--nc-edge)!important;border-radius:8px!important;box-shadow:inset 0 0 14px rgba(0,0,0,.22),0 0 10px color-mix(in srgb,var(--nc-glow) 18%,transparent)!important}
body.techgrid-fui-active .netchat-online.active{outline:1px solid var(--nc-accent-2)!important;box-shadow:0 0 0 1px color-mix(in srgb,var(--nc-accent-2) 28%,transparent),0 0 12px color-mix(in srgb,var(--nc-glow) 36%,transparent)!important}
body.techgrid-fui-active .netchat-frame{background:var(--nc-stage)!important}
body.techgrid-fui-active .netchat-messages{background:linear-gradient(180deg,color-mix(in srgb,var(--nc-accent) 3%,transparent),transparent 28%),var(--nc-card-soft)!important;border:1px solid var(--nc-edge)!important;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--nc-accent-2) 16%,transparent),inset 0 0 24px rgba(0,0,0,.18)!important;color:var(--nc-text)!important}
body.techgrid-fui-active .netchat-empty{color:var(--nc-text)!important;text-shadow:none!important}
body.techgrid-fui-active .netchat-row{grid-template-columns:54px minmax(0,1fr)!important;gap:10px!important;align-items:start!important;margin-bottom:7px!important;min-height:0!important}
body.techgrid-fui-active .netchat-usercell{display:flex!important;justify-content:center!important;align-items:flex-start!important;background:transparent!important;border:0!important;padding:2px 0 0!important;min-height:0!important;grid-template-columns:none!important}
body.techgrid-fui-active .netchat-userlabel{display:none!important}
body.techgrid-fui-active .netchat-avatarbox{width:42px!important;height:auto!important;background:transparent!important;padding:0!important}
body.techgrid-fui-active .netchat-avatarbox img{width:36px!important;height:36px!important;background:color-mix(in srgb,var(--nc-frame) 92%,transparent)!important;border:1px solid var(--nc-edge)!important;box-shadow:none!important}
body.techgrid-fui-active .netchat-bubble{padding:7px 34px 6px 10px!important;display:block!important;background:linear-gradient(145deg,color-mix(in srgb,var(--nc-card) 92%,transparent),color-mix(in srgb,var(--nc-frame) 88%,transparent))!important;border:1px solid color-mix(in srgb,var(--nc-accent) 28%,transparent)!important;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--nc-accent-2) 10%,transparent)!important}
body.techgrid-fui-active .netchat-text{display:flex!important;flex-wrap:wrap!important;align-items:baseline!important;column-gap:0!important;row-gap:3px!important;white-space:normal!important;word-break:normal!important;overflow-wrap:anywhere!important;font:400 15px/1.42 Arial,sans-serif!important;letter-spacing:0!important;color:var(--nc-text)!important;text-shadow:none!important}
body.techgrid-fui-active .netchat-name-inline{display:inline!important;max-width:100%!important;font:700 12px/1.35 Consolas,monospace!important;letter-spacing:.06em!important;text-transform:uppercase!important;color:var(--nc-accent-2)!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important}
body.techgrid-fui-active .netchat-name-inline::after{content:"  ";white-space:pre}
body.techgrid-fui-active .netchat-message-inline{display:inline!important;min-width:0!important;font:400 15px/1.42 Arial,sans-serif!important;color:var(--nc-text)!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important}
body.techgrid-fui-active .netchat-row.mine .netchat-message-inline{color:color-mix(in srgb,var(--nc-accent-2) 54%,var(--nc-text))!important}
body.techgrid-fui-active .netchat-compose{background:linear-gradient(180deg,color-mix(in srgb,var(--nc-accent) 7%,var(--nc-stage-2)),var(--nc-stage-2))!important;border-top:1px solid var(--nc-edge)!important}
body.techgrid-fui-active .netchat-input{background:color-mix(in srgb,var(--nc-frame) 92%,transparent)!important;border:1px solid var(--nc-edge)!important;box-shadow:inset 0 0 18px rgba(0,0,0,.22)!important;color:var(--nc-text)!important;caret-color:var(--nc-accent-2)!important;font:400 14px/1.38 Arial,sans-serif!important}
body.techgrid-fui-active .netchat-input::placeholder{color:color-mix(in srgb,var(--nc-muted) 74%,transparent)!important}
body.techgrid-fui-active .netchat-send{border:1px solid color-mix(in srgb,var(--nc-accent-2) 42%,transparent)!important;border-radius:0!important;clip-path:polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px)!important;width:auto!important;min-width:74px!important;height:42px!important;padding:0 14px!important;justify-self:end!important;background:linear-gradient(135deg,color-mix(in srgb,var(--nc-accent) 16%,var(--nc-frame)),color-mix(in srgb,var(--nc-accent-2) 8%,var(--nc-stage-2)))!important;color:var(--nc-accent-2)!important;font:700 11px/1 Consolas,monospace!important;letter-spacing:.08em!important;box-shadow:0 0 12px color-mix(in srgb,var(--nc-glow) 18%,transparent)!important}
body.techgrid-fui-active .netchat-send:hover,
body.techgrid-fui-active .netchat-send:focus-visible{border-color:var(--nc-accent-2)!important;filter:brightness(1.08)!important;outline:none!important}
body.techgrid-fui-active .netchat-footer{background:linear-gradient(180deg,color-mix(in srgb,var(--nc-accent) 5%,var(--nc-frame)),var(--nc-frame))!important;color:var(--nc-muted)!important;border-top:1px solid color-mix(in srgb,var(--nc-accent) 26%,transparent)!important}
body.techgrid-fui-active .netchat-delete{border:1px solid color-mix(in srgb,#ff7064 55%,var(--nc-edge))!important;background:linear-gradient(180deg,color-mix(in srgb,#b82020 82%,var(--nc-frame)),color-mix(in srgb,#631315 90%,var(--nc-frame)))!important;box-shadow:none!important;position:absolute!important;right:7px!important;top:7px!important}
@media(max-width:720px){
  body.techgrid-fui-active .netchat-row{grid-template-columns:46px minmax(0,1fr)!important;gap:8px!important}
  body.techgrid-fui-active .netchat-avatarbox{width:36px!important}
  body.techgrid-fui-active .netchat-avatarbox img{width:32px!important;height:32px!important}
  body.techgrid-fui-active .netchat-bubble{padding:6px 31px 6px 8px!important}
  body.techgrid-fui-active .netchat-text,body.techgrid-fui-active .netchat-message-inline{font-size:14px!important;line-height:1.38!important}
  body.techgrid-fui-active .netchat-name-inline{font-size:11px!important;line-height:1.34!important}
  body.techgrid-fui-active .netchat-compose{grid-template-columns:1fr auto!important}
  body.techgrid-fui-active .netchat-send{min-width:66px!important;height:40px!important;padding:0 11px!important;font-size:10px!important}
}

body.techgrid-fui-active .home-access-link-menu{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;width:min(280px,calc(100vw - 18px))!important;max-width:min(280px,calc(100vw - 18px))!important;transform-origin:center center!important}
body.techgrid-fui-active .home-access-link-menu-title{display:none!important}
body.techgrid-fui-active .home-access-link-menu-list{display:flex!important;flex-wrap:wrap!important;align-items:flex-start!important;justify-content:flex-start!important;gap:4px 0!important;padding:0!important}
body.techgrid-fui-active .home-access-link-menu-item{position:relative!important;display:grid!important;place-items:center!important;min-width:96px!important;max-width:130px!important;width:max-content!important;min-height:50px!important;padding:10px 14px!important;margin:0!important;margin-right:-10px!important;border:1px solid color-mix(in srgb,var(--tg-line) 62%,var(--tg-edge))!important;background:linear-gradient(145deg,color-mix(in srgb,var(--tg-panel-2) 96%,black),color-mix(in srgb,var(--tg-panel) 88%,transparent))!important;color:var(--tg-line)!important;clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%)!important;box-shadow:0 0 12px color-mix(in srgb,var(--tg-glow) 22%,transparent),inset 0 0 0 1px color-mix(in srgb,var(--tg-line-2) 12%,transparent)!important;text-align:center!important;font:700 10px/1.15 Consolas,monospace!important;letter-spacing:.06em!important;text-transform:uppercase!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;transition:transform .12s ease,filter .12s ease,border-color .12s ease,background .12s ease!important}
body.techgrid-fui-active .home-access-link-menu-item:nth-child(even){transform:translateY(25px)!important}
body.techgrid-fui-active .home-access-link-menu-item:nth-child(odd):last-child{margin-left:49px!important}
body.techgrid-fui-active .home-access-link-menu-item:hover,
body.techgrid-fui-active .home-access-link-menu-item:focus-visible{outline:none!important;border-color:var(--tg-line-2)!important;background:linear-gradient(145deg,color-mix(in srgb,var(--tg-line) 10%,var(--tg-panel-2)),color-mix(in srgb,var(--tg-line-2) 8%,var(--tg-panel)))!important;color:var(--tg-line-2)!important;filter:brightness(1.06)!important;z-index:2!important}
body.techgrid-fui-active .home-access-link-menu-item:active{transform:translateY(1px)!important}
body.techgrid-fui-active .home-access-link-menu-item:nth-child(even):active{transform:translateY(26px)!important}
@media(max-width:560px){
  body.techgrid-fui-active .home-access-link-menu{width:min(238px,calc(100vw - 16px))!important;max-width:min(238px,calc(100vw - 16px))!important}
  body.techgrid-fui-active .home-access-link-menu-item{min-width:88px!important;max-width:114px!important;min-height:46px!important;padding:9px 12px!important;font-size:9px!important}
  body.techgrid-fui-active .home-access-link-menu-item:nth-child(odd):last-child{margin-left:44px!important}
  body.techgrid-fui-active .home-access-link-menu-item:nth-child(even){transform:translateY(22px)!important}
  body.techgrid-fui-active .home-access-link-menu-item:nth-child(even):active{transform:translateY(23px)!important}
}


/* MKL | 02.10.2026 – Schritt 262: Versteckte Zugangspunkte zeigen auf der Startseite echte, zusammenhängende Hex-Waben. Das Menü ist unabhängig vom TechGrid-Zustand schwarz/orange, ohne Überschrift und wird vollständig im sichtbaren Viewport positioniert. */
.home-access-link-menu{
  position:fixed!important;
  z-index:2147482500!important;
  width:220px!important;
  max-width:calc(100vw - 14px)!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  opacity:0!important;
  transform:scale(.94)!important;
  transform-origin:center center!important;
  transition:opacity .12s ease,transform .14s cubic-bezier(.2,.72,.28,1)!important;
  pointer-events:none!important;
  overflow:visible!important;
}
.home-access-link-menu.is-open{opacity:1!important;transform:scale(1)!important;pointer-events:auto!important}
.home-access-link-menu-title{display:none!important}
.home-access-link-menu-list{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:flex-start!important;
  align-content:flex-start!important;
  justify-content:flex-start!important;
  width:220px!important;
  max-width:100%!important;
  padding:0!important;
  margin:0!important;
  gap:0!important;
  overflow:visible!important;
}
.home-access-link-menu-item{
  --access-hex-w:126px;
  --access-hex-h:72px;
  appearance:none!important;
  position:relative!important;
  isolation:isolate!important;
  flex:0 0 var(--access-hex-w)!important;
  width:var(--access-hex-w)!important;
  min-width:var(--access-hex-w)!important;
  max-width:var(--access-hex-w)!important;
  height:var(--access-hex-h)!important;
  min-height:var(--access-hex-h)!important;
  margin:0 -31px 0 0!important;
  padding:0 22px!important;
  border:0!important;
  border-radius:0!important;
  background:#ff8a00!important;
  color:#ff8a00!important;
  clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%)!important;
  box-shadow:none!important;
  display:grid!important;
  place-items:center!important;
  text-align:center!important;
  font:700 10px/1.18 Consolas,"Cascadia Mono",monospace!important;
  letter-spacing:.05em!important;
  text-transform:uppercase!important;
  white-space:normal!important;
  overflow:visible!important;
  cursor:pointer!important;
  transition:filter .12s ease,transform .12s ease!important;
}
.home-access-link-menu-item::before{
  content:"";
  position:absolute;
  inset:2px;
  z-index:0;
  background:linear-gradient(145deg,#050505 0%,#0b0906 58%,#151006 100%);
  clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%);
  pointer-events:none;
}
.home-access-link-menu-item::after{
  content:"";
  position:absolute;
  inset:8px;
  z-index:0;
  border-top:1px solid rgba(255,138,0,.26);
  border-bottom:1px solid rgba(255,138,0,.12);
  clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%);
  pointer-events:none;
}
.home-access-link-menu-label{
  position:relative!important;
  z-index:1!important;
  display:block!important;
  max-width:82px!important;
  color:#ff8a00!important;
  text-shadow:0 0 7px rgba(255,138,0,.22)!important;
  white-space:normal!important;
  overflow-wrap:break-word!important;
  word-break:normal!important;
}
.home-access-link-menu-item:hover,
.home-access-link-menu-item:focus-visible{
  outline:none!important;
  filter:brightness(1.18) drop-shadow(0 0 7px rgba(255,138,0,.34))!important;
}
.home-access-link-menu-item:hover .home-access-link-menu-label,
.home-access-link-menu-item:focus-visible .home-access-link-menu-label{color:#ffb13b!important}
.home-access-link-menu-item:active{transform:scale(.97)!important}
@media(max-width:360px){
  .home-access-link-menu,.home-access-link-menu-list{width:204px!important}
  .home-access-link-menu-item{--access-hex-w:118px;--access-hex-h:68px;margin-right:-29px!important;padding:0 20px!important;font-size:9.5px!important}
  .home-access-link-menu-label{max-width:76px!important}
}
@media(max-height:270px){
  .home-access-link-menu{max-height:calc(100dvh - 14px)!important;overflow:auto!important;scrollbar-width:none!important}
  .home-access-link-menu::-webkit-scrollbar{display:none!important}
}
@media(prefers-reduced-motion:reduce){.home-access-link-menu,.home-access-link-menu-item{transition:none!important}}


/* MKL | 02.10.2026 – Schritt 264: Das Mehrfach-Linkmenü der versteckten Zugangspunkte übernimmt die reale TechGrid-Wabe im Kleinformat: identische Flat-Top-Hexproportion, mehrstufiger orangefarbener Rahmen, schwarze Innenfläche, technische Eckmarken und Signalrail. Nachbarwaben teilen exakt eine Seitenkante. */
.home-access-link-menu{
  position:fixed!important;
  z-index:2147482500!important;
  width:var(--home-access-menu-width,220px)!important;
  height:var(--home-access-menu-height,120px)!important;
  min-width:0!important;
  max-width:none!important;
  max-height:none!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  clip-path:none!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#ff8a00!important;
  overflow:visible!important;
  backdrop-filter:none!important;
  transform-origin:center center!important;
  transform:scale(.94)!important;
  opacity:0!important;
  pointer-events:none!important;
  transition:transform .17s cubic-bezier(.2,.78,.22,1),opacity .13s ease!important;
}
.home-access-link-menu.is-open{
  transform:scale(1)!important;
  opacity:1!important;
  pointer-events:auto!important;
}
.home-access-link-menu-title{display:none!important}
.home-access-link-menu-list{
  position:relative!important;
  display:block!important;
  width:var(--home-access-menu-width,220px)!important;
  height:var(--home-access-menu-height,120px)!important;
  min-width:0!important;
  min-height:0!important;
  max-width:none!important;
  max-height:none!important;
  padding:0!important;
  margin:0!important;
  background:transparent!important;
  overflow:visible!important;
}
.home-access-link-menu-item{
  --access-hex-w:var(--home-access-tile-width,94px);
  --access-hex-h:var(--home-access-tile-height,83px);
  appearance:none!important;
  position:absolute!important;
  left:0;
  top:0;
  z-index:calc(10 + var(--access-i,0))!important;
  display:grid!important;
  place-items:center!important;
  width:var(--access-hex-w)!important;
  min-width:var(--access-hex-w)!important;
  max-width:var(--access-hex-w)!important;
  height:var(--access-hex-h)!important;
  min-height:var(--access-hex-h)!important;
  max-height:var(--access-hex-h)!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%)!important;
  background:transparent!important;
  color:#ff8a00!important;
  box-shadow:none!important;
  overflow:hidden!important;
  isolation:isolate!important;
  cursor:pointer!important;
  transform:none!important;
  filter:none!important;
  transition:filter .14s ease!important;
}
/* Äußerer TechGrid-Frame: dieselbe Dreifach-Farbführung wie bei .tg-node-frame, auf Schwarz/Orange reduziert. */
.home-access-link-menu-item::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  clip-path:inherit!important;
  background:linear-gradient(140deg,#ff9d22 0%,#ff7a00 46%,#ffc04a 70%,#ff7a00 100%)!important;
  filter:drop-shadow(0 0 7px rgba(255,138,0,.34))!important;
  pointer-events:none!important;
}
/* Innere TechGrid-Fläche: echter schwarzer Kern mit zweiter feiner Rahmenkante. */
.home-access-link-menu-item::after{
  content:""!important;
  position:absolute!important;
  inset:4px!important;
  z-index:1!important;
  clip-path:inherit!important;
  background:
    linear-gradient(180deg,rgba(255,138,0,.075),transparent 24%),
    linear-gradient(145deg,#0b0906 0%,#030303 58%,#100a04 100%)!important;
  box-shadow:inset 0 0 0 1px rgba(255,154,31,.32),inset 0 0 20px rgba(0,0,0,.58)!important;
  pointer-events:none!important;
}
/* Obere linke und untere rechte technische Eckmarken entsprechen den TechGrid-Node-Markierungen. */
.home-access-link-menu-mark{
  position:absolute!important;
  z-index:3!important;
  display:block!important;
  pointer-events:none!important;
  background:none!important;
}
.home-access-link-menu-mark.mark-a{
  left:17%!important;
  top:14%!important;
  width:27%!important;
  height:19%!important;
  border-top:2px solid #ffc04a!important;
  border-left:2px solid #ff8a00!important;
  transform:skewX(-28deg)!important;
  opacity:.86!important;
  filter:drop-shadow(0 0 3px rgba(255,138,0,.38))!important;
}
.home-access-link-menu-mark.mark-b{
  right:17%!important;
  bottom:14%!important;
  width:25%!important;
  height:17%!important;
  border-right:1px solid #ffad31!important;
  border-bottom:1px solid #ff7a00!important;
  transform:skewX(-28deg)!important;
  opacity:.66!important;
  filter:drop-shadow(0 0 2px rgba(255,138,0,.28))!important;
}
.home-access-link-menu-rail{
  position:absolute!important;
  z-index:3!important;
  left:18%!important;
  right:18%!important;
  bottom:13%!important;
  height:1px!important;
  display:block!important;
  pointer-events:none!important;
  background:linear-gradient(90deg,transparent 0 4%,#ff7a00 12%,transparent 35%,#ffc04a 56%,transparent 84%,#ff8a00 95%,transparent 100%)!important;
  background-size:230% 100%!important;
  opacity:.66!important;
  animation:tgRail 4.1s linear infinite!important;
}
.home-access-link-menu-label{
  position:relative!important;
  z-index:4!important;
  display:block!important;
  width:64%!important;
  max-width:64%!important;
  margin:0 auto!important;
  padding:0!important;
  color:#ff9b1d!important;
  text-shadow:0 0 6px rgba(255,138,0,.24)!important;
  font:800 9.4px/1.12 "Segoe UI",Arial,sans-serif!important;
  letter-spacing:.045em!important;
  text-transform:uppercase!important;
  text-align:center!important;
  white-space:normal!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:auto!important;
}
.home-access-link-menu-item:hover,
.home-access-link-menu-item:focus-visible{
  outline:none!important;
  filter:drop-shadow(0 0 9px rgba(255,138,0,.48)) brightness(1.08)!important;
}
.home-access-link-menu-item:hover::before,
.home-access-link-menu-item:focus-visible::before{
  background:linear-gradient(140deg,#ffc25a 0%,#ff8a00 44%,#ffd36e 70%,#ff8a00 100%)!important;
}
.home-access-link-menu-item:hover .home-access-link-menu-label,
.home-access-link-menu-item:focus-visible .home-access-link-menu-label{color:#ffc04a!important}
.home-access-link-menu-item:active{filter:drop-shadow(0 0 6px rgba(255,138,0,.34)) brightness(.96)!important}
@media(max-width:479px){.home-access-link-menu-label{font-size:8.9px!important;letter-spacing:.035em!important}}
@media(max-width:359px){.home-access-link-menu-label{font-size:8.3px!important;letter-spacing:.025em!important;width:62%!important;max-width:62%!important}}
@media(prefers-reduced-motion:reduce){.home-access-link-menu,.home-access-link-menu-item{transition:none!important}.home-access-link-menu-rail{animation:none!important}}

/* MKL | 02.10.2026 – Schritt 265: Fokus bleibt hexagonal; Systemkonsolen simulieren lesbar einen Zugriffversuch; Pizza.Net, Mozart's Ghost und Easter-Egg-Konfiguration erhalten belastbare Höhen-/Kontrastregeln. */
/* TechGrid-Knoten: Browser-/Alt-Fokus darf niemals als rechteckiger Rahmen um eine Wabe erscheinen. */
body.os-body.techgrid-fui-active .techgrid-desktop-v3 button.tg-node:focus,
body.os-body.techgrid-fui-active .techgrid-desktop-v3 button.tg-node:focus-visible,
body.techgrid-fui-active .tg-node:focus,
body.techgrid-fui-active .tg-node:focus-visible{
  outline:0!important;
  outline-offset:0!important;
  box-shadow:none!important;
}
body.techgrid-fui-active .tg-node:focus-visible .tg-node-frame{
  filter:drop-shadow(0 0 7px var(--tg-line)) drop-shadow(0 0 15px var(--tg-line-2))!important;
}
body.techgrid-fui-active .tg-node:focus-visible .tg-node-surface{
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--tg-line-2) 46%,transparent),inset 0 0 26px color-mix(in srgb,var(--tg-glow) 28%,transparent)!important;
}

/* My Computer / My Network / Documents: echte schwarze Security-Konsole statt grauer Altfläche. */
body.techgrid-fui-active .fake-dos-window>.win-body,
body.techgrid-fui-active .fake-dos-window .dos-shell{
  background:#020503!important;
  color:#7dff9e!important;
  border-color:color-mix(in srgb,var(--tg-line) 62%,#194b2a)!important;
}
body.techgrid-fui-active .fake-dos-window .dos-shell{
  position:relative!important;
  box-shadow:inset 0 0 32px rgba(0,0,0,.92),inset 0 0 0 1px rgba(80,255,130,.08)!important;
}
body.techgrid-fui-active .fake-dos-window .dos-shell::after{
  content:"";
  position:absolute;inset:0;pointer-events:none;z-index:3;
  background:repeating-linear-gradient(180deg,rgba(115,255,151,.022) 0 1px,transparent 1px 4px);
  mix-blend-mode:screen;
}
body.techgrid-fui-active .fake-dos-window .dos-context{
  position:relative;z-index:4;
  background:linear-gradient(90deg,#03140a,#061009 62%,#020503)!important;
  border-bottom:1px solid #1fa94d!important;
  color:#72ff96!important;
  text-shadow:0 0 7px rgba(68,255,119,.38)!important;
}
body.techgrid-fui-active .fake-dos-window .dos-context span{
  overflow:visible!important;text-overflow:clip!important;white-space:normal!important;
}
body.techgrid-fui-active .fake-dos-window .dos-context b{color:#f2b45d!important;text-shadow:0 0 7px rgba(255,166,61,.28)!important}
body.techgrid-fui-active .fake-dos-window .dos-output{
  position:relative;z-index:2;
  padding:12px!important;
  background:radial-gradient(circle at 50% 40%,rgba(16,70,35,.12),transparent 58%),#010302!important;
  color:#82f59e!important;
  border:0!important;
  font:13px/1.48 Consolas,"Cascadia Mono","Courier New",monospace!important;
  text-shadow:0 0 5px rgba(89,255,126,.20)!important;
}
body.techgrid-fui-active .fake-dos-window .dos-output span{display:block;max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere}
body.techgrid-fui-active .fake-dos-window .dos-hack-kicker{color:#53c974!important;opacity:.82!important}
body.techgrid-fui-active .fake-dos-window .dos-hack-command{color:#d8ffe1!important}
body.techgrid-fui-active .fake-dos-window .dos-hack-scan{color:#73ff9a!important}
body.techgrid-fui-active .fake-dos-window .dos-hack-probe{color:#8be8ff!important}
body.techgrid-fui-active .fake-dos-window .dos-hack-auth{color:#ffd36d!important}
body.techgrid-fui-active .fake-dos-window .dos-hack-alert{color:#ff9a73!important;text-shadow:0 0 7px rgba(255,92,54,.28)!important}
body.techgrid-fui-active .fake-dos-window .dos-hack-block,
body.techgrid-fui-active .fake-dos-window .dos-denied{color:#ff6f6f!important;font-weight:800!important;text-shadow:0 0 8px rgba(255,55,55,.34)!important}

/* Pizza.Net: Browser-Chrome bleibt im Fenster; ausschließlich die Webseite darunter scrollt. */
body.os-body .pizza-net-window>.win-body{
  height:calc(100% - 28px)!important;
  min-height:0!important;
  max-height:calc(100% - 28px)!important;
  padding:0!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}
body.os-body .pizza-net-window .pizza-browser{
  display:flex!important;flex-direction:column!important;
  width:100%!important;height:100%!important;max-height:100%!important;min-height:0!important;
  overflow:hidden!important;box-sizing:border-box!important;
}
body.os-body .pizza-net-window .pizza-browser-chrome{flex:0 0 auto!important;min-height:0!important}
body.os-body .pizza-net-window .pizza-browser-body{
  flex:1 1 0!important;min-height:0!important;height:auto!important;max-height:none!important;
  overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;
  box-sizing:border-box!important;padding:8px!important;
}
body.os-body .pizza-net-window .pizza-sequence-page{
  width:min(100%,650px)!important;height:auto!important;min-height:100%!important;max-height:none!important;
  box-sizing:border-box!important;margin:0 auto!important;overflow:visible!important;
}
body.os-body .pizza-net-window .pizza-menu-film,
body.os-body .pizza-net-window .pizza-address-film,
body.os-body .pizza-net-window .pizza-transmit-screen{
  height:auto!important;min-height:0!important;max-height:none!important;box-sizing:border-box!important;
}
/* Dunkle Filmflächen: rote Informationstexte bewusst hellrot statt dunkelrot. */
body.os-body .pizza-net-window .pizza-scene-address .pizza-address-prompt,
body.os-body .pizza-net-window .pizza-scene-address .pizza-data-row span,
body.os-body .pizza-net-window .pizza-scene-address .pizza-delivery-choice strong,
body.os-body .pizza-net-window .pizza-transmit-error,
body.os-body .pizza-net-window .pizza-final-alert strong{
  color:#ff9d94!important;
  text-shadow:0 1px 0 rgba(70,0,0,.7),0 0 7px rgba(255,95,85,.22)!important;
}
body.os-body .pizza-net-window .pizza-scene-address .pizza-data-row strong{color:#fff0c5!important}
@media(max-height:620px){
  body.os-body .pizza-net-window .pizza-browser-body{padding:6px!important}
  body.os-body .pizza-net-window .pizza-ad-head{min-height:52px!important;height:auto!important;padding-block:4px!important}
  body.os-body .pizza-net-window .pizza-ad-title{font-size:32px!important}
  body.os-body .pizza-net-window .pizza-ad-tagline{font-size:10px!important;margin-top:1px!important}
}

/* Mozart's Ghost: weniger grelle Weiß-/Cyanwerte, klare Hierarchie bei allen TechGrid-Farbschemata. */
body[class*="user-theme-techgrid-"] .mozart-tool{
  --moz-text:color-mix(in srgb,var(--tg-ink) 72%,var(--tg-muted) 28%);
  --moz-soft:color-mix(in srgb,var(--tg-muted) 88%,var(--tg-ink) 12%);
  --moz-accent:color-mix(in srgb,var(--tg-line) 74%,var(--tg-ink) 26%);
  --moz-accent-2:color-mix(in srgb,var(--tg-line-2) 68%,var(--tg-ink) 32%);
  color:var(--moz-text)!important;
}
body[class*="user-theme-techgrid-"] .mozart-tool .moz-browser{
  background:color-mix(in srgb,var(--tg-panel-2) 92%,transparent)!important;
  color:var(--moz-soft)!important;border-color:var(--tg-edge)!important;
}
body[class*="user-theme-techgrid-"] .mozart-tool .moz-browser div{
  background:color-mix(in srgb,var(--tg-bg) 78%,#000 10%)!important;
  color:var(--moz-soft)!important;border-color:color-mix(in srgb,var(--tg-edge) 76%,transparent)!important;
}
body[class*="user-theme-techgrid-"] .mozart-tool .moz-head{
  background:linear-gradient(90deg,color-mix(in srgb,var(--tg-line) 9%,transparent),transparent 70%),var(--tg-card)!important;
  color:var(--moz-text)!important;
}
body[class*="user-theme-techgrid-"] .mozart-tool .moz-head h1{color:var(--moz-accent-2)!important;text-shadow:0 0 8px color-mix(in srgb,var(--tg-glow) 32%,transparent)!important}
body[class*="user-theme-techgrid-"] .mozart-tool .moz-head p,
body[class*="user-theme-techgrid-"] .mozart-tool .moz-center p,
body[class*="user-theme-techgrid-"] .mozart-tool .moz-foot{color:var(--moz-soft)!important;text-shadow:none!important}
body[class*="user-theme-techgrid-"] .mozart-tool .moz-columns section,
body[class*="user-theme-techgrid-"] .mozart-tool .moz-player,
body[class*="user-theme-techgrid-"] .mozart-tool .moz-node-panel{
  background:color-mix(in srgb,var(--tg-card) 92%,var(--tg-panel-2))!important;
  color:var(--moz-text)!important;border-color:color-mix(in srgb,var(--tg-edge) 76%,transparent)!important;
}
body[class*="user-theme-techgrid-"] .mozart-tool .moz-columns h2{color:var(--moz-accent)!important;border-color:color-mix(in srgb,var(--tg-edge) 64%,transparent)!important;text-shadow:none!important}
body[class*="user-theme-techgrid-"] .mozart-tool .moz-columns button,
body[class*="user-theme-techgrid-"] .mozart-tool .moz-player button{color:var(--moz-accent-2)!important;background:color-mix(in srgb,var(--tg-line) 6%,var(--tg-panel-2))!important}
body[class*="user-theme-techgrid-"] .mozart-tool .moz-player-display{color:var(--moz-accent-2)!important;text-shadow:none!important}
body[class*="user-theme-techgrid-"] .mozart-tool .moz-counter{color:#7ee69a!important;background:#020603!important;border:1px solid rgba(126,230,154,.35)!important}
body.user-theme-techgrid-matrix .mozart-tool{
  --moz-text:#18382e;--moz-soft:#42695d;--moz-accent:#087b5d;--moz-accent-2:#075c47;
}
body.user-theme-techgrid-matrix .mozart-tool .moz-browser div{background:#edf5f1!important;color:#294a40!important}
body.user-theme-techgrid-matrix .mozart-tool .moz-counter{color:#0d633f!important;background:#e9f3ee!important;border-color:#79af98!important}

/* Easter-Egg-Konfiguration: auch im eingebetteten PRAETORIAN-Modul klare Texte und eindeutige Auswahlfelder. */
body.techgrid-module[data-prae-view="eastereggs"] .easter-management-frame,
body.techgrid-fui-active .easter-management-frame{color:var(--tg-ink)!important}
body.techgrid-module[data-prae-view="eastereggs"] .easter-admin-intro,
body.techgrid-fui-active .easter-admin-intro{color:color-mix(in srgb,var(--tg-ink) 74%,var(--tg-muted) 26%)!important}
body.techgrid-module[data-prae-view="eastereggs"] .easter-admin-summary>span,
body.techgrid-fui-active .easter-admin-summary>span{
  color:var(--tg-ink)!important;background:color-mix(in srgb,var(--tg-panel-2) 92%,transparent)!important;
  border-color:color-mix(in srgb,var(--tg-edge) 68%,transparent)!important;
}
body.techgrid-module[data-prae-view="eastereggs"] .easter-admin-summary b,
body.techgrid-fui-active .easter-admin-summary b{color:var(--tg-line-2)!important}
body.techgrid-module[data-prae-view="eastereggs"] .easter-admin-card,
body.techgrid-fui-active .easter-admin-card{
  background:linear-gradient(145deg,color-mix(in srgb,var(--tg-line) 4%,var(--tg-card)),var(--tg-card))!important;
  color:var(--tg-ink)!important;border:1px solid color-mix(in srgb,var(--tg-edge) 78%,transparent)!important;
}
body.techgrid-module[data-prae-view="eastereggs"] .easter-admin-head strong,
body.techgrid-fui-active .easter-admin-head strong{color:var(--tg-ink)!important;font-weight:800!important}
body.techgrid-module[data-prae-view="eastereggs"] .easter-trigger,
body.techgrid-module[data-prae-view="eastereggs"] .easter-trigger b,
body.techgrid-fui-active .easter-trigger,
body.techgrid-fui-active .easter-trigger b{color:var(--tg-line-2)!important}
body.techgrid-module[data-prae-view="eastereggs"] .easter-trigger>span,
body.techgrid-fui-active .easter-trigger>span{color:var(--tg-muted)!important;opacity:1!important}
body.techgrid-module[data-prae-view="eastereggs"] .easter-description,
body.techgrid-fui-active .easter-description{color:color-mix(in srgb,var(--tg-ink) 78%,var(--tg-muted) 22%)!important}
body.techgrid-module[data-prae-view="eastereggs"] .easter-user-head,
body.techgrid-fui-active .easter-user-head{color:var(--tg-muted)!important;border-top-color:color-mix(in srgb,var(--tg-edge) 52%,transparent)!important}
body.techgrid-module[data-prae-view="eastereggs"] .easter-user-head strong,
body.techgrid-fui-active .easter-user-head strong{color:var(--tg-line)!important}
body.techgrid-module[data-prae-view="eastereggs"] .easter-admin-card .check-group>label,
body.techgrid-fui-active .easter-admin-card .check-group>label{
  min-height:40px!important;padding:7px 9px!important;
  color:var(--tg-ink)!important;background:color-mix(in srgb,var(--tg-panel-2) 84%,transparent)!important;
  border:1px solid color-mix(in srgb,var(--tg-edge) 50%,transparent)!important;
  outline:0!important;box-shadow:none!important;
}
body.techgrid-module[data-prae-view="eastereggs"] .easter-admin-card .check-group>label:hover,
body.techgrid-fui-active .easter-admin-card .check-group>label:hover{border-color:var(--tg-line)!important;background:color-mix(in srgb,var(--tg-line) 7%,var(--tg-panel-2))!important}
body.techgrid-module[data-prae-view="eastereggs"] .easter-admin-card .check-group>label:has(input:checked),
body.techgrid-fui-active .easter-admin-card .check-group>label:has(input:checked){
  color:var(--tg-ink)!important;background:color-mix(in srgb,var(--tg-line-2) 10%,var(--tg-panel-2))!important;
  border-color:color-mix(in srgb,var(--tg-line-2) 74%,var(--tg-edge))!important;
  box-shadow:inset 3px 0 0 var(--tg-line-2)!important;outline:0!important;
}
body.techgrid-module[data-prae-view="eastereggs"] .easter-admin-card .check-group small,
body.techgrid-fui-active .easter-admin-card .check-group small{color:var(--tg-muted)!important;opacity:1!important}
body.techgrid-module[data-prae-view="eastereggs"] .easter-admin-card input[type="checkbox"],
body.techgrid-fui-active .easter-admin-card input[type="checkbox"]{
  width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;max-width:20px!important;max-height:20px!important;
  flex:0 0 20px!important;margin:0!important;appearance:none!important;-webkit-appearance:none!important;
  border:2px solid color-mix(in srgb,var(--tg-line) 68%,var(--tg-edge))!important;border-radius:2px!important;
  background:color-mix(in srgb,var(--tg-panel-2) 94%,#000)!important;box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--tg-panel) 72%,transparent)!important;
}
body.techgrid-module[data-prae-view="eastereggs"] .easter-admin-card input[type="checkbox"]:checked,
body.techgrid-fui-active .easter-admin-card input[type="checkbox"]:checked{
  background-color:var(--tg-line-2)!important;border-color:var(--tg-line-2)!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l3.4 3.4L16 5.8' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;background-position:center!important;background-size:14px 14px!important;
  box-shadow:0 0 9px color-mix(in srgb,var(--tg-glow) 38%,transparent)!important;
}
body.user-theme-techgrid-light.techgrid-module[data-prae-view="eastereggs"] .easter-admin-card input[type="checkbox"]:checked,
body.user-theme-techgrid-light.techgrid-fui-active .easter-admin-card input[type="checkbox"]:checked{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l3.4 3.4L16 5.8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
}
body.techgrid-module[data-prae-view="eastereggs"] .easter-admin-card input[type="checkbox"]:focus-visible,
body.techgrid-fui-active .easter-admin-card input[type="checkbox"]:focus-visible{outline:1px solid var(--tg-line-2)!important;outline-offset:2px!important}
body.techgrid-module[data-prae-view="eastereggs"] .easter-admin-head .access-status.on,
body.techgrid-fui-active .easter-admin-head .access-status.on{background:color-mix(in srgb,#1a8f55 28%,var(--tg-panel-2))!important;color:#9dffc8!important;border-color:#4ed88d!important}
body.techgrid-module[data-prae-view="eastereggs"] .easter-admin-head .access-status.off,
body.techgrid-fui-active .easter-admin-head .access-status.off{background:color-mix(in srgb,#8f2932 22%,var(--tg-panel-2))!important;color:#ffb2b8!important;border-color:#d95c65!important}

html body.os-body.techgrid-fui-active:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-light,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-matrix,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) .techgrid-desktop-v3 button.tg-node:focus,
html body.os-body.techgrid-fui-active:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-light,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-matrix,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) .techgrid-desktop-v3 button.tg-node:focus-visible{
  outline:0!important;
  outline-offset:0!important;
  box-shadow:none!important;
}
body[class*="user-theme-techgrid-"] .mozart-tool .moz-head h1{
  color:color-mix(in srgb,var(--tg-line) 62%,var(--tg-muted) 38%)!important;
  text-shadow:0 0 6px color-mix(in srgb,var(--tg-glow) 18%,transparent)!important;
}
body[class*="user-theme-techgrid-"] .mozart-tool .moz-pi{
  color:color-mix(in srgb,var(--tg-line-2) 58%,var(--tg-muted) 42%)!important;
  background:color-mix(in srgb,var(--tg-panel-2) 92%,transparent)!important;
  border:1px solid color-mix(in srgb,var(--tg-edge) 74%,transparent)!important;
  text-shadow:0 0 5px color-mix(in srgb,var(--tg-glow) 18%,transparent)!important;
}
body[class*="user-theme-techgrid-"] .mozart-tool .moz-browser>span{color:var(--moz-soft)!important;text-shadow:none!important}
body.user-theme-techgrid-matrix .mozart-tool .moz-head h1{color:#176c54!important}
body.user-theme-techgrid-matrix .mozart-tool .moz-pi{color:#176c54!important;background:#e7f0eb!important;border-color:#79af98!important}
#praetorianControlWindow .easter-admin-card .check-group input[type="checkbox"]{
  width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;max-width:20px!important;max-height:20px!important;flex:0 0 20px!important;
}
body.techgrid-module[data-prae-view="eastereggs"] .easter-admin-summary{display:flex!important;align-items:center!important;gap:7px!important;flex-wrap:wrap!important;margin:0 0 12px!important}
body.techgrid-module[data-prae-view="eastereggs"] .easter-admin-summary>span{display:inline-flex!important;align-items:center!important;gap:5px!important;min-height:30px!important;padding:5px 9px!important;box-sizing:border-box!important;white-space:nowrap!important}
body.techgrid-module[data-prae-view="eastereggs"] .easter-admin-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(290px,100%),1fr))!important;gap:10px!important;align-items:start!important}
body.techgrid-module[data-prae-view="eastereggs"] .easter-admin-card{min-width:0!important;max-width:100%!important;overflow:hidden!important;padding:11px!important;box-sizing:border-box!important}
body.techgrid-module[data-prae-view="eastereggs"] .easter-admin-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:10px!important;min-width:0!important}
body.techgrid-module[data-prae-view="eastereggs"] .easter-admin-head strong{min-width:0!important;overflow-wrap:break-word!important;word-break:normal!important;line-height:1.25!important}
body.techgrid-module[data-prae-view="eastereggs"] .easter-trigger{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:start!important;gap:7px!important;margin-top:8px!important;min-width:0!important}
body.techgrid-module[data-prae-view="eastereggs"] .easter-trigger>b{min-width:0!important;overflow-wrap:anywhere!important;word-break:normal!important}
body.techgrid-module[data-prae-view="eastereggs"] .easter-description{margin:7px 0 10px!important;line-height:1.4!important;overflow-wrap:break-word!important}
body.techgrid-module[data-prae-view="eastereggs"] .easter-user-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;margin:0 0 6px!important;padding-top:7px!important}
body.techgrid-module[data-prae-view="eastereggs"] .easter-admin-card .check-group{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(150px,100%),1fr))!important;gap:6px!important;min-width:0!important;margin-top:0!important;padding-top:0!important}
body.techgrid-module[data-prae-view="eastereggs"] .easter-admin-card .check-group>label{display:flex!important;align-items:center!important;gap:7px!important;min-width:0!important;box-sizing:border-box!important}
body.techgrid-module[data-prae-view="eastereggs"] .easter-admin-card .check-group>label>span{min-width:0!important;overflow-wrap:break-word!important;word-break:normal!important}
@media(max-width:560px){
  body.techgrid-module[data-prae-view="eastereggs"] .easter-admin-grid{grid-template-columns:1fr!important}
  body.techgrid-module[data-prae-view="eastereggs"] .easter-admin-summary{display:grid!important;grid-template-columns:1fr 1fr!important}
  body.techgrid-module[data-prae-view="eastereggs"] .easter-admin-summary>span{justify-content:center!important;min-width:0!important}
  body.techgrid-module[data-prae-view="eastereggs"] .easter-admin-summary>span:last-child:nth-child(odd){grid-column:1/-1!important}
  body.techgrid-module[data-prae-view="eastereggs"] .easter-trigger{grid-template-columns:1fr!important;gap:2px!important}
  body.techgrid-module[data-prae-view="eastereggs"] .easter-admin-card .check-group{grid-template-columns:1fr!important}
}


/* MKL | 02.10.2026 – Schritt 268: Angeheftete Notizen wirken in allen TechGrid-Themes wie direkt in den Desktop eingebettet. Die graue Kachelfläche entfällt zugunsten einer transparenten TechGrid-Lesefläche mit denselben Typo- und Linienprinzipien wie die linke Desktop-Kennung. */
body.techgrid-fui-active .notes-desktop-widget{
  --notes-embed-line:linear-gradient(90deg,var(--notes-accent),var(--notes-accent-2),transparent);
  min-width:290px!important;
  min-height:auto!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
body.techgrid-fui-active .notes-desktop-widget:hover,
body.techgrid-fui-active .notes-desktop-widget:focus-within{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
body.techgrid-fui-active .notes-desktop-widget>header{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:start!important;
  gap:8px!important;
  padding:0 0 10px!important;
  margin:0 0 8px!important;
  background:transparent!important;
  border:0!important;
}
body.techgrid-fui-active .notes-desktop-widget>header::after{
  content:"";
  grid-column:1/-1;
  display:block;
  height:2px;
  width:min(310px,100%);
  background:var(--notes-embed-line);
  filter:drop-shadow(0 0 7px color-mix(in srgb,var(--notes-accent) 42%,transparent));
}
body.techgrid-fui-active .notes-desktop-widget>header>div:first-child{
  gap:3px!important;
}
body.techgrid-fui-active .notes-desktop-widget>header small{
  opacity:1!important;
  font:700 9px/1.1 Consolas,"Cascadia Mono",monospace!important;
  letter-spacing:.16em!important;
  text-transform:uppercase!important;
  color:color-mix(in srgb,var(--notes-accent) 82%,var(--notes-ink) 18%)!important;
  text-shadow:none!important;
}
body.techgrid-fui-active .notes-desktop-widget>header strong{
  font:300 clamp(24px,2.25vw,34px)/.96 "Segoe UI",Arial,sans-serif!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
  color:var(--notes-ink)!important;
  text-shadow:none!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
body.techgrid-fui-active .notes-desktop-widget>header>div:last-child{
  display:flex!important;
  align-items:center!important;
  gap:4px!important;
  opacity:.18!important;
  transition:opacity .16s ease!important;
}
body.techgrid-fui-active .notes-desktop-widget:hover>header>div:last-child,
body.techgrid-fui-active .notes-desktop-widget:focus-within>header>div:last-child{
  opacity:1!important;
}
body.techgrid-fui-active .notes-desktop-widget>header button{
  width:26px!important;
  height:24px!important;
  min-height:24px!important;
  padding:0!important;
  background:color-mix(in srgb,var(--notes-panel) 18%,transparent)!important;
  border:1px solid color-mix(in srgb,var(--notes-edge) 26%,transparent)!important;
  color:color-mix(in srgb,var(--notes-accent-2) 58%,var(--notes-ink) 42%)!important;
  box-shadow:none!important;
}
body.techgrid-fui-active .notes-widget-body{
  background:transparent!important;
  padding:0!important;
  gap:6px!important;
}
body.techgrid-fui-active .notes-desktop-widget .notes-card{
  background:transparent!important;
  border:0!important;
  border-left:2px solid color-mix(in srgb,var(--notes-edge) 26%,transparent)!important;
  border-bottom:1px solid color-mix(in srgb,var(--notes-edge) 18%,transparent)!important;
  border-radius:0!important;
  box-shadow:none!important;
  padding:0 0 0 10px!important;
}
body.techgrid-fui-active .notes-desktop-widget .notes-card-content{
  padding:0 0 7px!important;
  background:transparent!important;
}
body.techgrid-fui-active .notes-desktop-widget .notes-card h3{
  margin:0 0 4px!important;
  color:color-mix(in srgb,var(--notes-accent) 82%,var(--notes-ink) 18%)!important;
  opacity:1!important;
  font:700 9px/1.15 Consolas,"Cascadia Mono",monospace!important;
  letter-spacing:.14em!important;
  text-transform:uppercase!important;
}
body.techgrid-fui-active .notes-desktop-widget .notes-rich-output,
body.techgrid-fui-active .notes-desktop-widget .notes-todo-row,
body.techgrid-fui-active .notes-desktop-widget .notes-empty{
  color:var(--notes-ink)!important;
  text-shadow:none!important;
}
body.techgrid-fui-active .notes-desktop-widget .notes-rich-output{
  font-size:12px!important;
  line-height:1.45!important;
}
body.techgrid-fui-active .notes-desktop-widget .notes-todo-row{
  padding:4px 0!important;
  border-bottom:1px dashed color-mix(in srgb,var(--notes-edge) 22%,transparent)!important;
}
body.techgrid-fui-active .notes-desktop-widget .notes-todo-row:last-child{border-bottom:0!important}
body.techgrid-fui-active .notes-desktop-widget .notes-empty{
  min-height:0!important;
  padding:6px 0!important;
  background:transparent!important;
  border:0!important;
}
body.techgrid-fui-active .notes-widget-resizer{
  opacity:.12!important;
}
body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="compact"] .notes-desktop-widget>header strong,
body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="micro"] .notes-desktop-widget>header strong{
  font-size:20px!important;
  letter-spacing:.1em!important;
}
body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="compact"] .notes-desktop-widget,
body.techgrid-fui-active .techgrid-desktop-v3[data-tg-size="micro"] .notes-desktop-widget{
  min-width:248px!important;
}

/* MKL | 03.10.2026 – Schritt 269: Persönliche Farbverschiebung ist ein dauerhafter Wabenzustand. Der gewählte Farbton bleibt in allen TechGrid-Ansichten und Interaktionszuständen sichtbar; Hover/Fokus verstärken nur noch Glow/Helligkeit, nicht erst die eigentliche Farbverschiebung. */
body.techgrid-fui-active .tg-node.has-user-hue .tg-node-frame,
body.techgrid-fui-active .tg-node.has-user-hue .tg-stack-slab{
  filter:hue-rotate(var(--tg-user-hue,0deg)) saturate(1.38) drop-shadow(0 0 11px color-mix(in srgb,var(--tg-glow) 82%,transparent))!important;
}
body.techgrid-fui-active .tg-node.has-user-hue .tg-node-surface{
  background:
    linear-gradient(180deg,color-mix(in srgb,var(--tg-line) 8%,transparent),transparent 30%),
    linear-gradient(145deg,color-mix(in srgb,var(--tg-panel-2) 88%,var(--tg-line) 12%),color-mix(in srgb,var(--tg-panel) 92%,var(--tg-line-2) 8%))!important;
}
body.techgrid-fui-active .tg-node.has-user-hue:hover .tg-node-frame,
body.techgrid-fui-active .tg-node.has-user-hue.is-hover .tg-node-frame,
body.techgrid-fui-active .tg-node.has-user-hue:focus-visible .tg-node-frame{
  filter:hue-rotate(var(--tg-user-hue,0deg)) saturate(1.38) brightness(1.07) drop-shadow(0 0 18px var(--tg-line-2))!important;
}
body.techgrid-fui-active .tg-node.has-user-hue:hover .tg-stack-slab,
body.techgrid-fui-active .tg-node.has-user-hue.is-hover .tg-stack-slab,
body.techgrid-fui-active .tg-node.has-user-hue:focus-visible .tg-stack-slab{
  filter:hue-rotate(var(--tg-user-hue,0deg)) saturate(1.38) brightness(1.05) drop-shadow(0 0 12px color-mix(in srgb,var(--tg-line-2) 58%,transparent))!important;
}
body.techgrid-fui-active .tg-node-folder.is-open.has-user-hue .tg-node-frame{
  filter:hue-rotate(var(--tg-user-hue,0deg)) saturate(1.38) brightness(1.08) drop-shadow(0 0 18px color-mix(in srgb,var(--tg-line-2) 62%,transparent))!important;
}
body.techgrid-fui-active .tg-node-folder.is-open.has-user-hue .tg-stack-slab{
  filter:hue-rotate(var(--tg-user-hue,0deg)) saturate(1.38) brightness(1.04) drop-shadow(0 0 10px color-mix(in srgb,var(--tg-glow) 60%,transparent))!important;
}
body.techgrid-fui-active .tg-node.has-user-hue.is-dragging .tg-node-frame,
body.techgrid-fui-active .tg-node.has-user-hue.tg-reparent-holding .tg-node-frame{
  filter:hue-rotate(var(--tg-user-hue,0deg)) saturate(1.38) drop-shadow(0 0 14px color-mix(in srgb,var(--tg-glow) 88%,transparent))!important;
}
body.techgrid-motion-off .tg-node.has-user-hue .tg-node-frame,
body.techgrid-motion-off .tg-node.has-user-hue .tg-stack-slab{
  filter:hue-rotate(var(--tg-user-hue,0deg)) saturate(1.38) drop-shadow(0 0 11px color-mix(in srgb,var(--tg-glow) 82%,transparent))!important;
}
@media(prefers-reduced-motion:reduce){
  body[class*="user-theme-techgrid-"] .tg-node.has-user-hue .tg-node-frame,
  body[class*="user-theme-techgrid-"] .tg-node.has-user-hue .tg-stack-slab{
    filter:hue-rotate(var(--tg-user-hue,0deg)) saturate(1.38) drop-shadow(0 0 11px color-mix(in srgb,var(--tg-glow) 82%,transparent))!important;
  }
}

/* MKL | 03.10.2026 – Schritt 270: Sessionblock aus der linken PRAETORIAN-Zone nach rechts unter CHANNEL/PRAETORIAN versetzt. Kompakter Rahmen/Buttons; der Block ist mittig zur unteren Telemetrie-Linie ausgerichtet. */
@media (min-width:901px){
  body.techgrid-fui-active .tg-session-nav{
    top:auto!important;
    left:auto!important;
    right:calc(5.2% + 104px)!important;
    bottom:4.1%!important;
    transform:translateX(50%)!important;
    width:max-content!important;
    max-width:min(290px,30vw)!important;
    min-height:0!important;
    padding:2px 3px!important;
    gap:2px!important;
    border:1px solid color-mix(in srgb,var(--tg-line) 30%,transparent)!important;
    background:color-mix(in srgb,var(--tg-panel) 58%,transparent)!important;
    box-shadow:0 0 9px color-mix(in srgb,var(--tg-glow) 24%,transparent)!important;
    backdrop-filter:blur(5px)!important;
    clip-path:polygon(6px 0,100% 0,100% calc(100% - 6px),calc(100% - 6px) 100%,0 100%,0 6px)!important;
  }
  body.techgrid-fui-active .tg-session-user{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    max-width:none!important;
    min-height:22px!important;
    height:22px!important;
    padding:0 6px!important;
    overflow:visible!important;
    text-overflow:clip!important;
    white-space:nowrap!important;
    font:700 6.8px/22px Consolas,monospace!important;
    letter-spacing:.1em!important;
  }
  body.techgrid-fui-active .tg-session-nav button,
  body.techgrid-fui-active .tg-session-nav a{
    min-height:22px!important;
    height:22px!important;
    padding:0 6px!important;
    font:700 6.8px/20px Consolas,monospace!important;
    letter-spacing:.08em!important;
    white-space:nowrap!important;
  }
}

/* MKL | 03.10.2026 – Schritt 271: Vollständiger Kontrast-Audit aller internen Fenster in allen Designs. Diese abschließende Sicherheitslage vereinheitlicht lesbare Formular-, Button-, Hinweis- und Statusfarben, ohne die jeweilige Theme-Sprache aufzuheben. */
body.user-theme-standard{--mkl-c-fg:#17283a;--mkl-c-muted:#41556b;--mkl-c-field:#ffffff;--mkl-c-field-fg:#101820;--mkl-c-placeholder:#65778a;--mkl-c-button:#e4ebf2;--mkl-c-button-fg:#12283d;--mkl-c-accent:#285d91;--mkl-c-danger:#9d2430}
body.user-theme-norton{--mkl-c-fg:#f7fbff;--mkl-c-muted:#b9edf7;--mkl-c-field:#00175b;--mkl-c-field-fg:#ffffff;--mkl-c-placeholder:#9ee8f2;--mkl-c-button:#c7c7c7;--mkl-c-button-fg:#00145d;--mkl-c-accent:#fff36b;--mkl-c-danger:#ffcf7b}
body.user-theme-windows31{--mkl-c-fg:#000000;--mkl-c-muted:#303030;--mkl-c-field:#ffffff;--mkl-c-field-fg:#000000;--mkl-c-placeholder:#555555;--mkl-c-button:#c0c0c0;--mkl-c-button-fg:#000000;--mkl-c-accent:#000080;--mkl-c-danger:#800000}
body.user-theme-windowsphone{--mkl-c-fg:#f4f4f4;--mkl-c-muted:#c8c8c8;--mkl-c-field:#f5f5f5;--mkl-c-field-fg:#111111;--mkl-c-placeholder:#626262;--mkl-c-button:#171717;--mkl-c-button-fg:#ffffff;--mkl-c-accent:#29b6f6;--mkl-c-danger:#ff6b6b}
body:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel){--mkl-c-fg:var(--tg-ink);--mkl-c-muted:color-mix(in srgb,var(--tg-muted) 74%,var(--tg-ink) 26%);--mkl-c-field:color-mix(in srgb,var(--tg-panel-2) 92%,#000 8%);--mkl-c-field-fg:var(--tg-ink);--mkl-c-placeholder:color-mix(in srgb,var(--tg-muted) 74%,var(--tg-ink) 26%);--mkl-c-button:color-mix(in srgb,var(--tg-button) 88%,var(--tg-panel-2) 12%);--mkl-c-button-fg:var(--tg-ink);--mkl-c-accent:var(--tg-line-2);--mkl-c-danger:#ff9a96}
body:is(.user-theme-techgrid-light,.user-theme-techgrid-matrix){--mkl-c-fg:var(--tg-ink);--mkl-c-muted:color-mix(in srgb,var(--tg-muted) 78%,var(--tg-ink) 22%);--mkl-c-field:#fffdfb;--mkl-c-field-fg:#171512;--mkl-c-placeholder:#655d56;--mkl-c-button:color-mix(in srgb,var(--tg-button) 82%,#fff 18%);--mkl-c-button-fg:var(--tg-ink);--mkl-c-accent:var(--tg-line);--mkl-c-danger:#9e2430}

/* Generische Admin-/Konfigurationsfenster: Text und Hilfetext. */
body :is(#praetorianControlWindow,#gatekeeperMainWindow,#gateStatusWindow,.tg-widget-setup-window,.tg-direct-link-window,.tg-personal-note-window,.notes-window,.os-handbook-window) :is(label,legend,p,li,dt,dd,.os-small,.section-caption,.empty-note,.field-optional,.admin-order-label,.admin-summary-url,.access-link-hint,.audit-log-explainer){color:var(--mkl-c-fg)!important;text-shadow:none!important}
body :is(#praetorianControlWindow,#gatekeeperMainWindow,#gateStatusWindow,.tg-widget-setup-window,.tg-direct-link-window,.tg-personal-note-window,.notes-window,.os-handbook-window) :is(.os-small,.field-optional,.access-link-hint,.audit-log-explainer,.section-caption small){color:var(--mkl-c-muted)!important;opacity:1!important}

/* Alle normalen Textfelder/Selects im internen UI bleiben unabhängig von Alt-Theme-Regeln lesbar. */
body :is(#praetorianControlWindow,#gatekeeperMainWindow,#gateStatusWindow,.tg-widget-setup-window,.tg-direct-link-window,.tg-personal-note-window,.notes-window,.os-handbook-window,.secure-mail-app,.trace-tool,.records-tool,.qr-tool-panel,.calc-tool-shell,.mozart-tool) :is(input:not([type="checkbox"]):not([type="radio"]),textarea,select,.os-input,.os-textarea){background:var(--mkl-c-field)!important;color:var(--mkl-c-field-fg)!important;border-color:color-mix(in srgb,var(--mkl-c-accent) 56%,#777 44%)!important;caret-color:var(--mkl-c-accent)!important;text-shadow:none!important}
body :is(#praetorianControlWindow,#gatekeeperMainWindow,#gateStatusWindow,.tg-widget-setup-window,.tg-direct-link-window,.tg-personal-note-window,.notes-window,.os-handbook-window,.secure-mail-app,.trace-tool,.records-tool,.qr-tool-panel,.calc-tool-shell,.mozart-tool) :is(input,textarea)::placeholder{color:var(--mkl-c-placeholder)!important;opacity:1!important}
body :is(#praetorianControlWindow,#gatekeeperMainWindow,#gateStatusWindow,.tg-widget-setup-window,.tg-direct-link-window,.tg-personal-note-window,.notes-window,.os-handbook-window,.secure-mail-app,.trace-tool,.records-tool,.qr-tool-panel,.calc-tool-shell,.mozart-tool) option{background:var(--mkl-c-field)!important;color:var(--mkl-c-field-fg)!important}

/* Normale Aktionsbuttons erhalten immer ein klar lesbares Paar; Spezialbuttons dürfen darunter weiter eigene Akzentfarben nutzen. */
body :is(#praetorianControlWindow,#gatekeeperMainWindow,#gateStatusWindow,.tg-widget-setup-window,.tg-direct-link-window,.tg-personal-note-window,.notes-window,.os-handbook-window) :is(.os-btn,.reorder-btn,.access-link-add,.access-link-remove,.password-reveal-button,.pin-eye-button){background:var(--mkl-c-button)!important;color:var(--mkl-c-button-fg)!important;border-color:color-mix(in srgb,var(--mkl-c-accent) 48%,#777 52%)!important;text-shadow:none!important}
body :is(#praetorianControlWindow,#gatekeeperMainWindow,#gateStatusWindow,.tg-widget-setup-window,.tg-direct-link-window,.tg-personal-note-window,.notes-window,.os-handbook-window) :is(.os-btn,.reorder-btn,.access-link-add,.access-link-remove,.password-reveal-button,.pin-eye-button):hover{filter:brightness(1.08)!important;color:var(--mkl-c-button-fg)!important}
body :is(#praetorianControlWindow,#gatekeeperMainWindow,#gateStatusWindow) .os-btn.red{color:var(--mkl-c-button-fg)!important;border-color:var(--mkl-c-danger)!important}

/* Status-/Freigabechips: keine Schrift mehr, die mit dem Chip-Hintergrund verschmilzt. */
body #praetorianControlWindow :is(.access-status.on,.function-state.is-active,.surface-chip.is-on){color:#eafff2!important;background:#17663f!important;border-color:#48c57d!important;text-shadow:none!important}
body #praetorianControlWindow :is(.access-status.off,.function-state:not(.is-active),.surface-chip:not(.is-on)){color:#ffe7e9!important;background:#762832!important;border-color:#d66a75!important;text-shadow:none!important}
body:is(.user-theme-standard,.user-theme-windows31,.user-theme-windowsphone,.user-theme-techgrid-light,.user-theme-techgrid-matrix) #praetorianControlWindow :is(.access-status.on,.function-state.is-active,.surface-chip.is-on){color:#073b24!important;background:#bde8cc!important;border-color:#368a59!important}
body:is(.user-theme-standard,.user-theme-windows31,.user-theme-windowsphone,.user-theme-techgrid-light,.user-theme-techgrid-matrix) #praetorianControlWindow :is(.access-status.off,.function-state:not(.is-active),.surface-chip:not(.is-on)){color:#701924!important;background:#f3ccd1!important;border-color:#b95764!important}

/* Design- und Easter-Egg-Auswahlflächen tragen ihren Text explizit statt aus wechselnden Elternfarben. */
body #praetorianControlWindow :is(.design-access-choice,.easter-admin-card .check-group>label,.access-assignment-type){color:var(--mkl-c-fg)!important;text-shadow:none!important}
body #praetorianControlWindow :is(.design-access-choice,.easter-admin-card .check-group>label,.access-assignment-type) small{color:var(--mkl-c-muted)!important;opacity:1!important}

/* Secure Mail: Toolbars und Compose bleiben auch in Norton/WindowsPhone/TechGrid-Violet eindeutig lesbar. */
body .secure-mail-app :is(.secure-mail-toolbar button,.secure-mail-reader-actions button,.secure-mail-compose-actions button,.mail-folder){background:var(--mkl-c-button)!important;color:var(--mkl-c-button-fg)!important;border-color:color-mix(in srgb,var(--mkl-c-accent) 52%,#777 48%)!important;text-shadow:none!important}
body .secure-mail-app :is(.secure-mail-panel-title,.secure-mail-statusbar,.mail-menubar){color:var(--mkl-c-fg)!important}
body.user-theme-norton .secure-mail-app :is(.secure-mail-panel-title,.secure-mail-statusbar,.mail-menubar){color:var(--nc-white)!important}
body.user-theme-windowsphone .secure-mail-app :is(.secure-mail-panel-title,.secure-mail-statusbar,.mail-menubar){color:#fff!important}

/* QR, Trace und Records: Formulare und technische Karten mit garantiertem Textkontrast. */
body .qr-tool-panel :is(label,.qr-info-card,.qr-preview-note),body .trace-tool :is(label,.legacy-caption),body .records-tool :is(label,.record-head,.record-fields b){color:var(--mkl-c-fg)!important;text-shadow:none!important}
body.user-theme-standard .trace-node-map .tn,body.user-theme-windows31 .trace-node-map .tn,body.user-theme-windowsphone .trace-node-map .tn,body.user-theme-techgrid-light .trace-node-map .tn,body.user-theme-techgrid-matrix .trace-node-map .tn{color:#13283a!important;background:#e7f0f6!important;border-color:#52748e!important;text-shadow:none!important}
body:is(.user-theme-norton,.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) .trace-node-map .tn{color:var(--mkl-c-fg)!important;background:color-mix(in srgb,var(--mkl-c-field) 90%,transparent)!important;border-color:var(--mkl-c-accent)!important;text-shadow:none!important}

/* Rechner: kleine Sekundärtexte und Überschriften dürfen nicht mit Panel-/Gradientfarben verschmelzen. */
body .calc-tool-shell :is(.calc-kicker,.calc-inline-note,.calc-card span,.calc-history-panel span,.calc-status-pill strong,.calc-mode-toggle strong){color:var(--mkl-c-muted)!important;text-shadow:none!important}
body .calc-tool-shell :is(h1,h2,.calc-main-line,.calc-history-line){color:var(--mkl-c-fg)!important;text-shadow:none!important}
body:is(.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel,.user-theme-norton) .calc-tool-shell h1{color:var(--mkl-c-accent)!important}

/* Mozart: Node-Panel und kleine Browser-/Footertexte erhalten die gleiche Lesbarkeitsgrenze wie der Rest. */
body .mozart-tool .moz-node-panel :is(strong,pre){color:var(--mkl-c-fg)!important;text-shadow:none!important}
body.user-theme-techgrid-light .mozart-tool .moz-node-panel :is(strong,pre),body.user-theme-techgrid-matrix .mozart-tool .moz-node-panel :is(strong,pre){color:#17342b!important}

/* Pizza.Net: Warn-/Fehlertexte auf dunklen Filmflächen überall hellrot; helle Themes nutzen dunkles Rot. */
body:is(.user-theme-norton,.user-theme-windowsphone,.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) .pizza-net-window :is(.pizza-red-alert,.pizza-transmit-error,.pizza-final-alert strong,.pizza-address-prompt,.pizza-data-row span,.pizza-delivery-choice strong){color:#ffaaa3!important;text-shadow:0 1px 0 #3b0000!important}
body:is(.user-theme-standard,.user-theme-windows31,.user-theme-techgrid-light,.user-theme-techgrid-matrix) .pizza-net-window :is(.pizza-red-alert,.pizza-transmit-error,.pizza-final-alert strong,.pizza-address-prompt,.pizza-data-row span,.pizza-delivery-choice strong){color:#8a1e1e!important;text-shadow:none!important}

/* Chat: Namen, Nachrichten und Eingabe bleiben auf allen Themeflächen klar getrennt. */
body .netchat-window .netchat-name-inline{color:var(--mkl-c-accent)!important;text-shadow:none!important}
body .netchat-window .netchat-message-inline{color:var(--mkl-c-fg)!important;text-shadow:none!important}
body .admin-chat-window :is(.chat-message,.chat-message strong,.chat-message span){color:var(--mkl-c-fg)!important;text-shadow:none!important}
body:is(.user-theme-norton,.user-theme-techgrid-amber,.user-theme-techgrid-aqua,.user-theme-techgrid-crimson,.user-theme-techgrid-violet,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel,.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) .admin-chat-window :is(.chat-message,.chat-message strong,.chat-message span){color:var(--mkl-c-fg)!important}

/* Deaktiviert heißt gedimmt, nicht unlesbar. */
body :is(.win95,.praetorian-control-window,.legacy-tool,.calc-tool-shell) :is(button,input,textarea,select):disabled{opacity:.68!important}

/* MKL | 05.10.2026 – Schritt 272: Nur TechGrid-Sessionleiste und persönliche Link-Waben erweitert. VOLLBILD sitzt dezent rechts neben ABMELDEN; App-/Programmziele erhalten eine kompakte OS-bezogene Auswahl, ohne Admin- oder Inhaltsmodule zu verändern. */
body.techgrid-fui-active .tg-session-nav [data-tg-fullscreen]{
  border-color:color-mix(in srgb,var(--tg-line) 34%,transparent)!important;
  color:color-mix(in srgb,var(--tg-ink) 72%,var(--tg-muted) 28%)!important;
  opacity:.82;
}
body.techgrid-fui-active .tg-session-nav [data-tg-fullscreen]:hover,
body.techgrid-fui-active .tg-session-nav [data-tg-fullscreen]:focus-visible,
body.techgrid-fui-active .tg-session-nav [data-tg-fullscreen].is-active{
  opacity:1;
  color:var(--tg-line-2)!important;
  border-color:color-mix(in srgb,var(--tg-line-2) 58%,transparent)!important;
}
@media (min-width:901px){
  body.techgrid-fui-active .tg-session-nav{max-width:min(380px,40vw)!important}
}

body.techgrid-fui-active .tg-direct-link-form{
  grid-template-rows:none!important;
  grid-auto-rows:auto;
}
body.techgrid-fui-active .tg-direct-link-mode,
body.techgrid-fui-active .tg-direct-link-target{
  min-width:0;
  margin:0;
  padding:8px;
  border:1px solid color-mix(in srgb,var(--tg-line) 24%,transparent);
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:7px;
}
body.techgrid-fui-active .tg-direct-link-mode legend,
body.techgrid-fui-active .tg-direct-link-target legend{
  padding:0 5px;
  color:var(--tg-muted);
  font:700 9px/1 ui-monospace,monospace;
  letter-spacing:.11em;
}
body.techgrid-fui-active .tg-direct-link-mode label,
body.techgrid-fui-active .tg-direct-link-target label{
  min-width:0;
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  grid-template-rows:auto auto;
  column-gap:8px;
  row-gap:2px;
  align-items:center;
  padding:8px 9px;
  border:1px solid color-mix(in srgb,var(--tg-line) 20%,transparent);
  border-radius:2px;
  background:color-mix(in srgb,var(--tg-panel) 82%,transparent);
  cursor:pointer;
}
body.techgrid-fui-active .tg-direct-link-mode label:has(input:checked),
body.techgrid-fui-active .tg-direct-link-target label:has(input:checked){
  border-color:color-mix(in srgb,var(--tg-line) 70%,transparent);
  background:color-mix(in srgb,var(--tg-line) 9%,var(--tg-panel));
  box-shadow:inset 2px 0 0 var(--tg-line);
}
body.techgrid-fui-active .tg-direct-link-mode input,
body.techgrid-fui-active .tg-direct-link-target input{
  grid-row:1/3;
  margin:0;
  accent-color:var(--tg-line);
}
body.techgrid-fui-active .tg-direct-link-mode span,
body.techgrid-fui-active .tg-direct-link-target span{
  font:800 10px/1 ui-monospace,monospace;
  letter-spacing:.05em;
  color:var(--tg-text);
  white-space:nowrap;
}
body.techgrid-fui-active .tg-direct-link-mode small,
body.techgrid-fui-active .tg-direct-link-target small{
  font:500 9px/1.2 ui-monospace,monospace;
  color:var(--tg-muted);
  white-space:normal;
}
body.techgrid-fui-active .tg-direct-link-web,
body.techgrid-fui-active .tg-direct-link-app{
  display:grid;
  gap:10px;
  min-width:0;
}
body.techgrid-fui-active .tg-direct-link-web[hidden],
body.techgrid-fui-active .tg-direct-link-app[hidden]{display:none!important}
body.techgrid-fui-active .tg-direct-link-app-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:10px 12px;
  min-width:0;
}
body.techgrid-fui-active .tg-direct-link-field select{
  box-sizing:border-box;
  width:100%;
  min-width:0;
  height:32px;
  min-height:32px;
  padding:0 30px 0 9px;
  border:1px solid color-mix(in srgb,var(--tg-line) 32%,transparent);
  border-radius:2px;
  background:color-mix(in srgb,var(--tg-panel-2) 86%,transparent);
  color:var(--tg-text);
  font:600 11px/1.1 ui-monospace,monospace;
  outline:0;
}
body.techgrid-fui-active .tg-direct-link-field select:focus{
  border-color:var(--tg-line);
  box-shadow:0 0 0 1px color-mix(in srgb,var(--tg-line) 28%,transparent),0 0 16px -10px var(--tg-glow);
}
body.techgrid-fui-active .tg-direct-link-app-note{
  margin:0;
  padding:7px 9px;
  border-left:2px solid color-mix(in srgb,var(--tg-line) 44%,transparent);
  background:color-mix(in srgb,var(--tg-panel-2) 56%,transparent);
  color:var(--tg-muted)!important;
  font:500 9px/1.4 ui-monospace,monospace;
}
@container tg-direct-link-window (max-width:520px){
  body.techgrid-fui-active .tg-direct-link-mode,
  body.techgrid-fui-active .tg-direct-link-target,
  body.techgrid-fui-active .tg-direct-link-app-grid{grid-template-columns:minmax(0,1fr)!important}
}

/* MKL | 06.10.2026 – Schritt 275: NOTEBOOK behält den Desktop-Aufbau, erhält unter 760/430/360 px aber eine eigenständige touchfreundliche Smartphone-Hierarchie statt nur verkleinerter Desktop-Flächen. */
.notebook-shell{overflow:hidden}
.notebook-top-title{display:grid;gap:1px;min-width:0}.notebook-top-title>div{display:flex;align-items:center;gap:8px;min-width:0}.notebook-top-title strong{min-width:0}.notes-topline>.notebook-top-status{margin-left:auto;display:flex;align-items:center}.notes-topline>.notebook-top-status>span{font:700 10px/1 Consolas,monospace;letter-spacing:.08em;color:var(--notes-muted);padding:6px 8px;border:1px solid color-mix(in srgb,var(--notes-edge) 38%,transparent);background:color-mix(in srgb,var(--notes-panel) 80%,transparent)}.notes-topline>.notebook-top-status>span.is-error{color:#b21e2b;border-color:#b21e2b}
.notebook-overview-button{min-height:24px;padding:4px 7px;border:1px solid color-mix(in srgb,var(--notes-edge) 38%,transparent);background:color-mix(in srgb,var(--notes-panel) 76%,transparent);color:var(--notes-muted);font:700 8px/1 Consolas,"Courier New",monospace;letter-spacing:.08em;cursor:pointer}.notebook-overview-button:hover,.notebook-overview-button:focus-visible,.notebook-overview-button.active{color:var(--notes-accent);border-color:color-mix(in srgb,var(--notes-accent) 64%,transparent);background:color-mix(in srgb,var(--notes-accent) 9%,var(--notes-panel));outline:none}
.notebook-layout{min-height:0;height:100%;display:grid;grid-template-columns:minmax(0,1fr) 52px;overflow:hidden}
.notebook-stage{min-width:0;min-height:0;overflow:hidden;position:relative}
.notebook-page{display:block!important;width:100%!important;max-width:none!important;min-width:0!important;box-sizing:border-box;overflow:auto;height:100%;padding:18px 20px 24px}
.notebook-page[hidden]{display:none!important}
.notebook-project-tabs{min-width:0;padding:11px 5px 11px 7px;display:flex;flex-direction:column;align-items:center;gap:4px;overflow:hidden auto;background:linear-gradient(90deg,color-mix(in srgb,var(--notes-edge) 12%,transparent),transparent 55%);border-left:1px solid color-mix(in srgb,var(--notes-edge) 25%,transparent);scrollbar-width:thin}
.notebook-project-tab{position:relative;appearance:none;width:38px;min-height:72px;padding:8px 4px;border:1px solid color-mix(in srgb,var(--notes-edge) 48%,transparent);border-right:0;background:linear-gradient(90deg,color-mix(in srgb,var(--notes-accent) 9%,var(--notes-panel)),var(--notes-panel));color:var(--notes-ink);cursor:pointer;box-shadow:-2px 3px 7px rgba(0,0,0,.07);transition:transform .16s ease,filter .16s ease,border-color .16s ease,background .16s ease}
.notebook-project-tab span{display:block;writing-mode:vertical-rl;text-orientation:mixed;transform:rotate(180deg);white-space:nowrap;overflow:visible;text-overflow:clip;font:700 9px/1 Arial,sans-serif;letter-spacing:.025em}
.notebook-project-tab::before{content:"";position:absolute;left:-5px;top:7px;bottom:7px;width:3px;background:var(--notes-accent);opacity:.4}
.notebook-project-tab:hover,.notebook-project-tab:focus-visible{filter:brightness(1.05);border-color:var(--notes-accent);outline:none;transform:translateX(-2px)}
.notebook-project-tab.active{transform:translateX(-5px);border-color:var(--notes-accent);background:linear-gradient(90deg,color-mix(in srgb,var(--notes-accent) 22%,var(--notes-panel)),var(--notes-panel));box-shadow:-5px 4px 11px rgba(0,0,0,.11)}
.notebook-project-tab.active::before{opacity:1}
.notebook-project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;max-width:920px}
.notebook-project-card{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;border:1px solid color-mix(in srgb,var(--notes-edge) 45%,transparent);background:linear-gradient(120deg,color-mix(in srgb,var(--notes-panel) 96%,transparent),color-mix(in srgb,var(--notes-accent) 8%,var(--notes-panel)));box-shadow:0 7px 16px rgba(0,0,0,.08)}
.notebook-project-card>button[data-open-project]{appearance:none;border:0;background:transparent;color:inherit;text-align:left;display:grid;grid-template-columns:42px minmax(0,1fr) 18px;align-items:center;gap:10px;padding:15px 14px;cursor:pointer;min-width:0}.notebook-project-card>button[data-open-project]:hover{background:color-mix(in srgb,var(--notes-accent) 7%,transparent)}.notebook-project-card>button[data-open-project]>span:nth-child(2){display:grid;gap:4px;min-width:0}
.notebook-project-card strong{font-size:15px;white-space:normal;overflow-wrap:anywhere}.notebook-project-card small{color:var(--notes-muted);font-size:10px}.notebook-project-card i{font:400 24px/1 Arial;color:var(--notes-accent)}
.notebook-project-symbol{display:grid;place-items:center;width:38px;height:38px;border:1px solid color-mix(in srgb,var(--notes-accent) 48%,transparent);background:color-mix(in srgb,var(--notes-accent) 10%,var(--notes-panel));font-size:19px}
.notebook-project-pencil{align-self:start;margin:9px 9px 0 0;width:31px;height:31px;padding:0;border:1px solid color-mix(in srgb,var(--notes-edge) 55%,transparent);background:color-mix(in srgb,var(--notes-panel) 88%,transparent);color:var(--notes-ink);cursor:pointer}
.notebook-topic-intro{margin:0 0 13px;padding:0 1px 10px;border-bottom:1px solid color-mix(in srgb,var(--notes-edge) 22%,transparent)}.notebook-topic-intro small,.notebook-editor-topic-head small,.notebook-editor-management small,.notebook-editor-side-title small,.notebook-editor-section>header small{font:700 9px/1 Consolas,monospace;letter-spacing:.14em;color:var(--notes-accent)}.notebook-topic-intro p{margin:4px 0 0;color:var(--notes-muted);font-size:11px}
.notebook-reading-list{display:grid;gap:10px;max-width:900px;margin:0 auto}.notebook-reading-list .notes-card{box-shadow:none}.notebook-reading-list .notes-card-content{padding:16px 18px}.notebook-reading-list .notes-card h3{margin-right:0;font-size:11px}.notebook-reading-list .notes-rich-output{font-size:13px;line-height:1.55}
.notebook-edit-head{grid-template-columns:auto minmax(0,1fr)!important}.notebook-edit-head>div:last-child{display:none!important}
.notebook-editor-management{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin-bottom:12px}
.notebook-editor-management-block{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;border:1px solid color-mix(in srgb,var(--notes-edge) 30%,transparent);background:color-mix(in srgb,var(--notes-panel) 72%,transparent)}
.notebook-editor-management-block>div{display:grid;gap:3px;min-width:0}.notebook-editor-management-block strong{font-size:12px;white-space:normal;overflow-wrap:anywhere}.notebook-editor-management-block span{font-size:10px;color:var(--notes-muted)}.notebook-editor-management-block>button{flex:0 0 auto;min-height:29px;padding:5px 8px;border:1px solid color-mix(in srgb,var(--notes-edge) 52%,transparent);background:color-mix(in srgb,var(--notes-panel) 88%,transparent);color:var(--notes-ink);font:700 9px/1 Arial,sans-serif;cursor:pointer}
.notebook-editor-layout{display:grid;grid-template-columns:205px minmax(0,1fr);gap:14px;min-height:calc(100% - 120px)}
.notebook-editor-topics{min-width:0;border-right:1px solid color-mix(in srgb,var(--notes-edge) 27%,transparent);padding-right:10px}.notebook-editor-side-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:7px;padding-bottom:6px;border-bottom:1px solid color-mix(in srgb,var(--notes-edge) 20%,transparent)}.notebook-editor-side-title span{display:grid;place-items:center;min-width:24px;height:20px;padding:0 5px;border:1px solid color-mix(in srgb,var(--notes-edge) 30%,transparent);color:var(--notes-muted);font:700 9px/1 Consolas,monospace}.notebook-editor-topic-list{display:grid;gap:6px;position:sticky;top:58px}
.notebook-edit-topic{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;border:1px solid color-mix(in srgb,var(--notes-edge) 35%,transparent);background:color-mix(in srgb,var(--notes-panel) 76%,transparent)}.notebook-edit-topic.active{border-color:var(--notes-accent);background:color-mix(in srgb,var(--notes-accent) 13%,var(--notes-panel))}
.notebook-edit-topic>button{appearance:none;border:0;background:transparent;color:inherit;text-align:left;padding:8px;cursor:pointer;display:grid;gap:2px;min-width:0}.notebook-edit-topic>button strong{white-space:normal;overflow-wrap:anywhere;font-size:11px}.notebook-edit-topic>button small{font-size:9px;color:var(--notes-muted)}
.notebook-edit-topic>div{display:flex;align-items:center;gap:2px;padding:3px}.notebook-edit-topic>div button{width:25px;height:25px;padding:0;border:1px solid color-mix(in srgb,var(--notes-edge) 40%,transparent);background:transparent;color:var(--notes-ink);cursor:pointer}.notebook-edit-topic>div button:last-child{color:#b3212e}
.notebook-editor-main{min-width:0}.notebook-editor-empty{min-height:240px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;color:var(--notes-muted);border:1px dashed color-mix(in srgb,var(--notes-edge) 45%,transparent)}.notebook-editor-empty b{color:var(--notes-ink)}
.notebook-editor-topic-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px;padding:0 0 9px;border-bottom:1px solid color-mix(in srgb,var(--notes-edge) 28%,transparent)}.notebook-editor-topic-head h3{margin:3px 0 0;font:800 19px/1.1 Arial,sans-serif}.notebook-editor-topic-head>div:last-child{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}.notebook-editor-topic-head button{min-height:30px;padding:5px 8px;border:1px solid color-mix(in srgb,var(--notes-edge) 58%,transparent);background:color-mix(in srgb,var(--notes-panel) 86%,transparent);color:var(--notes-ink);font:700 10px/1 Arial;cursor:pointer}.notebook-editor-topic-head button.is-pinned{border-color:var(--notes-accent);background:color-mix(in srgb,var(--notes-accent) 18%,var(--notes-panel))}
.notebook-editor-section{margin-top:10px;border:1px solid color-mix(in srgb,var(--notes-edge) 27%,transparent);background:color-mix(in srgb,var(--notes-panel) 48%,transparent)}.notebook-editor-section>header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border-bottom:1px solid color-mix(in srgb,var(--notes-edge) 23%,transparent);background:color-mix(in srgb,var(--notes-accent) 4%,var(--notes-panel))}.notebook-editor-section>header>div{display:grid;gap:2px}.notebook-editor-section>header strong{font-size:11px}.notebook-editor-section>header>span{display:grid;place-items:center;min-width:25px;height:20px;padding:0 5px;border:1px solid color-mix(in srgb,var(--notes-edge) 30%,transparent);color:var(--notes-muted);font:700 9px/1 Consolas,monospace}
.notebook-editor-create .notes-composer{margin:0;border:0;box-shadow:none;background:transparent}.notebook-editor-create .notes-composer-tabs{background:color-mix(in srgb,var(--notes-panel) 70%,transparent)}.notebook-editor-existing .notes-card-list{padding:10px}.notebook-editor-existing .notes-empty{margin:0}
.notebook-mobile-create-toggle,.notebook-mobile-delete-topic,.notebook-mobile-edit-back{display:none}
.notebook-section-head [data-notebook-edit-project],.notebook-section-head [data-notebook-edit-theme]{width:34px;padding:0;font-size:16px}
@media(max-width:760px){
  .notes-topline{gap:8px}.notebook-top-title>div{gap:6px}.notebook-overview-button{padding:4px 6px;font-size:7px}.notes-topline>.notebook-top-status>span{padding:5px 6px;font-size:9px}
  .notebook-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}
  .notebook-project-tabs{grid-row:1;grid-column:1;padding:5px 7px;display:flex;flex-direction:row;align-items:stretch;gap:4px;overflow:auto hidden;border-left:0;border-bottom:1px solid color-mix(in srgb,var(--notes-edge) 28%,transparent);background:color-mix(in srgb,var(--notes-panel) 92%,transparent);scrollbar-width:thin;scroll-snap-type:x proximity;box-shadow:inset 14px 0 14px -16px color-mix(in srgb,var(--notes-ink) 48%,transparent),inset -14px 0 14px -16px color-mix(in srgb,var(--notes-ink) 48%,transparent)}
  .notebook-stage{grid-row:2;grid-column:1}
  .notebook-project-tab{flex:0 0 auto;width:auto;min-height:36px;padding:6px 9px;border-right:1px solid color-mix(in srgb,var(--notes-edge) 48%,transparent);transform:none!important;box-shadow:none;scroll-snap-align:center}.notebook-project-tab span{writing-mode:horizontal-tb;text-orientation:mixed;transform:none;white-space:nowrap;overflow:visible;max-width:none}.notebook-project-tab.active{border-color:var(--notes-accent);box-shadow:inset 0 -2px 0 var(--notes-accent)}.notebook-project-tab::before{display:none}
  .notebook-project-grid{grid-template-columns:1fr}
  .notebook-editor-management{grid-template-columns:1fr;margin-bottom:9px}
  .notebook-editor-layout{grid-template-columns:minmax(0,1fr);gap:9px}
  .notebook-editor-topics{border-right:0;border-bottom:1px solid color-mix(in srgb,var(--notes-edge) 28%,transparent);padding:0 0 8px;overflow-x:auto;scrollbar-width:thin}.notebook-editor-side-title{position:sticky;left:0;background:var(--notes-panel);z-index:1}
  .notebook-editor-topic-list{position:static;display:flex;gap:5px;width:max-content;max-width:none}.notebook-edit-topic{min-width:160px;max-width:230px}
  .notebook-editor-topic-head{flex-direction:column}.notebook-editor-topic-head>div:last-child{width:100%;justify-content:flex-end}
  .notebook-reading-list .notes-card-content{padding:12px}
}
@media(max-width:430px){
  .notes-window{left:2px!important;right:2px!important;top:38px!important;height:calc(100dvh - 74px)!important}
  .notes-topline{min-height:38px;padding:5px 8px!important;align-items:center}.notebook-top-title{gap:0}.notebook-top-title>small{display:none}.notebook-top-title strong{font-size:15px!important;letter-spacing:.08em}.notebook-top-title>div{flex-wrap:nowrap}.notebook-overview-button{min-height:34px!important;padding:0 8px!important;font-size:8px!important}.notes-topline>.notebook-top-status{display:none!important}
  .notebook-project-tabs{padding:4px 5px;gap:3px;min-height:40px}.notebook-project-tab{min-height:38px;padding:5px 9px;font-size:9px;border-radius:0}.notebook-project-tab span{white-space:nowrap;overflow:visible;text-overflow:clip}.notebook-project-tab.active{background:color-mix(in srgb,var(--notes-accent) 15%,var(--notes-panel))}
  .notebook-page{padding:9px!important}.notes-page-head{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center!important;gap:8px!important;margin-bottom:10px!important;padding-bottom:8px!important}.notes-page-head>div{min-width:0}.notes-page-head small,.notes-page-head p{display:none!important}.notes-page-head h2{margin:0!important;font-size:19px!important}.notes-page-head .notes-primary{align-self:center!important;min-height:40px!important;padding:0 10px!important}
  .notebook-project-card{box-shadow:none}.notebook-project-card>button[data-open-project]{grid-template-columns:34px minmax(0,1fr) 12px;padding:10px 8px;min-height:56px}.notebook-project-symbol{width:31px;height:31px}.notebook-project-card strong{font-size:13px}.notebook-project-card small{font-size:9px}.notebook-project-pencil{margin:6px 6px 0 0;width:40px;height:40px}
  .notebook-section-head{top:-9px!important;margin:-9px -9px 9px!important;padding:5px 7px!important;grid-template-columns:40px minmax(0,1fr) auto!important;gap:6px!important;min-height:46px}.notebook-section-head .notes-back{width:40px!important;height:40px!important;min-height:40px!important;font-size:23px!important}.notebook-section-head h2{margin:1px 0 0;font-size:18px!important;line-height:1.08}.notebook-section-head small{font-size:8px}.notebook-section-head .notes-category-head-actions{grid-column:auto!important;justify-content:flex-end!important;gap:4px}.notebook-section-head .notes-category-head-actions button{min-width:40px!important;width:40px!important;height:40px!important;min-height:40px!important;padding:0!important}.notebook-section-head [data-notes-pin]{font-size:0!important}.notebook-section-head [data-notes-pin]::before{content:"📌";font-size:15px;line-height:1}
  .notebook-topic-intro{margin-bottom:8px;padding-bottom:6px}.notebook-topic-intro p{display:none}.notebook-topic-intro small{font-size:8px}
  .notes-category-list{gap:6px}.notes-category-row{box-shadow:none}.notes-category-open{min-height:54px!important;padding:8px 9px!important}.notes-category-open strong{font-size:12px}.notes-category-open small{font-size:9px}.notes-category-mark{width:30px!important;height:30px!important}
  .notebook-reading-list{gap:7px}.notebook-reading-list .notes-card{border-left-width:2px;box-shadow:none}.notebook-reading-list .notes-card-content{padding:11px 10px}.notebook-reading-list .notes-card h3{font-size:10px;line-height:1.3}.notebook-reading-list .notes-rich-output{font-size:14.5px!important;line-height:1.6!important}.notebook-reading-list .notes-todo-row{min-height:42px;font-size:13.5px!important;line-height:1.45}
  .notebook-edit-head{display:none!important}.notebook-editor-management{display:grid;gap:5px;margin-bottom:7px}.notebook-editor-management-block{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center!important;gap:7px;padding:6px 7px;background:transparent;border-width:0 0 1px}.notebook-project-management{grid-template-columns:40px minmax(0,1fr) auto!important}.notebook-mobile-edit-back{display:grid!important;place-items:center;width:40px;height:40px;min-height:40px!important;padding:0!important;border:1px solid color-mix(in srgb,var(--notes-edge) 52%,transparent);background:color-mix(in srgb,var(--notes-panel) 84%,transparent);color:var(--notes-ink);font:700 23px/1 Arial,sans-serif;cursor:pointer}.notebook-editor-management-block>div{gap:1px}.notebook-editor-management-block strong{font-size:11px}.notebook-editor-management-block span{display:none}.notebook-editor-management-block>button:not(.notebook-mobile-edit-back){align-self:center!important;min-height:40px!important;padding:0 9px!important;font-size:8px}
  .notebook-editor-topics{padding-bottom:6px;margin-bottom:2px}.notebook-editor-side-title{display:none!important}.notebook-editor-topic-list{gap:4px}.notebook-edit-topic{min-width:132px;max-width:190px;border-color:color-mix(in srgb,var(--notes-edge) 26%,transparent);scroll-snap-align:center}.notebook-edit-topic>button{min-height:44px;padding:7px 9px}.notebook-edit-topic>button strong{font-size:10px}.notebook-edit-topic>button small{font-size:8px}.notebook-edit-topic>div{display:none}.notebook-edit-topic.active{box-shadow:inset 0 -2px 0 var(--notes-accent)}
  .notebook-editor-topic-head{margin:0 0 6px;padding:5px 0 7px;gap:6px}.notebook-editor-topic-head h3{font-size:18px}.notebook-editor-topic-head>div:last-child{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.notebook-editor-topic-head button{min-width:0!important;min-height:42px!important;padding:0 5px!important;font-size:8px!important;white-space:normal}.notebook-mobile-delete-topic{display:block!important;color:#b3212e!important}
  [data-notebook-editor-content]{display:flex;flex-direction:column;gap:7px}.notebook-editor-existing{order:1;margin-top:0!important}.notebook-editor-create{order:2;margin-top:0!important}.notebook-editor-section{border:0;border-top:1px solid color-mix(in srgb,var(--notes-edge) 27%,transparent);background:transparent}.notebook-editor-section>header{min-height:42px;padding:6px 0;background:transparent;border-bottom:0}.notebook-editor-section>header>span{margin-right:2px}
  .notebook-mobile-create-toggle{display:inline-flex!important;align-items:center;justify-content:center;min-height:40px!important;padding:0 9px!important;border:1px solid color-mix(in srgb,var(--notes-edge) 45%,transparent);background:color-mix(in srgb,var(--notes-panel) 82%,transparent);color:var(--notes-ink);font:700 8px/1 Arial,sans-serif;cursor:pointer}.notebook-editor-create.is-phone-collapsed .notes-composer{display:none!important}.notebook-editor-create:not(.is-phone-collapsed) .notebook-mobile-create-toggle{border-color:var(--notes-accent);color:var(--notes-accent)}
  .notebook-editor-existing .notes-card-list{padding:0!important;display:grid;gap:6px}.notebook-editor-existing .notes-card{box-shadow:none}.notebook-editor-existing .notes-card-actions{position:static!important;display:flex;justify-content:flex-end;gap:4px;padding:6px 6px 0}.notebook-editor-existing .notes-card-content{padding:6px 10px 10px!important}.notebook-editor-existing .notes-card h3{margin-right:0!important}.notebook-editor-existing .notes-card-actions button{min-width:40px!important;width:40px!important;height:40px!important;min-height:40px!important}
  .notebook-editor-create .notes-composer-tabs button{min-height:42px!important;min-width:0!important;flex:1}.notebook-editor-create .notes-composer-pane{padding:8px 0}.notebook-editor-create .notes-subtitle-input,.notebook-editor-create textarea{min-height:42px;font-size:13px}.notebook-editor-create .notes-rich-editor{min-height:128px;max-height:42dvh;font-size:14px;line-height:1.5}.notebook-editor-create .notes-editor-toolbar{gap:4px}.notebook-editor-create .notes-editor-toolbar button,.notebook-editor-create .notes-editor-toolbar label{min-height:40px!important}.notebook-editor-create .notes-composer-actions .notes-primary{min-height:42px!important;width:100%}
  .notes-inline-card{width:min(100%,calc(100vw - 22px))!important}.notes-inline-card button{min-height:42px!important}
}
@media(max-width:360px){
  .notes-window{left:1px!important;right:1px!important}.notebook-overview-button{padding:0 6px!important;font-size:7px!important}.notebook-project-tabs{padding-inline:3px}.notebook-project-tab{padding-inline:7px}
  .notebook-page{padding:7px!important}.notebook-section-head{top:-7px!important;margin:-7px -7px 7px!important;padding-inline:4px!important;grid-template-columns:38px minmax(0,1fr) auto!important}.notebook-section-head .notes-back{width:38px!important;height:40px!important}.notebook-section-head h2{font-size:16px!important}.notebook-project-card>button[data-open-project]{gap:7px}.notebook-project-card strong{font-size:12px}
  .notebook-editor-management-block{padding-inline:4px}.notebook-editor-management-block>button{padding-inline:6px!important}.notebook-edit-topic{min-width:118px;max-width:168px}.notebook-editor-topic-head h3{font-size:16px}.notebook-editor-topic-head button{font-size:7px!important;padding-inline:3px!important}.notebook-reading-list .notes-rich-output{font-size:14px!important}.notebook-mobile-create-toggle{padding-inline:6px!important;font-size:7px!important}
}
.notebook-editor-empty[hidden],.notebook-editor-main>[data-notebook-editor-content][hidden]{display:none!important}

/* MKL | 06.10.2026 – Schritt 275: Norton-Notebookkarten behalten auf der hellen Inhaltsfläche eine dunkle Leseschrift; die mobile Neuordnung darf die frühere weiße Norton-Schrift nicht auf helle Karten durchreichen lassen. */
.user-theme-norton .notebook-reading-list :is(.notes-rich-output,.notes-todo-row),
.user-theme-norton .notebook-editor-existing :is(.notes-rich-output,.notes-todo-row){
  color:#081a48!important;
  text-shadow:none!important;
}

/* MKL | 06.10.2026 – Schritt 276: Smartphone-Fenster erhalten die reale Inhaltsbreite zurück. Ältere Desktop-Regeln reservierten in jedem internen Fenster beidseitig Scrollbar-Gutter und begrenzten verwaltete Fenster zusätzlich auf 100vw minus 10 px; auf 320–430 px wurden dadurch Inhalte rechts unnötig abgeschnitten bzw. zusammengeschoben. */
@media (max-width:640px),(max-height:560px){
  body.os-body .desktop{scrollbar-gutter:auto!important}
  body.os-body .win95.win-managed:not(.window-maximized){
    max-width:calc(100vw - 4px)!important;
  }
  body.os-body .win95.win-managed>:is(.win-body,.alert-content),
  body.os-body .win95.win-managed :is(.inner-pad,.prae-content,.admin-grid,.portal-grid,.table-scroll,.audit-log-scroll,.handbook-content,.handbook-index,.secure-mail-folders,.secure-mail-list,.secure-mail-reader,.chat-message-list,.netchat-messages,.sim-shell-output,.bndx-code,.bndx-remote-shell,.pizza-browser-body,.tg-widget-form-scroll,.tg-widget-library,.tg-note-paper,.tg-content-stage,.tg-fluid-scroll),
  body.techgrid-module :is(.prae-content,.inner-pad,.table-scroll,.audit-log-scroll,.secure-mail-folders,.secure-mail-list,.secure-mail-reader),
  body.techgrid-hex-embedded :is(.table-scroll,.secure-mail-folders,.secure-mail-list,.secure-mail-reader,.sim-shell-output,.bndx-code,.bndx-remote-shell,.pizza-browser-body){
    scrollbar-gutter:auto!important;
  }
}
@media (max-width:430px){
  /* Auf echten Smartphones werden verwaltete Arbeitsfenster bewusst auf die reale Viewportbreite geklemmt. Ältere Spezialfenster hatten eigene left/width-!important-Regeln und konnten trotz Fenstermanager wieder rechts aus dem Viewport laufen. */
  body.os-body .win95.win-managed:not(.window-maximized):not(.login-window){
    left:2px!important;
    right:auto!important;
    width:calc(100vw - 4px)!important;
    max-width:calc(100vw - 4px)!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  /* Späte historische TechGrid-Sicherheitszonen (max(7%,30px)) dürfen auf dem Smartphone nicht erneut beidseitig Nutzbreite wegnehmen. */
  body.techgrid-fui-active .win95.win-managed.tg-hex-window.tg-rect-window:not(.window-maximized)>:is(.win-body,.alert-content,.prae-main){
    left:4px!important;
    right:4px!important;
    max-width:none!important;
  }
  body.os-body.techgrid-fui-active .win95.win-managed.tg-hex-window.tg-rect-window:not(.window-maximized)>:is(.win-body,.alert-content,.prae-main).tg-content-stage{
    left:4px!important;
    right:4px!important;
    max-width:none!important;
  }
  /* PRAETORIAN-Konfiguration: dekorativer Desktopkopf entfällt auf dem Telefon; Navigation wird eine horizontale Touchleiste und der eigentliche Inhalt bekommt die volle Fensterbreite. */
  body.os-body .praetorian-control-window>.hero-banner{display:none!important}
  body.os-body .praetorian-control-window>.prae-main{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    min-width:0!important;
    max-width:100%!important;
    overflow:hidden!important;
  }
  body.os-body .praetorian-control-window .prae-sidebar{
    display:flex!important;
    flex-direction:row!important;
    gap:4px!important;
    min-width:0!important;
    max-width:100%!important;
    padding:4px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    border-right:0!important;
    border-bottom:1px solid currentColor!important;
    scrollbar-gutter:auto!important;
  }
  body.os-body .praetorian-control-window .prae-sidebar .nav-tile{
    flex:0 0 auto!important;
    width:auto!important;
    min-width:112px!important;
    margin:0!important;
    padding:7px 8px!important;
  }
  body.os-body .praetorian-control-window .prae-content{
    min-width:0!important;
    width:100%!important;
    max-width:100%!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    scrollbar-gutter:auto!important;
  }
  body.os-body .praetorian-control-window .inline-grid{
    grid-template-columns:minmax(0,1fr)!important;
  }
  body.os-body .praetorian-control-window .inline-grid>*{
    grid-column:1/-1!important;
    min-width:0!important;
    max-width:100%!important;
  }
}
@media (max-width:360px){
  body.os-body .win95.win-managed:not(.window-maximized):not(.login-window){
    left:1px!important;
    width:calc(100vw - 2px)!important;
    max-width:calc(100vw - 2px)!important;
  }
  body.techgrid-fui-active .win95.win-managed.tg-hex-window.tg-rect-window:not(.window-maximized)>:is(.win-body,.alert-content,.prae-main){left:3px!important;right:3px!important}
  body.os-body.techgrid-fui-active .win95.win-managed.tg-hex-window.tg-rect-window:not(.window-maximized)>:is(.win-body,.alert-content,.prae-main).tg-content-stage{left:3px!important;right:3px!important}
}

/* NOTEBOOK besitzt eine eigene innere Scroll-/Layoutlogik. Die allgemeine Fensterregel darf dort weder 12 px Padding noch einen zweiten äußeren Scroller/Gutter einschleusen. */
body.os-body .win95.win-managed.notes-window>.win-body{
  padding:0!important;
  overflow:hidden!important;
  scrollbar-gutter:auto!important;
}
@media(max-width:430px){
  .notes-window{max-width:none!important;box-sizing:border-box!important}
  .notebook-layout,.notebook-stage,.notebook-page{min-width:0!important;max-width:100%!important;width:100%!important;box-sizing:border-box!important}
  .notebook-page{scrollbar-gutter:auto!important;overflow-x:hidden!important}
  .notebook-editor-topics{overflow-x:hidden!important;max-width:100%!important}
  .notebook-editor-topic-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;max-width:100%!important;gap:5px!important}
  .notebook-edit-topic{min-width:0!important;max-width:none!important;width:auto!important}
  .notebook-edit-topic>button{min-width:0!important}
  .notebook-edit-topic>button strong{white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important}
  .notebook-editor-management-block,.notebook-editor-topic-head,.notebook-editor-section,.notebook-project-card,.notes-category-row{max-width:100%!important;box-sizing:border-box!important}
}
@media(max-width:360px){
  .notebook-editor-topic-list{grid-template-columns:minmax(0,1fr)!important}
}

/* MKL | 06.10.2026 – Schritt 277: Kompakte interne TechGrid-Fenster nutzen ihre reale Fensterbreite. Eine ältere Sicherheitszonen-Regel reservierte bei kleinen Rechteckfenstern weiterhin 40 px links UND rechts und schnitt dadurch u. a. das Notebook auf Smartphones sichtbar ab. Die Korrektur richtet sich bewusst nach dem tatsächlichen Fensterzustand statt nur nach der Browserbreite. */
body.techgrid-fui-active .win95.win-managed.tg-hex-window.tg-rect-window.tg-window-compact:not(.window-maximized):not(.gate-app-window):not(.techgrid-module-host):not(.praetorian-control-window) > :is(.win-body,.alert-content).tg-content-stage{
  left:8px!important;
  right:8px!important;
  max-width:none!important;
}
body.techgrid-fui-active .win95.win-managed.tg-hex-window.tg-rect-window.tg-window-micro:not(.window-maximized):not(.gate-app-window):not(.techgrid-module-host):not(.praetorian-control-window) > :is(.win-body,.alert-content).tg-content-stage{
  left:4px!important;
  right:4px!important;
  max-width:none!important;
}


/* MKL | 06.10.2026 – Schritt 278: NOTEBOOK reagiert auf seine reale Fensterbreite statt auf die Browserbreite. Ein schmal gezogenes internes Fenster darf nie Desktop-/Tablet-Regeln behalten und dadurch Überschriften, Projektkarten oder Aktionen senkrecht zerlegen. */
.notes-window{
  container-name:notebook-window!important;
  container-type:inline-size!important;
}

@container notebook-window (max-width:760px){
  .notebook-layout{
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
  }
  .notebook-project-tabs{
    grid-row:1!important;
    grid-column:1!important;
    padding:5px 7px!important;
    display:flex!important;
    flex-direction:row!important;
    align-items:stretch!important;
    gap:4px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    border-left:0!important;
    border-bottom:1px solid color-mix(in srgb,var(--notes-edge) 28%,transparent)!important;
    background:color-mix(in srgb,var(--notes-panel) 92%,transparent)!important;
    scrollbar-width:thin!important;
    scroll-snap-type:x proximity!important;
    box-shadow:inset 14px 0 14px -16px color-mix(in srgb,var(--notes-ink) 48%,transparent),inset -14px 0 14px -16px color-mix(in srgb,var(--notes-ink) 48%,transparent)!important;
  }
  .notebook-stage{grid-row:2!important;grid-column:1!important;min-width:0!important}
  .notebook-project-tab{
    flex:0 0 auto!important;
    width:auto!important;
    min-height:36px!important;
    padding:6px 9px!important;
    border-right:1px solid color-mix(in srgb,var(--notes-edge) 48%,transparent)!important;
    transform:none!important;
    box-shadow:none!important;
    scroll-snap-align:center!important;
  }
  .notebook-project-tab span{
    writing-mode:horizontal-tb!important;
    text-orientation:mixed!important;
    transform:none!important;
    white-space:nowrap!important;
    overflow:visible!important;
    max-width:none!important;
  }
  .notebook-project-tab.active{border-color:var(--notes-accent)!important;box-shadow:inset 0 -2px 0 var(--notes-accent)!important}
  .notebook-project-tab::before{display:none!important}
  .notebook-project-grid{grid-template-columns:minmax(0,1fr)!important;width:100%!important;max-width:100%!important}
  .notebook-editor-management{grid-template-columns:minmax(0,1fr)!important;margin-bottom:9px!important}
  .notebook-editor-layout{grid-template-columns:minmax(0,1fr)!important;gap:9px!important}
  .notebook-editor-topics{border-right:0!important;border-bottom:1px solid color-mix(in srgb,var(--notes-edge) 28%,transparent)!important;padding:0 0 8px!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:thin!important}
  .notebook-editor-side-title{position:sticky!important;left:0!important;background:var(--notes-panel)!important;z-index:1!important}
  .notebook-editor-topic-list{position:static!important;display:flex!important;grid-template-columns:none!important;gap:5px!important;width:max-content!important;max-width:none!important}
  .notebook-edit-topic{flex:0 0 clamp(138px,54cqw,218px)!important;min-width:0!important;max-width:none!important;width:auto!important}
  .notebook-editor-topic-head{flex-direction:column!important}
  .notebook-editor-topic-head>div:last-child{width:100%!important;justify-content:flex-end!important}
  .notebook-reading-list .notes-card-content{padding:12px!important}
}

@container notebook-window (max-width:600px){
  .notes-topline{
    min-height:38px!important;
    padding:5px 7px!important;
    gap:6px!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
  }
  .notebook-top-title{min-width:0!important;gap:0!important}
  .notebook-top-title>small{display:none!important}
  .notebook-top-title>div{display:flex!important;align-items:center!important;gap:6px!important;min-width:0!important;flex-wrap:nowrap!important}
  .notebook-top-title strong{
    min-width:0!important;
    font-size:14px!important;
    line-height:1!important;
    letter-spacing:.06em!important;
    white-space:nowrap!important;
    overflow:visible!important;
    word-break:normal!important;
  }
  .notebook-overview-button{
    flex:0 0 auto!important;
    min-height:32px!important;
    padding:0 7px!important;
    font-size:7px!important;
    white-space:nowrap!important;
  }
  .notes-topline>.notebook-top-status{display:none!important}
  .notebook-project-tabs{padding:4px!important;gap:3px!important;min-height:38px!important}
  .notebook-project-tab{min-height:36px!important;padding:5px 8px!important;font-size:9px!important;border-radius:0!important}
  .notebook-project-tab span{white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important}
  .notebook-page{padding:8px!important;overflow-x:hidden!important}
  .notes-page-head{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:7px!important;
    margin-bottom:10px!important;
    padding-bottom:8px!important;
  }
  .notes-page-head>div{min-width:0!important}
  .notes-page-head small,.notes-page-head p{display:none!important}
  .notes-page-head h2{
    margin:0!important;
    font-size:18px!important;
    line-height:1.05!important;
    white-space:normal!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
  }
  .notes-page-head .notes-primary{
    align-self:center!important;
    min-width:84px!important;
    min-height:38px!important;
    padding:0 8px!important;
    font-size:9px!important;
    line-height:1.05!important;
    white-space:nowrap!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
  }
  .notebook-project-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important;max-width:100%!important;gap:7px!important}
  .notebook-project-card{
    position:relative!important;
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
    box-shadow:none!important;
    overflow:hidden!important;
  }
  .notebook-project-card>button[data-open-project]{
    width:100%!important;
    min-width:0!important;
    min-height:58px!important;
    box-sizing:border-box!important;
    display:grid!important;
    grid-template-columns:32px minmax(0,1fr) 12px!important;
    align-items:center!important;
    gap:7px!important;
    padding:9px 48px 9px 8px!important;
  }
  .notebook-project-card>button[data-open-project]>span:nth-child(2){min-width:0!important}
  .notebook-project-card strong{
    font-size:12px!important;
    line-height:1.2!important;
    white-space:normal!important;
    overflow-wrap:break-word!important;
    word-break:normal!important;
  }
  .notebook-project-card small{
    font-size:8.5px!important;
    line-height:1.25!important;
    white-space:normal!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
  }
  .notebook-project-symbol{width:30px!important;height:30px!important;font-size:16px!important}
  .notebook-project-pencil{
    position:absolute!important;
    top:8px!important;
    right:7px!important;
    margin:0!important;
    width:38px!important;
    height:38px!important;
    min-height:38px!important;
    z-index:2!important;
  }
  .notebook-section-head{
    top:-8px!important;
    margin:-8px -8px 8px!important;
    padding:5px 6px!important;
    grid-template-columns:38px minmax(0,1fr) auto!important;
    gap:5px!important;
    min-height:44px!important;
  }
  .notebook-section-head .notes-back{width:38px!important;height:38px!important;min-height:38px!important;font-size:22px!important}
  .notebook-section-head h2{margin:1px 0 0!important;font-size:17px!important;line-height:1.08!important;overflow-wrap:break-word!important;word-break:normal!important}
  .notebook-section-head small{font-size:8px!important}
  .notebook-section-head .notes-category-head-actions{grid-column:auto!important;justify-content:flex-end!important;gap:3px!important}
  .notebook-section-head .notes-category-head-actions button{min-width:38px!important;width:38px!important;height:38px!important;min-height:38px!important;padding:0!important}
  .notebook-section-head [data-notes-pin]{font-size:0!important}
  .notebook-section-head [data-notes-pin]::before{content:"📌";font-size:14px;line-height:1}
  .notebook-topic-intro{margin-bottom:7px!important;padding-bottom:6px!important}
  .notebook-topic-intro p{display:none!important}
  .notes-category-list{gap:6px!important;width:100%!important;max-width:100%!important}
  .notes-category-row{grid-template-columns:minmax(0,1fr)!important;width:100%!important;max-width:100%!important;box-shadow:none!important}
  .notes-category-open{grid-template-columns:30px minmax(0,1fr) 12px!important;gap:7px!important;min-height:54px!important;padding:8px!important;min-width:0!important}
  .notes-category-open strong{font-size:12px!important;white-space:normal!important;overflow-wrap:break-word!important;word-break:normal!important}
  .notes-category-open small{font-size:8.5px!important;white-space:normal!important;word-break:normal!important}
  .notes-category-mark{width:30px!important;height:30px!important}
  .notes-category-actions{padding:0 7px 7px!important;justify-content:flex-end!important}
  .notebook-reading-list{gap:7px!important;width:100%!important;max-width:100%!important}
  .notebook-reading-list .notes-card{border-left-width:2px!important;box-shadow:none!important}
  .notebook-reading-list .notes-card-content{padding:10px!important}
  .notebook-reading-list .notes-rich-output{font-size:14px!important;line-height:1.58!important}
  .notebook-edit-head{display:none!important}
  .notebook-editor-management{display:grid!important;gap:5px!important;margin-bottom:7px!important}
  .notebook-editor-management-block{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:6px!important;padding:6px!important;background:transparent!important;border-width:0 0 1px!important;min-width:0!important}
  .notebook-project-management{grid-template-columns:38px minmax(0,1fr) auto!important}
  .notebook-mobile-edit-back{display:grid!important;place-items:center!important;width:38px!important;height:38px!important;min-height:38px!important;padding:0!important}
  .notebook-editor-management-block strong{font-size:11px!important;white-space:normal!important;overflow-wrap:break-word!important;word-break:normal!important}
  .notebook-editor-management-block span{display:none!important}
  .notebook-editor-management-block>button:not(.notebook-mobile-edit-back){min-height:38px!important;padding:0 7px!important;font-size:8px!important;white-space:nowrap!important}
  .notebook-editor-topics{padding-bottom:6px!important;margin-bottom:2px!important;max-width:100%!important;overflow-x:auto!important}
  .notebook-editor-side-title{display:none!important}
  .notebook-editor-topic-list{display:flex!important;grid-template-columns:none!important;gap:4px!important;width:max-content!important;max-width:none!important}
  .notebook-edit-topic{flex:0 0 clamp(124px,58cqw,178px)!important;min-width:0!important;max-width:none!important;border-color:color-mix(in srgb,var(--notes-edge) 26%,transparent)!important}
  .notebook-edit-topic>button{min-height:42px!important;padding:7px 8px!important}
  .notebook-edit-topic>button strong{font-size:10px!important;white-space:normal!important;overflow-wrap:break-word!important;word-break:normal!important}
  .notebook-edit-topic>button small{font-size:8px!important;white-space:normal!important;word-break:normal!important}
  .notebook-edit-topic>div{display:none!important}
  .notebook-editor-topic-head{margin:0 0 6px!important;padding:5px 0 7px!important;gap:6px!important}
  .notebook-editor-topic-head h3{font-size:17px!important;overflow-wrap:break-word!important;word-break:normal!important}
  .notebook-editor-topic-head>div:last-child{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important}
  .notebook-editor-topic-head button{min-width:0!important;min-height:40px!important;padding:0 4px!important;font-size:7.5px!important;white-space:normal!important;word-break:normal!important}
  .notebook-mobile-delete-topic{display:block!important;color:#b3212e!important}
  [data-notebook-editor-content]{display:flex!important;flex-direction:column!important;gap:7px!important}
  .notebook-editor-existing{order:1!important;margin-top:0!important}
  .notebook-editor-create{order:2!important;margin-top:0!important}
  .notebook-editor-section{border:0!important;border-top:1px solid color-mix(in srgb,var(--notes-edge) 27%,transparent)!important;background:transparent!important}
  .notebook-editor-section>header{min-height:40px!important;padding:6px 0!important;background:transparent!important;border-bottom:0!important}
  .notebook-mobile-create-toggle{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:38px!important;padding:0 7px!important;font-size:7.5px!important;white-space:nowrap!important}
  .notebook-editor-create.is-phone-collapsed .notes-composer{display:none!important}
  .notebook-editor-existing .notes-card-list{padding:0!important;display:grid!important;gap:6px!important}
  .notebook-editor-existing .notes-card-actions{position:static!important;display:flex!important;justify-content:flex-end!important;gap:4px!important;padding:6px 6px 0!important}
  .notebook-editor-existing .notes-card-content{padding:6px 10px 10px!important}
  .notebook-editor-existing .notes-card h3{margin-right:0!important}
  .notebook-editor-existing .notes-card-actions button{min-width:38px!important;width:38px!important;height:38px!important;min-height:38px!important}
  .notebook-editor-create .notes-composer-tabs button{min-height:40px!important;min-width:0!important;flex:1!important}
  .notebook-editor-create .notes-composer-pane{padding:8px 0!important}
  .notebook-editor-create .notes-subtitle-input,.notebook-editor-create textarea{min-height:40px!important;font-size:13px!important}
  .notebook-editor-create .notes-rich-editor{min-height:124px!important;max-height:42dvh!important;font-size:14px!important;line-height:1.5!important}
  .notebook-editor-create .notes-editor-toolbar{gap:4px!important}
  .notebook-editor-create .notes-editor-toolbar button,.notebook-editor-create .notes-editor-toolbar label{min-height:38px!important}
  .notebook-editor-create .notes-composer-actions .notes-primary{min-height:40px!important;width:100%!important}
}

@container notebook-window (max-width:380px){
  .notes-topline{padding-inline:5px!important}
  .notebook-top-title strong{font-size:13px!important}
  .notebook-overview-button{padding-inline:6px!important;font-size:6.6px!important}
  .notebook-project-tabs{padding-inline:3px!important}
  .notebook-project-tab{padding-inline:7px!important}
  .notebook-page{padding:6px!important}
  .notes-page-head{gap:5px!important}
  .notes-page-head h2{font-size:17px!important}
  .notes-page-head .notes-primary{min-width:76px!important;padding-inline:6px!important;font-size:8px!important}
  .notebook-project-card>button[data-open-project]{padding-right:46px!important}
  .notebook-project-pencil{width:36px!important;height:36px!important;min-height:36px!important;right:6px!important}
  .notebook-section-head{top:-6px!important;margin:-6px -6px 6px!important;padding-inline:4px!important;grid-template-columns:36px minmax(0,1fr) auto!important}
  .notebook-section-head .notes-back{width:36px!important;height:38px!important}
  .notebook-section-head h2{font-size:15px!important}
  .notebook-editor-management-block{padding-inline:4px!important}
  .notebook-editor-management-block>button{padding-inline:5px!important}
  .notebook-edit-topic{flex-basis:128px!important}
  .notebook-editor-topic-head h3{font-size:15px!important}
  .notebook-editor-topic-head button{font-size:7px!important;padding-inline:3px!important}
  .notebook-reading-list .notes-rich-output{font-size:13.8px!important}
}

/* MKL | 06.10.2026 – Schritt 278: In der schmalen NOTEBOOK-Bearbeitung bleiben die drei Themenaktionen fingerfreundlich, ohne ihre Beschriftungen in senkrechte Wortfragmente zu zerlegen. */
@container notebook-window (max-width:600px){
  .notebook-editor-topic-head>div:last-child{grid-template-columns:minmax(0,1fr) 40px 40px!important}
  .notebook-editor-topic-head [data-notes-edit-category]{white-space:nowrap!important;font-size:7.5px!important}
  body.os-body .notes-window .notebook-editor-topic-head [data-notes-pin-edit],
  body.os-body .notes-window .notebook-editor-topic-head [data-notes-delete-category-active]{position:relative!important;padding:0!important;display:block!important;overflow:hidden!important;text-indent:-999px!important;white-space:nowrap!important;text-shadow:none!important}
  body.os-body .notes-window .notebook-editor-topic-head [data-notes-pin-edit]::before,
  body.os-body .notes-window .notebook-editor-topic-head [data-notes-delete-category-active]::before{position:absolute;inset:0;display:grid;place-items:center;text-indent:0!important;letter-spacing:0!important}
  body.os-body .notes-window .notebook-editor-topic-head [data-notes-pin-edit]::before{content:"📌";font:400 15px/1 Arial,sans-serif!important;color:var(--notes-ink)!important}
  body.os-body .notes-window .notebook-editor-topic-head [data-notes-delete-category-active]::before{content:"×";font:700 22px/1 Arial,sans-serif!important;color:#b3212e!important}
}


/* MKL | 06.10.2026 – Schritt 280: Vollständige Smartphone-Kaskade für interne Fenster. Alte Sicherheitszonen dürfen nach allen späteren Theme-/Fensterregeln nicht erneut Breite abziehen. Kompakte Fenster werden nach ihrer echten Fensterklasse begrenzt; jedes direkte Inhaltslayer bleibt innerhalb der sichtbaren Innenfläche. */
body.os-body .win95.win-managed.tg-window-compact:not(.window-maximized){
  max-width:calc(100vw - 4px)!important;
  box-sizing:border-box!important;
}
body.os-body .win95.win-managed.tg-window-compact:not(.window-maximized)>:is(.win-body,.alert-content,.prae-main){
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
body.techgrid-fui-active .win95.win-managed.tg-hex-window.tg-rect-window.tg-window-compact:not(.window-maximized)>:is(.win-body,.alert-content,.prae-main){
  left:8px!important;
  right:8px!important;
  width:auto!important;
  max-width:none!important;
  box-sizing:border-box!important;
}
body.techgrid-fui-active .win95.win-managed.tg-hex-window.tg-rect-window.tg-window-micro:not(.window-maximized)>:is(.win-body,.alert-content,.prae-main){
  left:4px!important;
  right:4px!important;
}
body.os-body .win95.win-managed.tg-window-compact :is(.win-body,.alert-content,.prae-main,.prae-content,.inner-pad,.handbook-layout,.handbook-content,.handbook-index,.tg-content-stage,.tg-fluid-scroll,.notes-shell,.notebook-layout,.notebook-stage,.notebook-page){
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
body.os-body .win95.win-managed.tg-window-compact :is(input:not([type="checkbox"]):not([type="radio"]),textarea,select,iframe,img,canvas,svg){
  max-width:100%!important;
  box-sizing:border-box!important;
}
body.os-body .win95.win-managed.tg-window-compact :is(.admin-actions,.toolbar,.controls,.secure-mail-toolbar,.secure-mail-reader-actions,.secure-mail-compose-actions,.trace-actions,.record-controls,.chat-compose,.bank-camera-actions,.duplicate-alert-actions,.easter-card-actions,.notes-category-head-actions){
  max-width:100%!important;
  min-width:0!important;
  flex-wrap:wrap!important;
}
body.os-body .win95.win-managed.tg-window-compact :is(.admin-grid,.settings-grid,.portal-grid,.inline-grid,.form-grid,.secure-mail-layout,.record-layout){
  min-width:0!important;
  max-width:100%!important;
}
body.os-body .win95.win-managed.tg-window-micro :is(.admin-grid,.settings-grid,.portal-grid,.inline-grid,.form-grid,.secure-mail-layout,.record-layout){
  grid-template-columns:minmax(0,1fr)!important;
}
/* Dedicated horizontal data areas may scroll; the window itself must never need horizontal scrolling. */
body.os-body .win95.win-managed.tg-window-compact>:is(.win-body,.alert-content){overflow-x:hidden!important}
body.os-body .win95.win-managed.tg-window-compact :is(.table-scroll,.audit-log-scroll,.tg-flow-table-shell,.sim-shell-output,.bndx-code,.bndx-remote-shell){max-width:100%!important;overflow-x:auto!important}

/* NOTEBOOK: 600 px is the real phone/narrow-window breakpoint. Many mobile browsers expose roughly 480–550 CSS px; 430 px left a broken hybrid layout. */
@container notebook-window (max-width:600px){
  .notebook-page{width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:hidden!important}
  .notes-page-head{width:100%!important;max-width:100%!important;box-sizing:border-box!important}
  .notes-page-head>div{min-width:0!important;max-width:100%!important}
  .notes-page-head .notes-primary{justify-self:end!important;max-width:100%!important}
  .notebook-project-grid,.notebook-project-card,.notebook-project-card>button[data-open-project]{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
  .notebook-project-card>button[data-open-project]{overflow:hidden!important}
  .notebook-project-card>button[data-open-project]>span:nth-child(2){min-width:0!important;max-width:100%!important}
  .notebook-project-card strong,.notebook-project-card small{max-width:100%!important;word-break:normal!important;overflow-wrap:break-word!important}
  .notebook-editor-main,[data-notebook-editor-content],.notebook-editor-section,.notes-composer,.notes-composer-pane,.notes-card-list,.notes-card{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
}

/* MKL | 06.10.2026 – Schritt 281: Projektübersicht erhält eine eigene, touchsichere Sortiersteuerung. Der Greifbereich liegt außerhalb der Öffnen-Aktion; Drop-Markierung, Tastatur-Fallback und Projekteditor verwenden dieselbe gespeicherte Array-Reihenfolge. */
.notebook-project-card{
  grid-template-columns:auto minmax(0,1fr) auto!important;
  transition:transform .14s ease,opacity .14s ease,border-color .14s ease,box-shadow .14s ease;
}
.notebook-project-sort-grip{
  align-self:stretch;
  width:34px;
  min-width:34px;
  min-height:54px;
  margin:0;
  padding:0;
  display:grid;
  place-items:center;
  border:0;
  border-right:1px solid color-mix(in srgb,var(--notes-edge) 30%,transparent);
  background:color-mix(in srgb,var(--notes-accent) 5%,transparent);
  color:color-mix(in srgb,var(--notes-muted) 76%,var(--notes-ink) 24%);
  font:700 17px/1 Consolas,"Cascadia Mono",monospace;
  cursor:grab;
  touch-action:none;
  user-select:none;
  -webkit-user-select:none;
}
.notebook-project-sort-grip:hover,.notebook-project-sort-grip:focus-visible,.notebook-project-sort-grip.is-touch-sorting{
  color:var(--notes-accent);
  background:color-mix(in srgb,var(--notes-accent) 12%,transparent);
  outline:0;
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--notes-accent) 52%,transparent);
}
.notebook-project-sort-grip:active,.notebook-project-sort-grip.is-touch-sorting{cursor:grabbing}
.notebook-project-card.is-project-dragging{opacity:.56;transform:scale(.985);z-index:3}
.notebook-project-card.is-project-drop-before::before,.notebook-project-card.is-project-drop-after::after{
  content:"";
  position:absolute;
  z-index:8;
  left:4px;
  right:4px;
  height:3px;
  border-radius:2px;
  background:var(--notes-accent);
  box-shadow:0 0 9px color-mix(in srgb,var(--notes-accent) 65%,transparent);
  pointer-events:none;
}
.notebook-project-card.is-project-drop-before::before{top:-2px}
.notebook-project-card.is-project-drop-after::after{bottom:-2px}
.notebook-project-order-actions{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:6px;
  margin-top:8px;
  padding-top:8px;
  border-top:1px solid color-mix(in srgb,var(--notes-edge) 25%,transparent);
}
.notebook-project-order-actions button{
  min-width:0!important;
  min-height:34px!important;
  white-space:nowrap!important;
}
.notebook-project-order-actions button:disabled{opacity:.38;cursor:default;filter:none!important}
@container notebook-window (max-width:600px){
  .notebook-project-card{display:block!important}
  .notebook-project-sort-grip{
    position:absolute!important;
    left:6px!important;
    top:7px!important;
    z-index:3!important;
    width:38px!important;
    min-width:38px!important;
    height:38px!important;
    min-height:38px!important;
    border:1px solid color-mix(in srgb,var(--notes-edge) 42%,transparent)!important;
    background:color-mix(in srgb,var(--notes-panel) 86%,transparent)!important;
  }
  .notebook-project-card>button[data-open-project]{
    grid-template-columns:minmax(0,1fr) 12px!important;
    padding-left:50px!important;
    padding-right:48px!important;
  }
  .notebook-project-symbol{display:none!important}
  .notebook-project-order-actions{grid-template-columns:1fr!important}
  .notebook-project-order-actions button{min-height:40px!important}
}
@container notebook-window (max-width:380px){
  .notebook-project-sort-grip{left:5px!important;top:6px!important;width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important}
  .notebook-project-card>button[data-open-project]{padding-left:47px!important;padding-right:45px!important}
}


/* ==========================================================================
   MKL | 07.10.2026 – Schritt 284
   TechGrid Themenwelten: Abenteuer · Rustikal · Sternenpanel
   Vollständige Theme-Paletten plus eigene Material-/Oberflächenlogik. Die
   Fenstergeometrie, Bedienpfade, Rechte, Inhalte und responsive Logik bleiben
   identisch mit den bestehenden TechGrid-Themes.
   ========================================================================== */
.user-theme-techgrid-adventure,
.user-theme-techgrid-rustic,
.user-theme-techgrid-starpanel{
  --tg-danger:#c9303e;
  --tg-success:#73d39b;
  --tg-warn:#e3bd63;
  --tg-shadow:0 20px 46px rgba(0,0,0,.56),0 0 0 1px rgba(255,255,255,.028),0 0 28px var(--tg-glow);
  background:radial-gradient(circle at top,rgba(255,255,255,.035),transparent 42%),linear-gradient(180deg,var(--tg-bg) 0%,var(--tg-bg2) 100%)!important;
  color:var(--tg-ink)!important;
  font-family:"Segoe UI",Inter,Arial,sans-serif!important;
}
.user-theme-techgrid-adventure{
  --tg-bg:#0d0b07;--tg-bg2:#19140d;--tg-panel:rgba(24,19,12,.84);--tg-panel-2:rgba(31,24,14,.94);--tg-card:rgba(39,29,16,.88);
  --tg-ink:#f6ecd2;--tg-muted:#c4b38f;--tg-line:#c9963f;--tg-line-2:#79c7b0;--tg-glow:rgba(201,150,63,.30);--tg-grid:rgba(211,174,100,.07);
  --tg-edge:rgba(222,179,98,.58);--tg-button:rgba(55,39,20,.90);--tg-button-hover:rgba(78,57,28,.98);
}
.user-theme-techgrid-rustic{
  --tg-bg:#0b0704;--tg-bg2:#1b1009;--tg-panel:rgba(26,15,8,.86);--tg-panel-2:rgba(35,19,9,.95);--tg-card:rgba(45,25,12,.90);
  --tg-ink:#f5e4c5;--tg-muted:#c6a77d;--tg-line:#b87333;--tg-line-2:#dfbd73;--tg-glow:rgba(184,115,51,.32);--tg-grid:rgba(207,150,84,.065);
  --tg-edge:rgba(202,144,79,.60);--tg-button:rgba(61,32,14,.92);--tg-button-hover:rgba(88,47,20,.98);
}
.user-theme-techgrid-starpanel{
  --tg-bg:#02050d;--tg-bg2:#07101f;--tg-panel:rgba(5,12,27,.83);--tg-panel-2:rgba(7,17,37,.94);--tg-card:rgba(9,23,48,.88);
  --tg-ink:#edf6ff;--tg-muted:#9fb6d7;--tg-line:#6ba8ff;--tg-line-2:#a2f2ff;--tg-glow:rgba(92,158,255,.33);--tg-grid:rgba(124,180,255,.07);
  --tg-edge:rgba(126,182,255,.58);--tg-button:rgba(12,31,61,.90);--tg-button-hover:rgba(19,49,91,.98);
}

.gatekeeper-os.user-theme-techgrid-adventure .desktop{background:linear-gradient(180deg,#0b0906 0%,#18130c 100%),url("./wallpapers/techgrid-adventure-gatekeeper.svg") center/cover no-repeat!important}
.praetorian-os.user-theme-techgrid-adventure .desktop{background:linear-gradient(180deg,#090704 0%,#151008 100%),url("./wallpapers/techgrid-adventure-praetorian.svg") center/cover no-repeat!important}
.gatekeeper-os.user-theme-techgrid-rustic .desktop{background:linear-gradient(180deg,#080503 0%,#1a0f08 100%),url("./wallpapers/techgrid-rustic-gatekeeper.svg") center/cover no-repeat!important}
.praetorian-os.user-theme-techgrid-rustic .desktop{background:linear-gradient(180deg,#070402 0%,#160c06 100%),url("./wallpapers/techgrid-rustic-praetorian.svg") center/cover no-repeat!important}
.gatekeeper-os.user-theme-techgrid-starpanel .desktop{background:linear-gradient(180deg,#01040a 0%,#07101f 100%),url("./wallpapers/techgrid-starpanel-gatekeeper.svg") center/cover no-repeat!important}
.praetorian-os.user-theme-techgrid-starpanel .desktop{background:linear-gradient(180deg,#010309 0%,#050d1b 100%),url("./wallpapers/techgrid-starpanel-praetorian.svg") center/cover no-repeat!important}

/* Text-/Alarmfarben sind pro Themenwelt separat kalibriert. */
body.os-body.user-theme-techgrid-adventure{--tg-node-title:#f7ecd2;--tg-node-info:#ceb98f;--tg-node-shine:#91dcc6;--tg-alert-bg:#631414;--tg-alert-bg2:#310909;--tg-alert-ring:#e24b3f;--tg-alert-text:#ffe88c;--tg-alert-info:#ffd99a;--tg-alert-glow:rgba(226,75,63,.44);--tg-folder-open-title:#fff2cf;--tg-folder-open-info:#d9c18d;--tg-folder-open-shadow:rgba(0,0,0,.72)}
body.os-body.user-theme-techgrid-rustic{--tg-node-title:#f7e6c8;--tg-node-info:#d0ac7e;--tg-node-shine:#f0cf86;--tg-alert-bg:#681414;--tg-alert-bg2:#340909;--tg-alert-ring:#d94b3d;--tg-alert-text:#ffe99b;--tg-alert-info:#ffdaa1;--tg-alert-glow:rgba(217,75,61,.43);--tg-folder-open-title:#fff0cf;--tg-folder-open-info:#ddb780;--tg-folder-open-shadow:rgba(0,0,0,.74)}
body.os-body.user-theme-techgrid-starpanel{--tg-node-title:#f0f7ff;--tg-node-info:#aec3e2;--tg-node-shine:#b7f6ff;--tg-alert-bg:#5f1020;--tg-alert-bg2:#2d0710;--tg-alert-ring:#ff5570;--tg-alert-text:#fff19c;--tg-alert-info:#ffdca3;--tg-alert-glow:rgba(255,85,112,.44);--tg-folder-open-title:#f2fbff;--tg-folder-open-info:#bce8f2;--tg-folder-open-shadow:rgba(0,0,0,.72)}

/* Themenwelt-spezifische Materialität: keine reine Umfärbung. */
body.user-theme-techgrid-adventure.techgrid-fui-active .win95,
body.user-theme-techgrid-adventure.techgrid-module .prae-main,
body.user-theme-techgrid-adventure.techgrid-hex-embedded{
  background-image:linear-gradient(135deg,rgba(201,150,63,.055) 0 1px,transparent 1px 20px),linear-gradient(180deg,rgba(86,67,34,.15),transparent 34%)!important;
}
body.user-theme-techgrid-adventure.techgrid-fui-active .win95>.win-title,
body.user-theme-techgrid-adventure :is(.legacy-menu,.record-menu,.mail-menubar,.qr-tool-head,.calc-panel-head,.code-guide-head){
  background:linear-gradient(90deg,rgba(201,150,63,.23),rgba(53,41,22,.72) 36%,rgba(121,199,176,.07)),var(--tg-card)!important;
  border-bottom-color:#c9963f!important;
}
body.user-theme-techgrid-adventure.techgrid-fui-active .tg-node-frame{background:linear-gradient(135deg,#6d4b20 0,#d2a654 28%,#79c7b0 51%,#d1a14d 72%,#6a481e 100%)!important}
body.user-theme-techgrid-adventure.techgrid-fui-active .tg-node-surface{background:radial-gradient(circle at 42% 28%,rgba(121,199,176,.07),transparent 34%),linear-gradient(145deg,#2c2113,#18130d 62%,#241b10)!important;box-shadow:inset 0 0 0 1px rgba(233,199,129,.12),inset 0 0 28px rgba(0,0,0,.38)!important}
body.user-theme-techgrid-adventure.techgrid-fui-active .tg-widget{background:linear-gradient(135deg,rgba(201,150,63,.08),transparent 32%),linear-gradient(180deg,rgba(42,31,17,.94),rgba(21,17,11,.91))!important;border-left-color:#c9963f!important}
body.user-theme-techgrid-adventure .tg-context-menu{background:linear-gradient(155deg,#2d2113,#17120c)!important;border-color:#c9963f!important}

body.user-theme-techgrid-rustic.techgrid-fui-active .win95,
body.user-theme-techgrid-rustic.techgrid-module .prae-main,
body.user-theme-techgrid-rustic.techgrid-hex-embedded{
  background-image:repeating-linear-gradient(2deg,rgba(255,210,132,.018) 0 1px,rgba(0,0,0,.026) 1px 4px),linear-gradient(180deg,rgba(102,53,22,.14),transparent 30%)!important;
}
body.user-theme-techgrid-rustic.techgrid-fui-active .win95>.win-title,
body.user-theme-techgrid-rustic :is(.legacy-menu,.record-menu,.mail-menubar,.qr-tool-head,.calc-panel-head,.code-guide-head){
  background:linear-gradient(180deg,rgba(109,58,25,.62),rgba(48,25,12,.92)),var(--tg-card)!important;
  border-bottom-color:#b87333!important;
  box-shadow:inset 0 1px 0 rgba(244,207,139,.10)!important;
}
body.user-theme-techgrid-rustic.techgrid-fui-active .tg-node-frame{background:linear-gradient(135deg,#4c2812 0,#b87333 24%,#dfbd73 48%,#9a5627 72%,#45240f 100%)!important}
body.user-theme-techgrid-rustic.techgrid-fui-active .tg-node-surface{background:repeating-linear-gradient(4deg,rgba(238,181,103,.022) 0 1px,rgba(0,0,0,.025) 1px 4px),linear-gradient(145deg,#352010,#180f08 62%,#2b190d)!important;box-shadow:inset 0 0 0 1px rgba(232,186,112,.13),inset 0 0 30px rgba(0,0,0,.42)!important}
body.user-theme-techgrid-rustic.techgrid-fui-active :is(.win95,.tg-widget,.tg-context-menu){filter:saturate(.96)}
body.user-theme-techgrid-rustic.techgrid-fui-active .tg-widget{background:repeating-linear-gradient(3deg,rgba(223,189,115,.018) 0 1px,transparent 1px 5px),linear-gradient(180deg,rgba(48,28,14,.94),rgba(22,13,7,.92))!important;border-left-color:#b87333!important}
body.user-theme-techgrid-rustic .tg-context-menu{background:linear-gradient(155deg,#321d0f,#170d07)!important;border-color:#b87333!important}

body.user-theme-techgrid-starpanel.techgrid-fui-active .desktop::before{background:radial-gradient(circle at var(--mx,64%) var(--my,48%),rgba(118,176,255,.18),transparent 19%),radial-gradient(circle at 18% 22%,rgba(162,242,255,.08),transparent 14%),linear-gradient(90deg,transparent 0 49.5%,rgba(107,168,255,.055) 50%,transparent 50.5%)!important}
body.user-theme-techgrid-starpanel.techgrid-fui-active .win95,
body.user-theme-techgrid-starpanel.techgrid-module .prae-main,
body.user-theme-techgrid-starpanel.techgrid-hex-embedded{background-image:linear-gradient(180deg,rgba(87,143,223,.07),transparent 28%),radial-gradient(circle at 82% 12%,rgba(162,242,255,.045) 0 1px,transparent 1.5px)!important;background-size:auto,28px 28px!important}
body.user-theme-techgrid-starpanel.techgrid-fui-active .win95>.win-title,
body.user-theme-techgrid-starpanel :is(.legacy-menu,.record-menu,.mail-menubar,.qr-tool-head,.calc-panel-head,.code-guide-head){background:linear-gradient(90deg,rgba(87,151,244,.20),rgba(8,21,45,.92) 52%,rgba(162,242,255,.05)),var(--tg-card)!important;border-bottom-color:#6ba8ff!important}
body.user-theme-techgrid-starpanel.techgrid-fui-active .tg-node-frame{background:linear-gradient(135deg,#31588f 0,#6ba8ff 28%,#a2f2ff 49%,#688fd9 70%,#254578 100%)!important}
body.user-theme-techgrid-starpanel.techgrid-fui-active .tg-node-surface{background:radial-gradient(circle at 67% 28%,rgba(162,242,255,.12) 0 1px,transparent 1.6px),radial-gradient(circle at 36% 62%,rgba(130,180,255,.10) 0 1px,transparent 1.5px),linear-gradient(145deg,#10274d,#071326 65%,#0b1c37)!important;background-size:24px 24px,31px 31px,auto!important;box-shadow:inset 0 0 0 1px rgba(174,218,255,.15),inset 0 0 28px rgba(0,0,0,.34)!important}
body.user-theme-techgrid-starpanel.techgrid-fui-active .tg-widget{background:linear-gradient(135deg,rgba(107,168,255,.08),transparent 34%),linear-gradient(180deg,rgba(9,24,50,.94),rgba(4,11,25,.92))!important;border-left-color:#6ba8ff!important}
body.user-theme-techgrid-starpanel .tg-context-menu{background:linear-gradient(155deg,#0b1e3c,#040a17)!important;border-color:#6ba8ff!important}

/* Formulare, Notebook und Tool-Embeds übernehmen die dunklen Themeflächen explizit. */
body:is(.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) :is(.notes-rich-editor,.notes-subtitle-input,.notes-composer textarea,.notes-inline-card input){background:color-mix(in srgb,var(--tg-panel-2) 94%,#000)!important;color:var(--tg-ink)!important;caret-color:var(--tg-line)!important;border-color:color-mix(in srgb,var(--tg-edge) 82%,transparent)!important}
body:is(.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) .notes-rich-editor:empty::before{color:var(--tg-muted)!important}
body:is(.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) :is(.notes-rich-editor,.notes-rich-output) a{color:var(--tg-line-2)!important}
body:is(.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) .trace-node-map .tn{color:var(--mkl-c-fg)!important;background:color-mix(in srgb,var(--mkl-c-field) 90%,transparent)!important;border-color:var(--mkl-c-accent)!important;text-shadow:none!important}
body:is(.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) .calc-tool-shell h1{color:var(--mkl-c-accent)!important}
body:is(.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) .pizza-net-window :is(.pizza-red-alert,.pizza-transmit-error,.pizza-final-alert strong,.pizza-address-prompt,.pizza-data-row span,.pizza-delivery-choice strong){color:#ffaaa3!important;text-shadow:0 1px 0 #3b0000!important}
body:is(.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) .admin-chat-window :is(.chat-message,.chat-message strong,.chat-message span){color:var(--mkl-c-fg)!important}

/* Session Guard */
body.user-theme-techgrid-adventure .tg-idle-lock{--tg-lock-bg:#171109;--tg-lock-bg-2:#241a0f;--tg-lock-ink:#f8ecd2;--tg-lock-muted:#c8b68f;--tg-lock-label:#91dcc6;--tg-lock-edge:#d5a854;--tg-lock-glow:rgba(201,150,63,.28);--tg-lock-input-bg:#21180e;--tg-lock-input-ink:#fff4dc;--tg-lock-button-bg:#4b351b;--tg-lock-button-ink:#fff0d2;--tg-lock-cancel-bg:#221a11;--tg-lock-cancel-ink:#d6c39f;--tg-lock-symbol-ink:#171109}
body.user-theme-techgrid-rustic .tg-idle-lock{--tg-lock-bg:#170d07;--tg-lock-bg-2:#27150a;--tg-lock-ink:#f7e5c7;--tg-lock-muted:#c7a77d;--tg-lock-label:#dfbd73;--tg-lock-edge:#c98242;--tg-lock-glow:rgba(184,115,51,.29);--tg-lock-input-bg:#211208;--tg-lock-input-ink:#fff1d5;--tg-lock-button-bg:#512b13;--tg-lock-button-ink:#fff0d1;--tg-lock-cancel-bg:#25150c;--tg-lock-cancel-ink:#d5b58a;--tg-lock-symbol-ink:#170d07}
body.user-theme-techgrid-starpanel .tg-idle-lock{--tg-lock-bg:#050c1b;--tg-lock-bg-2:#09162e;--tg-lock-ink:#eef7ff;--tg-lock-muted:#a8bedf;--tg-lock-label:#a2f2ff;--tg-lock-edge:#79b7ff;--tg-lock-glow:rgba(92,158,255,.29);--tg-lock-input-bg:#071329;--tg-lock-input-ink:#f5fbff;--tg-lock-button-bg:#143866;--tg-lock-button-ink:#f0f8ff;--tg-lock-cancel-bg:#0a1830;--tg-lock-cancel-ink:#b7c9e2;--tg-lock-symbol-ink:#050c1b}

/* Tooltips */
body.user-theme-techgrid-adventure{--tg-tip-bg:#21180e;--tg-tip-ink:#f8ecd4;--tg-tip-muted:#cbb994;--tg-tip-edge:#d1a04d;--tg-tip-accent:#91dcc6;--tg-tip-glow:rgba(201,150,63,.22)}
body.user-theme-techgrid-rustic{--tg-tip-bg:#24140a;--tg-tip-ink:#f7e5c8;--tg-tip-muted:#c8aa80;--tg-tip-edge:#c77d3c;--tg-tip-accent:#e2c27c;--tg-tip-glow:rgba(184,115,51,.23)}
body.user-theme-techgrid-starpanel{--tg-tip-bg:#07152d;--tg-tip-ink:#eef7ff;--tg-tip-muted:#aec2df;--tg-tip-edge:#79b7ff;--tg-tip-accent:#a2f2ff;--tg-tip-glow:rgba(92,158,255,.23)}

/* Scrollbars and selection: small details stay theme-consistent. */
body:is(.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) *{scrollbar-color:color-mix(in srgb,var(--tg-line) 72%,var(--tg-panel-2)) color-mix(in srgb,var(--tg-bg) 88%,black 12%)}
body:is(.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) ::selection{background:color-mix(in srgb,var(--tg-line-2) 32%,transparent);color:var(--tg-ink)}
body:is(.user-theme-techgrid-adventure,.user-theme-techgrid-rustic,.user-theme-techgrid-starpanel) :is(button,input,textarea,select):disabled{filter:saturate(.6);opacity:.68!important}

/* Separate Gatekeeper shield tuning for the new materials. */
body.gatekeeper-os.user-theme-techgrid-adventure.techgrid-fui-active .tg-gatekeeper-emblem .tg-gk-shield{fill:rgba(201,150,63,.16);stroke:#d2a654}
body.gatekeeper-os.user-theme-techgrid-adventure.techgrid-fui-active .tg-gatekeeper-emblem .tg-gk-gate{stroke:#79c7b0}
body.gatekeeper-os.user-theme-techgrid-rustic.techgrid-fui-active .tg-gatekeeper-emblem .tg-gk-shield{fill:rgba(184,115,51,.17);stroke:#c98242}
body.gatekeeper-os.user-theme-techgrid-rustic.techgrid-fui-active .tg-gatekeeper-emblem .tg-gk-gate{stroke:#dfbd73}
body.gatekeeper-os.user-theme-techgrid-starpanel.techgrid-fui-active .tg-gatekeeper-emblem .tg-gk-shield{fill:rgba(107,168,255,.13);stroke:#79b7ff}
body.gatekeeper-os.user-theme-techgrid-starpanel.techgrid-fui-active .tg-gatekeeper-emblem .tg-gk-gate{stroke:#a2f2ff}
