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

/* 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 250px;
  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: 22px;
  bottom: 0;
  width: 205px;
  height: 205px;
  overflow: hidden;
}

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

.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; }

.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; }
.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; }

.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.contabo { background: #ed6639; }
.provider-logo.ovh { background: #102d70; }
.provider-overview-card dl { display: grid; grid-template-columns: repeat(3, 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; }
.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; }
  .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) {
  .admin-mode-badge { display: none; }
  .hugo-assistant-card { padding: 210px 20px 22px; }
  .hugo-avatar { left: 50%; transform: translateX(-50%); }
  .hugo-assistant-actions { width: 100%; }
  .customer-server-card { grid-template-columns: 44px 1fr; padding: 18px; }
  .customer-server-card dl { grid-template-columns: repeat(2, 1fr); }
  .customer-server-card > .link-button { grid-column: 1 / -1; }
  .server-coming-soon { grid-template-columns: 1fr; }
  .server-coming-soon > span { display: none; }
  .provider-overview-grid, .infrastructure-stats { 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 { 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);
}

* {
  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;
  color: var(--text);
  background:
    linear-gradient(180deg, #f8fbff 0, var(--bg) 260px),
    var(--bg);
  overflow-x: hidden;
}

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

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

main {
  width: 100%;
  max-width: 1180px;
  margin: 28px auto 64px;
  padding: 0 18px;
}

.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-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-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.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: var(--blue-deep);
  background: #eaf2ff;
  font-size: 21px;
}

.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-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: #263449;
}

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

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(180px, 1fr) auto minmax(180px, auto);
  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;
}

.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;
}

.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: 1460px;
}

.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-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(2, 8, 20, 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:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    #041020;
  background-size: 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(7, 17, 31, 0.96);
  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%;
  }
}

@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 {
    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;
  }

  .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-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;
  }
}

@media (max-width: 1180px) {
  .hosting-accounts-layout {
    grid-template-columns: 1fr;
  }

  .hosting-account-create-panel {
    max-width: 560px;
  }
}

@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;
  }
}
