.product-body {
  background:
    radial-gradient(circle at 86% 0%, rgba(90, 41, 250, 0.06), transparent 22%),
    #f2f2f5;
}

.product-body main {
  display: grid;
  min-height: 76vh;
  grid-template-columns: 224px minmax(0, 1096px);
  justify-content: center;
  gap: 0 32px;
  padding-inline: 24px;
}

.product-body main > * {
  width: 100%;
  grid-column: 2;
}

.product-body main > div.shell:has(> .product-nav) {
  position: sticky;
  z-index: 45;
  top: 104px;
  width: 224px;
  max-height: calc(100vh - 128px);
  align-self: start;
  grid-column: 1;
  grid-row: 1 / span 60;
  overflow: auto;
  scrollbar-width: thin;
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: center;
  gap: 48px;
  padding-block: 64px 32px;
}

.product-hero h1,
.product-page-head h1 {
  margin: 12px 0 18px;
  font-size: clamp(2.5rem, 5.4vw, 5.2rem);
  letter-spacing: -0.058em;
  line-height: 1.02;
}

html[dir="rtl"] .product-hero h1,
html[dir="rtl"] .product-page-head h1 {
  letter-spacing: -0.028em;
  line-height: 1.12;
}

.product-hero p,
.product-page-head p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.02rem;
}

.identity-card {
  position: relative;
  display: grid;
  gap: 7px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 6%, rgba(3, 228, 249, 0.24), transparent 28%),
    linear-gradient(145deg, var(--obsidian), var(--nebula-navy));
  color: var(--white);
  box-shadow: var(--shadow-dark);
}

.identity-card::after {
  position: absolute;
  width: 140px;
  height: 140px;
  inset-inline-end: -100px;
  inset-block-end: -100px;
  border: 1px solid rgba(90, 41, 250, 0.35);
  border-radius: 50%;
  box-shadow: 0 0 0 30px rgba(3, 228, 249, 0.05);
  content: "";
}

.identity-card strong {
  font-size: 1.4rem;
}

.identity-card > span:not(.status-dot) {
  color: #bfc1ce;
  font-size: 0.78rem;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--electric-cyan);
  box-shadow: 0 0 16px rgba(3, 228, 249, 0.9);
}

.completion {
  height: 8px;
  margin-block-start: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.completion i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--electric-cyan), #8d6cff);
}

.product-page-head {
  padding-block: 64px 24px;
}

.product-page-head > .pill:first-child,
.product-page-head > .status-chip:first-child {
  margin-block-end: 10px;
}

.product-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: linear-gradient(165deg, var(--obsidian), #111327 70%, var(--nebula-navy));
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.2);
}

.product-nav::before {
  display: block;
  padding: 9px 11px 14px;
  color: var(--electric-cyan);
  content: "LIQYA";
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.product-nav a {
  display: flex;
  min-height: 40px;
  align-items: center;
  padding: 9px 11px;
  border-radius: 11px;
  color: #b9bbca;
  font-size: 0.72rem;
  font-weight: 720;
  line-height: 1.25;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.product-nav a:hover,
.product-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.09);
  color: var(--white);
  text-decoration: none;
  transform: translateX(2px);
}

html[dir="rtl"] .product-nav a:hover,
html[dir="rtl"] .product-nav a:focus-visible {
  transform: translateX(-2px);
}

.product-nav a[aria-current="page"] {
  background: linear-gradient(90deg, rgba(3, 228, 249, 0.18), rgba(90, 41, 250, 0.3));
  color: var(--white);
  box-shadow: inset 3px 0 var(--electric-cyan);
}

html[dir="rtl"] .product-nav a[aria-current="page"] {
  box-shadow: inset -3px 0 var(--electric-cyan);
}

.product-section {
  padding-block: 24px;
}

.product-section:last-child {
  padding-block-end: 88px;
}

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

.metric-card {
  position: relative;
  display: grid;
  min-height: 156px;
  align-content: space-between;
  gap: 8px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 34px rgba(10, 11, 16, 0.04);
}

.metric-card::before {
  position: absolute;
  width: 72px;
  height: 72px;
  inset-inline-end: -46px;
  inset-block-start: -46px;
  border: 1px solid rgba(90, 41, 250, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(3, 228, 249, 0.04);
  content: "";
}

.metric-card > span {
  color: var(--muted);
  font-size: 0.72rem;
}

.metric-card strong {
  font-size: 2.1rem;
  letter-spacing: -0.04em;
  line-height: 1;
}

.metric-card a {
  color: #3f2ca1;
  font-size: 0.72rem;
  font-weight: 800;
}

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

.product-panel {
  position: relative;
  padding: clamp(22px, 3vw, 30px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 48px rgba(10, 11, 16, 0.055);
}

.product-panel h2 {
  margin: 4px 0 16px;
  line-height: 1.15;
}

.product-panel > .eyebrow:first-child {
  color: #4f3ba6;
}

.dark-panel {
  border-color: rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 92% 8%, rgba(3, 228, 249, 0.16), transparent 26%),
    linear-gradient(145deg, var(--obsidian), var(--nebula-navy));
  color: var(--white);
  box-shadow: var(--shadow-dark);
}

.dark-panel p,
.dark-panel small {
  color: #b8bac9;
}

.dark-panel .eyebrow,
.dark-panel > .eyebrow:first-child {
  color: var(--electric-cyan);
}

.dark-panel .btn.primary {
  border-color: var(--electric-cyan);
  background: var(--electric-cyan);
  color: var(--obsidian);
}

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

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

.artifact-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

a.artifact-row:hover {
  border-color: #aaa0e7;
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.artifact-row span:nth-child(2) {
  display: grid;
  min-width: 0;
}

.artifact-row small,
.artifact-row time {
  color: var(--muted);
  font-size: 0.68rem;
}

.artifact-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-content: center;
  border: 1px solid rgba(90, 41, 250, 0.18);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(3, 228, 249, 0.35), rgba(90, 41, 250, 0.3));
  color: #26136d;
  font-size: 0.68rem;
  font-weight: 900;
}

.schedule-item {
  display: grid;
  padding-block: 13px;
  border-block-end: 1px solid rgba(255, 255, 255, 0.14);
}

.schedule-item time,
.schedule-item span {
  color: #b8bac9;
  font-size: 0.72rem;
}

.inline-form {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
}

.inline-form label {
  margin: 0;
}

.grow {
  min-width: 0;
  flex: 1;
}

.workspace-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.5fr);
  align-items: start;
  gap: 18px;
}

.form-panel {
  position: sticky;
  top: 104px;
}

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

.passport-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
}

.passport-entry h3 {
  margin: 6px 0;
}

.passport-entry p {
  margin: 0;
  color: var(--muted);
}

.passport-entry dl,
.resume-card dl {
  display: flex;
  gap: 18px;
}

.passport-entry dl div,
.resume-card dl div {
  display: grid;
}

.passport-entry dt,
.resume-card dt {
  color: var(--muted);
  font-size: 0.64rem;
}

.passport-entry dd,
.resume-card dd {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 750;
}

.ledger-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding-block: 14px;
  border-block-end: 1px solid var(--line);
}

.ledger-row > span {
  display: grid;
}

.ledger-row small {
  color: var(--muted);
}

.boundary-note,
.truth-strip {
  margin-block-start: 18px;
}

.ai-workbench {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 220px;
  align-items: start;
  gap: 14px;
}

.artifact-canvas {
  min-height: 540px;
  background: #fff;
}

.artifact-canvas section {
  padding-block: 18px;
  border-block-end: 1px solid var(--line);
}

.artifact-json {
  max-height: 650px;
  padding: 20px;
  overflow: auto;
  border-radius: 16px;
  background: #0b0d17;
  color: #e5e9ff;
  direction: ltr;
  font-size: 0.74rem;
  text-align: left;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.artifact-history {
  display: grid;
  gap: 8px;
}

.artifact-mini {
  display: grid;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.artifact-mini span {
  color: var(--muted);
  font-size: 0.68rem;
}

.artifact-mini.active {
  border-color: #9c8ee8;
  background: #f0edff;
}

.empty-state {
  padding: 26px;
  border: 1px dashed #aaa6c0;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(90, 41, 250, 0.06), transparent 45%),
    #fafafd;
  color: var(--muted);
  text-align: center;
}

.empty-state::before {
  display: block;
  width: 42px;
  height: 42px;
  margin: 0 auto 12px;
  border: 1px solid #bdb7e7;
  border-radius: 50%;
  box-shadow: inset 0 0 0 12px #f0edff;
  content: "";
}

.empty-state h3,
.empty-state b {
  color: var(--ink);
}

.empty-state.large {
  display: grid;
  min-height: 260px;
  place-content: center;
  justify-items: center;
}

.resume-card,
.role-card,
.case-card,
.interview-card {
  margin-block-end: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.resume-card {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

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

a.role-card {
  display: block;
  min-height: 190px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

a.role-card:hover {
  border-color: #9f93e7;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.role-card h2,
.role-card h3 {
  margin: 10px 0;
  font-size: 1.24rem;
}

.role-card p {
  color: var(--muted);
}

.inbox-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
}

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

.conversation-link {
  display: grid;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
}

.conversation-link span,
.conversation-link small {
  color: var(--muted);
  font-size: 0.7rem;
}

.conversation-link.active {
  border-color: #9d90e8;
  background: #f0edff;
}

.chat-panel {
  min-height: 560px;
}

.consent-card {
  padding: 18px;
  border: 1px solid #9acdd7;
  border-radius: 16px;
  background: #e9fbfd;
}

.message-stream {
  display: grid;
  gap: 10px;
  padding-block: 20px;
}

.message-bubble {
  max-width: 78%;
  padding: 12px 15px;
  border-radius: 15px;
  background: #ececf1;
}

.message-bubble.mine {
  margin-inline-start: auto;
  background: #e7e2ff;
}

.message-bubble p {
  margin: 0;
}

.message-bubble time {
  color: var(--muted);
  font-size: 0.64rem;
}

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

.timeline-board {
  display: grid;
  gap: 12px;
}

.interview-card {
  display: flex;
  align-items: center;
  gap: 20px;
}

.calendar-tile {
  display: grid;
  width: 70px;
  height: 70px;
  flex: 0 0 auto;
  place-content: center;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--obsidian), var(--nebula-navy));
  color: var(--white);
  text-align: center;
}

.calendar-tile strong {
  font-size: 1.7rem;
  line-height: 1;
}

.calendar-tile span {
  font-size: 0.68rem;
}

.stack-actions {
  display: grid;
  gap: 8px;
}

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

.notification-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.75);
}

.notification-row.read {
  opacity: 0.68;
}

.notification-mark {
  width: 9px;
  height: 9px;
  margin-block-start: 9px;
  border-radius: 50%;
  background: var(--ultraviolet);
}

.notification-row.read .notification-mark {
  background: #b7b8c0;
}

.notification-row h3,
.notification-row p {
  margin: 4px 0;
}

.notification-row time {
  color: var(--muted);
  font-size: 0.68rem;
}

.report-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

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

.report-grid .full {
  grid-column: 1 / -1;
}

.bar-row {
  display: grid;
  grid-template-columns: 100px 1fr 38px;
  align-items: center;
  gap: 10px;
  margin-block: 12px;
}

.bar-row > div {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5e5eb;
}

.bar-row i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--electric-cyan), var(--ultraviolet));
}

.report-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 11px;
  border-block-end: 1px solid var(--line);
}

.table-list {
  display: grid;
}

.table-row {
  display: grid;
  grid-template-columns: 0.7fr 1.5fr 0.6fr 0.6fr 0.6fr;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-block-end: 1px solid var(--line);
}

.case-card > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: var(--muted);
  font-size: 0.74rem;
}

/* Recruit, Business, Agency workspaces */
.split-sidebar {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
}

.finder-search {
  display: flex;
  align-items: end;
  gap: 12px;
}

.candidate-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-block-start: 18px;
}

.candidate-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
}

.candidate-card ul,
.candidate-card form {
  grid-column: 1 / -1;
}

.candidate-card > div:nth-child(2) {
  display: grid;
  align-content: start;
  text-align: center;
}

.candidate-card > div:nth-child(2) strong {
  font-size: 2.2rem;
}

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

.detail-list div {
  padding: 13px;
  border-block-end: 1px solid var(--line);
}

.detail-list dt {
  color: var(--muted);
  font-size: 0.68rem;
}

.detail-list dd {
  margin: 4px 0 0;
  font-weight: 750;
}

.pipeline-board {
  display: grid;
  grid-template-columns: repeat(9, minmax(220px, 1fr));
  gap: 10px;
  padding-block-end: 18px;
  overflow: auto;
}

.pipeline-column {
  min-height: 420px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #e9e9ef;
}

.pipeline-column > header {
  display: flex;
  justify-content: space-between;
  padding: 6px 3px 13px;
  text-transform: capitalize;
}

.pipeline-column > header span {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--white);
}

.pipeline-card {
  display: grid;
  gap: 8px;
  margin-block-end: 9px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.pipeline-card small {
  color: var(--muted);
}

.pipeline-card form {
  display: grid;
  gap: 7px;
}

.report-number {
  display: block;
  font-size: 3.6rem;
  letter-spacing: -0.05em;
  line-height: 1;
}

.partner-card {
  max-width: 680px;
}

.partner-card textarea {
  min-height: 120px;
}

.product-panel details {
  margin-block-start: 16px;
}

.product-panel summary {
  padding: 10px;
  font-weight: 750;
}

.product-panel code {
  overflow-wrap: anywhere;
}

.payment-deferred {
  border-color: #a8a0d8;
  background: linear-gradient(135deg, #f0edff, #ffffff);
}

.salary-band {
  display: grid;
  gap: 5px;
  padding-block: 16px;
  border-block-end: 1px solid var(--line);
}

.salary-band strong {
  font-size: 1.15rem;
}

.salary-band small {
  color: var(--muted);
}

/* Shared operational states */
.skeleton,
[data-skeleton] {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #e5e5eb;
  color: transparent !important;
}

.skeleton::after,
[data-skeleton]::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 15%, rgba(255, 255, 255, 0.65) 45%, transparent 75%);
  content: "";
  transform: translateX(-100%);
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
}

.state-banner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 16px;
  border: 1px solid;
  border-radius: 16px;
}

.state-banner--success {
  border-color: #8fcfb7;
  background: var(--green-soft);
  color: #075e42;
}

.state-banner--error {
  border-color: #e8a7ad;
  background: var(--red-soft);
  color: #821f29;
}

.state-banner--offline,
.state-banner--provider,
.state-banner--expired,
.state-banner--permission,
.state-banner--payment {
  border-color: #dfbf65;
  background: var(--amber-soft);
  color: #613d00;
}

@keyframes skeleton-shimmer {
  to { transform: translateX(100%); }
}

@media (max-width: 1260px) {
  .product-body main {
    display: block;
    padding-inline: 0;
  }

  .product-body main > * {
    width: var(--shell);
    margin-inline: auto;
  }

  .product-body main > div.shell:has(> .product-nav) {
    position: sticky;
    top: 80px;
    width: var(--shell);
    max-height: none;
    margin-inline: auto;
    overflow: visible;
  }

  .product-nav {
    flex-direction: row;
    gap: 4px;
    padding: 7px;
    overflow: auto;
    border-radius: 16px;
    scrollbar-width: none;
  }

  .product-nav::before {
    display: none;
  }

  .product-nav a {
    flex: 0 0 auto;
    min-height: 38px;
    white-space: nowrap;
  }

  .product-nav a[aria-current="page"] {
    box-shadow: inset 0 -3px var(--electric-cyan);
  }

  .ai-workbench {
    grid-template-columns: 230px minmax(0, 1fr);
  }

  .artifact-history {
    display: flex;
    grid-column: 1 / -1;
    overflow: auto;
  }

  .artifact-mini {
    min-width: 190px;
  }
}

@media (max-width: 960px) {
  .product-body main > div.shell:has(> .product-nav) {
    top: 72px;
  }

  .product-hero,
  .workspace-layout,
  .split-2,
  .inbox-layout,
  .ai-workbench,
  .split-sidebar {
    grid-template-columns: 1fr;
  }

  .form-panel {
    position: static;
  }

  .passport-entry {
    grid-template-columns: 1fr;
  }

  .passport-entry dl {
    flex-wrap: wrap;
  }

  .metric-grid,
  .opportunity-grid,
  .report-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .report-grid .full {
    grid-column: 1 / -1;
  }

  .candidate-results {
    grid-template-columns: 1fr;
  }

  .table-row {
    min-width: 720px;
  }

  .table-list {
    overflow: auto;
  }

  .report-head {
    display: grid;
  }
}

@media (max-width: 720px) {
  .product-body {
    padding-block-end: 76px;
  }

  .product-body main > div.shell:has(> .product-nav) {
    position: fixed;
    z-index: 72;
    inset: auto 0 0;
    width: 100%;
    padding: 7px max(10px, env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
    border-block-start: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.94);
    backdrop-filter: blur(18px);
  }

  .product-nav {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .product-nav a {
    min-height: 48px;
    padding: 8px 12px;
    color: #b9bbca;
  }

  .product-nav a[aria-current="page"] {
    background: rgba(90, 41, 250, 0.28);
    box-shadow: inset 0 -3px var(--electric-cyan);
  }

  .product-hero {
    gap: 28px;
    padding-block-start: 44px;
  }

  .product-page-head {
    padding-block-start: 44px;
  }

  .metric-grid,
  .opportunity-grid,
  .report-grid {
    grid-template-columns: 1fr;
  }

  .report-grid .full {
    grid-column: auto;
  }

  .interview-card {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .message-bubble {
    max-width: 92%;
  }

  .finder-search {
    display: grid;
  }

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

  .candidate-card ul,
  .candidate-card form {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  .product-panel {
    padding: 18px;
    border-radius: 20px;
  }

  .identity-card {
    padding: 22px;
  }

  .metric-card {
    min-height: 132px;
  }

  .resume-card,
  .notification-row {
    display: grid;
  }

  .message-compose,
  .inline-form {
    display: grid;
    grid-template-columns: 1fr;
  }

  .inline-form > * {
    width: 100%;
  }

  .artifact-row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .artifact-row > :last-child {
    grid-column: 2;
  }
}

@media print {
  .site-header,
  .site-footer,
  .no-print,
  .print-button,
  .environment-banner,
  .connectivity-banner,
  .product-body main > div.shell:has(> .product-nav) {
    display: none !important;
  }

  .product-body {
    padding: 0;
    background: #fff;
  }

  .product-body main {
    display: block;
  }

  .product-section,
  .product-page-head {
    padding-block: 14px;
  }

  .product-panel,
  .metric-card {
    border: 1px solid #aaa;
    box-shadow: none;
    break-inside: avoid;
  }

  .shell,
  .product-body main > * {
    width: 100%;
  }
}
