.hosting-balance-link {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 12px;
  max-width: 100%;
  padding: 9px 13px;
  border: 1px solid var(--graphite-hairline);
  border-radius: 11px;
  background: var(--graphite-stage);
  color: var(--graphite-muted);
  font-size: 13px;
  transition: background .2s, border-color .2s, color .2s;
}
.hosting-balance-link:hover { border-color: var(--graphite-line); background: var(--graphite-raised); color: var(--graphite-ink); }
.hosting-balance-link strong { color: var(--graphite-ink); font-size: 15px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
[data-hosting] .workspace-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}
[data-hosting] .price-offer {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: auto;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--graphite-hairline);
  border-radius: 19px;
  background: var(--graphite-stage);
  box-shadow: none;
  transition: border-color .2s;
}
[data-hosting] .price-offer.is-featured {
  border-color: var(--graphite-line);
  background: var(--graphite-panel);
}
[data-hosting] .price-offer:is(:hover, :focus-within) { border-color: #ffffff4a; }
[data-hosting] .price-offer-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
[data-hosting] .price-offer-name {
  color: var(--graphite-ink);
  font-family: Manrope, sans-serif;
  font-size: clamp(21px, 2.4vw, 29px);
  font-weight: 800;
  letter-spacing: -.04em;
}
[data-hosting] .price-offer-slots {
  padding: 6px 9px;
  border: 1px solid var(--graphite-hairline);
  border-radius: 7px;
  background: #ffffff08;
  color: var(--graphite-muted);
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}
[data-hosting] .price-offer > p {
  margin: 8px 0 24px;
  color: var(--graphite-muted);
  font-size: 13px;
  line-height: 1.5;
}
[data-hosting] .price-offer-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 9px;
  color: var(--graphite-muted);
  font-size: 13px;
}
[data-hosting] .price-offer-price strong {
  color: var(--graphite-ink);
  font-family: Manrope, sans-serif;
  font-size: clamp(37px, 4vw, 56px);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.06em;
  line-height: 1.1;
}
.price-capacity {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 28px;
  margin-top: 10px;
}
.price-capacity i {
  width: 23px;
  height: 6px;
  border-radius: 3px;
  background: #c1c5cb;
}
[data-hosting] .price-offer.is-featured .price-capacity i { background: #c5b9d1; }
[data-hosting] .price-offer ul {
  display: grid;
  flex: 1;
  gap: 10px;
  margin: 12px 0 0;
  padding: 16px 0 22px;
  border-top: 1px solid var(--graphite-hairline);
  list-style: none;
}
[data-hosting] .price-offer li { color: var(--graphite-muted); font-size: 13px; line-height: 1.5; }
[data-hosting] .price-offer li i { margin-inline-end: 6px; color: var(--graphite-accent); font-style: normal; }
[data-hosting] .price-offer-button {
  display: block;
  width: 100%;
  min-height: 43px;
  padding: 10px 12px;
  border: 1px solid var(--graphite-line);
  border-radius: 9px;
  background: var(--graphite-panel);
  color: var(--graphite-ink);
  font-size: 13px;
  font-weight: 750;
  text-align: center;
  transition: background .2s, border-color .2s;
}
[data-hosting] .price-offer-button:not(:disabled):hover { background: var(--graphite-raised); border-color: #ffffff4d; }
[data-hosting] .price-offer.is-featured .price-offer-button:not(:disabled) {
  border-color: var(--graphite-accent);
  background: var(--graphite-accent);
  color: var(--graphite-bg);
}
[data-hosting] .price-offer.is-featured .price-offer-button:not(:disabled):hover { background: var(--graphite-ink); }

.hosting-bookings { margin-top: clamp(26px, 4vw, 42px); }
[data-hosting].has-active-bookings .hosting-bookings { margin: 0 0 clamp(22px, 3vw, 34px); }
.hosting-bookings > h2 { margin-bottom: 14px; font-size: clamp(19px, 2vw, 24px); letter-spacing: -.035em; }
.hosting-flow-note {
  max-width: 77ch;
  margin: -4px 0 16px;
  color: var(--graphite-muted);
  font-size: 13px;
  line-height: 1.6;
}
.hosting-bookings [data-hosting-status]:not(:empty) {
  margin: 0;
  padding: 19px 22px;
  border: 1px dashed var(--graphite-line);
  border-radius: 13px;
}
.hosting-booking { margin-bottom: 14px; }
.hosting-booking-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.hosting-booking-head h3 { font-size: 17px; }
.hosting-booking-head p { margin-top: 6px; color: var(--graphite-muted); font-size: 13px; }
.hosting-booking ul { margin: 14px 0 0; padding: 0; list-style: none; }
.hosting-booking li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 12px;
  padding: 12px 0;
  border-top: 1px solid var(--graphite-hairline);
}
.hosting-bot-info { display: grid; flex: 1 1 160px; min-width: 0; gap: 4px; overflow-wrap: anywhere; }
.hosting-booking li small { color: var(--graphite-muted); font-size: 12px; }
.hosting-bot-info small:empty { display: none; }
.hosting-bot-info .hosting-revision { color: var(--graphite-muted); font-variant-numeric: tabular-nums; }
.hosting-bot-info .hosting-upgrade-note { color: var(--graphite-accent); }
.hosting-bot-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.hosting-bot-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid var(--graphite-hairline);
  border-radius: 20px;
  background: var(--graphite-panel);
  color: var(--graphite-muted);
  font-size: 12px;
}
.hosting-bot-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.hosting-bot-status.is-online { border-color: #87ae9940; background: #84a29017; color: #b7dac8; }
.hosting-bot-status.is-paused { border-color: #ffffff26; background: var(--graphite-raised); }
.hosting-bot-status:focus-visible { outline: 2px solid var(--graphite-accent); outline-offset: 3px; }
.hosting-lifecycle.is-stop { border: 1px solid #d5a39d42; background: #c4817815; color: #ecc3bd; }
.hosting-lifecycle.is-stop:hover:not(:disabled) { border-color: #d5a39d66; background: #c4817829; }
.hosting-lifecycle.is-start { border: 1px solid var(--graphite-line); background: var(--graphite-raised); color: var(--graphite-ink); }
.hosting-lifecycle.is-start:hover:not(:disabled) { border-color: #ffffff4d; background: #ffffff16; }
.bot-export-dialog.hosting-dialog {
  width: min(590px, calc(100vw - 32px));
  border-color: var(--graphite-line);
  background: var(--graphite-stage);
  color: var(--graphite-ink);
  overflow: auto;
}
.hosting-summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid var(--graphite-hairline);
  border-radius: 10px;
  background: var(--graphite-panel);
}
.hosting-summary span { color: var(--graphite-muted); font-variant-numeric: tabular-nums; }
.hosting-targets { display: grid; gap: 10px; margin: 15px 0 10px; }
.hosting-target {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  padding: 12px;
  border: 1px solid var(--graphite-hairline);
  border-radius: 10px;
  background: var(--graphite-bg);
}
.hosting-target .field { margin: 0; min-width: 0; }
.hosting-target button { justify-self: start; }
.hosting-target button[hidden] { display: none; }
.hosting-quote { margin-top: 15px; padding: 14px; border: 1px solid var(--graphite-hairline); border-radius: 12px; background: var(--graphite-bg); }
.hosting-quote > p:first-child { margin: 0; }
.hosting-quote-title { margin: 0 0 9px; font-size: 13px; font-weight: 750; }
.hosting-quote dl { margin: 0; }
.hosting-quote dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 5px 0; color: var(--graphite-muted); font-size: 13px; }
.hosting-quote dt { overflow-wrap: anywhere; }
.hosting-quote dd { flex: none; margin: 0; color: var(--graphite-ink); font-variant-numeric: tabular-nums; }
.hosting-quote dl > div.hosting-quote-total { margin-top: 7px; padding-top: 10px; border-top: 1px solid var(--graphite-hairline); color: var(--graphite-ink); font-weight: 750; }
.hosting-quote-summary, .hosting-quote-error { margin: 8px 0 0; color: var(--graphite-muted); font-size: 12px; line-height: 1.5; }
.hosting-quote-error { color: #ecc3bd; }
.hosting-dialog [data-hosting-top-up][hidden] { display: none; }

@media (max-width: 940px) and (min-width: 781px), (max-width: 560px) {
  [data-hosting] .workspace-plan-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 510px) {
  .hosting-target { grid-template-columns: minmax(0, 1fr); }
  .hosting-bot-actions { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .hosting-balance-link, [data-hosting] .price-offer, [data-hosting] .price-offer-button { transition: none; }
}
