/* The account and its contract pages (Konto, Kündigen, Paket wechseln, Vertrag widerrufen, the mail link's tap):
   webstandort's page frame (pages.css) with the layer's tokens (webstandort.css). One green button per page at most; money in
   tabular figures; every row a hairline list, never a callout box. */

body { --page-col: 560px; }
.acct-hello { font-size: 15px; color: var(--webstandort-ink-2); margin: 0 0 6px; }
.acct-site + .acct-rows, .acct-change + .acct-rows { margin-top: 0; }
.acct-notice { padding: 12px 14px; border-radius: var(--webstandort-radius); background: var(--webstandort-brand-tint); color: var(--webstandort-ink); font-size: 14.5px; line-height: 1.45; margin: 0 0 18px; text-wrap: pretty; }
.acct-error { font-size: 14px; line-height: 1.45; color: #b3261e; margin: 12px 0 0; text-wrap: pretty; }
.acct-error-top { margin: 0 0 18px; }
.acct-error a { color: inherit; font-weight: 600; white-space: nowrap; font-feature-settings: "tnum" 1; }
.acct-num { font-feature-settings: "tnum" 1; white-space: nowrap; }

/* The founder's site as an object: picture, domain, status. */
.acct-site { border: 1px solid var(--webstandort-line); border-radius: var(--webstandort-radius); overflow: hidden; box-shadow: 0 2px 10px rgba(14, 19, 17, 0.06); margin-bottom: 16px; }
.acct-site img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 320; object-fit: cover; object-position: left top; border-bottom: 1px solid var(--webstandort-line); }
/* Two lines in every state, whatever the domain's length: the domain, then the status under its first letter. */
.acct-site .site-row { display: grid; gap: 3px; padding: 13px 16px; }
.acct-domain { font-size: 17px; font-weight: 650; letter-spacing: -0.01em; color: var(--webstandort-ink); min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-decoration: none; justify-self: start; max-width: 100%; }
a.acct-domain { text-decoration: underline; text-decoration-color: var(--webstandort-line-strong); text-underline-offset: 4px; }
a.acct-domain:hover { text-decoration-color: var(--webstandort-ink); }
.acct-status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--webstandort-brand); white-space: nowrap; justify-self: start; }
.acct-status i { width: 8px; height: 8px; border-radius: 50%; background: #1f9d6b; box-shadow: 0 0 0 3px var(--webstandort-brand-tint); }
.acct-status.is-pending { color: var(--webstandort-ink-2); }
.acct-status.is-pending i { background: #d29b1d; box-shadow: 0 0 0 3px #fbf1dc; }
.acct-status.is-off { color: var(--webstandort-muted); }
.acct-status.is-off i { background: var(--webstandort-line-strong); box-shadow: 0 0 0 3px var(--webstandort-subtle); }

.acct-domain-note { font-size: 14.5px; line-height: 1.45; color: var(--webstandort-ink-2); margin: -4px 0 16px; text-wrap: pretty; }
.acct-domain-change { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 0 0 22px; }
.acct-domain-change .webstandort-btn { width: auto; height: 48px; padding: 0 18px; font-size: 15px; }

/* The one way to change the site. */
.acct-change { padding: 18px; border-radius: var(--webstandort-radius); background: var(--webstandort-subtle); margin-bottom: 26px; }
.acct-change h2 { font-size: 19px; font-weight: 650; letter-spacing: -0.02em; margin: 0 0 4px; }
.acct-change p { font-size: 14.5px; line-height: 1.45; color: var(--webstandort-ink-2); margin: 0 0 14px; text-wrap: pretty; }
.acct-change .webstandort-btn svg { width: 18px; height: 18px; }
/* A failed charge: "Zahlungsart ändern" first, "Website ändern" soft below it (side by side from 600 px). */
.acct-actions { display: grid; gap: 8px; }
.acct-actions .webstandort-btn-soft { background: #fff; border: 1px solid var(--webstandort-line-strong); box-sizing: border-box; }
.acct-actions .webstandort-btn-soft:hover { background: var(--webstandort-subtle); }

/* Rows: package, money, payment method, Google profile, cancellation. */
.acct-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--webstandort-line); }
.acct-rows > li > a, .acct-rows > li > form > button, .acct-row-static { display: grid; grid-template-columns: 1fr 18px; align-items: center; gap: 12px; padding: 14px 2px; border-bottom: 1px solid var(--webstandort-line); color: inherit; text-decoration: none; }
.acct-rows > li > form { margin: 0; }
.acct-rows > li > form > button { all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: grid; grid-template-columns: 1fr 18px; align-items: center; gap: 12px; padding: 14px 2px; border-bottom: 1px solid var(--webstandort-line); }
.acct-rows > li > a:hover, .acct-rows > li > form > button:hover { background: var(--webstandort-subtle); }
.acct-rows > li > a:focus-visible, .acct-rows > li > form > button:focus-visible { outline: none; box-shadow: var(--webstandort-focus); border-radius: 6px; }
.acct-rows strong { display: block; font-size: 15px; font-weight: 600; color: var(--webstandort-ink); }
.acct-rows span { display: block; font-size: 13.5px; line-height: 1.45; color: var(--webstandort-ink-2); margin-top: 2px; overflow-wrap: anywhere; text-wrap: pretty; }
.acct-rows svg { width: 16px; height: 16px; color: var(--webstandort-muted); }
.acct-after { font-size: 14.5px; line-height: 1.45; color: var(--webstandort-ink-2); margin: 14px 0 0; text-wrap: pretty; }

/* Contract pages: a title, the dated facts, the decision. */
.acct-back { display: inline-flex; align-items: center; gap: 4px; font-size: 14.5px; font-weight: 550; color: var(--webstandort-ink-2); text-decoration: none; margin: 0 0 18px -2px; }
.acct-back:hover { color: var(--webstandort-ink); }
.acct-back svg { width: 16px; height: 16px; }
.acct-facts { margin: 18px 0 22px; padding: 0; list-style: none; border-top: 1px solid var(--webstandort-line); }
.acct-facts li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--webstandort-line); font-size: 15px; line-height: 1.4; }
.acct-facts li > span:first-child { color: var(--webstandort-ink-2); }
.acct-facts li > span:last-child { font-weight: 600; color: var(--webstandort-ink); text-align: right; font-feature-settings: "tnum" 1; }
.acct-text { font-size: 16px; line-height: 1.5; color: var(--webstandort-ink-2); margin: 0 0 14px; text-wrap: pretty; }
.acct-text strong { color: var(--webstandort-ink); font-weight: 600; }
.acct-choice { margin: 6px 0 0; padding: 18px; border-radius: var(--webstandort-radius); background: var(--webstandort-subtle); }
.acct-choice h2 { font-size: 18px; font-weight: 650; letter-spacing: -0.02em; margin: 0 0 6px; text-wrap: balance; }
.acct-choice p { font-size: 15px; line-height: 1.5; color: var(--webstandort-ink-2); margin: 0 0 16px; text-wrap: pretty; }
.acct-pair { display: grid; grid-template-columns: 1fr; gap: 8px; }
.acct-pair form { margin: 0; }
.acct-pair .webstandort-btn, .acct-pair form .webstandort-btn { width: 100%; }
.acct-pair .webstandort-btn-soft { background: #fff; border: 1px solid var(--webstandort-line-strong); box-sizing: border-box; }
.acct-pair .webstandort-btn-soft:hover { background: var(--webstandort-subtle); }
.acct-solo { margin-top: 4px; }

/* Package picker on the switch page: links, so it works without JavaScript; the chosen one carries the price. */
.acct-tiers { display: grid; gap: 8px; margin: 0 0 18px; }
.acct-tier { position: relative; display: grid; gap: 3px; padding: 12px 14px 13px 44px; border: 1px solid var(--webstandort-line-strong); border-radius: var(--webstandort-radius); background: #fff; color: inherit; text-decoration: none; }
.acct-tier::before { content: ""; position: absolute; left: 14px; top: 14px; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--webstandort-field-line); background: #fff; }
.acct-tier:hover { border-color: var(--webstandort-field-line); }
.acct-tier:focus-visible { outline: none; box-shadow: var(--webstandort-focus); }
.acct-tier.is-chosen { border-color: var(--webstandort-brand); box-shadow: 0 0 0 1px var(--webstandort-brand); }
.acct-tier.is-chosen::before { border: 5px solid var(--webstandort-brand); width: 8px; height: 8px; }
.acct-tier.is-current { cursor: default; background: var(--webstandort-subtle); border-color: var(--webstandort-line); }
.acct-tier.is-current .acct-tier-tag { background: #fff; box-shadow: inset 0 0 0 1px var(--webstandort-line); }
.acct-tier.is-current::before { border-color: var(--webstandort-line-strong); background: var(--webstandort-line); }
.acct-tier-head { display: flex; align-items: baseline; gap: 8px; }
.acct-tier-head strong { font-size: 15.5px; font-weight: 650; letter-spacing: -0.01em; }
.acct-tier-tag { font-size: 11.5px; font-weight: 600; color: var(--webstandort-ink-2); background: var(--webstandort-subtle); border-radius: 999px; padding: 2px 8px; }
.acct-tier-price { margin-left: auto; font-size: 15.5px; font-weight: 650; font-feature-settings: "tnum" 1; white-space: nowrap; }
.acct-tier-price small { font-size: 12.5px; font-weight: 500; color: var(--webstandort-muted); margin-left: 1px; }
.acct-tier-line { font-size: 13.5px; line-height: 1.4; color: var(--webstandort-ink-2); text-wrap: pretty; }
.acct-pay { margin: 0 0 8px; }
/* Phones: the new price and the binding button stay together at the bottom edge while the packages scroll. */
@media (max-width: 759px) {
  .acct-pay { position: sticky; bottom: 0; z-index: 1; margin: 0 -24px 8px; padding: 14px 24px calc(14px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--webstandort-line); box-shadow: 0 -10px 30px rgba(14, 19, 17, 0.06); }
}
.acct-pay-line { font-size: 15px; line-height: 1.5; color: var(--webstandort-ink); margin: 0 0 12px; text-wrap: pretty; }
.acct-pay-line .acct-num { font-weight: 650; }

/* Optional reason after a cancellation: one tap, then thanks. */
.acct-reasons { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 6px; }
.acct-reasons form { margin: 0; }
.acct-reasons button { appearance: none; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--webstandort-line-strong); background: #fff; font: 550 14px/1 var(--webstandort-font); color: var(--webstandort-ink); cursor: pointer; }
.acct-reasons button:hover { background: var(--webstandort-subtle); }
.acct-reasons button:focus-visible { outline: none; box-shadow: var(--webstandort-focus); }
.acct-section { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--webstandort-line); }
.acct-section h2 { font-size: 17px; font-weight: 650; letter-spacing: -0.01em; margin: 0 0 6px; }
.acct-section p { font-size: 14.5px; line-height: 1.45; color: var(--webstandort-ink-2); margin: 0 0 14px; text-wrap: pretty; }
.acct-section .webstandort-btn-soft { width: 100%; padding: 0 18px; }

/* The withdrawal form. */
.acct-form .webstandort-btn { margin-top: 4px; }
.acct-form .webstandort-field small { display: block; font-size: 13px; color: var(--webstandort-muted); margin-top: 6px; }
.acct-done-icon { width: 60px; height: 60px; border-radius: 50%; background: var(--webstandort-brand-tint); color: var(--webstandort-brand); display: grid; place-items: center; margin-bottom: 20px; }
.acct-done-icon svg { width: 26px; height: 26px; }
.acct-done-icon.is-mail { background: var(--webstandort-subtle); color: var(--webstandort-ink-2); }
/* A cancellation is confirmed quietly: no celebration green. */
.acct-done-icon.is-neutral { background: var(--webstandort-subtle); color: var(--webstandort-ink); }
/* One rhythm between a page's last button and the person row under it. */
.page-col > .webstandort-person, .acct-form + .webstandort-person, .page-col .webstandort-person { margin-top: 24px; }

@media (min-width: 420px) {
  .acct-pair { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 600px) {
  .acct-change .webstandort-btn { width: auto; padding: 0 28px; }
  .acct-actions { grid-template-columns: auto auto; justify-content: start; }
}
@media (min-width: 900px) {
  .acct-site img { height: 220px; }
}
.acct-text a { color: var(--webstandort-ink); font-weight: 600; text-underline-offset: 3px; }
