/* MSW AI 5.5 — responsive market terminal */
.t9-terminal{--line:#087aa9;--cyan:#00dfff;margin:9px 0 12px;border:1px solid #109ed6;border-radius:8px;background:radial-gradient(ellipse at 45% 0,#063a5f88,transparent 65%),#020f21;box-shadow:inset 0 0 25px #008cff18,0 0 14px #00aaff22;overflow:hidden;min-width:0}.t9-title{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 14px;border-bottom:1px solid #09618c;background:linear-gradient(90deg,#073455,#03162c)}.t9-title>div:first-child{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.t9-title b{font-size:15px;color:#e1fcff;letter-spacing:1px}.t9-title em{font-style:normal;color:#03def5}.t9-title small{color:#83b1cb;font-size:10px}.t9-live-dot{width:8px;height:8px;border-radius:50%;background:#00dfbc;box-shadow:0 0 13px #00efbd;animation:t9-pulse 2.5s infinite}.t9-actions{display:flex;gap:6px;flex:none}.x4 .t9-actions button{font-size:10px;padding:6px 9px;border:1px solid #176a94;background:#03233d;box-shadow:none;color:#9dd9f2}.t9-ticker{display:flex;gap:0;overflow:auto;scrollbar-width:thin;background:#020a19;padding:8px 0}.x4 .t9-ticker button{background:transparent;border:0;border-right:1px solid #14415c;border-radius:0;box-shadow:none;white-space:nowrap;display:flex;align-items:center;gap:9px;padding:4px 16px;font-size:11px;color:#bdd8eb}.t9-ticker b{color:var(--accent);font-variant-numeric:tabular-nums}.t9-ticker small{color:#567f9d;font-size:8px}.t9-controls{display:flex;align-items:center;gap:10px;padding:10px 14px;border-block:1px solid #163957}.t9-controls label{display:flex;align-items:center;gap:7px;color:#7db0cd;font-size:10px}.x4 .t9-controls select{width:auto;max-width:180px;padding:6px 26px 6px 8px;font-size:11px;margin:0;background-color:#041d33;border:1px solid #145c86}.t9-controls>span{margin-left:auto;color:#44d6c0;font-size:9px;font-variant-numeric:tabular-nums}.t9-grid{display:grid;grid-template-columns:minmax(0,2.05fr) minmax(260px,1fr)}.t9-main-graph{min-width:0;border-right:1px solid #13567a;display:flex;flex-direction:column}.t9-chart-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px 4px}.t9-chart-head span{color:#65a6c9;font-size:9px;letter-spacing:.5px}.t9-chart-head h2{margin:4px 0;font-size:20px;color:#effaff}.t9-chart-head h3{font-size:12px;margin:0;color:#d1eeff}.t9-chart-head strong{color:#0defca;font-size:31px;text-shadow:0 0 16px #00d9b53b;text-align:right;font-variant-numeric:tabular-nums}.t9-chart-head strong small{display:block;font-size:10px;color:#9fbad0;font-weight:400;max-width:240px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.t9-plot{min-width:0;position:relative}.t9-main-graph>.t9-plot{flex:1;min-height:200px}.t9-plot svg{width:100%;height:100%;display:block;max-height:340px;overflow:visible}.t9-main-graph>.t9-plot svg{min-height:230px}.t9-plot [role=button]{cursor:crosshair;transition:filter .15s;outline:none}.t9-plot [role=button]:hover,.t9-plot [role=button]:focus,.t9-plot .t9-selected{filter:drop-shadow(0 0 7px #00e8ff);stroke:#fff;stroke-width:3}.t9-line{filter:drop-shadow(0 0 5px #00dac780)}.t9-legend{display:flex;gap:15px;flex-wrap:wrap;padding:0 16px 10px;font-size:10px}.t9-legend .cyan{color:#06dbf9}.t9-legend .gold{color:#ffd05c}.t9-legend small{font-size:9px;color:#789bb6}.t9-secondary{display:grid;grid-template-rows:1fr 1fr;min-width:0}.t9-secondary>article:first-child{border-bottom:1px solid #13567a}.t9-secondary .t9-plot{height:150px}.t9-context{padding:6px 13px 13px}.x4 .t9-context-row{display:grid;grid-template-columns:1.3fr 1fr 45px;align-items:center;width:100%;gap:8px;background:transparent;border:0;border-radius:0;box-shadow:none;color:#a8cbe1;padding:7px 0;text-align:left;font-size:10px}.t9-context-row>span:first-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.t9-context-track{height:8px;background:#0a2842;border-radius:2px;overflow:hidden}.t9-context-track i{height:100%;display:block;background:linear-gradient(90deg,#0767a5,var(--accent));box-shadow:0 0 9px var(--accent)}.t9-context-row b{color:var(--accent);text-align:right;font-size:10px}.t9-inspector{padding:12px 15px;border-top:1px solid #14779c;background:linear-gradient(90deg,#05375366,#03172c);display:flex;align-items:center;gap:20px;min-height:65px}.t9-inspector>div:first-child{min-width:0;flex:1}.t9-inspector strong{display:block;color:#d6f8ff;font-size:13px}.t9-inspector small{display:block;color:#7faac6;font-size:9px;margin-bottom:4px}.t9-inspector-stats{display:flex;gap:25px}.t9-inspector-stats b{color:#00e3c7;font-size:12px;font-variant-numeric:tabular-nums}.x4 .t9-inspector button{font-size:11px;padding:9px 12px;flex:none}.t9-foot{display:flex;align-items:center;gap:18px;padding:10px 15px;border-top:1px solid #123a57;font-size:10px;color:#739bb9}.t9-foot span{margin-right:auto}.t9-foot a{color:#36d6ff;white-space:nowrap}.t9-empty{color:#8cadc8;padding:25px}.t9-expanded{position:fixed;inset:14px;z-index:2000;overflow:auto;margin:0;background:#020f21;box-shadow:0 0 0 30px #000d}.t9-expanded .t9-main-graph>.t9-plot svg{max-height:56vh;height:56vh}.t9-expanded .t9-secondary .t9-plot{height:25vh}.t9-paused *, .t9-paused *:before,.t9-paused *:after{animation-play-state:paused!important}.x4 .t9-password-toggle{padding:6px 0;margin:-4px 0 10px;border:0;background:none;box-shadow:none;color:#38dfff;font-size:12px;text-align:left}.t9-password-help{font-size:11px;color:#a2b9d1;margin:0 0 14px}.t9-password-help.ready{color:#00e8b7}.t9-register-link{color:#38e9ff!important;font-size:12px;white-space:nowrap;border:1px solid #1174a3;border-radius:5px;padding:8px 10px;background:#05304c}.x4-panel{transition:border-color .2s,box-shadow .2s}.x4-panel:hover{border-color:#1bcaff;box-shadow:inset 0 0 18px #008fff22,0 0 10px #00aaff22}.x4 a:focus-visible,.x4 button:focus-visible,.x4 input:focus-visible,.x4 select:focus-visible,.x4-topbar a:focus-visible{outline:2px solid #42eaff;outline-offset:3px}.x6-auth{isolation:isolate}.x6-auth-art:after{content:'';position:absolute;inset:0;z-index:-1;background:repeating-linear-gradient(0deg,transparent 0 39px,#00bfff0c 40px),repeating-linear-gradient(90deg,transparent 0 39px,#00bfff0c 40px);pointer-events:none}.x6-auth-form{box-shadow:inset 0 0 35px #0878bf12}.x6-auth-form input:focus{border-color:#00e2ff;box-shadow:0 0 15px #00caff22}.x4-kpis article:nth-child(3n){border-color:#7350c7}.x4-kpis article:nth-child(3n+2){border-color:#00a993}.x4-kpis article{transition:transform .2s}.x4-kpis article:hover{transform:translateY(-2px)}
@keyframes t9-pulse{50%{box-shadow:0 0 18px #00efbd;opacity:.55}}
@media(min-width:1800px){.t9-main-graph>.t9-plot svg{max-height:380px}.t9-secondary .t9-plot{height:175px}.t9-chart-head h2{font-size:25px}.t9-title b{font-size:18px}}
@media(max-width:1200px){.t9-title small{display:none}.t9-controls{flex-wrap:wrap}.t9-controls>span{width:100%;margin:0}.t9-inspector{flex-wrap:wrap;gap:12px}.t9-inspector-stats{gap:17px}.t9-grid{grid-template-columns:minmax(0,1.8fr) minmax(240px,1fr)}.t9-chart-head h2{font-size:17px}.t9-chart-head strong{font-size:25px}.t9-register-link{font-size:10px;padding:7px}}
@media(max-width:900px){.t9-grid{grid-template-columns:1fr}.t9-main-graph{border-right:0;border-bottom:1px solid #13567a}.t9-secondary{grid-template-columns:1fr 1fr;grid-template-rows:auto}.t9-secondary>article:first-child{border-bottom:0;border-right:1px solid #13567a}.t9-main-graph>.t9-plot svg{max-height:300px}.t9-foot{flex-wrap:wrap;gap:10px}.t9-foot span{flex-basis:100%}.t9-inspector-stats{flex:1}.t9-title b{font-size:12px}}
@media(max-width:600px){.t9-title{padding:10px;gap:8px}.t9-title em{display:block;font-size:9px;margin-top:3px}.x4 .t9-actions button{padding:7px;font-size:10px;min-height:34px}.t9-controls{display:grid;grid-template-columns:1fr 1fr;padding:10px;gap:9px}.t9-controls label{display:block}.x4 .t9-controls select{display:block;width:100%;max-width:none;margin-top:5px;min-height:38px;font-size:12px}.t9-controls>span{grid-column:1/-1;font-size:9px}.t9-chart-head{padding:12px 10px 0}.t9-chart-head h2{font-size:16px}.t9-chart-head strong{font-size:24px}.t9-chart-head strong small{max-width:135px;font-size:9px}.t9-main-graph>.t9-plot{overflow-x:auto;scrollbar-width:thin}.t9-main-graph>.t9-plot svg{min-width:650px;height:235px;min-height:235px}.t9-legend{gap:8px;padding:5px 10px 10px;font-size:9px}.t9-secondary{grid-template-columns:1fr}.t9-secondary>article:first-child{border-right:0;border-bottom:1px solid #13567a}.t9-secondary .t9-plot{height:165px}.t9-context{padding:8px 12px}.x4 .t9-context-row{padding:10px 0;font-size:11px}.t9-inspector{padding:12px;gap:13px}.t9-inspector>div:first-child{flex-basis:100%}.t9-inspector-stats{display:grid;grid-template-columns:1fr 1fr;gap:14px;width:100%}.x4 .t9-inspector button{width:100%;min-height:42px}.t9-foot{padding:12px;line-height:1.5}.t9-foot a{padding:8px 0;font-size:12px}.t9-expanded{inset:5px}.t9-register-link{display:none}.x4-topbar>label{min-width:0}.x5-profile{flex:none}.x4-hero{min-height:240px;background-position:64% 50%;height:auto}.x4-hero>div:first-child{max-width:100%}.x4-hero h1{font-size:26px;line-height:1.15;max-width:90%;white-space:normal}.x4-hero-actions{display:flex;flex-wrap:wrap;gap:8px}.x4-hero-actions button,.x4-hero-actions a{font-size:11px;padding:10px;min-height:40px}.x4-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.x4-kpis article{min-width:0;min-height:78px}.x4-kpis small{font-size:9px;white-space:normal}.x4-head{flex-wrap:wrap}.x4-head h2{white-space:normal;line-height:1.3}.x4-panel{min-width:0}.x4-overview-grid{grid-template-columns:1fr}.x4-overview-grid .x4-panel{min-height:220px;height:auto}.x4-overview-grid .x4-poland{height:205px}.x4-overview-grid .x4-donut-wrap{min-height:180px}.x4-overview-grid .x4-donut{width:150px}.x4-overview-grid .x4-donut-legend-row{font-size:12px;padding:4px 0}.x4-overview-grid .x4-provider-row{font-size:12px;padding:8px 0}.x4-overview-grid .x4-provider-row progress{height:13px}.x5-lower-grid{grid-template-columns:1fr}.x5-lower-grid .x4-panel{min-height:180px}.x5-lower-grid h2{font-size:15px}.x5-lower-grid p{font-size:12px}.x5-lower-grid button,.x5-lower-grid .x5-button{font-size:12px;min-height:40px}.x6-auth{margin:8px 0!important;min-height:0!important}.x6-auth-art{padding:25px!important;min-height:190px!important}.x6-auth-art h1{font-size:27px!important}.x6-auth-art img{max-height:220px!important;opacity:.65}.x6-auth-art p{max-width:65%;font-size:12px}.x6-auth-form{padding:24px 18px!important}.x6-auth-form h2{font-size:24px!important}.x6-auth-form input{min-height:46px;font-size:16px}.x6-auth-form button[type=submit]{min-height:48px}.x4-table-wrap{max-width:100%;overflow:auto}.x8-catalog-panel .x4-head>span{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:600px){.x6-auth-features{display:none}.x6-auth-art>p{margin-bottom:0}.t9-main-graph>.t9-plot:after{content:'Przesuń wykres w bok ↔';display:block;color:#7fa9c2;font-size:9px;padding:0 10px 8px}.x4 .t9-password-toggle{background:none;box-shadow:none}}
/* 5.7 real company models and hourly observations */
.t11-brands{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;padding:10px;background:linear-gradient(100deg,#041c32,#031022);border-bottom:1px solid #115278}.x4 .t11-brand{min-width:0;display:flex;align-items:center;text-align:left;gap:8px;background:#06213b;border:1px solid #1b4262;border-radius:5px;box-shadow:none;padding:9px 7px;color:#cde9f7}.t11-brand>i{font-style:normal;font-size:13px;color:var(--brand);border:1px solid color-mix(in srgb,var(--brand),transparent 55%);width:31px;height:31px;display:grid;place-items:center;border-radius:7px;flex:none;background:#031020;text-shadow:0 0 7px color-mix(in srgb,var(--brand),transparent 50%)}.t11-brand>span{min-width:0;flex:1}.t11-brand strong{font-size:11px;display:block;color:#d9edf9}.t11-brand small{font-size:8px;color:#799fb9;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:3px}.t11-brand>b{font-size:12px;color:var(--brand);font-variant-numeric:tabular-nums}.x4 .t11-brand:hover,.x4 .t11-brand[aria-pressed=true]{border-color:var(--brand);box-shadow:inset 0 0 12px color-mix(in srgb,var(--brand),transparent 90%)}.t9-controls{flex-wrap:wrap}.t9-controls [hidden]{display:none!important}.t9-main-graph>.t9-plot svg{max-height:360px;min-height:270px}.t11-bar{filter:drop-shadow(0 0 4px #00bfff22)}.t9-controls label{gap:5px}.x4 .t9-controls select{max-width:190px}.t9-legend small{line-height:1.5}.t9-chart-head h2{font-size:19px}.t9-inspector>div:first-child small:last-child{color:#7baabd;margin-top:5px}
@media(max-width:1200px){.t11-brands{grid-template-columns:repeat(4,minmax(0,1fr))}.t9-chart-head h2{font-size:17px}}
@media(max-width:600px){.t11-brands{grid-template-columns:repeat(2,minmax(0,1fr));padding:7px;gap:5px}.x4 .t11-brand{padding:8px 6px;gap:6px}.t11-brand strong{font-size:11px}.t11-brand small{font-size:8px}.t11-brand>i{width:26px;height:26px;font-size:11px}.t11-brand>b{font-size:11px}.t9-main-graph>.t9-plot svg{min-width:800px;min-height:280px}.x4 .t9-controls select{max-width:none}.t9-controls>span{grid-column:1/-1}.t9-chart-head h2{font-size:15px}.t9-chart-head strong{font-size:24px}}
