/* The four profile tabs use the same compact workspace language as the cabinet. */
body.silent-cabinet .profile-view {
  color: var(--ss-text);
}
body.silent-cabinet .profile-view .cabinet-page-heading {
  margin-bottom: 20px;
}
.profile-tabs {
  display: flex;
  align-items: center;
  gap: 5px;
  border-bottom: 1px solid var(--ss-line);
  margin-bottom: 24px;
  padding: 0 0 10px;
}
body.silent-cabinet #view-profile .profile-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 35px;
  padding: 8px 13px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--ss-muted);
  font-size: 10px;
  font-weight: 500;
  box-shadow: none;
  white-space: nowrap;
}
body.silent-cabinet #view-profile .profile-tab > i {
  font-size: 11px;
  color: #9299a7;
}
body.silent-cabinet #view-profile .profile-tab.active {
  background: var(--ss-paper);
  border-color: var(--ss-line);
  color: #515c7b;
  box-shadow: 0 1px 2px #1b233605;
}
body.silent-cabinet #view-profile .profile-tab.active > i {
  color: #8a95bd !important;
}
.profile-settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr);
  gap: 18px;
  align-items: start;
}
.profile-main-column,
.profile-side-column {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.profile-panel {
  background: var(--ss-paper);
  border: 1px solid var(--ss-line);
  border-radius: 10px;
  padding: 21px;
  min-width: 0;
}
.profile-panel-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid var(--ss-line);
  padding-bottom: 16px;
  margin-bottom: 18px;
}
body.silent-cabinet #view-profile .profile-panel-heading h3 {
  font-size: 12px !important;
  line-height: 1.5;
  font-weight: 600 !important;
  letter-spacing: -0.2px !important;
  color: var(--ss-text);
  margin: 0 0 5px;
}
.profile-panel-heading p {
  font-size: 10px;
  color: var(--ss-muted);
  line-height: 1.8;
  margin: 0;
}
.profile-panel-heading > i {
  font-size: 13px;
  color: #a0a7b5;
  margin-top: 4px;
}
.profile-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
}
body.silent-cabinet #profAvatarCircle {
  width: 43px !important;
  height: 43px !important;
  border-radius: 12px !important;
  background: #eef1f8 !important;
  border: 1px solid #e3e8f2 !important;
  box-shadow: none !important;
  color: #8795b5 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 600;
}
body.silent-cabinet #profCardFullName {
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: -0.2px !important;
  margin: 0 0 4px;
  color: var(--ss-text) !important;
}
body.silent-cabinet #profCardNickSub {
  font-size: 10px !important;
  letter-spacing: 0 !important;
  color: var(--ss-muted) !important;
  margin: 0;
  overflow-wrap: anywhere;
}
.profile-identity > .profile-upload {
  margin-left: auto;
  min-height: 31px;
  font-size: 9px;
  font-weight: 500;
  cursor: pointer;
}
.profile-upload input {
  display: none !important;
}
.profile-form-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.profile-field {
  display: block;
  min-width: 0;
}
.profile-field > span {
  display: block;
  font-size: 10px;
  color: #858c99;
  font-weight: 450;
  margin-bottom: 8px;
}
body.silent-cabinet #view-profile .profile-input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 39px;
  background: var(--ss-paper) !important;
  border: 1px solid #e4e7ed !important;
  border-radius: 6px !important;
  padding: 9px 12px !important;
  font-size: 11px !important;
  font-weight: 450 !important;
  color: var(--ss-text) !important;
  box-shadow: 0 1px 2px #00000002 !important;
  outline: none;
}
body.silent-cabinet #view-profile .profile-input::placeholder {
  color: #a8aeba;
}
body.silent-cabinet #view-profile .profile-input:focus {
  border-color: #969fca !important;
}
.profile-panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 18px;
  margin-top: 20px;
  border-top: 1px solid var(--ss-line);
}
.profile-panel-footer > span {
  font-size: 9px;
  color: var(--ss-muted);
  line-height: 1.8;
}
body.silent-cabinet #view-profile .ss-btn {
  font-size: 10px;
  min-height: 33px;
  padding: 7px 11px;
  gap: 7px;
  font-weight: 500;
  border-radius: 6px;
}
body.silent-cabinet #view-profile .ss-btn--primary {
  background: linear-gradient(#424347, #202124) !important;
  color: #fff !important;
  border-color: #292b31 !important;
  box-shadow: inset 0 1px 0 #ffffff20 !important;
}
body.silent-cabinet #view-profile .ss-btn--primary * {
  color: #fff !important;
}
.profile-inline-input {
  display: flex;
  align-items: center;
  gap: 9px;
}
.profile-inline-input .profile-input {
  flex: 1;
}
.profile-inline-input .ss-btn {
  flex-shrink: 0;
  min-height: 39px !important;
}
.profile-field-note {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-top: 11px;
  font-size: 9px;
  color: var(--ss-muted);
  line-height: 1.7;
}
body.silent-cabinet #profEmailBadge {
  font-size: 9px !important;
  color: #85958a !important;
  font-weight: 450 !important;
  min-width: 0;
  overflow-wrap: anywhere;
}
body.silent-cabinet #emailChangeStep2 {
  margin-top: 18px;
  font-size: 11px;
}
.profile-security-row {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--ss-line);
  padding: 15px 0;
}
.profile-security-row:nth-child(2) {
  padding-top: 0;
}
.profile-setting-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e9ecf3;
  background: #f3f5f9;
  color: #949fb5;
  border-radius: 7px;
  font-size: 12px;
  flex-shrink: 0;
}
.profile-security-row > div:not(.profile-row-controls) {
  min-width: 0;
  flex: 1;
}
.profile-security-row strong {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: var(--ss-text);
  margin-bottom: 4px;
}
body.silent-cabinet #profTelegramIdVal,
.profile-security-row > div > span {
  font-size: 10px !important;
  font-weight: 450 !important;
  color: var(--ss-muted) !important;
  display: block;
  overflow-wrap: anywhere;
}
.profile-row-controls {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
body.silent-cabinet #view-profile .profile-text-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: 0;
  font-size: 9px;
  color: #7f8aaa;
  font-weight: 450;
  padding: 0;
}
body.silent-cabinet #profTelegramCopyBtn,
body.silent-cabinet #profTelegramBindAction {
  font-size: 9px !important;
  font-weight: 450 !important;
  color: #8a95af !important;
  padding: 0;
  background: transparent;
  border: 0;
}
body.silent-cabinet #profTelegramCopyBtn i {
  font-size: 10px;
}
.profile-security-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 0;
  background: transparent;
  color: #929aab;
  font-size: 10px;
  text-align: left;
  padding: 16px 0 0;
}
.profile-help-note {
  padding: 7px 6px;
  color: var(--ss-muted);
}
.profile-help-note > .profile-setting-icon {
  margin-bottom: 13px;
}
.profile-help-note h3 {
  font-size: 11px;
  font-weight: 550;
  color: var(--ss-text);
  margin: 0 0 8px;
}
.profile-help-note p {
  font-size: 10px;
  line-height: 1.9;
  margin: 0 0 13px;
  max-width: 250px;
}
.profile-soft-badge {
  font-size: 8px;
  line-height: 1.6;
  white-space: nowrap;
  border: 1px solid var(--ss-line);
  border-radius: 5px;
  padding: 4px 6px;
  color: #99a0ad;
  background: var(--ss-bg);
}
.profile-access-list {
  margin: 0;
}
.profile-access-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--ss-line);
  padding: 19px 0;
}
.profile-access-list > div:first-child {
  padding-top: 3px;
}
.profile-access-list > div:last-child {
  border: 0;
  padding-bottom: 2px;
}
.profile-access-list dt {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  color: var(--ss-muted);
  white-space: nowrap;
  font-weight: 400;
}
.profile-access-list dt i {
  font-size: 10px;
  color: #a1a9b8;
  width: 12px;
  text-align: center;
}
.profile-access-list dd {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 12px;
  font-size: 11px;
  color: var(--ss-text);
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}
.profile-access-list dd > a {
  font-size: 10px;
  color: #8493b4;
  overflow-wrap: anywhere;
}
.profile-access-list dd > button:not(.profile-text-button) {
  background: transparent;
  border: 0;
  color: #9da6b8;
  font-size: 10px;
  padding: 2px;
}
.profile-api-panel {
  padding: 24px;
}
.profile-api-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #f1f2f9;
  border: 1px solid #e7e9f4;
  color: #8b97bb;
  border-radius: 10px;
  font-size: 15px;
  margin-bottom: 19px;
}
.profile-api-panel > h3 {
  font-size: 14px;
  font-weight: 550;
  letter-spacing: -0.3px;
  margin: 0 0 12px;
}
.profile-api-panel > p {
  font-size: 10px;
  line-height: 1.9;
  color: var(--ss-muted);
  margin: 0 0 23px;
}
.profile-api-panel > .ss-btn {
  display: flex;
  width: 100%;
  margin-top: 9px;
  justify-content: center;
}
.profile-billing-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}
.profile-billing-stat {
  padding: 18px;
  border: 1px solid var(--ss-line);
  border-radius: 9px;
  display: flex;
  flex-direction: column;
  align-items: start;
  min-height: 132px;
}
.profile-billing-stat > i {
  font-size: 14px;
  color: #778397;
  margin-bottom: 18px;
}
body.silent-cabinet #profAccountBalance,
body.silent-cabinet #profStatPurchasesCount,
body.silent-cabinet #profStatSpentTotal {
  font-size: 23px !important;
  line-height: 1.3 !important;
  font-weight: 600 !important;
  letter-spacing: -0.5px !important;
  font-family: Manrope, sans-serif !important;
  color: #3b4350 !important;
  margin-bottom: 5px;
}
.profile-billing-stat > span {
  font-size: 10px;
  color: #9298a3;
}
.profile-billing-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 0;
  margin-bottom: 5px;
}
.profile-billing-actions > span {
  font-size: 10px;
  color: var(--ss-muted);
  line-height: 1.8;
}
.profile-billing-actions > div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.profile-recent-panel {
  padding: 0;
  overflow: hidden;
}
.profile-recent-panel .profile-panel-heading {
  padding: 17px 18px;
  margin: 0;
  align-items: center;
}
.profile-recent-panel .profile-panel-heading h3 {
  margin-bottom: 4px !important;
}
.profile-table-scroll {
  overflow-x: auto;
}
.profile-recent-table {
  border-collapse: collapse;
  text-align: left;
  width: 100%;
  min-width: 620px;
  font-size: 10px;
  line-height: 1.6;
}
.profile-recent-table th {
  padding: 11px 17px;
  color: var(--ss-muted);
  font-size: 9px;
  font-weight: 450;
  background: var(--ss-bg);
  border-bottom: 1px solid var(--ss-line);
  white-space: nowrap;
}
.profile-recent-table td {
  padding: 16px 17px;
  border-bottom: 1px solid var(--ss-line);
  font-size: 10px;
  color: var(--ss-muted);
  white-space: nowrap;
}
.profile-recent-table tr:last-child td {
  border: 0;
}
.profile-recent-account {
  display: flex;
  align-items: center;
  gap: 9px;
}
.profile-recent-account strong {
  font-size: 11px;
  font-weight: 500;
  color: var(--ss-text);
}
.profile-country {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
}
.profile-country img {
  width: 17px !important;
  height: 12px !important;
  border-radius: 2px;
  box-shadow: none !important;
}
.profile-recent-table .profile-recent-price {
  font-size: 11px;
  color: var(--ss-text);
  font-weight: 500;
}
.profile-delivered {
  padding: 4px 7px;
  border: 1px solid #e1ebdd;
  background: #edf5eb;
  color: #7a936f;
  font-size: 8px;
  border-radius: 5px;
}
.profile-empty {
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--ss-muted);
  font-size: 10px;
  text-align: center;
}
.profile-empty > i {
  font-size: 20px;
  color: #a5afbf;
  margin-bottom: 4px;
}
.profile-empty strong {
  font-size: 12px;
  color: var(--ss-text);
  font-weight: 500;
}
.profile-empty > .ss-btn {
  margin-top: 5px;
}
.profile-notification-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 19px 0;
  border-bottom: 1px solid var(--ss-line);
  cursor: pointer;
}
.profile-notification-row:nth-child(2) {
  padding-top: 1px;
}
.profile-setting-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.profile-setting-copy > strong {
  font-size: 11px;
  font-weight: 500;
  color: var(--ss-text);
}
.profile-setting-copy > span {
  font-size: 9px;
  line-height: 1.7;
  color: var(--ss-muted);
}
.profile-toggle-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  height: 26px;
  margin-left: 8px;
}
body.silent-cabinet #view-profile .profile-toggle {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100% !important;
  height: 100% !important;
  margin: 0;
  cursor: pointer;
  z-index: 1;
}
.profile-toggle-track {
  display: block;
  width: 29px;
  height: 17px;
  border-radius: 20px;
  border: 1px solid #dcdfe6;
  background: #e9ebf0;
  position: relative;
  transition: background-color 0.15s ease;
}
.profile-toggle-track:after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 11px;
  height: 11px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 2px #00000012;
  transition: transform 0.15s ease;
}
.profile-toggle:checked + .profile-toggle-track {
  background: #8f9cc4;
  border-color: #8f9cc4;
}
.profile-toggle:checked + .profile-toggle-track:after {
  transform: translateX(12px);
}
.profile-toggle:focus-visible + .profile-toggle-track {
  outline: 3px solid #8c98ef;
  outline-offset: 3px;
}
.profile-protection-panel {
  padding-bottom: 6px;
}
.profile-protection-method {
  padding: 0 0 19px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--ss-line);
}
.profile-protection-method:last-child {
  border: 0;
  margin: 0;
}
.profile-protection-method-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
}
.profile-protection-method-heading > div {
  flex: 1;
  min-width: 0;
}
.profile-protection-method-heading h4 {
  font-size: 10px;
  font-weight: 500;
  margin: 0 0 5px;
  line-height: 1.6;
  color: var(--ss-text);
}
.profile-protection-method-heading p {
  font-size: 8px;
  line-height: 1.7;
  margin: 0;
  color: var(--ss-muted);
}
body.silent-cabinet #app2faBadge,
body.silent-cabinet #tg2faBadge {
  font-size: 8px !important;
  line-height: 1.5 !important;
  font-weight: 450 !important;
  background: #f2f3f6 !important;
  border: 1px solid #e7e9ef !important;
  border-radius: 5px !important;
  color: #9099a8 !important;
  padding: 3px 5px !important;
  white-space: nowrap;
}
body.silent-cabinet #app2faBadge[class*="bg-emerald"],
body.silent-cabinet #tg2faBadge[class*="bg-emerald"] {
  background: #edf5eb !important;
  border-color: #e1ebdd !important;
  color: #77916d !important;
}
body.silent-cabinet .profile-2fa-controls {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
body.silent-cabinet .profile-2fa-controls > button {
  min-height: 34px;
  width: 100%;
  font-size: 10px !important;
  font-weight: 450 !important;
  border-radius: 6px !important;
  background: var(--ss-paper) !important;
  border: 1px solid var(--ss-line) !important;
  color: #8a93a6 !important;
  box-shadow: none !important;
  padding: 8px 10px !important;
  margin: 0 !important;
  transform: none !important;
}
body.silent-cabinet .profile-2fa-controls > button * {
  color: inherit !important;
  font-size: 10px !important;
}
body.silent-cabinet .profile-2fa-controls > button[class*="bg-brandBlue"] {
  background: #393d46 !important;
  color: #fff !important;
  border-color: #393d46 !important;
}
body.silent-cabinet .profile-2fa-controls > input {
  min-height: 36px !important;
  border: 1px solid var(--ss-line) !important;
  border-radius: 6px !important;
  font-size: 12px !important;
  letter-spacing: 4px;
  font-weight: 450 !important;
  box-shadow: none !important;
  margin: 0 !important;
}
body.silent-cabinet .profile-2fa-controls > div,
body.silent-cabinet .profile-2fa-controls > p {
  font-size: 9px !important;
  line-height: 1.8;
  color: var(--ss-muted) !important;
  margin: 0 !important;
  border-radius: 6px !important;
}
body.silent-cabinet #tgBindStatusText b {
  font-size: 8px !important;
  color: var(--ss-muted) !important;
  font-weight: 500 !important;
}
.dark .profile-tab.active {
  background: #303745;
}
.dark .profile-field > span {
  color: #a3abb9;
}
.dark body.silent-cabinet #view-profile .profile-input {
  border-color: #424c60 !important;
}
.dark .profile-setting-icon {
  background: #333c4d;
  border-color: #414d63;
  color: #a5b1cb;
}
.dark .profile-delivered {
  background: #314137;
  border-color: #425547;
  color: #abc0a4;
}
.dark .profile-billing-stat {
  background: linear-gradient(120deg, #343d53, #2a3441);
  border-color: #424d60;
}
.dark .profile-billing-stat.ss-wash-mint {
  background: linear-gradient(120deg, #344b4b, #303846);
}
.dark .profile-billing-stat.ss-wash-peach {
  background: linear-gradient(120deg, #4c3b4e, #444131);
}
.dark body.silent-cabinet #profAccountBalance,
.dark body.silent-cabinet #profStatPurchasesCount,
.dark body.silent-cabinet #profStatSpentTotal {
  color: #d8e0ee !important;
}
.dark .profile-api-icon {
  background: #343e53;
  border-color: #45516a;
  color: #a2b1d0;
}
@media (max-width: 1200px) {
  .profile-settings-grid {
    grid-template-columns: minmax(0, 1.65fr) minmax(270px, 1fr);
    gap: 15px;
  }
  .profile-panel {
    padding: 18px;
  }
  .profile-panel-heading p {
    font-size: 9px;
  }
  .profile-access-list > div {
    gap: 12px;
  }
  .profile-tab {
    padding-inline: 10px !important;
    font-size: 9px !important;
  }
  .profile-protection-method-heading {
    gap: 7px;
  }
  .profile-protection-method-heading > .profile-setting-icon {
    display: none;
  }
  .profile-panel-footer > span {
    font-size: 8px;
  }
}
@media (max-width: 850px) {
  .profile-settings-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .profile-side-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px;
  }
  .profile-help-note {
    padding: 18px;
  }
  .profile-api-panel > .ss-btn {
    max-width: 300px;
  }
  .profile-billing-actions {
    align-items: start;
  }
  .profile-billing-actions > span {
    max-width: 200px;
  }
  .profile-notifications-panel .profile-panel-footer > span {
    font-size: 9px;
  }
  .profile-protection-method-heading > .profile-setting-icon {
    display: flex;
  }
}
@media (max-width: 650px) {
  body.silent-cabinet .profile-view .cabinet-page-heading {
    gap: 10px;
    margin-bottom: 18px;
  }
  .profile-view .cabinet-page-heading p {
    max-width: 205px;
  }
  .profile-view .cabinet-page-heading > .ss-btn {
    font-size: 8px !important;
    padding: 7px 9px !important;
    min-height: 34px !important;
  }
  .profile-view .cabinet-page-heading > .ss-btn i {
    display: none;
  }
  .profile-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    padding-bottom: 12px;
    margin-bottom: 18px;
  }
  body.silent-cabinet #view-profile .profile-tab {
    font-size: 9px !important;
    padding: 8px 5px !important;
    min-height: 39px;
    gap: 6px;
    white-space: normal;
    justify-content: start;
  }
  .profile-tab > i {
    width: 13px;
    text-align: center;
    font-size: 10px !important;
  }
  .profile-panel {
    padding: 17px;
  }
  .profile-panel-heading {
    padding-bottom: 14px;
    margin-bottom: 16px;
    gap: 10px;
  }
  .profile-panel-heading p {
    font-size: 9px;
  }
  .profile-panel-heading > i {
    display: none;
  }
  .profile-identity {
    gap: 9px;
    margin-bottom: 18px;
    flex-wrap: wrap;
  }
  .profile-identity > .profile-upload {
    margin-left: 0;
    margin-top: 4px;
    flex-basis: 100%;
  }
  .profile-form-fields {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  body.silent-cabinet #view-profile .profile-input {
    font-size: 16px !important;
    min-height: 42px;
  }
  .profile-panel-footer {
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
    padding-top: 15px;
  }
  .profile-panel-footer > span {
    font-size: 9px;
  }
  .profile-panel-footer > .ss-btn {
    min-height: 37px !important;
    font-size: 9px !important;
  }
  .profile-inline-input {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }
  .profile-inline-input > .ss-btn {
    align-self: start;
    min-height: 35px !important;
  }
  .profile-field-note {
    flex-direction: column;
    gap: 6px;
    font-size: 8px;
  }
  .profile-side-column {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .profile-help-note {
    padding: 5px 6px;
  }
  .profile-help-note > .profile-setting-icon {
    display: none;
  }
  .profile-help-note h3 {
    font-size: 10px;
  }
  .profile-help-note p {
    font-size: 9px;
    max-width: 100%;
  }
  .profile-access-list > div {
    align-items: start;
    padding: 16px 0;
    gap: 10px;
  }
  .profile-access-list dt {
    font-size: 9px;
    gap: 6px;
  }
  .profile-access-list dd {
    font-size: 10px;
    gap: 8px;
  }
  .profile-access-list dd > a {
    font-size: 9px;
  }
  .profile-access-list dd > span {
    max-width: 150px;
    overflow-wrap: anywhere;
  }
  .profile-api-panel > .ss-btn {
    max-width: 100%;
    min-height: 37px !important;
  }
  .profile-soft-badge {
    font-size: 7px;
    max-width: 100px;
    white-space: normal;
    text-align: right;
  }
  .profile-billing-summary {
    gap: 8px;
  }
  .profile-billing-stat {
    padding: 13px 11px;
    min-height: 113px;
  }
  .profile-billing-stat > i {
    font-size: 12px;
    margin-bottom: 16px;
  }
  body.silent-cabinet #profAccountBalance,
  body.silent-cabinet #profStatPurchasesCount,
  body.silent-cabinet #profStatSpentTotal {
    font-size: 19px !important;
  }
  .profile-billing-stat > span {
    font-size: 8px;
    line-height: 1.7;
  }
  .profile-billing-actions {
    flex-direction: column;
    gap: 10px;
    padding: 15px 0;
  }
  .profile-billing-actions > span {
    font-size: 9px;
    max-width: 100%;
  }
  .profile-billing-actions > div {
    width: 100%;
    gap: 6px;
  }
  .profile-billing-actions .ss-btn {
    flex: 1;
    font-size: 9px !important;
    min-height: 37px !important;
    padding-inline: 8px !important;
  }
  .profile-recent-panel {
    padding: 0;
  }
  .profile-recent-panel .profile-panel-heading {
    padding: 15px;
    align-items: start;
  }
  .profile-recent-panel .profile-panel-heading p {
    font-size: 8px;
    max-width: 160px;
  }
  .profile-recent-panel .profile-panel-heading .ss-btn {
    font-size: 8px !important;
    padding: 7px 8px !important;
    min-height: 32px;
  }
  .profile-table-scroll {
    overflow: visible;
  }
  .profile-recent-table {
    display: block;
    min-width: 0;
  }
  .profile-recent-table thead {
    display: none;
  }
  .profile-recent-table tbody {
    display: block;
  }
  .profile-recent-table tr {
    display: block;
    padding: 16px;
    border-bottom: 1px solid var(--ss-line);
  }
  .profile-recent-table tr:last-child {
    border: 0;
  }
  .profile-recent-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 0;
    padding: 6px 0;
    font-size: 9px;
  }
  .profile-recent-table td:before {
    content: attr(data-label);
    font-size: 9px;
    color: var(--ss-muted);
  }
  .profile-recent-table td[data-label="Аккаунт"]:before {
    display: none;
  }
  .profile-recent-table td[data-label="Аккаунт"] {
    display: block;
    padding-top: 0;
    padding-bottom: 10px;
  }
  .profile-notification-row {
    gap: 8px;
    padding: 17px 0;
  }
  .profile-setting-copy > strong {
    font-size: 10px;
  }
  .profile-setting-copy > span {
    font-size: 8px;
  }
  .profile-notification-row > .profile-setting-icon {
    width: 25px;
    height: 25px;
    min-width: 25px;
    font-size: 11px;
  }
  .profile-toggle-wrap {
    margin-left: 2px;
  }
  .profile-protection-method-heading > .profile-setting-icon {
    display: none;
  }
  .profile-protection-method-heading h4 {
    font-size: 10px;
  }
  .profile-protection-method-heading p {
    font-size: 8px;
  }
  .profile-protection-panel {
    padding-bottom: 2px;
  }
  body.silent-cabinet .profile-2fa-controls > button {
    min-height: 38px !important;
  }
  body.silent-cabinet .profile-2fa-controls > input {
    font-size: 16px !important;
    min-height: 40px !important;
  }
  .profile-notifications-panel .profile-panel-footer {
    align-items: start;
    flex-direction: column;
    gap: 9px;
  }
}

/* Override the legacy email button's ID rule and keep table edges aligned. */
body.silent-cabinet #view-profile #btnChangeEmail {
  background: var(--ss-paper) !important;
  color: #818caa !important;
  border: 1px solid var(--ss-line) !important;
  box-shadow: none !important;
}
body.silent-cabinet #view-profile .profile-tab-panel {
  animation: none !important;
}
.profile-panel.profile-recent-panel {
  padding: 0;
}
.profile-field > label {
  display: block;
  font-size: 10px;
  color: #858c99;
  font-weight: 450;
  margin-bottom: 8px;
}

body.silent-cabinet .profile-2fa-controls > button[class*="bg-red-"] {
  color: #b1848b !important;
  background: #fbf5f5 !important;
  border-color: #f1e4e6 !important;
}
@media (max-width: 650px) {
  .profile-billing-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .profile-billing-stat:first-child {
    grid-column: 1/-1;
    min-height: 119px;
  }
  body.silent-cabinet #profAccountBalance {
    font-size: 25px !important;
  }
}
.dark body.silent-cabinet #view-profile .profile-tab.active {
  color: #c8d1e8;
}
