@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Source+Sans+3:wght@400;500;600;700&display=swap");

:root {
  --ink: #101828;
  --ink-2: #24312f;
  --muted: #4b5b56;
  --soft: #f8fbf9;
  --surface: #ffffff;
  --surface-2: #f6f8f7;
  --surface-3: #eef5f1;
  --line: #dfe7e3;
  --green: #007a5c;
  --green-2: #009b73;
  --green-dark: #004f3f;
  --gold: #b8914d;
  --danger: #b42318;
  --shadow-sm: 0 8px 20px rgba(16, 24, 40, 0.06);
  --shadow-md: 0 18px 48px rgba(16, 24, 40, 0.1);
  --shadow-lg: 0 28px 70px rgba(0, 79, 63, 0.16);
  --radius: 12px;
  --container: 1240px;
  --section: clamp(56px, 7vw, 96px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
  --font-body: "Source Sans 3", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Manrope", "Source Sans 3", ui-sans-serif, sans-serif;
  font-family: var(--font-body);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 0%, rgba(0, 122, 92, 0.06), transparent 28rem),
    linear-gradient(180deg, #fbfcfb 0%, #ffffff 46%, #f7faf8 100%);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* SafeBem's visual voice: measured, editorial and quietly assured. */
h1,
h2,
h3,
.brand strong,
.button,
.form-label,
.step-number,
.status-pill {
  font-family: var(--font-display);
}

h1,
h2 {
  letter-spacing: -0.045em;
}

p,
summary,
input,
button {
  letter-spacing: -0.012em;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.section-inner {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  min-height: 64px;
  padding: 7px max(20px, calc((100vw - var(--container)) / 2));
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(223, 231, 227, 0.82);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #fff;
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.28), transparent 28%),
    linear-gradient(145deg, #003d32, var(--green));
  border-radius: 13px;
  box-shadow: 0 12px 24px rgba(0, 79, 63, 0.18);
}

.brand-mark svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
  stroke: #fff;
}

.brand strong {
  display: block;
  font-size: 1.66rem;
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0;
}

.brand strong span {
  color: var(--green);
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
}

.main-nav,
.header-actions,
.hero-actions,
.footer-inner nav,
.legal,
.copyright,
.socials {
  display: flex;
  align-items: center;
}

.main-nav {
  justify-content: flex-end;
  gap: clamp(16px, 2.4vw, 30px);
  color: #52605c;
  font-size: 0.86rem;
  font-weight: 560;
}

.main-nav a,
.footer-inner nav a,
.legal a {
  position: relative;
  transition: color 180ms var(--ease);
}

.main-nav a::after,
.footer-inner nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms var(--ease);
}

.main-nav a:hover,
.footer-inner nav a:hover,
.legal a:hover {
  color: var(--green-dark);
}

.main-nav a:hover::after,
.footer-inner nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  gap: 8px;
  margin-left: 70px;
}

.language-menu {
  position: relative;
}

.language {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 34px;
  padding: 0 8px;
  color: var(--ink-2);
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 560;
  cursor: pointer;
  transition:
    color 180ms var(--ease),
    background 180ms var(--ease);
}

.language:hover,
.language[aria-expanded="true"] {
  color: var(--green-dark);
  background: var(--surface-2);
}

.current-language {
  line-height: 1;
}

.language-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 40;
  min-width: 74px;
  padding: 5px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.language-options button {
  display: block;
  width: 100%;
  min-height: 30px;
  padding: 0 10px;
  color: var(--ink-2);
  background: transparent;
  border: 0;
  border-radius: 7px;
  font-size: 0.84rem;
  font-weight: 560;
  text-align: left;
  cursor: pointer;
}

.language-options button:hover,
.language-options button:focus-visible {
  color: var(--green-dark);
  background: var(--surface-2);
  outline: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 180ms var(--ease),
    box-shadow 180ms var(--ease),
    border-color 180ms var(--ease),
    background 180ms var(--ease),
    color 180ms var(--ease);
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.button:disabled,
.button[aria-busy="true"] {
  cursor: wait;
  opacity: 0.72;
  transform: none;
  box-shadow: none;
}

.button:focus-visible,
.nav-toggle:focus-visible,
.language:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(0, 166, 107, 0.28);
  outline-offset: 3px;
}

.button svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  box-shadow: 0 12px 26px rgba(0, 122, 92, 0.2);
}

.button-primary:hover {
  box-shadow: 0 16px 34px rgba(0, 122, 92, 0.28);
}

.button-ghost,
.button-outline,
.button-play {
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 122, 92, 0.34);
}

.button-ghost:hover,
.button-outline:hover,
.button-play:hover {
  background: #fff;
  border-color: var(--green);
  box-shadow: var(--shadow-sm);
}

.button-large {
  min-height: 54px;
  padding-inline: 30px;
}

.header-actions .button {
  min-height: 34px;
  padding-inline: 16px;
  border-radius: 9px;
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: none;
}

.header-actions .button-primary {
  background: var(--green-dark);
}

.header-actions .button:hover {
  transform: none;
}

.button-light {
  color: var(--green-dark);
  background: #fff;
  box-shadow: 0 16px 34px rgba(0, 35, 25, 0.18);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  transition:
    transform 180ms var(--ease),
    opacity 180ms var(--ease);
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(760px, calc(100svh - 64px));
  padding: clamp(66px, 8vw, 104px) clamp(24px, 7vw, 112px);
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 42%, rgba(0, 122, 92, 0.09), transparent 27rem),
    linear-gradient(90deg, #f1faf5 0%, #f6fcf8 38%, rgba(246, 252, 248, 0.64) 58%, rgba(246, 252, 248, 0.04) 78%),
    #eaf6f0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(244, 251, 247, 0.97) 0%,
      rgba(244, 251, 247, 0.95) 31%,
      rgba(244, 251, 247, 0.76) 44%,
      rgba(244, 251, 247, 0.34) 59%,
      rgba(244, 251, 247, 0.06) 74%,
      rgba(244, 251, 247, 0) 100%
    );
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 2;
  height: 120px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 84%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 620px;
}

.hero h1 {
  display: grid;
  row-gap: 5px;
  max-width: 620px;
  margin: 0;
  font-size: clamp(2.55rem, 4.45vw, 4.45rem);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: 0;
}

.hero h1 .title-line {
  display: block;
  color: var(--ink);
}

.hero h1 span {
  display: block;
  color: var(--green);
  white-space: nowrap;
}

.hero-copy > p {
  max-width: 610px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.12vw, 1.08rem);
  line-height: 1.68;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-actions .button {
  min-height: 56px;
  padding-inline: 30px;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 78% 48%, rgba(0, 122, 92, 0.2), transparent 24rem),
    radial-gradient(circle at 86% 84%, rgba(0, 52, 43, 0.12), transparent 18rem);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 46%);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center right;
  filter: saturate(1.16) contrast(1.08) brightness(0.98);
}

.hero-check {
  max-width: 640px;
  margin-top: 0;
  box-shadow: 0 18px 42px rgba(0, 79, 63, 0.1);
}

.steps-section,
.why-section,
.types-section,
.faq-section {
  padding: var(--section) 0;
  background: #fff;
}

.verify-section,
.privacy-section {
  padding: var(--section) 0;
  background:
    radial-gradient(circle at 82% 16%, rgba(0, 122, 92, 0.08), transparent 24rem),
    linear-gradient(180deg, #f9fcfa 0%, #eef7f2 100%);
}

h2 {
  margin: 0 0 28px;
  color: var(--ink);
  font-size: clamp(1.85rem, 2.7vw, 2.55rem);
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: 0;
}

.inline-brand-logo {
  display: inline-block;
  width: clamp(128px, 13vw, 172px);
  height: auto;
  max-width: none;
  margin-inline: 0.12em 0.04em;
  vertical-align: -0.12em;
}

h3 {
  color: var(--ink);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.step-card {
  position: relative;
  min-height: 164px;
  padding: 30px 30px 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 253, 251, 0.9)),
    #fff;
  border: 1px solid rgba(213, 225, 220, 0.92);
  border-radius: 16px;
  box-shadow: none;
  transition:
    transform 220ms var(--ease),
    box-shadow 220ms var(--ease),
    border-color 220ms var(--ease);
}

.step-card:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -31px;
  z-index: 4;
  display: block;
  width: auto;
  height: auto;
  color: rgba(0, 122, 92, 0.48);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1;
  opacity: 1;
  transform: translateY(-50%);
}

.step-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(0, 122, 92, 0.22);
}

.step-number {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  color: #fff;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.22), transparent 34%),
    linear-gradient(145deg, #008665, var(--green-dark));
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 950;
  box-shadow: 0 16px 26px rgba(0, 79, 63, 0.18);
}

.step-card > svg {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  padding: 13px;
  color: var(--green-dark);
  background: rgba(0, 122, 92, 0.08);
  border: 1px solid rgba(0, 122, 92, 0.12);
  border-radius: 16px;
  opacity: 0.96;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 1.16rem;
  line-height: 1.25;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.verify-section h2 {
  max-width: 860px;
  margin-bottom: 22px;
}

.verify-form {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(220px, 280px);
  gap: 12px;
  width: 100%;
  max-width: none;
  padding: 30px 12px 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(223, 231, 227, 0.95);
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(15, 52, 42, 0.07);
  backdrop-filter: blur(16px);
}

.form-label {
  position: absolute;
  top: 10px;
  left: 18px;
  color: #3b4844;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.search-box {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 0 18px;
  background: var(--surface-2);
  border: 1px solid transparent;
  border-radius: 10px;
}

.search-box:focus-within {
  background: #fff;
  border-color: rgba(0, 122, 92, 0.48);
  box-shadow: inset 0 0 0 1px rgba(0, 122, 92, 0.08);
}

.search-box svg {
  width: 30px;
  height: 30px;
  margin-right: 14px;
  color: var(--green-dark);
}

.search-box input {
  width: 100%;
  min-width: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 1.08rem;
}

.search-box input::placeholder {
  color: #8b9894;
}

.form-message {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--green-dark);
  font-weight: 850;
}

.form-message.is-error {
  color: var(--danger);
}

.form-message.is-success {
  color: var(--green-dark);
}

.process-row {
  display: grid;
  grid-template-columns: 1fr 58px 1fr 58px 1fr 58px 1fr;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin-top: 22px;
}

.process-item {
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
  cursor: pointer;
}

.process-item span {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(72px, 6.8vw, 90px);
  height: clamp(72px, 6.8vw, 90px);
  color: var(--green-dark);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(0, 122, 92, 0.08)),
    rgba(0, 122, 92, 0.08);
  border: 1px solid rgba(0, 122, 92, 0.1);
  border-radius: 50%;
  cursor: pointer;
  transform: translateY(0) scale(1);
  will-change: transform;
  transition:
    transform 220ms var(--ease),
    box-shadow 220ms var(--ease),
    border-color 220ms var(--ease),
    background 220ms var(--ease);
}

.process-item span::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(0, 122, 92, 0.28);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
}

.process-item span:hover {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(0, 122, 92, 0.12)),
    rgba(0, 122, 92, 0.1);
  border-color: rgba(0, 122, 92, 0.18);
  box-shadow: 0 16px 30px rgba(0, 79, 63, 0.1);
  transform: translateY(-3px) scale(1.03);
}

.process-item span:active,
.process-item.is-tapped span {
  animation: processTap 420ms var(--ease);
}

.process-item.is-tapped span::after {
  animation: processRipple 520ms var(--ease);
}

.process-item.is-tapped svg {
  animation: processGlyph 420ms var(--ease);
}

.process-item:focus-visible span {
  outline: 3px solid rgba(0, 166, 107, 0.22);
  outline-offset: 5px;
}

.process-item svg {
  width: 43%;
  height: 43%;
}

.process-item strong {
  max-width: 190px;
  font-size: 1rem;
  line-height: 1.25;
}

.process-row i {
  display: grid;
  place-items: center;
  width: 100%;
  height: 28px;
  margin: 0 auto;
  color: rgba(0, 122, 92, 0.34);
  opacity: 1;
  background: none;
}

.process-row i::before {
  content: "→";
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 350;
  line-height: 1;
}

.verify-section.is-visible .process-item span {
  animation: processIconIn 620ms var(--ease) both;
}

.verify-section.is-visible .process-item:nth-of-type(3) span {
  animation-delay: 90ms;
}

.verify-section.is-visible .process-item:nth-of-type(5) span {
  animation-delay: 180ms;
}

.verify-section.is-visible .process-item:nth-of-type(7) span {
  animation-delay: 270ms;
}

@keyframes processIconIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.92);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes processTap {
  0% {
    transform: translateY(0) scale(1);
  }

  42% {
    transform: translateY(-2px) scale(0.95);
  }

  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes processRipple {
  0% {
    opacity: 0;
    transform: scale(0.88);
  }

  35% {
    opacity: 0.55;
  }

  100% {
    opacity: 0;
    transform: scale(1.16);
  }
}

@keyframes processGlyph {
  0% {
    transform: scale(1);
  }

  45% {
    transform: scale(0.9);
  }

  100% {
    transform: scale(1);
  }
}

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

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

.benefits-grid p {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 16px;
  align-items: start;
  min-height: 102px;
  margin: 0;
  padding: 20px 24px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(223, 231, 227, 0.9);
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(18, 34, 70, 0.04);
  font-size: 0.95rem;
  line-height: 1.42;
}

.benefits-grid svg {
  width: 34px;
  height: 34px;
  color: var(--green);
  margin-top: 2px;
}

.transfer-card {
  position: relative;
  width: min(720px, 100%);
  padding: 0;
  color: #fff;
  background: #005840;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  justify-self: center;
}

.transfer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      #005840 0%,
      rgba(0, 88, 64, 0.96) 24%,
      rgba(0, 88, 64, 0.5) 40%,
      rgba(0, 88, 64, 0) 58%
    ),
    linear-gradient(180deg, rgba(0, 52, 38, 0) 65%, rgba(0, 52, 38, 0.48) 100%);
}

.transfer-card h3 {
  position: relative;
  z-index: 2;
  max-width: 430px;
  margin: 0;
  padding: 28px 30px 8px;
  color: #fff;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  line-height: 1.08;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.32);
}

.transfer-card img {
  width: 100%;
  max-width: none;
  margin: -4px 0 0;
  aspect-ratio: 1794 / 895;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.04) contrast(1.03);
}

.success-strip {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  margin: 0;
  padding: 10px 14px;
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius);
  box-shadow: 0 12px 22px rgba(0, 33, 24, 0.18);
  font-weight: 800;
  text-align: center;
}

.success-strip svg {
  width: 24px;
  height: 24px;
  padding: 5px;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  flex: 0 0 auto;
}

.lost-banner {
  display: grid;
  place-items: center;
  min-height: clamp(360px, 32vw, 420px);
  padding: clamp(36px, 5vw, 60px) 0;
}

.lost-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 470px) 1fr;
  align-items: center;
  justify-items: start;
  min-height: 280px;
  padding: 34px clamp(28px, 5vw, 58px);
  background:
    linear-gradient(90deg, rgba(0, 79, 63, 0.98) 0%, rgba(0, 90, 70, 0.94) 22%, rgba(0, 117, 88, 0.68) 48%, rgba(0, 122, 92, 0.36) 72%, rgba(0, 79, 63, 0.16) 100%),
    linear-gradient(180deg, rgba(0, 122, 92, 0.18), rgba(0, 79, 63, 0.22)),
    url("./assets/found-item-student.png") center right / cover no-repeat,
    #00684e;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 18px;
  box-shadow: 0 20px 54px rgba(16, 24, 40, 0.08);
  overflow: hidden;
}

.lost-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-auto-rows: max-content;
  align-content: center;
  justify-items: start;
  place-self: center start;
  row-gap: 12px;
  min-height: 0;
  width: 100%;
  max-width: 470px;
}

.lost-inner h2 {
  margin: 0;
  color: #fff;
  line-height: 1.05;
}

.lost-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
  line-height: 1.45;
}

.lost-inner .button-primary {
  margin-top: 6px;
  color: var(--green-dark);
  background: #fff;
  box-shadow: 0 18px 40px rgba(0, 40, 31, 0.18);
}

.lost-inner .button-primary:hover {
  color: #fff;
  background: var(--green-dark);
}

.types-section {
  padding-top: 0;
}

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

.types-grid article {
  display: grid;
  place-items: center;
  gap: 12px;
  min-height: 116px;
  padding: 16px 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(223, 231, 227, 0.92);
  border-radius: var(--radius);
  text-align: center;
  font-weight: 800;
  box-shadow: none;
  transition:
    transform 200ms var(--ease),
    border-color 200ms var(--ease),
    color 200ms var(--ease),
    box-shadow 200ms var(--ease);
}

.types-grid article:hover {
  transform: translateY(-3px);
  color: var(--green-dark);
  border-color: rgba(0, 166, 107, 0.34);
  box-shadow: var(--shadow-sm);
}

.types-grid svg {
  width: 42px;
  height: 42px;
  color: var(--green-dark);
}

.privacy-section h2 {
  text-align: center;
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.privacy-grid article {
  padding: 26px 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius);
}

.privacy-grid svg {
  width: 50px;
  height: 50px;
  margin: 0 auto 14px;
  color: var(--green-dark);
}

.privacy-grid h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.25;
}

.privacy-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.faq-section {
  padding-bottom: 34px;
}

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

details {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: none;
  overflow: hidden;
}

summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 18px;
  color: #40504c;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  color: var(--green-dark);
  font-size: 1.2rem;
  font-weight: 950;
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
  line-height: 1.55;
}

.faq-section .button {
  width: fit-content;
  min-width: 240px;
  margin: 16px auto 0;
}

.bottom-cta {
  color: #fff;
  padding: 0 0 30px;
  background: #fff;
}

.bottom-cta .section-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 26px;
  align-items: center;
  padding: 30px clamp(28px, 4vw, 54px);
  background:
    linear-gradient(120deg, rgba(0, 63, 52, 0.94), rgba(0, 109, 85, 0.88) 55%, rgba(0, 57, 47, 0.94)),
    url("./assets/cta-pattern.png") center / cover no-repeat,
    #005840;
  border-radius: 18px;
  box-shadow: 0 24px 58px rgba(0, 79, 63, 0.16);
}

.cta-shield {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.cta-shield svg {
  width: 48px;
  height: 48px;
}

.bottom-cta h2 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 2rem;
}

.bottom-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.04rem;
}

.site-footer {
  padding: 0;
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  min-height: 60px;
}

.socials {
  justify-content: flex-start;
  gap: 8px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--green-dark);
  background: transparent;
  border: 0;
  transition:
    color 180ms var(--ease),
    transform 180ms var(--ease);
}

.socials svg {
  width: 20px;
  height: 20px;
}

.socials a:first-child svg {
  fill: currentColor;
}

.socials a:first-child svg path {
  fill: currentColor;
  stroke: none;
}

.socials a:last-child svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.socials a:hover {
  color: var(--green);
  transform: translateY(-2px);
}

.legal {
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.copyright {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.footer-brand-logo {
  display: inline-block;
  width: 56px;
  height: auto;
  max-width: none;
  margin: 0;
  transform: translateY(-1px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.auth-page,
.profile-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 86% 12%, rgba(0, 122, 92, 0.12), transparent 24rem),
    linear-gradient(180deg, #f7fbf8 0%, #eef7f2 100%);
}

.auth-shell {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 40px 20px;
}

.auth-shell-wide .auth-card {
  max-width: 760px;
}

.auth-brand {
  position: fixed;
  top: 26px;
  left: clamp(20px, 5vw, 64px);
}

.auth-card,
.profile-panel,
.profile-card,
.item-card,
.dialog-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(223, 231, 227, 0.95);
  border-radius: 18px;
  box-shadow: 0 22px 54px rgba(16, 24, 40, 0.08);
  backdrop-filter: blur(18px);
}

.auth-card {
  width: min(100%, 520px);
  padding: clamp(26px, 4vw, 42px);
}

.auth-card h1,
.profile-hero h1 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02;
}

.auth-card > p,
.profile-hero p {
  margin: 0 0 26px;
  color: var(--muted);
  line-height: 1.6;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-form,
.profile-form {
  display: grid;
  gap: 16px;
}

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

.auth-form label,
.profile-form label,
.dialog-card label {
  display: grid;
  gap: 8px;
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 800;
}

.auth-form input,
.profile-form input,
.profile-form select,
.dialog-card input,
.dialog-card select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: var(--ink);
  background: #f8faf9;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  outline: none;
  transition:
    border-color 180ms var(--ease),
    box-shadow 180ms var(--ease),
    background 180ms var(--ease);
}

.auth-form input:focus,
.profile-form input:focus,
.profile-form select:focus,
.dialog-card input:focus,
.dialog-card select:focus {
  background: #fff;
  border-color: rgba(0, 122, 92, 0.5);
  box-shadow: 0 0 0 4px rgba(0, 122, 92, 0.12);
}

.verification-attachments {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid #d8e4dc;
  border-radius: 12px;
}

.verification-attachments label {
  display: grid;
  gap: 0.45rem;
}

.attachment-status {
  color: #6b746e;
  font-size: 0.9rem;
  font-weight: 400;
}

.attachment-status.is-received {
  color: #17643a;
  font-weight: 600;
}

.form-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  color: var(--muted);
  font-size: 0.88rem;
}

.check-row {
  display: flex !important;
  grid-template-columns: auto 1fr;
  flex-direction: row;
  align-items: center;
  color: var(--muted) !important;
  font-weight: 650 !important;
}

.check-row input {
  width: 16px;
  min-height: 16px;
}

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

.user-type {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0;
  padding: 6px;
  background: #f6faf8;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.user-type legend {
  padding: 0 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.user-type label {
  display: inline-flex !important;
  flex: 1;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  color: var(--muted) !important;
  background: transparent;
  border-radius: 9px;
  cursor: pointer;
}

.user-type input {
  width: 1px;
  min-height: 1px;
  opacity: 0;
  position: absolute;
}

.user-type label:has(input:checked) {
  color: var(--green-dark) !important;
  background: #fff;
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.08);
}

.auth-switch {
  margin: 22px 0 0;
  color: var(--muted);
  text-align: center;
}

.auth-switch a,
.form-row a {
  color: var(--green-dark);
  font-weight: 800;
}

.profile-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  min-height: 78px;
  padding: 12px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(223, 231, 227, 0.8);
  backdrop-filter: blur(18px);
}

.profile-header nav {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.profile-shell {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  padding: 44px 0 72px;
}

.profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
  padding: clamp(28px, 5vw, 52px);
  color: #fff;
  background:
    linear-gradient(120deg, rgba(0, 63, 52, 0.96), rgba(0, 122, 92, 0.78)),
    url("./assets/cta-pattern.png") center / cover no-repeat,
    #005840;
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
}

.profile-hero h1,
.profile-hero p,
.profile-hero .eyebrow {
  color: #fff;
}

.profile-hero p {
  max-width: 660px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.84);
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.profile-card {
  position: sticky;
  top: 102px;
  padding: 24px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-radius: 20px;
  font-size: 1.5rem;
  font-weight: 900;
}

.profile-card h2 {
  margin: 18px 0 6px;
  color: var(--ink);
}

.profile-card p {
  margin: 0 0 18px;
  color: var(--green);
  font-weight: 800;
}

.profile-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.profile-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.profile-card dt {
  color: var(--muted);
}

.profile-card dd {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
}

.profile-stack {
  display: grid;
  gap: 24px;
}

.profile-panel {
  padding: clamp(22px, 3vw, 32px);
}

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

.panel-heading h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.panel-note {
  max-width: 720px;
  margin: -8px 0 22px;
  color: var(--muted);
  line-height: 1.55;
}

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

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  color: var(--green-dark);
  background: rgba(0, 122, 92, 0.1);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.status-danger {
  color: var(--danger);
  background: rgba(180, 35, 24, 0.1);
}

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

.item-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  box-shadow: none;
}

.item-card.is-lost {
  border-color: rgba(180, 35, 24, 0.22);
}

.item-type {
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.item-card h3 {
  margin: 4px 0;
  color: var(--ink);
}

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

.item-actions {
  display: flex;
  gap: 10px;
}

.item-dialog {
  width: min(480px, calc(100% - 32px));
  padding: 0;
  background: transparent;
  border: 0;
}

.item-dialog::backdrop {
  background: rgba(16, 24, 40, 0.38);
  backdrop-filter: blur(4px);
}

.dialog-card {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 30px;
}

.dialog-card h2 {
  margin: 0;
}

.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  color: var(--ink);
  background: #f6f8f7;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 720ms var(--ease),
    transform 820ms var(--ease);
  will-change: opacity, transform;
}

.reveal[data-reveal-direction="left"] {
  transform: translate3d(-34px, 18px, 0);
}

.reveal[data-reveal-direction="right"] {
  transform: translate3d(34px, 18px, 0);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.reveal.is-visible > .section-inner,
.reveal.is-visible > .lost-inner {
  animation: sectionContentIn 760ms 80ms var(--ease) both;
}

@keyframes sectionContentIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    will-change: auto;
  }

  .reveal.is-visible > .section-inner,
  .reveal.is-visible > .lost-inner {
    animation: none;
  }
}

/* Auth composition: a calm, secure entrance shared by login, signup and recovery. */
.auth-page {
  position: relative;
  min-height: 100dvh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 7% 82%, rgba(0, 122, 92, 0.12), transparent 24rem),
    radial-gradient(circle at 94% 12%, rgba(184, 145, 77, 0.1), transparent 20rem),
    #edf7f1;
}

.auth-page::before,
.auth-page::after {
  content: "";
  position: fixed;
  z-index: 0;
  pointer-events: none;
  border: 1px solid rgba(0, 122, 92, 0.08);
  border-radius: 50%;
}

.auth-page::before {
  top: 14%;
  right: -10rem;
  width: 34rem;
  height: 34rem;
}

.auth-page::after {
  bottom: -18rem;
  left: -13rem;
  width: 38rem;
  height: 38rem;
  border-color: rgba(184, 145, 77, 0.1);
}

.auth-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(420px, 540px);
  gap: clamp(44px, 8vw, 112px);
  align-items: center;
  width: min(1120px, calc(100% - 48px));
  min-height: 100dvh;
  margin-inline: auto;
  padding: 132px 0 64px;
}

.auth-shell-wide {
  grid-template-columns: minmax(280px, 0.72fr) minmax(480px, 680px);
  width: min(1240px, calc(100% - 48px));
}

.auth-brand {
  position: absolute;
  top: 30px;
  left: 0;
  z-index: 2;
}

.auth-aside {
  position: relative;
  align-self: center;
  max-width: 430px;
  padding: 34px 0 30px;
}

.auth-aside::after {
  content: "";
  position: absolute;
  top: 0;
  left: -28px;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 122, 92, 0.5), rgba(0, 122, 92, 0));
}

.auth-aside-mark {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin-bottom: 30px;
  color: #fff;
  background: linear-gradient(145deg, #087f63, #004f3f);
  border: 5px solid rgba(255, 255, 255, 0.6);
  border-radius: 22px;
  box-shadow: 0 18px 34px rgba(0, 79, 63, 0.18);
}

.auth-aside-mark svg {
  width: 39px;
  height: 39px;
  fill: currentColor;
  stroke: #05775a;
  stroke-width: 1.25;
}

.auth-aside .eyebrow {
  margin-bottom: 14px;
}

.auth-aside h2 {
  max-width: 420px;
  margin: 0 0 18px;
  font-size: clamp(2.25rem, 4.2vw, 4rem);
  font-weight: 750;
  line-height: 1.02;
}

.auth-aside > p:not(.eyebrow) {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.auth-trust-list {
  display: grid;
  gap: 14px;
  margin: 30px 0 0;
  padding: 0;
  color: var(--ink-2);
  list-style: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.auth-trust-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.auth-trust-list li::before {
  content: "";
  display: block;
  width: 13px;
  height: 7px;
  flex: 0 0 auto;
  border-bottom: 2px solid var(--green);
  border-left: 2px solid var(--green);
  transform: translateY(-2px) rotate(-45deg);
}

.auth-card {
  position: relative;
  width: 100%;
  max-width: none;
  padding: clamp(30px, 4.5vw, 52px);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  box-shadow:
    0 30px 70px rgba(0, 79, 63, 0.12),
    0 3px 12px rgba(16, 24, 40, 0.04);
  backdrop-filter: blur(18px);
}

.auth-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 42px;
  width: 72px;
  height: 3px;
  background: var(--green);
  border-radius: 0 0 4px 4px;
}

.auth-card h1 {
  margin-bottom: 14px;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 750;
  line-height: 1.04;
}

.auth-card > p:not(.eyebrow):not(.auth-switch) {
  max-width: 540px;
  margin-bottom: 32px;
  line-height: 1.65;
}

.auth-form {
  gap: 18px;
}

.auth-form label,
.dialog-card label {
  gap: 9px;
  font-size: 0.84rem;
  letter-spacing: 0.01em;
}

.auth-form input,
.profile-form input,
.profile-form select,
.dialog-card input,
.dialog-card select {
  min-height: 54px;
  padding-inline: 16px;
  background: rgba(247, 251, 249, 0.9);
  border-color: rgba(194, 214, 205, 0.9);
  border-radius: 11px;
}

.auth-form input::placeholder {
  color: #8a9a94;
}

.auth-form input:focus,
.profile-form input:focus,
.profile-form select:focus,
.dialog-card input:focus,
.dialog-card select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(0, 122, 92, 0.12);
}

.auth-form .button {
  width: 100%;
  min-height: 54px;
  margin-top: 4px;
}

.form-row {
  min-height: 26px;
  margin-top: -2px;
  font-size: 0.86rem;
}

.form-row a,
.auth-switch a {
  text-decoration: underline;
  text-decoration-color: rgba(0, 122, 92, 0.3);
  text-underline-offset: 3px;
  transition: color 180ms var(--ease), text-decoration-color 180ms var(--ease);
}

.form-row a:hover,
.auth-switch a:hover {
  text-decoration-color: currentColor;
}

.user-type {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 8px;
  background: rgba(244, 250, 247, 0.85);
  border-radius: 13px;
}

.user-type legend {
  grid-column: 1 / -1;
  padding: 3px 8px 6px;
}

.user-type label {
  min-height: 48px;
  border: 1px solid transparent;
  transition: color 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease);
}

.user-type label:has(input:checked) {
  border-color: rgba(0, 122, 92, 0.18);
}

.check-row {
  gap: 9px !important;
  font-size: 0.84rem !important;
  line-height: 1.4;
}

.check-row input {
  accent-color: var(--green);
}

.auth-switch {
  margin-top: 26px;
  font-size: 0.92rem;
}

.auth-switch-secondary {
  margin-top: 9px;
  font-size: 0.84rem;
}

.recovery-card {
  max-width: 540px;
}

.recovery-form .form-message {
  min-height: 44px;
  margin: -2px 0 0;
  line-height: 1.45;
}

.auth-aside,
.auth-card {
  animation: authEntrance 760ms var(--ease) both;
}

.auth-card {
  animation-delay: 90ms;
}

@keyframes authEntrance {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .auth-shell,
  .auth-shell-wide {
    grid-template-columns: 1fr;
    width: min(620px, calc(100% - 40px));
    gap: 8px;
    padding-top: 118px;
  }

  .auth-aside {
    max-width: 560px;
    padding: 12px 0 28px;
  }

  .auth-aside::after {
    display: none;
  }

  .auth-aside-mark {
    width: 54px;
    height: 54px;
    margin-bottom: 20px;
    border-radius: 17px;
  }

  .auth-aside-mark svg {
    width: 32px;
    height: 32px;
  }

  .auth-aside h2 {
    max-width: 540px;
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .auth-trust-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 22px;
    font-size: 0.82rem;
  }

  .auth-trust-list li {
    align-items: flex-start;
  }
}

/* SafeBem account workspace — blue reference language */
:root {
  --safe-blue: #3f72c8;
  --safe-blue-dark: #2857a6;
  --safe-blue-soft: #eaf1fc;
  --profile-ink: #172235;
  --profile-muted: #667085;
  --profile-line: #d8dee8;
}

.profile-page {
  min-height: 100dvh;
  color: var(--profile-ink);
  background: #f3f5f8;
}

.profile-page .profile-header {
  min-height: 72px;
  padding: 12px clamp(18px, 5vw, 72px);
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid #dce2ea;
  box-shadow: 0 2px 12px rgba(28,43,67,.04);
}

.profile-page .profile-header .brand-mark {
  background: var(--safe-blue);
  box-shadow: 0 8px 18px rgba(63,114,200,.2);
}
.profile-page .profile-header .brand strong span,
.profile-page .profile-header .brand-mark { color: var(--safe-blue); }
.profile-page .profile-header .brand-mark { color: #fff; }
.profile-page .profile-header nav { gap: 12px; }

.profile-page .profile-shell {
  width: min(1180px, calc(100% - 40px));
  padding: 34px 0 70px;
}

.profile-page .profile-hero {
  min-height: 172px;
  margin-bottom: 26px;
  padding: 34px clamp(24px, 4vw, 52px);
  background: linear-gradient(125deg, #244f9e 0%, #3f72c8 68%, #5f8cda 100%);
  border: 1px solid #2857a6;
  border-radius: 18px;
  box-shadow: 0 18px 38px rgba(48,86,150,.18);
}
.profile-page .profile-hero::before {
  opacity: .12;
  background-image: radial-gradient(rgba(255,255,255,.9) 1px, transparent 1px);
}
.profile-page .profile-hero h1 { font-size: clamp(1.9rem, 3vw, 2.8rem); }
.profile-page .profile-hero p { color: rgba(255,255,255,.8); }
.profile-page .profile-hero .eyebrow { color: #dbe8ff; }
.profile-page .profile-hero .button-light {
  color: var(--safe-blue-dark);
  border: 1px solid rgba(255,255,255,.65);
  box-shadow: 0 8px 18px rgba(20,48,100,.16);
}

.profile-page .profile-grid {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.profile-page .profile-card {
  position: sticky;
  top: 92px;
  padding: 22px;
  background: #fff;
  border: 1px solid #d1d8e2;
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(28,43,67,.06);
}
.profile-page .profile-card-top {
  display: flex;
  align-items: center;
  gap: 13px;
}
.profile-page .profile-card-top .avatar {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: var(--safe-blue);
  font-size: 1.05rem;
  box-shadow: 0 8px 18px rgba(63,114,200,.2);
}
.profile-page .profile-card-kicker {
  margin: 0 0 3px;
  color: var(--profile-muted);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.profile-page .profile-card h2 {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 1rem;
}
.profile-page .profile-account-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 22px 0 18px;
  padding: 10px 12px;
  color: #315d3d;
  background: #edf7ef;
  border: 1px solid #cfe6d4;
  border-radius: 8px;
  font-size: .76rem;
  font-weight: 750;
}
.profile-page .status-dot {
  width: 7px;
  height: 7px;
  background: #47a35c;
  border-radius: 50%;
}
.profile-page .profile-card-facts {
  display: grid;
  gap: 11px;
  margin: 0;
}
.profile-page .profile-card-facts div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.profile-page .profile-card-facts dt { color: var(--profile-muted); font-size: .73rem; }
.profile-page .profile-card-facts dd { margin: 0; font-size: .8rem; font-weight: 800; }
.profile-page .profile-side-nav {
  display: grid;
  gap: 4px;
  margin-top: 21px;
  padding-top: 15px;
  border-top: 1px solid #e5e9ef;
}
.profile-page .profile-side-nav a {
  padding: 10px 11px;
  color: #5c6878;
  border-radius: 7px;
  font-size: .77rem;
  font-weight: 750;
  transition: background .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}
.profile-page .profile-side-nav a:hover,
.profile-page .profile-side-nav a.is-current {
  color: var(--safe-blue-dark);
  background: var(--safe-blue-soft);
}
.profile-page .profile-side-nav a:hover { transform: translateX(2px); }

.profile-page .profile-panel,
.profile-page .profile-details {
  background: #fff;
  border: 1px solid #d1d8e2;
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(28,43,67,.055);
}
.profile-page .profile-panel { padding: clamp(22px, 3vw, 32px); }
.profile-page .items-toolbar { margin-bottom: 18px; }
.profile-page .item-filter-group { background: #f1f4f8; border-color: #e0e5ed; }
.profile-page .item-filter.is-active {
  color: var(--safe-blue-dark);
  background: #fff;
}
.profile-page .item-search { border-color: #d8dee8; }
.profile-page .item-search:focus-within { border-color: var(--safe-blue); box-shadow: 0 0 0 3px rgba(63,114,200,.12); }
.profile-page .item-card {
  background: #fbfcfe;
  border-color: #dbe1e9;
}
.profile-page .item-card:hover { border-color: #9db8e5; box-shadow: 0 10px 22px rgba(45,83,145,.1); }
.profile-page .item-visual { background: var(--safe-blue-soft); }
.profile-page .button-primary {
  color: #fff;
  background: var(--safe-blue);
  box-shadow: 0 8px 18px rgba(63,114,200,.2);
}
.profile-page .button-primary:hover { background: var(--safe-blue-dark); box-shadow: 0 10px 22px rgba(63,114,200,.28); }
.profile-page .button-ghost {
  color: var(--safe-blue-dark);
  background: #fff;
  border-color: #b9c9e2;
}
.profile-page .button-ghost:hover { background: var(--safe-blue-soft); border-color: var(--safe-blue); }

.profile-page .profile-details { padding: clamp(24px, 4vw, 40px); }
.profile-page .profile-details-heading { border-bottom-color: #e2e6ed; }
.profile-page .profile-details-heading .eyebrow,
.profile-page .profile-details-form legend { color: var(--safe-blue-dark); }
.profile-page .profile-summary-grid { background: #dce2ea; border-color: #dce2ea; }
.profile-page .profile-summary-grid > div { background: #f8fafc; }
.profile-page .profile-summary-grid dd { color: var(--profile-ink); }
.profile-page .profile-details-form fieldset { background: #f7f9fc; border-color: #dce2ea; }
.profile-page .profile-details-form input,
.profile-page .profile-details-form select {
  background: #fff;
  border-color: #cbd4e0;
}
.profile-page .profile-details-form input:focus,
.profile-page .profile-details-form select:focus {
  border-color: var(--safe-blue);
  box-shadow: 0 0 0 4px rgba(63,114,200,.13);
}

@media (max-width: 760px) {
  .profile-page .profile-shell { width: min(100% - 24px, 620px); padding-top: 18px; }
  .profile-page .profile-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
  .profile-page .profile-card { position: static; }
  .profile-page .profile-card-facts { grid-template-columns: repeat(2, 1fr); }
  .profile-page .profile-side-nav { display: flex; overflow-x: auto; }
  .profile-page .profile-side-nav a { flex: 1 0 auto; text-align: center; }
}

/* Login screen mirrors the reference: quiet mint canvas, editorial trust copy and a compact elevated card. */
.login-page {
  background:
    radial-gradient(circle at 18% 76%, rgba(0, 122, 92, 0.13), transparent 25rem),
    radial-gradient(circle at 86% 8%, rgba(255, 255, 255, 0.8), transparent 22rem),
    #edf7f1;
}

.login-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(380px, 500px);
  column-gap: clamp(56px, 10vw, 150px);
  align-items: center;
  width: min(1060px, calc(100% - 64px));
  min-height: 100dvh;
  margin: auto;
  padding: 96px 0 54px;
}

.login-brand {
  position: absolute;
  top: 24px;
  left: 0;
  z-index: 2;
}
.login-page .auth-top-back {
  right: 0;
  left: auto;
}
.login-back {
  position: fixed; top: 20px; right: 28px; display: grid; place-items: center;
  width: 32px; height: 32px; color: #5b8175; border: 1px solid rgba(0, 122, 92, .12);
  border-radius: 50%; background: rgba(255,255,255,.35); transition: transform 180ms var(--ease), background 180ms var(--ease);
}
.auth-top-back {
  position: absolute;
  top: 24px;
  right: auto;
  left: 204px;
  z-index: 3;
}
.login-back:hover { transform: translateX(-2px); background: rgba(255,255,255,.75); }
.login-back svg { width: 16px; height: 16px; }
.login-intro { max-width: 470px; padding-left: 25px; border-left: 2px solid rgba(0,122,92,.2); }
.login-intro .eyebrow { margin-bottom: 15px; font-size: .62rem; letter-spacing: .08em; }
.login-intro h1 { margin: 0 0 22px; font-size: clamp(2.15rem, 4.4vw, 3.35rem); line-height: .98; letter-spacing: -.045em; }
.login-intro h1 span { color: var(--green); }
.login-benefits { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; color: #526c64; font-size: .73rem; line-height: 1.42; }
.login-benefits li { position: relative; padding-left: 17px; }
.login-benefits li::before { content: ""; position: absolute; left: 0; top: .42em; width: 7px; height: 4px; border-left: 1.5px solid var(--green); border-bottom: 1.5px solid var(--green); transform: rotate(-45deg); }
.login-card { width: 100%; max-width: 500px; padding: 27px 32px 30px; border-radius: 14px; box-shadow: 0 20px 38px rgba(0,79,63,.11), 0 2px 9px rgba(16,24,40,.03); }
.login-card::before { left: 22px; width: 36px; height: 2px; }
.login-card h2 { margin: 0 0 21px; font-size: 1.72rem; letter-spacing: -.04em; }
.login-card .eyebrow { margin-bottom: 12px; font-size: .61rem; }
.login-form { gap: 7px; }
.login-form label, .password-label { color: #364943; font-size: .7rem; font-weight: 750; }
.login-form input { min-height: 43px; padding-inline: 12px; font-size: .72rem; border-radius: 6px; }
.password-label { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.password-reveal { padding: 0; color: var(--green-dark); background: none; border: 0; font-size: .64rem; cursor: pointer; }
.password-reveal:hover { text-decoration: underline; }
.login-row { margin-top: 3px; font-size: .64rem; }
.login-card .button { min-height: 43px; margin-top: 6px; border-radius: 6px; font-size: .75rem; }
.login-card .auth-switch { text-align: center; color: #71817c; font-size: .68rem; }
.login-card .form-message { min-height: 18px; margin: 2px 0 0; font-size: .72rem; }

@media (max-width: 760px) {
  .login-shell { grid-template-columns: 1fr; gap: 28px; width: min(540px, calc(100% - 40px)); padding-top: 100px; }
  .login-intro { padding-left: 18px; }
  .login-intro h1 { font-size: clamp(2rem, 10vw, 3rem); }
  .login-card { max-width: none; padding: 25px 23px 27px; }
  .auth-top-back { left: 174px; }
}

@media (max-width: 420px) {
  .auth-top-back { left: 174px; }
  .login-shell { width: min(100% - 28px, 540px); padding-top: 87px; }
  .login-benefits { font-size: .69rem; }
}

/* Signup keeps the login composition while giving its real multi-field form the room it needs. */
.cadastro-page {
  background:
    radial-gradient(circle at 18% 76%, rgba(0, 122, 92, 0.13), transparent 25rem),
    radial-gradient(circle at 86% 8%, rgba(255, 255, 255, 0.8), transparent 22rem),
    #edf7f1;
}

.cadastro-shell {
  grid-template-columns: minmax(300px, 1fr) minmax(520px, 680px);
  column-gap: clamp(56px, 10vw, 150px);
  width: min(1180px, calc(100% - 64px));
  padding-top: 96px;
}

.cadastro-shell .auth-brand { top: 24px; left: 0; }
.cadastro-page .auth-top-back {
  top: 0;
  right: 60px;
  left: auto;
  margin-top: 15px;
  margin-bottom: 0;
}
.cadastro-back {
  position: fixed;
  top: 20px;
  right: 28px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #5b8175;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(0, 122, 92, 0.12);
  border-radius: 50%;
  transition: transform 180ms var(--ease), background 180ms var(--ease);
}

.cadastro-back:hover {
  transform: translateX(-2px);
  background: rgba(255, 255, 255, 0.75);
}

.cadastro-back svg { width: 16px; height: 16px; }
.cadastro-shell .auth-aside {
  top: -32px;
  max-width: 470px;
  padding-left: 25px !important;
  border-left: 2px solid rgba(0, 122, 92, 0.2);
}
.cadastro-shell .auth-aside::after { display: none; }
.cadastro-shell .auth-aside-mark { display: none; }
.cadastro-shell .auth-aside h2 {
  max-width: 470px;
  margin-bottom: 22px;
  color: var(--green);
  font-size: clamp(2.15rem, 4.4vw, 3.35rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.cadastro-shell .auth-aside h2 .cadastro-heading-dark {
  color: var(--ink);
}
.cadastro-shell .auth-aside > p:not(.eyebrow) {
  max-width: 430px;
  margin-bottom: 20px;
  color: #526c64;
  font-size: .78rem;
  line-height: 1.5;
}
.cadastro-shell .auth-trust-list {
  gap: 9px;
  color: #526c64;
  font-size: .73rem;
  line-height: 1.42;
}
.cadastro-shell .auth-card {
  margin-top: 40px;
  max-width: 680px;
  padding: 70px 32px 30px;
  border-radius: 14px;
  box-shadow: 0 20px 38px rgba(0, 79, 63, 0.11), 0 2px 9px rgba(16, 24, 40, 0.03);
}
.cadastro-shell .auth-card::before { left: 22px; width: 36px; height: 2px; }
.cadastro-shell .auth-card h1 {
  margin-bottom: 11px;
  font-size: 1.72rem;
  letter-spacing: -0.04em;
}
.cadastro-shell .auth-card > p:not(.eyebrow):not(.auth-switch) {
  max-width: 560px;
  margin-bottom: 22px;
  font-size: .76rem;
  line-height: 1.5;
}
.cadastro-shell .auth-form { gap: 10px; }
.cadastro-shell .auth-form label,
.cadastro-shell .user-type legend {
  color: #364943;
  font-size: .7rem;
  font-weight: 750;
}
.cadastro-shell .auth-form input { min-height: 43px; padding-inline: 12px; font-size: .72rem; border-radius: 6px; }
.cadastro-shell .phone-input {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-height: 43px;
  overflow: hidden;
  background: rgba(247, 251, 249, 0.9);
  border: 1px solid rgba(194, 214, 205, 0.9);
  border-radius: 6px;
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}
.cadastro-shell .phone-input:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(0, 122, 92, 0.12);
}
.cadastro-shell .phone-prefix {
  padding-left: 12px;
  color: var(--green-dark);
  font-size: .72rem;
  font-weight: 800;
}
.cadastro-shell .phone-input input {
  min-height: 41px;
  padding-left: 8px;
  border: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.cadastro-shell .user-type {
  gap: 5px;
  padding: 5px;
  border-radius: 8px;
}
.cadastro-shell .user-type legend { padding: 2px 6px 4px; }
.cadastro-shell .user-type label {
  min-height: 35px;
  padding: 5px 8px;
  font-size: .7rem;
}
.cadastro-shell .check-row { font-size: .7rem !important; }
.cadastro-shell .auth-form .button { min-height: 43px; margin-top: 3px; border-radius: 6px; font-size: .75rem; }
.cadastro-shell .auth-switch { margin-top: 16px; color: #71817c; text-align: center; font-size: .68rem; }
.cadastro-shell .form-message { min-height: 18px; margin: 2px 0 0; font-size: .72rem; }
.signup-step { display: none; }
.signup-step.is-active {
  display: grid;
}
.cadastro-shell .signup-step {
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  width: 100%;
}
.cadastro-shell .signup-step > label,
.cadastro-shell .signup-step > .user-type,
.cadastro-shell .signup-step > .button,
.cadastro-shell .signup-step > .signup-actions {
  width: 100%;
}
.cadastro-shell .signup-form {
  gap: 24px;
}
.signup-confirmation {
  gap: 18px;
  padding-top: 8px;
}
.cadastro-shell .signup-confirmation .check-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px !important;
  width: 100%;
  margin: 4px 0 6px;
  text-align: left;
}
.cadastro-shell .signup-confirmation .check-row input {
  width: 20px;
  height: 20px;
  margin: 0;
}
.signup-actions {
  display: grid;
  grid-template-columns: minmax(110px, .45fr) 1fr;
  gap: 12px;
}

@media (max-width: 900px) {
  .cadastro-shell {
    grid-template-columns: 1fr;
    width: min(620px, calc(100% - 40px));
    gap: 28px;
    padding-top: 100px;
  }
  .cadastro-shell .auth-aside {
    top: 0;
    max-width: 560px;
    padding: 12px 0 0 18px !important;
  }
  .cadastro-shell .auth-aside h2 { font-size: clamp(2rem, 10vw, 3rem); }
  .cadastro-shell .auth-card { max-width: none; padding: 70px 23px 27px; }
}

@media (max-width: 560px) {
  .cadastro-shell .split-form { grid-template-columns: 1fr; }
  .cadastro-shell .full-row { grid-column: 1; }
}

@media (max-width: 420px) {
  .cadastro-shell { width: min(100% - 28px, 540px); padding-top: 87px; }
  .cadastro-shell .auth-brand { left: 20px; }
  .cadastro-shell .auth-card { padding-inline: 18px; }
  .signup-actions { grid-template-columns: 1fr; }
  .cadastro-back { right: 18px; }
}

/* Minimal item registration */
.profile-page.registration-mode{background:#f7faf8}
.profile-page.registration-mode .profile-shell{width:min(100%,1040px);padding:32px 0 56px}
.profile-page.registration-mode .profile-shell> :not(#item-registration){display:none}
.profile-page.registration-mode .item-registration{animation:registrationIn 280ms var(--ease) both}
.profile-page.registration-mode .item-registration.is-closing{pointer-events:none;animation:registrationOut 220ms ease both}
.item-registration{width:min(100% - 32px,880px);margin:0 auto;padding:36px 44px 40px;background:#fff;border:1px solid #e1e9e4;border-radius:16px;box-shadow:0 12px 36px rgba(22,53,43,.06)}
.registration-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:28px}
.registration-heading h2{margin:0;font-size:clamp(1.35rem,2.2vw,1.7rem);letter-spacing:-.02em}
.registration-close{display:grid;place-items:center;width:34px;height:34px;padding:0;color:#53675e;background:transparent;border:0;border-radius:50%;font-size:1.65rem;line-height:1;cursor:pointer;transition:background 150ms ease,color 150ms ease}
.registration-close:hover,.registration-close:focus-visible{color:var(--green-dark);background:#eef5f1;outline:0}
.registration-progress{--registration-progress:14.285%;position:relative;height:7px;margin:0 0 32px;padding:2px;overflow:visible;background:#e8efeb;border:1px solid #dce7e1;border-radius:999px;box-shadow:inset 0 1px 2px rgba(29,66,53,.08)}
.registration-progress-fill{position:relative;display:block;width:var(--registration-progress);height:100%;background:linear-gradient(90deg,#006f55,#19a276);border-radius:999px;box-shadow:0 2px 8px rgba(0,122,92,.2);transition:width 320ms cubic-bezier(.22,.8,.25,1)}
.registration-progress-fill::after{content:"";position:absolute;top:50%;right:-4px;width:9px;height:9px;background:#fff;border:3px solid #078664;border-radius:50%;box-shadow:0 1px 5px rgba(0,79,63,.24);transform:translateY(-50%)}
.registration-form fieldset{min-width:0;margin:0;padding:0;border:0}
.registration-form legend{margin:0 0 22px;padding:0;color:var(--ink);font-family:var(--font-display);font-size:1.16rem;font-weight:800}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:none;padding:0}
.form-grid.single-question{grid-template-columns:minmax(0,1fr)}
.registration-form label:not(.check-row){display:grid;gap:6px;color:#405149;font-size:.84rem;font-weight:700}
.registration-form label b{color:var(--green)}
.registration-form input:not([type=checkbox]):not([type=file]),.registration-form select,.registration-form textarea{width:100%;min-height:48px;padding:11px 13px;color:var(--ink);background:#fff;border:1px solid #cedbd4;border-radius:8px;outline:0;transition:border-color 150ms ease,box-shadow 150ms ease}
.registration-form textarea{resize:vertical}
.full-row,.auto-full-row{grid-column:1/-1}
.registration-form input:focus,.registration-form select:focus,.registration-form textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(0,122,92,.1)}
.file-field input[type=file]{width:100%;padding:13px;color:#52635c;background:#fafcfb;border:1px dashed #aabdb3;border-radius:8px}
.file-field input[type=file]::file-selector-button{margin-right:12px;padding:8px 11px;color:var(--green-dark);background:#eaf4ef;border:0;border-radius:6px;font-weight:750;cursor:pointer}
.file-feedback,.field-note{color:var(--muted);font-size:.78rem;font-weight:500}
.file-feedback.is-error{color:var(--danger)}
.check-row{display:flex;align-items:flex-start;gap:10px;margin-top:16px;color:#40534c;font-size:.88rem;line-height:1.45}
.check-row input{width:18px;height:18px;margin:1px 0 0;accent-color:var(--green);flex:0 0 auto}
.identifier-check{padding-top:2px}
.identifier-group{margin-top:24px;padding-top:22px;border-top:1px solid #e3ebe6}
.field-group-title{margin:0 0 14px;color:#61736b;font-size:.76rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase}
.optional-details{margin-top:24px;border-top:1px solid #e3ebe6}
.optional-details summary{display:flex;align-items:center;gap:8px;padding:16px 0 0;color:var(--green-dark);font-size:.86rem;font-weight:750;cursor:pointer;list-style:none}
.optional-details summary::-webkit-details-marker{display:none}
.optional-details summary::before{content:"+";font-size:1rem}
.optional-details[open] summary::before{content:"−"}
.optional-details summary small{color:var(--muted);font-weight:500}
.optional-details-body{padding-top:18px}
.file-previews{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px}
.file-preview{position:relative;width:104px;margin:0}
.file-preview img{display:block;width:104px;height:78px;object-fit:cover;border:1px solid #d7e2dc;border-radius:8px}
.preview-remove{margin-top:5px;padding:0;color:var(--danger);background:none;border:0;font-size:.72rem;cursor:pointer}
.summary-grid{border-top:1px solid #e0e8e3}
.summary-item{display:grid;grid-template-columns:130px 1fr;gap:16px;padding:13px 0;border-bottom:1px solid #e0e8e3}
.summary-item span,.summary-label{color:var(--muted);font-size:.78rem}
.summary-item strong{font-size:.9rem;font-weight:700;text-align:right}
.summary-edit{margin:14px 0 24px;padding:0;color:var(--green);background:transparent;border:0}
.contact-summary{display:grid;gap:3px;margin:0 0 24px;padding:0 0 18px;border-bottom:1px solid #e0e8e3}
.contact-summary strong{font-size:.9rem}
.contact-summary small{color:var(--muted);font-size:.76rem}
.summary-options{gap:16px}
.declaration{padding:13px;background:#f5faf7;border-radius:8px}
.registration-actions{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:30px;padding-top:20px;border-top:1px solid #e2eae5}
.registration-actions .form-message{flex:1;margin:0;font-size:.82rem}
.registration-nav{display:flex;gap:9px;justify-content:flex-end}
.registration-nav .button{min-width:0;padding:9px 16px;border-radius:7px;box-shadow:none;font-size:.86rem}
.registration-nav .button-primary{background:var(--green)}
.registration-nav .button-ghost{color:#52635c;background:transparent;border-color:#d5dfd9}
@keyframes registrationIn{from{opacity:0;transform:translateY(10px) scale(.995)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes registrationOut{from{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(8px) scale(.995)}}
@media (prefers-reduced-motion:reduce){
  .profile-page.registration-mode .item-registration,.profile-page.registration-mode .item-registration.is-closing{animation:none}
  .registration-progress-fill{transition:none}
}
@media (max-width:640px){
  .profile-page.registration-mode .profile-shell{padding:10px 0 76px}
  .item-registration{width:100%;padding:22px 18px 26px;border-width:0;border-radius:0;box-shadow:none}
  .registration-heading{margin-bottom:24px}
  .registration-progress{margin-bottom:28px}
  .form-grid{grid-template-columns:1fr}
  .full-row,.auto-full-row{grid-column:auto}
  .summary-item{grid-template-columns:105px 1fr}
  .registration-actions{position:fixed;z-index:45;right:0;bottom:0;left:0;margin:0;padding:10px 18px max(10px,env(safe-area-inset-bottom));background:rgba(255,255,255,.98);box-shadow:0 -8px 24px rgba(22,53,43,.08)}
  .registration-actions .form-message{position:absolute;right:18px;bottom:100%;left:18px;padding:8px 10px;background:#fff}
  .registration-nav{width:100%}
  .registration-nav .button{flex:1;min-width:0}
}

/* Profile layout based on the supplied reference: simple header, green banner and item register. */
.profile-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  color: #16231f;
  background: #fff;
}

.profile-page .profile-header {
  position: sticky;
  top: 0;
  z-index: 50;
  grid-template-columns: auto 1fr;
  min-height: 70px;
  padding: 8px max(34px, calc((100vw - 1140px) / 2));
  background: #f2f4f3;
  border-bottom: 0;
  box-shadow: none;
}

.profile-page .profile-header .brand {
  gap: 10px;
}

.profile-page .profile-header .brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  box-shadow: none;
}

.profile-page .profile-header .brand-mark svg {
  width: 30px;
  height: 30px;
}

.profile-page .profile-header .brand strong {
  font-size: 1.42rem;
}

.profile-page .profile-header .brand small {
  display: none;
}

.profile-page .profile-header nav {
  position: relative;
  justify-content: flex-end;
  gap: 10px;
}

.profile-page .profile-user {
  padding: 0;
  border: 0;
}

.profile-page .profile-user-icon,
.profile-page .profile-menu > summary {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--green-dark);
  background: transparent;
  border: 0;
  border-radius: 8px;
}

.profile-page .profile-user-icon svg,
.profile-page .profile-menu > summary svg {
  display: block;
  width: 29px;
  height: 29px;
  margin: auto;
}

.profile-page .profile-menu {
  position: relative;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.profile-page .profile-menu > summary {
  padding: 0;
  cursor: pointer;
  list-style: none;
  transition: transform 160ms var(--ease);
}

.profile-page .profile-menu > summary::-webkit-details-marker,
.profile-page .filter-menu > summary::-webkit-details-marker {
  display: none;
}

.profile-page .profile-menu > summary::after,
.profile-page .filter-menu > summary::after {
  content: none;
}

.profile-page .profile-menu > summary:hover,
.profile-page .profile-menu[open] > summary {
  color: var(--green-dark);
  background: transparent;
  border-color: transparent;
  transform: scale(1.12);
}

.profile-page .profile-menu > summary:active {
  transform: scale(1.08);
}

.profile-page .profile-menu-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 60;
  display: grid;
  min-width: 190px;
  padding: 7px;
  background: #fff;
  border: 1px solid #dce5e0;
  border-radius: 10px;
  box-shadow: 0 18px 42px rgba(17, 50, 40, .14);
}

.profile-page .profile-menu-popover a {
  padding: 10px 12px;
  color: #40514b;
  border-radius: 7px;
  font-size: .82rem;
  font-weight: 700;
}

.profile-page .profile-menu-popover button {
  width: 100%;
  padding: 10px 12px;
  color: #40514b;
  background: transparent;
  border: 0;
  border-radius: 7px;
  font-size: .82rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.profile-page .profile-menu-popover a:hover {
  color: var(--green-dark);
  background: #eef6f2;
}

.profile-page .profile-menu-popover button:hover {
  color: var(--green-dark);
  background: #eef6f2;
}

.profile-page .profile-menu-popover .profile-menu-logout {
  margin-top: 4px;
  color: var(--danger);
  border-top: 1px solid #e8eeeb;
  border-radius: 0 0 7px 7px;
}

.profile-page .profile-shell {
  flex: 1 0 auto;
  width: min(1020px, calc(100% - 40px));
  padding: 64px 0 32px;
}

.profile-page .profile-hero {
  min-height: 170px;
  margin: 0 0 48px;
  padding: 30px 42px;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(0, 72, 57, .98), rgba(0, 126, 91, .93)),
    #006d53;
  border: 8px solid #eef5f1;
  border-radius: 18px;
  box-shadow: none;
}

.profile-page .profile-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .18;
  background:
    linear-gradient(55deg, transparent 49%, rgba(255,255,255,.28) 50%, transparent 51%) 0 0 / 120px 120px,
    linear-gradient(-55deg, transparent 49%, rgba(255,255,255,.18) 50%, transparent 51%) 18px 0 / 150px 150px;
  pointer-events: none;
}

.profile-page .profile-hero::after {
  content: none;
}

.profile-page .profile-hero-copy,
.profile-page .profile-hero-side {
  position: relative;
  z-index: 1;
}

.profile-page .profile-hero .eyebrow {
  margin-bottom: 7px;
  color: rgba(255, 255, 255, .76);
  font-size: .66rem;
}

.profile-page .profile-hero .js-profile-greeting:not(:empty)::before {
  content: " · ";
}

.profile-page .profile-hero h1 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1;
  letter-spacing: -.05em;
}

.profile-page .profile-hero p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: .84rem;
}

.profile-page .profile-hero-side {
  align-self: center;
}

.profile-page .profile-hero .button-light {
  min-height: 42px;
  padding-inline: 18px;
  color: var(--green-dark);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 8px;
  box-shadow: none;
  font-size: .76rem;
}

.profile-page .profile-hero .button-light:hover {
  color: var(--green-dark);
  background: #fff;
}

.profile-page .profile-grid {
  display: block;
}

.profile-page .profile-stack {
  display: grid;
  gap: 24px;
}

.profile-page .profile-panel {
  background: #fff;
  border: 1px solid #e0e6e3;
  border-radius: 12px;
  box-shadow: none;
}

.profile-page .items-panel {
  min-height: 500px;
  padding: 34px 30px 22px;
  background: #f4f5f4;
  border: 0;
  border-radius: 0;
}

.profile-page .items-heading {
  align-items: center;
  margin-bottom: 22px;
}

.profile-page .items-heading h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 850;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.profile-page .items-heading-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.profile-page .items-total,
.profile-page .filter-menu > summary {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  color: #34443e;
  background: #fff;
  border: 1px solid #cfd8d3;
  border-radius: 6px;
  font-size: .75rem;
  font-weight: 750;
  white-space: nowrap;
}

.profile-page .items-total strong {
  margin-left: 5px;
  color: var(--green-dark);
}

.profile-page .filter-menu {
  position: relative;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.profile-page .filter-menu > summary {
  cursor: pointer;
}

.profile-page .filter-menu[open] > summary {
  color: #fff;
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.profile-page .filter-menu .item-filter-group {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  display: grid;
  min-width: 170px;
  padding: 6px;
  background: #fff;
  border: 1px solid #d8e1dc;
  border-radius: 8px;
  box-shadow: 0 15px 32px rgba(22, 53, 43, .12);
}

.profile-page .item-filter {
  justify-content: space-between;
  min-height: 36px;
  padding-inline: 10px;
  text-align: left;
}

.profile-page .items-toolbar {
  justify-content: flex-end;
  margin: -4px 0 12px;
  padding: 0;
  background: transparent;
  border: 0;
}

.profile-page .item-search {
  width: min(280px, 100%);
  min-height: 36px;
  background: #fff;
}

.profile-page .items-list {
  display: grid;
  gap: 10px;
}

.profile-page .item-card {
  display: grid;
  grid-template-columns: 76px minmax(180px, 1fr) 108px minmax(130px, auto);
  gap: 18px;
  align-items: center;
  min-height: 88px;
  padding: 12px 14px;
  background: #dedfdf;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.profile-page .item-card:hover {
  background: #d8dcda;
  box-shadow: none;
  transform: none;
}

.profile-page .item-card.is-lost {
  background: #f1dfdd;
  border: 0;
}

.profile-page .item-visual {
  width: 76px;
  height: 62px;
  color: var(--green-dark);
  background: #fff;
  border: 1px solid #bdc8c3;
  border-radius: 5px;
}

.profile-page .item-visual svg {
  width: 28px;
  height: 28px;
}

.profile-page .item-title-row {
  margin-bottom: 2px;
}

.profile-page .item-type {
  color: #557068;
  font-size: .62rem;
}

.profile-page .item-title-row .status-pill {
  display: none;
}

.profile-page .item-card h3 {
  margin: 0 0 5px;
  font-size: .94rem;
}

.profile-page .item-card p {
  color: #687972;
  font-size: .72rem;
}

.profile-page .item-card > .status-pill {
  justify-self: start;
  min-height: 32px;
  padding-inline: 12px;
  background: #fff;
  border: 1px solid #becbc5;
  border-radius: 5px;
  font-size: .7rem;
}

.profile-page .item-card > .status-pill.status-danger {
  color: var(--danger);
  border-color: rgba(180, 35, 24, .28);
}

.profile-page .item-actions {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) 42px;
  gap: 8px;
}

.profile-page .item-actions .button {
  min-height: 38px;
  padding-inline: 12px;
  color: #233730;
  background: #fff;
  border-color: #bdc8c3;
  border-radius: 5px;
  box-shadow: none;
  font-size: .7rem;
}

.profile-page .item-actions .button:hover {
  color: #fff;
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.profile-page .item-actions .item-view-button {
  width: 42px;
  padding: 0;
}

.profile-page .item-view-button svg {
  width: 18px;
  height: 18px;
}

.profile-page .items-empty {
  margin: 88px auto;
  color: #778780;
  font-size: .84rem;
}

.profile-page .items-pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 7px;
  margin-top: 90px;
}

.profile-page .items-pagination button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: var(--green-dark);
  background: #fff;
  border: 1px solid #bec9c4;
  border-radius: 5px;
}

.profile-page .items-pagination button:disabled {
  color: #a9b3af;
  cursor: not-allowed;
}

.profile-page .items-pagination button svg {
  width: 17px;
  height: 17px;
}

.profile-page .items-pagination span {
  color: #6f7e78;
  font-size: .7rem;
}

.profile-page .profile-settings-heading {
  margin: 20px 0 -8px;
  padding-top: 18px;
  border-top: 1px solid #e0e7e3;
}

.profile-page .profile-settings-heading h2 {
  margin: 0;
  font-size: 1.8rem;
}

.profile-page .account-panel {
  scroll-margin-top: 88px;
  padding: clamp(22px, 3vw, 32px);
}

.profile-page .profile-footer {
  flex: 0 0 auto;
  margin-top: auto;
  padding: 18px max(34px, calc((100vw - 1140px) / 2));
  color: #778680;
  background: #f8faf9;
  border-top: 1px solid #e1e8e4;
  font-size: .66rem;
}

.profile-page .profile-footer-inner {
  width: 100%;
}

.profile-page .profile-socials {
  display: flex;
  gap: 13px;
}

.profile-page .profile-socials a {
  color: var(--green-dark);
  font-weight: 900;
}

@media (max-width: 760px) {
  .profile-page .profile-header {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 62px;
    padding-inline: 14px;
  }

  .profile-page .profile-header nav {
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-end;
  }

  .profile-page .profile-shell {
    width: min(100% - 24px, 620px);
    padding-top: 28px;
  }

  .profile-page .profile-hero {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: 0;
    margin-bottom: 24px;
    padding: 24px 20px;
  }

  .profile-page .profile-hero h1 {
    font-size: 1.9rem;
  }

  .profile-page .profile-hero-side {
    justify-items: start;
  }

  .profile-page .items-panel {
    min-height: 430px;
    padding: 22px 14px 16px;
  }

  .profile-page .items-heading {
    display: grid;
    gap: 14px;
  }

  .profile-page .items-heading-actions {
    justify-content: flex-start;
  }

  .profile-page .items-toolbar {
    justify-content: stretch;
  }

  .profile-page .item-search {
    width: 100%;
  }

  .profile-page .item-card {
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 10px;
    min-height: 0;
    padding: 11px;
  }

  .profile-page .item-visual {
    width: 58px;
    height: 54px;
  }

  .profile-page .item-card > .status-pill {
    display: inline-flex;
  }

  .profile-page .item-actions {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 42px;
  }

  .profile-page .items-pagination {
    margin-top: 54px;
  }

  .profile-page .profile-form,
  .profile-page .verify-fields {
    grid-template-columns: 1fr;
  }

  .profile-page .profile-footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 8px;
    text-align: center;
  }

  .profile-page .profile-footer nav {
    justify-content: center;
  }
}

@media (max-width: 430px) {
  .profile-page .profile-header .brand strong {
    font-size: 1.25rem;
  }

  .profile-page .profile-user-icon,
  .profile-page .profile-menu > summary {
    width: 40px;
    height: 40px;
  }

  .profile-page .profile-hero {
    border-width: 5px;
  }

  .profile-page .profile-hero h1 {
    font-size: 1.65rem;
  }

  .profile-page .items-heading h2 {
    font-size: 1.28rem;
  }

  .profile-page .items-total,
  .profile-page .filter-menu > summary {
    min-height: 32px;
    padding-inline: 9px;
    font-size: .68rem;
  }

  .profile-page .item-card {
    grid-template-columns: 50px minmax(0, 1fr);
  }

  .profile-page .item-visual {
    width: 50px;
    height: 50px;
  }

  .profile-page .item-card > .status-pill {
    grid-column: 2;
    width: fit-content;
  }
}

/* Final profile guardrails: keep the account page responsive after shared-page breakpoints. */
.profile-page .profile-shell { width: min(1140px, calc(100% - 32px)); }
.profile-page .profile-header { min-height: 62px; }
.profile-page .profile-panel { border-color: #dbe9e1; }
.profile-page .profile-card { border-color: #dbe9e1; }

@media (max-width: 760px) {
  .profile-page .profile-shell { width: min(100% - 24px, 620px); }
  .profile-page .profile-header { padding-inline: 14px; }
  .profile-page .profile-hero {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: 0;
    padding: 24px 20px;
  }
  .profile-page .profile-hero-side { justify-items: start; }
  .profile-page .profile-grid { grid-template-columns: 1fr; }
  .profile-page .profile-card { position: static; }
  .profile-page .profile-card dl { grid-template-columns: repeat(3, 1fr); }
  .profile-page .profile-side-nav { display: flex; overflow-x: auto; }
  .profile-page .items-toolbar { display: grid; gap: 7px; }
  .profile-page .item-search { width: 100%; }
  .profile-page .item-card { grid-template-columns: 44px minmax(0, 1fr); }
  .profile-page .item-visual { width: 44px; height: 44px; }
  .profile-page .item-card > .status-pill,
  .profile-page .item-actions { grid-column: 1 / -1; }
  .profile-page .item-card > .status-pill { display: none; }
  .profile-page .item-actions { justify-content: stretch; }
  .profile-page .item-actions .button { flex: 1; }
}

/* Profile dashboard: compact navigation, a clear inventory and lightweight account panels. */
.profile-page {
  background:
    radial-gradient(circle at 84% 10%, rgba(0, 122, 92, 0.08), transparent 25rem),
    #f4f8f6;
}

.profile-header {
  min-height: 72px;
  padding: 10px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(0, 79, 63, 0.1);
}

.profile-header nav {
  gap: clamp(14px, 2vw, 28px);
  color: #50615b;
  font-size: 0.84rem;
}

.profile-nav-link {
  position: relative;
  padding: 12px 0;
  transition: color 180ms var(--ease);
}

.profile-nav-link:hover,
.profile-nav-link.is-active {
  color: var(--green-dark);
}

.profile-nav-link.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  background: var(--green);
  border-radius: 99px;
}

.profile-user {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-left: 8px;
  border-left: 1px solid var(--line);
  color: var(--ink-2);
  font-weight: 750;
}

.profile-user-avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #fff;
  background: var(--green-dark);
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 900;
}

.profile-logout {
  min-height: 36px !important;
  padding-inline: 14px !important;
}

.profile-shell {
  width: min(1180px, calc(100% - 40px));
  padding: 32px 0 64px;
}

.profile-hero {
  position: relative;
  min-height: 190px;
  margin-bottom: 26px;
  padding: clamp(26px, 4vw, 42px) clamp(26px, 5vw, 54px);
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 16%, rgba(83, 220, 169, 0.3), transparent 13rem),
    linear-gradient(112deg, #004f3f 0%, #00684f 56%, #008d69 100%);
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(0, 79, 63, 0.16);
}

.profile-hero::after {
  content: "";
  position: absolute;
  right: -3rem;
  bottom: -6rem;
  width: 20rem;
  height: 20rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(255, 255, 255, 0.04), 0 0 0 56px rgba(255, 255, 255, 0.025);
  pointer-events: none;
}

.profile-hero-copy,
.profile-hero-side {
  position: relative;
  z-index: 1;
}

.profile-hero h1 {
  margin: 0 0 7px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 800;
  letter-spacing: -0.06em;
}

.profile-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.02rem;
}

.profile-hero .eyebrow {
  margin-bottom: 12px;
  color: #9ce3c7;
}

.profile-hero-side {
  display: grid;
  justify-items: end;
  gap: 16px;
}

.profile-verified {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.84rem;
  font-weight: 750;
}

.profile-verified-dot {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--green-dark);
  background: #baf0d8;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 950;
}

.profile-hero .button-light {
  min-height: 46px;
  padding-inline: 22px;
  border: 0;
  font-size: 0.86rem;
}

.profile-grid {
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 26px;
}

.profile-card {
  top: 96px;
  padding: 22px;
  background: #fff;
  border-color: rgba(203, 219, 211, 0.9);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.05);
}

.profile-card-top {
  display: flex;
  align-items: center;
  gap: 13px;
}

.avatar {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: 15px;
  font-size: 1rem;
}

.profile-card h2 {
  margin: 0 0 3px;
  font-size: 1.04rem;
  letter-spacing: -0.03em;
}

.profile-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
}

.profile-account-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0 18px;
  padding: 12px;
  color: var(--green-dark);
  background: #effaf4;
  border: 1px solid #d8f0e3;
  border-radius: 10px;
}

.profile-account-status > span:last-child {
  display: grid;
  gap: 1px;
}

.profile-account-status strong {
  font-size: 0.76rem;
}

.profile-account-status small {
  color: var(--muted);
  font-size: 0.7rem;
}

.status-icon {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 950;
}

.profile-card dl {
  gap: 0;
}

.profile-card dl div {
  padding: 10px 0;
}

.profile-card dt,
.profile-card dd {
  font-size: 0.8rem;
}

.profile-side-nav {
  display: grid;
  gap: 4px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.profile-side-nav a {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 0 9px;
  color: var(--muted);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 750;
  transition: color 180ms var(--ease), background 180ms var(--ease);
}

.profile-side-nav a span {
  width: 17px;
  color: var(--green);
  text-align: center;
  font-size: 1rem;
}

.profile-side-nav a:hover,
.profile-side-nav a.is-current {
  color: var(--green-dark);
  background: #f1f8f4;
}

.profile-stack {
  gap: 20px;
}

.profile-panel {
  padding: clamp(20px, 3vw, 30px);
  background: #fff;
  border-color: rgba(203, 219, 211, 0.9);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.045);
}

.items-heading {
  align-items: center;
  margin-bottom: 23px;
}

.panel-heading h2 {
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  letter-spacing: -0.045em;
}

.panel-heading .eyebrow {
  margin-bottom: 7px;
}

.panel-subtitle {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.items-heading .button {
  min-height: 42px;
  padding-inline: 17px;
  font-size: 0.82rem;
}

.items-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
  padding: 5px;
  background: #f5f8f6;
  border: 1px solid #e7efea;
  border-radius: 10px;
}

.item-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}

.item-filter {
  min-height: 34px;
  padding: 0 11px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 7px;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
}

.item-filter span {
  display: inline-block;
  margin-left: 3px;
  color: #8b9894;
  font-size: 0.68rem;
}

.item-filter:hover,
.item-filter.is-active {
  color: var(--green-dark);
  background: #fff;
  box-shadow: 0 3px 9px rgba(16, 24, 40, 0.06);
}

.item-search {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 150px;
  min-height: 34px;
  padding: 0 9px;
  background: #fff;
  border: 1px solid #e3ebe6;
  border-radius: 7px;
}

.item-search svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  color: #84928d;
}

.item-search input {
  width: 100%;
  min-width: 0;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 0.78rem;
}

.item-search:focus-within {
  border-color: rgba(0, 122, 92, 0.4);
  box-shadow: 0 0 0 3px rgba(0, 122, 92, 0.09);
}

.items-list {
  gap: 10px;
}

.item-card {
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 14px;
  padding: 14px;
  border-color: #e4ece7;
  border-radius: 12px;
  box-shadow: none;
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease), transform 180ms var(--ease);
}

.item-card:hover {
  border-color: rgba(0, 122, 92, 0.3);
  box-shadow: 0 8px 22px rgba(0, 79, 63, 0.06);
  transform: translateY(-1px);
}

.item-card.is-lost {
  border-color: rgba(180, 35, 24, 0.23);
}

.item-visual {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--green-dark);
  background: #edf8f2;
  border-radius: 11px;
}

.item-visual-watch {
  color: #725627;
  background: #fbf6ea;
}

.item-visual-phone {
  color: #a0352d;
  background: #fff1ef;
}

.item-visual svg {
  width: 27px;
  height: 27px;
}

.item-details {
  min-width: 0;
}

.item-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.item-title-row .status-pill {
  display: none;
  min-height: 23px;
  padding-inline: 8px;
  font-size: 0.66rem;
}

.item-type {
  color: var(--green);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}

.item-card h3 {
  margin: 3px 0 1px;
  font-size: 1rem;
  line-height: 1.2;
}

.item-card p {
  overflow: hidden;
  color: #7a8983;
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.item-card > .status-pill {
  align-self: start;
  margin-top: 3px;
}

.item-actions {
  justify-content: flex-end;
  gap: 6px;
}

.item-actions .button {
  min-height: 34px;
  padding-inline: 10px;
  border-radius: 7px;
  font-size: 0.72rem;
}

.items-empty {
  margin: 20px 0 4px;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}

.add-item-panel {
  scroll-margin-top: 94px;
}

.add-item-panel .profile-form {
  align-items: end;
}

.add-item-panel .form-message {
  grid-column: 1 / -1;
}

.profile-footer {
  padding: 20px clamp(20px, 5vw, 72px);
  color: #7d8a85;
  background: #fff;
  border-top: 1px solid #e1eae5;
  font-size: 0.76rem;
}

.profile-footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.profile-footer nav {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
}

.profile-footer a:hover {
  color: var(--green-dark);
}

@media (max-width: 920px) {
  .profile-user-name {
    display: none;
  }

  .profile-grid {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 18px;
  }

  .item-card {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .item-visual {
    width: 46px;
    height: 46px;
  }

  .item-card > .status-pill {
    display: none;
  }

  .item-title-row .status-pill {
    display: inline-flex;
  }

  .item-actions {
    grid-column: 2;
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .profile-header {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 64px;
    padding-inline: 14px;
  }

  .profile-header nav {
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-end;
  }

  .profile-header .brand small,
  .profile-nav-link {
    display: none;
  }

  .profile-header nav {
    gap: 8px;
  }

  .profile-user {
    padding-left: 0;
    border-left: 0;
  }

  .profile-shell {
    width: min(100% - 28px, var(--container));
    padding-top: 18px;
  }

  .profile-hero {
    grid-template-columns: 1fr;
    gap: 20px;
    min-height: 0;
    margin-bottom: 18px;
    padding: 25px 22px;
  }

  .profile-hero h1 {
    font-size: 2rem;
  }

  .profile-hero-side {
    justify-items: start;
    gap: 13px;
  }

  .profile-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .profile-card {
    position: static;
    padding: 17px;
  }

  .profile-card-top {
    justify-content: space-between;
  }

  .profile-account-status {
    margin: 15px 0 10px;
  }

  .profile-card dl {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .profile-card dl div {
    display: grid;
    justify-content: stretch;
    gap: 2px;
    padding: 8px 0 0;
    border-top: 0;
  }

  .profile-card dt,
  .profile-card dd {
    font-size: 0.72rem;
  }

  .profile-card dd {
    order: -1;
    font-size: 1.1rem;
  }

  .profile-side-nav {
    display: flex;
    gap: 4px;
    margin-top: 12px;
    padding-top: 10px;
    overflow-x: auto;
  }

  .profile-side-nav a {
    flex: 0 0 auto;
    padding-inline: 8px;
    font-size: 0.72rem;
  }

  .items-heading {
    align-items: flex-start;
  }

  .items-heading > .button {
    display: none;
  }

  .items-toolbar {
    display: grid;
    gap: 8px;
    padding: 6px;
  }

  .item-filter-group {
    justify-content: space-between;
  }

  .item-filter {
    padding-inline: 8px;
    font-size: 0.7rem;
  }

  .item-search {
    width: 100%;
  }

  .item-card {
    gap: 11px;
    padding: 12px;
  }

  .item-actions {
    gap: 6px;
  }

  .item-actions .button {
    flex: 1;
  }

  .profile-footer-inner {
    grid-template-columns: 1fr;
    gap: 8px;
    text-align: center;
  }

  .profile-footer nav {
    justify-content: center;
  }
}

/*
Legacy placement of the clean profile refinement. The authoritative layer is
at the end of this stylesheet, after all profile-page rules.
/*
.profile-page .profile-details {
  padding: clamp(24px, 5vw, 52px);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #fff;
}
.profile-page .profile-details-heading {
  margin-bottom: 38px;
  padding-bottom: 0;
  border-bottom: 0;
}
.profile-page .profile-details-heading .eyebrow { color: #007a5c; }
.profile-page .profile-details-heading h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.profile-page .profile-details-heading p:not(.eyebrow) { max-width: 42rem; color: #73847d; }
.profile-page .profile-summary-layout {
  grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
  gap: 15px;
}
.profile-page .profile-summary-identity {
  padding: 4px 0 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.profile-page .profile-summary-avatar {
  width: 78px;
  height: 78px;
  margin-bottom: 22px;
  border: 0;
  box-shadow: none;
  background: #e5f3eb;
  color: #006b50;
  font-size: 1.4rem;
}
.profile-page .profile-summary-kicker {
  color: #82938b;
  font-size: .63rem;
  letter-spacing: .13em;
}
.profile-page .profile-summary-name {
  color: #173a2f;
  font-size: 1.18rem;
}
.profile-page .profile-summary-type {
  margin: 8px 0 24px;
  padding: 0;
  color: #007a5c;
  background: transparent;
  border-radius: 0;
  font-size: .74rem;
}
.profile-page .profile-summary-contact {
  gap: 16px;
  margin-bottom: 28px;
  padding-top: 18px;
  border-top: 1px solid #e7eee9;
}
.profile-page .profile-summary-contact dt,
.profile-page .profile-summary-grid dt {
  color: #899891;
  font-size: .62rem;
  letter-spacing: .05em;
}
.profile-page .profile-summary-contact dd {
  color: #29483d;
  font-size: .8rem;
  font-weight: 600;
}
.profile-page .profile-summary-identity .button {
  width: auto;
  min-height: 38px;
  padding-inline: 15px;
  border-radius: 8px;
  box-shadow: none;
  font-size: .75rem;
}
.profile-page .profile-summary-section {
  margin-bottom: 34px;
  padding-bottom: 28px;
  border-bottom: 1px solid #edf2ef;
}
.profile-page .profile-summary-section-heading {
  gap: 0;
  margin-bottom: 17px;
}
.profile-page .profile-summary-section-heading h3 {
  color: #29483d;
  font-size: .9rem;
  font-weight: 800;
}
.profile-page .profile-summary-section-heading p { color: #8a9992; font-size: .74rem; }
.profile-page .profile-summary-index { display: none; }
.profile-page .profile-summary-grid {
  display: grid;
  gap: 0;
  background: transparent;
}
.profile-page .profile-summary-grid > div {
  display: grid;
  grid-template-columns: minmax(135px, .65fr) minmax(0, 1.35fr);
  align-items: baseline;
  gap: 18px;
  padding: 12px 10px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #f0f4f1;
  border-radius: 0;
}
.profile-page .profile-summary-grid > div:last-child { border-bottom: 0; }
.profile-page .profile-summary-grid dt { margin: 0; text-transform: none; }
.profile-page .profile-summary-grid dd { color: #29483d; font-size: .82rem; font-weight: 650; }
.profile-page .profile-summary-attachments {
  padding: 0 0 2px;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.profile-page .profile-summary-attachments .profile-summary-section-heading { margin-bottom: 8px; }
.profile-page .profile-attachments-list {
  display: grid;
  gap: 0;
}
.profile-page .profile-attachments-list > div {
  display: flex;
  padding: 11px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #f0f4f1;
  border-radius: 0;
  color: #71827c;
  font-size: .76rem;
}
.profile-page .profile-attachments-list > div:last-child { border-bottom: 0; }
.profile-page .profile-attachments-list strong { color: #007a5c; font-size: .72rem; font-weight: 700; }
.profile-page .profile-summary-footer {
  margin-top: 32px;
  padding-top: 17px;
  color: #8a9992;
  border-top: 1px solid #edf2ef;
  font-size: .72rem;
}
.profile-page .profile-summary-footer strong { color: #007a5c; }
@media (max-width: 700px) {
  .profile-page .profile-details { padding: 25px 20px; }
  .profile-page .profile-summary-layout { gap: 32px; }
  .profile-page .profile-summary-identity {
    display: block;
    padding-bottom: 28px;
    border-bottom: 1px solid #edf2ef;
  }
  .profile-page .profile-summary-avatar { margin-bottom: 16px; }
  .profile-page .profile-summary-grid > div { grid-template-columns: 1fr; gap: 3px; }
}
*/

@media (max-width: 460px) {
  .profile-header .brand strong {
    font-size: 1.35rem;
  }

  .profile-header .brand-mark {
    width: 34px;
    height: 34px;
  }

  .profile-logout {
    min-height: 32px !important;
    padding-inline: 10px !important;
    font-size: 0.72rem !important;
  }

  .profile-panel {
    padding: 17px 14px;
  }

  .panel-heading h2 {
    font-size: 1.35rem;
  }

  .panel-subtitle {
    font-size: 0.8rem;
  }

  .item-card {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .item-visual {
    width: 40px;
    height: 40px;
  }

  .item-visual svg {
    width: 22px;
    height: 22px;
  }

  .item-card h3 {
    font-size: 0.92rem;
  }

  .item-card p {
    font-size: 0.7rem;
  }

  .item-actions {
    grid-column: 1 / -1;
  }

  .profile-form,
  .verify-fields {
    gap: 12px;
  }
}

/* Landing page phone treatment */
@media (max-width: 680px) {
  html,
  body:not(.auth-page) {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  body:not(.auth-page) main,
  body:not(.auth-page) main > section,
  body:not(.auth-page) .site-header,
  body:not(.auth-page) .site-footer {
    max-width: 100%;
  }

  body:not(.auth-page) .reveal[data-reveal-direction="left"],
  body:not(.auth-page) .reveal[data-reveal-direction="right"] {
    transform: translate3d(0, 18px, 0);
  }

  body:not(.auth-page) .section-inner {
    width: min(100% - 28px, var(--container));
  }

  body:not(.auth-page) .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 62px;
    padding: 8px 14px;
  }

  body:not(.auth-page) .brand {
    gap: 9px;
  }

  body:not(.auth-page) .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }

  body:not(.auth-page) .brand-mark svg {
    width: 29px;
    height: 29px;
  }

  body:not(.auth-page) .brand strong {
    font-size: 1.34rem;
  }

  body:not(.auth-page) .brand small {
    display: none;
  }

  body:not(.auth-page) .nav-toggle {
    width: 44px;
    height: 44px;
  }

  body.nav-open:not(.auth-page) .main-nav,
  body.nav-open:not(.auth-page) .header-actions {
    left: 10px;
    right: 10px;
  }

  body.nav-open:not(.auth-page) .main-nav {
    top: 70px;
    padding: 8px;
    border-radius: 14px 14px 0 0;
  }

  body.nav-open:not(.auth-page) .main-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 12px 14px;
  }

  body.nav-open:not(.auth-page) .header-actions {
    top: 280px;
    padding: 10px;
    border-radius: 0 0 14px 14px;
  }

  body.nav-open:not(.auth-page) .header-actions .button,
  body.nav-open:not(.auth-page) .language {
    min-height: 46px;
  }

  body:not(.auth-page) .hero {
    min-height: auto;
    gap: 30px;
    padding: 48px 14px 52px;
  }

  body:not(.auth-page) .hero-copy {
    width: 100%;
  }

  body:not(.auth-page) .hero-copy > h1 {
    max-width: 10ch;
    font-size: clamp(2.65rem, 12vw, 3.65rem);
    line-height: 0.99;
  }

  body:not(.auth-page) .hero-copy > p {
    max-width: 42rem;
    margin-top: 22px;
    font-size: 1rem;
    line-height: 1.64;
  }

  body:not(.auth-page) .hero-actions {
    gap: 10px;
    margin-top: 24px;
  }

  body:not(.auth-page) .hero-actions .button {
    width: 100%;
    min-height: 54px;
    padding-inline: 18px;
  }

  body:not(.auth-page) .hero-visual {
    width: 100%;
    margin: 0;
    overflow: hidden;
    border-radius: 16px;
    background: #e8f4ee;
  }

  body:not(.auth-page) .hero-visual img {
    width: 100%;
    height: auto;
    max-width: 100%;
    aspect-ratio: auto;
    margin: 0;
    object-fit: contain;
    object-position: center;
    border-radius: 16px;
  }

  body:not(.auth-page) .steps-section,
  body:not(.auth-page) .why-section,
  body:not(.auth-page) .faq-section,
  body:not(.auth-page) .verify-section {
    padding-block: 58px;
  }

  body:not(.auth-page) h2 {
    max-width: 17ch;
    margin-bottom: 26px;
    font-size: clamp(1.9rem, 9vw, 2.45rem);
    line-height: 1.06;
  }

  body:not(.auth-page) .steps-grid,
  body:not(.auth-page) .benefits-grid,
  body:not(.auth-page) .faq-grid {
    grid-template-columns: 1fr;
  }

  body:not(.auth-page) .steps-grid {
    gap: 18px;
  }

  body:not(.auth-page) .step-card {
    min-height: 164px;
    padding: 24px 22px;
  }

  body:not(.auth-page) .step-card:not(:last-child)::after {
    bottom: -24px;
  }

  body:not(.auth-page) .benefits-grid {
    gap: 12px;
  }

  body:not(.auth-page) .benefits-grid p {
    min-height: auto;
    padding: 18px;
  }

  body:not(.auth-page) .verify-section h2 {
    max-width: 16ch;
  }

  body:not(.auth-page) .verify-form {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 32px 10px 10px;
  }

  body:not(.auth-page) .search-box,
  body:not(.auth-page) .verify-form .button {
    min-height: 56px;
  }

  body:not(.auth-page) .search-box {
    padding-inline: 14px;
  }

  body:not(.auth-page) .search-box input {
    font-size: 0.98rem;
  }

  body:not(.auth-page) .process-row {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 26px;
  }

  body:not(.auth-page) .process-row i {
    height: 12px;
  }

  body:not(.auth-page) .process-item {
    gap: 10px;
  }

  body:not(.auth-page) .process-item span {
    width: 68px;
    height: 68px;
  }

  body:not(.auth-page) .process-item strong {
    max-width: 220px;
    font-size: 0.95rem;
  }

  body:not(.auth-page) .lost-banner {
    padding-bottom: 58px;
  }

  body:not(.auth-page) .lost-inner {
    min-height: 260px;
    padding: 28px 22px;
    text-align: center;
  }

  body:not(.auth-page) .lost-content {
    justify-items: center;
    width: 100%;
    max-width: none;
  }

  body:not(.auth-page) .lost-inner h2 {
    max-width: none;
  }

  body:not(.auth-page) .lost-inner p {
    max-width: 22rem;
    font-size: 1rem;
  }

  body:not(.auth-page) .lost-inner .button {
    min-height: 52px;
  }

  body:not(.auth-page) .faq-section {
    padding-bottom: 44px;
  }

  body:not(.auth-page) details summary {
    min-height: 56px;
    align-items: center;
    padding: 14px 16px;
    font-size: 0.95rem;
  }

  body:not(.auth-page) details p {
    padding: 0 16px 16px;
    font-size: 0.95rem;
  }

  body:not(.auth-page) .bottom-cta {
    padding-bottom: 18px;
  }

  body:not(.auth-page) .bottom-cta .section-inner {
    gap: 18px;
    padding: 28px 20px;
  }

  body:not(.auth-page) .bottom-cta h2 {
    max-width: 15ch;
    margin-inline: auto;
    font-size: 1.75rem;
  }

  body:not(.auth-page) .bottom-cta p {
    font-size: 0.96rem;
    line-height: 1.5;
  }

  body:not(.auth-page) .bottom-cta .button {
    width: 100%;
    min-height: 54px;
  }

  body:not(.auth-page) .site-footer {
    padding-bottom: 10px;
  }

  body:not(.auth-page) .footer-inner {
    gap: 8px;
    padding-block: 16px;
    text-align: center;
  }

  body:not(.auth-page) .socials,
  body:not(.auth-page) .legal,
  body:not(.auth-page) .copyright {
    justify-content: center;
  }
}

/* Profile details refinement: a quiet account record, with clear reading order. */
.profile-page {
  background:
    radial-gradient(circle at 88% 8%, rgba(0, 122, 92, 0.09), transparent 25rem),
    #f5f8f6;
}

.profile-page .profile-header {
  background: rgba(245, 248, 246, 0.92);
  border-bottom: 1px solid rgba(207, 220, 214, 0.78);
  backdrop-filter: blur(18px);
}

.profile-page .profile-shell {
  width: min(100% - 40px, 1120px);
  padding: 38px 0 80px;
}

.profile-page .profile-hero {
  min-height: 194px;
  padding: 32px 38px;
  background:
    linear-gradient(115deg, rgba(0, 79, 63, 0.98), rgba(0, 122, 92, 0.91)),
    #005840;
  border-radius: 20px;
  box-shadow: 0 20px 44px rgba(0, 79, 63, 0.15);
}

.profile-page .profile-hero::before {
  background: radial-gradient(circle at 85% 18%, rgba(255,255,255,.16), transparent 13rem);
}

.profile-page .profile-hero h1,
.profile-page .profile-hero p,
.profile-page .profile-hero .eyebrow {
  color: #f5fbf8;
}

.profile-page .profile-hero p {
  max-width: 560px;
  margin-top: 10px;
  margin-bottom: 0;
  color: rgba(245, 251, 248, .74);
}

.profile-page .profile-hero .eyebrow {
  color: #a8dfc7;
}

.profile-page .profile-hero-side {
  align-self: end;
}

.profile-page .profile-details {
  margin-top: 22px;
  padding: 34px 38px 38px;
  background: #fbfdfc;
  border-color: #dce7e1;
  border-radius: 20px;
  box-shadow: 0 16px 38px rgba(16, 52, 40, 0.07);
}

.profile-page .profile-details-heading {
  margin-bottom: 28px;
  padding-bottom: 23px;
  border-bottom: 1px solid #e4ece8;
}

.profile-page .profile-details-heading h2 {
  margin-bottom: 5px;
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  letter-spacing: -.04em;
}

.profile-page .profile-details-heading p:not(.eyebrow) {
  color: #71807a;
}

.profile-page .profile-details-summary {
  display: grid;
  gap: 30px;
}

.profile-summary-section {
  display: grid;
  gap: 17px;
}

.profile-summary-section-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.profile-summary-index {
  display: inline-grid;
  place-items: center;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  color: #007a5c;
  background: #e4f2eb;
  border-radius: 7px;
  font-family: var(--font-display);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .03em;
}

.profile-summary-section-heading h3 {
  margin: 1px 0 2px;
  color: #1e302a;
  font-family: var(--font-display);
  font-size: .98rem;
  font-weight: 800;
  letter-spacing: -.015em;
}

.profile-summary-section-heading p {
  margin: 0;
  color: #7a8882;
  font-size: .82rem;
}

.profile-page .profile-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  overflow: hidden;
  background: #dfe9e4;
  border: 1px solid #dfe9e4;
  border-radius: 12px;
}

.profile-page .profile-summary-grid > div {
  min-height: 72px;
  padding: 13px 16px 12px;
  background: #f7faf8;
}

.profile-page .profile-summary-grid dt {
  margin-bottom: 6px;
  color: #788680;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.profile-page .profile-summary-grid dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #20332d;
  font-family: var(--font-display);
  font-size: .98rem;
  font-weight: 750;
}

.profile-page .profile-summary-grid dd[data-profile-summary="identityDocument"],
.profile-page .profile-summary-grid dd[data-profile-summary="identityPhoto"] {
  color: #007a5c;
}

.profile-summary-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 17px;
  color: #64736d;
  background: #edf6f1;
  border: 1px solid #d9eae1;
  border-radius: 11px;
  font-size: .84rem;
}

.profile-summary-footer strong {
  color: #007a5c;
  font-family: var(--font-display);
  font-size: .82rem;
}

.profile-page .profile-details-form {
  padding-top: 2px;
}

.profile-page .profile-details-form fieldset {
  padding: 21px;
  background: #f6faf8;
  border-color: #dfe9e4;
  border-radius: 13px;
}

.profile-page .profile-details-form legend {
  padding: 0 8px;
  color: #1d4d3f;
  font-size: .75rem;
  letter-spacing: .07em;
}

@media (max-width: 760px) {
  .profile-page .profile-shell {
    width: min(100% - 24px, 620px);
    padding-top: 18px;
  }

  .profile-page .profile-hero {
    min-height: 0;
    padding: 25px 22px;
  }

  .profile-page .profile-hero-side {
    margin-top: 22px;
  }

  .profile-page .profile-details {
    padding: 25px 18px 26px;
  }

  .profile-page .profile-summary-grid,
  .profile-page .profile-summary-grid-location {
    grid-template-columns: 1fr;
  }

  .profile-summary-section-heading p {
    line-height: 1.35;
  }
}

/* SafeBem profile refresh: a calm, premium account space with an unmistakable green signal. */
.profile-page {
  --profile-ink: #123b32;
  --profile-muted: #6b8178;
  --profile-wash: #f2f8f4;
  --profile-line: #dbe9e1;
  min-height: 100dvh;
  background:
    radial-gradient(circle at 90% 8%, rgba(89, 188, 139, .12), transparent 24rem),
    #f4f8f5;
}

.profile-page .profile-header {
  min-height: 62px;
  padding: 8px clamp(16px, 4vw, 56px);
  background: rgba(252, 255, 253, .94);
  border-bottom: 1px solid rgba(0, 79, 63, .10);
  box-shadow: 0 5px 22px rgba(14, 65, 47, .04);
}

.profile-page .profile-header .brand {
  gap: 9px;
}

.profile-page .profile-header .brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: 0 7px 16px rgba(0, 79, 63, .16);
}

.profile-page .profile-header .brand-mark svg {
  width: 27px;
  height: 27px;
}

.profile-page .profile-header .brand strong {
  font-size: 1.35rem;
}

.profile-page .profile-header .brand small {
  display: none;
}

.profile-page .profile-header nav {
  gap: clamp(10px, 1.8vw, 22px);
}

.profile-page .profile-nav-link {
  padding: 9px 0;
  font-size: .78rem;
  font-weight: 700;
}

.profile-page .profile-user {
  padding-left: 12px;
  font-size: .78rem;
}

.profile-page .profile-user-avatar {
  width: 29px;
  height: 29px;
  background: #0b624c;
}

.profile-page .profile-logout {
  min-height: 32px !important;
  padding-inline: 12px !important;
  border-radius: 8px;
  font-size: .74rem;
}

.profile-page .profile-shell {
  width: min(1080px, calc(100% - clamp(56px, 10vw, 144px)));
  padding: 28px 0 52px;
}

.profile-page .profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  min-height: 172px;
  margin-bottom: 22px;
  padding: 30px clamp(22px, 4vw, 46px);
  border-radius: 20px;
  background:
    radial-gradient(circle at 80% 20%, rgba(166, 247, 207, .26), transparent 15rem),
    linear-gradient(117deg, #063f34 0%, #087154 63%, #0c8c69 100%);
  box-shadow: 0 18px 42px rgba(0, 79, 63, .18);
}

.profile-page .profile-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .17;
  background-image: radial-gradient(rgba(255,255,255,.8) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: linear-gradient(90deg, transparent, #000 65%);
  pointer-events: none;
}

.profile-page .profile-hero::after {
  right: -3rem;
  bottom: -7rem;
  width: 22rem;
  height: 22rem;
}

.profile-page .profile-hero h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  letter-spacing: -.055em;
}

.profile-page .profile-hero p {
  max-width: 40rem;
  font-size: .96rem;
}

.profile-page .profile-hero-side {
  align-content: center;
  gap: 13px;
}

.profile-page .profile-verified {
  font-size: .76rem;
}

.profile-page .profile-hero .button-light {
  min-height: 42px;
  padding-inline: 18px;
  border-radius: 9px;
  font-size: .78rem;
}

.profile-page .profile-grid {
  display: grid;
  grid-template-columns: 226px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.profile-page .profile-card {
  position: sticky;
  top: 82px;
  padding: 18px;
  border: 1px solid var(--profile-line);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(16, 65, 47, .06);
}

.profile-page .avatar {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(145deg, #0a8361, #064736);
}

.profile-page .profile-card h2 {
  font-size: .98rem;
}

.profile-page .profile-account-status {
  margin: 17px 0 14px;
  padding: 10px;
  background: #eff9f3;
  border-color: #d3eddf;
}

.profile-page .profile-card dl {
  margin-bottom: 16px;
}

.profile-page .profile-side-nav {
  gap: 2px;
  padding-top: 12px;
  border-top-color: var(--profile-line);
}

.profile-page .profile-side-nav a {
  padding: 8px 9px;
  border-radius: 8px;
  font-size: .73rem;
}

.profile-page .profile-side-nav a:hover,
.profile-page .profile-side-nav a.is-current {
  color: #075b46;
  background: #edf7f1;
}

.profile-page .profile-stack {
  gap: 16px;
}

.profile-page .profile-panel {
  padding: clamp(18px, 2.5vw, 26px);
  border: 1px solid var(--profile-line);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(16, 65, 47, .045);
}

.profile-page .items-panel {
  scroll-margin-top: 82px;
}

.profile-page .panel-heading {
  margin-bottom: 18px;
}

.profile-page .panel-heading h2 {
  margin-bottom: 4px;
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
}

.profile-page .panel-subtitle,
.profile-page .panel-note {
  color: var(--profile-muted);
  font-size: .82rem;
}

.profile-page .items-toolbar {
  margin-bottom: 12px;
  padding: 4px;
  background: #f1f7f3;
  border-color: #e1eee7;
  border-radius: 9px;
}

.profile-page .item-filter {
  min-height: 32px;
  font-size: .72rem;
}

.profile-page .item-filter.is-active {
  color: #075b46;
  background: #fff;
  box-shadow: 0 3px 10px rgba(16, 65, 47, .08);
}

.profile-page .item-search {
  width: 170px;
  background: rgba(255,255,255,.82);
}

.profile-page .items-list {
  display: grid;
  gap: 8px;
}

.profile-page .item-card {
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 13px;
  padding: 12px;
  border-color: #e0ebe5;
  border-radius: 12px;
  background: #fcfefd;
}

.profile-page .item-card:hover {
  border-color: rgba(0, 122, 92, .3);
  box-shadow: 0 10px 24px rgba(0, 79, 63, .08);
  transform: translateY(-2px);
}

.profile-page .item-visual {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #e9f6ef;
}

.profile-page .item-card h3 {
  font-size: .94rem;
}

.profile-page .item-card p {
  font-size: .74rem;
}

.profile-page .item-actions .button {
  min-height: 32px;
  border-radius: 7px;
  font-size: .7rem;
}

.profile-page .profile-footer {
  padding: 16px clamp(16px, 4vw, 56px);
  color: #7b9187;
  background: #f8fbf9;
  border-top: 1px solid var(--profile-line);
  font-size: .72rem;
}

.profile-page .profile-footer-inner {
  width: min(1140px, 100%);
}

@media (max-width: 760px) {
  .profile-page .profile-header {
    padding-inline: 14px;
  }
  .profile-page .profile-nav-link,
  .profile-page .profile-user-name {
    display: none;
  }
  .profile-page .profile-user {
    padding-left: 0;
    border-left: 0;
  }
  .profile-page .profile-shell {
    width: min(100% - 24px, 620px);
    padding-top: 16px;
  }
  .profile-page .profile-hero {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: 0;
    padding: 24px 20px;
  }
  .profile-page .profile-hero-side {
    justify-items: start;
  }
  .profile-page .profile-grid {
    grid-template-columns: 1fr;
  }
  .profile-page .profile-card {
    position: static;
  }
  .profile-page .profile-card dl {
    grid-template-columns: repeat(3, 1fr);
  }
  .profile-page .profile-side-nav {
    display: flex;
    overflow-x: auto;
  }
  .profile-page .items-toolbar {
    display: grid;
    gap: 7px;
  }
  .profile-page .item-search {
    width: 100%;
  }
  .profile-page .item-card {
    grid-template-columns: 44px minmax(0, 1fr);
  }
  .profile-page .item-visual {
    width: 44px;
    height: 44px;
  }
  .profile-page .item-card > .status-pill,
  .profile-page .item-actions {
    grid-column: 1 / -1;
  }
  .profile-page .item-card > .status-pill {
    display: none;
  }
  .profile-page .item-actions {
    justify-content: stretch;
  }
  .profile-page .item-actions .button {
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .profile-page *,
  .profile-page *::before,
  .profile-page *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

.profile-page .profile-details {
  margin-bottom: 24px;
  padding: clamp(24px, 4vw, 38px);
  background: #fff;
  border: 1px solid #dbe9e1;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(16, 65, 47, .06);
}

.profile-page .profile-details:not(.is-visible):not(:target) {
  display: none;
}

.profile-page.is-showing-profile .profile-hero,
.profile-page.is-showing-profile .item-registration,
.profile-page.is-showing-profile .profile-grid {
  display: none !important;
}

.profile-page:has(#profile-details:target) .profile-hero,
.profile-page:has(#profile-details:target) .item-registration,
.profile-page:has(#profile-details:target) .profile-grid {
  display: none !important;
}

.profile-details-form[hidden],
.profile-details-summary[hidden],
.js-edit-profile[hidden],
.profile-summary-grid > div[hidden] {
  display: none !important;
}

.profile-details-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.profile-details-heading .eyebrow {
  margin: 0 0 7px;
  color: var(--green);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.profile-details-heading h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.profile-details-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: .86rem;
}

.profile-details-form {
  display: grid;
  gap: 24px;
}

.profile-details-summary {
  padding-top: 4px;
}

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

.profile-summary-grid > div {
  min-width: 0;
  padding: 15px 16px;
  background: #f6faf8;
  border: 1px solid #e0ece6;
  border-radius: 9px;
}

.profile-summary-grid dt {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.profile-summary-grid dd {
  overflow-wrap: anywhere;
  margin: 0;
  color: var(--ink);
  font-size: .84rem;
  font-weight: 750;
}

.profile-details-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.profile-details-form legend {
  margin-bottom: 13px;
  color: var(--green-dark);
  font-family: var(--font-display);
  font-size: .94rem;
  font-weight: 850;
}

.profile-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px 18px;
}

.profile-details-form label:not(.check-row) {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: #405149;
  font-size: .76rem;
  font-weight: 750;
}

.profile-details-form label b {
  color: var(--danger);
}

.profile-details-form input,
.profile-details-form select {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  color: var(--ink);
  background: #fbfdfc;
  border: 1px solid #d2e1d9;
  border-radius: 7px;
  font-size: .78rem;
}

.profile-details-form input:focus,
.profile-details-form select:focus {
  outline: 0;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(0, 122, 92, .11);
}

.profile-phone-input {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-height: 42px;
  overflow: hidden;
  background: #fbfdfc;
  border: 1px solid #d2e1d9;
  border-radius: 7px;
}

.profile-phone-input:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(0, 122, 92, .11);
}

.profile-phone-input .phone-prefix {
  padding-left: 11px;
  color: var(--green-dark);
  font-size: .78rem;
  font-weight: 850;
}

.profile-phone-input input {
  min-height: 40px;
  padding-left: 8px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.profile-file-field small {
  min-height: 17px;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 500;
}

.profile-file-field small.is-received {
  color: var(--green);
}

.profile-terms-row {
  margin-top: 0;
  font-size: .78rem;
}

.profile-terms-row a {
  color: var(--green-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.profile-details-message {
  min-height: 20px;
  margin: 0;
  font-size: .78rem;
}

.profile-details-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.profile-details-actions .button {
  min-height: 42px;
}

@media (max-width: 760px) {
  .profile-page .profile-details {
    padding: 24px 18px;
  }

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

  .profile-details-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile-summary-grid {
    grid-template-columns: 1fr;
  }

  .profile-details-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

/* Editorial mobile hero: intentionally composed, never just a shrunk desktop. */
@media (max-width: 680px) {
  body:not(.auth-page) .hero {
    display: block;
    padding: 52px 16px 58px;
    background:
      radial-gradient(circle at 84% 28%, rgba(0, 122, 92, 0.14), transparent 15rem),
      linear-gradient(180deg, #f1faf5 0%, #e8f4ee 100%);
  }

  body:not(.auth-page) .hero::after {
    height: 42px;
    background: linear-gradient(180deg, rgba(232, 244, 238, 0), #e8f4ee 92%);
  }

  body:not(.auth-page) .hero-copy {
    max-width: 34rem;
    margin-inline: auto;
  }

  body:not(.auth-page) .hero-copy > h1 {
    max-width: none;
    margin-inline: auto;
    font-size: clamp(2.35rem, 11.2vw, 3.35rem);
    line-height: 0.99;
    letter-spacing: -0.045em;
  }

  body:not(.auth-page) .hero-copy > h1 span {
    white-space: normal;
  }

  body:not(.auth-page) .hero-copy > p {
    max-width: 34ch;
    margin: 24px auto 0;
    font-size: 1rem;
    line-height: 1.68;
  }

  body:not(.auth-page) .hero-actions {
    display: grid;
    gap: 11px;
    margin: 27px auto 0;
  }

  body:not(.auth-page) .hero-actions .button {
    width: 100%;
    min-height: 56px;
    padding-inline: 20px;
    border-radius: 12px;
  }

  body:not(.auth-page) .hero-actions .button-primary {
    box-shadow: 0 13px 26px rgba(0, 79, 63, 0.2);
  }

  body:not(.auth-page) .hero-actions .button-outline {
    color: var(--green-dark);
    background: rgba(255, 255, 255, 0.48);
    border-color: rgba(0, 79, 63, 0.24);
    box-shadow: none;
  }

  body:not(.auth-page) .hero-visual {
    width: 100%;
    height: auto;
    margin: 38px auto 0;
    aspect-ratio: 4 / 3;
    border: 1px solid rgba(0, 79, 63, 0.13);
    border-radius: 18px;
    background:
      radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.56), transparent 58%),
      #dcefe6;
    box-shadow:
      0 20px 42px rgba(0, 79, 63, 0.14),
      inset 0 1px 0 rgba(255, 255, 255, 0.72);
  }

  body:not(.auth-page) .hero-visual img {
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: 54% center;
    border-radius: 17px;
    filter: saturate(1.08) contrast(1.03);
    transform: none;
  }
}

/* Immersive mobile hero: the image becomes the page's first atmosphere. */
@media (max-width: 680px) {
  body:not(.auth-page) .site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    color: #fff;
    background: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
  }

  body:not(.auth-page) .site-header .brand strong,
  body:not(.auth-page) .site-header .brand small {
    color: #fff;
  }

  body:not(.auth-page) .site-header .brand strong span {
    color: #bde8d5;
  }

  body:not(.auth-page) .site-header .nav-toggle {
    color: #fff;
    background: rgba(0, 50, 40, 0.42);
    border-color: rgba(255, 255, 255, 0.34);
    box-shadow: 0 8px 18px rgba(0, 35, 25, 0.16);
  }

  body:not(.auth-page) .site-header .nav-toggle span {
    background: #fff;
  }

  body:not(.auth-page) .hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: min(820px, 100svh);
    padding: 124px 16px 52px;
    isolation: isolate;
    overflow: hidden;
    background: #073d32;
  }

  body:not(.auth-page) .hero::before {
    display: block;
    inset: 0;
    z-index: 2;
    background:
      linear-gradient(180deg, rgba(0, 35, 28, 0.62) 0%, rgba(0, 44, 35, 0.2) 35%, rgba(0, 35, 28, 0.78) 100%),
      linear-gradient(90deg, rgba(0, 35, 28, 0.46), transparent 66%);
  }

  body:not(.auth-page) .hero::after {
    display: none;
  }

  body:not(.auth-page) .hero-visual {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: auto;
    height: auto;
    margin: 0;
    aspect-ratio: auto;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: #073d32;
    box-shadow: none;
  }

  body:not(.auth-page) .hero-visual::before,
  body:not(.auth-page) .hero-visual::after {
    display: none;
  }

  body:not(.auth-page) .hero-visual img {
    width: 100%;
    height: 100%;
    max-width: none;
    border-radius: 0;
    object-fit: cover;
    object-position: 56% center;
    filter: saturate(1.04) contrast(1.04) brightness(0.82);
  }

  body:not(.auth-page) .hero-copy {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 35rem;
    margin: 0 auto;
  }

  body:not(.auth-page) .hero-copy > h1 {
    max-width: 12ch;
    margin: 0;
    color: #fff;
    font-size: clamp(2.55rem, 12vw, 3.7rem);
    font-weight: 750;
    line-height: 0.98;
    letter-spacing: -0.045em;
    text-wrap: balance;
  }

  body:not(.auth-page) .hero-copy > h1 span,
  body:not(.auth-page) .hero-copy > h1 .title-line {
    color: #fff;
    white-space: normal;
  }

  body:not(.auth-page) .hero-copy > p {
    max-width: 35ch;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
    line-height: 1.62;
  }

  body:not(.auth-page) .hero-actions {
    display: grid;
    gap: 11px;
    width: 100%;
    margin: 28px 0 0;
  }

  body:not(.auth-page) .hero-actions .button {
    width: 100%;
    min-height: 58px;
    border-radius: 12px;
    font-size: 0.98rem;
  }

  body:not(.auth-page) .hero-actions .button-primary {
    color: #fff;
    background: var(--green);
    border-color: var(--green);
    box-shadow: 0 14px 28px rgba(0, 30, 23, 0.28);
  }

  body:not(.auth-page) .hero-actions .button-outline {
    color: var(--green-dark);
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 22px rgba(0, 30, 23, 0.16);
  }

  body.nav-open:not(.auth-page) .main-nav,
  body.nav-open:not(.auth-page) .header-actions {
    color: var(--ink-2);
    background: rgba(255, 255, 255, 0.98);
    border-color: var(--line);
  }

  body.nav-open:not(.auth-page) .main-nav a {
    color: var(--ink-2);
  }

  body.nav-open:not(.auth-page) .header-actions .button-primary {
    color: #fff;
    background: var(--green-dark);
  }
}

/* Compact mobile verification flow after the immersive hero. */
@media (max-width: 680px) {
  body:not(.auth-page) .verify-section {
    padding: 58px 0 62px;
    background:
      radial-gradient(circle at 100% 0%, rgba(0, 122, 92, 0.1), transparent 16rem),
      linear-gradient(180deg, #f4faf7 0%, #eaf5ef 100%);
  }

  body:not(.auth-page) .verify-section h2 {
    max-width: 18ch;
    margin-bottom: 26px;
    font-size: clamp(1.9rem, 9vw, 2.45rem);
    line-height: 1.05;
  }

  body:not(.auth-page) .verify-section h2::before {
    content: "VERIFICAÇÃO RÁPIDA";
    display: block;
    margin-bottom: 12px;
    color: var(--green);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1;
  }

  body:not(.auth-page) .verify-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: none;
    padding: 35px 10px 10px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(0, 79, 63, 0.1);
    border-radius: 16px;
    box-shadow: 0 16px 34px rgba(0, 79, 63, 0.08);
  }

  body:not(.auth-page) .verify-form .form-label {
    top: 12px;
    left: 16px;
    color: var(--green-dark);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }

  body:not(.auth-page) .search-box {
    min-height: 58px;
    padding: 0 15px;
    background: #f4f9f6;
    border: 1px solid rgba(0, 79, 63, 0.12);
    border-radius: 11px;
  }

  body:not(.auth-page) .search-box svg {
    width: 24px;
    height: 24px;
    margin-right: 11px;
    color: var(--green-dark);
  }

  body:not(.auth-page) .search-box input {
    min-width: 0;
    font-size: 0.98rem;
  }

  body:not(.auth-page) .search-box:focus-within {
    background: #fff;
    border-color: rgba(0, 122, 92, 0.54);
    box-shadow: 0 0 0 4px rgba(0, 122, 92, 0.1);
  }

  body:not(.auth-page) .verify-form .button {
    width: 100%;
    min-height: 56px;
    border-radius: 11px;
  }

  body:not(.auth-page) .form-message {
    min-height: 38px;
    margin: 5px 4px 0;
    font-size: 0.9rem;
    line-height: 1.45;
  }

  body:not(.auth-page) .process-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    width: 100%;
    margin-top: 24px;
  }

  body:not(.auth-page) .process-item {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    justify-items: start;
    min-height: 76px;
    padding: 12px 14px;
    color: var(--ink-2);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 79, 63, 0.1);
    border-radius: 13px;
    text-align: left;
  }

  body:not(.auth-page) .process-item span {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    color: var(--green-dark);
    background: #e4f3eb;
    border-color: rgba(0, 122, 92, 0.16);
    box-shadow: none;
  }

  body:not(.auth-page) .process-item span::after {
    inset: -4px;
    border-color: rgba(0, 122, 92, 0.16);
  }

  body:not(.auth-page) .process-item strong {
    max-width: none;
    padding-right: 4px;
    font-size: 0.96rem;
    line-height: 1.3;
  }

  body:not(.auth-page) .process-row i {
    display: block;
    justify-self: start;
    width: 2px;
    height: 18px;
    margin: 0 0 0 37px;
    background: rgba(0, 122, 92, 0.25);
    border-radius: 2px;
    transform: none;
  }

  body:not(.auth-page) .process-row i::before {
    display: none;
    content: none;
  }
}

@media (max-width: 560px) {
  .auth-page {
    background:
      radial-gradient(circle at 100% 0%, rgba(0, 122, 92, 0.12), transparent 18rem),
      #edf7f1;
  }

  .auth-shell,
  .auth-shell-wide {
    width: min(100% - 28px, 520px);
    padding-top: 100px;
    padding-bottom: 32px;
  }

  .auth-brand {
    top: 22px;
  }

  .auth-brand small {
    display: none;
  }

  .auth-aside {
    padding-bottom: 18px;
  }

  .auth-aside h2 {
    margin-bottom: 12px;
    font-size: 2rem;
  }

  .auth-aside > p:not(.eyebrow) {
    font-size: 0.98rem;
  }

  .auth-trust-list {
    display: none;
  }

  .auth-card {
    padding: 30px 22px 26px;
    border-radius: 18px;
  }

  .auth-card::before {
    left: 24px;
  }

  .auth-card h1 {
    font-size: 2.25rem;
  }

  .auth-card > p:not(.eyebrow):not(.auth-switch) {
    margin-bottom: 26px;
  }

  .form-row {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .form-row a {
    margin-left: 25px;
  }
}

/* Keep the auth layout authoritative over legacy shared responsive rules. */
@media (max-width: 900px) {
  .auth-shell,
  .auth-shell-wide {
    place-items: stretch;
    align-items: center;
  }

  .auth-brand {
    position: absolute;
    margin: 0;
    justify-self: auto;
  }
}

/* Keep the account reading view above the shared dashboard defaults. */
.profile-page .profile-details {
  margin-top: 22px;
  padding: 34px 38px 38px;
  background: #fbfdfc;
  border-color: #dce7e1;
  border-radius: 20px;
  box-shadow: 0 16px 38px rgba(16, 52, 40, 0.07);
}

.profile-page .profile-details-heading {
  margin-bottom: 28px;
  padding-bottom: 23px;
  border-bottom: 1px solid #e4ece8;
}

.profile-page .profile-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  overflow: hidden;
  background: #dfe9e4;
  border: 1px solid #dfe9e4;
  border-radius: 12px;
}

.profile-page .profile-summary-grid > div {
  min-height: 72px;
  padding: 13px 16px 12px;
  background: #f7faf8;
}

.profile-page .profile-summary-grid dt {
  margin-bottom: 6px;
  color: #788680;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.profile-page .profile-summary-grid dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #20332d;
  font-family: var(--font-display);
  font-size: .98rem;
  font-weight: 750;
}

.profile-page .profile-details-form fieldset {
  padding: 21px;
  background: #f6faf8;
  border-color: #dfe9e4;
  border-radius: 13px;
}

@media (max-width: 760px) {
  .profile-page .profile-details {
    padding: 25px 18px 26px;
  }

  .profile-page .profile-summary-grid {
    grid-template-columns: 1fr;
  }
}

/* Legal documents */
.legal-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 12%, rgba(0, 122, 92, 0.12), transparent 28rem),
    linear-gradient(180deg, #f1faf5 0%, #f8fbf9 42%, #eef6f1 100%);
}

.legal-shell {
  position: relative;
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 94px 0 64px;
}

.legal-back {
  position: absolute;
  top: 26px;
  left: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #5b8175;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(0, 122, 92, 0.14);
  border-radius: 50%;
  transition: transform 180ms var(--ease), background 180ms var(--ease);
}

.legal-back:hover {
  transform: translateX(-2px);
  background: #fff;
}

.legal-back svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.legal-header {
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
}

.legal-header .eyebrow,
.legal-document .eyebrow {
  margin-bottom: 12px;
  color: var(--green-dark);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.legal-header h1 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  letter-spacing: -.045em;
}

.legal-header > p:not(.eyebrow) {
  max-width: 580px;
  margin: 0 auto;
  color: #526c64;
  font-size: .95rem;
  line-height: 1.65;
}

.legal-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.legal-nav a,
.legal-footer a {
  color: var(--green-dark);
  font-weight: 800;
  text-decoration: none;
}

.legal-nav a {
  padding: 10px 15px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(0, 122, 92, .14);
  border-radius: 999px;
}

.legal-nav a:hover,
.legal-footer a:hover {
  color: var(--green);
  text-decoration: underline;
}

.legal-document {
  display: none;
  scroll-margin-top: 24px;
  margin: 24px auto 0;
  padding: clamp(26px, 4vw, 48px);
  color: #40534c;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(223, 231, 227, .95);
  border-radius: 18px;
  box-shadow: 0 18px 46px rgba(16, 24, 40, .07);
}

.legal-document.is-visible {
  display: block;
}

.legal-document + .legal-document {
  margin-top: 30px;
}

.legal-document > header {
  padding-bottom: 24px;
  border-bottom: 1px solid #e2ebe5;
}

.legal-document h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -.03em;
}

.legal-date {
  margin: 0;
  color: #71817c;
  font-size: .78rem;
}

.legal-document section {
  padding: 26px 0 0;
}

.legal-document h3 {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: 1.08rem;
  line-height: 1.3;
}

.legal-document h4 {
  margin: 20px 0 8px;
  color: #526c64;
  font-size: .9rem;
}

.legal-document p,
.legal-document li {
  color: #52635c;
  font-size: .91rem;
  line-height: 1.72;
}

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

.legal-document ul {
  display: grid;
  gap: 7px;
  margin: 0 0 14px;
  padding-left: 22px;
}

.legal-document li::marker {
  color: var(--green);
}

.legal-footer {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 28px 0 0;
  font-size: .86rem;
}

@media (max-width: 560px) {
  .legal-shell {
    width: min(100% - 28px, 900px);
    padding-top: 82px;
  }

  .legal-back {
    top: 20px;
    left: 0;
  }

  .legal-document {
    padding: 24px 20px;
    border-radius: 14px;
  }

  .legal-document p,
  .legal-document li {
    font-size: .87rem;
    line-height: 1.62;
  }

  .legal-footer {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}

/* Final profile reference overrides: these must follow all shared responsive rules. */
.profile-page .profile-grid {
  display: block;
  grid-template-columns: none;
}

.profile-page .profile-content,
.profile-page .items-panel {
  width: 100%;
  max-width: none;
}

.profile-page .profile-stack {
  grid-template-columns: minmax(0, 1fr);
}

.profile-page .profile-grid.reveal,
.profile-page .profile-grid.reveal .profile-panel,
.profile-page .profile-grid.reveal .profile-settings-heading {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

@media (max-width: 760px) {
  .profile-page .profile-grid,
  .profile-page .profile-stack {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .profile-page .items-panel {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-aside,
  .auth-card {
    animation: none;
  }
}

/* Login page refinement: centered, branded and intentionally quiet. */
.auth-page .auth-shell {
  grid-template-columns: minmax(340px, 440px) minmax(360px, 500px);
  justify-content: center;
  gap: clamp(56px, 8vw, 112px);
  width: min(1050px, calc(100% - 48px));
  padding: 64px 0;
}

.auth-page .auth-aside {
  max-width: 440px;
  padding: 20px 0;
}

.auth-page .auth-aside h2 {
  max-width: 400px;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
}

.auth-page .auth-trust-list {
  gap: 12px;
  margin-top: 26px;
  font-size: 0.9rem;
  font-weight: 600;
}

.auth-page .auth-trust-list li {
  align-items: flex-start;
  line-height: 1.42;
}

.auth-page .auth-trust-list li::before {
  margin-top: 0.42em;
}

.auth-page .auth-card {
  max-width: 500px;
  padding: clamp(30px, 4vw, 44px);
}

.auth-page .auth-card h1 {
  margin-bottom: 26px;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
}

.auth-page .auth-card > p:not(.eyebrow):not(.auth-switch) {
  display: none;
}

.auth-page .form-row {
  justify-content: flex-end;
}

@media (max-width: 900px) {
  .auth-page .auth-shell {
    grid-template-columns: minmax(0, 560px);
    gap: 24px;
    width: min(560px, calc(100% - 40px));
    padding: 92px 0 44px;
  }

  .auth-page .auth-aside {
    max-width: 560px;
    padding: 0;
    text-align: center;
  }

  .auth-page .auth-aside::after {
    display: none;
  }

  .auth-page .auth-aside h2 {
    max-width: 560px;
    margin-inline: auto;
  }

  .auth-page .auth-trust-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    text-align: left;
  }

  .auth-page .auth-card {
    max-width: 560px;
  }
}

@media (max-width: 560px) {
  .auth-page .auth-shell {
    width: min(100% - 28px, 520px);
    gap: 18px;
    padding: 82px 0 28px;
  }

  .auth-page .auth-aside h2 {
    font-size: 1.9rem;
  }

  .auth-page .auth-trust-list {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 22px;
  }

  .auth-page .auth-card {
    padding: 28px 22px 24px;
  }

  .auth-page .auth-card h1 {
    font-size: 1.95rem;
  }
}

/* Login correction: preserve the original composition with only the requested changes. */
.auth-page .auth-shell {
  grid-template-columns: minmax(320px, 0.82fr) minmax(390px, 500px);
  justify-content: center;
  gap: clamp(44px, 6vw, 78px);
  width: min(1120px, calc(100% - 48px));
  padding: 38px 0;
}

.auth-page .auth-aside {
  max-width: 470px;
  padding: 24px 0;
}

.auth-page .auth-aside h2 {
  max-width: 440px;
  margin-bottom: 14px;
  font-size: clamp(2.15rem, 3.6vw, 3.35rem);
}

.auth-page .auth-trust-list {
  gap: 9px;
  margin-top: 22px;
  font-size: 0.82rem;
  font-weight: 550;
}

.auth-page .auth-trust-list li {
  line-height: 1.38;
}

.auth-page .auth-card {
  max-width: 500px;
  padding: 42px 44px;
}

.auth-page .auth-card h1 {
  margin-bottom: 28px;
  font-size: clamp(1.75rem, 2.4vw, 2.15rem);
  line-height: 1.12;
}

.auth-page .auth-form {
  gap: 17px;
}

.auth-page .form-row {
  justify-content: flex-end;
}

@media (max-width: 900px) {
  .auth-page .auth-shell {
    grid-template-columns: minmax(0, 600px);
    gap: 26px;
    width: min(600px, calc(100% - 40px));
    padding: 88px 0 42px;
  }

  .auth-page .auth-aside {
    max-width: 600px;
    text-align: left;
  }

  .auth-page .auth-aside h2 {
    margin-inline: 0;
  }

  .auth-page .auth-trust-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .auth-page .auth-shell {
    width: min(100% - 28px, 520px);
    padding-top: 76px;
  }

  .auth-page .auth-aside h2 {
    font-size: 2rem;
  }

  .auth-page .auth-card {
    padding: 30px 24px 26px;
  }

  .auth-page .auth-card h1 {
    font-size: 1.8rem;
  }
}

/* Benefit icons: a single visual family with six quiet variations. */
.benefits-grid p {
  grid-template-columns: 48px 1fr;
  align-items: center;
}

.benefit-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--green-dark);
  background: linear-gradient(145deg, #f1faf5, #dcefe6);
  border: 1px solid rgba(0, 122, 92, 0.18);
  border-radius: 14px;
  box-shadow:
    0 7px 14px rgba(0, 79, 63, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition:
    transform 220ms var(--ease),
    color 220ms var(--ease),
    background 220ms var(--ease),
    border-color 220ms var(--ease),
    box-shadow 220ms var(--ease);
}

.benefit-icon::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(0, 122, 92, 0.13);
  border-radius: 10px;
  pointer-events: none;
}

.benefit-icon svg {
  position: relative;
  z-index: 1;
  width: 23px !important;
  height: 23px !important;
  margin: 0 !important;
  color: inherit;
  stroke-width: 1.8;
}

.benefits-grid p:nth-child(2) .benefit-icon,
.benefits-grid p:nth-child(5) .benefit-icon {
  color: #176e59;
  background: linear-gradient(145deg, #f5f8ef, #e5efda);
  border-color: rgba(95, 125, 48, 0.2);
}

.benefits-grid p:nth-child(3) .benefit-icon,
.benefits-grid p:nth-child(6) .benefit-icon {
  color: #086a62;
  background: linear-gradient(145deg, #edf9f7, #d9eeea);
  border-color: rgba(0, 122, 112, 0.18);
}

.benefits-grid p:nth-child(4) .benefit-icon {
  color: #8a6831;
  background: linear-gradient(145deg, #fbf8ef, #f0e8d1);
  border-color: rgba(184, 145, 77, 0.24);
}

.benefits-grid p:hover .benefit-icon {
  color: var(--green-dark);
  background: linear-gradient(145deg, #ffffff, #d9eee4);
  border-color: rgba(0, 122, 92, 0.35);
  box-shadow:
    0 12px 22px rgba(0, 79, 63, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transform: translateY(-3px) rotate(-2deg);
}

.benefits-grid p:focus-within .benefit-icon {
  outline: 3px solid rgba(0, 122, 92, 0.2);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .benefit-icon {
    transition: none;
  }

  .benefits-grid p:hover .benefit-icon {
    transform: none;
  }
}

/* Professional reading rhythm and quieter motion refinements. */
h1,
h2 {
  letter-spacing: -0.025em;
  line-height: 1.06;
}

h3,
.brand strong,
.button,
.form-label,
.step-number,
.status-pill {
  font-weight: 700;
}

.brand strong {
  letter-spacing: -0.035em;
}

.hero-copy > h1 {
  font-weight: 750;
  line-height: 0.98;
  letter-spacing: -0.032em;
}

.hero-copy > p {
  line-height: 1.7;
}

h2 {
  font-weight: 750;
}

@keyframes safeBemRise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes safeBemVisualIn {
  from {
    opacity: 0;
    transform: translate3d(12px, 0, 0) scale(1.012);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.site-header {
  animation-duration: 720ms;
}

.hero-copy > *,
.hero-visual {
  animation-duration: 820ms;
}

.hero-copy > h1 {
  animation-delay: 70ms;
}

.hero-copy > p {
  animation-delay: 150ms;
}

.hero-copy > .hero-actions {
  animation-delay: 230ms;
}

.hero-visual {
  animation-duration: 900ms;
  animation-delay: 120ms;
}

.reveal {
  transition-duration: 720ms;
  transform: translateY(10px);
}

.reveal.is-visible .step-card,
.reveal.is-visible .benefits-grid p,
.reveal.is-visible .process-item,
.reveal.is-visible details,
.reveal.is-visible .lost-content,
.reveal.is-visible .bottom-cta .section-inner > * {
  animation-duration: 700ms;
}

.reveal.is-visible .step-card:nth-child(2),
.reveal.is-visible .benefits-grid p:nth-child(2),
.reveal.is-visible details:nth-child(2),
.reveal.is-visible .process-item:nth-child(3) {
  animation-delay: 55ms;
}

.reveal.is-visible .step-card:nth-child(3),
.reveal.is-visible .benefits-grid p:nth-child(3),
.reveal.is-visible details:nth-child(3),
.reveal.is-visible .process-item:nth-child(5) {
  animation-delay: 110ms;
}

.reveal.is-visible .benefits-grid p:nth-child(4),
.reveal.is-visible details:nth-child(4),
.reveal.is-visible .process-item:nth-child(7) {
  animation-delay: 165ms;
}

.reveal.is-visible .benefits-grid p:nth-child(5),
.reveal.is-visible details:nth-child(5) {
  animation-delay: 220ms;
}

.reveal.is-visible .benefits-grid p:nth-child(6),
.reveal.is-visible details:nth-child(6) {
  animation-delay: 275ms;
}

/* The card is the interaction target; the icon only follows its movement. */
.benefits-grid p {
  transform: translateY(0);
  transition:
    transform 260ms var(--ease),
    box-shadow 260ms var(--ease),
    border-color 260ms var(--ease),
    background 260ms var(--ease);
}

.benefits-grid p:hover {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(0, 122, 92, 0.28);
  box-shadow: 0 14px 28px rgba(0, 79, 63, 0.1);
  transform: translateY(-4px);
}

.benefits-grid p:hover .benefit-icon {
  transform: translateY(-1px) rotate(-2deg);
  box-shadow:
    0 9px 17px rgba(0, 79, 63, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .hero-copy > *,
  .hero-visual,
  .reveal,
  .reveal.is-visible .step-card,
  .reveal.is-visible .benefits-grid p,
  .reveal.is-visible .process-item,
  .reveal.is-visible details,
  .reveal.is-visible .lost-content,
  .reveal.is-visible .bottom-cta .section-inner > *,
  .benefits-grid p,
  .benefits-grid p:hover,
  .benefits-grid p:hover .benefit-icon {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Profile layout refinements: compact controls, clear list hierarchy, and less empty space. */
.profile-page .items-panel {
  min-height: 0;
  padding: clamp(22px, 3vw, 32px);
}

.profile-page .items-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 18px;
}

.profile-page .items-heading-copy h2 {
  margin-bottom: 3px;
}

.profile-page .items-count {
  margin: 0;
  color: var(--profile-muted);
  font-size: .8rem;
}

.profile-page .items-count strong {
  color: var(--profile-ink);
}

.profile-page .items-heading-actions {
  display: none;
}

.profile-page .items-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin: 0 0 16px;
  padding: 0;
  background: transparent;
  border: 0;
}

.profile-page .item-filter-group {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  background: #f1f7f3;
  border: 1px solid #e1eee7;
  border-radius: 9px;
}

.profile-page .item-filter {
  min-height: 32px;
  padding-inline: 10px;
  color: #6b8178;
  border-radius: 6px;
  font-size: .72rem;
}

.profile-page .item-filter span {
  margin-left: 3px;
  color: #8a9c94;
}

.profile-page .item-filter.is-active {
  color: #075b46;
  background: #fff;
  box-shadow: 0 3px 10px rgba(16, 65, 47, .08);
}

.profile-page .item-search {
  width: min(280px, 100%);
  min-height: 38px;
  background: #fff;
}

.profile-page .items-pagination {
  margin-top: 24px;
}

.profile-page .items-empty {
  max-width: 28rem;
  margin: 40px auto 18px;
  padding: 20px;
  color: var(--profile-muted);
  background: #f7faf8;
  border: 1px dashed var(--profile-line);
  border-radius: 10px;
  text-align: center;
}

.profile-page .item-actions {
  display: flex;
  justify-content: flex-end;
}

.profile-page .item-action-menu {
  position: relative;
  overflow: visible;
}

.profile-page .item-action-menu > summary {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #49635a;
  background: #fff;
  border: 1px solid #bdc8c3;
  border-radius: 7px;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.profile-page .item-action-menu > summary::-webkit-details-marker {
  display: none;
}

.profile-page .item-action-menu[open] > summary {
  color: #fff;
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.profile-page .item-action-popover {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 10;
  min-width: 150px;
  padding: 5px;
  background: #fff;
  border: 1px solid var(--profile-line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(16, 65, 47, .14);
}

.profile-page .item-action-popover .button {
  width: 100%;
  min-height: 34px;
  padding-inline: 9px;
  font-size: .72rem;
  text-align: left;
}

@media (max-width: 760px) {
  .profile-page .items-heading {
    align-items: flex-start;
  }

  .profile-page .items-toolbar {
    display: grid;
    align-items: stretch;
    gap: 8px;
  }

  .profile-page .item-filter-group {
    width: 100%;
    overflow-x: auto;
  }

  .profile-page .item-filter {
    flex: 0 0 auto;
  }

  .profile-page .item-search {
    width: 100%;
  }
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav,
  .header-actions {
    display: none;
  }

  body.nav-open .main-nav,
  body.nav-open .header-actions {
    position: fixed;
    left: 20px;
    right: 20px;
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(18px);
  }

  body.nav-open .main-nav {
    top: 78px;
    gap: 0;
    padding: 12px;
    border-radius: 18px 18px 0 0;
  }

  body.nav-open .main-nav a {
    padding: 16px 12px;
  }

  body.nav-open .header-actions {
    top: 276px;
    gap: 10px;
    margin-left: 0;
    padding: 12px;
    border-top: 0;
    border-radius: 0 0 18px 18px;
  }

  body.nav-open .header-actions .button,
  body.nav-open .language {
    width: 100%;
  }

  .hero {
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
    gap: 24px;
    padding-top: 44px;
    background:
      radial-gradient(circle at 78% 66%, rgba(0, 122, 92, 0.14), transparent 20rem),
      linear-gradient(180deg, #f3fbf6, #eaf6f0);
  }

  .hero::before {
    display: none;
  }

  .hero-visual {
    position: relative;
    inset: auto;
    justify-self: center;
    width: min(760px, 100%);
    margin-right: 0;
    transform: none;
    pointer-events: auto;
  }

  .hero-visual img {
    height: auto;
    aspect-ratio: 16 / 9;
    object-position: center;
    border-radius: 18px;
    box-shadow: 0 24px 58px rgba(0, 79, 63, 0.14);
    width: 100%;
    margin-left: 0;
  }

  .steps-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    gap: 24px;
  }

  .step-card:not(:last-child)::after {
    content: "↓";
    top: auto;
    right: auto;
    left: 50%;
    bottom: -28px;
    width: auto;
    height: auto;
    transform: translateX(-50%);
  }

  .transfer-card {
    max-width: 620px;
    justify-self: start;
  }

  .types-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .privacy-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

@media (max-width: 820px) {
  .site-header {
    padding-inline: 20px;
  }

  .brand strong {
    font-size: 1.48rem;
  }

  .brand small {
    font-size: 0.6rem;
  }

  .hero {
    padding-top: 44px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 9vw, 3.5rem);
  }

  .hero-actions,
  .hero-actions .button,
  .verify-form,
  .verify-form .button {
    width: 100%;
  }

  .hero-visual {
    margin-top: -10px;
  }

  .hero-visual img {
    width: 110%;
    margin-left: -5%;
  }

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

  .process-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .process-row i {
    height: 18px;
    transform: none;
  }

  .process-row i::before {
    content: "↓";
  }

  .benefits-grid,
  .faq-grid,
  .footer-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 16px;
  }

  .lost-inner {
    grid-template-columns: minmax(0, 1fr);
    min-height: 270px;
    padding: 32px 28px;
    background:
      linear-gradient(90deg, rgba(0, 79, 63, 0.98) 0%, rgba(0, 90, 70, 0.94) 36%, rgba(0, 117, 88, 0.7) 68%, rgba(0, 122, 92, 0.48) 100%),
      linear-gradient(180deg, rgba(0, 122, 92, 0.14), rgba(0, 79, 63, 0.2)),
      url("./assets/found-item-student.png") center right 32% / cover no-repeat,
      #00684e;
  }

  .types-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bottom-cta .section-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-shield {
    margin: 0 auto;
  }

  .footer-inner nav,
  .legal,
  .copyright,
  .socials {
    grid-column: auto;
    justify-content: center;
  }

  .auth-brand {
    position: static;
    margin-bottom: 24px;
    justify-self: start;
  }

  .auth-shell {
    place-items: start center;
  }

  .split-form,
  .profile-form,
  .verify-fields,
  .profile-header,
  .profile-hero,
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .profile-header nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .profile-card {
    position: static;
  }

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

  .item-actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .section-inner {
    width: min(100% - 28px, var(--container));
  }

  .site-header {
    min-height: 66px;
  }

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

  .hero {
    padding-inline: 14px;
    padding-bottom: 44px;
  }

  .hero-copy > p {
    font-size: 1rem;
  }

  .hero-visual img {
    width: 124%;
    margin-left: -12%;
  }

  h2 {
    font-size: clamp(1.78rem, 9vw, 2.35rem);
  }

  .steps-section,
  .why-section,
  .types-section,
  .faq-section,
  .verify-section,
  .privacy-section {
    padding-block: 54px;
  }

  .step-card,
  .transfer-card {
    padding: 22px;
  }

  .transfer-card {
    padding: 0;
  }

  .step-card > svg {
    width: 38px;
    height: 38px;
  }

  .transfer-card img {
    width: 100%;
    margin-inline: 0;
  }

  .success-strip {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
    margin: 0;
    font-size: 0.9rem;
  }

  .search-box {
    min-height: 58px;
    padding-inline: 14px;
  }

  .verify-form {
    padding-top: 32px;
  }

  .search-box input {
    font-size: 1rem;
  }

  .benefits-grid p {
    min-height: auto;
  }

  .privacy-grid,
  .types-grid {
    grid-template-columns: 1fr;
  }

  .lost-inner {
    background:
      linear-gradient(90deg, rgba(0, 79, 63, 0.98), rgba(0, 104, 78, 0.9)),
      linear-gradient(180deg, rgba(0, 122, 92, 0.18), rgba(0, 79, 63, 0.22)),
      url("./assets/found-item-student.png") center right 28% / cover no-repeat,
      #00684e;
  }

  .legal {
    gap: 14px;
  }
}

/* Crafted entrance and scroll rhythm */
@keyframes safeBemRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes safeBemVisualIn {
  from {
    opacity: 0;
    transform: translate3d(22px, 0, 0) scale(1.025);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.site-header {
  border-bottom-color: rgba(0, 79, 63, 0.1);
}

.brand-mark {
  border-radius: 12px;
}

.brand strong {
  letter-spacing: -0.055em;
}

.hero {
  padding-top: clamp(78px, 9vw, 126px);
  padding-bottom: clamp(92px, 10vw, 138px);
}

.hero-copy > h1 {
  max-width: 680px;
  font-size: clamp(2.85rem, 5.1vw, 5.25rem);
  line-height: 0.91;
}

.hero-copy > p {
  max-width: 570px;
  margin-top: 28px;
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.72;
}

.hero-actions {
  margin-top: 32px;
}

.hero-actions .button {
  border-radius: 10px;
}

.hero-visual img {
  transform: scale(1.015);
}

.steps-section,
.why-section,
.faq-section {
  padding-top: clamp(76px, 9vw, 126px);
  padding-bottom: clamp(76px, 9vw, 126px);
}

.verify-section {
  padding-top: clamp(76px, 9vw, 116px);
  padding-bottom: clamp(76px, 9vw, 116px);
}

h2 {
  max-width: 760px;
  margin-bottom: 36px;
  font-size: clamp(2rem, 3.2vw, 3.15rem);
  line-height: 1.02;
}

.steps-grid {
  gap: 22px;
}

.step-card {
  min-height: 190px;
  padding: 32px;
  border-radius: 14px;
}

.step-card h3 {
  max-width: 230px;
  font-size: 1.22rem;
}

.benefits-grid {
  gap: 14px;
}

.benefits-grid p {
  min-height: 116px;
  padding: 22px 24px;
  border-radius: 12px;
  line-height: 1.52;
}

.verify-form {
  padding: 34px 14px 14px;
  border-radius: 14px;
}

.lost-banner {
  min-height: clamp(360px, 32vw, 420px);
  padding-block: clamp(36px, 5vw, 60px);
}

.lost-inner,
.bottom-cta .section-inner {
  border-radius: 14px;
}

.faq-grid {
  gap: 14px 20px;
}

details {
  border-radius: 11px;
}

/* The observer applies .reveal; children arrive in a considered sequence. */
.hero-copy > *,
.hero-visual {
  animation: safeBemRise 760ms var(--ease) both;
}

.hero-copy > h1 {
  animation-delay: 90ms;
}

.hero-copy > p {
  animation-delay: 190ms;
}

.hero-copy > .hero-actions {
  animation-delay: 290ms;
}

.hero-visual {
  animation-name: safeBemVisualIn;
  animation-duration: 1000ms;
  animation-delay: 160ms;
}

.site-header {
  animation: safeBemRise 620ms var(--ease) both;
}

.reveal:not(.is-visible) .step-card,
.reveal:not(.is-visible) .benefits-grid p,
.reveal:not(.is-visible) .process-item,
.reveal:not(.is-visible) details,
.reveal:not(.is-visible) .lost-content,
.reveal:not(.is-visible) .bottom-cta .section-inner > * {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.is-visible .step-card,
.reveal.is-visible .benefits-grid p,
.reveal.is-visible .process-item,
.reveal.is-visible details,
.reveal.is-visible .lost-content,
.reveal.is-visible .bottom-cta .section-inner > * {
  animation: safeBemRise 650ms var(--ease) both;
}

.reveal.is-visible .step-card:nth-child(2),
.reveal.is-visible .benefits-grid p:nth-child(2),
.reveal.is-visible details:nth-child(2),
.reveal.is-visible .process-item:nth-child(3) {
  animation-delay: 80ms;
}

.reveal.is-visible .step-card:nth-child(3),
.reveal.is-visible .benefits-grid p:nth-child(3),
.reveal.is-visible details:nth-child(3),
.reveal.is-visible .process-item:nth-child(5) {
  animation-delay: 160ms;
}

.reveal.is-visible .benefits-grid p:nth-child(4),
.reveal.is-visible details:nth-child(4),
.reveal.is-visible .process-item:nth-child(7) {
  animation-delay: 240ms;
}

.reveal.is-visible .benefits-grid p:nth-child(5),
.reveal.is-visible details:nth-child(5) {
  animation-delay: 320ms;
}

.reveal.is-visible .benefits-grid p:nth-child(6),
.reveal.is-visible details:nth-child(6) {
  animation-delay: 400ms;
}

.reveal.is-visible .bottom-cta .section-inner > *:nth-child(2) {
  animation-delay: 90ms;
}

.reveal.is-visible .bottom-cta .section-inner > *:nth-child(3) {
  animation-delay: 180ms;
}

@media (max-width: 820px) {
  .hero {
    padding-top: 58px;
    padding-bottom: 64px;
  }

  .hero-copy > h1 {
    font-size: clamp(2.65rem, 11vw, 4rem);
  }

  h2 {
    margin-bottom: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .hero-copy > *,
  .hero-visual,
  .reveal.is-visible .step-card,
  .reveal.is-visible .benefits-grid p,
  .reveal.is-visible .process-item,
  .reveal.is-visible details,
  .reveal.is-visible .lost-content,
  .reveal.is-visible .bottom-cta .section-inner > * {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .reveal:not(.is-visible) .step-card,
  .reveal:not(.is-visible) .benefits-grid p,
  .reveal:not(.is-visible) .process-item,
  .reveal:not(.is-visible) details,
  .reveal:not(.is-visible) .lost-content,
  .reveal:not(.is-visible) .bottom-cta .section-inner > * {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .auth-shell,
  .auth-shell-wide {
    place-items: stretch;
    align-items: center;
  }

  .auth-brand {
    position: absolute;
    margin: 0;
    justify-self: auto;
  }
}

/* Final profile cascade: one authoritative blue layer after every legacy rule. */
.profile-page.profile-page {
  --green: #3f72c8;
  --green-2: #5f8cda;
  --green-dark: #2857a6;
  --profile-ink: #172235;
  --profile-muted: #667085;
  --profile-line: #d8dee8;
  color: #172235;
  background: #f3f5f8;
}
.profile-page.profile-page .profile-header { background: rgba(255,255,255,.97); border-color: #dce2ea; }
.profile-page.profile-page .profile-header .brand-mark { color: #fff; background: #3f72c8; box-shadow: 0 8px 18px rgba(63,114,200,.2); }
.profile-page.profile-page .profile-header .brand strong span { color: #3f72c8; }
.profile-page.profile-page .profile-hero { background: linear-gradient(125deg,#244f9e,#3f72c8 68%,#5f8cda); border-color: #2857a6; box-shadow: 0 18px 38px rgba(48,86,150,.18); }
.profile-page.profile-page .profile-grid { display: grid; grid-template-columns: 250px minmax(0,1fr); gap: 24px; }
.profile-page.profile-page .profile-card,
.profile-page.profile-page .profile-panel,
.profile-page.profile-page .profile-details { background: #fff; border-color: #d1d8e2; box-shadow: 0 10px 26px rgba(28,43,67,.055); }
.profile-page.profile-page .profile-card-top .avatar { background: #3f72c8; }
.profile-page.profile-page .profile-side-nav a:hover,
.profile-page.profile-page .profile-side-nav a.is-current { color: #2857a6; background: #eaf1fc; }
.profile-page.profile-page .item-filter-group { background: #f1f4f8; border-color: #e0e5ed; }
.profile-page.profile-page .item-filter.is-active { color: #2857a6; background: #fff; }
.profile-page.profile-page .item-card { background: #fbfcfe; border-color: #dbe1e9; }
.profile-page.profile-page .item-card:hover { border-color: #9db8e5; box-shadow: 0 10px 22px rgba(45,83,145,.1); }
.profile-page.profile-page .item-visual { background: #eaf1fc; }
.profile-page.profile-page .button-primary { color: #fff; background: #3f72c8; box-shadow: 0 8px 18px rgba(63,114,200,.2); }
.profile-page.profile-page .button-primary:hover { background: #2857a6; }
.profile-page.profile-page .button-ghost { color: #2857a6; background: #fff; border-color: #b9c9e2; }
.profile-page.profile-page .button-ghost:hover { background: #eaf1fc; border-color: #3f72c8; }
.profile-page.profile-page .profile-summary-grid { background: #dce2ea; border-color: #dce2ea; }
.profile-page.profile-page .profile-summary-grid > div,
.profile-page.profile-page .profile-details-form fieldset { background: #f7f9fc; border-color: #dce2ea; }
.profile-page.profile-page .profile-details-heading { border-color: #e2e6ed; }
.profile-page.profile-page .profile-details-heading .eyebrow,
.profile-page.profile-page .profile-details-form legend { color: #2857a6; }
.profile-page.profile-page .profile-details-form input,
.profile-page.profile-page .profile-details-form select { background: #fff; border-color: #cbd4e0; }
.profile-page.profile-page .profile-details-form input:focus,
.profile-page.profile-page .profile-details-form select:focus { border-color: #3f72c8; box-shadow: 0 0 0 4px rgba(63,114,200,.13); }
.profile-page.profile-page .profile-footer { color: #667085; background: #f3f5f8; border-color: #d8dee8; }
.profile-page.profile-page .profile-menu-popover,
.profile-page.profile-page .item-registration,
.profile-page.profile-page .dialog-card { background: #fff; border-color: #d1d8e2; }
.profile-page.profile-page .registration-progress-fill { background: #3f72c8; }
.profile-page.profile-page .registration-progress { background: #e4eaf3; }
.profile-page.profile-page .registration-close,
.profile-page.profile-page .profile-menu-action { color: #2857a6; }
.profile-page.profile-page input:focus-visible,
.profile-page.profile-page select:focus-visible,
.profile-page.profile-page textarea:focus-visible,
.profile-page.profile-page button:focus-visible,
.profile-page.profile-page summary:focus-visible { outline-color: rgba(63,114,200,.42); }
@media (max-width: 760px) {
  .profile-page.profile-page .profile-grid { grid-template-columns: 1fr; gap: 16px; }
  .profile-page.profile-page .profile-card { position: static; }
}

/* SafeBem global identity: blue, neutral and accessible across every surface. */
:root {
  --safe-blue: #3f72c8;
  --safe-blue-dark: #2857a6;
  --safe-blue-soft: #eaf1fc;
  --safe-canvas: #f3f5f8;
  --safe-surface: #ffffff;
  --safe-ink: #172235;
  --safe-muted: #667085;
  --safe-line: #d8dee8;
}
body:not(.profile-page) {
  color: var(--safe-ink);
  background: var(--safe-canvas);
}
body:not(.profile-page) .site-header,
body:not(.profile-page) .auth-card,
body:not(.profile-page) .login-card,
body:not(.profile-page) .legal-document,
body:not(.profile-page) .legal-nav a,
body:not(.profile-page) details,
body:not(.profile-page) .verify-form,
body:not(.profile-page) .step-card,
body:not(.profile-page) .types-grid article,
body:not(.profile-page) .privacy-grid article {
  background-color: var(--safe-surface);
  border-color: var(--safe-line);
}
body:not(.profile-page) .brand-mark,
body:not(.profile-page) .button-primary,
body:not(.profile-page) .auth-card .button,
body:not(.profile-page) .login-card .button {
  background: var(--safe-blue);
}
body:not(.profile-page) .brand strong span,
body:not(.profile-page) .main-nav a:hover,
body:not(.profile-page) .footer-inner nav a:hover,
body:not(.profile-page) .legal a,
body:not(.profile-page) .legal-header .eyebrow,
body:not(.profile-page) .legal-document h3,
body:not(.profile-page) .auth-card a,
body:not(.profile-page) .login-card a,
body:not(.profile-page) .form-message.is-success,
body:not(.profile-page) .form-label {
  color: var(--safe-blue-dark);
}
body:not(.profile-page) .hero,
body:not(.profile-page) .auth-page,
body:not(.profile-page) .legal-page,
body:not(.profile-page) .verify-section,
body:not(.profile-page) .privacy-section {
  background: var(--safe-canvas);
}
body:not(.profile-page) .hero h1 span,
body:not(.profile-page) .hero h1 em {
  color: var(--safe-blue);
}
body:not(.profile-page) .button-primary:hover,
body:not(.profile-page) .auth-card .button:hover,
body:not(.profile-page) .login-card .button:hover {
  background: var(--safe-blue-dark);
}
body:not(.profile-page) input:focus,
body:not(.profile-page) select:focus,
body:not(.profile-page) textarea:focus,
body:not(.profile-page) button:focus-visible,
body:not(.profile-page) a:focus-visible,
body:not(.profile-page) summary:focus-visible {
  outline-color: rgba(63,114,200,.45);
}
body:not(.profile-page) input:focus,
body:not(.profile-page) select:focus,
body:not(.profile-page) textarea:focus {
  border-color: var(--safe-blue);
  box-shadow: 0 0 0 4px rgba(63,114,200,.13);
}
.auth-page .auth-shell,
.auth-page .auth-card,
.auth-page .auth-aside {
  background-color: transparent;
}
.auth-page .auth-card {
  background: var(--safe-surface);
  border-color: var(--safe-line);
}
.auth-page .auth-aside h1,
.auth-page .auth-aside h2 { color: var(--safe-ink); }
.auth-page .auth-aside h1 span,
.auth-page .auth-aside h2 span { color: var(--safe-blue); }
.legal-page .legal-header h1,
.legal-page .legal-document h2 { color: var(--safe-ink); }
.legal-page .legal-document { box-shadow: 0 18px 46px rgba(28,43,67,.07); }
body:not(.profile-page) .hero::before,
body:not(.profile-page) .hero::after,
body:not(.profile-page) .hero-visual::before,
body:not(.profile-page) .hero-visual::after {
  background: transparent;
}
body:not(.profile-page) .bottom-cta .section-inner,
body:not(.profile-page) .lost-inner,
body:not(.profile-page) .transfer-card {
  background: var(--safe-blue-dark);
}
@media (max-width: 760px) {
  body:not(.profile-page) .site-header { background: rgba(255,255,255,.98); }
}

/* SafeBem restored identity: preserve the improved structure, restore the original green voice. */
:root {
  --safe-blue: #007a5c;
  --safe-blue-dark: #004f3f;
  --safe-blue-soft: #eef7f2;
  --safe-canvas: #f6f8f7;
  --safe-surface: #ffffff;
  --safe-ink: #101828;
  --safe-muted: #63706d;
  --safe-line: #dfe7e3;
}
body:not(.profile-page) {
  color: #101828;
  background: #f6f8f7;
}
body:not(.profile-page) .site-header,
body:not(.profile-page) .auth-card,
body:not(.profile-page) .login-card,
body:not(.profile-page) .legal-document,
body:not(.profile-page) .legal-nav a,
body:not(.profile-page) details,
body:not(.profile-page) .verify-form,
body:not(.profile-page) .step-card,
body:not(.profile-page) .types-grid article,
body:not(.profile-page) .privacy-grid article {
  background-color: #fff;
  border-color: #dfe7e3;
}
body:not(.profile-page) .brand-mark,
body:not(.profile-page) .button-primary,
body:not(.profile-page) .auth-card .button,
body:not(.profile-page) .login-card .button {
  background: #007a5c;
}
body:not(.profile-page) .brand strong span,
body:not(.profile-page) .main-nav a:hover,
body:not(.profile-page) .footer-inner nav a:hover,
body:not(.profile-page) .legal a,
body:not(.profile-page) .legal-header .eyebrow,
body:not(.profile-page) .legal-document h3,
body:not(.profile-page) .auth-card a,
body:not(.profile-page) .login-card a,
body:not(.profile-page) .form-message.is-success,
body:not(.profile-page) .form-label {
  color: #004f3f;
}
body:not(.profile-page) .hero,
body:not(.profile-page) .auth-page,
body:not(.profile-page) .legal-page,
body:not(.profile-page) .verify-section,
body:not(.profile-page) .privacy-section {
  background: #f6f8f7;
}
body:not(.profile-page) .hero h1 span,
body:not(.profile-page) .hero h1 em {
  color: #007a5c;
}
body:not(.profile-page) .button-primary:hover,
body:not(.profile-page) .auth-card .button:hover,
body:not(.profile-page) .login-card .button:hover {
  background: #004f3f;
}
body:not(.profile-page) input:focus,
body:not(.profile-page) select:focus,
body:not(.profile-page) textarea:focus {
  border-color: #007a5c;
  box-shadow: 0 0 0 4px rgba(0,122,92,.13);
}
body:not(.profile-page) .hero::before,
body:not(.profile-page) .hero-visual::before { background: transparent; }
body:not(.profile-page) .bottom-cta .section-inner,
body:not(.profile-page) .lost-inner,
body:not(.profile-page) .transfer-card { background: #004f3f; }

.profile-page.profile-page {
  --green: #007a5c;
  --green-2: #009b73;
  --green-dark: #004f3f;
  --profile-ink: #101828;
  --profile-muted: #63706d;
  --profile-line: #dfe7e3;
  color: #101828;
  background: #f6f8f7;
}
.profile-page.profile-page .profile-header { background: rgba(255,255,255,.97); border-color: #dfe7e3; }
.profile-page.profile-page .profile-header .brand-mark { background: #007a5c; }
.profile-page.profile-page .profile-header .brand strong span { color: #007a5c; }
.profile-page.profile-page .profile-hero { background: linear-gradient(125deg,#004f3f,#007a5c 68%,#009b73); border-color: #004f3f; }
.profile-page.profile-page .profile-card,
.profile-page.profile-page .profile-panel,
.profile-page.profile-page .profile-details { background: #fff; border-color: #dfe7e3; }
.profile-page.profile-page .profile-card-top .avatar { background: #007a5c; }
.profile-page.profile-page .profile-side-nav a:hover,
.profile-page.profile-page .profile-side-nav a.is-current { color: #004f3f; background: #eef7f2; }
.profile-page.profile-page .item-filter-group { background: #f1f7f3; border-color: #e1eee7; }
.profile-page.profile-page .item-filter.is-active { color: #004f3f; }
.profile-page.profile-page .item-card:hover { border-color: rgba(0,122,92,.3); }

/* Inventory rows: the registered belongings are the primary object on this page.
   Keep the structure close to a paper register, with a clear visual anchor and
   controls that remain usable without relying on colour alone. */
.profile-page .items-list {
  gap: 11px;
}

.profile-page .item-card {
  grid-template-columns: 112px minmax(220px, 340px) minmax(170px, 1fr) 72px;
  align-items: center;
  gap: clamp(16px, 2.2vw, 28px);
  min-height: 112px;
  padding: 16px 20px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #dce6e1;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(16, 48, 39, .035);
  transition:
    background 180ms var(--ease),
    border-color 180ms var(--ease),
    box-shadow 180ms var(--ease),
    transform 180ms var(--ease);
}

.profile-page .item-card:hover {
  background: #f7fbf9;
  border-color: rgba(0, 122, 92, .28);
  box-shadow: 0 8px 22px rgba(16, 48, 39, .07);
  transform: translateY(-1px);
}

.profile-page .item-card.is-lost {
  background: #fff8f6;
  border-color: #e3bdb2;
}

.profile-page .item-card.is-lost:hover {
  border-color: #e3bdb2;
}

/* The card outline always follows the state badge. */
.profile-page .item-card[data-status="Em posse do proprietário"],
.profile-page .item-card[data-status="Recuperado"],
.profile-page .item-card[data-status="Verificado"] {
  border-color: #c2d9cd;
}

.profile-page .item-card[data-status="Perdido"],
.profile-page .item-card[data-status="Roubado"] {
  border-color: #e3bdb2;
}

.profile-page .item-card[data-status="Transferido"] {
  border-color: #dfd6b9;
}

.profile-page .item-card[data-status="Pendente"] {
  border-color: #d8e0dc;
}

.profile-page .item-state .status-pill.status-transfer {
  color: #6b5c2d;
  background: #fcf8e9;
  border-color: #dfd6b9;
}

.profile-page .item-state .status-pill.status-neutral {
  color: #5f6e68;
  background: #f3f6f4;
  border-color: #d8e0dc;
}

.profile-page .item-card[data-status="Em posse do proprietário"]:hover,
.profile-page .item-card[data-status="Recuperado"]:hover,
.profile-page .item-card[data-status="Verificado"]:hover {
  border-color: #c2d9cd;
}

.profile-page .item-card[data-status="Perdido"]:hover,
.profile-page .item-card[data-status="Roubado"]:hover {
  border-color: #e3bdb2;
}

.profile-page .item-card[data-status="Transferido"]:hover {
  border-color: #dfd6b9;
}

.profile-page .item-card[data-status="Pendente"]:hover {
  border-color: #d8e0dc;
}

.profile-page .item-visual {
  display: grid;
  place-items: center;
  width: 112px;
  height: 82px;
  overflow: hidden;
  color: var(--green-dark);
  background: #f1f4f2;
  border: 1px solid #dce4e0;
  border-radius: 10px;
}

.profile-page .item-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-page .item-visual svg {
  width: 30px;
  height: 30px;
  opacity: .62;
}

.profile-page .item-details {
  display: grid;
  align-content: center;
  gap: 3px;
  min-width: 0;
}

.profile-page .item-type {
  display: block;
  margin-bottom: 3px;
  color: var(--green-dark);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.profile-page .item-card h3 {
  margin: 0 0 4px;
  overflow: hidden;
  color: var(--ink);
  font-size: .98rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-page .item-registration-date {
  margin: 0;
  color: #657b70;
  font-size: .73rem;
}

.profile-page .item-state {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  justify-self: start;
}

.profile-page .item-state .status-pill {
  width: fit-content;
  min-height: 32px;
  padding: 0 12px;
  color: var(--green-dark);
  background: #f1f8f4;
  border: 1px solid #c2d9cd;
  border-radius: 8px;
  font-size: .7rem;
  font-weight: 800;
}

.profile-page .item-state .status-pill.status-danger {
  color: #8d3d2e;
  background: #fff3ef;
  border-color: #e3bdb2;
}

.profile-page .item-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 72px;
}

.profile-page .item-actions .item-view-button {
  display: grid;
  place-items: center;
  width: 32px;
  min-width: 32px;
  height: 32px;
  min-height: 32px;
  padding: 0;
  color: var(--green-dark);
  background: #fff;
  border-color: #c8d8d0;
  border-radius: 8px;
}

.profile-page .item-actions .item-view-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.profile-page .item-action-menu {
  position: relative;
}

.profile-page .item-action-menu > summary {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  color: var(--green-dark);
  background: #fff;
  border: 1px solid #c8d8d0;
  border-radius: 8px;
  cursor: pointer;
  list-style: none;
}

.profile-page .item-action-menu > summary::-webkit-details-marker { display: none; }
.profile-page .item-action-menu > summary::after { display: none; content: none; }
.profile-page .item-action-menu > summary svg { width: 18px; height: 18px; }
.profile-page .item-action-menu[open] > summary,
.profile-page .item-action-menu > summary:hover {
  color: #fff;
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.profile-page .item-actions .item-view-button:hover {
  color: #fff;
  background: var(--green-dark);
  border-color: var(--green-dark);
  box-shadow: none;
  transform: none;
}

.profile-page .item-action-popover {
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  z-index: 5;
  min-width: 166px;
  padding: 6px;
  background: #fff;
  border: 1px solid #cfe0d6;
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(0, 79, 63, .15);
}

.profile-page .item-action-popover .button {
  width: 100%;
  min-height: 34px;
  padding: 0 10px;
  font-size: .73rem;
}

@media (max-width: 760px) {
  .profile-page .item-card {
    grid-template-columns: 68px minmax(0, 1fr) auto;
    gap: 12px 14px;
    min-height: 0;
    padding: 11px;
  }
  .profile-page .item-visual {
    width: 68px;
    height: 64px;
  }
  .profile-page .item-state {
    grid-column: 2;
    justify-items: start;
  }
  .profile-page .item-actions {
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: center;
  }
}

@media (max-width: 430px) {
  .profile-page .item-card {
    grid-template-columns: 58px minmax(0, 1fr);
  }
  .profile-page .item-visual {
    width: 58px;
    height: 56px;
  }
  .profile-page .item-state {
    grid-column: 2;
  }
  .profile-page .item-actions {
    grid-column: 1 / -1;
    grid-row: auto;
    justify-content: flex-end;
  }
}

/* Keep the account surface on SafeBem green; legacy account overrides above
   are intentionally neutralised here so no blue accent leaks into the page. */
.profile-page.profile-page {
  --green: #007a5c;
  --green-2: #009b73;
  --green-dark: #004f3f;
  color: var(--ink);
  background: #f3f6f4;
}
.profile-page.profile-page .profile-hero {
  background: linear-gradient(125deg, #004f3f, #007a5c 68%, #009b73);
  border-color: #004f3f;
  box-shadow: 0 18px 38px rgba(0, 79, 63, .18);
}
.profile-page.profile-page .profile-header .brand-mark { background: var(--green-dark); }
.profile-page.profile-page .profile-header .brand strong span { color: var(--green); }
.profile-page.profile-page .profile-card-top .avatar { background: var(--green); }
.profile-page.profile-page .item-filter-group { background: #edf4f0; border-color: #d5e4dc; }
.profile-page.profile-page .item-filter { color: var(--green-dark); border-color: #b9d4c6; }
.profile-page.profile-page .item-filter.is-active { color: #fff; background: var(--green-dark); border-color: var(--green-dark); }
.profile-page.profile-page .button-primary { background: var(--green); box-shadow: 0 8px 18px rgba(0, 122, 92, .2); }
.profile-page.profile-page .button-primary:hover { background: var(--green-dark); }
.profile-page.profile-page .button-ghost { color: var(--green-dark); border-color: #b9d4c6; }
.profile-page.profile-page .button-ghost:hover { color: var(--green-dark); background: #edf4f0; border-color: var(--green); }
.profile-page.profile-page .profile-side-nav a:hover,
.profile-page.profile-page .profile-side-nav a.is-current { color: var(--green-dark); background: #e4f1ea; }
.profile-page.profile-page .profile-panel {
  background: #fff;
  border-color: #e0e8e4;
  box-shadow: 0 12px 34px rgba(16, 48, 39, .045);
}
.profile-page.profile-page .item-visual { background: #f1f4f2; }
.profile-page.profile-page .button-primary { background: #007a5c; }
.profile-page.profile-page .button-primary:hover { background: #004f3f; }
.profile-page.profile-page .button-ghost { color: #004f3f; border-color: rgba(0,122,92,.34); }
.profile-page.profile-page .button-ghost:hover { background: #eef7f2; border-color: #007a5c; }
.profile-page.profile-page .profile-details-form input:focus,
.profile-page.profile-page .profile-details-form select:focus { border-color: #007a5c; box-shadow: 0 0 0 4px rgba(0,122,92,.13); }
.profile-page.profile-page .profile-footer { color: #63706d; background: #f6f8f7; border-color: #dfe7e3; }
.profile-page.profile-page .profile-menu-popover,
.profile-page.profile-page .item-registration,
.profile-page.profile-page .dialog-card { background: #fff; border-color: #dfe7e3; }
.profile-page.profile-page .registration-progress-fill { background: #007a5c; }
.profile-page.profile-page .registration-progress { background: #e1eee7; }

/* Meu perfil · clean refinement (authoritative final cascade) */
.profile-page .profile-details { padding: clamp(24px,5vw,52px); border: 0; border-radius: 0; box-shadow: none; background: #fff; }
.profile-page .profile-details-heading { margin-bottom: 38px; padding-bottom: 0; border-bottom: 0; }
.profile-page .profile-details-heading > .button { display: none; }
.profile-page .profile-summary-layout { grid-template-columns: minmax(200px,240px) minmax(0,1fr); gap: clamp(38px,8vw,100px); }
.profile-page .profile-summary-identity { padding: 4px 0 0; background: transparent; border: 0; border-radius: 0; }
.profile-page .profile-summary-avatar { width: 78px; height: 78px; margin-bottom: 22px; border: 0; box-shadow: none; background: #e5f3eb; color: #006b50; font-size: 1.4rem; }
.profile-page .profile-summary-kicker { color: #82938b; font-size: .63rem; letter-spacing: .13em; }
.profile-page .profile-summary-name { color: #173a2f; font-size: 1.18rem; }
.profile-page .profile-summary-type { margin: 8px 0 24px; padding: 0; color: #007a5c; background: transparent; font-size: .74rem; }
.profile-page .profile-summary-contact { gap: 16px; margin-bottom: 28px; padding-top: 18px; border-top: 1px solid #e7eee9; }
.profile-page .profile-summary-contact dd { color: #29483d; font-size: .8rem; font-weight: 600; }
.profile-page .profile-summary-identity .button { width: auto; min-height: 38px; padding-inline: 15px; border-radius: 8px; box-shadow: none; font-size: .75rem; }
.profile-page .profile-summary-index { display: none; }
.profile-page .profile-summary-section { margin-bottom: 34px; padding-bottom: 28px; border-bottom: 1px solid #edf2ef; }
.profile-page .profile-summary-section-heading { gap: 0; margin-bottom: 17px; }
.profile-page .profile-summary-section-heading h3 { color: #29483d; font-size: .9rem; }
.profile-page .profile-summary-section-heading p { color: #8a9992; font-size: .74rem; }
.profile-page .profile-summary-grid { display: grid; gap: 0; background: transparent; }
.profile-page .profile-summary-grid > div { display: grid; grid-template-columns: minmax(135px,.65fr) minmax(0,1.35fr); align-items: baseline; gap: 18px; padding: 12px 0; background: transparent; border: 0; border-bottom: 1px solid #f0f4f1; border-radius: 0; }
.profile-page .profile-summary-grid > div:last-child { border-bottom: 0; }
.profile-page .profile-summary-grid dt { margin: 0; color: #899891; font-size: .62rem; text-transform: none; }
.profile-page .profile-summary-grid dd { color: #29483d; font-size: .82rem; font-weight: 650; }
.profile-page .profile-summary-attachments { padding: 0 0 2px; background: transparent; border: 0; border-radius: 0; }
.profile-page .profile-attachments-list { display: grid; gap: 0; }
.profile-page .profile-attachments-list > div { display: flex; padding: 11px 0; background: transparent; border: 0; border-bottom: 1px solid #f0f4f1; border-radius: 0; color: #71827c; font-size: .76rem; }
.profile-page .profile-attachments-list > div:last-child { border-bottom: 0; }
.profile-page .profile-attachments-list strong { color: #007a5c; font-size: .72rem; }
@media (max-width:700px) {
  .profile-page .profile-details { padding: 25px 20px; }
  .profile-page .profile-summary-layout { grid-template-columns: 1fr; gap: 32px; }
  .profile-page .profile-summary-identity { padding-bottom: 28px; border-bottom: 1px solid #edf2ef; }
  .profile-page .profile-summary-grid > div { grid-template-columns: 1fr; gap: 3px; }
}

/* Meu perfil · account overview */
.profile-page .profile-details {
  width: min(1120px, 100%);
  margin-inline: auto;
  padding: clamp(20px, 4vw, 40px);
  background: #fff;
  border: 1px solid #dbe9e1;
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(0, 79, 63, .08);
}
.profile-page .profile-details-heading {
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e5eee9;
}
.profile-page .profile-details-heading > .button { display: none; }
.profile-page .profile-details-heading h2 { font-size: clamp(1.8rem, 3vw, 2.55rem); }
.profile-page .profile-details-summary { padding: 0; }
.profile-page .profile-summary-layout {
  display: grid;
  grid-template-columns: minmax(205px, 260px) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 64px);
}
.profile-page .profile-summary-identity {
  align-self: start;
  padding: 22px 20px 20px;
  background: linear-gradient(160deg, #f1faf5, #e6f3ec);
  border: 1px solid #d7e9df;
  border-radius: 18px;
}
.profile-page .profile-summary-avatar {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin-bottom: 20px;
  color: #fff;
  background: linear-gradient(145deg, #009b73, #004f3f);
  border: 5px solid rgba(255,255,255,.75);
  border-radius: 50%;
  box-shadow: 0 12px 24px rgba(0,79,63,.16);
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 850;
  letter-spacing: .04em;
}
.profile-page .profile-summary-kicker {
  margin: 0 0 5px;
  color: #5b766c;
  font-size: .67rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.profile-page .profile-summary-name {
  margin: 0;
  color: #16332b;
  font-size: 1.25rem;
  line-height: 1.16;
  overflow-wrap: anywhere;
}
.profile-page .profile-summary-type {
  display: inline-flex;
  margin: 9px 0 21px;
  padding: 4px 9px;
  color: #006b50;
  background: #d8eee2;
  border-radius: 99px;
  font-size: .7rem;
  font-weight: 800;
}
.profile-page .profile-summary-contact {
  display: grid;
  gap: 13px;
  margin: 0 0 23px;
  padding-top: 17px;
  border-top: 1px solid #cfe3d8;
}
.profile-page .profile-summary-contact div { min-width: 0; }
.profile-page .profile-summary-contact dt {
  margin-bottom: 3px;
  color: #668077;
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
}
.profile-page .profile-summary-contact dd {
  margin: 0;
  color: #183d31;
  font-size: .78rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.profile-page .profile-summary-identity .button { width: 100%; min-height: 41px; padding-inline: 12px; }
.profile-page .profile-summary-content { min-width: 0; }
.profile-page .profile-summary-section {
  display: block;
  gap: 0;
  margin: 0 0 26px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e6eee9;
}
.profile-page .profile-summary-section-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.profile-page .profile-summary-section-heading h3 {
  margin: 0 0 3px;
  color: #173a2f;
  font-size: .98rem;
}
.profile-page .profile-summary-section-heading p {
  margin: 0;
  color: #71827c;
  font-size: .76rem;
}
.profile-page .profile-summary-index {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  color: #007a5c;
  background: #e5f3eb;
  border-radius: 8px;
  font-size: .65rem;
  font-weight: 850;
}
.profile-page .profile-summary-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  background: transparent;
}
.profile-page .profile-summary-grid > div {
  padding: 13px 14px;
  background: #fbfdfc;
  border: 1px solid #e1ece6;
  border-radius: 10px;
}
.profile-page .profile-summary-grid dt { font-size: .63rem; color: #71827c; }
.profile-page .profile-summary-grid dd { font-size: .82rem; color: #183d31; }
.profile-page .profile-summary-attachments {
  padding: 18px;
  background: #f4faf6;
  border: 1px solid #dcece3;
  border-radius: 14px;
}
.profile-page .profile-summary-attachments .profile-summary-section-heading { margin-bottom: 12px; }
.profile-page .profile-attachments-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.profile-page .profile-attachments-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  background: #fff;
  border: 1px solid #dceae2;
  border-radius: 9px;
  color: #41645a;
  font-size: .75rem;
}
.profile-page .profile-attachments-list strong { color: #007a5c; font-size: .7rem; white-space: nowrap; }
.profile-page .profile-summary-footer { margin-top: 25px; padding-top: 17px; border-top: 1px solid #e5eee9; }
@media (max-width: 700px) {
  .profile-page .profile-summary-layout { grid-template-columns: 1fr; gap: 24px; }
  .profile-page .profile-summary-identity { display: grid; grid-template-columns: 76px 1fr; column-gap: 15px; align-items: center; }
  .profile-page .profile-summary-avatar { grid-row: span 3; width: 76px; height: 76px; margin: 0; }
  .profile-page .profile-summary-kicker, .profile-page .profile-summary-name, .profile-page .profile-summary-type { grid-column: 2; }
  .profile-page .profile-summary-kicker { align-self: end; }
  .profile-page .profile-summary-type { justify-self: start; margin: 5px 0 0; }
  .profile-page .profile-summary-contact { grid-column: 1 / -1; }
  .profile-page .profile-summary-identity .button { grid-column: 1 / -1; }
  .profile-page .profile-summary-grid, .profile-page .profile-attachments-list { grid-template-columns: 1fr; }
}

/* Meu perfil: minimal presentation must remain last in the cascade. */
.profile-page .profile-details {
  padding: clamp(24px, 5vw, 52px);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.profile-page .profile-details-heading {
  margin-bottom: 38px;
  padding-bottom: 0;
  border-bottom: 0;
}
.profile-page .profile-summary-layout {
  grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
  gap: 15px;
}
.profile-page .profile-summary-identity {
  display: block;
  padding: 24px 15px;
  background: #f4faf6;
  border: 1px solid #e1eee7;
  border-radius: 14px;
}
.profile-page .profile-summary-avatar {
  width: 78px;
  height: 78px;
  margin: 0 0 22px;
  color: #006b50;
  background: #e5f3eb;
  border: 0;
  box-shadow: none;
}
.profile-page .profile-summary-type {
  margin: 8px 0 24px;
  padding: 0;
  color: #007a5c;
  background: transparent;
}
.profile-page .profile-summary-identity .button {
  width: auto;
  min-height: 38px;
  padding-inline: 15px;
  box-shadow: none;
}
.profile-page .profile-summary-index {
  display: none;
}
.profile-page .profile-summary-section {
  margin-bottom: 34px;
  padding-bottom: 28px;
  border-bottom: 1px solid #edf2ef;
}
.profile-page .profile-summary-section-heading {
  gap: 0;
  margin-bottom: 17px;
}
.profile-page .profile-summary-grid {
  grid-template-columns: 1fr;
  gap: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.profile-page .profile-summary-grid > div {
  display: grid;
  grid-template-columns: minmax(135px, .65fr) minmax(0, 1.35fr);
  align-items: baseline;
  gap: 18px;
  min-height: 0;
  padding: 12px 10px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #f0f4f1;
  border-radius: 0;
}
.profile-page .profile-summary-grid > div:last-child {
  border-bottom: 0;
}
.profile-page .profile-summary-attachments {
  padding: 0 0 2px;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.profile-page .profile-attachments-list {
  grid-template-columns: 1fr;
  gap: 0;
}
.profile-page .profile-attachments-list > div {
  padding: 11px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #f0f4f1;
  border-radius: 0;
}
.profile-page .profile-attachments-list > div:last-child {
  border-bottom: 0;
}
@media (max-width: 700px) {
  .profile-page .profile-summary-layout {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .profile-page .profile-summary-identity {
    padding-bottom: 28px;
    border-bottom: 1px solid #edf2ef;
  }
  .profile-page .profile-summary-grid > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

.profile-page .profile-summary-avatar {
  display: grid;
  place-items: center;
}
.profile-page .profile-avatar-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
}
.profile-page .profile-avatar-icon[hidden] {
  display: none;
}
.profile-page .profile-avatar-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}
.profile-page .profile-language-preference {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: -16px 0 18px;
  padding: 13px 10px;
  border-top: 1px solid #edf2ef;
  border-bottom: 1px solid #edf2ef;
}
.profile-page .profile-language-preference h3 {
  margin: 0 0 4px;
  color: #17362e;
  font-size: .92rem;
}
.profile-page .profile-language-preference p {
  margin: 0;
  color: #71817b;
  font-size: .78rem;
}
.profile-page .profile-language-select {
  min-width: 136px;
  padding: 9px 30px 9px 11px;
  color: #17362e;
  background-color: #f4faf6;
  border: 1px solid #dcebe3;
  border-radius: 8px;
  font: inherit;
  font-size: .78rem;
  font-weight: 700;
}
@media (max-width: 700px) {
  .profile-page .profile-language-preference {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .profile-page .profile-language-select {
    width: 100%;
  }
}
.profile-page .profile-details-heading-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-left: auto;
}
.profile-page .profile-details-heading h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
}
.profile-page .profile-edit-progress {
  height: 7px;
  overflow: hidden;
  margin-bottom: 26px;
  background: #e1eee7;
  border-radius: 99px;
}
.profile-page .profile-edit-progress-fill {
  display: block;
  width: 33.333%;
  height: 100%;
  background: #007a5c;
  border-radius: inherit;
  transition: width .22s ease;
}
.profile-page .profile-edit-review {
  margin: 0;
  padding: 18px;
  color: #36574c;
  background: #f4faf6;
  border-radius: 10px;
}
.profile-page .profile-details-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.profile-page .profile-details-actions .button {
  min-height: 34px;
  padding: 7px 14px;
  border-radius: 7px;
  font-size: .74rem;
}
.profile-page .profile-attachments-form-grid {
  grid-template-columns: 1fr;
  gap: 14px;
}
.profile-page .profile-attachments-form-grid .profile-file-field {
  padding: 18px;
  background: #f7fbf8;
  border: 1px solid #dceae2;
  border-radius: 10px;
}
.profile-page .profile-attachments-form-grid .profile-file-field > span:first-child {
  display: block;
  margin-bottom: 11px;
  color: #24483c;
  font-size: .8rem;
}
.profile-page .profile-file-picker {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  padding: 11px 14px;
  color: #31564a;
  background: #fff;
  border: 1px dashed #a9cabc;
  border-radius: 9px;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease;
}
.profile-page .profile-file-picker:hover,
.profile-page .profile-file-picker:focus-within {
  background: #f4fbf7;
  border-color: #007a5c;
}
.profile-page .profile-file-picker-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  color: #007a5c;
  background: #e3f3ea;
  border-radius: 50%;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
}
.profile-page .profile-file-picker-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.profile-page .profile-file-picker-copy strong {
  color: #1e493b;
  font-size: .78rem;
}
.profile-page .profile-file-picker-copy em {
  overflow: hidden;
  color: #82928b;
  font-size: .7rem;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-page .profile-file-picker input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  opacity: 0;
}

/* Perfil: cabeçalho limpo e área de bens sem cartão lateral. */
.profile-page .profile-hero {
  border: 0;
  box-shadow: none;
}
.profile-page .profile-hero h1 {
  font-size: clamp(1.7rem, 3.1vw, 2.35rem);
}
.profile-page .profile-grid,
.profile-page .profile-stack,
.profile-page .profile-stack .items-panel {
  display: block;
  width: 100%;
  max-width: none;
}
.profile-page .profile-grid {
  grid-template-columns: 1fr;
  gap: 0;
}
.profile-page.profile-page .profile-grid {
  display: block;
  grid-template-columns: 1fr;
  width: 100%;
}
.profile-page.profile-page .profile-stack {
  display: block;
  width: 100%;
}
.profile-page.profile-page .profile-menu-popover a,
.profile-page.profile-page .profile-menu-popover button,
.profile-page.profile-page .profile-menu-action {
  color: #40514b;
}
.profile-page.profile-page .profile-menu-popover a:hover,
.profile-page.profile-page .profile-menu-popover button:hover {
  color: #004f3f;
}
.profile-page.profile-page .profile-menu-popover .profile-menu-logout {
  color: var(--danger);
}
@media (max-width: 700px) {
  .profile-page .profile-details-actions { flex-wrap: wrap; }
}
.profile-page .profile-renewal {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.profile-page .profile-renewal p {
  margin: 0;
  color: #62766e;
  font-size: .78rem;
  font-weight: 650;
  white-space: nowrap;
}
.profile-page .profile-renewal-button {
  min-height: 32px;
  padding: 6px 11px;
  color: #006b50;
  border-color: #b8d8ca;
  font-size: .72rem;
}
@media (max-width: 800px) {
  .profile-page .profile-details-heading,
  .profile-page .profile-details-heading-actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .profile-page .profile-details-heading-actions {
    margin-left: 0;
  }
  .profile-page .profile-renewal {
    align-items: flex-start;
    flex-direction: column;
  }
  .profile-page .profile-renewal p {
    white-space: normal;
  }
}

/* Inventory actions stay visually light: the glyphs are the controls. */
.profile-page.profile-page .item-actions .item-view-button,
.profile-page.profile-page .item-action-menu > summary {
  color: var(--green-dark);
  background: transparent;
  border: 0;
  border-radius: 6px;
  box-shadow: none;
}

.profile-page.profile-page .item-actions .item-view-button:hover,
.profile-page.profile-page .item-action-menu > summary:hover,
.profile-page.profile-page .item-action-menu[open] > summary {
  color: var(--green);
  background: transparent;
  border: 0;
  box-shadow: none;
  transform: scale(1.08);
}

.profile-page .item-action-popover {
  min-width: 178px;
  padding: 6px;
}

.profile-page .items-panel,
.profile-page .items-list,
.profile-page .item-card,
.profile-page .item-action-menu {
  overflow: visible;
}

.profile-page .item-card {
  position: relative;
}

.profile-page .item-card:has(.item-action-menu[open]) {
  z-index: 40;
}

.profile-page .item-action-menu[open] {
  z-index: 50;
}

.profile-page .item-action-menu[open] .item-action-popover {
  display: block;
  z-index: 60;
}

.profile-page .item-action-popover button {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 34px;
  padding: 0 10px;
  color: var(--ink-2);
  background: transparent;
  border: 0;
  border-radius: 6px;
  font-size: .7rem;
  font-weight: 550;
  text-align: left;
  cursor: pointer;
}

.profile-page .item-action-popover button:hover,
.profile-page .item-action-popover button:focus-visible {
  color: var(--green-dark);
  background: #eef7f2;
  outline: 0;
}

.profile-page .item-action-popover .item-action-danger {
  color: var(--danger);
}

.profile-page .item-action-popover .item-action-danger:hover,
.profile-page .item-action-popover .item-action-danger:focus-visible {
  color: #8f1f17;
  background: #fff1ef;
}

.profile-page.profile-page .item-action-menu > summary {
  color: var(--green-dark);
  background: transparent;
  border: 0;
  box-shadow: none;
}

.profile-page.profile-page .item-action-menu {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.profile-page dialog {
  width: min(620px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  padding: 0;
  background: transparent;
  border: 0;
  overflow: visible;
}

.profile-page dialog::backdrop {
  background: rgba(10, 30, 24, .48);
  backdrop-filter: blur(3px);
}

.profile-page dialog .dialog-card {
  width: 100%;
  max-height: calc(100dvh - 40px);
  padding: 26px;
  background: #fff;
  border: 1px solid #dce6e1;
  border-radius: 14px;
  box-shadow: 0 26px 70px rgba(10, 30, 24, .22);
  overflow: auto;
}

.profile-page .item-view-dialog {
  width: min(900px, calc(100% - 32px));
}

.profile-page .item-dialog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.profile-page .item-dialog-heading h2 {
  margin: 0;
  font-size: 1.45rem;
}

.profile-page .item-dialog-kicker {
  display: block;
  margin-bottom: 5px;
  color: var(--green);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.profile-page .item-dialog-close {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  font-size: 1.45rem;
  cursor: pointer;
}

.profile-page .item-view-layout {
  display: grid;
  grid-template-columns: minmax(230px, 300px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.profile-page .item-view-photo-column {
  min-width: 0;
}

.profile-page .item-view-photo {
  display: grid;
  place-items: center;
  min-height: 230px;
  overflow: hidden;
  color: var(--muted);
  background: #f1f4f2;
  border: 1px solid #dce4e0;
  border-radius: 10px;
  text-align: center;
}

.profile-page .item-view-photo img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
}

.profile-page .item-view-more-images {
  width: 100%;
  min-height: 40px;
  margin-top: 10px;
  padding-inline: 12px;
  font-size: .78rem;
}

.profile-page .item-view-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
}

.profile-page .item-view-content {
  min-width: 0;
}

.profile-page .item-view-details div {
  min-width: 0;
  padding: 12px 0;
  border-bottom: 1px solid #e7eeea;
}

.profile-page .item-view-details div:nth-child(odd) {
  padding-right: 18px;
}

.profile-page .item-view-details .item-view-description {
  grid-column: 1 / -1;
  padding-right: 0;
}

.profile-page .item-view-details div {
  border-bottom: 0;
}

.profile-page .item-view-details dt {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 750;
  text-transform: uppercase;
}

.profile-page .item-view-details dd {
  margin: 0;
  color: var(--ink);
  font-weight: 650;
  overflow-wrap: anywhere;
}

.profile-page .item-view-attachments {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid #e7eeea;
}

.profile-page .item-view-attachments h3 {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 750;
  text-transform: uppercase;
}

.profile-page .item-view-attachment-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-page .item-view-attachment-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  min-height: 38px;
  padding: 7px 11px;
  color: var(--green-dark);
  background: #fff;
  border: 1px solid #b9d4c6;
  border-radius: 8px;
  font-size: .78rem;
  text-align: left;
  cursor: pointer;
}

.profile-page .item-view-attachment-button:hover,
.profile-page .item-view-attachment-button:focus-visible {
  background: #edf4f0;
  border-color: var(--green);
  outline: 0;
}

.profile-page .item-view-attachment-button svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.profile-page .item-view-attachment-button span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-page .item-gallery-dialog {
  width: min(760px, calc(100% - 32px));
}

.profile-page .item-gallery-card {
  width: 100%;
}

.profile-page .item-gallery-stage {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  gap: 12px;
  align-items: center;
  min-height: min(62vh, 540px);
  padding: 14px;
  background: #f1f4f2;
  border: 1px solid #dce4e0;
  border-radius: 10px;
}

.profile-page .item-gallery-stage img {
  width: 100%;
  max-height: min(58vh, 500px);
  object-fit: contain;
}

.profile-page .item-gallery-nav {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--green-dark);
  background: #fff;
  border: 1px solid #bdc9c3;
  border-radius: 50%;
  cursor: pointer;
}

.profile-page .item-gallery-nav:disabled {
  color: #a9b3af;
  cursor: not-allowed;
  opacity: .65;
}

.profile-page .item-gallery-nav svg {
  width: 19px;
  height: 19px;
}

.profile-page .item-gallery-nav svg path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.profile-page .item-gallery-counter {
  margin: 12px 0 0;
  color: var(--profile-muted);
  font-size: .78rem;
  text-align: center;
}

.profile-page dialog label {
  display: grid;
  gap: 7px;
  color: var(--ink-2);
  font-weight: 750;
}

.profile-page dialog input,
.profile-page dialog select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cad8d1;
  border-radius: 8px;
}

.profile-page .dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

.profile-page .button-danger {
  color: #fff;
  background: var(--danger);
  border-color: var(--danger);
}

@media (max-width: 680px) {
  .profile-page .item-view-layout,
  .profile-page .item-view-details {
    grid-template-columns: 1fr;
  }
  .profile-page .item-view-photo {
    min-height: 190px;
  }
  .profile-page .item-view-details div:nth-child(odd) {
    padding-right: 0;
  }
  .profile-page .dialog-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }
  .profile-page .dialog-actions .button {
    width: 100%;
  }
}

/* Keep the lost-state outline visible above the shared card rules. */
.profile-page .item-card.is-lost,
.profile-page .item-card[data-status="Perdido"],
.profile-page .item-card[data-status="Roubado"] {
  border: 1px solid #e3bdb2 !important;
}

.profile-page .profile-transfer-code {
  display: block;
  color: var(--green-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .9rem;
  font-weight: 850;
  letter-spacing: .14em;
}

.profile-page .profile-summary-transfer {
  width: 100%;
  margin-top: 10px;
}

.profile-page .profile-summary-transfer span {
  display: block;
  margin-bottom: 4px;
  color: var(--profile-muted);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.profile-page .existing-file-preview figcaption {
  margin-top: 5px;
  color: var(--profile-muted);
  font-size: .64rem;
  line-height: 1.3;
}

/* Nsokoti wordmark used consistently across the public and account surfaces. */
.brand-logo {
  display: block;
  width: 190px;
  height: auto;
  max-height: 64px;
  object-fit: contain;
}

.site-header .brand-logo {
  width: 220px;
  max-height: 68px;
  transform: translateX(-28px);
}

.site-header {
  background: #f6f8f7;
}

body:not(.profile-page) .lost-inner {
  background:
    linear-gradient(90deg, rgba(0, 79, 63, .98) 0%, rgba(0, 90, 70, .94) 22%, rgba(0, 117, 88, .68) 48%, rgba(0, 122, 92, .36) 72%, rgba(0, 79, 63, .16) 100%),
    linear-gradient(180deg, rgba(0, 122, 92, .18), rgba(0, 79, 63, .22)),
    url("./assets/found-item-student.png") center right / cover no-repeat,
    #004f3f;
}

body:not(.profile-page) .lost-inner .button-primary {
  color: #004f3f;
  background: #fff;
  border-color: #fff;
}

body:not(.profile-page) .lost-inner .button-primary:hover {
  color: #fff;
  background: #004f3f;
  border-color: #004f3f;
}

body:not(.profile-page) .step-card p,
body:not(.profile-page) .benefits-grid p,
body:not(.profile-page) .types-grid article,
body:not(.profile-page) .privacy-grid p,
body:not(.profile-page) details p {
  color: #4b5b56;
}

body:not(.profile-page) details summary {
  color: #263a35;
}

body:not(.profile-page) .search-box:focus-within {
  background: #fff;
  border-color: transparent;
  box-shadow: none;
}

body:not(.profile-page) .search-box input::placeholder {
  color: #667570;
}

.profile-page .profile-header .brand {
  gap: 0;
}

.profile-page .profile-header .brand-logo {
  width: 128px;
  max-height: 48px;
}

.auth-aside-logo {
  display: block;
  width: min(220px, 100%);
  height: auto;
  max-height: 92px;
  margin-bottom: 30px;
  object-fit: contain;
  object-position: left center;
}

@media (max-width: 680px) {
  .brand-logo {
    width: 160px;
    max-height: 56px;
  }

  .site-header .brand-logo {
    width: 180px;
    max-height: 56px;
    transform: none;
  }

  body:not(.profile-page) .lost-inner {
    background:
      linear-gradient(90deg, rgba(0, 79, 63, .98), rgba(0, 104, 78, .9)),
      linear-gradient(180deg, rgba(0, 122, 92, .18), rgba(0, 79, 63, .22)),
      url("./assets/found-item-student.png") center right 28% / cover no-repeat,
      #004f3f;
  }

  .profile-page .profile-header .brand-logo {
    width: 112px;
    max-height: 42px;
  }

  .auth-aside-logo {
    width: min(185px, 100%);
    max-height: 78px;
    margin-bottom: 20px;
  }
}

/* Profile navbar visual adjustments. */
.profile-page .profile-header {
  background: #f7faf9;
}

.profile-page .profile-header .brand-logo {
  width: 144px;
  max-height: 54px;
}

@media (max-width: 680px) {
  .profile-page .profile-header .brand-logo {
    width: 124px;
    max-height: 46px;
  }
}

.profile-page .items-heading-copy h2 {
  font-size: clamp(1.18rem, 1.8vw, 1.35rem);
}

/* Consistent, accessible validation feedback for every form. */
.form-validation-message {
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  width: 100%;
  margin: 8px 0 0;
  padding: 10px 12px;
  color: #85372f;
  background: #fff5f3;
  border: 1px solid #f0d5d1;
  border-left: 3px solid #bf4c40;
  border-radius: 8px;
  font-size: .76rem;
  font-weight: 600;
  line-height: 1.45;
}

.form-validation-icon {
  display: inline-grid;
  flex: 0 0 18px;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: #fff;
  background: #bf4c40;
  border-radius: 50%;
  font-size: .68rem;
  font-weight: 850;
  line-height: 1;
}

form input.is-invalid,
form select.is-invalid,
form textarea.is-invalid {
  border-color: #bf4c40 !important;
  box-shadow: 0 0 0 3px rgba(191, 76, 64, .1) !important;
}

form input.is-invalid[type="checkbox"],
form input.is-invalid[type="radio"] {
  outline: 2px solid #bf4c40;
  outline-offset: 2px;
  box-shadow: none !important;
}

.check-row .form-validation-message,
.user-type .form-validation-message {
  flex: 1 0 100%;
}

.cadastro-shell .phone-input,
.registration-form .phone-input,
.profile-page .phone-input,
.profile-page .profile-phone-input {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  width: 100%;
  min-height: 50px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #cedbd4;
  border-radius: 9px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.cadastro-shell .phone-input:focus-within,
.registration-form .phone-input:focus-within,
.profile-page .phone-input:focus-within,
.profile-page .profile-phone-input:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(0, 122, 92, .11);
}

.cadastro-shell .phone-input .phone-prefix,
.registration-form .phone-input .phone-prefix,
.profile-page .phone-input .phone-prefix,
.profile-page .profile-phone-input .phone-prefix {
  margin-left: 10px;
  padding: 8px 11px 8px 0;
  color: var(--green-dark);
  border-right: 1px solid #d7e2dd;
  font-size: .8rem;
  font-weight: 750;
  line-height: 1;
}

.cadastro-shell .phone-input input[data-phone-local],
.registration-form .phone-input input[data-phone-local],
.profile-page .phone-input input[data-phone-local],
.profile-page .profile-phone-input input[data-phone-local] {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #344943;
  font-size: .84rem;
  font-weight: 600;
  box-shadow: none;
}

.cadastro-shell .phone-input input[data-phone-local]::placeholder,
.registration-form .phone-input input[data-phone-local]::placeholder,
.profile-page .phone-input input[data-phone-local]::placeholder,
.profile-page .profile-phone-input input[data-phone-local]::placeholder {
  color: #87938e;
  opacity: 1;
}

.cadastro-shell .phone-input input[data-phone-local]:focus,
.registration-form .phone-input input[data-phone-local]:focus,
.profile-page .phone-input input[data-phone-local]:focus,
.profile-page .profile-phone-input input[data-phone-local]:focus {
  border: 0;
  box-shadow: none;
}

.cadastro-shell .phone-input:has(input.is-invalid),
.registration-form .phone-input:has(input.is-invalid),
.profile-page .phone-input:has(input.is-invalid),
.profile-phone-input:has(input.is-invalid) {
  border-color: #bf4c40;
}

/* Keep the desktop navigation aligned with the hero without shrinking the wordmark. */
@media (min-width: 681px) {
  .site-header {
    min-height: 53px;
    padding: 4px clamp(24px, 7vw, 112px);
  }

  .site-header .brand {
    height: 44px;
  }

  .site-header .brand-logo {
    transform: translateX(-35px);
  }

  .hero {
    min-height: min(760px, calc(100svh - 53px));
  }
}

@media (max-width: 680px) {
  .profile-page .items-heading-copy h2 {
    font-size: 1.1rem;
  }
}

.profile-page .profile-grid > .items-pagination {
  margin-top: 8px;
  padding-right: clamp(22px, 3vw, 32px);
}

@media (max-width: 760px) {
  .profile-page .profile-grid > .items-pagination {
    margin-top: 6px;
    padding-right: 14px;
  }
}

/* Item details use light divider lines between descriptive fields. */
.profile-page .item-view-details > div {
  border-bottom: 1px solid #e7eeea !important;
}

.profile-page .item-view-details dd {
  font-size: 0.9rem;
  font-weight: 400;
}
