:root {
  color-scheme: light;
  --bg: #edf1f5;
  --b2: #fff;
  --b3: #f3f6f9;
  --b4: #e5edf5;
  --b5: #9bafc2;
  --fg: #172639;
  --f2: #40566e;
  --f3: #536a82;
  --ac: #295887;
  --a2: #193f6c;
  --ag: #e0ebf6;
  --bd: #cdd8e3;
  --ok: #22635c;
  --wn: #8b501d;
  --dn: #963d38;
  --r: 4px;
  --rs: 3px;
  --ft: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mo: ui-monospace, "SF Mono", Consolas, monospace;
  --md-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%2340566e' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
[hidden] { display: none !important; }
body { font-variant-numeric: tabular-nums; }
a { color: var(--a2); }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
:where(button, a, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid #356da7 !important;
  outline-offset: 2px;
}
select:not([multiple]) {
  appearance: none;
  -webkit-appearance: none;
  padding-inline-end: 28px !important;
  background-image: var(--md-chevron) !important;
  background-repeat: no-repeat !important;
  background-size: 15px 15px !important;
  background-position: right 6px center !important;
}
select[multiple] { min-height: 116px; }
input[type=checkbox] { accent-color: var(--ac); margin: 0; }
.bg, .bp, .set-btn, .menu-btn { min-height: 29px; text-decoration: none; }
.bp { background: #295887; }
.bp:hover { background: #193f6c; }
.tg-wrap { background: var(--bg); }
.tg-box {
  border: 1px solid var(--b5);
  border-radius: 4px;
  text-align: left;
  box-shadow: 0 8px 22px #233b5318;
  padding: 24px;
}
.tg-box h1 { margin: 14px 0 4px; font-size: 20px; }
.tg-box small { display: block; margin: 0 0 10px; color: var(--f2); }
.tg-field { display: grid; gap: 4px; font-size: 12px; font-weight: 650; }
.tg-field input, .tg-field select {
  width: 100%; padding: 7px 9px; min-height: 35px; text-align: left;
  background-color: var(--b3); color: var(--fg); border: 1px solid var(--bd); border-radius: var(--rs);
  font: 14px var(--ft);
}
.tg-btn { min-height: 34px; padding: 7px 10px; font-size: 13px; }
.tg-box .md-inline { margin-top: 10px; }
.md-brand { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 740; color: inherit; text-decoration: none; }
.md-brand b {
  display: inline-grid; place-items: center; width: 25px; height: 25px;
  background: #295887; color: #fff; font: 700 11px var(--mo); border-radius: 2px;
}
.sb { background: #203349; color: #edf3fa; }
.sb-top { padding: 12px 12px 9px; border-color: #3c5066; }
.sb-tenant { margin-top: 5px; color: #bbccdc; }
.sb-title, .sb-userinfo, .sb-foot, .sb-out, .sb-switch { color: #c7d6e4 !important; border-color: #3c5066; }
.sb-item { color: #d9e5f1; min-height: 29px; }
.sb button.nf { width: 100%; background: transparent; border: 0; text-align: left; }
.sb button.nf[aria-pressed=true] { background: #395b7d; color: #fff; }
.sb-item:hover, .sb-item[data-view]:hover { background: #314a64; color: #fff; }
.sb-item.active, .sb-item[data-view].active, .sb-item[aria-current=page] {
  background: #395b7d;
  color: #fff;
  border-right-color: #9bc3ec;
}
.sb .sb-item:focus-visible, .sb .md-brand:focus-visible {
  outline-color: #bad8f8 !important;
  outline-offset: -2px;
}
.sb-foot form button { width: 100%; background: none; text-align: left; border: 0; font: inherit; font-size: 11px; }
.sb-foot form button:hover { background: #314a64; }
.sb-badge { color: #254969; }
.topbar { background: #fff; padding-block: 6px; backdrop-filter: none; }
.topbar h1 { font-size: 15px; }
.ar-ctl select { min-height: 28px; font-size: 11px; }
.ds-ind { font-size: 10px; border-radius: 2px; }
.ds-ind.ds-live { color: #235c56; background: #e5f2ef; }
.ds-ind.ds-stale { color: #7e4d27; background: #f5eee4; }
.content { padding: 10px 12px; }
.fbar input, .fbar select, .apiex-f select { font-size: 13px; min-height: 32px; padding: 5px 8px; }
.kpi-row { gap: 1px; border: 1px solid var(--bd); background: var(--bd); }
.kpi { border: 0; border-radius: 0; padding: 7px 9px; }
.kpi-l { font-size: 9px; }
.kpi-v { font-size: 18px; letter-spacing: -.03em; }
.kpi-s { color: var(--f2); font-size: 10px; }
.hm-wrap { background: var(--b2); max-height: max(220px, calc(100dvh - 300px)); }
.hm-t th, .hm-t td { border-right: 1px solid var(--bd); }
.hm-t thead th, .hm-t th.cs { background: #e8eef5; color: #25415f; }
.hm-t thead th { padding: 0; }
.hm-sort { min-height: 29px; padding: 4px 7px; }
.hm-t td.ts { background: #fff; padding: 2px 7px; }
.hm-t tbody tr:nth-child(even) td.ts { background: #f2f6fa; }
.hm-t td.tseg { background: #f4f7fa; padding-inline: 7px; }
.hm-t .seg-p { background: #e0e9f4; color: #36516d; font-size: 9px; }
.hm-t td.ts .ts-main { font-size: 12px; }
.hm-t td.ts .ts-sub, .hm-t td.ts .ts-source { font-size: 10px; }
.hm-t tbody tr:hover td { background-color: #f4f8fc; }
.hm-legend span { font-size: 10px; }
.hm-method { font-size: 11px; }
.md-source-panel { margin: 6px 0 8px; padding: 6px 9px; background: #f5f8fc; border-inline-start: 3px solid var(--ac); font-size: 12px; }
.md-source-panel p { margin: 2px 0 0; }
#hm-data-note { margin: -4px 0 8px; }
#hm-data-note:empty { display: none; }
.md-querybar {
  display: flex; align-items: center; flex-wrap: wrap; gap: 7px 10px;
  padding: 7px 8px; background: var(--b2); border: 1px solid var(--bd); margin: 5px 0 7px;
}
.md-querybar .md-querybar { padding: 0; border: 0; margin: 0; }
.md-querybar label, .md-inline label {
  display: inline-flex; align-items: center; min-height: 30px; gap: 6px; color: var(--f2); font-size: 12px; line-height: 1.2; white-space: nowrap;
}
.md-querybar select, .md-querybar input:not([type=checkbox]), .md-inline select,
.md-form :is(input:not([type=checkbox]), select, textarea) {
  min-height: 30px; max-width: 100%; padding: 4px 7px; color: var(--fg); background-color: var(--b2);
  border: 1px solid var(--b5); border-radius: var(--rs); font-size: 13px;
}
.md-querybar input[type=number] { width: 72px; }
.md-querybar input[type=checkbox], .toolbar input[type=checkbox], .md-flags input[type=checkbox] {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}
.toolbar, .toolbar .tog-vis { align-items: center; }
.toolbar .tog-vis { display: inline-flex; gap: 5px; min-height: 30px; line-height: 1.2; }
.md-querybar > .bp, .md-querybar > .bg { min-height: 30px; }
.md-querybar #md-analysis-studio { max-width: min(280px, 65vw); }
.md-hour-cell {
  min-width: 96px; padding: 3px; background-color: #fff;
  background-color: color-mix(in srgb, var(--md-load, #fff) 24%, #fff);
}
.md-now-cell { min-width: 96px; padding: 4px 7px; }
.md-now-cell strong { font: 700 14px var(--mo); }
.md-now-cell small, .md-hour-button small { display: block; font-size: 10px; line-height: 1.4; color: var(--f2); }
.md-current { color: #1e547d; }
.md-hour-button {
  width: 100%; min-height: 28px; padding: 2px 4px; display: block;
  border: 1px solid transparent; background: transparent; text-align: left; white-space: nowrap;
  font: 600 11px var(--mo);
}
button.md-hour-button { cursor: pointer; }
button.md-hour-button:hover { border-color: var(--b5); background: #fff; }
.md-hour-primary { display: flex; gap: 5px; justify-content: space-between; }
.md-peak { color: #843b31; }
.md-hour-button .md-profile-value { border-top: 1px dashed #9badbf; margin-top: 2px; padding-top: 2px; }
.md-muted { color: var(--f2); font-size: 12px; line-height: 1.5; }
.md-notice, .md-empty { padding: 8px 10px; border: 1px solid var(--bd); background: #f5f8fc; color: var(--f2); font-size: 12px; }
.md-notice.is-error { border-color: #d9a09b; color: var(--dn); background: #fff5f4; }
.md-text-button { border: 0; background: none; padding: 0; color: var(--a2); text-decoration: underline; cursor: pointer; }
.md-sheet { min-width: 0; border: 1px solid var(--b5); background: var(--b2); }
.md-sheet > h2, .md-sheet > header {
  padding: 8px 10px; background: #e9eff6; border-bottom: 1px solid var(--bd); font-size: 14px; font-weight: 700;
}
.md-sheet h2 { font-size: 15px; }
.md-sheet h2 small, .md-sheet header p { color: var(--f2); font-size: 11px; font-weight: 450; margin-top: 3px; }
.md-table-wrap { max-width: 100%; overflow: auto; }
.md-table { width: 100%; border-collapse: collapse; font-size: 12px; line-height: 1.25; }
.md-table th, .md-table td { padding: 5px 8px; border-bottom: 1px solid var(--bd); text-align: left; }
.md-table thead th { white-space: nowrap; background: #f0f4f8; color: #314e6c; font-weight: 650; }
.md-table tbody tr:nth-child(even) { background: #f7f9fc; }
.md-table tbody tr:hover { background: #eaf1f8; }
.md-table code { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 10px; }
.md-http-403-candidates { max-height: min(26rem, 50vh); }
.md-http-403-candidates thead th { position: sticky; top: 0; z-index: 1; }
.md-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.md-admin-head {
  display: flex; align-items: center; gap: 13px; background: #203349; padding: 8px max(12px, 2.5vw);
  color: #ecf4fc; border-bottom: 1px solid #58718b;
}
.md-admin-head small { margin-left: auto; color: #c8d7e5; }
.md-admin-main { display: grid; gap: 10px; max-width: 1360px; padding: 10px max(12px, 2vw); margin: auto; }
.md-admin-tabs { display: flex; flex-wrap: wrap; gap: 3px; border-bottom: 1px solid var(--b5); }
.md-admin-tabs a { padding: 6px 9px; color: var(--f2); text-decoration: none; font-size: 13px; }
.md-admin-tabs a[aria-current=page] { border-bottom: 2px solid var(--ac); color: var(--a2); font-weight: 700; }
.md-admin-title { display: flex; align-items: center; justify-content: space-between; gap: 7px; flex-wrap: wrap; }
.md-admin-title h1 { font-size: 19px; }
.md-form { padding: 9px 10px; display: grid; gap: 8px; }
.md-form.md-inline { display: flex; }
.md-form .bp, .md-form > .bg { justify-self: start; }
.md-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 7px 10px; }
.md-form label { display: grid; gap: 3px; color: var(--f2); font-size: 12px; font-weight: 620; }
.md-form :is(.md-check,.md-flags label) { display: flex; gap: 5px; align-items: center; min-height: 30px; font-weight: 500; }
.md-flags { display: flex; gap: 8px 14px; flex-wrap: wrap; }
.md-form textarea { font-family: var(--mo); resize: vertical; }
.md-form small { color: var(--f2); font-size: 11px; font-weight: 400; }
.md-schedule-editor { display: grid; gap: 6px; min-width: 0; border: 1px solid var(--bd); padding: 8px; }
.md-schedule-editor legend { padding-inline: 5px; color: var(--f2); font-size: 12px; font-weight: 650; }
.md-schedule-editor > label { justify-self: start; }
.md-schedule-windows { display: grid; gap: 5px; }
.md-schedule-builder { align-items: end; }
.md-schedule-windows small:empty { display: none; }
.md-form button:disabled { opacity: .55; cursor: default; }
.md-proxy-block { margin: 5px 10px 8px; border: 1px solid var(--bd); }
.md-proxy-block > summary { padding: 8px 10px; cursor: pointer; font-weight: 620; }
.md-proxy-block > summary .md-muted { margin-inline-start: 8px; font-weight: 400; }
.md-proxy-block[open] > summary { border-bottom: 1px solid var(--bd); }
#api-verbindungen { scroll-margin-top: 12px; }
.md-explorer .md-querybar { border-width: 0 0 1px; margin: 0; }
.md-explorer-heading, .md-eco-report > header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.md-eco-form { align-items: center; }
.md-eco-presets, .md-eco-site-tools, .md-eco-download, #md-eco-parts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.md-eco-site-select, .md-eco-window, .md-eco-result { flex-basis: 100%; min-width: 0; }
.md-eco-site-select { border: 1px solid var(--bd); background: var(--b2); padding: 5px 8px; }
.md-eco-site-select summary { cursor: pointer; font-weight: 650; }
.md-eco-site-tools { margin: 6px 0; }
.md-eco-site-list { max-height: 220px; overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr)); gap: 2px 8px; }
.md-eco-site-list label { min-width: 0; overflow-wrap: anywhere; padding-block: 3px; white-space: normal; }
.md-eco-window { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0; border: 1px solid var(--bd); padding: 5px 8px 7px; }
.md-eco-window legend { font-size: 11px; color: var(--f2); padding-inline: 4px; }
.md-eco-window input[name=start], .md-eco-window input[name=end] { width: 64px; }
.md-eco-result .md-notice { margin-bottom: 6px; }
#md-eco-parts:not(:empty) { margin-top: 7px; }
#md-eco-parts p { flex-basis: 100%; }
.md-eco-caption { padding: 7px 10px; }
.md-actionbar { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 8px; border-bottom: 1px solid var(--bd); }
.md-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1px; background: var(--bd); }
.md-metric { min-width: 0; display: grid; padding: 7px 8px; background: #fff; gap: 2px; }
.md-metric small { color: var(--f2); font-size: 11px; }
.md-metric strong { font: 700 17px var(--mo); color: #203e5e; }
.md-metric span { color: var(--f2); font-size: 10px; }
#md-analysis-result > :is(p,details) { padding: 7px 8px; }
.md-profiles > summary { cursor: pointer; font-size: 12px; font-weight: 650; }
.md-hour-dialog {
  margin: auto; width: min(850px, calc(100vw - 20px)); max-height: 91dvh; overflow: auto;
  background: var(--b2); color: var(--fg); border: 1px solid var(--b5); border-radius: 4px; box-shadow: 0 8px 36px #20334950;
}
.md-hour-dialog::backdrop { background: #10243972; }
.md-hour-dialog > header {
  padding: 8px; border-bottom: 1px solid var(--bd); background: #e9eff6;
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
}
.md-hour-dialog > header h2 { font-size: 15px; }
#md-hour-content { padding: 0 9px 9px; }
.md-hour-chart { display: block; width: 100%; height: auto; background: #fff; }
.md-hour-chart text { fill: var(--f2); font: 11px var(--mo); }
.md-chart-grid { stroke: #d8e0e9; stroke-width: 1; }
.md-profile-line { fill: none; stroke: #8e6d52; stroke-width: 2; stroke-dasharray: 7 4; }
.md-series { fill: none; stroke: #386b9f; stroke-width: 2; }
.md-point { fill: #295887; stroke: #fff; stroke-width: 1; }
.md-point.is-peak { fill: #9a493b; }
.md-interpolated { fill: none; stroke: #47749d; stroke-width: 2; stroke-dasharray: 3 4; }
.md-interpolation-point { fill: #fff; stroke: #47749d; stroke-width: 2; }
.md-detail-tables { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.md-detail-tables > div { border: 1px solid var(--bd); }
.md-detail-actions { display: flex; align-items: center; gap: 6px; margin: 6px 0; font-size: 11px; color: var(--f2); }
.md-definitions { display: grid; gap: 2px; }
.md-definitions dt { font-weight: 700; color: var(--fg); }
.md-definitions dd { margin-bottom: 6px; }
.json-str, .json-str a, .json-row a { color: #28546a !important; }
.json-num { color: #82421b; }
.json-bool { color: #295887; }
.json-null { color: var(--f2); }

@media (max-width: 680px) {
  .content { padding: 6px; }
  .md-admin-main { padding: 6px; }
  .md-detail-tables { grid-template-columns: 1fr; }
  .fbar .f-cnt { width: auto; margin-left: auto; }
  .kpi-row > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .hm-t .md-segment-column { display: none; }
  .hm-t th.cs { min-width: 110px; }
  .hm-t td.ts { max-width: 138px; }
  .md-now-cell { min-width: 73px; }
  .md-hour-cell { min-width: 112px; }
  .md-querybar label, .md-inline label { white-space: normal; }
  .md-querybar select, .md-form :is(input:not([type=checkbox]),select,textarea), .tg-field input { font-size: 16px; }
  .md-sheet > header h2 { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.md-colormap th:not(.cs) { min-width: 40px; }
.md-colormap .md-color-cell { padding: 0; min-width: 40px; }
.md-colormap .md-color-value {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 33px;
  padding: 3px 4px;
  border: 0;
  background: var(--md-heat-fill, #f0f4f8);
  color: var(--md-heat-ink, #506780);
  font: 650 12px var(--mo);
}
.md-colormap .md-color-value.is-empty { background: #f2f5f8; color: #5a6e83; }
.md-colormap .md-color-value.is-partial { box-shadow: inset 0 -2px currentColor; }
.md-colormap button.md-color-value { cursor: pointer; }
.md-colormap button.md-color-value:hover,
.md-colormap button.md-color-value:focus-visible {
  box-shadow: inset 0 0 0 2px currentColor;
  outline: 0 !important;
}
.md-colormap th:is(:nth-child(3), :nth-child(9), :nth-child(15), :nth-child(21)),
.md-colormap td:is(:nth-child(3), :nth-child(9), :nth-child(15), :nth-child(21)) {
  border-left: 1px solid #8a9fb4;
}

#hm-scale-note { font-size: 11px; margin: 0 0 3px; }
#hm-algorithm { max-width: 100%; }
.hm-legend i { width: 12px; height: 10px; border: 1px solid #20334928; }

#settings-custom[hidden] { display: none; }
.md-settings-section + .md-settings-section { border-top: 1px solid var(--bd); margin-top: 13px; padding-top: 12px; }
.md-settings-section h4 { font-size: 13px; margin: 0 0 6px; }
.md-settings-section p { color: var(--f2); font-size: 11px; line-height: 1.45; margin: 5px 0; }
.md-settings-fields { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: flex-end; }
.md-settings-fields > label { display: grid; flex: 1 1 155px; gap: 3px; color: var(--f2); font-size: 11px; }
.md-settings-section :is(select, input:not([type=color])) {
  min-height: 30px; padding: 4px 7px; border: 1px solid var(--b5); border-radius: var(--rs);
  background-color: var(--b2); color: var(--fg); font-size: 13px; min-width: 0;
}
.md-settings-section select { width: 100%; }
.md-scale-preview, .md-settings-actions, .md-settings-tags { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.md-scale-preview span { padding: 3px 5px; border-radius: 2px; font: 650 10px var(--mo); white-space: nowrap; }
.md-settings-actions, .md-settings-tags { margin-top: 6px; }
.md-custom-fields { display: grid; gap: 4px; }
.md-custom-row { display: flex; flex-wrap: wrap; gap: 7px 14px; align-items: center; }
.md-custom-row label { display: inline-flex; align-items: center; gap: 5px; color: var(--f2); font-size: 11px; }
.md-custom-row input[type=number] { width: 62px; }
.md-settings-section input[type=color] { width: 34px; height: 30px; padding: 2px; border: 1px solid var(--b5); background: var(--b2); border-radius: var(--rs); }
#settings-custom-status { font-size: 11px; color: var(--f2); }
#settings-custom-status.md-settings-error { color: var(--dn); }
.md-seg-rule { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 4px 0; }
.md-seg-rule [data-rf=label] { width: 104px; }
.md-seg-rule [data-rf=priority] { width: 48px; }
.md-seg-rule [data-rf=tags] { flex: 1 1 98px; }

.md-info-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 20px; padding: 12px; }
.md-info-heading h2 { margin: 0 0 3px; font-size: 17px; }
.md-info-select { display: flex; flex-wrap: wrap; align-items: end; gap: 6px; min-width: 0; }
.md-info-select label, .md-tariff-toolbar label { display: grid; min-width: 0; gap: 3px; font-size: 12px; color: var(--f2); }
.md-info-select select, .md-tariff-toolbar input {
  min-height: 32px; max-width: min(100%, 420px); padding: 4px 9px;
  color: var(--fg); background: var(--b2); border: 1px solid var(--b5); border-radius: var(--rs); font: inherit;
}
.md-info-select select { width: min(48vw, 420px); }
.md-info-select button { min-height: 32px; }
.md-info-tabs {
  display: flex; flex-wrap: wrap; gap: 3px; padding: 5px 8px; border-block: 1px solid var(--bd); background: var(--b3);
}
.md-info-tabs button { min-height: 30px; }
.md-info-tabs button[aria-pressed=true] { color: #fff; background: #254564; border-color: #254564; }
.md-info-tabs button:disabled { opacity: .58; cursor: default; }
.md-info-trial { margin: 8px 12px 0; }
.md-info-live:not([hidden]) { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 8px 12px 0; }
.md-info-live .load-status { margin: 0; }
.md-info-stamp { padding: 7px 12px 0; font-variant-numeric: tabular-nums; }
.md-info-stamp:empty { display: none; }
.md-info-output { display: grid; align-items: start; gap: 9px; min-width: 0; padding: 10px 12px 14px; }
.md-info-output h3 { font-size: 15px; }
.md-info-output h4 { font-size: 13px; }
.md-studio-facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 1px;
  border: 1px solid var(--bd); background: var(--bd); margin: 0; padding: 0;
}
.md-studio-facts:empty { display: none; }
.md-studio-facts > div { min-width: 0; padding: 6px 8px; background: var(--b2); overflow-wrap: anywhere; }
.md-studio-facts dt { font-size: 11px; color: var(--f2); }
.md-studio-facts dd { margin: 2px 0 0; font-weight: 620; }
.md-tariff-toolbar { display: flex; flex-wrap: wrap; align-items: end; gap: 8px 14px; }
.md-tariff-toolbar p { color: var(--f2); font-size: 12px; margin: 0 0 7px; }
.md-tariff-toolbar input { width: min(73vw, 305px); }
.md-tariff-compare td:nth-child(n+3) { font-variant-numeric: tabular-nums; }
.md-text-button { color: #204f78; text-align: left; text-decoration: underline; background: none; cursor: pointer; }
.md-studio-disclosure, .md-tariff-offer { border: 1px solid var(--bd); }
.md-studio-disclosure > summary {
  padding: 8px 10px; background: var(--b3); color: var(--fg); cursor: pointer; font-size: 13px; font-weight: 650;
}
.md-studio-disclosure[open] > summary { border-bottom: 1px solid var(--bd); }
.md-studio-disclosure > summary small { color: var(--f2); margin-inline-start: 9px; font-size: 11px; }
.md-studio-detail-body { display: grid; gap: 8px; min-width: 0; padding: 9px 10px; }
.md-tariff-section { display: grid; gap: 5px; min-width: 0; }
.md-tariff-items { border-top: 1px solid var(--bd); margin: 0; padding: 0; list-style: none; }
.md-tariff-items > li {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(min(100%, 135px), 2fr); align-items: start;
  gap: 3px 8px; padding: 6px 7px; border-bottom: 1px solid var(--bd);
}
.md-tariff-items > li:nth-child(even) { background: #f7f9fc; }
.md-tariff-items small { display: block; color: var(--f2); font-size: 11px; }
.md-tariff-price { color: #233f5b; font-weight: 650; font-variant-numeric: tabular-nums; }
.md-info-rich { line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }
.md-info-rich p + p { margin-top: 5px; }
.md-info-list, .md-info-rich :is(ul, ol) { margin: 0; padding-inline-start: 19px; }
@media (max-width: 580px) {
  .md-info-heading { align-items: stretch; }
  .md-info-select { width: 100%; }
  .md-info-select label { flex: 1 1 150px; }
  .md-info-select select { width: 100%; max-width: 100%; font-size: 16px; }
  .md-info-output { padding-inline: 8px; }
  .md-tariff-items > li { grid-template-columns: 1fr; }
}
