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

.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: 72px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 26px;
  color: #fff;
  background: rgba(2, 8, 20, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: #fff;
  line-height: 1;
  white-space: nowrap;
  flex: 0 0 auto;
}

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

.brand.big .brand-logo {
  height: 44px;
  max-width: 206px;
}

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

.topbar nav a {
  color: rgba(255, 255, 255, 0.75);
  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: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.user-chip {
  max-width: 210px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 750;
}

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: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.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: 18px;
  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: 50px;
  display: flex;
  align-items: baseline;
  gap: 5px;
}

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

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

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

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

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

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

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

.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-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: 999px;
  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: 28px 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(135deg, #06101f, #020814 66%, #082256);
  background-size: 44px 44px, 44px 44px, auto;
}

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

.login-card {
  width: calc(100% - 32px);
  max-width: 450px;
  display: grid;
  gap: 16px;
  padding: 30px;
  border-radius: 8px;
  background: rgba(7, 17, 31, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  box-shadow: 0 26px 74px rgba(0, 0, 0, 0.34);
}

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

.login-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.login-card label {
  color: rgba(255, 255, 255, 0.9);
}

.login-card input {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.18);
}

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

.auth-submit {
  width: 100%;
}

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

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

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

.auth-notice.ok {
  color: #b7f1cd;
  background: rgba(19, 138, 71, 0.18);
  border-color: rgba(70, 195, 122, 0.32);
}

.optional,
.field-hint {
  color: rgba(255, 255, 255, 0.56);
  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);
}

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

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

.auth-footer {
  margin: 0;
  color: rgba(255, 255, 255, 0.54);
  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;
}

@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 rgba(255, 255, 255, 0.1);
    scrollbar-width: thin;
  }

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

  .topbar form {
    margin-left: auto;
  }

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

  .topbar form {
    order: 2;
    margin-left: 0;
  }

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

  .payment-options {
    grid-template-columns: 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;
  }

  .brand-logo {
    height: 32px;
    max-width: 150px;
  }

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

  .brand.big .brand-logo {
    height: 40px;
    max-width: 190px;
  }

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

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