:root {
  --bg: #f5f8fc;
  --panel: #ffffff;
  --ink: #081225;
  --muted: #526079;
  --soft: #eef3f9;
  --line: #dde6f1;
  --blue: #006dff;
  --blue-strong: #005ce6;
  --blue-soft: #e8f2ff;
  --purple: #7c3fe0;
  --green: #35a936;
  --navy: #020713;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.48;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 0%, rgba(0, 109, 255, 0.07), transparent 28rem),
    linear-gradient(180deg, #f8fbff 0, var(--bg) 18rem);
}

a {
  color: var(--blue-strong);
  font-weight: 650;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button,
input,
textarea {
  font: inherit;
}

.ui-icon {
  width: 1em;
  height: 1em;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex: 0 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 84px;
  background: linear-gradient(100deg, #020713 0%, #06101d 58%, #020713 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}

.topbar-inner {
  width: min(100%, 1536px);
  height: 100%;
  margin: 0 auto;
  padding: 0 54px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
  color: #fff;
}

.brand-mark {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand-name {
  display: block;
  font-size: 28px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: 0;
}

.brand-name span {
  color: #2384ff;
}

.brand-tagline {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
}

.desktop-nav {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 2px;
  margin: 0 auto;
}

.desktop-nav a {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 76px;
  padding: 0 10px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.desktop-nav a .ui-icon {
  width: 22px;
  height: 22px;
  stroke-width: 2.15;
}

.desktop-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 18px;
  height: 3px;
  border-radius: 999px;
  background: var(--blue);
}

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

.icon-btn,
.outline-btn,
.primary-btn,
.ghost-btn {
  min-height: 40px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

a.outline-btn,
a.primary-btn,
a.icon-btn,
a.mobile-menu,
a.full-btn,
a.table-btn,
a.outline-link {
  text-decoration: none;
}

.icon-btn {
  width: 44px;
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
}

.icon-btn .ui-icon {
  width: 21px;
  height: 21px;
}

.outline-btn {
  padding: 0 26px;
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
  font-weight: 700;
}

.primary-btn {
  padding: 0 24px;
  background: linear-gradient(180deg, #127cff, #0064f4);
  border-color: #127cff;
  color: #fff;
  font-weight: 750;
  box-shadow: 0 8px 22px rgba(0, 109, 255, 0.24);
}

.primary-btn .ui-icon,
.outline-btn .ui-icon,
.outline-link .ui-icon,
.table-btn .ui-icon {
  width: 16px;
  height: 16px;
}

.mobile-menu {
  display: none;
}

.mobile-only {
  display: none !important;
}

.page {
  width: min(100%, 1536px);
  margin: 0 auto;
  padding: 24px 54px 28px;
}

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

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel + .panel {
  margin-top: 14px;
}

.panel-pad {
  padding: 18px;
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.panel-title {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0;
}

.panel-action {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.panel-action .ui-icon {
  width: 15px;
  height: 15px;
}

.circle-icon,
.small-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: #10203a;
}

.circle-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(180deg, #60a7ff, #006dff);
  color: #fff;
  font-size: 21px;
}

.small-icon {
  width: 24px;
  height: 24px;
  font-size: 21px;
}

.sidebar {
  padding: 16px 14px;
}

.user-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #127cff, #005ce6);
  color: #fff;
  font-size: 24px;
}

.user-name {
  font-weight: 800;
}

.user-role,
.section-label,
.post-time,
.muted {
  color: var(--muted);
}

.user-role {
  font-size: 12px;
}

.section-label {
  margin: 24px 0 10px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.side-link {
  min-height: 31px;
  padding: 0 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #2c3850;
  font-size: 13px;
  font-weight: 600;
}

.side-link[aria-current="page"] {
  background: #eaf3ff;
  color: var(--blue-strong);
}

.side-block {
  display: grid;
  gap: 12px;
  font-size: 12px;
}

.forum-post {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.forum-post:last-child {
  border-bottom: 0;
}

.forum-post strong {
  display: block;
  color: #0b2361;
  line-height: 1.22;
}

.main-stack {
  min-width: 0;
}

.card-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.card-table th,
.card-table td {
  height: 29px;
  padding: 0 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-table th {
  color: #0c1628;
  font-weight: 800;
}

.card-table tr:last-child td {
  border-bottom: 0;
}

.chev {
  width: 20px;
  color: #30415c;
  font-size: 22px;
  text-align: right;
}

.table-btn,
.outline-link {
  min-height: 32px;
  padding: 0 16px;
  border: 1px solid #bdd7ff;
  border-radius: 6px;
  background: #f7fbff;
  color: var(--blue-strong);
  font-size: 13px;
  font-weight: 800;
}

.manage-profile-table th:nth-child(1) {
  width: 32%;
}

.manage-profile-table th:nth-child(2) {
  width: 16%;
}

.manage-profile-table th:nth-child(3) {
  width: 10%;
}

.manage-profile-table th:nth-child(4) {
  width: 42%;
}

.manage-profile-table td {
  height: auto;
  padding-block: 8px;
}

.manage-profile-table td:first-child,
.manage-profile-table td:last-child {
  overflow: visible;
  white-space: normal;
}

.manage-profile-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.manage-profile-actions .table-btn,
.manage-profile-actions .danger-btn {
  min-height: 32px;
  padding: 0 12px;
  font-size: 13px;
}

.manage-profile-actions .table-btn {
  margin-left: 0;
}

.manage-profile-delete-form {
  display: inline-flex;
  margin: 0;
}

.right-feed {
  padding: 16px;
}

.feed-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.feed-item:first-of-type {
  padding-top: 0;
}

.feed-item:last-child {
  border-bottom: 0;
}

.feed-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: #14213d;
  font-style: italic;
}

.inline-action-form {
  display: inline-flex;
  margin-left: auto;
}

.text-danger-btn {
  border: 0;
  background: transparent;
  color: #b91c1c;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0;
}

.profile-comment-form,
.profile-rating-form {
  margin-top: 14px;
}

.interaction-message {
  margin-bottom: 0;
}

.message-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.message-tabs a {
  min-height: 34px;
  padding: 7px 13px;
  border: 1px solid #bdd7ff;
  border-radius: 6px;
  background: #f7fbff;
  color: var(--blue-strong);
  font-size: 13px;
  font-weight: 800;
}

.message-tabs a[aria-current="page"] {
  background: var(--blue);
  color: #fff;
}

.message-list {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.message-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) minmax(120px, 0.8fr) minmax(120px, 0.8fr) minmax(120px, 0.6fr);
  gap: 12px;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 13px;
}

.message-row:last-child {
  border-bottom: 0;
}

.message-row.unread {
  background: #f1f7ff;
  font-weight: 800;
}

.message-head {
  background: var(--soft);
  color: #14213d;
  font-weight: 850;
}

.message-subject {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.private-message-detail {
  display: grid;
  gap: 16px;
}

.private-message-body {
  min-height: 120px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow-wrap: anywhere;
}

.private-message-form textarea {
  min-height: 240px;
}

.signature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.signature-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.signature-card h2 {
  margin: 0;
  font-size: 16px;
}

.signature-card img {
  max-width: 100%;
  height: auto;
  border: 1px solid #17243a;
  border-radius: 6px;
  background: #081225;
}

.signature-card label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.signature-card textarea {
  width: 100%;
  min-height: 76px;
  border: 1px solid #c7d7ef;
  border-radius: 6px;
  padding: 10px 11px;
  font-size: 12px;
  resize: vertical;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 3px;
}

.full-btn {
  width: 100%;
  margin-top: 10px;
  min-height: 33px;
  border: 1px solid #bdd7ff;
  border-radius: 6px;
  background: #f8fbff;
  color: var(--blue-strong);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cta-card {
  position: relative;
  min-height: 210px;
  padding: 28px 164px 26px 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 52%, rgba(0, 123, 255, 0.52), transparent 70px),
    linear-gradient(135deg, #06111f 0%, #020713 74%);
  color: #fff;
}

.cta-card h3 {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.1;
}

.cta-card h3 span {
  display: block;
  color: #1782ff;
}

.cta-card p {
  margin: 14px 0 22px;
  max-width: 190px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.tower {
  position: absolute;
  right: 26px;
  bottom: 18px;
  width: 92px;
  height: 144px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: linear-gradient(90deg, #07121f, #111e30);
  box-shadow: 0 0 34px rgba(0, 109, 255, 0.48);
}

.tower::before,
.tower::after {
  content: "";
  position: absolute;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 7px solid #0a73ff;
  box-shadow: 0 0 14px rgba(0, 213, 255, 0.9);
}

.tower::before {
  top: 24px;
}

.tower::after {
  top: 84px;
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 14px auto 0;
  width: min(100%, 860px);
}

.stat-item {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #26344e;
  font-size: 13px;
  border-right: 1px solid var(--line);
}

.stat-item:last-child {
  border-right: 0;
}

.mobile-user-card {
  display: none;
}

.profile-summary {
  padding: 20px;
}

.profile-hero-card {
  display: grid;
  grid-template-columns: minmax(320px, 1.1fr) minmax(0, 1.25fr) 230px;
  gap: 0;
  overflow: hidden;
  padding: 0;
  align-items: stretch;
}

.profile-hero-media {
  min-height: 360px;
  background: var(--soft);
}

.profile-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-hero-body {
  display: grid;
  align-content: center;
  gap: 16px;
  min-width: 0;
  padding: 30px;
}

.profile-eyebrow,
.profile-owner-row,
.profile-score-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.profile-eyebrow span:first-child {
  color: var(--blue-strong);
}

.profile-hero-body h1 {
  margin: 0;
  color: var(--ink);
  font-size: 36px;
  line-height: 1.08;
}

.profile-model {
  margin: -8px 0 0;
  color: #30405e;
  font-size: 17px;
  font-weight: 750;
}

.profile-owner-row a {
  color: var(--blue-strong);
}

.profile-chip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.profile-chip {
  min-width: 0;
  min-height: 104px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 3px 10px;
  align-content: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

.profile-chip img {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.profile-chip span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.profile-chip strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.25;
}

.profile-description {
  margin: 0;
  max-width: 760px;
}

.profile-score-card {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  margin: 24px 24px 24px 0;
  padding: 20px;
  border: 1px solid #cfe0f7;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f7fbff);
  text-align: center;
}

.profile-gauge {
  position: relative;
  width: 144px;
  height: 144px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  isolation: isolate;
  border-radius: 50%;
  background: conic-gradient(var(--blue) var(--gauge), #e5edf8 0);
}

.profile-gauge::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}

.profile-gauge span,
.profile-gauge small {
  position: relative;
  z-index: 1;
}

.profile-gauge span {
  color: var(--ink);
  font-size: 38px;
  font-weight: 900;
  line-height: 0.95;
}

.profile-gauge small {
  display: none;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.profile-score-card h2 {
  margin: 6px 0 0;
  font-size: 18px;
}

.profile-score-card p {
  margin: 0;
  color: var(--muted);
}

.profile-score-meta {
  justify-content: center;
  padding-top: 6px;
}

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

.profile-detail-main,
.profile-detail-side {
  display: grid;
  gap: 18px;
}

.profile-empty-gallery {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  color: var(--muted);
}

.profile-empty-gallery img {
  display: block;
  width: 180px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.profile-empty-gallery strong,
.profile-empty-gallery span {
  display: block;
}

.profile-empty-gallery strong {
  color: var(--ink);
}

.profile-spec-panel {
  display: grid;
  gap: 16px;
}

.profile-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.profile-section-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  background: #f4f8ff;
}

.profile-section-icon img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.profile-section-header h2 {
  margin: 0;
  font-size: 21px;
  line-height: 1.15;
}

.profile-section-header .panel-action {
  margin-left: auto;
}

.profile-image-upload-form {
  margin-top: 14px;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.info-col {
  padding: 18px 20px;
}

.info-col + .info-col {
  border-left: 1px solid var(--line);
}

.info-row {
  display: grid;
  grid-template-columns: 36px 130px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 50px;
  font-size: 13px;
}

.value {
  min-width: 0;
  overflow-wrap: normal;
  word-break: normal;
}

.rating {
  color: #ffb21a;
  font-size: 18px;
  letter-spacing: 0;
  white-space: nowrap;
}

.rating-muted {
  color: #c3ccd8;
}

.signature {
  position: relative;
  min-height: 126px;
  padding: 22px 210px 20px 28px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.16), transparent 34%),
    repeating-linear-gradient(150deg, rgba(255, 255, 255, 0.06) 0 2px, transparent 2px 22px),
    linear-gradient(135deg, #33495b, #142536);
  color: #fff;
}

.signature-name {
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1;
  font-weight: 850;
}

.signature-specs {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 2px 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
}

.signature-rating {
  position: absolute;
  top: 20px;
  right: 34px;
  width: 92px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(7, 18, 31, 0.62);
  font-size: 54px;
  font-weight: 900;
}

.signature-site {
  position: absolute;
  right: 34px;
  bottom: 18px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 17px;
}

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

.spec-row {
  display: grid;
  grid-template-columns: 36px 140px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 34px;
  font-size: 14px;
}

.spec-row:first-child strong {
  grid-column: 2 / -1;
}

.comment-box {
  width: 100%;
  min-height: 78px;
  resize: vertical;
  border: 1px solid #bdd7ff;
  border-radius: 5px;
  padding: 10px;
  color: var(--ink);
}

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

.legacy-notice,
.legal-doc {
  max-width: 860px;
  margin: 32px auto;
}

.legacy-notice h1,
.legal-doc h1 {
  margin: 0 0 14px;
  font-size: 28px;
}

.legal-doc h2 {
  margin: 24px 0 8px;
  font-size: 19px;
}

.legal-doc p {
  margin: 0 0 12px;
}

.notice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.profile-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  margin: 0 0 18px;
}

.profile-switch label {
  display: grid;
  gap: 6px;
  min-width: min(100%, 280px);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.profile-switch select {
  min-height: 40px;
  border: 1px solid #c7d7ef;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 0 11px;
  font: inherit;
}

.legacy-form {
  display: grid;
  grid-template-columns: minmax(130px, 180px) minmax(180px, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.legacy-form-wide {
  grid-template-columns: 1fr;
  align-items: stretch;
}

.legacy-form label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.legacy-form input,
.legacy-form select,
.legacy-form textarea {
  width: 100%;
  border: 1px solid #c7d7ef;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 10px 11px;
  font-size: 14px;
  font-weight: 500;
}

.legacy-form textarea {
  resize: vertical;
}

.legacy-form .checkbox-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 600;
}

.legacy-form .checkbox-line input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin-top: 2px;
  padding: 0;
}

.editor-list {
  display: grid;
  gap: 14px;
}

.editor-row {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.editor-row h2 {
  margin: 0 0 12px;
  font-size: 17px;
}

.editor-row h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.2;
}

.embedded-editor-panel,
.profile-edit-index {
  scroll-margin-top: 96px;
}

.profile-image-editor-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.profile-image-editor-row > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.hardware-editor-form {
  gap: 14px;
}

.checkbox-label {
  display: flex !important;
  grid-template-columns: none !important;
  flex-direction: row;
  align-items: center;
  min-height: 42px;
}

.checkbox-label input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.light-btn {
  border-color: #c7d7ef;
  color: var(--blue-strong);
  background: #fff;
  box-shadow: none;
}

.danger-btn {
  min-height: 40px;
  border: 1px solid #fecaca;
  border-radius: 7px;
  background: #fff1f2;
  color: #991b1b;
  padding: 0 20px;
  font-weight: 750;
  cursor: pointer;
}

.form-error,
.form-success {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 6px;
  font-weight: 750;
}

.form-error {
  background: #fff1f2;
  color: #991b1b;
}

.form-success {
  background: #ecfdf5;
  color: #047857;
}

.public-page {
  display: grid;
  gap: 18px;
}

.legacy-hero,
.directory-toolbar,
.group-head,
.user-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.legacy-hero h1,
.directory-toolbar h1,
.group-head h1,
.user-detail-head h1,
.legacy-article h1 {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.12;
}

.legacy-hero p,
.directory-toolbar p {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
}

.directory-search {
  display: flex;
  gap: 10px;
  width: min(100%, 460px);
}

.directory-search input {
  min-width: 0;
  flex: 1;
  height: 42px;
  border: 1px solid #bcc8d8;
  border-radius: 7px;
  padding: 0 12px;
  background: #fff;
}

.legacy-grid,
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 18px;
  align-items: start;
}

.legacy-side {
  display: grid;
  gap: 18px;
}

.dashboard-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(540px, 0.9fr);
  gap: 26px;
  align-items: center;
  min-height: 214px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(0, 109, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(2, 7, 19, 0.96) 0%, rgba(2, 7, 19, 0.74) 40%, rgba(0, 109, 255, 0.22) 100%),
    url("/assets/dashboard-hero-pc.png") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.dashboard-hero-copy {
  max-width: 520px;
  color: #fff;
}

.dashboard-hero .section-label {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.72);
}

.dashboard-hero h1 {
  margin: 0 0 10px;
  font-size: 32px;
  line-height: 1.08;
}

.dashboard-hero p {
  margin: 0;
  max-width: 460px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
}

.dashboard-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.dashboard-action-card {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 168px;
  padding: 18px 48px 18px 18px;
  border: 1px solid rgba(215, 226, 241, 0.76);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: 0 14px 34px rgba(2, 7, 19, 0.1);
}

.dashboard-action-card:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.dashboard-action-card strong {
  margin-top: 13px;
  font-size: 16px;
}

.dashboard-action-card span:not(.action-icon):not(.chev) {
  color: #44536d;
  font-size: 13px;
  font-weight: 600;
}

.action-icon,
.section-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
}

.action-icon {
  width: 48px;
  height: 48px;
  color: #fff;
}

.action-icon .ui-icon {
  width: 24px;
  height: 24px;
}

.action-blue {
  background: linear-gradient(180deg, #2585ff, #006dff);
}

.action-purple {
  background: linear-gradient(180deg, #9959f0, var(--purple));
}

.action-green {
  background: linear-gradient(180deg, #49bf4a, var(--green));
}

.section-icon {
  width: 38px;
  height: 38px;
  border: 1px solid #cfe1ff;
  background: #f4f8ff;
  color: var(--blue-strong);
}

.section-icon .ui-icon {
  width: 20px;
  height: 20px;
}

.dashboard-action-card .chev {
  position: absolute;
  right: 18px;
  bottom: 22px;
  width: auto;
  font-size: 0;
}

.dashboard-action-card .chev .ui-icon {
  width: 22px;
  height: 22px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 470px;
  gap: 18px;
  align-items: start;
}

.dashboard-side {
  display: grid;
  gap: 18px;
}

.dashboard-panel-header {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.dashboard-profile-table th,
.dashboard-profile-table td {
  height: 54px;
  padding-block: 6px;
}

.dashboard-profile-table th:nth-child(1) {
  width: 48%;
}

.dashboard-profile-table th:nth-child(2) {
  width: 17%;
}

.dashboard-profile-table th:nth-child(3) {
  width: 12%;
}

.dashboard-profile-table th:nth-child(4) {
  width: 23%;
}

.profile-name-cell {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.profile-name-cell > div {
  min-width: 0;
}

.profile-thumb,
.visit-thumb {
  display: block;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--soft);
}

.profile-thumb {
  width: 42px;
  height: 42px;
}

.dashboard-row-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #152238;
}

.icon-link .ui-icon {
  width: 20px;
  height: 20px;
}

.dashboard-stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #fbfdff);
}

.dashboard-stat-strip > div {
  display: grid;
  grid-template-columns: 38px minmax(0, auto) minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 68px;
  padding: 12px 16px;
  border-right: 1px solid var(--line);
}

.dashboard-stat-strip > div:last-child {
  border-right: 0;
}

.dashboard-stat-strip strong {
  font-size: 17px;
}

.dashboard-stat-strip span:last-child {
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
}

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

.dashboard-visit-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 24px;
  gap: 14px;
  align-items: center;
  min-height: 90px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.dashboard-visit-card:hover {
  text-decoration: none;
  border-color: #bfd7ff;
}

.dashboard-visit-card > span {
  min-width: 0;
}

.dashboard-visit-card strong,
.dashboard-visit-card small {
  display: block;
  min-width: 0;
}

.dashboard-visit-card strong {
  overflow: hidden;
  color: var(--blue-strong);
  font-size: 16px;
  text-overflow: ellipsis;
}

.dashboard-visit-card small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.dashboard-visit-card small span {
  margin-left: 14px;
}

.visit-thumb {
  width: 72px;
  height: 72px;
}

.dashboard-visit-card .chev {
  width: auto;
  font-size: 0;
}

.dashboard-visit-card .chev .ui-icon {
  width: 22px;
  height: 22px;
}

.dashboard-community-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  background: #f3f8ff;
}

.dashboard-community-card h2 {
  margin: 0 0 4px;
  font-size: 16px;
}

.dashboard-community-card p {
  margin: 0;
  color: #33435f;
  font-size: 14px;
}

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

.summary-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 92px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.summary-card h3,
.feed-item h3,
.spec-group h3,
.top-list h2 {
  margin: 0 0 5px;
  font-size: 17px;
  line-height: 1.25;
}

.summary-card p,
.feed-item p {
  margin: 6px 0 0;
  color: var(--muted);
}

.group-card,
.news-card,
.profile-card {
  grid-template-columns: 92px minmax(0, 1fr);
}

.news-card-no-image {
  grid-template-columns: minmax(0, 1fr);
}

.legacy-card-image,
.legacy-group-image,
.legacy-news-icon,
.legacy-avatar {
  display: block;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--soft);
}

.legacy-card-image {
  width: 92px;
  height: 70px;
}

.legacy-group-image,
.legacy-avatar {
  width: 120px;
  height: 120px;
}

.legacy-news-icon {
  float: right;
  width: 100px;
  height: 76px;
  margin: 0 0 12px 16px;
}

.meta-row,
.legacy-kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--muted);
  font-size: 13px;
}

.legacy-kpis {
  margin: 16px 0;
}

.legacy-copy {
  color: #26344e;
  overflow-wrap: anywhere;
}

.legacy-image-grid,
.spec-section-grid,
.top-lists {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.legacy-thumb-link {
  display: block;
  min-width: 0;
  border-radius: 8px;
  text-decoration: none;
}

.legacy-thumb-link:focus-visible {
  outline: 3px solid #77aef8;
  outline-offset: 3px;
}

.top-list-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.top-list-links a {
  min-height: 32px;
  padding: 7px 12px;
  border: 1px solid #bdd7ff;
  border-radius: 6px;
  background: #f7fbff;
  color: var(--blue-strong);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.legacy-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--soft);
}

body.lightbox-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 14px;
  padding: 22px;
  background: rgba(7, 11, 19, 0.9);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 160ms ease, visibility 160ms ease;
}

.image-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.image-lightbox-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.image-lightbox-counter,
.image-lightbox-caption {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 700;
}

.image-lightbox-caption {
  min-height: 20px;
  text-align: center;
  overflow-wrap: anywhere;
}

.image-lightbox-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
}

.image-lightbox-image {
  display: block;
  max-width: min(1180px, 100%);
  max-height: calc(100vh - 150px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.4);
  background: #101827;
}

.image-lightbox-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.image-lightbox-button:hover,
.image-lightbox-button:focus-visible {
  background: rgba(255, 255, 255, 0.2);
}

.image-lightbox-button:focus-visible {
  outline: 3px solid #77aef8;
  outline-offset: 2px;
}

.image-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.image-lightbox-prev {
  left: 0;
}

.image-lightbox-next {
  right: 0;
}

.confirmation-overlay {
  position: fixed;
  inset: 0;
  z-index: 1001;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(7, 11, 19, 0.58);
  opacity: 0;
  visibility: hidden;
  transition: opacity 140ms ease, visibility 140ms ease;
}

.confirmation-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.confirmation-dialog {
  width: min(440px, 100%);
  padding: 22px;
  border: 1px solid #d9e4f5;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(8, 20, 36, 0.24);
}

.confirmation-dialog h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.2;
}

.confirmation-dialog p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.confirmation-target {
  margin-top: 14px !important;
  padding: 10px 12px;
  border: 1px solid #fecaca;
  border-radius: 6px;
  background: #fff7f7;
  color: #7f1d1d !important;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.confirmation-actions .outline-btn,
.confirmation-actions .danger-btn {
  min-height: 38px;
}

.spec-group,
.top-list {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

.legacy-defs {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 10px 16px;
  margin: 0;
}

.legacy-defs dt {
  color: var(--muted);
  font-weight: 800;
}

.legacy-defs dd {
  margin: 0;
}

.rating-text {
  color: #9a6500;
  font-weight: 850;
}

.legacy-stats {
  width: 100%;
  margin: 0;
}

@media (max-width: 1360px) {
  .topbar-inner {
    padding: 0 28px;
    gap: 18px;
  }

  .brand {
    min-width: 190px;
  }

  .desktop-nav a {
    padding: 0 8px;
    font-size: 12px;
  }

  .desktop-nav a .ui-icon {
    width: 20px;
    height: 20px;
  }

  .top-actions {
    gap: 8px;
  }

  .outline-btn,
  .primary-btn {
    padding: 0 14px;
  }
}

@media (max-width: 1320px) {
  .topbar-inner {
    padding: 0 28px;
  }

  .desktop-nav a {
    padding: 0 9px;
  }

  .app-grid {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .right-col {
    display: none;
  }
}

@media (max-width: 1180px) {
  .app-grid {
    grid-template-columns: 230px minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  html,
  body {
    height: 100%;
  }

  body {
    height: 100dvh;
    overflow: hidden;
    padding-bottom: 0;
  }

  .topbar {
    height: 86px;
  }

  .topbar-inner {
    justify-content: space-between;
    padding: 0 24px;
  }

  .brand {
    min-width: 0;
    gap: 10px;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .brand-name {
    font-size: 34px;
  }

  .brand-tagline,
  .desktop-nav,
  .desktop-sidebar,
  .desktop-only,
  .stats-bar {
    display: none;
  }

  .top-actions .outline-btn,
  .top-actions .primary-btn,
  .desktop-icon-btn {
    display: none;
  }

  .mobile-only {
    display: initial !important;
  }

  article.mobile-only,
  section.mobile-only {
    display: block !important;
  }

  .icon-btn.mobile-only {
    display: inline-flex !important;
  }

  .panel-action.mobile-only {
    display: inline-flex !important;
  }

  .mobile-menu {
    display: inline-flex;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 36px;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
  }

  .top-actions {
    gap: 12px;
  }

  .icon-btn {
    border: 0;
    background: transparent;
    width: 46px;
    height: 46px;
    font-size: 34px;
  }

  .icon-btn .ui-icon {
    width: 25px;
    height: 25px;
  }

  .page {
    height: calc(100dvh - 86px - 110px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 20px 16px 18px;
  }

  .public-page {
    display: block;
  }

  .public-page > * + * {
    margin-top: 18px;
  }

  .legacy-hero,
  .directory-toolbar,
  .group-head,
  .user-detail-head,
  .directory-search {
    display: grid;
    width: 100%;
  }

  .legacy-grid,
  .detail-grid,
  .dashboard-grid,
  .profile-hero-card,
  .profile-detail-layout,
  .profile-image-editor-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .dashboard-hero {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: 0;
    padding: 22px;
    background-position: center right;
  }

  .dashboard-hero h1 {
    font-size: 30px;
  }

  .dashboard-action-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .dashboard-action-card {
    grid-template-columns: 48px minmax(0, 1fr) 24px;
    gap: 0 14px;
    min-height: 86px;
    padding: 14px;
  }

  .dashboard-action-card .action-icon {
    grid-row: span 2;
  }

  .dashboard-action-card strong {
    margin-top: 0;
  }

  .dashboard-action-card .chev {
    position: static;
    grid-row: 1 / span 2;
    grid-column: 3;
    align-self: center;
  }

  .dashboard-profiles-panel {
    overflow-x: auto;
  }

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

  .dashboard-stat-strip > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .dashboard-stat-strip > div:last-child {
    border-bottom: 0;
  }

  .dashboard-community-card {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .dashboard-community-card .primary-btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .message-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .message-head {
    display: none;
  }

  .profile-hero-card {
    display: flex;
    flex-direction: column;
    height: auto;
    overflow: visible;
  }

  .profile-hero-media {
    order: 0;
  }

  .profile-score-card {
    order: 1;
  }

  .profile-hero-body {
    order: 2;
  }

  .profile-hero-media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .profile-hero-body {
    padding: 20px;
  }

  .profile-hero-body h1 {
    font-size: 30px;
  }

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

  .profile-score-card {
    margin: 0 20px 20px;
  }

  .profile-gauge {
    width: 128px;
    height: 128px;
  }

  .profile-gauge span {
    font-size: 34px;
  }

  .legacy-form {
    grid-template-columns: 1fr;
  }

  .group-card,
  .news-card,
  .summary-card {
    grid-template-columns: 1fr;
  }

  .legacy-card-image,
  .legacy-group-image,
  .legacy-avatar {
    width: 100%;
    max-width: 180px;
    height: auto;
    aspect-ratio: 1.2;
  }

  .legacy-defs {
    grid-template-columns: 1fr;
  }

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

  .app-grid {
    display: block;
  }

  .mobile-user-card {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 94px;
    padding: 16px 18px;
    margin-bottom: 14px;
  }

  .mobile-user-card .avatar {
    width: 58px;
    height: 58px;
    font-size: 32px;
  }

  .mobile-user-card h1 {
    margin: 0 0 2px;
    font-size: 22px;
    line-height: 1.15;
  }

  .mobile-user-card .chev {
    margin-left: auto;
  }

  .panel {
    border-radius: 12px;
  }

  .panel + .panel {
    margin-top: 14px;
  }

  .panel-pad,
  .profile-summary {
    padding: 16px;
  }

  .panel-title {
    font-size: 22px;
  }

  .panel-header {
    gap: 12px;
    margin-bottom: 16px;
  }

  .panel-action {
    font-size: 16px;
  }

  .table-btn {
    min-height: 44px;
    margin-left: auto;
    font-size: 17px;
  }

  .card-table th,
  .card-table td {
    height: 44px;
    font-size: 16px;
  }

  .card-table .hide-mobile {
    display: none;
  }

  .table-footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 14px;
    font-size: 18px;
  }

  .right-feed {
    padding: 16px;
  }

  .feed-item {
    font-size: 16px;
  }

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

  .info-col {
    padding: 14px 16px;
  }

  .info-row {
    grid-template-columns: 34px 1fr;
    gap: 8px 12px;
    align-items: start;
    min-height: 58px;
    font-size: 15px;
  }

  .info-row strong,
  .info-row .value {
    grid-column: 2;
  }

  .signature {
    min-height: 130px;
    padding: 22px 122px 18px 26px;
  }

  .signature-name {
    font-size: 34px;
  }

  .signature-specs {
    grid-template-columns: 92px 1fr;
    font-size: 14px;
  }

  .signature-rating {
    right: 22px;
    width: 82px;
    height: 80px;
    font-size: 50px;
  }

  .signature-site {
    right: 20px;
    bottom: 14px;
    font-size: 15px;
  }

  .spec-row {
    grid-template-columns: 34px minmax(120px, 1fr) 1fr;
    font-size: 15px;
  }

  .mobile-bottom-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 30;
    min-height: 78px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(10px);
  }

  .mobile-bottom-nav a {
    display: grid;
    gap: 3px;
    justify-items: center;
    color: #25344d;
    font-size: 12px;
    font-weight: 650;
  }

  .mobile-bottom-nav a[aria-current="page"] {
    color: var(--blue-strong);
  }

  .mobile-bottom-nav .nav-icon {
    font-size: 27px;
    line-height: 1;
  }

  .mobile-bottom-nav .nav-icon .ui-icon {
    width: 26px;
    height: 26px;
  }
}

@media (max-width: 620px) {
  .topbar-inner {
    padding: 0 18px;
  }

  .brand-name {
    font-size: 26px;
    white-space: nowrap;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .page {
    padding-inline: 14px;
  }

  .panel-title {
    font-size: 20px;
  }

  .panel-header {
    flex-wrap: wrap;
  }

  .panel-action {
    font-size: 15px;
  }

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

  .info-col + .info-col {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .signature {
    padding: 18px;
  }

  .profile-hero-body {
    padding: 18px;
  }

  .profile-hero-body h1 {
    font-size: 26px;
  }

  .profile-chip-grid,
  .profile-empty-gallery {
    grid-template-columns: 1fr;
  }

  .profile-empty-gallery img {
    width: 100%;
  }

  .profile-section-header h2 {
    font-size: 19px;
  }

  .image-lightbox {
    gap: 10px;
    padding: 12px;
  }

  .image-lightbox-button {
    width: 40px;
    height: 40px;
  }

  .image-lightbox-nav {
    top: auto;
    bottom: 56px;
    transform: none;
  }

  .signature-rating,
  .signature-site {
    position: static;
    margin-top: 12px;
  }

  .signature-rating {
    width: 88px;
    height: 70px;
    font-size: 46px;
  }

  .card-table th,
  .card-table td {
    padding-inline: 4px;
    font-size: 14px;
  }

  .dashboard-profile-table th:nth-child(2),
  .dashboard-profile-table td:nth-child(2),
  .dashboard-profile-table th:nth-child(3),
  .dashboard-profile-table td:nth-child(3) {
    display: none;
  }

  .dashboard-row-actions .icon-link {
    display: none;
  }

  .dashboard-visit-card {
    grid-template-columns: 62px minmax(0, 1fr) 22px;
  }

  .visit-thumb {
    width: 62px;
    height: 62px;
  }

  .dashboard-visit-card small span {
    display: block;
    margin-left: 0;
  }

  .spec-row {
    grid-template-columns: 30px 1fr;
  }

  .spec-row .value {
    grid-column: 2;
  }
}
