:root {
  --bg: #070d16;
  --bg-soft: #0c1623;
  --panel: #0f1b2a;
  --panel-2: #132438;
  --line: #21354d;
  --line-strong: #2e4a68;
  --text: #eef6ff;
  --muted: #93a9c8;
  --brand: #81f0d0;
  --brand-strong: #173c35;
  --accent: #4fb8ff;
  --warn: #ffd37b;
  --danger: #ff9d9d;
  --danger-bg: #422427;
  --shadow: 0 22px 54px rgba(0, 0, 0, 0.26);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  font: 16px "Segoe UI", Tahoma, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(79, 184, 255, 0.08), transparent 24%),
    radial-gradient(circle at bottom right, rgba(129, 240, 208, 0.05), transparent 22%),
    linear-gradient(180deg, #08111d 0%, #060c14 100%);
}

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

.hidden {
  display: none !important;
}

.shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px 1fr;
}

.sidebar {
  padding: 26px 20px;
  background: linear-gradient(180deg, #0d1723, #09121d);
  border-right: 1px solid rgba(53, 80, 110, 0.45);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #08231a;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-mark-image {
  overflow: hidden;
  background: #0e1622;
  border: 1px solid rgba(129, 240, 208, 0.22);
}

.brand-mark-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-title {
  font-size: 1.18rem;
  font-weight: 700;
}

.brand-subtitle {
  color: var(--brand);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-section-label {
  margin: 10px 4px 2px;
  color: #b9a4ff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-link {
  display: block;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 12px 14px;
  text-align: left;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.nav-link:hover,
.nav-link.active {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(129, 240, 208, 0.28);
}

.sidebar-note,
.panel-header p,
.page-header p,
.summary-hint,
.empty-state,
td .muted,
.card-label {
  color: var(--muted);
}

.main {
  padding: 28px;
}

.page-header,
.panel-header,
.detail-head,
.stack-mobile {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
}

.page-header {
  margin-bottom: 18px;
}

h1,
h2,
h3,
h4,
summary span:first-child {
  margin: 0;
}

.toolbar,
.filters,
.detail-actions,
.form-actions,
.modal-actions,
.row-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.button,
.input,
.select,
textarea {
  width: 100%;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--bg-soft);
  color: var(--text);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.button {
  width: auto;
  cursor: pointer;
}

.button:hover {
  filter: brightness(1.05);
}

.button-primary {
  background: var(--brand);
  color: #08231a;
  border-color: var(--brand);
}

.button-danger {
  background: var(--danger-bg);
  color: var(--danger);
  border-color: #7a3e45;
}

.button-warn {
  background: #3b2e16;
  color: var(--warn);
  border-color: #80653a;
}

.status-banner {
  margin-bottom: 16px;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid rgba(129, 240, 208, 0.28);
  background: linear-gradient(135deg, rgba(20, 57, 51, 0.98), rgba(12, 38, 48, 0.98));
  color: #eafff9;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  font-weight: 600;
  line-height: 1.45;
}

.status-banner.status-banner-error {
  border-color: rgba(255, 157, 157, 0.42);
  background: linear-gradient(135deg, rgba(62, 29, 35, 0.98), rgba(38, 22, 31, 0.98));
  color: #ffe8ec;
}

.status-banner.status-banner-success {
  border-color: rgba(129, 240, 208, 0.36);
  background: linear-gradient(135deg, rgba(18, 65, 54, 0.98), rgba(12, 43, 51, 0.98));
  color: #eafff9;
}

.ops-overview {
  margin-bottom: 16px;
}

.ops-overview-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 14px;
}

.ops-overview-head p {
  margin: 6px 0 0;
  color: var(--muted);
}

.ops-pill {
  flex: 0 0 auto;
  border: 1px solid rgba(185, 164, 255, 0.42);
  border-radius: 999px;
  color: #d7cbff;
  background: rgba(96, 73, 154, 0.18);
  padding: 7px 11px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.ops-item {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid rgba(53, 80, 110, 0.74);
  border-radius: 10px;
  background: rgba(8, 16, 26, 0.58);
  padding: 14px;
}

.ops-item-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.ops-label,
.ops-note {
  color: var(--muted);
  font-size: 0.84rem;
}

.ops-value {
  font-size: 1.08rem;
  font-weight: 800;
  word-break: break-word;
}

.ops-note {
  line-height: 1.35;
}

.ops-badge {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 0.75rem;
  font-weight: 800;
}

.ops-badge.good {
  color: #9ff5d8;
  background: rgba(23, 60, 53, 0.82);
}

.ops-badge.warn {
  color: #ffd37b;
  background: rgba(88, 59, 16, 0.6);
}

.ops-badge.muted {
  color: #c2d1e8;
  background: rgba(116, 145, 173, 0.14);
}

.ops-link {
  margin-top: auto;
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
}

.ops-link:hover {
  text-decoration: underline;
}

.cards-grid,
.panel-grid {
  display: grid;
  gap: 16px;
}

.cards-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 16px;
}

.two-col {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  margin-bottom: 16px;
}

.card,
.panel,
.collapsible,
.subpanel,
.inline-form-shell {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card,
.panel,
.subpanel {
  padding: 18px;
}

.card-value {
  font-size: 1.9rem;
  font-weight: 700;
}

.card-clickable {
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.card-clickable:hover {
  transform: translateY(-2px);
  border-color: rgba(129, 240, 208, 0.34);
  background: rgba(19, 36, 56, 0.95);
}

.card-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.35;
}

.inline-form-shell {
  margin: 18px 0 10px;
  padding: 14px;
  background: var(--bg-soft);
}

.inline-form-shell summary,
.collapsible summary,
.collapsible-section summary {
  cursor: pointer;
  list-style: none;
}

.inline-form-shell summary::-webkit-details-marker,
.collapsible summary::-webkit-details-marker,
.collapsible-section summary::-webkit-details-marker {
  display: none;
}

.admin-form {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.compact-form {
  margin-bottom: 14px;
}

.manual-export-panel {
  margin: 12px 0 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(79, 184, 255, 0.05);
}

.manual-export-panel .toolbar {
  margin-bottom: 12px;
}

.form-span-2 {
  grid-column: span 2;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--bg-soft);
}

.checkbox input {
  width: auto;
}

.field-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--text);
  font-weight: 700;
}

.field-label small {
  color: var(--muted);
  font-weight: 500;
  line-height: 1.35;
}

.announcement-enabled-field {
  align-items: flex-start;
}

.announcement-enabled-field > span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.announcement-enabled-field small {
  color: var(--muted);
  font-weight: 500;
  line-height: 1.35;
}

.file-picker {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--bg-soft);
}

.visually-hidden-file {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.upload-status {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
}

.panel > .panel-header,
.subpanel > .panel-header {
  margin-bottom: 14px;
}

.collapsible,
.collapsible-section {
  padding: 0;
  overflow: hidden;
}

.collapsible summary,
.collapsible-section summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 18px;
}

.panel-content {
  padding: 0 18px 18px;
}

.flat-subpanel {
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.chart-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chart-row {
  display: grid;
  grid-template-columns: 120px 1fr 110px;
  gap: 12px;
  align-items: center;
}

.chart-bar-track {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: #0f1d2d;
  overflow: hidden;
  border: 1px solid var(--line);
}

.chart-bar {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.node-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.metric-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(11, 18, 27, 0.78);
  padding: 14px 16px;
}

.metric-card-title {
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 8px;
}

.metric-card-value {
  font-size: 1.32rem;
  font-weight: 700;
}

.metric-card-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.8rem;
}

.panel-inline-note {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(12, 22, 35, 0.9);
  border: 1px solid var(--line);
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
}

.scroll-panel {
  max-height: 260px;
  overflow: auto;
  border: 1px solid rgba(53, 80, 110, 0.42);
  border-radius: 14px;
}

#recent-sessions-table .table-wrap {
  max-height: 520px;
  min-height: 420px;
  overflow: auto;
}

#recent-sessions-table th,
#active-sessions-table th {
  position: sticky;
  top: 0;
  z-index: 1;
}

.active-session-controls {
  margin: 18px 0;
  align-items: center;
}

.active-session-controls .input {
  min-width: min(340px, 100%);
}

.session-count-pill {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(129, 240, 208, 0.05);
}

.active-sessions-table-wrap {
  max-height: calc(100vh - 360px);
  min-height: 280px;
  overflow: auto;
}

.tall-scroll-panel {
  max-height: 520px;
}

.account-control-panel {
  margin: 16px 0;
}

.update-group-head {
  margin-bottom: 14px;
}

.update-group-head p {
  color: var(--muted);
  margin: 6px 0 0;
}

.update-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}

.update-product-card {
  border: 1px solid rgba(53, 80, 110, 0.72);
  border-radius: 12px;
  background: rgba(8, 16, 26, 0.58);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.update-product-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.update-product-top h4 {
  margin-bottom: 4px;
}

.update-product-facts {
  display: grid;
  gap: 8px;
}

.update-product-facts div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(53, 80, 110, 0.32);
  padding-bottom: 6px;
}

.update-product-facts span {
  color: var(--muted);
}

.update-seen-detail-row td {
  background: rgba(5, 13, 23, 0.54);
  padding: 0;
}

.update-seen-detail {
  padding: 12px;
}

.update-seen-detail table {
  margin-top: 0;
}

.table-sort-button {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 999px;
  background: rgba(129, 240, 208, 0.045);
  color: var(--muted);
  cursor: pointer;
  padding: 5px 8px;
  text-align: left;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.table-sort-button:hover,
.table-sort-button.active {
  color: var(--brand);
  border-color: rgba(129, 240, 208, 0.35);
  background: rgba(129, 240, 208, 0.1);
}

.sort-arrow {
  color: var(--brand);
  font-size: 0.8rem;
}

.row-active-session {
  background: rgba(129, 240, 208, 0.035);
}

.row-stale-session {
  background: rgba(238, 188, 104, 0.045);
}

.row-error-session,
.session-error-detail-row {
  background: rgba(255, 110, 110, 0.045);
}

.session-error-detail-row details {
  border: 1px solid rgba(255, 110, 110, 0.22);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(47, 20, 24, 0.52);
}

.session-error-detail-row summary {
  cursor: pointer;
  color: var(--danger);
  font-weight: 700;
}

.session-error-detail-row pre {
  white-space: pre-wrap;
  word-break: break-word;
  margin: 10px 0 0;
  color: #ffd2d2;
  font-size: 0.86rem;
}

.session-technical-toggle {
  min-height: 42px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(116, 145, 173, 0.06);
  color: var(--muted);
}

.badge.recovered {
  background: rgba(238, 188, 104, 0.14);
  color: var(--warn);
}

.session-attempt-detail-row td {
  padding: 0 12px 10px;
  border-top: 0;
  background: rgba(5, 13, 23, 0.34);
}

.session-attempt-details {
  border: 1px solid rgba(238, 188, 104, 0.2);
  border-radius: 12px;
  background: rgba(21, 28, 38, 0.72);
}

.session-attempt-details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  color: var(--muted);
  cursor: pointer;
  font-weight: 700;
}

.session-attempt-details[open] > summary {
  border-bottom: 1px solid rgba(53, 80, 110, 0.42);
  color: var(--text);
}

.session-attempt-list {
  display: grid;
  gap: 8px;
  padding: 10px;
}

.session-attempt-item {
  display: grid;
  gap: 5px;
  padding: 10px 12px;
  border: 1px solid rgba(53, 80, 110, 0.4);
  border-radius: 10px;
  background: rgba(5, 13, 23, 0.58);
  line-height: 1.4;
}

.session-attempt-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(53, 80, 110, 0.42);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.action-link {
  border: 0;
  background: transparent;
  color: var(--brand);
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

.inline-json-details {
  max-width: 360px;
}

.inline-json-details summary {
  color: var(--brand);
  cursor: pointer;
  font-weight: 700;
}

.inline-json-details pre {
  max-height: 260px;
  overflow: auto;
  margin: 8px 0 0;
  padding: 10px;
  border: 1px solid rgba(53, 80, 110, 0.42);
  border-radius: 10px;
  background: rgba(4, 11, 20, 0.72);
  color: var(--text);
  font-size: 0.78rem;
  white-space: pre-wrap;
  word-break: break-word;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.8rem;
  background: #1c3551;
  color: var(--warn);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.badge.active,
.badge.success,
.badge.clean {
  background: var(--brand-strong);
  color: var(--brand);
}

.badge.muted {
  background: rgba(116, 145, 173, 0.12);
  color: var(--muted);
}

.badge.auto {
  background: rgba(116, 145, 173, 0.12);
  color: var(--muted);
}

.badge.manual-export {
  background: #3b2e16;
  color: var(--warn);
}

.badge.external-app,
.badge.amnezia-compatible,
.badge.awg2 {
  background: #1a3148;
  color: #8ed2ff;
}

.badge.paused,
.badge.maintenance {
  background: #3b2e16;
  color: var(--warn);
}

.badge.expired,
.badge.disabled,
.badge.error,
.badge.suspicious {
  background: var(--danger-bg);
  color: var(--danger);
}

.badge.grace,
.badge.degraded {
  background: #3d2b1f;
  color: #f8bb8b;
}

.license-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 360px;
}

.license-actions .button {
  padding: 7px 9px;
  font-size: 0.82rem;
}

.licensing-key-message {
  max-width: 360px;
  overflow-wrap: anywhere;
}

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

.meta-card {
  padding: 14px;
  border-radius: 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

.meta-label {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.empty-state {
  padding: 18px;
}

.summary-hint {
  font-size: 0.92rem;
  text-align: right;
}

.toolbar .button,
.filters .button,
.filters .input,
.filters .select {
  width: auto;
}

.modal-shell {
  width: min(920px, calc(100vw - 32px));
  max-width: 920px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  color: var(--text);
  padding: 0;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

.modal-shell::backdrop {
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(4px);
}

.modal-card {
  padding: 20px;
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
  margin-bottom: 16px;
}

.modal-subtitle {
  margin-top: 6px;
  color: var(--muted);
}

.modal-close {
  min-width: 44px;
}

.modal-actions {
  margin-top: 14px;
  justify-content: flex-end;
}

.panel-toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

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

.namecheap-forwarding-toolbar {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(280px, 1.3fr) minmax(110px, 0.35fr);
  gap: 14px;
  align-items: end;
}

.namecheap-forwarding-summary {
  min-height: 68px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(7, 24, 42, 0.56);
}

.namecheap-forwarding-summary span,
.namecheap-forwarding-note {
  color: var(--muted);
}

.namecheap-forwarding-summary strong {
  color: var(--accent);
  font-size: 1.15rem;
}

.namecheap-forwarding-editor {
  width: 100%;
  min-height: 360px;
  resize: vertical;
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  line-height: 1.55;
  white-space: pre;
}

.trybridge-control-panel { display: grid; gap: 18px; }
.trybridge-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.trybridge-summary-card,
.trybridge-room-card,
.trybridge-actions-panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--panel-2) 92%, #7df0ce 8%);
}
.trybridge-summary-card { display: grid; gap: 7px; padding: 15px; }
.trybridge-summary-card span,
.trybridge-slot-id,
.trybridge-login-state { color: var(--muted); font-size: 0.82rem; }
.trybridge-summary-card strong { font-size: 1rem; }
.trybridge-room-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.trybridge-room-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
  padding: 17px;
}
.trybridge-room-card.is-ready { border-color: color-mix(in srgb, var(--brand) 55%, var(--line)); }
.trybridge-room-card.needs-attention { border-color: color-mix(in srgb, var(--danger) 35%, var(--line)); }
.trybridge-room-head,
.trybridge-action-row,
.trybridge-room-actions {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.trybridge-room-head h3 { margin: 4px 0 0; overflow-wrap: anywhere; }
.trybridge-room-facts { display: grid; gap: 8px; margin: 0; }
.trybridge-room-facts div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.trybridge-room-facts dt { color: var(--muted); }
.trybridge-room-facts dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.trybridge-room-error {
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--danger) 45%, transparent);
  border-radius: 11px;
  background: color-mix(in srgb, var(--danger) 14%, transparent);
  color: var(--text);
}
.trybridge-room-actions { flex-wrap: wrap; justify-content: flex-start; }
.trybridge-room-actions .button { flex: 1 1 135px; }
.trybridge-actions-panel { padding: 16px; }
.trybridge-action-list { display: grid; gap: 9px; }
.trybridge-action-row { padding: 11px 0; border-top: 1px solid var(--line); }
.trybridge-action-row > div { display: grid; gap: 4px; }
.trybridge-action-row > div:last-of-type { justify-items: end; }
.trybridge-action-row p { flex-basis: 100%; margin: 0; color: var(--danger); }

@media (max-width: 1100px) {
  .trybridge-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trybridge-room-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .trybridge-summary { grid-template-columns: 1fr; }
  .trybridge-room-head, .trybridge-action-row { flex-direction: column; }
  .trybridge-action-row > div:last-of-type { justify-items: start; }
}

@media (max-width: 860px) {
  .namecheap-forwarding-toolbar {
    grid-template-columns: 1fr;
  }
}

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

  .sidebar {
    padding-bottom: 12px;
  }

  .page-header,
  .panel-header,
  .detail-head,
  .stack-mobile,
  .ops-overview-head,
  .modal-head {
    flex-direction: column;
  }

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

  .form-span-2 {
    grid-column: span 1;
  }

  .main {
    padding: 18px;
  }
}
