:root {
  --bg: #071116;
  --panel: #0d1d23;
  --panel-2: #102832;
  --field: #07171d;
  --text: #f1fbff;
  --muted: #9db8c2;
  --green: #1594b5;
  --green-2: #7ed7e8;
  --line: #224f5d;
  --danger: #ff5f7a;
  --warning: #ffc85a;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% -8%, rgba(21, 148, 181, 0.24), transparent 32rem),
    linear-gradient(180deg, #082331 0, var(--bg) 19rem);
  color: var(--text);
  font-family: "Barlow", Arial, sans-serif;
}

.login-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
}

.login-shell {
  width: min(460px, calc(100vw - 28px));
}

.login-card {
  border: 1px solid rgba(126, 215, 232, 0.36);
  border-radius: 8px;
  background: rgba(13, 29, 35, 0.96);
  box-shadow: var(--shadow);
  padding: 24px;
}

.login-brand {
  margin-bottom: 22px;
}

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

.login-form .primary {
  margin-top: 6px;
}

.telegram-link {
  display: block;
  margin-top: 16px;
  text-align: center;
  text-decoration: none;
}

.shell {
  width: min(1120px, calc(100vw - 24px));
  margin: 0 auto;
  padding: 14px 0 28px;
}

.topbar,
.brand,
.top-actions,
.section-title,
.two,
.item-head,
.tabs,
.stats {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar {
  justify-content: space-between;
  margin-bottom: 14px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border: 1px solid rgba(126, 215, 232, 0.44);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(126, 215, 232, 0.16), transparent 68%), #062a33;
  box-shadow: 0 0 24px rgba(21, 148, 181, 0.36);
  overflow: hidden;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--green-2);
  font-weight: 800;
  letter-spacing: 0;
}

.section-kicker {
  font-size: 0.82rem;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
}

h2 {
  font-size: 1.05rem;
}

button,
.tabs a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  font: inherit;
  font-weight: 800;
  padding: 9px 12px;
  cursor: pointer;
  text-decoration: none;
}

button:hover,
.tabs a:hover {
  border-color: var(--green);
  color: var(--green-2);
}

[hidden] {
  display: none !important;
}

.top-actions {
  justify-content: flex-end;
}

.version-control {
  display: grid;
  gap: 6px;
  min-width: 150px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.version-control input {
  height: 36px;
}

.draft-status {
  align-self: end;
  border: 1px solid rgba(126, 215, 232, 0.32);
  border-radius: 999px;
  color: var(--muted);
  font-weight: 800;
  padding: 9px 12px;
  white-space: nowrap;
}

.draft-status.dirty {
  border-color: rgba(255, 200, 90, 0.42);
  color: var(--warning);
  background: rgba(255, 200, 90, 0.08);
}

.status {
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(13, 29, 35, 0.92);
  box-shadow: var(--shadow);
  padding: 10px 12px;
  color: var(--muted);
}

.auth-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(260px, 1fr);
  gap: 18px;
  margin-bottom: 14px;
  border: 1px solid rgba(126, 215, 232, 0.36);
  border-radius: 8px;
  background: rgba(13, 29, 35, 0.96);
  box-shadow: var(--shadow);
  padding: 14px;
}

.auth-copy {
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.auth-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  align-items: end;
}

.status.ok {
  color: var(--green-2);
  border-color: rgba(126, 215, 232, 0.5);
}

.status.warning {
  color: var(--warning);
  border-color: rgba(255, 200, 90, 0.42);
}

.status.error {
  color: var(--danger);
  border-color: rgba(255, 95, 122, 0.44);
}

.takeover-banner {
  display: grid;
  gap: 4px;
  margin: 0 0 12px;
  border: 1px solid rgba(255, 200, 90, 0.48);
  border-radius: 8px;
  background: rgba(255, 200, 90, 0.1);
  box-shadow: var(--shadow);
  padding: 12px 14px;
  color: var(--warning);
  font-weight: 800;
}

.takeover-banner span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.lock-screen {
  display: grid;
  min-height: 48vh;
  place-items: center;
}

.lock-card {
  width: min(520px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 24px;
  text-align: center;
}

.lock-card h2 {
  margin: 8px 0 10px;
}

.lock-card p:not(.section-kicker) {
  margin: 0 0 18px;
  color: var(--muted);
  font-weight: 700;
}

.lock-countdown {
  margin: 0 0 18px;
  border: 1px solid rgba(255, 200, 90, 0.42);
  border-radius: 8px;
  background: rgba(255, 200, 90, 0.08);
  padding: 12px;
  color: var(--warning);
  font-weight: 800;
}

.edit-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(2, 8, 12, 0.78);
  backdrop-filter: blur(8px);
}

body.edit-modal-open {
  overflow: hidden;
}

body.edit-modal-open .panel.edit-modal-form {
  position: fixed;
  inset: clamp(12px, 4vh, 34px) 50% auto auto;
  z-index: 60;
  width: min(780px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  overflow: auto;
  transform: translateX(50%);
  border-color: rgba(126, 215, 232, 0.72);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.62);
}

body.edit-modal-open .panel.edit-modal-form .section-title {
  position: sticky;
  top: -14px;
  z-index: 2;
  margin: -14px -14px 12px;
  padding: 14px;
  background: rgba(13, 29, 35, 0.98);
  border-bottom: 1px solid rgba(126, 215, 232, 0.22);
}

.edit-close {
  width: auto;
  margin-top: 0;
  padding-inline: 14px;
}

.detected {
  border: 1px solid rgba(126, 215, 232, 0.28);
  border-radius: 8px;
  background: rgba(126, 215, 232, 0.08);
  color: var(--muted);
  font-weight: 800;
  padding: 9px 10px;
}

.detected strong {
  color: var(--green-2);
}

.list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0 8px;
}

.list-toolbar strong {
  display: block;
  color: var(--text);
}

.proxy-server-list {
  display: grid;
  gap: 10px;
}

.proxy-server-row {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(126, 215, 232, 0.28);
  border-radius: 8px;
  background: rgba(126, 215, 232, 0.06);
  padding: 10px;
}

.proxy-server-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.helper-text {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.mode-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
  margin-bottom: 4px;
}

.mode {
  background: var(--field);
  color: var(--muted);
}

.mode.active {
  border-color: var(--green);
  background: rgba(21, 148, 181, 0.16);
  color: var(--green-2);
}

.category-order-panel {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(126, 215, 232, 0.28);
  border-radius: 8px;
  background: rgba(126, 215, 232, 0.06);
  padding: 10px;
}

.category-order-panel strong {
  display: block;
  color: var(--text);
}

.category-order-list {
  display: grid;
  gap: 7px;
}

.category-order-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto auto;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--field);
  padding: 8px;
}

.category-order-item input {
  min-width: 0;
}

.category-order-item span {
  color: var(--text);
  font-weight: 900;
}

.category-order-item button {
  width: auto;
  min-width: 38px;
  min-height: 32px;
  padding: 0 9px;
  white-space: nowrap;
}

.tabs {
  position: sticky;
  top: 0;
  z-index: 5;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 17, 22, 0.9);
  backdrop-filter: blur(14px);
}

.tabs a {
  flex: 1;
  min-width: 130px;
  text-align: center;
  background: #0a1b22;
}

.tabs button {
  flex: 1;
  min-width: 118px;
  text-align: center;
  background: #0a1b22;
}

.tabs .active {
  border-color: var(--green);
  background: rgba(21, 148, 181, 0.2);
  color: var(--green-2);
  box-shadow: inset 0 0 0 1px rgba(126, 215, 232, 0.12);
}

.workspace {
  display: grid;
  gap: 12px;
  align-items: start;
}

.editor,
.profiles,
.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 29, 35, 0.94);
  box-shadow: var(--shadow);
}

.editor {
  display: contents;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.panel,
.profiles {
  width: min(780px, 100%);
  margin: 0 auto;
  padding: 14px;
}

.profiles {
  position: static;
}

.overview-panel {
  display: grid;
  gap: 12px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.action-card {
  display: grid;
  min-height: 90px;
  align-content: center;
  gap: 8px;
  text-align: left;
  background: linear-gradient(180deg, rgba(16, 40, 50, 0.98), rgba(7, 23, 29, 0.98));
}

.action-card span {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.action-card strong {
  color: var(--text);
  font-size: 1.08rem;
}

.compact {
  width: auto;
  margin-top: 0;
  padding-inline: 12px;
}

.section-title {
  justify-content: space-between;
  margin-bottom: 10px;
}

.section-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.switch {
  display: flex;
  flex-direction: row;
  align-items: center;
  color: var(--muted);
  font-weight: 800;
  white-space: nowrap;
}

form,
label {
  display: grid;
  gap: 6px;
}

label {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.two {
  align-items: start;
}

.two > label {
  flex: 1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--field);
  color: var(--text);
  font: inherit;
  padding: 9px 10px;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(21, 148, 181, 0.14);
}

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

select[multiple] {
  min-height: 130px;
  padding: 6px;
}

select[multiple] option {
  border-radius: 6px;
  padding: 7px 8px;
}

.bug-host-filter-field .helper-text {
  font-size: 0.78rem;
}

.encryption-toggle-button {
  min-height: 38px;
  margin-top: 0;
}

.encryption-toggle-button.active {
  color: #06151a;
  background: linear-gradient(180deg, var(--green-2), var(--green));
  border-color: var(--green);
}

.primary {
  width: 100%;
  margin-top: 4px;
  color: #06151a;
  background: linear-gradient(180deg, var(--green-2), var(--green));
  border-color: var(--green);
}

.secondary {
  width: 100%;
  margin-top: 8px;
  background: #0a1b22;
  color: var(--green-2);
  border-color: rgba(126, 215, 232, 0.4);
}

.danger {
  width: 100%;
  color: #ffdce3;
  background: rgba(255, 95, 122, 0.1);
  border-color: rgba(255, 95, 122, 0.45);
}

.version {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(126, 215, 232, 0.4);
  border-radius: 999px;
  color: var(--green-2);
  font-weight: 800;
  padding: 7px 12px;
}

.stats {
  margin: 6px 0 16px;
}

.usage-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
}

.stats div {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
  padding: 11px;
}

.stats strong {
  display: block;
  color: var(--green-2);
  font-size: 1.55rem;
  line-height: 1;
}

.stats span {
  color: var(--muted);
  font-weight: 800;
}

.profile-list {
  display: grid;
  gap: 10px;
  margin: 10px 0 18px;
}

.admin-owner-form {
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

.admin-owner-card {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
  padding: 12px;
}

.admin-owner-card .item-head {
  justify-content: space-between;
}

.admin-owner-meta {
  color: var(--muted);
  font-weight: 700;
}

.admin-owner-role {
  border: 1px solid rgba(126, 215, 232, 0.32);
  border-radius: 999px;
  color: var(--green-2);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 8px;
  text-transform: uppercase;
}

.list-title {
  margin-top: 18px;
}

.profile-group-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  padding: 10px 2px 5px;
  border-top: 1px solid rgba(0, 188, 212, 0.28);
}

.profile-group-heading h3 {
  margin: 0;
  color: var(--text);
  font-size: 0.98rem;
}

.profile-group-heading span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 9px;
  color: var(--green-2);
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.profile-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
  padding: 10px;
}

.profile-item.inactive-profile {
  border-color: rgba(255, 200, 90, 0.34);
  background: rgba(255, 200, 90, 0.06);
}

.profile-item.locked-profile {
  border-color: rgba(126, 215, 232, 0.34);
  background: rgba(7, 23, 29, 0.76);
}

.profile-item.locked-profile .extra {
  color: var(--green-2);
}

.card-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.card-actions .secondary,
.card-actions .danger,
.card-actions .status-toggle {
  margin-top: 0;
}

.status-toggle.make-inactive {
  color: var(--warning);
  border-color: rgba(255, 200, 90, 0.45);
  background: rgba(255, 200, 90, 0.08);
}

.status-toggle.make-active {
  color: #06151a;
  border-color: var(--green);
  background: linear-gradient(180deg, var(--green-2), var(--green));
}

.item-head {
  justify-content: space-between;
  align-items: start;
}

.item-identity {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
}

.item-icon {
  display: inline-grid;
  position: relative;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(126, 215, 232, 0.42);
  border-radius: 50%;
  background: #06151a;
  color: white;
  font-size: 0.68rem;
  font-weight: 900;
  overflow: hidden;
}

.item-icon::before,
.item-icon::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.item-icon.flag {
  background: linear-gradient(180deg, #f7f7f7 0 33%, #d71920 33% 66%, #f7f7f7 66%);
  color: #071116;
}

.item-icon.logo {
  background: linear-gradient(135deg, #15b8ff, #0d4fe8);
}

.item-icon[data-icon-key="flag-sg"] {
  background: linear-gradient(180deg, #ef3340 0 50%, #fff 50%);
  color: #071116;
}

.item-icon[data-icon-key="flag-us"] {
  background: repeating-linear-gradient(180deg, #b22234 0 4px, #fff 4px 8px);
  color: #123;
}

.item-icon[data-icon-key="flag-uk"] {
  background: linear-gradient(135deg, #012169 0 35%, #fff 35% 43%, #c8102e 43% 57%, #fff 57% 65%, #012169 65%);
}

.item-icon[data-icon-key="flag-th"] {
  background: linear-gradient(180deg, #a51931 0 16%, #fff 16% 32%, #2d2a4a 32% 68%, #fff 68% 84%, #a51931 84%);
}

.item-icon[data-icon-key="flag-id"] {
  background: linear-gradient(180deg, #ce1126 0 50%, #fff 50%);
  color: #071116;
}

.item-icon[data-icon-key="flag-bd"] {
  background: radial-gradient(circle at 55% 50%, #f42a41 0 28%, transparent 29%), #006a4e;
}

.item-icon[data-icon-key="flag-pk"] {
  background: linear-gradient(90deg, #fff 0 26%, #01411c 26%);
  color: transparent;
}

.item-icon[data-icon-key="flag-pk"]::before {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  left: 14px;
  top: 9px;
}

.item-icon[data-icon-key="flag-pk"]::after {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #01411c;
  left: 18px;
  top: 8px;
  box-shadow: 6px 4px 0 -4px #fff;
}

.item-icon[data-icon-key="flag-in"] {
  background:
    radial-gradient(circle at 50% 50%, transparent 0 15%, #000080 16% 18%, transparent 19%),
    linear-gradient(180deg, #ff9933 0 33%, #fff 33% 66%, #138808 66%);
  color: transparent;
}

.item-icon[data-icon-key="logo-instagram"] {
  background: radial-gradient(circle at 72% 26%, #fff 0 5%, transparent 6%), linear-gradient(135deg, #feda75, #fa7e1e 32%, #d62976 60%, #962fbf 82%, #4f5bd5);
}

.item-icon[data-icon-key="logo-instagram"]::before {
  inset: 8px;
  border: 2px solid #fff;
  border-radius: 8px;
}

.item-icon[data-icon-key="logo-instagram"]::after {
  width: 7px;
  height: 7px;
  border: 2px solid #fff;
  border-radius: 50%;
  left: 12px;
  top: 12px;
}

.item-icon[data-icon-key="logo-facebook"] {
  background: #1877f2;
}

.item-icon[data-icon-key="logo-facebook"]::before {
  content: "f";
  position: static;
  color: #fff;
  font-size: 1.48rem;
  font-weight: 900;
  line-height: 1;
  font-family: Arial, sans-serif;
  transform: translateY(2px);
}

.item-icon[data-icon-key="logo-whatsapp"] {
  background: #25d366;
}

.item-icon[data-icon-key="logo-whatsapp"]::before {
  width: 18px;
  height: 18px;
  left: 7px;
  top: 6px;
  border: 3px solid #fff;
  border-radius: 50%;
}

.item-icon[data-icon-key="logo-whatsapp"]::after {
  width: 12px;
  height: 8px;
  left: 11px;
  top: 13px;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  border-radius: 0 0 0 8px;
  transform: rotate(-34deg);
  box-shadow: -6px 7px 0 -3px #fff;
}

.item-icon[data-icon-key="logo-telegram"] {
  background: #26a5e4;
}

.item-icon[data-icon-key="logo-telegram"]::before {
  width: 0;
  height: 0;
  left: 6px;
  top: 10px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 22px solid #fff;
  transform: rotate(-20deg);
}

.item-icon[data-icon-key="logo-telegram"]::after {
  width: 9px;
  height: 2px;
  left: 15px;
  top: 17px;
  border-radius: 999px;
  background: #26a5e4;
  transform: rotate(-34deg);
}

.item-icon[data-icon-key="logo-youtube"] {
  background: #ff0000;
}

.item-icon[data-icon-key="logo-youtube"]::before {
  width: 0;
  height: 0;
  left: 13px;
  top: 10px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid #fff;
}

.item-icon[data-icon-key="logo-tiktok"] {
  background: #010101;
}

.item-icon[data-icon-key="logo-tiktok"]::before,
.item-icon[data-icon-key="logo-tiktok"]::after {
  width: 8px;
  height: 21px;
  left: 15px;
  top: 6px;
  border-radius: 5px;
  background: #fff;
  box-shadow: -7px 12px 0 2px #fff, 6px 1px 0 -1px #fff;
}

.item-icon[data-icon-key="logo-tiktok"]::before {
  transform: translate(-2px, 2px);
  background: #25f4ee;
  box-shadow: -7px 12px 0 2px #25f4ee, 6px 1px 0 -1px #25f4ee;
}

.item-icon[data-icon-key="logo-tiktok"]::after {
  transform: translate(2px, -1px);
  background: #fe2c55;
  box-shadow: -7px 12px 0 2px #fe2c55, 6px 1px 0 -1px #fe2c55, 0 2px 0 0 #fff, -9px 14px 0 2px #fff, 4px 3px 0 -1px #fff;
}

.item-icon.asset {
  background-color: #071116;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: transparent;
}

.item-icon.asset::before,
.item-icon.asset::after {
  content: none;
  display: none;
}

.item-icon.url {
  background: #102832;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--green-2);
}

.item-icon.url::before,
.item-icon.url::after {
  content: none;
  display: none;
}

.item-title {
  color: white;
  font-size: 0.98rem;
  font-weight: 800;
}

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(126, 215, 232, 0.13);
  color: var(--green-2);
  padding: 5px 10px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.meta {
  margin-top: 7px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.empty {
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  padding: 20px;
  text-align: center;
}

@media (max-width: 920px) {
  .topbar,
  .top-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .section-title {
    align-items: stretch;
    flex-direction: column;
  }

  .section-actions {
    justify-content: flex-start;
  }

  .section-actions .encryption-toggle-button {
    flex: 1 1 150px;
  }

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

  .profiles {
    position: static;
  }

  .auth-panel,
  .auth-form {
    grid-template-columns: 1fr;
  }

  .list-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .proxy-server-fields {
    grid-template-columns: 1fr;
  }

  .card-actions {
    grid-template-columns: 1fr;
  }
}
