/* Strommonitor 1.9 – ruhiges Dashboard, klare Zeiträume, mobil zuerst */
.v19-header{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,310px);align-items:end;gap:20px;margin:0 0 18px;min-width:0}
.v19-eyebrow{display:block;letter-spacing:.105em;font-size:.71rem;color:#78cdd6;font-weight:800;margin:0 0 8px}
.v19-header h1{font-size:clamp(1.55rem,2.5vw,2rem);letter-spacing:-.035em;line-height:1.13;margin:0 0 8px}
.v19-header p{font-size:.9rem;margin:0;max-width:530px;line-height:1.5}
.v19-picker{min-width:0;display:flex;flex-direction:column;gap:7px}
.v19-picker>label{color:#b4cede;font-size:.83rem}
.v19-picker-line{display:flex;gap:8px;min-width:0}
.v19-picker select{min-width:0;width:100%;flex:1 1 auto;font-size:.95rem;min-height:46px}
.v19-picker button{flex:0 0 auto;min-height:46px}
.v19-primary{background:linear-gradient(140deg,#123649,#112536 75%);border:1px solid #276a78;border-radius:18px;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
.v19-main-number{padding:24px 25px;display:flex;flex-direction:column;justify-content:center;gap:9px}
.v19-main-number>span{color:#a8dae3;font-size:.91rem;font-weight:700;line-height:1.4}
.v19-main-number>strong{color:#a0f4e8;font-size:clamp(1.72rem,3.15vw,2.35rem);letter-spacing:-.035em;line-height:1.12;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.v19-main-number>small{color:#acd1db;font-size:.78rem;line-height:1.5}
.v19-main-split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:13px;border-left:1px solid #31586b}
.v19-main-split>div{padding:13px 12px;display:flex;flex-direction:column;justify-content:center;gap:7px;min-width:0}
.v19-main-split>div+div{border-left:1px solid #2c4b5d}
.v19-main-split>div:nth-child(3){grid-column:1/-1;border-left:0;border-top:1px solid #2c4b5d;padding-top:15px}
.v19-main-split span{font-size:.8rem;color:#b2c9d9}
.v19-main-split strong{font-size:clamp(1.05rem,1.8vw,1.4rem);font-variant-numeric:tabular-nums;letter-spacing:-.02em;white-space:normal;overflow-wrap:anywhere}
.v19-main-split small{font-size:.72rem;color:#97adbf;line-height:1.45}
.v19-accordion{border:1px solid #2c455c;border-radius:14px;background:#15263a;overflow:hidden;min-width:0}
.v19-accordion>summary{padding:16px 17px;display:flex;align-items:center;gap:12px;cursor:pointer;list-style:none;min-height:66px}
.v19-accordion>summary::-webkit-details-marker{display:none}
.v19-accordion>summary::marker{content:""}
.v19-section-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 37px;width:37px;height:37px;border-radius:11px;background:#21465b;color:#86e9dc;font-size:1.25rem}
.v19-section-title{min-width:0;flex:1 1 auto;display:flex;flex-direction:column;gap:4px}
.v19-section-title strong{font-size:.99rem;line-height:1.25;color:#f2faff}
.v19-section-title small{font-size:.75rem;color:#9fb8ca;line-height:1.4}
.v19-chevron{flex:0 0 20px;text-align:center;font-size:1.3rem;color:#a9bece;transition:transform .15s ease}
.v19-accordion[open]>summary .v19-chevron{transform:rotate(180deg)}
.v19-accordion[open]>summary{border-bottom:1px solid #2c455c}
.v19-accordion>summary:hover{background:#1b3449}
.v19-section-content{padding:16px 19px 20px;min-width:0;overflow-wrap:anywhere}
.v19-period{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-width:400px;margin:0 0 14px}
.v19-period-option{border:1px solid #3a5c70;border-radius:10px;background:#112c3e;text-decoration:none!important;text-align:center;display:flex;align-items:center;justify-content:center;color:#bacee2;min-height:44px;padding:8px 5px;font-size:.85rem;font-weight:750}
.v19-period-option.selected{border-color:#5be4d2;color:#dcfffc;background:#175462}
.v19-chart-scroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-inline:contain}
.v19-chart-scroll .timeline{margin-top:0;min-width:0;max-width:100%}
.v19-context{font-size:.79rem;line-height:1.55;color:#adc2d4;margin:14px 0 0}
.v19-mini-months{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:16px}
.v19-mini-months>div{padding:11px 12px;background:#102a3e;border:1px solid #2a4860;border-radius:10px;min-width:0}
.v19-mini-months small{font-size:.72rem;line-height:1.4;color:#acc4d5;display:block;margin-bottom:6px}
.v19-mini-months strong{font-size:.89rem;line-height:1.3;display:block;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.v19-plug-cta{border:1px solid #277a8b;background:linear-gradient(115deg,#133c4d,#162b3d);border-radius:14px;padding:15px 17px;color:#e9f9ff;display:flex;align-items:center;gap:13px;text-decoration:none!important;min-width:0}
.v19-plug-cta:hover{background:#1b4b61}
.v19-plug-symbol{border-radius:12px;background:#205d71;color:#a2fff6;display:flex;align-items:center;justify-content:center;flex:0 0 42px;height:42px;font-size:1.8rem}
.v19-plug-cta>div:nth-child(2){display:flex;flex-direction:column;gap:5px;flex:1 1 auto;min-width:0}
.v19-plug-cta strong{font-size:1rem;line-height:1.25}
.v19-plug-cta small{color:#b2d2df;line-height:1.45;font-size:.8rem;overflow-wrap:anywhere}
.v19-plug-cta>span{font-size:1.35rem;color:#86dfdc}
.v19-cost-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.v19-cost-cards>div{border:1px solid #35556e;border-radius:12px;padding:17px;background:#0d2335;display:flex;flex-direction:column;gap:9px;min-width:0}
.v19-cost-cards small{color:#b1c7d7;font-size:.79rem;line-height:1.4}
.v19-cost-cards strong{font-size:1.45rem;color:#eafcfc;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.v19-cost-cards span{color:#94adbd;font-size:.73rem;line-height:1.4}
.v19-note{border-left:3px solid #87bdce;background:#142b3d;border-radius:7px;padding:13px 14px;color:#c4d7e3;line-height:1.55;font-size:.86rem}
.v19-tariff-payments{max-width:390px;margin:13px 0}
.v19-tariff input,.v19-tariff select{min-height:45px}
.v19-plug-report{border:1px solid #306078;border-radius:16px;background:linear-gradient(145deg,#142c41,#101f30);padding:20px;margin:17px 0 25px;min-width:0}
.v19-report-heading{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:18px;align-items:end}
.v19-report-heading h2{font-size:1.38rem;margin:0 0 8px}
.v19-report-heading p{font-size:.88rem;line-height:1.5;margin:0}
.v19-plug-report>.v19-period{margin-top:18px}
.v19-plug-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.v19-plug-kpis>div{min-width:0;display:flex;flex-direction:column;gap:9px;background:#102438;border:1px solid #31536b;border-radius:12px;padding:14px}
.v19-plug-kpis small{font-size:.75rem;line-height:1.4;color:#a7c2d5}
.v19-plug-kpis strong{font-variant-numeric:tabular-nums;font-size:clamp(1.13rem,1.7vw,1.5rem);overflow-wrap:anywhere;line-height:1.2;color:#e9f6fc}
.v19-plug-kpis span{font-size:.72rem;line-height:1.4;color:#88c7d3}
.v19-plug-list{display:flex;flex-direction:column;gap:9px;margin-top:18px}
.v19-plug-item{background:#0f2235;border:1px solid #344f66;border-radius:12px;overflow:hidden;min-width:0}
.v19-plug-item>summary{display:flex;align-items:center;gap:11px;padding:14px 13px;list-style:none;cursor:pointer}
.v19-plug-item>summary::-webkit-details-marker{display:none}
.v19-plug-item>summary::marker{content:""}
.v19-plug-item>summary:hover{background:#173b50}
.v19-plug-icon{display:flex;align-items:center;justify-content:center;background:#1f4b62;color:#a6e6e9;border-radius:10px;font-size:1.3rem;flex:0 0 35px;height:35px}
.v19-plug-text{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:5px}
.v19-plug-text strong{font-size:.91rem;line-height:1.3;overflow-wrap:anywhere}
.v19-plug-text small{font-size:.72rem;line-height:1.4;color:#9db6c9;overflow-wrap:anywhere}
.v19-plug-total{text-align:right;flex:0 0 auto;display:flex;flex-direction:column;gap:5px;max-width:40%}
.v19-plug-total strong{font-size:.99rem;font-variant-numeric:tabular-nums;white-space:nowrap}
.v19-plug-total small{font-size:.72rem;color:#9eb9c9}
.v19-plug-item[open]>summary{border-bottom:1px solid #34516a}
.v19-plug-item[open]>.v19-plug-detail{padding:17px 15px}
.v19-plug-item[open]>summary .v19-chevron{transform:rotate(180deg)}
.v19-plug-measures{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.v19-plug-measures>div{background:#132e44;border:1px solid #315369;border-radius:10px;padding:10px;min-width:0}
.v19-plug-measures small{display:block;color:#b3c8d5;font-size:.73rem;line-height:1.4;margin-bottom:8px}
.v19-plug-measures strong{display:block;font-size:1rem;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.v19-plug-month-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:15px 0}
.v19-plug-month-grid>div{min-width:0;border:1px solid #2c485e;background:#0f293b;border-radius:9px;padding:9px}
.v19-plug-month-grid small{display:block;color:#a4bfd3;font-size:.72rem;line-height:1.4;margin-bottom:6px}
.v19-plug-month-grid strong{display:block;font-size:.86rem;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.v19-month-bar{display:block;margin-top:11px;height:5px;border-radius:100px;overflow:hidden;background:#284257}
.v19-month-bar i{display:block;height:100%;background:linear-gradient(90deg,#42bed8,#7ce7d9);border-radius:inherit}
.v19-plug-subsections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-top:20px}
.v19-plug-subsections h3{font-size:.9rem;color:#c8e7e8;margin:0 0 10px}
.v19-plain-list{list-style:none;margin:0;padding:0;display:grid;gap:7px}
.v19-plain-list li{background:#193549;padding:10px;border-radius:8px;display:flex;flex-direction:column;gap:4px;min-width:0;overflow-wrap:anywhere}
.v19-plain-list li strong{font-size:.85rem}
.v19-plain-list li small{font-size:.75rem;color:#a8bfd1;line-height:1.45}
@media(max-width:1100px){.v19-primary{grid-template-columns:1fr}.v19-main-split{border-left:0;border-top:1px solid #31586b}.v19-plug-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.v19-plug-kpis>div:first-child{grid-column:1/-1}}
@media(max-width:760px){
 .v19-header,.v19-report-heading{grid-template-columns:1fr;gap:13px}
 .v19-header h1{font-size:1.65rem}
 .v19-header>div:first-child p{font-size:.84rem}
 .v19-picker-line{width:100%}
 .v19-primary{border-radius:15px}
 .v19-main-number{padding:19px 17px}
 .v19-main-number>strong{font-size:1.9rem}
 .v19-main-split{padding:5px}
 .v19-main-split>div{padding:11px}
 .v19-main-split strong{font-size:1.06rem}
 .v19-section-content{padding:13px}
 .v19-accordion>summary{padding:13px}
 .v19-mini-months{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .v19-plug-report{padding:14px 12px}
 .v19-plug-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
 .v19-plug-kpis>div{padding:12px}
 .v19-plug-measures{grid-template-columns:repeat(2,minmax(0,1fr))}
 .v19-plug-measures>div:first-child{grid-column:1/-1}
 .v19-plug-month-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .v19-plug-subsections{grid-template-columns:1fr}
 .v19-cost-cards{grid-template-columns:1fr}
 .v19-plug-cta{padding:12px}
 .mobile-bottom-nav{grid-template-columns:repeat(5,minmax(0,1fr))}
 .mobile-bottom-nav a{font-size:.68rem}
 .v19-chart-scroll.v18-chart-12 .timeline{min-width:690px}
 .v19-chart-scroll.v18-chart-6 .timeline{min-width:385px}
}
@media(max-width:375px){.v19-plug-icon{display:none}.v19-plug-item>summary{gap:7px}.v19-plug-total strong{font-size:.84rem}.v19-main-split small{font-size:.68rem}.v19-plug-cta small{font-size:.74rem}}
@media(prefers-reduced-motion:reduce){.v19-chevron{transition:none}}

/* Strommonitor 1.9.1 – Device assignment preview on mouse hover.
   Touch users tap the existing <details> to see the complete list. */
.sm191-plug-item{position:relative;overflow:visible}
.sm191-plug-item>summary{position:relative;border-radius:11px;min-width:0}
.sm191-count{color:#8fe7db!important;font-weight:650}
.sm191-mobile-hint{display:none}
.sm191-hover{display:inline-flex;position:relative;flex:0 0 auto;align-items:center;justify-content:center;align-self:center;z-index:2}
.sm191-hover-icon{display:inline-grid;place-items:center;border:1px solid #3e7480;border-radius:50%;background:#1b4655;color:#c4fff6;font:700 .99rem/1 system-ui,sans-serif;width:28px;height:28px}
.sm191-hover-panel{display:none;position:absolute;right:-6px;top:calc(100% + 10px);width:min(320px,calc(100vw - 36px));max-height:min(440px,65vh);overflow-y:auto;padding:13px;background:#10283a;border:1px solid #68b5c7;box-shadow:0 14px 35px #000b;border-radius:13px;color:#edf9ff;z-index:10;text-align:left;white-space:normal;cursor:default;pointer-events:none}
.sm191-hover-heading{display:block;font-size:.85rem;font-weight:800;padding-bottom:9px;margin-bottom:5px;border-bottom:1px solid #38546b;color:#a8f0e7}
.sm191-hover-row{display:flex;flex-direction:column;gap:3px;padding:8px 0;border-bottom:1px solid #243c52;min-width:0}
.sm191-hover-row b{font-size:.83rem;line-height:1.35;overflow-wrap:anywhere}
.sm191-hover-row small{font-size:.74rem;color:#aec8db;line-height:1.4;overflow-wrap:anywhere}
.sm191-hover-empty,.sm191-hover-more,.sm191-hover-foot{display:block;font-size:.78rem;color:#b9cfdf;line-height:1.4;padding:8px 0}
.sm191-hover-foot{color:#84b9c5;padding-bottom:0}
.sm191-saved-plug{position:relative}
.sm191-saved-plug>.split{justify-content:flex-start;gap:10px}
.sm191-saved-plug>.split>a{margin-left:auto}
.sm191-saved-plug>.split>strong{min-width:0;overflow-wrap:anywhere}
/* Give a hovered card priority so its preview is not covered by the next row. */
@media (hover:hover) and (pointer:fine){
  .sm191-plug-item:hover,.sm191-saved-plug:hover{z-index:20}
  .sm191-plug-item>summary:hover .sm191-hover-panel,
  .sm191-plug-item>summary:focus-visible .sm191-hover-panel,
  .sm191-saved-plug:hover .sm191-hover-panel,
  .sm191-saved-plug:focus-within .sm191-hover-panel{display:block}
}
/* Show the info panel for keyboard navigation independently of pointer type. */
.sm191-plug-item>summary:focus-visible .sm191-hover-panel{display:block}
@media(max-width:760px){
  .sm191-mobile-hint{display:inline}
  .sm191-hover{display:none}
  .sm191-plug-item>summary{gap:7px}
  .sm191-saved-plug>.split{align-items:center}
}
