/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[3]!./src/app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
:root {
  --bg: #f5f1e8;
  --card: #fffaf2;
  --line: #d9cfbd;
  --text: #1f2520;
  --muted: #5c645c;
  --accent: #1d6b57;
  --accent-2: #b46a34;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(180, 106, 52, 0.16), transparent 28%),
    linear-gradient(180deg, #f7f3eb 0%, #efe7d9 100%);
  font-family: Georgia, "Times New Roman", serif;
}

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

.layout {
  min-height: 100vh;
  padding: 32px;
}

.shell {
  width: min(1680px, 100%);
  margin: 0 auto;
}

.app-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  grid-gap: 24px;
  gap: 24px;
}

.hero {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.9);
  box-shadow: 0 24px 60px rgba(73, 57, 41, 0.1);
}

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

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.hero p {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 16px;
  gap: 16px;
  margin-top: 24px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-gap: 16px;
  gap: 16px;
  margin-top: 24px;
}

.card {
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--card);
}

.dashboard-card {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
  grid-column: span 4;
}

.dashboard-card-wide {
  grid-column: span 8;
}

.dashboard-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.dashboard-card-head p {
  margin: 8px 0 0;
  color: var(--muted);
}

.dashboard-select-field {
  min-width: 220px;
}

.dashboard-server-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 12px;
  gap: 12px;
}

.dashboard-kpi {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 251, 245, 0.84);
}

.dashboard-kpi strong,
.dashboard-peer-row strong,
.dashboard-stats-list strong {
  font-size: 1.05rem;
}

.dashboard-kpi small,
.dashboard-peer-row small {
  color: var(--muted);
}

.dashboard-stats-list {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.dashboard-stats-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(217, 207, 189, 0.5);
}

.dashboard-peers-list {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}

.dashboard-servers-list {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}

.dashboard-peer-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(217, 207, 189, 0.5);
}

.dashboard-server-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(217, 207, 189, 0.5);
}

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

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

.panel-card {
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.92);
}

.eyebrow {
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}

.metric {
  margin-top: 12px;
  font-size: 2rem;
  color: var(--accent);
}

.section {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.8);
}

.api-status {
  margin-top: 12px;
  color: var(--accent);
  font-weight: 700;
}

.sidebar {
  display: grid;
  align-content: start;
  grid-gap: 18px;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.92);
  height: -moz-fit-content;
  height: fit-content;
  position: -webkit-sticky;
  position: sticky;
  top: 24px;
}

.sidebar-backdrop {
  display: none;
}

.brand-block h1,
.page-header h2,
.auth-card h2,
.server-card h3,
.job-card h3 {
  margin: 6px 0 0;
}

.server-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.country-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  font-size: 1.1rem;
  line-height: 1;
  cursor: help;
}

.server-cell-with-flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-list {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.sidebar-section {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(217, 207, 189, 0.9);
  background: rgba(255, 251, 245, 0.76);
}

.sidebar-section-brand {
  gap: 18px;
}

.sidebar-extra {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}

.sidebar-panel {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  padding: 0;
}

.sidebar-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.sidebar-panel .eyebrow {
  display: inline-block;
  padding-bottom: 2px;
}

.nav-group {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.nav-link {
  padding: 10px 12px;
  border: 1px solid transparent;
  color: var(--muted);
}

.nav-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.nav-sublist {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  padding-left: 14px;
}

.nav-sublink {
  font-size: 0.96rem;
}

.nav-caret {
  color: var(--accent);
  font-size: 1rem;
}

.nav-link.active {
  border-color: var(--line);
  background: var(--card);
  color: var(--text);
}

.content-panel {
  position: relative;
  display: grid;
  align-content: start;
  grid-gap: 20px;
  gap: 20px;
  min-width: 0;
}

.content-topbar {
  position: absolute;
  top: 8px;
  right: 0;
  z-index: 5;
  display: flex;
  justify-content: flex-end;
}

.mobile-nav-button {
  display: none;
}

.mobile-shell-bar {
  display: none;
}

.desktop-logout-button {
  display: inline-flex;
}

.auth-shell {
  display: flex;
  justify-content: center;
  padding-top: 64px;
}

.auth-card {
  width: min(520px, 100%);
  display: grid;
  grid-gap: 14px;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.95);
}

.field {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.field input,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  background: #fffdf8;
  padding: 11px 12px;
  font: inherit;
  color: var(--text);
}

.textarea-input {
  width: 100%;
  min-height: 140px;
  border: 1px solid var(--line);
  background: #fffdf8;
  padding: 11px 12px;
  font: inherit;
  color: var(--text);
  resize: vertical;
}

.password-field {
  position: relative;
}

.toggle-visibility {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--muted);
  padding: 0 12px;
  font: inherit;
  cursor: pointer;
}

.password-field input {
  padding-right: 52px;
}

.icon-toggle {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  font-size: 1rem;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--line);
  padding: 11px 14px;
  line-height: 1;
  font: inherit;
  cursor: pointer;
}

.primary-button {
  background: var(--accent);
  color: #fff7eb;
  border-color: var(--accent);
}

.secondary-button {
  background: var(--card);
  color: var(--text);
}

.secondary-button.is-selected {
  background: rgba(29, 107, 87, 0.12);
  border-color: rgba(29, 107, 87, 0.38);
  color: var(--accent);
}

.settings-form {
  display: grid;
  grid-gap: 18px;
  gap: 18px;
}

.settings-module {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
}

.settings-module-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.settings-module-head h3 {
  margin: 6px 0 0;
}

.settings-module-head p {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 760px;
}

.settings-module-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.settings-status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: rgba(255, 251, 245, 0.84);
  color: var(--muted);
  white-space: nowrap;
}

.settings-module-note {
  margin: -4px 0 0;
  color: var(--muted);
}

.settings-level-help {
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: rgba(255, 251, 245, 0.84);
  color: var(--muted);
  line-height: 1.6;
}

.settings-web-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 12px;
  gap: 12px;
}

.settings-web-status-item {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: rgba(255, 251, 245, 0.84);
}

.settings-web-status-item span {
  color: var(--muted);
}

.settings-web-status-item strong {
  color: var(--text);
}

.settings-submit-row {
  display: flex;
  justify-content: flex-end;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding-right: 108px;
}

.page-header-with-fixed-action {
  padding-right: 216px;
}

.page-action-fixed {
  position: absolute;
  top: 8px;
  right: 98px;
  z-index: 5;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(320px, 420px) 1fr;
  grid-gap: 20px;
  gap: 20px;
}

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

.clients-page-section {
  display: grid;
  grid-gap: 20px;
  gap: 20px;
}

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

.clients-archive-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
}

.clients-archive-toggle {
  display: inline-flex;
  gap: 10px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 14px;
  gap: 14px;
  margin: 16px 0 20px;
}

.compact-form-grid {
  margin-bottom: 0;
}

.field-wide {
  grid-column: 1 / -1;
}

.server-list,
.job-list,
.topology-list {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
  margin-top: 16px;
}

.server-card,
.job-card {
  padding: 18px;
  border: 1px solid var(--line);
  background: #fffdf8;
}

.server-card-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.server-card p,
.job-card p {
  margin: 6px 0 0;
  color: var(--muted);
}

.server-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.server-failover-card {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #f7efe1 0%, #fffaf2 100%);
}

.server-failover-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.server-live-block {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  margin-top: 14px;
}

.peer-list {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.peer-item {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  grid-gap: 10px;
  gap: 10px;
  padding: 10px 12px;
  border: 1px dashed var(--line);
  background: #fffdf8;
  color: var(--muted);
  font-size: 0.9rem;
}

.config-preview {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: #f4ecdf;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: "Courier New", monospace;
  font-size: 0.86rem;
  line-height: 1.45;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  font-size: 0.85rem;
  border: 1px solid var(--line);
  background: var(--card);
  text-transform: lowercase;
}

.status-healthy,
.status-succeeded {
  color: #1a6f44;
}

.status-error,
.status-failed {
  color: #a03a2f;
}

.status-pending,
.status-running,
.status-degraded,
.status-new {
  color: #8a5a18;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.compact-action-row {
  margin-top: 0;
  justify-content: flex-end;
}

.server-install-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(200px, 260px) auto;
  grid-gap: 14px;
  gap: 14px;
  align-items: end;
}

.server-install-grid p {
  margin: 6px 0 0;
  color: var(--muted);
}

.server-bootstrap-status {
  margin-top: 14px;
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.server-bootstrap-status .log-box {
  margin-top: 0;
}

.field-action {
  align-self: end;
}

.error-box,
.info-box {
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: #fff7ef;
}

.error-box {
  color: #972d22;
}

.info-box {
  color: var(--accent);
}

.empty-state {
  padding: 18px;
  border: 1px dashed var(--line);
  color: var(--muted);
}

.log-box {
  margin-top: 14px;
  padding: 14px;
  background: #f4ecdf;
  border: 1px solid var(--line);
  white-space: pre-wrap;
  word-break: break-word;
  font-family: "Courier New", monospace;
  font-size: 0.9rem;
}

.app-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 16px;
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.app-footer a {
  color: var(--accent);
  text-decoration: none;
}

.app-footer a:hover {
  text-decoration: underline;
}

.topology-layout {
  display: grid;
  grid-template-columns: minmax(280px, 340px) 1fr;
  grid-gap: 20px;
  gap: 20px;
}

.server-details-block {
  margin-top: 14px;
}

.topology-sidebar {
  display: grid;
  grid-gap: 20px;
  gap: 20px;
  align-content: start;
  height: -moz-fit-content;
  height: fit-content;
}

.topology-list-item {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  width: 100%;
  text-align: left;
  padding: 16px;
  border: 1px solid var(--line);
  background: #fffdf8;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
}

.topology-list-item.active {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
  color: var(--text);
}

.topology-create,
.field-stack,
.wizard-step,
.preview-box,
.node-summary {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
}

.step-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.wizard-step h3 {
  margin: 6px 0 0;
}

.topology-type-card {
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: #fffdf8;
}

.topology-type-card p {
  margin: 8px 0 0;
  color: var(--muted);
}

.exit-list {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}

.exit-row {
  display: grid;
  grid-template-columns: 1fr 180px auto;
  grid-gap: 12px;
  gap: 12px;
  align-items: end;
  padding: 14px;
  border: 1px solid var(--line);
  background: #fffdf8;
}

.checkbox-field {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-field input {
  width: auto;
}

.validation-list {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  margin-top: 10px;
}

.preview-item {
  border: 1px solid var(--line);
  background: #fffdf8;
}

.preview-item summary {
  padding: 12px 14px;
  cursor: pointer;
}

.client-filters {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  margin: 16px 0 18px;
  padding: 14px;
  border: 1px solid var(--line);
  background: #fffdf8;
}

.client-filters-header {
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}

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

.clients-table-wrap {
  margin-top: 16px;
  overflow: auto;
  border: 1px solid var(--line);
  background: #fffdf8;
}

.clients-table {
  width: 100%;
  min-width: 1080px;
  border-collapse: collapse;
}

.clients-table th,
.clients-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

.clients-table th {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f4ecdf;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.75rem;
}

.clients-table tbody tr:hover {
  background: #fcf5ea;
}

.clients-row-clickable {
  cursor: pointer;
}

.clients-row-clickable:hover {
  background: #f8f0e3;
}

.clients-inline-input {
  width: 100%;
  min-width: 180px;
  border: 1px solid var(--line);
  background: #fffdf8;
  padding: 9px 10px;
  font: inherit;
  color: var(--text);
}

.clients-inline-button {
  white-space: nowrap;
}

.client-materials-panel {
  display: grid;
  grid-gap: 18px;
  gap: 18px;
}

.client-qr-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.client-qr-button {
  display: inline-flex;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.client-qr-image {
  width: 220px;
  max-width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  background: #fffdf8;
  border-radius: 18px;
}

.client-qr-button:hover .client-qr-image {
  box-shadow: 0 12px 30px rgba(59, 34, 11, 0.14);
}

.clients-cell-name {
  min-width: 190px;
}

.clients-cell-mono,
.clients-cell-note {
  max-width: 240px;
  color: var(--muted);
  font-size: 0.92rem;
  word-break: break-word;
}

.clients-traffic-stack {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
}

.clients-primary-text {
  color: var(--text);
  font-weight: 600;
}

.clients-secondary-text {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.82rem;
}

.clients-compact-table {
  min-width: 940px;
}

.clients-inline-icon,
.clients-status-icon,
.clients-action-icon {
  width: 18px;
  height: 18px;
  display: block;
}

.clients-runtime-dot {
  width: 18px;
  height: 18px;
}

.clients-runtime-dot.is-online {
  color: #14804a;
}

.clients-runtime-dot.is-offline {
  color: #b54a3a;
}

.clients-runtime-stack {
  display: inline-grid;
  grid-template-rows: 34px minmax(1.8em, auto);
  justify-items: center;
  align-items: start;
  gap: 8px;
  min-width: 92px;
}

.clients-runtime-meta {
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
  max-width: 86px;
  line-height: 1.25;
  min-height: 1.8em;
}

.clients-icon-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff8ed;
  color: #76583d;
}

.clients-icon-chip.is-limit-exceeded {
  background: #fff0e3;
  color: #b15a24;
  border-color: #d9b089;
}

.clients-status-icon.is-play {
  color: #14804a;
}

.clients-status-icon.is-pause {
  color: #9a6b1f;
}

.clients-status-icon.is-limit {
  color: #b15a24;
}

.clients-icon-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.clients-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff8ed;
  color: #76583d;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.clients-icon-button:hover:not(:disabled) {
  background: #f5ead6;
  transform: translateY(-1px);
}

.clients-icon-button:disabled {
  cursor: default;
  opacity: 0.5;
}

.clients-icon-button.is-play {
  color: #14804a;
}

.clients-icon-button.is-pause {
  color: #9a6b1f;
}

.clients-icon-button.is-delete {
  color: #b54a3a;
}

.clients-icon-button.is-muted {
  color: #b7a58f;
}

.clients-icon-button.is-settings-active {
  color: #8c6330;
}

.clients-note-input {
  width: 100%;
  resize: vertical;
  border: 1px solid var(--line);
  background: #fffdf8;
  padding: 10px 12px;
  font: inherit;
  color: var(--text);
}

.clients-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(49, 33, 16, 0.42);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}

.clients-modal {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(1180px, 100%);
  max-height: min(90vh, 920px);
  overflow: hidden;
  border: 1px solid rgba(118, 88, 61, 0.16);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(235, 196, 129, 0.24), transparent 26%),
    linear-gradient(180deg, #fffaf2 0%, #fff5e8 100%);
  box-shadow: 0 30px 90px rgba(59, 34, 11, 0.22);
}

.clients-modal-scroll {
  min-height: 0;
  overflow: auto;
  padding: 0 8px 8px 0;
  scrollbar-gutter: stable;
}

.clients-modal-scroll::-webkit-scrollbar {
  width: 12px;
}

.clients-modal-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.clients-modal-scroll::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background: rgba(140, 99, 48, 0.34);
  background-clip: padding-box;
}

.clients-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 24px 0;
}

.clients-modal-header h3 {
  margin: 6px 0 0;
}

.clients-modal-grid {
  display: grid;
  grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
  grid-gap: 20px;
  gap: 20px;
  padding: 24px 16px 24px 24px;
}

.clients-modal-sidebar,
.clients-modal-content {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
}

.clients-modal-sidebar {
  align-content: start;
}

.clients-modal-section {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 251, 245, 0.88);
}

.clients-modal-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.clients-material-logo {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
}

.clients-empty-materials {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  padding: 22px;
  border: 1px dashed var(--line);
  border-radius: 22px;
  background: rgba(255, 251, 245, 0.88);
}

.clients-material-actions {
  display: flex;
  justify-content: flex-end;
  padding: 0 12px 12px;
}

.clients-delivery-actions {
  display: flex;
  justify-content: flex-end;
}

.extra-service-meta-grid {
  display: grid;
  grid-gap: 12px 18px;
  gap: 12px 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.extra-service-meta-item {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
  min-width: 0;
}

.extra-service-meta-item-wide {
  grid-column: 1 / -1;
}

.extra-service-meta-item a,
.extra-service-meta-item span {
  overflow-wrap: anywhere;
}

.extra-service-meta-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.extra-service-delivery-header {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
}

.extra-service-delivery-row {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.extra-service-install-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-gap: 18px;
  gap: 18px;
  align-items: stretch;
}

.extra-service-install-card {
  height: 100%;
  gap: 14px;
}

.extra-service-install-card h3 {
  margin: 0;
}

.extra-service-install-card > .muted {
  margin: 0;
}

.extra-service-install-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 24px;
}

.extra-service-form {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-auto-rows: min-content;
  grid-gap: 10px;
  gap: 10px;
  height: 100%;
}

.extra-service-form .input {
  width: 100%;
  min-width: 0;
  min-height: 42px;
}

.extra-service-form select.input {
  max-width: 100%;
}

.extra-service-empty-field {
  min-height: 72px;
}

.extra-service-form-helper {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  min-height: 112px;
}

.extra-service-form-helper > .muted,
.extra-service-form-helper > .error-text {
  margin: 0;
}

.extra-service-form-actions {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  margin-top: auto;
}

.extra-service-form-actions > .muted {
  margin: 0;
}

.extra-service-highlight-card {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  padding: 16px 18px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 251, 245, 0.92);
}

.extra-service-highlight-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.extra-service-highlight-card strong {
  font-size: 1.05rem;
  color: var(--accent);
}

.extra-service-highlight-card .muted {
  margin: 0;
}

.extra-service-uri-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffdf8;
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.extra-service-uri-text {
  min-width: 0;
  flex: 1 1 auto;
  overflow-wrap: anywhere;
}

.extra-service-copy-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #8f7960;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.extra-service-copy-icon:hover:not(:disabled) {
  background: #f2e8d7;
  color: var(--accent);
}

.extra-service-copy-icon:disabled {
  opacity: 0.45;
  cursor: default;
}

.clients-floating-toast {
  position: fixed;
  top: 28px;
  right: 28px;
  z-index: 65;
  max-width: min(420px, calc(100vw - 32px));
  padding: 14px 16px;
  border: 1px solid rgba(29, 107, 87, 0.24);
  border-radius: 18px;
  background: rgba(29, 107, 87, 0.96);
  color: #fff7eb;
  box-shadow: 0 18px 40px rgba(20, 39, 32, 0.22);
}

.clients-qr-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(32, 21, 10, 0.7);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.clients-qr-dialog {
  width: min(760px, 100%);
  border: 1px solid rgba(118, 88, 61, 0.2);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(235, 196, 129, 0.22), transparent 28%),
    linear-gradient(180deg, #fffaf2 0%, #fff4e6 100%);
  box-shadow: 0 32px 100px rgba(30, 17, 7, 0.35);
}

.clients-settings-dialog {
  width: min(520px, 100%);
  border: 1px solid rgba(118, 88, 61, 0.2);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(235, 196, 129, 0.22), transparent 28%),
    linear-gradient(180deg, #fffaf2 0%, #fff4e6 100%);
  box-shadow: 0 32px 100px rgba(30, 17, 7, 0.35);
}

.clients-settings-body {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
  padding: 20px 24px 28px;
}

.clients-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 12px;
  gap: 12px;
}

.clients-settings-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.clients-settings-metric {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 251, 245, 0.88);
}

.clients-qr-dialog-body {
  display: grid;
  place-items: center;
  grid-gap: 16px;
  gap: 16px;
  padding: 20px 24px 28px;
}

.clients-qr-dialog-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 251, 245, 0.88);
}

.clients-qr-dialog-logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
}

.clients-qr-image-large {
  width: min(560px, 100%);
  max-width: 100%;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fffdf8;
}

.language-switcher {
  display: inline-flex;
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.9);
}

.lang-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 10px 14px;
  cursor: pointer;
  font: inherit;
  letter-spacing: 0.08em;
}

.lang-button.active {
  background: var(--accent);
  color: #fff7eb;
}

/*!****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[3]!./src/app/mobile.css ***!
  \****************************************************************************************************************************************************************************************************************************************************************/
@media (max-width: 720px) {
  .mobile-nav-button {
    display: inline-flex;
  }

  .layout {
    padding: 14px;
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }

  .shell {
    width: 100%;
  }

  .hero {
    padding: 20px;
  }

  .hero-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .panel-card,
  .server-card,
  .job-card,
  .section {
    padding: 16px;
  }

  .sidebar-section {
    padding: 14px;
  }

  .settings-module-head,
  .server-card-header,
  .server-failover-head,
  .dashboard-card-head,
  .page-header,
  .clients-archive-head,
  .step-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-header,
  .page-header-with-fixed-action {
    padding-right: 0;
  }

  .page-action-fixed,
  .content-topbar {
    position: static;
  }

  .content-topbar {
    margin-bottom: 8px;
  }

  .page-action-fixed,
  .content-topbar .secondary-button,
  .content-topbar .primary-button {
    width: 100%;
  }

  .content-topbar {
    width: auto;
    display: contents;
  }

  .mobile-shell-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 52;
    display: grid;
    grid-template-columns: 1fr;
    padding: 10px;
    border: 1px solid rgba(217, 207, 189, 0.94);
    border-radius: 18px;
    background: rgba(255, 250, 242, 0.96);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
    box-shadow: 0 18px 36px rgba(59, 34, 11, 0.18);
  }

  .desktop-logout-button {
    display: none;
  }

  .mobile-shell-bar .secondary-button,
  .mobile-shell-bar .primary-button {
    min-height: 46px;
    gap: 8px;
    flex-direction: row;
    padding: 10px 12px;
    min-width: 0;
  }

  .mobile-bar-icon {
    width: 18px;
    height: 18px;
  }

  .action-row,
  .compact-action-row,
  .settings-module-actions,
  .clients-archive-toggle,
  .clients-icon-actions,
  .clients-material-actions,
  .clients-delivery-actions,
  .extra-service-highlight-head,
  .extra-service-uri-box {
    width: 100%;
  }

  .action-row > *,
  .compact-action-row > *,
  .settings-module-actions > *,
  .clients-archive-toggle > *,
  .clients-material-actions > *,
  .clients-delivery-actions > * {
    width: 100%;
  }

  .extra-service-uri-box {
    align-items: flex-start;
  }

  .extra-service-copy-icon {
    align-self: flex-end;
  }

  .client-filters,
  .server-failover-card,
  .extra-service-highlight-card,
  .clients-modal-section,
  .clients-empty-materials {
    padding: 14px;
    border-radius: 18px;
  }

  .clients-modal-backdrop,
  .clients-qr-overlay {
    padding: 12px;
  }

  .clients-modal,
  .clients-settings-dialog,
  .clients-qr-dialog {
    width: 100%;
    max-height: 100dvh;
    border-radius: 22px;
  }

  .clients-modal-header {
    padding: 18px 18px 0;
  }

  .clients-modal-grid,
  .clients-settings-body,
  .clients-qr-dialog-body {
    padding: 18px;
  }

  .clients-floating-toast {
    top: 12px;
    right: 12px;
    left: 12px;
    max-width: none;
  }

  .clients-inline-input {
    min-width: 140px;
  }

  .extra-service-install-grid {
    grid-template-columns: 1fr;
  }

  .settings-web-status-grid {
    grid-template-columns: 1fr;
  }

  .extra-service-form-helper {
    min-height: auto;
  }

  .extra-service-empty-field {
    display: none;
  }

  .clients-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .clients-table,
  .clients-compact-table {
    min-width: 0;
  }

  .clients-table thead {
    display: none;
  }

  .clients-table,
  .clients-table tbody,
  .clients-table tr,
  .clients-table td {
    display: block;
    width: 100%;
  }

  .clients-table tbody {
    display: grid;
    grid-gap: 14px;
    gap: 14px;
  }

  .clients-table tr {
    padding: 14px;
    border: 1px solid var(--line);
    background: #fffdf8;
  }

  .clients-table td {
    padding: 10px 0;
    border-bottom: 1px solid rgba(217, 207, 189, 0.58);
    text-align: left;
  }

  .clients-table td:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .clients-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 8px;
    color: var(--accent-2);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.72rem;
  }

  .clients-cell-name .clients-primary-text {
    font-size: 1.02rem;
  }

  .clients-runtime-stack {
    min-width: 0;
    grid-template-columns: 34px minmax(0, 1fr);
    grid-template-rows: auto;
    justify-items: start;
    align-items: center;
    gap: 10px;
  }

  .clients-runtime-meta {
    max-width: none;
    min-height: 0;
    text-align: left;
  }

  .clients-icon-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .clients-icon-actions .clients-icon-button {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 980px) {
  .app-shell,
  .content-grid,
  .clients-layout,
  .topology-layout {
    grid-template-columns: 1fr;
  }

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

  .dashboard-card,
  .dashboard-card-wide {
    grid-column: span 1;
  }

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

  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 60;
    width: min(360px, 88vw);
    height: 100dvh;
    overflow: auto;
    border-right: 1px solid var(--line);
    border-top: 0;
    transform: translateX(-104%);
    transition: transform 0.24s ease;
    box-shadow: 24px 0 48px rgba(59, 34, 11, 0.16);
  }

  .sidebar.is-open {
    transform: translateX(0);
  }

  .sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 55;
    border: 0;
    padding: 0;
    background: rgba(32, 21, 10, 0.36);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }

  .sidebar-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .exit-row {
    grid-template-columns: 1fr;
  }

  .client-filters-grid {
    grid-template-columns: 1fr;
  }

  .clients-modal-grid {
    grid-template-columns: 1fr;
  }

  .clients-settings-grid {
    grid-template-columns: 1fr;
  }

  .page-header,
  .page-header-with-fixed-action {
    padding-right: 0;
  }

  .page-action-fixed {
    position: static;
  }

  .content-topbar {
    position: static;
    justify-content: flex-start;
  }

  .sidebar-mobile-exit {
    margin-top: auto;
  }

  .sidebar-mobile-exit .secondary-button {
    width: 100%;
  }

  .server-install-grid,
  .settings-module-head,
  .settings-module-actions {
    grid-template-columns: 1fr;
  }

  .form-grid,
  .compact-form-grid,
  .clients-settings-grid,
  .dashboard-server-grid {
    grid-template-columns: 1fr;
  }

  .extra-service-install-grid {
    grid-template-columns: 1fr;
  }

  .topology-sidebar {
    height: auto;
  }
}

@media (max-width: 1100px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .content-panel {
    gap: 16px;
  }

  .mobile-nav-button {
    display: inline-flex;
  }
}

