@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/manrope-400.ttf") format("truetype");
}

.panel-language-switcher {
  position: relative;
  flex: 0 0 auto;
  font-size: 13px;
  line-height: 1.2;
}

.panel-language-switcher summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-soft);
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: 0.18s ease;
}

.panel-language-switcher summary::-webkit-details-marker {
  display: none;
}

.panel-language-switcher summary:hover,
.panel-language-switcher[open] summary {
  border-color: var(--blue);
  background: color-mix(in srgb, var(--surface-soft) 82%, var(--blue) 18%);
}

.panel-language-globe {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-size: 15px;
}

.panel-language-chevron {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.18s ease;
}

.panel-language-switcher[open] .panel-language-chevron {
  transform: rotate(225deg) translate(-1px, -1px);
}

.panel-language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 120;
  width: 220px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--panel);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.28);
}

.panel-language-option {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 9px 11px;
  border-radius: 9px;
  color: var(--text);
  text-decoration: none;
}

.panel-language-option > span:first-child {
  font-size: 22px;
}

.panel-language-option > span:last-child {
  display: grid;
  gap: 3px;
}

.panel-language-option b {
  font-size: 13px;
}

.panel-language-option small {
  color: var(--muted);
  font-size: 10px;
}

.panel-language-option.is-current,
.panel-language-option:hover {
  background: color-mix(in srgb, var(--panel) 78%, var(--blue) 22%);
}

.product-catalog-admin {
  display: grid;
  gap: 16px;
}

.product-catalog-groups {
  display: grid;
  gap: 12px;
}

.product-catalog-group {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--panel) 97%, var(--blue) 3%);
  overflow: hidden;
}

.product-catalog-group > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  cursor: pointer;
  color: var(--text);
  list-style: none;
}

.product-catalog-group > summary::-webkit-details-marker {
  display: none;
}

.product-catalog-group > summary::after {
  content: "⌄";
  color: var(--blue);
  font-size: 22px;
  line-height: 1;
  transition: transform .18s ease;
}

.product-catalog-group[open] > summary::after {
  transform: rotate(180deg);
}

.product-catalog-group > summary > span:first-child {
  display: grid;
  gap: 3px;
}

.product-catalog-group > summary small,
.product-catalog-group > summary > span:last-child {
  color: var(--muted);
  font-size: 12px;
}

.product-catalog-group > .product-catalog-admin {
  padding: 0 18px 18px;
}

.product-catalog-group:not([open]) > .product-catalog-admin {
  display: none;
}

.product-catalog-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: color-mix(in srgb, var(--panel) 94%, var(--blue) 6%);
}

.product-catalog-head,
.product-catalog-switches {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.product-catalog-head h3 {
  margin: 8px 0 2px;
}

.product-catalog-head small {
  color: var(--muted);
}

.product-catalog-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.product-catalog-fields label,
.product-catalog-switches label {
  min-width: 0;
}

.product-catalog-switches {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.product-catalog-switches button {
  margin-left: auto;
}

.mail-domain-grid {
  display: grid;
  gap: 18px;
  margin: 18px 0;
}

.mail-domain-card {
  display: grid;
  gap: 16px;
}

.mail-dns-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mailbox-summary {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--muted);
}

.mailbox-summary strong {
  color: var(--text);
  font-size: 24px;
}

.mailbox-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(360px, 1.2fr);
  gap: 16px;
  align-items: end;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.mailbox-row > div {
  display: grid;
  gap: 4px;
}

.mailbox-row small {
  color: var(--muted);
}

.mailbox-create-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.mail-dns-details {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--panel) 92%, var(--blue) 8%);
}

.mail-dns-details summary {
  cursor: pointer;
  font-weight: 800;
}

.mail-dns-details pre {
  margin: 10px 0 0;
  min-height: 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.mail-settings-help {
  margin-top: 18px;
}

@media (max-width: 1100px) {
  .product-catalog-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mailbox-create-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .product-catalog-fields { grid-template-columns: 1fr; }
  .product-catalog-head { align-items: flex-start; }
  .product-catalog-switches button { width: 100%; margin-left: 0; }
  .mailbox-row,
  .mailbox-create-form { grid-template-columns: 1fr; }
}

/* Hostingo AI site health center */
.health-page-head .eyebrow {
  display: block;
  color: var(--blue-deep);
}

.health-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.health-metric {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--panel) 94%, var(--blue) 6%);
  box-shadow: var(--shadow);
}

.health-metric > span,
.health-domain-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--blue-deep);
  background: color-mix(in srgb, var(--blue) 13%, var(--panel));
}

.health-metric svg,
.health-domain-icon svg,
.health-finding svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.health-metric div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.health-metric small,
.health-metric p {
  color: var(--muted);
}

.health-metric strong {
  font-size: 27px;
  line-height: 1.1;
}

.health-metric p {
  margin: 0;
  font-size: 11px;
}

.health-metric.tone-green > span { color: var(--ok); }
.health-metric.tone-amber > span { color: var(--warn); }
.health-metric.tone-red > span { color: #f06b79; }
.health-metric.tone-violet > span { color: #a88bff; }

.health-list {
  display: grid;
  gap: 16px;
}

.health-controls {
  display: grid;
  gap: 14px;
  margin: 18px 0;
  padding: 18px;
}

.health-filter-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(4, minmax(135px, .8fr)) minmax(138px, auto);
  gap: 12px;
  align-items: end;
}

.health-controls.is-admin .health-filter-grid {
  grid-template-columns: minmax(180px, 1.2fr) repeat(5, minmax(120px, .75fr)) minmax(130px, auto);
}

.service-ownership-filters {
  margin: 18px 0;
  grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(150px, 1fr)) auto;
}

.service-ownership-form { display: grid; gap: 16px; }
.service-ownership-actions {
  display: flex;
  align-items: end;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.service-ownership-actions label { min-width: min(100%, 360px); }
.service-ownership-actions select { margin-top: 6px; }

@media (max-width: 1000px) {
  .service-ownership-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .service-ownership-filters { grid-template-columns: 1fr; }
  .service-ownership-actions { align-items: stretch; flex-direction: column; }
}

.health-filter-grid label {
  min-width: 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .02em;
}

.health-filter-grid input,
.health-filter-grid select {
  min-width: 0;
  height: 42px;
}

.health-filter-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.health-filter-actions > * {
  flex: 1 1 auto;
  min-height: 42px;
}

.health-filter-result {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.health-filter-result strong {
  color: var(--text);
}

.health-pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 18px 0 28px;
  color: var(--muted);
  font-size: 12px;
}

.health-filter-empty {
  min-height: 170px;
  display: grid;
  place-content: center;
  gap: 7px;
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  color: var(--muted);
  background: color-mix(in srgb, var(--panel) 94%, var(--blue) 6%);
  text-align: center;
}

.health-filter-empty strong {
  color: var(--text);
  font-size: 17px;
}

.health-service-card {
  overflow: hidden;
}

.health-service-card > header,
.health-service-card > header > div,
.health-service-card > footer,
.service-health-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.health-service-card > header h2 {
  margin: 0 0 3px;
  font-size: 19px;
  overflow-wrap: anywhere;
}

.health-service-card > header p {
  font-size: 12px;
}

.health-card-body {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 24px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.health-score {
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 16px;
  border-radius: 13px;
  background: color-mix(in srgb, var(--panel) 82%, var(--blue) 18%);
}

.health-score strong {
  font-size: 38px;
  line-height: 1;
}

.health-score span,
.health-score small {
  color: var(--muted);
  font-size: 11px;
}

.health-findings {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.health-finding {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: color-mix(in srgb, var(--panel) 96%, var(--blue) 4%);
}

.health-finding > span {
  color: var(--blue-deep);
}

.health-finding.severity-critical > span { color: #f06b79; }
.health-finding.severity-warning > span { color: var(--warn); }
.health-finding.severity-ok > span { color: var(--ok); }

.health-finding div {
  display: grid;
  gap: 3px;
}

.health-finding small {
  color: var(--muted);
  line-height: 1.45;
}

.admin-health-details {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.admin-health-details > summary {
  color: var(--blue);
  cursor: pointer;
  font-weight: 700;
  list-style-position: inside;
}
.admin-health-details .health-findings {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
}
@media (max-width: 760px) {
  .admin-health-details .health-findings { grid-template-columns: 1fr; }
}

.health-service-card > footer {
  justify-content: flex-end;
  margin-top: 16px;
}

.health-service-card > footer:empty {
  display: none;
}

.health-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  padding: 7px 11px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
}

.health-badge.healthy { color: var(--ok); background: color-mix(in srgb, var(--ok) 10%, transparent); }
.health-badge.attention { color: var(--warn); background: color-mix(in srgb, var(--warn) 10%, transparent); }
.health-badge.critical { color: #f06b79; background: color-mix(in srgb, #f06b79 10%, transparent); }
.health-badge.pending { color: var(--muted); background: color-mix(in srgb, var(--muted) 9%, transparent); }

.admin-health-list {
  display: grid;
  gap: 0;
}

.admin-health-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) minmax(180px, 1fr) 150px 170px auto;
  gap: 16px;
  align-items: center;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.admin-health-row > div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.admin-health-row span:not(.health-badge) {
  color: var(--muted);
  font-size: 11px;
}

.admin-health-row strong {
  overflow-wrap: anywhere;
}

.service-health-preview {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.service-health-actions {
  justify-content: flex-end;
}

@media (max-width: 900px) {
  .health-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-health-row { grid-template-columns: 1fr 1fr; }
  .admin-health-row form { justify-self: start; }
  .health-filter-grid,
  .health-controls.is-admin .health-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .health-search-field { grid-column: 1 / -1; }
  .health-filter-actions { align-self: end; }
}

@media (max-width: 620px) {
  .health-summary,
  .health-card-body,
  .admin-health-row { grid-template-columns: 1fr; }
  .health-filter-grid { grid-template-columns: 1fr; }
  .health-search-field { grid-column: auto; }
  .health-pagination-bar { align-items: flex-start; flex-direction: column; }
  .health-pagination-bar .pager { width: 100%; overflow-x: auto; justify-content: flex-start; }
  .health-service-card > header,
  .health-service-card > footer,
  .service-health-actions { align-items: flex-start; flex-direction: column; }
}

/* Hugo assistant and infrastructure control center */
.admin-mode-badge {
  padding: 6px 9px;
  border: 1px solid #b9d3ff;
  border-radius: 999px;
  color: #0a5ed7;
  background: #eef5ff;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hugo-assistant-card {
  position: relative;
  min-height: 210px;
  margin: 18px 0;
  padding: 30px 32px 30px 220px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  overflow: hidden;
  border: 1px solid #cfe0f7;
  border-radius: 18px;
  background: linear-gradient(120deg, #eef6ff 0%, #f8fbff 60%, #e8f3ff 100%);
  box-shadow: var(--shadow);
}

.hugo-avatar {
  position: absolute;
  left: 24px;
  top: 50%;
  width: 176px;
  height: 176px;
  transform: translateY(-50%);
  overflow: hidden;
}

.hugo-avatar img {
  position: absolute;
  width: 955px;
  max-width: none;
  left: -718px;
  top: -42px;
}

.hugo-avatar hugo-assistant {
  width: 100%;
  height: 100%;
  min-height: 176px;
}

.hugo-assistant-card[data-hugo-state="scan"] { border-color: #9fc8ff; background: linear-gradient(120deg, #edf6ff 0%, #f8fbff 58%, #e5f1ff 100%); }
.hugo-assistant-card[data-hugo-state="success"] { border-color: #b8e2ca; background: linear-gradient(120deg, #edf9f2 0%, #fbfefd 58%, #e7f7ee 100%); }
.hugo-assistant-card[data-hugo-state="alert"] { border-color: #efc7c4; background: linear-gradient(120deg, #fff3f2 0%, #fffafa 58%, #fcecea 100%); }
[data-theme="dark"] .hugo-assistant-card { border-color: #294c75; background: linear-gradient(120deg, #102a4b 0%, #10233d 60%, #123154 100%); }
[data-theme="dark"] .hugo-assistant-card[data-hugo-state="success"] { border-color: #255f48; background: linear-gradient(120deg, #102e28, #10233d 62%, #12372c); }
[data-theme="dark"] .hugo-assistant-card[data-hugo-state="alert"] { border-color: #70413f; background: linear-gradient(120deg, #382326, #10233d 62%, #402729); }
html[data-theme="dark"] .hugo-assistant-copy h2 { color: #f7fbff; }
html[data-theme="dark"] .hugo-assistant-copy p:last-child { color: #bfd0e6; }
html[data-theme="dark"] .hugo-assistant-copy .eyebrow { color: #79c1ff; }

.hugo-assistant-copy h2 { margin: 2px 0 8px; font-size: 25px; }
.hugo-assistant-copy p:last-child { max-width: 610px; margin: 0; color: var(--muted); }
.hugo-assistant-actions { display: grid; gap: 9px; min-width: 190px; }
.hugo-assistant-actions .link-button { justify-content: center; }

.hugo-capability-section { margin: 20px 0 24px; }
.hugo-capability-section > .section-heading { align-items: end; margin-bottom: 13px; }
.hugo-capability-section > .section-heading h2 { margin: 2px 0 5px; }
.hugo-capability-section > .section-heading p:last-child { max-width: 760px; margin: 0; color: var(--muted); }
.hugo-capability-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.hugo-capability-card { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 12px; align-content: start; padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); box-shadow: var(--shadow); }
.hugo-capability-card > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: #0b68e8; background: color-mix(in srgb, var(--blue) 12%, var(--panel)); }
.hugo-capability-card > span svg { width: 21px; height: 21px; }
.hugo-capability-card h3 { margin: 1px 0 5px; font-size: 15px; }
.hugo-capability-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.hugo-capability-card > div:last-child { grid-column: 1 / -1; display: flex; gap: 12px; padding-top: 4px; border-top: 1px solid var(--line); }
.hugo-capability-card a,
.hugo-capability-card button { padding: 0; border: 0; color: var(--blue-deep); background: none; font: inherit; font-size: 11px; font-weight: 850; cursor: pointer; text-decoration: none; }
.hugo-capability-card button:hover,
.hugo-capability-card a:hover { color: var(--blue); text-decoration: underline; }
html[data-theme="dark"] .hugo-capability-card { background: #102c50; border-color: #294c75; }
html[data-theme="dark"] .hugo-capability-card > span { color: #72b7ff; background: #173c67; }

.customer-server-grid { display: grid; gap: 16px; }
.customer-server-card {
  display: grid;
  grid-template-columns: 54px minmax(220px, 1fr) minmax(420px, 1.4fr) auto;
  gap: 20px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.customer-server-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 14px; color: #0b64e8; background: #eaf3ff; }
.customer-server-icon svg { width: 26px; height: 26px; }
.customer-server-main h2 { margin: 3px 0; font-size: 19px; }
.customer-server-main p { margin: 0; color: var(--muted); font-size: 13px; }
.provider-label { color: #0b66ea; font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.customer-server-card dl { display: grid; grid-template-columns: repeat(4, minmax(90px, 1fr)); gap: 12px; margin: 0; }
.customer-server-card dl div { min-width: 0; }
.customer-server-card dt { color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.customer-server-card dd { margin: 4px 0 0; font-size: 13px; font-weight: 750; overflow-wrap: anywhere; }
.customer-server-links { display: grid; gap: 9px; min-width: 210px; }
.customer-server-links > .link-button { justify-content: center; }
.customer-server-actions, .customer-server-actions form { display: flex; flex-wrap: wrap; gap: 7px; }
.customer-server-actions form { margin: 0; }
.customer-server-actions button:disabled { opacity: .45; cursor: not-allowed; }
.server-access-panel { display: grid; gap: 16px; max-width: 820px; }
.server-access-panel > div { display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 15px; border-radius: 11px; background: var(--bg-soft); }
.server-access-panel > div > span { color: var(--muted); font-size: 12px; font-weight: 800; }
.server-access-panel code { overflow-wrap: anywhere; user-select: all; }
.server-coming-soon { min-height: 270px; display: grid; grid-template-columns: minmax(0, 1fr) 180px; align-items: center; background: linear-gradient(135deg, #071a38, #0b397a); color: #fff; }
.server-coming-soon > div { max-width: 650px; }
.server-coming-soon p:not(.eyebrow) { color: #c6d8f1; }
.server-coming-soon > span { display: grid; place-items: center; width: 150px; height: 150px; border-radius: 32px; color: #72b7ff; background: rgba(255,255,255,.08); }
.server-coming-soon svg { width: 72px; height: 72px; }
.server-guardian { display: grid !important; place-items: center; align-self: stretch; max-width: none !important; min-height: 230px; padding: 10px 0; }
.server-guardian owl-guardian { display: block; width: 190px; height: 190px; }
.server-guardian > span { margin-top: -16px; color: #9ec7f2; font-size: 11px; font-weight: 750; text-align: center; }

.infrastructure-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.provider-overview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 18px 0; }
.provider-overview-card { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); box-shadow: var(--shadow); }
.provider-overview-card > div { display: flex; gap: 14px; align-items: center; }
.provider-overview-card h2 { margin: 0; }
.provider-overview-card p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.provider-logo { width: 46px; height: 46px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 13px; color: #fff; font-size: 22px; font-weight: 900; }
.provider-logo.automated { background: linear-gradient(135deg, #1475ee, #0c4fbf); }
.provider-logo.managed { background: linear-gradient(135deg, #082351, #1268ee); }
.provider-overview-card dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(105px, 1fr)); gap: 12px; margin: 22px 0 0; }
.provider-overview-card dl div { padding: 12px; border-radius: 10px; background: var(--bg-soft); }
.provider-overview-card dt { color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.provider-overview-card dd { margin: 5px 0 0; font-weight: 800; }
.infrastructure-service-list { display: grid; gap: 14px; }
.infrastructure-service-card { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.infrastructure-service-summary { display: flex; justify-content: space-between; gap: 18px; align-items: start; }
.infrastructure-service-summary h3 { margin: 3px 0; }
.infrastructure-service-summary p { margin: 0; color: var(--muted); font-size: 13px; }
.infrastructure-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 18px 0; }
.infrastructure-metrics span { padding: 11px 12px; border-radius: 9px; background: var(--bg-soft); }
.infrastructure-metrics small, .infrastructure-metrics strong { display: block; }
.infrastructure-metrics small { color: var(--muted); font-size: 10px; }
.infrastructure-metrics strong { margin-top: 4px; font-size: 13px; }
.resource-health-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.resource-health-card { padding: 15px; border: 1px solid var(--line); border-radius: 11px; background: var(--bg-soft); }
.resource-health-card > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.resource-health-card span { color: var(--muted); font-size: 12px; font-weight: 800; }
.resource-health-card strong { color: var(--text); font-size: 20px; }
.resource-health-card small { display: block; margin-top: 9px; color: var(--muted); line-height: 1.45; }
.resource-health-track { height: 7px; margin-top: 12px; overflow: hidden; border-radius: 999px; background: var(--line); }
.resource-health-track span { height: 100%; display: block; border-radius: inherit; background: #1ca65c; }
.resource-health-card.warning .resource-health-track span { background: #d89518; }
.service-addons-panel { margin-top: 18px; }
.service-addon-grid, .resource-addon-admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.service-addon-card, .resource-addon-admin { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft); }
.service-addon-card > div, .resource-addon-admin > div { display: grid; gap: 4px; }
.service-addon-card span, .resource-addon-admin small { color: var(--muted); }
.resource-addon-admin > span:first-of-type { color: var(--text); font-weight: 800; }
.catalog-margin-floor { display: flex; justify-content: space-between; gap: 12px; margin: 10px 0 4px; padding: 10px 12px; border-radius: 9px; font-size: 12px; }
.catalog-margin-floor span { color: var(--muted); }
.catalog-margin-floor.is-safe { background: color-mix(in srgb, #16a164 12%, var(--bg-soft)); border: 1px solid color-mix(in srgb, #16a164 35%, var(--line)); }
.catalog-margin-floor.is-safe strong { color: #138657; }
.catalog-margin-floor.is-risk { background: color-mix(in srgb, #d89518 13%, var(--bg-soft)); border: 1px solid color-mix(in srgb, #d89518 42%, var(--line)); }
.catalog-margin-floor.is-risk strong { color: #b36d00; }
.catalog-margin-floor.is-unknown { background: var(--bg-soft); border: 1px solid var(--line); }
.resource-health-card.critical .resource-health-track span { background: #d84551; }

.infrastructure-load-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}
.infrastructure-load-table { margin-top: 18px; }
.infrastructure-load-table table { min-width: 1040px; }
.infrastructure-load-table td strong { color: var(--text); }
.infrastructure-load-table td .muted { font-size: 12px; }
.system-load-section {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.system-load-section h3 { margin: 0 0 4px; }
.system-load-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.system-load-grid article {
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--bg-soft);
}
.system-load-grid span,
.system-load-grid strong,
.system-load-grid small { display: block; }
.system-load-grid span {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.system-load-grid strong {
  margin-top: 5px;
  color: var(--text);
  font-size: 19px;
}
.system-load-grid small {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.4;
}

@media (max-width: 1050px) {
  .system-load-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .infrastructure-load-actions { justify-content: flex-start; }
  .system-load-grid { grid-template-columns: 1fr; }
}
.resource-health-footnote { margin: 14px 0 0; color: var(--muted); font-size: 12px; }
.profit { color: var(--ok); }
.loss { color: #b33232; }
.infrastructure-edit-form { display: grid; grid-template-columns: 1.3fr .8fr .8fr .9fr .8fr .8fr; gap: 10px; align-items: end; }
.infrastructure-edit-form label { display: grid; gap: 5px; color: var(--muted); font-size: 10px; font-weight: 800; }
.infrastructure-edit-form input, .infrastructure-edit-form select { min-width: 0; height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--text); }
.infrastructure-edit-form .wide { grid-column: 1 / -2; }
.instance-actions { display: flex; gap: 6px; }
.instance-actions .danger { color: #aa2929; border-color: #e7baba; }
.instance-actions button:disabled { opacity: .45; cursor: not-allowed; }

@media (max-width: 1050px) {
  .hugo-assistant-card { grid-template-columns: 1fr; }
  .hugo-capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .customer-server-card { grid-template-columns: 54px 1fr; }
  .customer-server-card dl { grid-column: 1 / -1; }
  .infrastructure-edit-form { grid-template-columns: repeat(3, 1fr); }
  .infrastructure-edit-form .wide { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .service-addon-grid,
  .resource-addon-admin-grid {
    grid-template-columns: 1fr;
  }

  .resource-addon-admin {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .catalog-margin-floor {
    flex-direction: column;
    gap: 4px;
  }

  .admin-mode-badge { display: none; }
  .hugo-assistant-card { padding: 210px 20px 24px; }
  .hugo-avatar { left: 50%; top: 18px; transform: translateX(-50%); }
  .hugo-assistant-actions { width: 100%; }
  .hugo-capability-grid { grid-template-columns: 1fr; }
  .customer-server-card { grid-template-columns: 44px 1fr; padding: 18px; }
  .customer-server-card dl { grid-template-columns: repeat(2, 1fr); }
  .customer-server-links { grid-column: 1 / -1; }
  .server-access-panel > div { grid-template-columns: 1fr; }
  .server-coming-soon { grid-template-columns: 1fr; }
  .server-coming-soon > span { display: none; }
  .server-guardian { min-height: 210px; order: -1; }
  .server-guardian owl-guardian { width: 170px; height: 170px; }
  .provider-overview-grid, .infrastructure-stats, .resource-health-grid { grid-template-columns: 1fr 1fr; }
  .infrastructure-metrics, .infrastructure-edit-form { grid-template-columns: 1fr 1fr; }
  .infrastructure-edit-form .wide { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .provider-overview-grid, .infrastructure-stats, .infrastructure-metrics, .infrastructure-edit-form, .resource-health-grid { grid-template-columns: 1fr; }
  .provider-overview-card dl { grid-template-columns: 1fr; }
}

.two-col {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.25fr);
  gap: 18px;
  align-items: start;
}

.stack-form {
  display: grid;
  gap: 14px;
}

.stack-form label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.stack-form input {
  width: 100%;
}

.stack-form small {
  color: var(--muted);
  font-weight: 500;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.notice.success {
  border-color: #a8dfba;
  background: #effbf2;
  color: #176b35;
}

.notice.error {
  border-color: #efb3b3;
  background: #fff1f1;
  color: #9d2424;
}

@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/manrope-500.ttf") format("truetype");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/manrope-600.ttf") format("truetype");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/manrope-700.ttf") format("truetype");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/manrope-800.ttf") format("truetype");
}

:root {
  --bg: #f4f7fb;
  --bg-soft: #eef4fb;
  --text: #07111f;
  --muted: #65748b;
  --line: #dce5f2;
  --blue: #1268ff;
  --blue-deep: #0758dd;
  --cyan: #73d8ff;
  --dark: #020814;
  --panel: #ffffff;
  --warn: #a76310;
  --ok: #138a47;
  --shadow: 0 16px 36px rgba(8, 22, 44, 0.07);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d2749;
  --bg-soft: #123259;
  --text: #f5f8fd;
  --muted: #bdcce0;
  --line: #365a7f;
  --blue: #2382ff;
  --blue-deep: #86c2ff;
  --cyan: #73d8ff;
  --dark: #081a33;
  --panel: #16385f;
  --warn: #f2b45f;
  --ok: #62d99a;
  --shadow: 0 18px 44px rgba(0, 10, 28, 0.22);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "kern" 1, "liga" 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  color: var(--text);
  background:
    linear-gradient(180deg, #f8fbff 0, var(--bg) 260px),
    var(--bg);
  overflow-x: hidden;
}

html[data-theme="dark"] body {
  background:
    radial-gradient(circle at 82% 4%, rgba(38, 124, 215, 0.23), transparent 34%),
    linear-gradient(180deg, #12345d 0, var(--bg) 340px),
    var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

main {
  width: calc(100% - 40px);
  max-width: 1760px;
  margin: 28px auto 64px;
  padding: 0;
}

.topbar {
  min-height: 82px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 26px;
  position: sticky;
  top: 0;
  z-index: 100;
  color: var(--text);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(20, 44, 84, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  line-height: 1;
  white-space: nowrap;
  flex: 0 0 auto;
}

.brand-logo {
  width: auto;
  height: 46px;
  max-width: 196px;
  display: block;
  object-fit: contain;
}

.brand-logo-on-dark {
  display: none;
}

.brand.big .brand-logo {
  height: 60px;
  max-width: 230px;
}

body[data-brand="hostingo"] .brand-logo {
  height: 52px;
  max-width: 230px;
}

body[data-brand="hostingo"] .brand.big .brand-logo {
  height: 64px;
  max-width: 278px;
}

.topbar nav {
  display: flex;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.topbar nav a {
  color: #526177;
  border-radius: 8px;
  padding: 10px 12px;
  font-weight: 820;
  font-size: 14px;
  line-height: 1;
  transition: color 160ms ease, background 160ms ease;
}

.topbar nav a:hover {
  color: var(--blue-deep);
  background: #edf3ff;
}

.topbar-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
}

.topbar-actions form {
  margin: 0;
}

.user-chip {
  max-width: 210px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #526177;
  background: #f8fafc;
  font-size: 12px;
  font-weight: 750;
}

.view-mode-form {
  margin: 0;
}

.view-mode-button {
  min-height: 36px;
  padding: 0 13px;
  color: var(--blue-deep);
  background: #edf3ff;
  border: 1px solid #c9dbfb;
  font-size: 12px;
}

.view-mode-button.preview {
  color: #052e16;
  background: #bbf7d0;
  border-color: #86efac;
}

.customer-preview-strip {
  min-height: 46px;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #14532d;
  background: #dcfce7;
  border-bottom: 1px solid #86efac;
  font-size: 13px;
}

.customer-preview-strip strong {
  color: #052e16;
}

button,
.link-button {
  border: 0;
  border-radius: 8px;
  min-height: 42px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}

button:focus-visible,
.link-button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(102, 170, 255, 0.5);
  outline-offset: 2px;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  box-shadow: none;
}

.primary {
  color: #fff;
  background: linear-gradient(135deg, #1673ff, var(--blue-deep));
  box-shadow: 0 14px 28px rgba(18, 104, 255, 0.2);
}

.ghost {
  color: var(--blue-deep);
  background: #edf3ff;
  border: 1px solid #cbd9ef;
}

.theme-toggle {
  width: 42px;
  min-width: 42px;
  min-height: 42px;
  padding: 0;
  color: #34445c;
  background: #f7f9fc;
  border: 1px solid #d8e1ee;
  box-shadow: 0 5px 14px rgba(20, 44, 84, 0.05);
}

.theme-toggle:hover {
  color: var(--blue-deep);
  background: #edf3ff;
  border-color: #bfd2f1;
}

.theme-icon {
  font-size: 19px;
  line-height: 1;
}

.theme-icon-dark {
  display: none;
}

.ghost.light {
  color: var(--blue);
  background: #eef4ff;
  border-color: #cfe0f7;
}

.compact {
  min-height: 34px;
  padding: 0 12px;
  font-size: 13px;
}

.notice {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  font-weight: 850;
}

.notice.ok {
  color: var(--ok);
  background: #edf9f2;
  border-color: #bde8ce;
}

.notice.warn,
.auth-notice.warn {
  color: #80500c;
  background: #fff7e4;
  border-color: #efd59a;
}

.verification-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.verification-notice form {
  flex: 0 0 auto;
}

.page-head,
.hero-panel,
.panel,
.stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.page-head {
  padding: 26px 28px;
  margin-bottom: 20px;
}

.page-head-actions,
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.panel-heading {
  margin-bottom: 8px;
}

.panel-heading a,
.secondary-link,
.auth-row a,
.auth-switch a {
  color: var(--blue-deep);
  font-weight: 850;
}

.page-head h1,
.hero-panel h1,
.panel h2 {
  margin: 0 0 8px;
  letter-spacing: 0;
}

.page-head p,
.hero-panel p,
.panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.hero-panel {
  padding: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  color: #fff;
  background: linear-gradient(135deg, #06101f, #0b1c34 58%, #0a4bb6);
  border-color: rgba(18, 104, 255, 0.28);
}

.hero-panel h1 {
  font-size: 42px;
  line-height: 1.04;
}

.account-hero h1 {
  font-size: 38px;
}

.hero-panel p {
  color: rgba(255, 255, 255, 0.76);
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 950;
}

.stats {
  margin: 20px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat {
  padding: 21px;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.stat strong {
  display: block;
  margin-top: 8px;
  font-size: 29px;
  line-height: 1.05;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid.two {
  grid-template-columns: 0.85fr 1.15fr;
}

.order-flow {
  align-items: start;
}

.order-page-head {
  display: flex;
  align-items: center;
  gap: 18px;
}

.order-page-head h1 {
  margin-bottom: 5px;
}

.order-assistant-open {
  margin-left: auto;
  flex: 0 0 auto;
}

.order-assistant-open > span {
  display: inline-flex;
}

.order-assistant-dialog {
  width: min(760px, calc(100vw - 32px));
  max-height: min(820px, calc(100vh - 32px));
  padding: 0;
  overflow: auto;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: 0 30px 90px rgba(8, 22, 44, 0.28);
}

.order-assistant-dialog::backdrop {
  background: rgba(4, 15, 34, 0.58);
  backdrop-filter: blur(4px);
}

.order-assistant-head,
.order-assistant-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
}

.order-assistant-head {
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #edf5ff, #f9fbff);
}

.order-assistant-head > div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.order-assistant-head p,
.order-assistant-head h2 {
  margin: 0;
}

.order-assistant-head p {
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.order-assistant-head h2 {
  margin-top: 3px;
  font-size: 23px;
}

.order-assistant-icon,
.order-assistant-result-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: var(--blue);
}

.order-assistant-close {
  width: 38px;
  height: 38px;
  padding: 0;
  color: var(--muted);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: none;
  font-size: 22px;
}

.order-assistant-body {
  display: grid;
  gap: 20px;
  padding: 24px;
}

.order-assistant-freeform {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.order-assistant-freeform textarea {
  min-height: 88px;
  resize: vertical;
  font-weight: 500;
}

.order-assistant-freeform small,
.order-assistant-choice-grid small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.order-assistant-options {
  min-width: 0;
  padding: 0;
  border: 0;
}

.order-assistant-options legend {
  margin-bottom: 9px;
  color: inherit;
  font-size: 13px;
  font-weight: 850;
}

.order-assistant-dialog label {
  color: inherit;
}

.order-assistant-choice-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.order-assistant-choice-grid label,
.compact-options label {
  cursor: pointer;
}

.order-assistant-choice-grid input,
.compact-options input {
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.order-assistant-choice-grid label > span,
.compact-options label > span {
  min-height: 74px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  font-size: 12px;
  font-weight: 850;
  text-align: center;
}

.order-assistant-choice-grid input:checked + span,
.compact-options input:checked + span {
  color: var(--blue-deep);
  border-color: var(--blue);
  background: #eef5ff;
  box-shadow: inset 0 0 0 1px var(--blue);
}

.order-assistant-question-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.compact-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.compact-options legend {
  grid-column: 1 / -1;
}

.compact-options label > span {
  min-height: 48px;
  padding: 9px;
}

.order-assistant-result {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 17px;
  border: 1px solid #9fc5ff;
  border-radius: 10px;
  background: #eff6ff;
}

.order-assistant-result[hidden] {
  display: none;
}

.order-assistant-result small,
.order-assistant-result h3,
.order-assistant-result p {
  margin: 0;
}

.order-assistant-result small {
  color: var(--blue);
  font-weight: 850;
}

.order-assistant-result h3 {
  margin-top: 2px;
  font-size: 19px;
}

.order-assistant-result p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.order-assistant-actions {
  position: sticky;
  bottom: 0;
  z-index: 2;
  justify-content: flex-end;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}

.order-head-icon {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--blue-deep);
  background: #eaf2ff;
  font-size: 30px;
  font-weight: 500;
}

.order-layout {
  margin-bottom: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 28px;
  align-items: start;
}

.order-builder {
  min-width: 0;
  display: grid;
  gap: 30px;
}

.order-builder-section {
  min-width: 0;
  padding: 2px 0 30px;
  border-bottom: 1px solid var(--line);
}

.order-builder-section:last-child {
  border-bottom: 0;
}

.order-section-heading {
  margin-bottom: 17px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.order-section-heading > span {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.order-section-heading h2 {
  margin: 1px 0 3px;
  font-size: 20px;
}

.order-section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.order-service-tabs {
  margin-bottom: 12px;
  padding: 4px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eaf0f8;
}

.order-service-tab {
  min-width: 0;
  min-height: 48px;
  padding: 0 10px;
  color: #526177;
  background: transparent;
  border: 1px solid transparent;
  box-shadow: none;
  font-size: 13px;
}

.order-service-tab > span {
  color: #7f9bc4;
  font-size: 20px;
}

.order-service-tab:hover {
  color: var(--blue-deep);
  background: rgba(255, 255, 255, 0.72);
}

.order-service-tab.is-selected {
  color: var(--blue-deep);
  background: #fff;
  border-color: #8cb8ff;
  box-shadow: 0 5px 14px rgba(18, 104, 255, 0.09);
}

.order-service-tab.is-selected > span {
  color: var(--blue);
}

.order-service-tab > span {
  width: 25px;
  height: 25px;
  padding: 3px;
  display: inline-grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.68);
}

.order-service-tab > span img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1) brightness(.36) contrast(1.1);
  opacity: .86;
}

.order-service-tab.is-selected > span {
  background: #eaf3ff;
}

.order-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.order-plan-card {
  min-width: 0;
  min-height: 344px;
  padding: 19px 17px 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(8, 22, 44, 0.045);
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.order-plan-card[hidden] {
  display: none !important;
}

.order-plan-card:hover {
  border-color: #aac9f9;
  transform: translateY(-2px);
}

.order-plan-card.is-selected {
  border-color: var(--blue);
  box-shadow: 0 10px 26px rgba(18, 104, 255, 0.12), inset 0 0 0 1px var(--blue);
}

.order-plan-card > input {
  width: 1px;
  height: 1px;
  min-height: 0;
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.plan-popular {
  position: absolute;
  top: -11px;
  left: 15px;
  padding: 4px 8px;
  border-radius: 6px;
  color: #fff;
  background: var(--blue);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.plan-selected-mark {
  width: 22px;
  height: 22px;
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: transparent;
  background: #fff;
  font-size: 12px;
}

.order-plan-card.is-selected .plan-selected-mark {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

.plan-card-heading {
  padding-right: 24px;
}

.plan-card-heading h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.plan-card-heading p {
  min-height: 40px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.plan-card-price {
  margin: 16px 0 14px;
  min-height: 86px;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: baseline;
  gap: 4px 5px;
}

.plan-card-price > s {
  flex-basis: 100%;
  color: var(--muted);
  font-size: 11px;
}

.plan-card-price > div {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.plan-card-price > small {
  flex-basis: 100%;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.plan-card-price strong {
  font-size: 23px;
  line-height: 1.1;
}

.plan-card-price span {
  color: var(--muted);
  font-size: 11px;
}

.order-billing-period {
  margin: 0 0 18px;
  padding: 16px;
  display: grid;
  grid-template-columns: minmax(180px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faff;
}

.order-billing-period[hidden] {
  display: none !important;
}

.order-billing-period h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.order-billing-period p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.order-billing-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.order-billing-option {
  min-width: 0;
  min-height: 58px;
  padding: 9px 8px;
  position: relative;
  display: grid;
  place-content: center;
  gap: 3px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
}

.order-billing-option input {
  width: 1px;
  height: 1px;
  min-height: 0;
  position: absolute;
  opacity: 0;
}

.order-billing-option span {
  color: #314057;
  font-size: 11px;
  font-weight: 850;
}

.order-billing-option strong,
.order-billing-option small {
  color: var(--muted);
  font-size: 10px;
}

.order-billing-option strong {
  color: var(--ok);
}

.order-billing-option .order-ai-included {
  display: block;
  margin-top: 4px;
  color: var(--blue);
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
  line-height: 1.2;
}

.order-billing-option.is-selected {
  border-color: var(--blue);
  background: #edf4ff;
  box-shadow: inset 0 0 0 1px var(--blue);
}

.order-plan-card ul {
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
}

.order-plan-card li {
  display: flex;
  gap: 7px;
  color: #334258;
  font-size: 12px;
  line-height: 1.35;
}

.order-plan-card li > span {
  color: var(--blue);
  font-weight: 900;
}

.plan-card-action {
  min-height: 38px;
  margin-top: auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: #314057;
  font-size: 12px;
  font-weight: 900;
}

.order-plan-card.is-selected .plan-card-action {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

.domain-action-switch {
  width: fit-content;
  margin-bottom: 15px;
  padding: 3px;
  display: flex;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eaf0f8;
}

.domain-action-switch label {
  cursor: pointer;
}

.domain-action-switch input,
.payment-option > input {
  width: 1px;
  height: 1px;
  min-height: 0;
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.domain-action-switch label > span {
  min-height: 36px;
  padding: 0 13px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.domain-action-switch input:checked + span {
  color: var(--blue-deep);
  background: #fff;
  box-shadow: 0 4px 12px rgba(8, 22, 44, 0.07);
}

.order-field {
  display: grid;
  gap: 7px;
  color: #263449;
  font-size: 13px;
  font-weight: 850;
}

.field-description {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.order-domain-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
}

.domain-status {
  min-height: 68px;
  margin-top: 13px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.domain-status-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #65748b;
  background: #e6ecf4;
  font-size: 18px;
  font-weight: 950;
}

.domain-status-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.domain-status-copy strong,
.domain-status-copy span {
  overflow-wrap: anywhere;
}

.domain-status-copy span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.domain-status-price {
  color: inherit;
  font-size: 16px;
  white-space: nowrap;
}

.domain-status-success {
  color: #10743d;
  border-color: #a9dfbd;
  background: #effbf3;
}

.domain-status-success .domain-status-icon {
  color: #fff;
  background: #20a45a;
}

.domain-status-error {
  color: #ad2a35;
  border-color: #efbec3;
  background: #fff2f3;
}

.domain-status-error .domain-status-icon {
  color: #fff;
  background: #d54450;
}

.domain-status-warning {
  color: #80500c;
  border-color: #efd59a;
  background: #fff8e9;
}

.domain-status-warning .domain-status-icon {
  color: #fff;
  background: #d79720;
}

.domain-status-checking {
  color: var(--blue-deep);
  border-color: #b8d0f5;
  background: #f1f6ff;
}

.payment-fieldset {
  min-width: 0;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
}

.payment-fieldset legend {
  margin-bottom: 9px;
  color: #263449;
  font-size: 13px;
  font-weight: 850;
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.payment-option {
  min-width: 0;
  min-height: 72px;
  padding: 12px;
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.payment-option:has(input:checked) {
  border-color: var(--blue);
  box-shadow: inset 0 0 0 1px var(--blue);
}

.payment-option > span {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.payment-option strong {
  font-size: 13px;
}

.payment-option small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.payment-option em {
  position: absolute;
  top: 7px;
  right: 7px;
  color: var(--muted);
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.payment-option.is-disabled {
  color: #7c899b;
  background: #f3f6fa;
  cursor: not-allowed;
}

.paysera-method-picker {
  margin-top: 0;
}

.payment-method-heading {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.payment-method-heading h3 {
  margin: 0 0 4px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.35;
}

.payment-method-heading p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.payment-method-heading > span {
  flex: 0 0 auto;
  padding: 5px 8px;
  color: #176b50;
  background: #eaf9f3;
  border: 1px solid #bfe8d8;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 850;
}

.payment-wallet-heading {
  margin-top: 20px;
}

.payment-channel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.payment-channel-option {
  min-width: 0;
  min-height: 112px;
  padding: 12px 10px;
  position: relative;
  display: grid;
  grid-template-rows: 42px auto auto;
  align-content: start;
  justify-items: center;
  gap: 5px;
  color: var(--text);
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  overflow: hidden;
}

.payment-channel-option > input {
  width: 1px;
  height: 1px;
  min-height: 0;
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment-channel-option:has(input:checked) {
  border-color: var(--blue);
  box-shadow: inset 0 0 0 1px var(--blue), 0 8px 20px rgba(18, 104, 255, 0.1);
}

.payment-channel-option:has(input:focus-visible) {
  outline: 3px solid rgba(18, 104, 255, 0.22);
  outline-offset: 2px;
}

.payment-channel-option.is-disabled {
  color: #8290a3;
  background: #f4f7fb;
  cursor: not-allowed;
}

.payment-channel-option.is-disabled .payment-channel-media {
  filter: grayscale(1);
  opacity: 0.55;
}

.payment-channel-media {
  width: 100%;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-channel-media img {
  width: auto;
  max-width: 116px;
  height: auto;
  max-height: 36px;
  object-fit: contain;
}

.payment-channel-card .payment-channel-media img {
  width: 116px;
  height: 34px;
}

.payment-channel-apple_pay .payment-channel-media img {
  width: 104px;
  height: 34px;
}

.payment-channel-google_pay .payment-channel-media img {
  width: 100px;
  height: 34px;
}

.payment-channel-paypal .payment-channel-media img {
  width: 108px;
  height: 32px;
}

.payment-wallet-grid .payment-channel-media img {
  display: block;
  object-fit: contain;
}

.payment-channel-option strong {
  max-width: 100%;
  font-size: 12px;
  line-height: 1.3;
}

.payment-channel-option small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.25;
}

.payment-channel-mark {
  color: #17243a;
  font-size: 15px;
  font-weight: 900;
}

.paypal-mark {
  color: #123f83;
  font-size: 20px;
}

.paypal-checkout-shell {
  width: min(980px, 100%);
  margin: 48px auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 48px;
  align-items: center;
}

.paypal-checkout-copy h1 {
  margin: 10px 0 14px;
  font-size: clamp(32px, 4vw, 54px);
  letter-spacing: 0;
}

.paypal-checkout-copy > p:last-child {
  max-width: 560px;
  color: var(--muted);
  line-height: 1.7;
}

.paypal-checkout-card {
  padding: 28px;
}

.paypal-order-total {
  margin-bottom: 24px;
  padding-bottom: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
}

.paypal-order-total span {
  color: var(--muted);
  font-weight: 700;
}

.paypal-order-total strong {
  font-size: 28px;
}

.paypal-payment-target {
  width: 100%;
  min-height: 50px;
  margin-bottom: 14px;
}

.native-wallet-button {
  width: 100%;
  height: 48px;
  --apple-pay-button-width: 100%;
  --apple-pay-button-height: 48px;
  --apple-pay-button-border-radius: 4px;
}

.paypal-checkout-card .notice {
  margin: 14px 0;
}

@media (max-width: 760px) {
  .paypal-checkout-shell {
    margin: 24px auto;
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.order-sidebar {
  min-width: 0;
  position: sticky;
  top: 20px;
  display: grid;
  gap: 16px;
}

.order-summary-card {
  padding: 22px;
  overflow: visible;
}

.order-summary-card h2 {
  margin-bottom: 19px;
  font-size: 20px;
}

.summary-product {
  padding-bottom: 17px;
  display: flex;
  gap: 11px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.summary-product > span {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #46505d;
  background: #f1f3f5;
  font-size: 21px;
}

.summary-product > span img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: grayscale(1) brightness(.36) contrast(1.1);
  opacity: .86;
}

.summary-product > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.summary-product small,
.summary-rows span {
  color: var(--muted);
  font-size: 11px;
}

.summary-product strong {
  overflow-wrap: anywhere;
  font-size: 14px;
}

.summary-rows {
  padding: 16px 0;
  display: grid;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}

.summary-rows > div,
.summary-total {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.summary-rows strong {
  font-size: 12px;
  text-align: right;
}

.summary-total {
  padding: 18px 0;
  align-items: center;
  font-size: 13px;
  font-weight: 850;
}

.summary-total strong {
  font-size: 24px;
}

.order-submit {
  width: 100%;
  justify-content: space-between;
  white-space: normal;
  line-height: 1.35;
  text-align: left;
  overflow-wrap: anywhere;
}

.summary-security {
  margin: 12px 0 0 !important;
  color: var(--muted) !important;
  font-size: 10px;
  line-height: 1.5 !important;
  text-align: center;
}

.order-assurances {
  margin: 0;
  padding: 16px 4px;
  display: grid;
  gap: 13px;
  list-style: none;
}

.order-assurances li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.order-assurances li > span {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--blue-deep);
  background: #eaf2ff;
  font-size: 11px;
  font-weight: 950;
}

.order-assurances div {
  display: grid;
  gap: 2px;
}

.order-assurances strong {
  font-size: 12px;
}

.order-assurances small {
  color: var(--muted);
  font-size: 10px;
}

.panel {
  padding: 24px;
  overflow-x: auto;
}

.panel.order-summary-card {
  overflow: hidden;
}

.sr-only {
  width: 1px;
  height: 1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.services-page-head {
  min-height: 112px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.services-head-icon {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--blue-deep);
  background: #eaf2ff;
  font-size: 27px;
}

.ui-icon {
  width: 1em;
  height: 1em;
  display: block;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: var(--ui-icon) center / contain no-repeat;
  mask: var(--ui-icon) center / contain no-repeat;
}

.ui-icon-server { --ui-icon: url("/assets/icons/server.svg"); }
.ui-icon-globe-2 { --ui-icon: url("/assets/icons/globe-2.svg"); }
.ui-icon-hard-drive { --ui-icon: url("/assets/icons/hard-drive.svg"); }
.ui-icon-database-backup { --ui-icon: url("/assets/icons/database-backup.svg"); }
.ui-icon-folder-archive { --ui-icon: url("/assets/icons/folder-archive.svg"); }
.ui-icon-plus { --ui-icon: url("/assets/icons/plus.svg"); }
.ui-icon-arrow-right { --ui-icon: url("/assets/icons/arrow-right.svg"); }
.ui-icon-circle-check { --ui-icon: url("/assets/icons/circle-check.svg"); }
.ui-icon-clock-3 { --ui-icon: url("/assets/icons/clock-3.svg"); }
.ui-icon-layout-grid { --ui-icon: url("/assets/icons/layout-grid.svg"); }
.ui-icon-euro { --ui-icon: url("/assets/icons/euro.svg"); }
.ui-icon-circle-dot { --ui-icon: url("/assets/icons/circle-dot.svg"); }
.ui-icon-circle-x { --ui-icon: url("/assets/icons/circle-x.svg"); }
.ui-icon-circle-help { --ui-icon: url("/assets/icons/circle-help.svg"); }
.ui-icon-layers-3 { --ui-icon: url("/assets/icons/layers-3.svg"); }

.service-stats {
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.service-stat {
  min-width: 0;
  min-height: 102px;
  padding: 17px;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(8, 22, 44, 0.045);
}

.service-stat-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #1268ff;
  background: #eaf2ff;
  font-size: 21px;
  font-weight: 900;
}

.service-stat-icon.cyan {
  color: #087c9c;
  background: #e6f8fc;
}

.service-stat-icon.green {
  color: #158746;
  background: #e8f8ee;
}

.service-stat-icon.violet {
  color: #6f4dcc;
  background: #f1edff;
}

.service-stat > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.service-stat strong {
  color: #28364a;
  font-size: 12px;
}

.service-stat b {
  overflow-wrap: anywhere;
  font-size: 22px;
  line-height: 1.2;
}

.service-stat small {
  color: var(--muted);
  font-size: 10px;
}

.services-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 254px;
  gap: 18px;
  align-items: start;
}

.services-catalog {
  min-width: 0;
  padding: 14px;
  overflow: hidden;
}

.services-filter {
  padding: 0 0 13px;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
}

.service-filter {
  min-height: 38px;
  padding: 0 13px;
  flex: 0 0 auto;
  color: #4b5a70;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 11px;
  box-shadow: none;
}

.service-filter > span {
  color: #7088aa;
  font-size: 15px;
}

.service-filter:hover {
  color: var(--blue-deep);
  border-color: #a9c8f7;
}

.service-filter.is-selected {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.service-filter.is-selected > span {
  color: #fff;
}

.customer-services-head,
.customer-service-row {
  display: grid;
  grid-template-columns: minmax(210px, 1.9fr) minmax(92px, 0.75fr) minmax(120px, 1fr) minmax(98px, 0.8fr) minmax(82px, 0.7fr) 92px;
  gap: 12px;
  align-items: center;
}

.customer-services-head {
  padding: 13px 12px 8px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 850;
  text-transform: uppercase;
}

.customer-service-row {
  min-width: 0;
  min-height: 84px;
  padding: 12px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.customer-service-row[hidden] {
  display: none !important;
}

.customer-service-main {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
}

.customer-service-main > div {
  min-width: 0;
}

.customer-service-main strong,
.customer-service-main span,
.customer-service-main small {
  display: block;
  overflow-wrap: anywhere;
}

.customer-service-main strong {
  font-size: 12px;
}

.customer-service-main span {
  margin-top: 3px;
  color: #304158;
  font-size: 10px;
  font-weight: 750;
}

.customer-service-main small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}

.customer-service-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid !important;
  place-items: center;
  border-radius: 8px;
  color: #1268ff !important;
  background: #eaf2ff;
  font-size: 13px !important;
  font-weight: 950 !important;
}

.customer-service-icon.product-domain {
  color: #138a47 !important;
  background: #e8f8ee;
}

.customer-service-icon.product-backup {
  color: #6f4dcc !important;
  background: #f1edff;
}

.customer-service-icon.product-drive {
  color: #087c9c !important;
  background: #e6f8fc;
}

.customer-service-status .pill {
  display: inline-flex;
  text-align: center;
  white-space: normal;
}

.customer-service-info,
.customer-service-billing,
.customer-service-price {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.customer-service-info span,
.customer-service-billing span,
.customer-service-price small {
  color: var(--muted);
  font-size: 9px;
}

.customer-service-info strong,
.customer-service-billing strong,
.customer-service-price strong {
  overflow-wrap: anywhere;
  font-size: 10px;
}

.customer-service-price strong {
  font-size: 12px;
}

.customer-service-actions .link-button {
  width: 100%;
  min-height: 34px;
  font-size: 10px;
}

.services-filter-empty {
  padding: 34px 16px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

.services-sidebar {
  min-width: 0;
  display: grid;
  gap: 14px;
}

.quick-actions-panel,
.account-status-panel {
  padding: 18px;
  overflow: hidden;
}

.quick-actions-panel h2,
.account-status-panel h2 {
  margin-bottom: 14px;
  font-size: 16px;
}

.quick-action {
  min-height: 44px;
  margin-top: 8px;
  padding: 0 11px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: #263449;
  background: #fff;
  font-size: 10px;
}

.quick-action:hover {
  color: var(--blue-deep);
  border-color: #a9c8f7;
}

.quick-action > span {
  color: var(--blue-deep);
  font-size: 16px;
  text-align: center;
}

.quick-action > b {
  font-size: 14px;
}

.quick-action.primary-action {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 10px 20px rgba(18, 104, 255, 0.16);
}

.quick-action.primary-action > span {
  color: #fff;
}

.account-status-item {
  padding: 13px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-top: 1px solid var(--line);
}

.account-status-item > span {
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #8a6417;
  background: #fff5d8;
  font-size: 11px;
  font-weight: 900;
}

.account-status-item.is-positive > span {
  color: #138a47;
  background: #e8f8ee;
}

.account-status-item > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.account-status-item strong {
  font-size: 11px;
}

.account-status-item small {
  color: var(--muted);
  font-size: 9px;
  overflow-wrap: anywhere;
}

.domain-head-icon {
  color: #0758dd;
  background: #e8f1ff;
}

.domains-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 18px;
  align-items: start;
}

.domains-catalog {
  min-width: 0;
  padding: 18px;
  overflow: hidden;
}

.domains-catalog-heading {
  padding: 2px 2px 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.domains-catalog-heading h2,
.account-domain-search-panel h2 {
  margin: 0 0 5px;
  font-size: 18px;
}

.domains-catalog-heading p,
.account-domain-search-panel > p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.domains-toolbar {
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faff;
}

.domain-list-search {
  width: min(330px, 100%);
}

.domain-list-search input {
  min-height: 38px;
  background: #fff;
}

.domain-filter-tabs {
  display: flex;
  gap: 5px;
}

.domain-filter {
  min-height: 36px;
  padding: 0 11px;
  color: #526177;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: none;
  font-size: 10px;
}

.domain-filter.is-selected {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.customer-domains-head,
.customer-domain-row {
  display: grid;
  grid-template-columns: minmax(190px, 1.5fr) minmax(90px, 0.7fr) minmax(125px, 0.9fr) minmax(125px, 0.9fr) 92px;
  gap: 12px;
  align-items: center;
}

.customer-domains-head {
  padding: 15px 12px 8px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 850;
  text-transform: uppercase;
}

.customer-domain-row {
  min-height: 78px;
  padding: 12px;
  border-top: 1px solid var(--line);
}

.customer-domain-name {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.customer-domain-name > span {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #0758dd;
  background: #eaf2ff;
  font-size: 19px;
  font-weight: 900;
}

.customer-domain-name > div,
.customer-domain-meta {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.customer-domain-name strong,
.customer-domain-name small,
.customer-domain-meta strong,
.customer-domain-meta span {
  overflow-wrap: anywhere;
}

.customer-domain-name strong,
.customer-domain-meta strong {
  font-size: 10px;
}

.customer-domain-name small,
.customer-domain-meta span {
  color: var(--muted);
  font-size: 9px;
}

.customer-domain-row > .link-button {
  width: 100%;
  min-height: 34px;
  font-size: 10px;
}

.domains-sidebar {
  min-width: 0;
  display: grid;
  gap: 14px;
}

.account-domain-search-panel {
  padding: 20px;
  overflow: hidden;
}

.domain-search-glyph {
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #0758dd;
  background: #eaf2ff;
  font-size: 22px;
  font-weight: 900;
}

.account-domain-search-input {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.account-domain-search-input input,
.account-domain-search-input button {
  width: 100%;
}

.account-domain-result {
  margin-top: 12px;
  padding: 11px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f9fc;
}

.account-domain-result > span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #64748b;
  background: #e7edf5;
  font-size: 12px;
  font-weight: 950;
}

.account-domain-result > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.account-domain-result strong {
  overflow-wrap: anywhere;
  font-size: 10px;
}

.account-domain-result small {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

.account-domain-result.is-success {
  border-color: #a7e2bf;
  background: #eefaf3;
}

.account-domain-result.is-success > span {
  color: #fff;
  background: var(--ok);
}

.account-domain-result.is-error {
  border-color: #f0b8b8;
  background: #fff3f3;
}

.account-domain-result.is-error > span {
  color: #fff;
  background: #c83d3d;
}

.account-domain-result.is-warning {
  border-color: #ecd59b;
  background: #fff9e9;
}

.account-domain-result.is-warning > span {
  color: #fff;
  background: var(--warn);
}

.account-domain-order {
  width: 100%;
  margin-top: 9px;
}

.billing-head-icon {
  color: #0758dd;
  background: #eaf2ff;
}

.billing-layout,
.help-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 18px;
  align-items: start;
}

.billing-main,
.billing-sidebar,
.help-sidebar {
  min-width: 0;
  display: grid;
  gap: 14px;
}

.billing-subscriptions,
.billing-history,
.support-catalog {
  min-width: 0;
  padding: 18px;
  overflow: hidden;
}

.billing-service-head,
.billing-service-row {
  display: grid;
  grid-template-columns: minmax(210px, 1.7fr) minmax(100px, 0.8fr) minmax(130px, 0.9fr) 92px;
  gap: 12px;
  align-items: center;
}

.billing-order-head,
.billing-order-row {
  display: grid;
  grid-template-columns: minmax(210px, 1.5fr) minmax(120px, 0.85fr) minmax(120px, 0.85fr) 100px 90px;
  gap: 12px;
  align-items: center;
}

.billing-service-head,
.billing-order-head,
.support-ticket-head {
  padding: 13px 12px 8px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 850;
  text-transform: uppercase;
}

.billing-service-row,
.billing-order-row {
  min-height: 76px;
  padding: 12px;
  border-top: 1px solid var(--line);
}

.billing-cell {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.billing-cell span,
.billing-order-row small {
  color: var(--muted);
  font-size: 9px;
}

.billing-cell strong,
.billing-order-row > div:first-child strong {
  overflow-wrap: anywhere;
  font-size: 10px;
}

.billing-order-row > div:first-child {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.billing-order-row > div:first-child small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.billing-order-amount {
  text-align: right;
  font-size: 12px;
}

.payment-methods-panel,
.billing-summary-panel,
.support-contact-panel {
  padding: 19px;
  overflow: hidden;
}

.payment-methods-panel h2,
.billing-summary-panel h2,
.support-contact-panel h2 {
  margin: 0 0 14px;
  font-size: 16px;
}

.billing-payment-method {
  min-height: 58px;
  padding: 11px 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.billing-payment-method > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #68768b;
  background: #eef2f7;
  font-size: 15px;
  font-weight: 900;
}

.billing-payment-method.is-ready > span {
  color: #0758dd;
  background: #eaf2ff;
}

.billing-payment-method > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.billing-payment-method strong {
  font-size: 10px;
}

.billing-payment-method small {
  color: var(--muted);
  font-size: 9px;
}

.billing-payment-method em {
  padding: 4px 6px;
  border-radius: 6px;
  color: #68768b;
  background: #eef2f7;
  font-size: 8px;
  font-style: normal;
  font-weight: 850;
}

.billing-payment-method.is-ready em {
  color: var(--ok);
  background: #e8f8ee;
}

.billing-summary-panel > div {
  padding: 9px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 10px;
}

.billing-summary-panel strong {
  color: var(--text);
}

.billing-summary-panel .billing-summary-total {
  margin-top: 5px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-weight: 850;
}

.help-head-icon {
  color: #fff;
  background: var(--blue);
}

.support-catalog-heading {
  padding: 2px 2px 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.support-catalog-heading h2,
.support-form h2 {
  margin: 0 0 5px;
  font-size: 18px;
}

.support-catalog-heading p,
.support-form > p,
.support-contact-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.support-form .support-delivery-note {
  margin-top: 2px;
  padding: 10px 11px;
  border-radius: 7px;
  background: var(--bg-soft);
  font-size: 10px;
  line-height: 1.55;
}

.support-toolbar {
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faff;
}

.support-search {
  width: min(360px, 100%);
}

.support-search input {
  min-height: 38px;
}

.support-ticket-head,
.support-ticket-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.65fr) minmax(105px, 0.8fr) 80px 92px minmax(110px, 0.8fr);
  gap: 12px;
  align-items: center;
}

.support-ticket-row {
  min-height: 86px;
  padding: 12px;
  border-top: 1px solid var(--line);
}

.support-ticket-main,
.support-ticket-meta {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.support-ticket-main strong,
.support-ticket-meta strong {
  overflow-wrap: anywhere;
  font-size: 10px;
}

.support-ticket-main span,
.support-ticket-main small,
.support-ticket-meta span {
  color: var(--muted);
  font-size: 9px;
}

.support-ticket-main small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-ticket-response {
  grid-column: 1 / -1;
  padding: 12px 14px;
  border-left: 3px solid var(--blue);
  border-radius: 0 7px 7px 0;
  background: #eef5ff;
}

.support-ticket-response span {
  color: var(--blue-deep);
  font-size: 9px;
  font-weight: 850;
}

.support-ticket-response p {
  margin: 5px 0 0;
  color: #263449;
  font-size: 10px;
  line-height: 1.6;
  white-space: pre-wrap;
}

.support-form {
  padding: 20px;
  display: grid;
  gap: 13px;
  overflow: hidden;
  scroll-margin-top: 20px;
}

.support-form label {
  font-size: 11px;
}

.support-form input,
.support-form select {
  min-height: 40px;
}

.support-form textarea {
  min-height: 126px;
}

.support-contact-panel a {
  margin-top: 12px;
  display: inline-block;
  color: var(--blue-deep);
  font-size: 11px;
  font-weight: 850;
}

.support-status-form {
  min-width: 240px;
  display: grid;
  gap: 7px;
}

.support-status-form select,
.support-status-form textarea,
.support-status-form button {
  min-height: 36px;
  font-size: 10px;
}

.support-status-form textarea {
  min-height: 70px;
}

@media (max-width: 1180px) and (min-width: 821px) {
  .topbar {
    padding: 0 18px;
    gap: 12px;
  }

  .topbar nav {
    gap: 2px;
  }

  .topbar nav a {
    padding: 10px 7px;
    font-size: 11px;
  }

  .brand-logo {
    height: 52px;
    max-width: 200px;
  }

  .user-chip {
    display: none;
  }
}

.service-back-link {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 850;
}

.service-detail-grid {
  align-items: start;
}

.service-detail-actions {
  display: grid;
  gap: 12px;
}

.service-detail-actions .link-button {
  width: 100%;
}

.account-list {
  overflow: visible;
}

.account-items {
  display: grid;
}

.account-item {
  min-width: 0;
  padding: 17px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.account-item:last-child {
  border-bottom: 0;
}

.account-item-main {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.account-item strong,
.account-item span {
  display: block;
}

.account-item-main > div,
.order-item > div:first-child {
  min-width: 0;
}

.account-item-main > div > span,
.order-item > div:first-child > span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.item-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--blue-deep);
  background: #eaf2ff;
  font-weight: 950;
}

.item-icon.product-domain {
  color: #138a47;
  background: #e8f8ee;
}

.item-icon.product-backup {
  color: #6f4dcc;
  background: #f1edff;
}

.item-icon.product-drive {
  color: #087c9c;
  background: #e6f8fc;
}

.account-item-link {
  margin: 0 -8px;
  padding-right: 8px;
  padding-left: 8px;
  border-radius: 6px;
  color: inherit;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease;
}

.account-item-link:hover {
  background: #f6f9fe;
}

.service-activation-note {
  padding: 14px;
  display: grid;
  gap: 4px;
  border: 1px solid #d8e3f1;
  border-radius: 6px;
  background: #f7f9fc;
}

.service-activation-note span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.account-item-meta {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  text-align: right;
}

.account-item-meta .pill {
  display: inline-flex;
}

.empty-state {
  padding: 26px 0 8px;
  text-align: center;
}

.empty-state strong {
  display: block;
  font-size: 17px;
}

.empty-state p {
  max-width: 440px;
  margin: 7px auto 12px;
}

.account-profile-grid {
  grid-template-columns: 1.15fr 0.85fr;
}

.details-list {
  margin: 18px 0 0;
}

.details-list > div {
  padding: 14px 0;
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) minmax(0, 1.3fr);
  gap: 16px;
  border-bottom: 1px solid var(--line);
}

.details-list > div:last-child {
  border-bottom: 0;
}

.details-list dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.details-list dd {
  min-width: 0;
  margin: 0;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.profile-security {
  align-content: start;
}

.profile-security form {
  margin: 18px 0;
}

.profile-security .secondary-link {
  display: inline-block;
  margin-top: 18px;
}

.notice-inline {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 800;
}

.notice-inline.ok {
  color: var(--ok);
  background: #edf9f2;
}

.account-ordering-as {
  padding: 14px 16px;
  display: grid;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-soft);
}

.account-ordering-as span,
.account-ordering-as small {
  color: var(--muted);
}

.centered-message {
  max-width: 660px;
  margin: 72px auto;
  text-align: center;
}

.centered-message .link-button {
  margin-top: 20px;
}

.form {
  display: grid;
  gap: 14px;
  align-content: start;
}

.narrow-form {
  max-width: 620px;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}

.light-hint {
  color: var(--muted);
}

.form-grid,
.inline-fields {
  display: grid;
  gap: 12px;
}

.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.inline-fields {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

label {
  display: grid;
  gap: 7px;
  font-weight: 850;
  color: var(--text);
}

input,
select,
textarea,
pre {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  min-height: 44px;
  padding: 0 12px;
  color: var(--text);
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
  color: #8fa4be;
}

input,
select,
textarea {
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

textarea {
  min-height: 88px;
  padding: 11px 12px;
  resize: vertical;
  line-height: 1.5;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(18, 104, 255, 0.5);
  box-shadow: 0 0 0 4px rgba(18, 104, 255, 0.08);
}

pre {
  min-height: 120px;
  padding: 14px;
  overflow: auto;
  background: #06101f;
  color: #d8e8ff;
}

.summary-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-soft);
}

.summary-box span,
.muted {
  color: var(--muted);
  font-size: 13px;
}

.summary-box strong {
  text-align: right;
}

table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

.backup-targets {
  min-width: 980px;
}

.backup-target-head,
.backup-target-row {
  display: grid;
  grid-template-columns: minmax(190px, 1.05fr) minmax(150px, 0.72fr) minmax(360px, 1.7fr) minmax(220px, 1fr);
  gap: 16px;
  align-items: center;
}

.backup-target-head {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.backup-target-row {
  padding: 17px 12px;
  border-top: 1px solid var(--line);
}

.backup-target-main,
.backup-target-usage {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.backup-target-main strong,
.backup-target-main span,
.backup-target-main small,
.backup-target-usage small {
  overflow-wrap: anywhere;
}

.backup-target-main span,
.backup-target-main small,
.backup-target-usage small {
  color: var(--muted);
  font-size: 12px;
}

.backup-target-usage .pill {
  justify-self: start;
}

.backup-policy-form {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) 110px auto;
  gap: 8px;
  align-items: end;
}

.backup-policy-form label {
  gap: 4px;
  color: var(--muted);
  font-size: 11px;
}

.backup-policy-form input,
.backup-policy-form select,
.backup-restore-form select {
  min-height: 36px;
  padding: 0 9px;
  font-size: 12px;
}

.backup-target-actions,
.backup-restore-form {
  display: grid;
  gap: 8px;
}

.backup-target-actions form,
.backup-target-actions button {
  width: 100%;
  margin: 0;
}

.backups-customer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.customer-backup-policy,
.customer-manual-backup {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto minmax(170px, auto) minmax(210px, 0.8fr);
  gap: 16px;
  align-items: center;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.customer-backup-policy > div,
.customer-manual-backup > div:first-child,
.customer-manual-backup > div:nth-child(2) {
  display: grid;
  gap: 4px;
}

.customer-backup-policy span:not(.pill),
.customer-backup-policy small,
.customer-manual-backup span,
.customer-manual-backup small {
  color: var(--muted);
  font-size: 12px;
}

.customer-backup-restore-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.customer-backup-restore-form select {
  width: 100%;
  min-height: 36px;
  padding: 0 9px;
  font-size: 12px;
}

.customer-backup-empty {
  text-align: right;
}

.backup-upgrade-actions,
.customer-manual-backup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.backup-upgrade-actions {
  margin-top: 16px;
}

.customer-manual-backup-actions form {
  margin: 0;
}

.manual-backup-mode {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.manual-backup-mode legend {
  margin-bottom: 7px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.manual-backup-mode label {
  display: flex;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 9px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  cursor: pointer;
}

.manual-backup-mode input {
  width: auto;
  margin-top: 3px;
}

.manual-backup-mode span {
  display: grid;
  gap: 3px;
}

.manual-backup-mode small {
  line-height: 1.45;
}

.restore-confirm-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 20px;
  border-color: #efd59a;
  background: #fffdf7;
}

.restore-confirm-panel h2 {
  margin-top: 12px;
}

.restore-confirm-form {
  display: grid;
  gap: 10px;
}

.restore-confirm-form label {
  font-size: 12px;
}

th,
td {
  padding: 13px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.table-action {
  margin: 0;
}

.table-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.customer-edit {
  margin-top: 8px;
}

.customer-edit summary {
  color: var(--link, #74a8ff);
  cursor: pointer;
  font-weight: 700;
  list-style-position: inside;
}

.customer-edit-form {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  min-width: min(360px, 72vw);
}

.customer-edit-form label {
  display: grid;
  gap: 5px;
  font-size: .78rem;
}

.customer-edit-form input {
  min-width: 0;
}

td > small {
  display: block;
  margin-top: 3px;
  color: var(--muted, #8fa6c7);
}

.hosting-account-actions,
.hosting-password-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hosting-account-actions .secondary-link {
  font-size: 12px;
}

.hosting-account-actions form,
.service-detail-actions form {
  width: 100%;
  margin: 0;
}

main:has(> .hosting-accounts-page) {
  max-width: 1760px;
}

/* Administrative registers need room for full rows and action controls. */
.grid.two.customers-layout {
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  align-items: start;
}

.customers-list-panel {
  min-width: 0;
}

.customers-list-panel table {
  min-width: 980px;
}

.hosting-accounts-layout {
  grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
}

.hosting-account-create-panel,
.hosting-accounts-table-panel {
  min-width: 0;
}

.hosting-accounts-table-panel {
  overflow: hidden;
}

.hosting-list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin: 0 0 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hosting-page-size-form {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.hosting-page-size-form select {
  width: 72px;
  min-height: 36px;
  padding: 6px 28px 6px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  background: #fff;
}

.hosting-result-count {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.pager {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.pager-button {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  background: #fff;
  font-size: 12px;
  font-weight: 800;
}

a.pager-button:hover {
  border-color: #9fc1ff;
  color: var(--blue);
  background: #f2f7ff;
}

.pager-button.is-current {
  border-color: var(--blue);
  color: #fff;
  background: var(--blue);
}

.pager-button.is-disabled {
  color: #a8b3c3;
  background: #f5f7fa;
}

.pager-arrow {
  font-size: 20px;
  line-height: 1;
}

.hosting-accounts-table-wrap {
  overflow: visible;
}

.hosting-accounts-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}

.hosting-accounts-table th,
.hosting-accounts-table td {
  padding: 11px 7px;
  overflow-wrap: anywhere;
  font-size: 12px;
}

.hosting-accounts-table th {
  font-size: 10px;
}

.hosting-accounts-table th:nth-child(1) { width: 19%; }
.hosting-accounts-table th:nth-child(2) { width: 17%; }
.hosting-accounts-table th:nth-child(3) { width: 15%; }
.hosting-accounts-table th:nth-child(4) { width: 9%; }
.hosting-accounts-table th:nth-child(5) { width: 13%; }
.hosting-accounts-table th:nth-child(6) { width: 27%; }

.hosting-accounts-table code {
  white-space: normal;
}

.hosting-accounts-table .pill {
  max-width: 100%;
  padding: 5px 7px;
  white-space: normal;
  text-align: center;
  font-size: 10px;
}

.hosting-account-actions {
  width: 100%;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
}

.hosting-account-actions button,
.hosting-account-actions .secondary-link {
  width: 100%;
  min-width: 0;
  justify-content: center;
  text-align: center;
  white-space: normal;
}

.hosting-account-actions button {
  min-height: 32px;
  padding: 7px 8px;
  font-size: 11px;
}

.hosting-account-actions .secondary-link {
  padding: 3px 2px;
  font-size: 11px;
}

.hosting-password-panel {
  max-width: 620px;
  margin-top: 18px;
}

.hosting-password-actions .secondary-link {
  padding: 10px 2px;
}

code {
  padding: 2px 6px;
  border-radius: 6px;
  background: #eef4ff;
  color: #164fba;
}

.pill {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 6px;
  background: #eef4ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.pill.ok {
  color: var(--ok);
  background: #e9f8ef;
}

.pill.warn {
  color: var(--warn);
  background: #fff6df;
}

.steps {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 0;
  color: var(--text);
  background:
    linear-gradient(rgba(33, 88, 166, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 88, 166, 0.045) 1px, transparent 1px),
    #eff4fb;
  background-size: 48px 48px, 48px 48px, auto;
}

.auth-shell {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  justify-items: center;
  gap: 16px;
}

.login-card {
  width: calc(100% - 32px);
  max-width: 470px;
  display: grid;
  gap: 16px;
  padding: 32px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #d6e0ee;
  color: var(--text);
  box-shadow: 0 24px 64px rgba(20, 44, 84, 0.14);
}

.auth-brand-row {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.auth-brand-row .brand {
  min-width: 0;
}

.auth-brand-row .theme-toggle {
  flex: 0 0 42px;
}

.login-card h1 {
  margin: 10px 0 0;
  font-size: 30px;
  line-height: 1.1;
}

.login-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.login-card label {
  color: #263449;
}

.login-card input {
  color: var(--text);
  border-color: #cbd9ef;
  background: #fff;
}

.login-card .primary {
  min-height: 46px;
  margin-top: 4px;
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-form label {
  font-size: 14px;
}

.auth-row {
  display: flex;
  justify-content: flex-end;
  font-size: 13px;
}

.auth-row a,
.auth-switch a,
.login-card .secondary-link {
  color: var(--blue-deep);
}

.auth-submit {
  width: 100%;
}

.auth-switch {
  text-align: center;
  font-size: 14px;
}

.auth-alternate {
  margin-top: 2px;
  padding-top: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.auth-alternate > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.auth-alternate strong {
  font-size: 14px;
}

.auth-alternate span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.auth-alternate > a {
  min-height: 38px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--blue-deep);
  background: #edf3ff;
  border: 1px solid #c9dbfb;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.auth-alternate > a:hover {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.auth-actions {
  display: grid;
  gap: 12px;
  text-align: center;
}

.auth-notice {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 800;
}

.auth-notice.ok {
  color: var(--ok);
  background: #edf9f2;
  border-color: #bde8ce;
}

.optional,
.field-hint {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.field-hint {
  margin-top: -2px;
}

.check-label {
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  line-height: 1.5;
}

.check-label input {
  width: 18px;
  min-height: 18px;
  margin: 2px 0 0;
  accent-color: var(--blue);
}

.check-label a {
  color: var(--blue);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.check-label a:hover {
  color: var(--blue-deep);
}

.turnstile-wrap {
  min-height: 65px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.turnstile-wrap .cf-turnstile {
  max-width: 100%;
}

.auth-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.human-check {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface) 86%, var(--blue) 14%);
}

.human-check input {
  max-width: 130px;
}

.auth-footer {
  margin: 0;
  color: #65748b;
  font-size: 12px;
  text-align: center;
}

body[data-brand="itprekyba"] {
  --blue: #246cff;
  --blue-deep: #1457d8;
  --cyan: #78a9ff;
  --dark: #07142f;
}

body[data-brand="itprekyba"] .topbar {
  color: var(--text);
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(20, 44, 84, 0.08);
}

body[data-brand="itprekyba"] .topbar nav a {
  color: #526177;
}

body[data-brand="itprekyba"] .topbar nav a:hover {
  color: var(--blue-deep);
  background: #edf3ff;
}

body[data-brand="itprekyba"] .topbar .user-chip {
  color: #526177;
  border-color: var(--line);
  background: #f8fafc;
}

body[data-brand="itprekyba"] .topbar .ghost {
  color: var(--blue-deep);
  border-color: #cbd9ef;
  background: #edf3ff;
}

body[data-brand="itprekyba"] .topbar .brand-logo {
  height: 32px;
  max-width: 172px;
}

.login-page[data-brand="itprekyba"] {
  color: var(--text);
  background: #edf3ff;
}

.login-page[data-brand="itprekyba"] .login-card {
  color: var(--text);
  background: #fff;
  border-color: #cbd9ef;
  box-shadow: 0 22px 58px rgba(20, 44, 84, 0.14);
}

.login-page[data-brand="itprekyba"] .login-card p,
.login-page[data-brand="itprekyba"] .optional,
.login-page[data-brand="itprekyba"] .field-hint {
  color: var(--muted);
}

.login-page[data-brand="itprekyba"] .login-card label {
  color: #263449;
}

.login-page[data-brand="itprekyba"] .login-card input {
  color: var(--text);
  border-color: #cbd9ef;
  background: #fff;
}

.login-page[data-brand="itprekyba"] .auth-row a,
.login-page[data-brand="itprekyba"] .auth-switch a,
.login-page[data-brand="itprekyba"] .login-card .secondary-link {
  color: var(--blue-deep);
}

.login-page[data-brand="itprekyba"] .auth-notice {
  border-color: var(--line);
}

.login-page[data-brand="itprekyba"] .auth-notice.ok {
  color: var(--ok);
  background: #edf9f2;
  border-color: #bde8ce;
}

.login-page[data-brand="itprekyba"] .auth-footer {
  color: #65748b;
}

.login-page[data-brand="itprekyba"] .auth-alternate {
  border-top-color: var(--line);
}

.login-page[data-brand="itprekyba"] .auth-alternate span {
  color: var(--muted);
}

.login-page[data-brand="itprekyba"] .auth-alternate > a {
  color: var(--blue-deep);
  background: #edf3ff;
  border-color: #c9dbfb;
}

.login-page[data-brand="itprekyba"] .auth-alternate > a:hover {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

html[data-theme="dark"] .brand-logo-on-light {
  display: none;
}

html[data-theme="dark"] .brand-logo-on-dark {
  display: block;
}

html[data-theme="dark"] .topbar,
html[data-theme="dark"] body[data-brand="itprekyba"] .topbar {
  color: #fff;
  background: rgba(8, 25, 49, 0.97);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

html[data-theme="dark"] .topbar nav a,
html[data-theme="dark"] body[data-brand="itprekyba"] .topbar nav a {
  color: rgba(255, 255, 255, 0.76);
}

html[data-theme="dark"] .topbar nav a:hover,
html[data-theme="dark"] body[data-brand="itprekyba"] .topbar nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
}

html[data-theme="dark"] .topbar .user-chip,
html[data-theme="dark"] body[data-brand="itprekyba"] .topbar .user-chip {
  color: rgba(255, 255, 255, 0.74);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .topbar .ghost,
html[data-theme="dark"] body[data-brand="itprekyba"] .topbar .ghost,
html[data-theme="dark"] .topbar .view-mode-button {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .topbar .view-mode-button.preview {
  color: #052e16;
  background: #bbf7d0;
  border-color: #86efac;
}

html[data-theme="dark"] .theme-toggle {
  color: #e7eef9;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.17);
  box-shadow: none;
}

html[data-theme="dark"] .theme-toggle:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.28);
}

html[data-theme="dark"] .theme-icon-light {
  display: none;
}

html[data-theme="dark"] .theme-icon-dark {
  display: inline;
}

html[data-theme="dark"] body[data-brand="itprekyba"] .brand-logo-on-dark {
  filter: brightness(0) invert(1);
}

html[data-theme="dark"] .login-page {
  color: #fff;
  background:
    radial-gradient(circle at 50% 34%, rgba(40, 116, 208, 0.2), transparent 32%),
    linear-gradient(rgba(166, 204, 244, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(166, 204, 244, 0.045) 1px, transparent 1px),
    #0d2749;
  background-size: auto, 48px 48px, 48px 48px, auto;
}

html[data-theme="dark"] .login-card,
html[data-theme="dark"] .login-page[data-brand="itprekyba"] .login-card {
  color: #fff;
  background: rgba(15, 38, 67, 0.97);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 26px 74px rgba(0, 0, 0, 0.34);
}

html[data-theme="dark"] .login-card p,
html[data-theme="dark"] .login-page[data-brand="itprekyba"] .login-card p,
html[data-theme="dark"] .login-page[data-brand="itprekyba"] .optional,
html[data-theme="dark"] .login-page[data-brand="itprekyba"] .field-hint,
html[data-theme="dark"] .optional,
html[data-theme="dark"] .field-hint {
  color: rgba(255, 255, 255, 0.7);
}

html[data-theme="dark"] .login-card label,
html[data-theme="dark"] .login-page[data-brand="itprekyba"] .login-card label {
  color: rgba(255, 255, 255, 0.9);
}

html[data-theme="dark"] .login-card input,
html[data-theme="dark"] .login-page[data-brand="itprekyba"] .login-card input {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.18);
  background: #fff;
}

html[data-theme="dark"] .auth-row a,
html[data-theme="dark"] .auth-switch a,
html[data-theme="dark"] .login-card .secondary-link,
html[data-theme="dark"] .login-page[data-brand="itprekyba"] .auth-row a,
html[data-theme="dark"] .login-page[data-brand="itprekyba"] .auth-switch a,
html[data-theme="dark"] .login-page[data-brand="itprekyba"] .login-card .secondary-link {
  color: #8abbff;
}

html[data-theme="dark"] .auth-alternate,
html[data-theme="dark"] .login-page[data-brand="itprekyba"] .auth-alternate {
  border-top-color: rgba(255, 255, 255, 0.14);
}

html[data-theme="dark"] .auth-alternate span,
html[data-theme="dark"] .login-page[data-brand="itprekyba"] .auth-alternate span {
  color: rgba(255, 255, 255, 0.62);
}

html[data-theme="dark"] .auth-alternate > a,
html[data-theme="dark"] .login-page[data-brand="itprekyba"] .auth-alternate > a {
  color: #fff;
  background: rgba(126, 179, 255, 0.12);
  border-color: rgba(126, 179, 255, 0.34);
}

html[data-theme="dark"] .auth-footer,
html[data-theme="dark"] .login-page[data-brand="itprekyba"] .auth-footer {
  color: rgba(255, 255, 255, 0.56);
}

html[data-theme="dark"] .auth-notice.ok,
html[data-theme="dark"] .login-page[data-brand="itprekyba"] .auth-notice.ok {
  color: #b7f1cd;
  background: rgba(19, 138, 71, 0.18);
  border-color: rgba(70, 195, 122, 0.32);
}

@media (max-width: 520px) {
  .auth-alternate {
    grid-template-columns: 1fr;
  }

  .auth-alternate > a {
    width: 100%;
  }
}

.notification-bell {
  width: 42px;
  height: 42px;
  position: relative;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  background: var(--panel);
  box-shadow: none;
}
.notification-bell > svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.notification-bell.has-unread > svg { color: #60a5fa; }
.notification-bell b,
.nav-unread-badge {
  display: grid;
  min-width: 18px;
  height: 18px;
  place-items: center;
  padding: 0 4px;
  border: 2px solid #020814;
  border-radius: 999px;
  color: #fff;
  background: #ef4444;
  font-size: 9px;
  font-weight: 900;
}
.notification-bell b { position: absolute; top: -5px; right: -5px; }
.topbar nav a:has(.nav-unread-badge) { display: inline-flex; align-items: center; gap: 6px; }
.topbar nav .nav-unread-badge { border-width: 0; }
html[data-theme="dark"] .notification-bell {
  color: #eef6ff;
  border-color: rgba(255,255,255,.17);
  background: rgba(255,255,255,.07);
}

@media (max-width: 1380px) and (min-width: 821px) {
  .topbar {
    padding-inline: 16px;
    gap: 10px;
  }

  body[data-brand="hostingo"] .topbar .brand-logo {
    height: 44px;
    max-width: 180px;
  }

  .admin-mode-badge {
    display: none;
  }

  .topbar nav {
    gap: 0;
  }

  .topbar nav a {
    padding-inline: 7px;
    font-size: 12px;
  }

  .topbar-actions {
    gap: 6px;
  }

  .notification-bell,
  .theme-toggle {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 1580px) and (min-width: 821px) {
  .topbar {
    min-height: auto;
    padding-block: 10px;
    flex-wrap: wrap;
  }

  .topbar nav {
    order: 3;
    flex: 0 0 100%;
    width: 100%;
    justify-content: center;
    overflow-x: auto;
    padding-top: 8px;
    border-top: 1px solid var(--line);
    scrollbar-width: thin;
  }

  .topbar nav a {
    flex: 0 0 auto;
  }

  html[data-theme="dark"] .topbar nav {
    border-top-color: rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 1100px) {
  .backup-targets {
    min-width: 0;
  }

  .backup-target-head {
    display: none;
  }

  .backup-target-row {
    grid-template-columns: minmax(180px, 0.8fr) minmax(130px, 0.55fr) minmax(340px, 1.65fr);
  }

  .backup-target-actions {
    grid-column: 1 / -1;
    grid-template-columns: 180px minmax(320px, 1fr);
  }

  .backup-restore-form {
    grid-template-columns: minmax(220px, 1fr) auto;
    align-items: end;
  }
}

@media (max-width: 940px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid.two {
    grid-template-columns: 1fr;
  }

  .form-grid,
  .inline-fields {
    grid-template-columns: 1fr;
  }

  .inline-fields .ghost {
    width: 100%;
  }

  .backup-target-row,
  .restore-confirm-panel,
  .backups-customer-layout {
    grid-template-columns: 1fr;
  }

  .backup-policy-form {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .backup-policy-form button {
    grid-column: 1 / -1;
  }

  .backup-target-actions {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .backup-restore-form {
    grid-template-columns: 1fr;
  }

  .customer-backup-policy,
  .customer-manual-backup {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1060px) {
  .order-layout {
    grid-template-columns: 1fr;
  }

  .order-sidebar {
    position: static;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
  }

  .services-layout {
    grid-template-columns: 1fr;
  }

  .domains-layout {
    grid-template-columns: 1fr;
  }

  .billing-layout,
  .help-layout {
    grid-template-columns: 1fr;
  }

  .services-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .domains-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .billing-sidebar,
  .help-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .billing-sidebar .quick-actions-panel {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  main {
    width: 100%;
    margin-top: 20px;
    padding: 0 14px;
  }

  .topbar {
    min-height: auto;
    padding: 16px 18px;
    flex-wrap: wrap;
    gap: 14px;
    overflow: hidden;
  }

  .topbar nav {
    order: 3;
    flex: 0 0 100%;
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-top: 4px;
    border-top: 1px solid var(--line);
    scrollbar-width: thin;
  }

  .topbar nav a {
    flex: 0 0 auto;
    text-align: center;
  }

  .topbar-actions {
    order: 2;
    max-width: calc(100% - 166px);
    margin-left: auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
  }

  html[data-theme="dark"] .topbar nav {
    border-top-color: rgba(255, 255, 255, 0.1);
  }

  .user-chip {
    order: 2;
    margin-left: auto;
  }

  .customer-preview-strip {
    padding-inline: 16px;
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .hero-panel {
    grid-template-columns: 1fr;
    padding: 26px;
  }

  .hero-panel .link-button {
    width: 100%;
  }

  .hero-panel h1,
  .account-hero h1 {
    font-size: 34px;
  }

  .page-head-actions,
  .panel-heading {
    align-items: flex-start;
  }

  .order-plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .order-billing-period {
    grid-template-columns: 1fr;
  }

  .payment-options {
    grid-template-columns: 1fr;
  }

  .payment-channel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .order-sidebar {
    grid-template-columns: 1fr;
  }

  .customer-services-head {
    display: none;
  }

  .customer-service-row {
    padding: 16px;
    position: relative;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .customer-service-main {
    padding-right: 90px;
    grid-column: 1 / -1;
  }

  .customer-service-status {
    position: absolute;
    top: 18px;
    right: 16px;
  }

  .customer-service-actions {
    grid-column: 1 / -1;
  }

  .customer-service-actions .link-button {
    width: auto;
  }

  .customer-domains-head {
    display: none;
  }

  .customer-domain-row {
    grid-template-columns: minmax(0, 1.3fr) minmax(100px, 0.7fr) minmax(100px, 0.7fr);
  }

  .customer-domain-name {
    grid-column: 1 / -1;
  }

  .billing-service-head,
  .billing-order-head,
  .support-ticket-head {
    display: none;
  }

  .billing-service-row,
  .billing-order-row,
  .support-ticket-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .billing-service-row .customer-service-main,
  .billing-order-row > div:first-child,
  .support-ticket-main {
    grid-column: 1 / -1;
  }

  .billing-order-amount {
    text-align: left;
  }
}

@media (max-width: 540px) {
  .brand {
    max-width: 150px;
  }

  .payment-method-heading {
    display: block;
  }

  .payment-method-heading > span {
    width: fit-content;
    margin-top: 9px;
    display: block;
  }

  .payment-channel-option {
    min-height: 106px;
    padding-inline: 8px;
  }

  .brand-logo {
    height: 48px;
    max-width: 184px;
  }

  body[data-brand="itprekyba"] .topbar .brand-logo {
    width: 150px;
    height: auto;
    max-width: 150px;
  }

  .brand.big .brand-logo {
    height: 60px;
    max-width: 230px;
  }

  .topbar .ghost {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .page-head,
  .panel,
  .hero-panel,
  .stat,
  .login-card {
    padding: 22px;
  }

  .hero-panel h1 {
    font-size: 31px;
  }

  .user-chip {
    display: none;
  }

  .page-head-actions,
  .panel-heading,
  .verification-notice,
  .account-item,
  .account-item-meta {
    align-items: stretch;
    flex-direction: column;
  }

  .page-head-actions .link-button,
  .verification-notice button {
    width: 100%;
  }

  .account-item-meta {
    justify-content: flex-start;
    text-align: left;
    gap: 8px;
  }

  .details-list > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .form-actions {
    flex-direction: column-reverse;
  }

  .form-actions > * {
    width: 100%;
  }

  .login-page {
    padding: 18px 0;
  }

  .login-card h1 {
    font-size: 27px;
  }

  .order-page-head {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .order-assistant-open {
    width: 100%;
    margin-left: 0;
  }

  .order-head-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    font-size: 24px;
  }

  .order-service-tabs,
  .order-plan-grid {
    grid-template-columns: 1fr 1fr;
  }

  .order-service-tab {
    min-height: 44px;
    font-size: 12px;
  }

  .order-plan-card {
    grid-column: 1 / -1;
    min-height: 0;
  }

  .order-assistant-choice-grid {
    grid-template-columns: 1fr 1fr;
  }

  .order-assistant-question-grid {
    grid-template-columns: 1fr;
  }

  .order-assistant-head,
  .order-assistant-body,
  .order-assistant-actions {
    padding-left: 17px;
    padding-right: 17px;
  }

  .order-assistant-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .order-billing-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-page-head {
    min-height: 0;
    align-items: flex-start;
  }

  .services-head-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    font-size: 22px;
  }

  .service-stats,
  .services-sidebar,
  .domains-sidebar,
  .billing-sidebar,
  .help-sidebar {
    grid-template-columns: 1fr;
  }

  .billing-sidebar .quick-actions-panel {
    grid-column: auto;
  }

  .domains-catalog-heading,
  .domains-toolbar,
  .support-catalog-heading,
  .support-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .domains-catalog-heading .link-button,
  .domain-list-search {
    width: 100%;
  }

  .support-catalog-heading button,
  .support-search {
    width: 100%;
  }

  .domain-filter-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .domain-filter {
    padding: 0 7px;
  }

  .customer-domain-row {
    grid-template-columns: 1fr 1fr;
  }

  .customer-domain-name,
  .customer-domain-row > .link-button {
    grid-column: 1 / -1;
  }

  .customer-domain-row > .link-button {
    width: 100%;
  }

  .billing-service-row,
  .billing-order-row,
  .support-ticket-row {
    grid-template-columns: 1fr;
  }

  .billing-service-row .customer-service-main,
  .billing-order-row > div:first-child,
  .support-ticket-main {
    grid-column: auto;
  }

  .service-stat {
    min-height: 88px;
  }

  .services-catalog {
    padding: 10px;
  }

  .services-filter {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }

  .service-filter {
    width: 100%;
    padding: 0 8px;
  }

  .service-filter:last-child {
    grid-column: 1 / -1;
  }

  .customer-service-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-service-main {
    padding-right: 0;
    grid-column: 1 / -1;
  }

  .customer-service-status {
    position: static;
    grid-column: 1 / -1;
  }

  .customer-service-price,
  .customer-service-actions {
    grid-column: 1 / -1;
  }

  .customer-service-actions .link-button {
    width: 100%;
  }

  .order-domain-input,
  .domain-status {
    grid-template-columns: 1fr;
  }

  .order-domain-input button {
    width: 100%;
  }

  .domain-status-icon {
    width: 30px;
    height: 30px;
  }

  .domain-status-price {
    padding-left: 42px;
  }

  .domain-action-switch {
    width: 100%;
  }

  .domain-action-switch label {
    flex: 1;
  }
}

/* Softer navy dark theme, aligned with the Hostingo mail experience. */
html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea,
html[data-theme="dark"] .domain-list-search input,
html[data-theme="dark"] .domain-filter,
html[data-theme="dark"] .support-search input,
html[data-theme="dark"] .hosting-page-size-form select,
html[data-theme="dark"] .pager-button,
html[data-theme="dark"] .order-assistant-freeform textarea {
  color: #f1f7ff;
  border-color: #466b91;
  background: #1b3d64;
}

html[data-theme="dark"] .order-assistant-dialog {
  border-color: #365a7f;
  background: #16385f;
}

html[data-theme="dark"] .order-assistant-head,
html[data-theme="dark"] .order-assistant-actions,
html[data-theme="dark"] .support-form .support-delivery-note {
  border-color: #365a7f;
  background: #193f69;
}

html[data-theme="dark"] .payment-channel-option.is-disabled {
  color: #b4c7dc;
  background: #183a60;
}

html[data-theme="dark"] .account-item-link:hover {
  background: #214b77;
}

html[data-theme="dark"] .item-icon,
html[data-theme="dark"] .summary-product > span {
  color: #9bcfff;
  background: #214f80;
}

html[data-theme="dark"] .hostingo-chat-launcher {
  border-color: #42698f;
  background: #173b63;
}

/* Complete dark-theme surface and contrast pass. */
html[data-theme="dark"] .order-head-icon,
html[data-theme="dark"] .billing-head-icon,
html[data-theme="dark"] .help-head-icon,
html[data-theme="dark"] .service-stat-icon,
html[data-theme="dark"] .customer-service-icon,
html[data-theme="dark"] .domain-search-glyph {
  color: #8cc5ff !important;
  background: #15375e !important;
}

html[data-theme="dark"] .order-service-tabs,
html[data-theme="dark"] .domain-action-switch {
  background: #0a192d;
}

html[data-theme="dark"] .order-service-tab,
html[data-theme="dark"] .service-filter {
  color: #b9c9dc;
}

html[data-theme="dark"] .order-service-tab > span,
html[data-theme="dark"] .order-service-tab.is-selected > span {
  color: #8dc5ff;
  background: #183653;
}

html[data-theme="dark"] .order-service-tab > span img {
  filter: grayscale(1) brightness(2.2) contrast(.8);
}

html[data-theme="dark"] .order-service-tab:hover,
html[data-theme="dark"] .order-service-tab.is-selected,
html[data-theme="dark"] .service-filter,
html[data-theme="dark"] .domain-action-switch input:checked + span {
  color: #eef6ff;
  border-color: #477cad;
  background: #163656;
  box-shadow: none;
}

html[data-theme="dark"] .order-plan-card,
html[data-theme="dark"] .order-billing-period,
html[data-theme="dark"] .order-billing-option,
html[data-theme="dark"] .payment-option,
html[data-theme="dark"] .payment-channel-option,
html[data-theme="dark"] .service-stat,
html[data-theme="dark"] .customer-service-row,
html[data-theme="dark"] .quick-action,
html[data-theme="dark"] .domain-status,
html[data-theme="dark"] .account-domain-result,
html[data-theme="dark"] .support-ticket-response,
html[data-theme="dark"] .billing-payment-method,
html[data-theme="dark"] .notice,
html[data-theme="dark"] .notice-inline {
  color: var(--text);
  border-color: var(--line);
  background: var(--panel);
  box-shadow: none;
}

html[data-theme="dark"] .order-plan-card:hover,
html[data-theme="dark"] .quick-action:hover,
html[data-theme="dark"] .payment-channel-option:has(input:checked),
html[data-theme="dark"] .payment-option:has(input:checked) {
  border-color: #4a91e5;
  background: #123158;
}

html[data-theme="dark"] .order-billing-option.is-selected {
  color: #f4f9ff;
  border-color: #4a91e5;
  background: #15385f;
}

html[data-theme="dark"] .order-billing-option span,
html[data-theme="dark"] .order-plan-card li,
html[data-theme="dark"] .plan-card-action,
html[data-theme="dark"] .order-field,
html[data-theme="dark"] .payment-fieldset legend,
html[data-theme="dark"] .service-stat strong,
html[data-theme="dark"] .customer-service-main span,
html[data-theme="dark"] .quick-action,
html[data-theme="dark"] .payment-channel-mark {
  color: #dbe7f6;
}

html[data-theme="dark"] .plan-selected-mark {
  border-color: #45617f;
  background: #102944;
}

html[data-theme="dark"] .payment-option.is-disabled,
html[data-theme="dark"] .payment-channel-option.is-disabled {
  color: #9fb0c5;
  background: #0b1b30;
  opacity: .82;
}

html[data-theme="dark"] .payment-channel-media {
  padding: 5px 8px;
  border-radius: 6px;
  background: #edf3fa;
}

html[data-theme="dark"] .payment-method-heading > span {
  color: #82e2b5;
  border-color: #286348;
  background: #113b2d;
}

html[data-theme="dark"] .domain-status-success,
html[data-theme="dark"] .account-domain-result.is-success,
html[data-theme="dark"] .notice.ok,
html[data-theme="dark"] .notice-inline.ok {
  color: #d9ffea;
  border-color: #2d7250;
  background: #103524;
}

html[data-theme="dark"] .domain-status-error,
html[data-theme="dark"] .account-domain-result.is-error,
html[data-theme="dark"] .notice.error {
  color: #ffe2df;
  border-color: #8b4747;
  background: #422126;
}

html[data-theme="dark"] .domain-status-warning,
html[data-theme="dark"] .account-domain-result.is-warning,
html[data-theme="dark"] .notice.warn {
  color: #ffefc8;
  border-color: #816631;
  background: #382e17;
}

html[data-theme="dark"] .account-domain-result > span,
html[data-theme="dark"] .domain-status-icon {
  color: #a9bed6;
  background: #18344f;
}

html[data-theme="dark"] .login-card input,
html[data-theme="dark"] .login-page[data-brand="itprekyba"] .login-card input {
  color: #edf5ff;
  border-color: #4a7097;
  background: #1b3d64;
}

html[data-theme="dark"] .pill {
  color: #c9dcf2;
  background: #18324f;
}

html[data-theme="dark"] .pill.ok {
  color: #b9f4d4;
  background: #15402f;
}

html[data-theme="dark"] .pill.warn {
  color: #ffe5a4;
  background: #453515;
}

.chat-composer { grid-template-columns: 1fr; }
.chat-composer-main { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.chat-attachment-tools { display: flex; align-items: center; gap: 9px; min-width: 0; color: var(--muted); font-size: 10px; }
.chat-attachment-button { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 5px; color: var(--blue-deep); font-weight: 850; cursor: pointer; }
.chat-attachment-button span { font-size: 16px; line-height: 1; }
.chat-attachment-button input { display: none; }
.chat-file-summary { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-files-clear { min-height: auto; margin-left: auto; padding: 2px 4px; border: 0; background: transparent; color: var(--muted); font-size: 9px; box-shadow: none; }
.chat-message-attachments { display: grid !important; gap: 7px; margin-top: 9px !important; }
.chat-message-attachment { display: flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; font-size: 11px; font-weight: 800; }
.chat-message-attachment img { width: 100%; max-width: 260px; max-height: 180px; object-fit: cover; border-radius: 9px; }
.chat-message-attachment span { overflow-wrap: anywhere; }

html[data-theme="dark"] .hosting-accounts-table tr {
  background: var(--panel);
}

html[data-theme="dark"] .domains-toolbar,
html[data-theme="dark"] .support-toolbar,
html[data-theme="dark"] .service-activation-note,
html[data-theme="dark"] .restore-confirm-panel {
  color: var(--text);
  border-color: var(--line);
  background: var(--panel);
}

html[data-theme="dark"] .domain-list-search input,
html[data-theme="dark"] .domain-filter,
html[data-theme="dark"] .support-search input,
html[data-theme="dark"] .hosting-page-size-form select,
html[data-theme="dark"] .pager-button {
  color: var(--text);
  border-color: var(--line);
  background: #0b1c31;
}

html[data-theme="dark"] .domain-filter.is-selected,
html[data-theme="dark"] .pager-button.is-current {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

html[data-theme="dark"] .account-item-link:hover {
  background: #15304e;
}

html[data-theme="dark"] .item-icon,
html[data-theme="dark"] .summary-product > span {
  color: #8cc5ff;
  background: #15375e;
}

@media (max-width: 520px) {
  .chat-composer-main { grid-template-columns: 1fr; }
  .chat-composer-main button { min-height: 42px; }
  .hostingo-chat-popover .chat-composer-main { grid-template-columns: minmax(0, 1fr) auto; }
  .hostingo-chat-popover .chat-composer-main button { min-height: 46px; }
}

/* Hostingo AI and live support chat */
.chat-page-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.chat-page-head .eyebrow { margin: 0 0 6px; color: #1473e6; font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.chat-workspace { display: grid; grid-template-columns: minmax(260px, 330px) minmax(0, 1fr); min-height: 650px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); box-shadow: 0 20px 55px rgba(17, 42, 78, .09); }
.chat-conversation-list { min-width: 0; border-right: 1px solid var(--line); background: color-mix(in srgb, var(--panel) 91%, #eaf3ff); }
.chat-list-heading { display: flex; align-items: center; justify-content: space-between; min-height: 66px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.chat-list-heading span { display: grid; place-items: center; min-width: 28px; height: 28px; border-radius: 999px; background: #e5f1ff; color: #126bd2; font-size: 12px; font-weight: 850; }
.chat-list-item { position: relative; display: grid; width: 100%; gap: 5px; padding: 16px 44px 16px 20px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--text); text-align: left; cursor: pointer; }
.chat-list-item:hover { background: color-mix(in srgb, var(--panel) 72%, #dcecff); }
.chat-list-item.is-active { background: color-mix(in srgb, var(--panel) 60%, #cfe5ff); box-shadow: inset 3px 0 #1473e6; }
.chat-list-item strong { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.chat-list-item span, .chat-list-item small { overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.chat-list-item b { position: absolute; top: 18px; right: 16px; display: grid; width: 22px; height: 22px; place-items: center; border-radius: 999px; background: #1473e6; color: #fff; font-size: 11px; }
.chat-list-empty { padding: 24px 20px; }
.chat-thread-panel { min-width: 0; display: grid; grid-template-rows: auto auto minmax(300px, 1fr) auto auto; background: var(--panel); }
.chat-thread-heading { display: flex; min-height: 66px; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 18px; border-bottom: 1px solid var(--line); }
.chat-thread-heading > div:first-child { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; }
.chat-thread-heading strong { align-self: end; font-size: 14px; }
.chat-thread-heading small { grid-column: 2; color: var(--muted); font-size: 11px; }
.chat-ai-dot { grid-row: 1 / 3; width: 12px; height: 12px; border: 3px solid #d9efff; border-radius: 999px; background: #1687ef; box-shadow: 0 0 0 4px rgba(22, 135, 239, .08); }
.chat-messages { min-height: 0; overflow-y: auto; padding: 24px clamp(16px, 4vw, 46px); background: linear-gradient(180deg, color-mix(in srgb, var(--panel) 92%, #edf6ff), var(--panel)); }
.chat-message { display: grid; width: fit-content; max-width: min(76%, 680px); margin: 0 0 14px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; background: var(--panel); box-shadow: 0 5px 16px rgba(17, 42, 78, .05); }
.chat-message.is-customer { margin-left: auto; border-color: #1473e6; border-radius: 14px 14px 4px 14px; background: #1473e6; color: #fff; }
.chat-message.is-system { max-width: 90%; margin: 15px auto; border-style: dashed; background: color-mix(in srgb, var(--panel) 82%, #e5f1ff); color: var(--muted); text-align: center; }
.chat-message > div { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 5px; }
.chat-message strong, .chat-message time { font-size: 10px; }
.chat-message time { color: var(--muted); }
.chat-message.is-customer time { color: rgba(255,255,255,.72); }
.chat-message p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.55; }
.chat-empty-state { display: grid; min-height: 260px; place-content: center; color: var(--muted); text-align: center; }
.chat-empty-state::before { content: "AI"; display: grid; width: 56px; height: 56px; margin: 0 auto 15px; place-items: center; border-radius: 18px; background: linear-gradient(145deg, #e8f5ff, #cfe7ff); color: #1473e6; font-size: 16px; font-weight: 900; box-shadow: 0 12px 30px rgba(20, 115, 230, .15); }
.chat-empty-state strong { color: var(--text); font-size: 19px; }
.chat-empty-state p { max-width: 390px; margin: 7px 0 0; }
.chat-composer { display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; padding: 14px 18px 8px; border-top: 1px solid var(--line); background: var(--panel); }
.chat-composer-main { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; gap: 9px; min-width: 0; }
.chat-composer textarea { width: 100%; min-width: 0; min-height: 54px; max-height: 140px; resize: vertical; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--text); font: inherit; padding: 13px 14px; }
.chat-composer textarea:focus { outline: 3px solid rgba(20, 115, 230, .12); border-color: #1473e6; }
.chat-composer-main > button[type="submit"] { display: inline-flex; min-width: 86px; min-height: 54px; align-items: center; justify-content: center; align-self: stretch; padding: 0 17px; border-radius: 12px; background: linear-gradient(135deg, #1473e6, #69a3ff); box-shadow: 0 9px 22px rgba(20, 115, 230, .24); }
.chat-composer-main > button[type="submit"]:hover { filter: brightness(1.06); transform: translateY(-1px); }
.chat-attachment-tools { width: 100%; padding-top: 1px; }
.chat-attachment-button { min-height: 32px; padding: 5px 10px 5px 7px; border: 1px solid var(--line); border-radius: 9px; background: color-mix(in srgb, var(--panel) 84%, var(--blue) 16%); }
.chat-attachment-button span { display: grid; width: 20px; height: 20px; place-items: center; border-radius: 7px; background: color-mix(in srgb, var(--blue) 14%, transparent); color: var(--blue); font-size: 14px; }
.chat-composer.is-busy::after { content: "Hostingo AI ruošia atsakymą…"; grid-column: 1 / -1; color: var(--muted); font-size: 11px; }
.chat-privacy-note { margin: 0; padding: 3px 18px 12px; color: var(--muted); font-size: 10px; }
.chat-inline-error { margin: 8px auto; padding: 9px 12px; border-radius: 8px; background: #fff0ee; color: #a3362d; font-size: 12px; }
.chat-customer-context { padding: 9px 18px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--panel) 86%, #e5f1ff); color: var(--muted); font-size: 11px; }
.chat-admin-filters { display: flex; gap: 6px; overflow-x: auto; padding: 13px 12px; border-bottom: 1px solid var(--line); }
.chat-admin-filters button { padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--muted); font-size: 11px; font-weight: 750; cursor: pointer; }
.chat-admin-filters button.is-active { border-color: #1473e6; background: #e8f3ff; color: #126bd2; }

.hostingo-chat-widget { position: fixed; right: 22px; bottom: 22px; z-index: 120; }
.hostingo-chat-widget.is-left { right: auto; left: 22px; }
.hostingo-chat-widget.is-right { right: 22px; left: auto; }
.hostingo-chat-launcher { display: flex; align-items: center; gap: 10px; min-width: 215px; padding: 7px 14px 7px 7px; border: 1px solid #c9ddf5; border-radius: 999px; background: #fff; color: #102746; box-shadow: 0 14px 40px rgba(12, 42, 82, .19); cursor: pointer; user-select: none; }
.hostingo-chat-drag-hint { display: none; color: #8ba0b7; font-size: 10px; letter-spacing: -2px; }
.hostingo-chat-launcher img { width: 48px; height: 48px; object-fit: contain; border-radius: 999px; background: #edf6ff; }
.hostingo-chat-launcher span { display: grid; text-align: left; }
.hostingo-chat-launcher strong { font-size: 13px; }
.hostingo-chat-launcher small { margin-top: 2px; color: #65758a; font-size: 10px; }
.hostingo-chat-popover { position: absolute; right: 0; bottom: 68px; width: min(390px, calc(100vw - 28px)); height: min(610px, calc(100vh - 104px)); grid-template-rows: auto auto minmax(250px, 1fr) auto auto auto; overflow: hidden; border: 1px solid #c9ddf5; border-radius: 17px; background: var(--panel); box-shadow: 0 24px 70px rgba(8, 33, 70, .24); }
.hostingo-chat-widget.is-left .hostingo-chat-popover { right: auto; left: 0; }
.hostingo-chat-widget.opens-down .hostingo-chat-popover { top: 68px; bottom: auto; }
.hostingo-chat-popover:not([hidden]) { display: grid; }
.hostingo-chat-popover .chat-thread-heading { min-height: 54px; gap: 10px; padding: 8px 11px 8px 13px; }
.hostingo-chat-popover .chat-thread-heading strong { font-size: 13px; }
.hostingo-chat-popover .chat-thread-heading small { font-size: 10px; }
.chat-context-strip { display: grid; gap: 3px; padding: 8px 12px 7px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--panel) 88%, #ddecff); }
.chat-context-strip > span { color: var(--blue-deep); font-size: 10px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.chat-context-strip p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.35; }
.chat-context-strip > div { display: flex; gap: 5px; overflow-x: auto; padding-top: 2px; scrollbar-width: thin; }
.chat-context-strip button { flex: 0 0 auto; min-height: 26px; padding: 3px 8px; border: 1px solid color-mix(in srgb, var(--line) 78%, var(--blue)); border-radius: 999px; background: var(--panel); color: var(--text); font-size: 9px; font-weight: 780; cursor: pointer; }
.chat-context-strip button:hover { border-color: var(--blue); color: var(--blue-deep); }
.hostingo-chat-popover .chat-messages { padding: 14px; }
.hostingo-chat-popover .chat-empty-state::before { content: ""; width: 72px; height: 72px; border-radius: 22px; background-color: #e7f3ff; background-image: url('/assets/hugo/Hugo_preview_v2.png'); background-repeat: no-repeat; background-position: center; background-size: 88px auto; }
.hostingo-chat-popover .chat-message { max-width: 88%; }
.hostingo-chat-popover .chat-message { margin-bottom: 10px; padding: 9px 11px; }
.hostingo-chat-popover .chat-message p { font-size: 13px; line-height: 1.45; }
.hostingo-chat-popover .chat-composer { gap: 6px; padding: 8px 10px 4px; }
.hostingo-chat-popover .chat-composer-main { gap: 7px; }
.hostingo-chat-popover .chat-composer textarea { min-height: 46px; max-height: 112px; padding: 10px 11px; border-radius: 10px; font-size: 13px; }
.hostingo-chat-popover .chat-composer-main > button[type="submit"] { min-width: 72px; min-height: 46px; padding: 0 13px; border-radius: 10px; font-size: 13px; }
.hostingo-chat-popover .chat-attachment-tools { gap: 7px; font-size: 9px; }
.hostingo-chat-popover .chat-attachment-button { min-height: 28px; padding: 3px 8px 3px 6px; }
.hostingo-chat-popover .chat-attachment-button span { width: 18px; height: 18px; }
.hostingo-chat-popover .chat-privacy-note { padding: 1px 10px 7px; font-size: 9px; }
.chat-widget-close { display: grid; width: 30px; height: 30px; min-height: 30px; place-items: center; padding: 0; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; }
.chat-widget-close:hover { border-color: var(--line); background: color-mix(in srgb, var(--panel) 78%, var(--blue) 22%); color: var(--blue); }
.chat-dock-controls { display: flex; align-items: center; gap: 2px; }
.chat-dock-controls > button:not(.chat-widget-close) { display: grid; width: 30px; height: 30px; min-height: 30px; place-items: center; padding: 0; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--muted); box-shadow: none; cursor: pointer; }
.chat-dock-controls > button:not(.chat-widget-close):hover,
.chat-dock-controls > button:not(.chat-widget-close)[aria-pressed="true"] { border-color: var(--line); background: color-mix(in srgb, var(--panel) 78%, var(--blue) 22%); color: var(--blue); }
.chat-human-link { justify-self: center; margin: 7px 0 0; border: 0; background: transparent; color: #1473e6; font-size: 11px; font-weight: 800; cursor: pointer; }

html[data-theme="dark"] .chat-list-heading span,
html[data-theme="dark"] .chat-admin-filters button.is-active { background: #153b66; color: #8dcaff; }
html[data-theme="dark"] .chat-message.is-customer { background: #176bc2; }
html[data-theme="dark"] .chat-inline-error { background: #4a2729; color: #ffc4bf; }
html[data-theme="dark"] .hostingo-chat-launcher { border-color: #294c75; background: #10243d; color: #f7fbff; }
html[data-theme="dark"] .hostingo-chat-launcher small { color: #b7c8db; }

@media (max-width: 760px) {
  .chat-page-head { align-items: stretch; flex-direction: column; }
  .chat-workspace { grid-template-columns: 1fr; min-height: 720px; }
  .chat-conversation-list { max-height: 230px; overflow-y: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .chat-message { max-width: 88%; }
  .hostingo-chat-widget { right: 12px; bottom: 12px; }
  .hostingo-chat-widget.is-left, .hostingo-chat-widget.is-right { right: 12px; left: auto; }
  .hostingo-chat-launcher { min-width: 0; padding: 5px; }
  .hostingo-chat-launcher img { width: 46px; height: 46px; }
  .hostingo-chat-launcher span { display: none; }
  .hostingo-chat-popover { bottom: 62px; }
  .hostingo-chat-widget.opens-down .hostingo-chat-popover { top: auto; bottom: 62px; }
  .chat-dock-controls > button:not(.chat-widget-close) { display: none; }
}

@media (min-width: 761px) {
  .hostingo-chat-launcher { cursor: grab; touch-action: none; }
  .hostingo-chat-widget.is-dragging .hostingo-chat-launcher { cursor: grabbing; }
  .hostingo-chat-launcher:hover .hostingo-chat-drag-hint { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  .hostingo-chat-widget *, .hostingo-chat-widget *::before, .hostingo-chat-widget *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

html[data-theme="dark"] .order-assistant-dialog {
  color: #f4f8ff;
  border-color: #29415f;
  background: #0d1b2f;
}

html[data-theme="dark"] .order-assistant-head {
  border-bottom-color: #29415f;
  background: linear-gradient(135deg, #102a4b, #112139);
}

html[data-theme="dark"] .order-assistant-close,
html[data-theme="dark"] .order-assistant-choice-grid label > span,
html[data-theme="dark"] .compact-options label > span {
  color: #dce8f8;
  border-color: #2b4567;
  background: #13243b;
}

html[data-theme="dark"] .order-assistant-freeform textarea {
  color: #edf5ff;
  border-color: #2b4567;
  background: #0b192c;
}

html[data-theme="dark"] .order-assistant-choice-grid input:checked + span,
html[data-theme="dark"] .compact-options input:checked + span {
  color: #9cc9ff;
  border-color: #438de8;
  background: #15345c;
}

html[data-theme="dark"] .order-assistant-result {
  border-color: #356da9;
  background: #102d50;
}

html[data-theme="dark"] .order-assistant-actions,
html[data-theme="dark"] .support-form .support-delivery-note {
  border-color: #29415f;
  background: #102036;
}

@media (max-width: 1180px) {
  .grid.two.customers-layout {
    grid-template-columns: 1fr;
  }

  .customers-layout > .form {
    max-width: 620px;
  }

  .hosting-accounts-layout {
    grid-template-columns: 1fr;
  }

.hosting-account-create-panel {
    max-width: 560px;
  }
}

/* Keep the infrastructure guardian card legible after the shared .panel rule. */
.panel.server-coming-soon {
  overflow: hidden;
  background: radial-gradient(circle at 84% 48%, rgba(35, 128, 238, .32), transparent 25%), linear-gradient(135deg, #071a38, #0b397a);
  color: #fff;
}
.panel.server-coming-soon h2 { color: #fff; }
.panel.server-coming-soon .eyebrow { color: #76baff; }
.panel.server-coming-soon p:not(.eyebrow) { color: #c6d8f1; }

@media (max-width: 760px) {
  .hosting-list-toolbar {
    align-items: flex-start;
  }

  .hosting-result-count {
    width: 100%;
    order: 3;
  }

  .hosting-accounts-table,
  .hosting-accounts-table tbody,
  .hosting-accounts-table tr,
  .hosting-accounts-table td {
    display: block;
    width: 100%;
  }

  .hosting-accounts-table thead {
    display: none;
  }

  .hosting-accounts-table tbody {
    display: grid;
    gap: 12px;
  }

  .hosting-accounts-table tr {
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fff;
  }

  .hosting-accounts-table td {
    min-width: 0;
    padding: 7px 0;
    border: 0;
  }

  .hosting-accounts-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
  }

  .hosting-account-actions {
    max-width: 320px;
    flex-direction: row;
  }

  .hosting-account-actions button,
  .hosting-account-actions .secondary-link {
    flex: 1 1 0;
  }

  .pager-button {
    width: 31px;
    height: 31px;
    flex-basis: 31px;
  }
}

@media (max-width: 540px) {
  .hosting-list-toolbar,
  .hosting-page-size-form {
    width: 100%;
  }

  .pager {
    width: 100%;
  }

  .hosting-account-actions {
    max-width: none;
    flex-direction: column;
  }
}

/* Final dark surface palette: deep blue rather than near-black. */
html[data-theme="dark"] .order-service-tabs,
html[data-theme="dark"] .domain-action-switch,
html[data-theme="dark"] .chat-conversation-list {
  background: #123259;
}

html[data-theme="dark"] .order-service-tab:hover,
html[data-theme="dark"] .order-service-tab.is-selected,
html[data-theme="dark"] .service-filter,
html[data-theme="dark"] .domain-action-switch input:checked + span,
html[data-theme="dark"] .billing-period-option:hover,
html[data-theme="dark"] .billing-period-option.is-selected,
html[data-theme="dark"] .chat-list-item:hover,
html[data-theme="dark"] .chat-list-item.is-active {
  color: #f3f8ff;
  border-color: #527da8;
  background: #214b77;
}

html[data-theme="dark"] .plan-option,
html[data-theme="dark"] .payment-channel-option,
html[data-theme="dark"] .service-stat,
html[data-theme="dark"] .customer-service-row,
html[data-theme="dark"] .quick-action-link,
html[data-theme="dark"] .chat-message,
html[data-theme="dark"] .chat-thread-panel {
  border-color: var(--line);
  background: var(--panel);
}

html[data-theme="dark"] .chat-messages {
  background: linear-gradient(180deg, #123259, #16385f);
}

html[data-theme="dark"] .chat-message.is-system,
html[data-theme="dark"] .chat-customer-context {
  background: #1a426d;
}

html[data-theme="dark"] .order-head-icon,
html[data-theme="dark"] .billing-head-icon,
html[data-theme="dark"] .help-head-icon,
html[data-theme="dark"] .service-stat-icon,
html[data-theme="dark"] .customer-service-icon,
html[data-theme="dark"] .domain-search-glyph,
html[data-theme="dark"] .order-service-tab > span,
html[data-theme="dark"] .order-service-tab.is-selected > span {
  color: #a5d5ff !important;
  background: #214f80 !important;
}

html[data-theme="dark"] .login-card,
html[data-theme="dark"] .login-page[data-brand="itprekyba"] .login-card {
  background: rgba(18, 45, 78, .97);
}

/* Free website and mailbox migration centre. */
.migration-page-head {
  position: relative;
  overflow: hidden;
}

.migration-page-head::after {
  content: "";
  position: absolute;
  inset: auto -70px -110px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--blue) 18%, transparent);
  filter: blur(18px);
  pointer-events: none;
}

.migration-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.migration-ai-planner {
  position: relative;
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) minmax(210px, auto);
  gap: 22px;
  align-items: center;
  margin: 18px 0;
  padding: 20px 22px;
  overflow: hidden;
  border: 1px solid #bcd6fb;
  border-radius: 18px;
  background: linear-gradient(120deg, #eff7ff 0%, #fff 58%, #e8f3ff 100%);
  box-shadow: var(--shadow);
}
.migration-ai-planner::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 250px; height: 250px; border-radius: 50%; background: color-mix(in srgb, var(--blue) 14%, transparent); filter: blur(10px); pointer-events: none; }
.migration-ai-planner img { position: relative; z-index: 1; width: 108px; max-height: 128px; object-fit: contain; }
.migration-ai-planner h2 { margin: 2px 0 7px; font-size: 22px; }
.migration-ai-planner p:last-child { max-width: 760px; margin: 0; color: var(--muted); line-height: 1.55; }
.migration-ai-actions { position: relative; z-index: 1; display: grid; gap: 8px; }
.migration-ai-actions button { min-height: 42px; }
.migration-hugo-question { width: 100%; margin-top: 14px; padding: 10px 12px; border: 1px solid color-mix(in srgb, var(--blue) 35%, var(--line)); border-radius: 10px; color: var(--blue-deep); background: color-mix(in srgb, var(--blue) 7%, var(--panel)); font-weight: 800; cursor: pointer; }
.migration-hugo-question:hover { border-color: var(--blue); background: color-mix(in srgb, var(--blue) 12%, var(--panel)); }
html[data-theme="dark"] .migration-ai-planner { border-color: #315a89; background: linear-gradient(120deg, #102a4b, #10233d 60%, #123154); }
html[data-theme="dark"] .migration-ai-planner h2 { color: #f7fbff; }
html[data-theme="dark"] .migration-ai-planner p:last-child { color: #bfd0e6; }

.migration-benefits article,
.migration-request-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.migration-benefits article > strong {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #6aaeff);
}

.migration-benefits h2,
.migration-request-card h3 {
  margin: 0 0 7px;
  font-size: 18px;
}

.migration-benefits p,
.migration-request-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.migration-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .72fr);
  align-items: start;
  gap: 18px;
}

.migration-layout > aside,
.migration-request-list,
.admin-migration-list {
  display: grid;
  gap: 14px;
}

.migration-form {
  display: grid;
  gap: 18px;
}

.migration-form fieldset {
  display: grid;
  gap: 13px;
  min-width: 0;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--panel) 94%, var(--blue) 6%);
}

.migration-form legend {
  padding: 0 7px;
  color: var(--text);
  font-weight: 800;
}

.migration-type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.migration-type-grid label {
  position: relative;
  cursor: pointer;
}

.migration-type-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.migration-type-grid span {
  display: grid;
  gap: 5px;
  min-height: 86px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}

.migration-type-grid input:checked + span {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--blue) 20%, transparent);
}

.migration-type-grid small,
.credential-note {
  color: var(--muted);
}

.migration-form details {
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 13px;
}

.migration-form summary {
  cursor: pointer;
  color: var(--blue-deep);
  font-weight: 800;
}

.migration-details-grid {
  display: grid;
  gap: 13px;
  margin-top: 14px;
}

.migration-security ul {
  padding-left: 0;
  list-style: none;
}

.migration-request-list > h2 {
  margin: 6px 0 0;
}

.migration-request-card {
  box-shadow: none;
}

.migration-request-card dl,
.admin-migration-card dl {
  display: grid;
  gap: 10px;
  margin: 15px 0 0;
}

.migration-request-card dl > div,
.admin-migration-card dl > div {
  display: grid;
  grid-template-columns: minmax(90px, .55fr) minmax(0, 1fr);
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.migration-request-card dt,
.admin-migration-card dt {
  color: var(--muted);
  font-size: 12px;
}

.migration-request-card dd,
.admin-migration-card dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.admin-migration-card > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.admin-migration-card h2 {
  margin: 9px 0 4px;
}

.admin-migration-card header p {
  margin: 0;
  color: var(--muted);
}

.admin-migration-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 22px;
  margin-top: 18px;
}

.admin-migration-grid form {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: color-mix(in srgb, var(--panel) 92%, var(--blue) 8%);
}

html[data-theme="dark"] .migration-benefits article,
html[data-theme="dark"] .migration-request-card,
html[data-theme="dark"] .migration-form fieldset,
html[data-theme="dark"] .migration-type-grid span,
html[data-theme="dark"] .admin-migration-grid form {
  background: #183d67;
}

@media (max-width: 920px) {
  .migration-layout,
  .admin-migration-grid {
    grid-template-columns: 1fr;
  }

  .migration-ai-planner { grid-template-columns: 90px minmax(0, 1fr); }
  .migration-ai-planner img { width: 86px; }
  .migration-ai-actions { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .migration-benefits {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .migration-type-grid,
  .migration-form .form-grid {
    grid-template-columns: 1fr;
  }

  .admin-migration-card > header {
    display: grid;
  }

  .migration-ai-planner { grid-template-columns: 1fr; text-align: center; }
  .migration-ai-planner img { margin: 0 auto; }
  .migration-ai-actions { grid-column: auto; grid-template-columns: 1fr; }
}
/* Hostingo AI site builder */
.site-builder-head{background:linear-gradient(120deg,#15325b,#154b91 62%,#2376df);}
.builder-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:18px}.builder-steps article{display:grid;grid-template-columns:44px 1fr;gap:2px 14px;padding:20px;border:1px solid var(--border);border-radius:16px;background:var(--panel)}.builder-steps article>span{grid-row:1/3;display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--accent);color:#fff;font-weight:800}.builder-steps strong{font-size:1rem}.builder-steps small{color:var(--muted)}
.builder-service-selector{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:18px}.builder-service-selector label{flex:1}.builder-service-selector select{margin-top:8px}.builder-service-selector>div{display:flex;flex-direction:column;min-width:280px}.builder-service-selector>div span{color:var(--muted)}
.builder-payment,.builder-preview-card{display:flex;align-items:center;justify-content:space-between;gap:26px;margin-bottom:18px;padding:26px;border:1px solid var(--border);border-radius:18px;background:var(--panel)}.builder-payment-actions,.builder-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.builder-payment-note{flex-basis:100%;max-width:520px;color:var(--muted);line-height:1.45}.payment-coming-soon{display:inline-flex;align-items:center;min-height:42px;padding:0 14px;border:1px dashed var(--border);border-radius:10px;color:var(--muted);font-size:.84rem;font-weight:700}.site-builder-head-badges{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.builder-preview-card h2{margin:.65rem 0 .2rem}.builder-credit-summary{display:flex;flex-direction:column;min-width:180px;padding:18px;border-radius:14px;background:var(--panel-strong);text-align:center}.builder-credit-summary strong{font-size:2rem;color:var(--accent-soft)}.builder-credit-summary span,.builder-credit-summary small{color:var(--muted)}
.builder-form-shell{margin-bottom:30px}.builder-form textarea{resize:vertical}.builder-upload{display:grid;grid-template-columns:1fr auto;gap:12px 20px;align-items:center;padding:18px;border:1px dashed var(--border-strong);border-radius:14px;background:var(--panel-strong)}.builder-upload>div{display:flex;flex-direction:column}.builder-upload span,.builder-upload output{color:var(--muted)}.builder-upload output{grid-column:1/-1;min-height:1.3em}.builder-form .form-actions{margin-top:18px}
@media(max-width:900px){.builder-steps{grid-template-columns:1fr}.builder-service-selector,.builder-payment,.builder-preview-card{align-items:stretch;flex-direction:column}.builder-service-selector>div{min-width:0}.builder-payment-actions form,.builder-payment-actions button{width:100%}}

.builder-credit-summary a {
  margin-top: 10px;
  color: var(--accent-soft);
  font-weight: 800;
  text-decoration: none;
}

.builder-credit-pack-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0;
}

.builder-credit-pack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.builder-credit-pack > strong {
  font-size: 2rem;
  color: var(--text);
}

.builder-credit-pack > small {
  color: var(--muted);
}

.builder-credit-pack .builder-payment-actions {
  display: grid;
  width: 100%;
  margin-top: auto;
}

.builder-credit-pack form,
.builder-credit-pack button {
  width: 100%;
}

.builder-credit-balance {
  display: grid;
  min-width: 170px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--panel) 88%, var(--blue) 12%);
  text-align: center;
}

.builder-credit-balance strong {
  font-size: 2.2rem;
  color: var(--text);
}

.builder-credit-balance span {
  color: var(--muted);
}

.site-project-filter {
  display: grid;
  grid-template-columns: minmax(260px, 2fr) repeat(3, minmax(130px, .75fr)) auto;
  align-items: end;
  gap: 14px;
  margin-bottom: 16px;
}

.site-project-filter button {
  min-height: 46px;
}

@media (max-width: 900px) {
  .builder-credit-pack-grid { grid-template-columns: 1fr; }
  .builder-credit-balance { min-width: 0; }
  .site-project-filter { grid-template-columns: 1fr; }
}

/* Readable desktop density for the customer and administration workspaces. */
@media (min-width: 901px) {
  main {
    font-size: 16px;
  }

  .page-head p,
  .hero-panel p,
  .panel > p,
  .panel-heading p,
  .services-page-head p {
    font-size: 15px;
  }

  .page-head h1,
  .services-page-head h1 {
    font-size: 30px;
  }

  .panel h2,
  .quick-actions-panel h2,
  .account-status-panel h2 {
    font-size: 18px;
  }

  main label,
  main input,
  main select,
  main textarea,
  main button,
  main .link-button {
    font-size: 14px;
  }

  main input,
  main select,
  main textarea {
    line-height: 1.45;
  }

  main table {
    font-size: 14px;
  }

  .service-stat strong {
    font-size: 14px;
  }

  .service-stat b {
    font-size: 25px;
  }

  .service-stat small {
    font-size: 12px;
  }

  .service-filter,
  .domain-filter {
    font-size: 13px;
  }

  .customer-services-head,
  .customer-domains-head {
    font-size: 11px;
  }

  .customer-service-main strong {
    font-size: 14px;
  }

  .customer-service-main span,
  .customer-domain-name strong,
  .customer-domain-meta strong {
    font-size: 12px;
  }

  .customer-service-main small,
  .customer-service-info span,
  .customer-service-billing span,
  .customer-service-price small,
  .customer-domain-name small,
  .customer-domain-meta span {
    font-size: 11px;
  }

  .customer-service-info strong,
  .customer-service-billing strong {
    font-size: 12px;
  }

  .customer-service-price strong {
    font-size: 14px;
  }

  .customer-service-actions .link-button,
  .customer-domain-row > .link-button {
    min-height: 38px;
    font-size: 12px;
  }

  .quick-action {
    min-height: 48px;
    font-size: 12px;
  }

  .account-status-item strong {
    font-size: 13px;
  }

  .account-status-item small,
  .domains-catalog-heading p,
  .account-domain-search-panel > p {
    font-size: 11.5px;
  }

  .pill,
  .badge,
  .status-badge,
  .eyebrow {
    font-size: 12px;
  }
}
