/* V4.1 — Enterprise Design Freeze; original V4 functional engines retained. */
:root{--bg:#081a23;--bar:#08262b;--panel:#112830;--line:#29434c;--fg:#e9f2f4;--muted:#a9bdc4;--green:#79e3c2;--red:#f58d98}body{background:var(--bg);font-size:13px;font-variant-numeric:tabular-nums}button,select,input{border-radius:5px}button:hover,select:hover{border-color:#648b8e}button:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible,a:focus-visible{outline:2px solid #79e3c2;outline-offset:2px}.polish-icon{width:17px;height:17px;flex-shrink:0;vertical-align:middle}.ecosystem{min-height:36px;display:flex;align-items:center;gap:18px;padding:3px 22px;background:#082c2e;border-bottom:1px solid #3aa48f;flex-shrink:0}.family-label{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:650;white-space:nowrap;color:#c4dfda}.family-label .polish-icon{width:15px;height:15px;color:#8ab9ad}.family-links{display:flex;align-items:center;gap:5px;flex:1;justify-content:center;min-width:0}.family-links a,.family-account button{display:flex;align-items:center;justify-content:center;gap:8px;padding:6px 13px;color:#e3efee;text-decoration:none;font-size:12px;font-weight:650;white-space:nowrap;border:1px solid transparent;border-radius:5px;background:none}.family-links a[aria-current=page]{background:#75e8cc;color:#082a2c;min-width:146px}.family-links a:not([aria-current]):hover,.family-account button:hover{background:#1b4446}.family-account{display:flex;align-items:center;gap:4px}.family-account button+button{border-left:1px solid #365458;border-radius:0}.header.polish-header{height:60px;background:#091f27;padding:0 22px;gap:15px}.brand{font-size:22px;letter-spacing:-.7px;line-height:1.05;gap:10px}.brand img{width:35px;height:35px}.brand small{display:block;color:#a8bec5;font-size:10px;font-weight:450;letter-spacing:0;margin-top:4px}.header-divider{height:27px;border-left:1px solid #3b5058;flex-shrink:0}.header .plain{background:none;border-color:transparent;display:flex;gap:8px;align-items:center;white-space:nowrap}.workspace-select,.global-search{display:flex;align-items:center;gap:8px;padding:0 10px;border:1px solid #49646d;background:#112b34;border-radius:6px;min-height:35px;min-width:0}.workspace-select .polish-icon{color:#8edfc8}.workspace-select select,.global-search input{border:0;background:transparent;padding:7px 0;min-width:0}.workspace-select select{max-width:202px;font-size:12px}.workspace-select option,.toolbar option,.map-control option{background:#162e37}.global-search{width:clamp(210px,25vw,420px);color:#c6dade}.global-search input{flex:1;width:100%;font-size:12px;color:var(--fg)}.global-search kbd{font:10px system-ui;color:#b1c9cc;border:1px solid #4d646b;padding:2px 4px;border-radius:3px;white-space:nowrap}.header-actions{display:flex;align-items:center;gap:3px}.header .icon-btn,.settings-menu summary{border:1px solid transparent;padding:8px;background:transparent;display:grid;place-items:center;cursor:pointer;list-style:none;border-radius:5px}.settings-menu summary::-webkit-details-marker{display:none}.settings-menu{position:relative}.settings-menu[open] summary,.header .icon-btn:hover{background:#203a43;border-color:#416069}.settings-pop{position:absolute;right:0;top:calc(100% + 8px);display:grid;gap:5px;min-width:185px;padding:7px;background:#132a33;border:1px solid #3c5962;border-radius:7px;box-shadow:0 12px 35px #0008;z-index:20}.settings-pop button{text-align:left;white-space:nowrap}.demo-tag{font-size:9px;padding:3px 5px;color:#efcba1}.enterprise-nav{display:none!important}.market-navigation{display:flex;align-items:center;gap:12px;min-height:49px;padding:5px 22px;background:#0b222a;border-bottom:1px solid var(--line);flex-shrink:0}.market-navigation .nav{border:1px solid #304a53;border-radius:6px;background:#102a32;padding:2px;gap:3px;flex-wrap:nowrap;overflow-x:auto;flex:1;min-width:0;scrollbar-width:thin}.nav button{display:inline-flex;align-items:center;gap:7px;color:#e0eaeb;padding:7px 10px;font-size:12px}.nav button.active{background:#75e8cc;color:#082b2e;border-color:#84e8d0;font-weight:700}.nav button .polish-icon{width:16px;height:16px}.watch-tools{display:flex;align-items:center;gap:7px;flex-shrink:0;border-left:1px solid #45606a;padding-left:12px}.watch-tools button,.watch-tools select{font-size:12px;padding:7px 10px;background:#122d36;border-color:#405e68;white-space:nowrap}.watch-tools #watchNew{color:#82e8ce;border-color:#43a88e}.watch-tools select{max-width:150px}.market{gap:0;min-height:57px;padding:7px 22px;background:#0a1e27;flex-shrink:0}.market .metric{min-width:150px;padding:0 20px;border-left:1px solid #3c5159}.market .metric:first-child{padding-left:0;border-left:0;min-width:105px}.market .metric strong{font-size:19px;letter-spacing:-.4px}.market .metric small{font-size:11px}.market .metric:last-child{min-width:145px}.market .breadth{height:3px;width:92px;margin-top:2px}.toolbar{background:#0b2028;padding:7px 22px;gap:8px;flex-wrap:wrap;flex-shrink:0}.toolbar label{font-size:11px;color:#c0d0d4;gap:4px}.toolbar select{font-size:11px;padding:5px 6px;max-width:138px;background:#122c35;border-color:#3e5b64}.toolbar button{font-size:11px;padding:6px 9px;white-space:nowrap}.toolbar #resetTop{background:none;border-color:transparent;color:#c7dcdf}.toolbar #filters{display:flex;gap:6px;align-items:center;background:#213e47}.toolbar #filters svg{width:14px;height:14px}.main{padding:7px 9px 5px;gap:6px}.maphead{padding:0 10px;min-height:34px;gap:7px}.maphead h1{font-size:18px;letter-spacing:-.4px}.maphead .chip{border:0;color:#a8bec4;font-size:11px;padding:0}.maphead .map-control{display:flex;align-items:center;gap:6px;font-size:11px;color:#b3c8ce}.maphead select{font-size:11px;padding:5px 7px;background:#112b35;border-color:#41606a}.maphead button{font-size:11px;padding:5px 8px}.maphead #periods{display:none}.map{border-radius:4px;border:0;background:#091c24;min-height:270px}.tile{border:1px solid #0a1c24;border-radius:3px;text-shadow:0 1px 3px #0004}.tile b{font-size:clamp(10px,1.04vw,18px);font-weight:680;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.tile small{font-size:clamp(9px,.8vw,13px);opacity:.88}.group-label{background:#132932;font-size:9px;color:#a7c2c7;line-height:14px;padding:0 5px}.foot{background:#08252c;min-height:25px;padding:4px 12px}.enterprise{background:#0b1c24}.ent-card,.v4-card,.ws-card,.v4-kpi{border-color:#35505a;border-radius:7px;box-shadow:none}.ent-head h1{font-weight:680}.enterprise-mode .market-navigation{display:none}.enterprise-mode .global-search{opacity:.9}.assistant-float{position:fixed;right:19px;bottom:32px;z-index:9;width:180px;display:grid;justify-items:end;pointer-events:none}.assistant-float img{width:112px;height:130px;object-fit:contain;object-position:bottom;filter:drop-shadow(0 4px 10px #0004);margin-right:11px}.assistant-launch{pointer-events:auto;background:#f5fbf8;color:#112c32;border:1px solid #6be0c0;border-radius:10px;display:flex;align-items:center;gap:7px;padding:9px 11px;text-align:left;font-size:12px;font-weight:720;box-shadow:0 5px 18px #0005}.assistant-launch .sparkle{font-size:20px;color:#13a988}.assistant-launch .go{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#087d68;color:white;flex-shrink:0;font-size:17px}.assistant-float.compact img{display:none}.assistant-float.compact{width:auto}.assistant-dismiss{pointer-events:auto;position:absolute;top:5px;right:0;background:#132b34e8;border-color:#49646b;border-radius:50%;width:24px;height:24px;padding:0;color:#e5efee}.assistant-float.compact .assistant-dismiss{display:none}.assistant-float.compact .assistant-launch{padding:8px 10px}.assistant-panel{position:fixed;right:18px;bottom:32px;z-index:15;width:min(350px,calc(100vw - 24px));background:#122831;border:1px solid #4d766f;border-radius:11px;padding:15px;box-shadow:0 14px 45px #0009}.assistant-panel h2{margin:0;font-size:16px}.assistant-panel p{color:#c0d0d3;font-size:12px;line-height:1.5}.assistant-panel header{display:flex;align-items:center;gap:9px}.assistant-panel header img{width:34px;height:45px;object-fit:contain}.assistant-panel .prompts{display:grid;gap:5px}.assistant-panel .prompts button{text-align:left;font-size:12px}.assistant-panel .assistant-answer{padding:10px;margin:9px 0;background:#0b1d25;border:1px solid #2d4850;border-radius:5px;font-size:12px;line-height:1.6}.assistant-panel .assistant-open{background:#087d68;border-color:#3cae96;width:100%;margin-top:5px}.assistant-panel a{font-size:11px;display:block;margin-top:8px}.terminal:has(.side:not([hidden])) .assistant-float{right:326px}.terminal:has(.side:not([hidden])) .assistant-float img{display:none}.terminal:has(.side:not([hidden])) .assistant-float .assistant-dismiss{display:none}.enterprise-mode .assistant-float img{display:none}.enterprise-mode .assistant-float .assistant-dismiss{display:none}.enterprise-mode .assistant-float{width:auto}.settings-pop [hidden]{display:none!important}
@media(max-width:1300px){.family-label{font-size:11px}.family-links a,.family-account button{padding:6px 8px}.header.polish-header{gap:9px;padding:0 14px}.brand{font-size:20px}.brand small{font-size:9px}.global-search{width:clamp(150px,20vw,300px)}.market-navigation{padding:5px 13px;gap:7px}.watch-tools{padding-left:8px;gap:4px}.toolbar{padding:6px 13px;gap:5px}.toolbar select{max-width:110px}.market .metric{min-width:130px;padding:0 14px}}
@media(max-width:850px){.terminal{min-width:0}.ecosystem{padding:4px 8px;gap:6px;overflow-x:auto;scrollbar-width:thin}.family-label{display:none}.family-links{flex:none;justify-content:start;gap:3px}.family-links a{font-size:11px;padding:5px 9px}.family-links a[aria-current=page]{min-width:0}.family-links .polish-icon,.family-account .polish-icon{width:13px;height:13px}.family-account button{font-size:11px}.header.polish-header{height:auto;min-height:90px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;padding:8px 10px}.header .brand{font-size:19px}.brand img{width:28px;height:28px}.brand small{font-size:9px;white-space:normal}.header-divider,.header .spacer,.date-top,.global-search kbd,.demo-tag{display:none!important}.header-actions{grid-column:2;grid-row:1;gap:0}.header .icon-btn,.settings-menu summary{padding:6px}.header-actions .polish-icon{width:15px;height:15px}.workspace-select{grid-column:1;grid-row:2;min-height:32px;padding:0 6px}.workspace-select select{max-width:100%;width:100%;font-size:11px}.global-search{grid-column:2;grid-row:2;width:140px;min-height:32px;padding:0 6px}.global-search input{font-size:11px}.global-search .polish-icon{width:14px}.market-navigation{flex-wrap:wrap;padding:6px 8px;gap:6px}.market-navigation .nav{flex:1 0 100%;max-width:100%;min-width:0}.watch-tools{border-left:0;padding:0;max-width:100%;gap:5px}.watch-tools button,.watch-tools select{font-size:11px;padding:5px 8px}.watch-tools select{max-width:120px}.market{padding:6px 8px;gap:7px}.market .metric{min-width:0;padding:0 8px;border:0;flex:1 1 85px}.market .metric:first-child{min-width:0;padding:0 8px}.market .metric:last-child{min-width:0}.market .metric strong{font-size:15px}.market .metric small{font-size:10px}.market .spacer{display:none}.toolbar{padding:6px 8px;gap:5px}.toolbar label{flex:0 1 auto;font-size:10px}.toolbar select{font-size:10px;max-width:115px;padding:5px}.toolbar #resetTop{font-size:10px}.maphead{padding:0 2px;gap:5px}.maphead h1{font-size:15px}.maphead .chip{font-size:10px}.maphead .spacer{display:none}.maphead .map-control{font-size:10px}.maphead button{font-size:10px;padding:4px 6px}.main{padding:5px}.map{height:58dvh;min-height:340px}.tile b{font-size:10px}.tile small{display:none}.assistant-float,.terminal:has(.side:not([hidden])) .assistant-float{right:10px;bottom:12px;width:auto}.assistant-float img,.assistant-dismiss{display:none!important}.assistant-launch{font-size:11px;padding:7px 9px}.assistant-panel{bottom:12px;right:10px}.settings-pop .wide{display:block}.enterprise-mode .market-navigation{display:none}.foot{padding-right:7px}.enterprise{max-width:100%;min-width:0}.v4-card,.ent-card{min-width:0}.ent-controls{max-width:100%}.ent-controls select{max-width:145px}}
@media(max-width:360px){.brand small{font-size:8px}.header .brand{font-size:17px}.header .icon-btn,.settings-menu summary{padding:5px}.global-search{width:119px}.watch-tools button,.watch-tools select{padding:5px;font-size:10px}.market .metric{flex-basis:75px}.toolbar .spacer{display:none}.assistant-launch{font-size:10px}}

/* ---- App-Anbindung (eigene IDs/Klassen, Referenz nutzt andere Namen) ---- */
.statusline{display:none}
.statusline span{white-space:nowrap}
.statusline b{color:#cfe2e0;font-weight:600}
.watch-tools .watch-sep{display:none}
.maphead .periods{display:none}
.toolbar #tFilters{display:flex;gap:6px;align-items:center;background:#213e47}
.toolbar #tResetTop{background:none;border-color:transparent;color:#c7dcdf}
.toolbar #tFilters svg{width:14px;height:14px}
.toolbar #tResetTop svg{width:13px;height:13px}
.header .date-top{gap:8px;font-size:13px;padding:5px 9px}
.header a.brand{font-size:22px;font-weight:750}
@media(max-width:850px){.header a.brand{font-size:19px}}
.header .date-top svg{width:17px;height:17px}
.global-search:focus-within{border-color:#3f8a7a;box-shadow:0 0 0 1px #2b6156}
.maphead .view-toggle{display:flex;gap:2px;margin-left:2px}
