/* Static service homepage */
.service-main {
  --service-red: #bd2534;
  --service-ink: #231e21;
  --service-border: #dfdcda;
  --soft-red: #fcf1f1;
  background: #f7f6f4;
  color: var(--service-ink);
}
.service-shell { padding-block: clamp(1.8rem, 3.3vw, 3.1rem) clamp(2.5rem, 5vw, 4.5rem); }
.service-title { margin-bottom: 1.45rem; }
.service-title h1 { font-size: clamp(2rem, 3.2vw, 3.05rem); line-height: 1.18; letter-spacing: -.045em; }
.service-title p { margin-top: .55rem; color: var(--muted); line-height: 1.6; }
.rental-grid, .service-details, .help-grid { display: grid; gap: 1.15rem; }
.rental-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.service-main .panel {
  min-width: 0; padding: clamp(1.2rem, 2vw, 1.8rem); border: 1px solid var(--service-border);
  border-radius: .85rem; background: #fff;
}
.service-main .panel > h2, .pay-heading h2 {
  margin: 0; color: var(--service-ink); font-size: clamp(1.18rem, 1.8vw, 1.5rem); line-height: 1.4; letter-spacing: -.025em;
}
.tariffs { grid-column: 1; grid-row: 1; }
.amount-panel { grid-column: 1; grid-row: 2; }
.pay-panel { grid-column: 2; grid-row: 1 / 3; }
.unit-prices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; margin-top: .95rem; }
.unit {
  display: flex; align-items: baseline; gap: .2rem .42rem; flex-wrap: wrap;
  background: var(--soft-red); padding: .8rem 1rem; border-radius: .55rem;
}
.unit + .unit { background: #f5f3f2; }
.unit small { flex-basis: 100%; color: #594f51; font-size: .9rem; font-weight: 550; }
.unit b, .unit strong { color: var(--service-red); font-size: clamp(1.65rem, 2.7vw, 2.3rem); font-weight: 720; letter-spacing: -.045em; line-height: 1.16; font-variant-numeric: tabular-nums; }
.unit span { font-size: .89rem; color: #51484a; }
.tariffs > p, .amount-panel > p, .amount-panel > small { display: block; margin: .75rem 0 0; color: #625a5c; font-size: .9rem; line-height: 1.6; }
.pay-heading { display: flex; justify-content: space-between; align-items: center; gap: .7rem; }
.network { display: inline-flex; align-items: center; width: fit-content; padding: .23rem .55rem; border: 1px solid #e5d7d8; border-radius: .4rem; color: #8b2732; background: #fff8f7; font-size: .78rem; line-height: 1.4; font-weight: 650; }
.pay-panel { display: flex; flex-direction: column; }
.pay-inner { display: flex; flex-direction: column; align-items: center; justify-content: center; flex: 1; margin-top: 1rem; gap: .9rem; }
.qr-box, .pay-mini > a:has(img) {
  box-sizing: content-box; display: grid; place-items: center; flex: none; width: 9.75rem; height: 9.75rem;
  background: #fff; border: 1px solid #e1dedc; padding: .65rem; border-radius: .6rem;
}
.qr-box a { display: block; width: 100%; }
.qr-box img, .pay-mini a img { display: block; width: 100%; height: auto; object-fit: contain; image-rendering: pixelated; }
.pay-copy { min-width: 0; width: 100%; text-align: center; }
.pay-copy p, .pay-copy small, .pay-mini p, .pay-mini small { margin: 0; color: #605759; font-size: .9rem; line-height: 1.55; }
code.addr, .addr {
  display: block; min-width: 0; margin-block: .4rem .65rem; color: #292426;
  font: 600 clamp(.9rem, 1.35vw, 1.02rem)/1.5 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .01em; word-break: break-all; user-select: all;
}
.pay-actions, .service-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem .75rem; }
.pay-actions { justify-content: center; }
.pay-actions > button, .copy, .service-actions a, .pay-actions > a {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .55rem .9rem;
  min-height: 2.5rem; border: 1px solid #d9d1d2; border-radius: .43rem; cursor: pointer;
  background: white; color: var(--service-red); font: 650 .9rem/1.35 var(--sans); text-decoration: none;
}
.pay-actions > button, button.copy { background: var(--service-red); border-color: var(--service-red); color: #fff; }
.pay-actions > button:hover, button.copy:hover { background: #9f1827; border-color: #9f1827; }
.pay-actions > a:hover, .service-actions a:hover { background: #fff5f4; border-color: #bf8e93; }
.pay-actions svg, .service-actions svg, .copy svg { width: 1rem; height: 1rem; }
.service-main button:focus-visible, .pills label:has(input:focus-visible) { outline: 3px solid #2276af; outline-offset: 3px; }
.service-main [role="status"], .copy-status { font-size: .85rem; color: #554a4c; }
.choices { min-inline-size: 0; padding: 0; margin: .9rem 0 0; border: 0; }
.choices legend { padding: 0; margin-bottom: .4rem; font-size: .9rem; color: #554d50; font-weight: 600; }
.pills { display: flex; flex-wrap: wrap; gap: .37rem; }
.pills label { position: relative; display: inline-flex; cursor: pointer; border-radius: .38rem; }
.pills input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pills span {
  display: grid; place-items: center; min-width: 2.45rem; min-height: 2.25rem;
  padding: .3rem .68rem; border: 1px solid #d8d3d2; border-radius: .38rem;
  color: #52494b; font-size: .93rem; line-height: 1.3;
}
.pills input:checked + span { background: #fff0ef; border-color: var(--service-red); color: #9f1f2a; font-weight: 700; }
.pills label:hover span { border-color: #a47076; }
.total { display: flex; align-items: baseline; justify-content: space-between; gap: .45rem 1rem; flex-wrap: wrap; margin-top: 1.1rem; border-top: 1px solid #e7e0df; padding-top: .78rem; }
.total > span, .total > small { color: #63585a; }
.total output { color: var(--service-red); font-size: clamp(1.4rem, 2.2vw, 1.85rem); font-weight: 750; line-height: 1.25; font-variant-numeric: tabular-nums; }

.service-details, .help-grid { grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 1.15rem; }
.service-card, .service-main .more { display: flex; flex-direction: column; align-items: stretch; }
.service-card > p, .service-card .terms, .service-card .minima, .help-grid .more > p {
  margin-top: .75rem; color: #5a5354; line-height: 1.75;
}
.service-card ul, .service-card ol, .help-grid .more ul { padding-left: 1.25rem; }
.service-card h3 { font-size: 1.06rem; margin-top: .85rem; }
.service-card table { width: 100%; border-collapse: collapse; margin-top: .85rem; font-size: .96rem; }
.service-card caption { padding-bottom: .4rem; color: #554b4e; text-align: left; }
.service-card th, .service-card td { text-align: left; border-bottom: 1px solid #e7e1df; padding: .5rem .65rem; line-height: 1.5; }
.service-card th { color: #554b4e; background: #f6f4f3; font-weight: 620; }
.service-card .pay-mini { margin-top: 1rem; }
.pay-mini { display: flex; align-items: center; gap: 1rem; padding: 1rem 0 0; border-top: 1px solid var(--service-border); }
.pay-mini > a:has(img) { width: 7.5rem; height: 7.5rem; padding: .45rem; }
.pay-mini > div { min-width: 0; }
.pay-mini .copy { min-height: 2.3rem; }
.service-actions { margin-top: .95rem; }
.help-grid .qa { margin-top: .8rem; }
.help-grid .faq details p { padding-right: .45rem; }
.help-grid summary { padding: .85rem 0; }
.help-grid .more > a, .help-grid .more li a, .service-card p a, .terms a { color: #ab2030; text-decoration: underline; text-underline-offset: .19em; }
.help-grid .more > a { margin-top: .65rem; }
.help-grid .more li + li { margin-top: .48rem; }

@media (max-width: 52rem) {
  .rental-grid { grid-template-columns: minmax(0,1.07fr) minmax(0,.93fr); gap: .85rem; }
  .service-details, .help-grid { gap: .85rem; }
  .pay-mini { align-items: flex-start; flex-wrap: wrap; }
}
@media (max-width: 44rem) {
  .service-shell { width: min(100% - 1.5rem, 39rem); padding-block: 1.2rem 2.5rem; }
  .service-title { margin: 0 .2rem .88rem; }
  .service-title h1 { font-size: clamp(1.75rem, 6.2vw, 2.25rem); line-height: 1.22; }
  .service-title p { margin-top: .3rem; font-size: .94rem; }
  .service-main .panel { padding: .98rem; border-radius: .65rem; }
  .rental-grid, .service-details, .help-grid { grid-template-columns: minmax(0,1fr); gap: .72rem; }
  .tariffs, .amount-panel, .pay-panel { grid-column: auto; grid-row: auto; }
  .tariffs { order: 1; }
  .pay-panel { order: 2; }
  .amount-panel { order: 3; }
  .unit-prices { gap: .55rem; margin-top: .6rem; }
  .unit { padding: .55rem .75rem; }
  .unit b, .unit strong { font-size: 1.63rem; }
  .unit small, .unit span { font-size: .85rem; }
  .tariffs > p { margin-top: .45rem; }
  .pay-inner { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: .75rem; margin-top: .7rem; }
  .pay-copy { text-align: left; }
  .qr-box, .pay-mini > a:has(img) { width: 7.5rem; height: 7.5rem; padding: .32rem; }
  .pay-copy p, .pay-copy small { font-size: .85rem; }
  .pay-copy .addr, .pay-mini .addr { margin-block: .22rem .45rem; }
  .pay-actions { justify-content: flex-start; gap: .35rem; }
  .pay-actions > a, .pay-actions > button, .copy { padding: .48rem .63rem; font-size: .87rem; min-height: 2.35rem; }
  .pills span { min-height: 2.5rem; }
  .service-details, .help-grid { margin-top: .72rem; }
  .pay-mini { align-items: center; flex-wrap: nowrap; gap: .75rem; }
}
@media (max-width: 22rem) {
  .pay-inner, .pay-mini { gap: .55rem; }
  .qr-box, .pay-mini > a:has(img) { padding: .2rem; }
  .service-main .panel { padding: .82rem; }
}
@media print {
  .service-main { background: #fff; }
  .service-main .panel { break-inside: avoid; box-shadow: none; }
  .service-main button, .service-actions { display: none; }
}

.service-main [hidden] { display: none !important; }
.service-main .pay-note { color: #605759; font-size: .88rem; margin-top: 1.25rem; padding-top: .85rem; border-top: 1px solid var(--service-border); }
#rate-table { margin-top: .85rem; }
#rate-table summary { padding: .7rem 0; font-size: .95rem; }
#rate-table table { width: 100%; border-collapse: collapse; margin-bottom: .8rem; }
#rate-table td, #rate-table th { padding: .35rem .5rem; text-align: left; border-bottom: 1px solid var(--service-border); }
#rate-table thead { background: #f7f5f4; }
.amount-note a, .service-main .faq details p a { text-decoration: underline; text-underline-offset: .18em; color: var(--service-red); }
.service-main .faq details p { margin-bottom: .9rem; color: var(--muted); }
.service-main .faq h2 { margin-bottom: .85rem; }
.pay-mini .pay-actions { justify-content: flex-start; }
@media (max-width: 44rem) {
  .service-main .pay-note { margin-top: .75rem; padding-top: .6rem; }
}

.energy-notice {
  margin-top: .75rem;
  padding: .65rem .85rem;
  border-inline-start: 3px solid var(--service-red);
  border-radius: .2rem;
  background: #fff6f2;
}
.energy-notice h3 { color: #902534; font-size: 1rem; }
.energy-notice p { margin-top: .25rem; color: #4e3839; font-size: .94rem; line-height: 1.55; }
