:root {
  --ink: #223a3a;
  --muted: #73827b;
  --green: #226953;
  --light: #edf3ed;
  --sand: #f6f5ef;
  --line: #e3e7df;
  --nav: #173e37;
  --gold: #e8bd78;
  --red: #aa514d;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 14px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
a {
  color: var(--green);
}
button {
  border: 0;
  background: none;
  color: inherit;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
.serif {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
h1 {
  font-size: 39px;
  letter-spacing: -1.1px;
  margin-bottom: 10px;
}
h2 {
  font-size: 28px;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 16px;
}
.layout {
  display: grid;
  grid-template-columns: 218px 1fr;
  min-height: 100vh;
}
.sidebar {
  background: var(--nav);
  color: #d9e6dd;
  padding: 30px 19px;
  position: fixed;
  top: 0;
  bottom: 0;
  width: 218px;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 50px;
  font-family: Georgia, serif;
  font-size: 24px;
  color: #fff;
}
.brandmark {
  font-family: Georgia;
  font-size: 42px;
  color: var(--gold);
  line-height: 0.8;
}
.workspace-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #9caf9f;
  margin: 0 12px 16px;
}
.nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nav button {
  text-align: left;
  padding: 13px 14px;
  border-radius: 7px;
  color: #c6d6ce;
  display: flex;
  gap: 12px;
  align-items: center;
}
.nav button:hover {
  background: #ffffff0b;
}
.nav button.active {
  background: #ffffff13;
  color: #fff;
}
.nav .symbol {
  font-size: 19px;
  width: 20px;
  text-align: center;
}
.sidebar-bottom {
  margin-top: auto;
  border-top: 1px solid #ffffff18;
  padding: 22px 9px 0;
}
.sidebar-bottom p {
  font-size: 11px;
  color: #aabeb0;
  line-height: 1.65;
}
.operator {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 23px;
  font-size: 12px;
}
.avatar {
  border-radius: 50%;
  background: #d8e7da;
  color: var(--nav);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
}
.operator small {
  display: block;
  color: #aabeb0;
  margin-top: 3px;
}
.main {
  grid-column: 2;
  min-width: 0;
}
.topbar {
  height: 68px;
  background: #fbfcf9;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  gap: 20px;
}
.crumb {
  font-size: 12px;
  color: var(--muted);
}
.crumb strong {
  font-weight: 500;
  color: var(--ink);
}
.preview-switch {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: var(--muted);
}
.switch {
  display: flex;
  background: #eaf0e8;
  padding: 3px;
  border-radius: 7px;
}
.switch button {
  padding: 7px 13px;
  border-radius: 5px;
  font-size: 11px;
}
.switch button.active {
  background: white;
  box-shadow: 0 1px 3px #20352918;
  color: var(--green);
}
.preview-strip {
  background: #f0ede2;
  color: #73694b;
  padding: 8px 36px;
  font-size: 11px;
  display: flex;
  justify-content: space-between;
}
.preview-strip span:last-child {
  color: #8e856c;
}
.content {
  max-width: 1600px;
  margin: 0 auto;
  padding: 32px 36px 48px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.muted {
  color: var(--muted);
}
.lede {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 650px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}
.btn {
  padding: 11px 17px;
  border-radius: 7px;
  background: white;
  border: 1px solid #dbe1d6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.btn:hover {
  border-color: var(--green);
  background: #f8faf6;
}
.btn.primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.btn.primary:hover {
  background: #17563f;
}
.btn.small {
  padding: 8px 12px;
}
.btn.ghost {
  background: transparent;
}
.btn.danger {
  color: var(--red);
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.spread {
  justify-content: space-between;
}
.wrap {
  flex-wrap: wrap;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.stat {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 22px;
}
.stat .number {
  font-size: 30px;
  font-family: Georgia, serif;
  margin: 12px 0 5px;
}
.stat .label {
  font-size: 12px;
  color: var(--muted);
}
.stat small {
  color: var(--muted);
  font-size: 11px;
}
.feature {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: #e7eee2;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 30px;
  border: 1px solid #dde7d7;
  min-height: 240px;
}
.feature-copy {
  padding: 33px;
}
.feature h2 {
  font-size: 32px;
  max-width: 420px;
  margin-bottom: 12px;
}
.feature p {
  line-height: 1.65;
  color: #667663;
  max-width: 420px;
  font-size: 13px;
}
.feature-art {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
}
.feature-art:before {
  content: "";
  position: absolute;
  border: 1px solid #b6c9a966;
  border-radius: 50%;
  width: 340px;
  height: 340px;
}
.mini-photo {
  width: 135px;
  height: 176px;
  border: 7px solid #fff;
  background: #c6d5c2;
  box-shadow: 0 8px 20px #29432917;
  border-radius: 8px;
  transform: rotate(-7deg);
  position: relative;
  object-fit: cover;
}
.mini-photo:nth-child(2) {
  transform: rotate(7deg);
  margin-top: 36px;
}
.feature-art .connector {
  position: absolute;
  background: #fdfdf7;
  border-radius: 50%;
  padding: 12px;
  z-index: 1;
  color: var(--green);
  box-shadow: 0 3px 15px #213d3512;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 23px;
  margin-bottom: 22px;
}
.panel h2 {
  font-size: 23px;
  margin-bottom: 6px;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.subtle {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th {
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
  padding: 13px 12px;
  background: #fafbf8;
  white-space: nowrap;
}
td {
  padding: 15px 12px;
  border-top: 1px solid #eef0ea;
  font-size: 12px;
}
td:first-child {
  font-weight: 500;
}
.pill {
  display: inline-flex;
  padding: 5px 9px;
  background: #eaf2e8;
  color: #49724c;
  font-size: 10px;
  border-radius: 5px;
  line-height: 1.4;
}
.pill.gold {
  background: #f6efdf;
  color: #977b41;
}
.pill.neutral {
  background: #f0f1ec;
  color: #7b8175;
}
.pill.red {
  background: #fbefec;
  color: #a75d50;
}
.search-layout {
  display: grid;
  grid-template-columns: 222px minmax(0, 1fr);
  gap: 24px;
}
.filters {
  align-self: start;
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 20px;
  position: sticky;
  top: 20px;
}
.filters h3 {
  margin-bottom: 20px;
  font-size: 13px;
}
.label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  margin: 17px 0 7px;
}
.input,
select,
textarea {
  width: 100%;
  padding: 10px 11px;
  border: 1px solid #dce2d7;
  background: #fff;
  border-radius: 6px;
  color: var(--ink);
  font-size: 12px;
  min-width: 0;
}
.input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #b7d4c2;
  border-color: var(--green);
}
textarea {
  resize: vertical;
  line-height: 1.6;
  min-height: 110px;
}
.filters .check {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  margin-top: 16px;
  color: #687566;
}
.check input {
  accent-color: var(--green);
}
.search-input-wrap {
  position: relative;
  flex: 1;
}
.search-input {
  padding: 13px 15px 13px 38px;
  background: #fff;
}
.search-icon {
  position: absolute;
  left: 14px;
  top: 11px;
  font-size: 21px;
  color: #96a08e;
}
.search-toolbar {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}
.search-toolbar select {
  width: 132px;
}
.resultbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  margin: 17px 0;
}
.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}
.profile-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.profile-card:hover {
  box-shadow: 0 8px 24px #233b3110;
  transform: translateY(-2px);
}
.photo-wrap {
  height: 205px;
  position: relative;
  overflow: hidden;
  background: #e4ebe0;
  cursor: pointer;
}
.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
.photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #80957c;
  font-family: Georgia;
  font-size: 55px;
  background: linear-gradient(135deg, #e4ebdd, #d2dfce);
}
.photo-wrap .photo-pill {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: #fffffff0;
  backdrop-filter: blur(4px);
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 4px;
}
.compare-check {
  position: absolute;
  right: 10px;
  top: 10px;
  border-radius: 5px;
  background: #fffffff0;
  width: 27px;
  height: 27px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.compare-check input {
  accent-color: var(--green);
}
.card-body {
  padding: 16px;
}
.card-name {
  font-family: Georgia, serif;
  font-size: 21px;
  font-weight: 400;
  margin: 0 0 6px;
  cursor: pointer;
}
.card-meta {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 13px;
  line-height: 1.5;
}
.card-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 13px;
}
.card-about {
  font-size: 12px;
  color: #788172;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 40px;
  margin-bottom: 14px;
}
.card-bottom {
  border-top: 1px solid #eff1eb;
  padding-top: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.text-link {
  font-size: 11px;
  font-weight: 500;
  color: var(--green);
  padding: 0;
}
.file-hint {
  font-size: 10px;
  color: #8a9486;
}
.match-hint {
  font-size: 10px;
  padding: 8px 0 0;
  color: #a17a3e;
}
.compare-bar {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-35%);
  border-radius: 10px;
  background: var(--nav);
  color: white;
  padding: 13px 20px;
  display: flex;
  gap: 25px;
  align-items: center;
  box-shadow: 0 6px 28px #0002;
  z-index: 5;
}
.empty {
  text-align: center;
  padding: 55px 25px;
  color: var(--muted);
  line-height: 1.8;
}
.empty h2 {
  color: var(--ink);
}
.empty .symbol {
  font-size: 37px;
  display: block;
  margin-bottom: 15px;
}
.backdrop {
  position: fixed;
  inset: 0;
  background: #0d251e65;
  z-index: 20;
  display: flex;
  justify-content: flex-end;
  backdrop-filter: blur(3px);
}
.drawer {
  background: var(--sand);
  width: 810px;
  max-width: 96vw;
  overflow: auto;
  height: 100%;
  padding: 25px 31px 45px;
  box-shadow: -10px 0 70px #12261f26;
}
.drawer.wide {
  width: 1100px;
}
.drawer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  font-size: 12px;
}
.close {
  font-size: 26px;
  line-height: 1;
  padding: 4px 7px;
}
.profile-hero {
  display: flex;
  gap: 26px;
  align-items: center;
  margin-bottom: 24px;
}
.hero-photo {
  width: 147px;
  height: 175px;
  object-fit: cover;
  object-position: center 25%;
  border-radius: 9px;
  flex-shrink: 0;
}
.profile-hero h1 {
  font-size: 34px;
  margin-bottom: 10px;
}
.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 27px;
}
.detail .key {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 5px;
}
.detail .value {
  font-size: 13px;
  line-height: 1.65;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.detail.full {
  grid-column: 1/-1;
}
.section-title {
  font-size: 17px;
  margin-bottom: 20px;
  font-family: Georgia, serif;
  font-weight: 400;
}
.file-row {
  padding: 12px 0;
  border-bottom: 1px solid #edf0e8;
  display: flex;
  align-items: center;
  gap: 13px;
}
.file-icon {
  width: 37px;
  height: 42px;
  border-radius: 5px;
  background: #eef3e8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #77936c;
}
.file-row .file-title {
  font-size: 12px;
  flex: 1;
  overflow-wrap: anywhere;
}
.file-row small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 5px;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.compare-photo {
  height: 230px;
  width: 100%;
  object-fit: cover;
  object-position: center 25%;
  border-radius: 8px;
  margin-bottom: 15px;
}
.checks {
  display: grid;
  gap: 7px;
  margin: 16px 0;
}
.check-result {
  background: #f6f8f2;
  border-radius: 5px;
  padding: 10px 12px;
  font-size: 11px;
  display: flex;
  gap: 9px;
  align-items: flex-start;
}
.check-result small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}
.pass {
  color: #488154;
}
.fail {
  color: var(--red);
}
.unknown {
  color: #ab934f;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
.form-grid .wide {
  grid-column: 1/-1;
}
.form-grid .label {
  margin-top: 15px;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 24px;
}
.single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(270px, 1fr);
  gap: 24px;
}
.single-welcome {
  margin-bottom: 29px;
}
.single-photo {
  width: 92px;
  height: 110px;
  object-fit: cover;
  border-radius: 8px;
}
.single-profile-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}
.single-profile-header h2 {
  margin-bottom: 7px;
}
.privacy-note {
  background: #edf2e6;
  padding: 17px 20px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.8;
  color: #687e5b;
}
.timeline {
  border-left: 1px solid #dce4d4;
  margin: 20px 0 5px 7px;
  padding-left: 20px;
}
.timeline p {
  position: relative;
  font-size: 12px;
  line-height: 1.8;
  margin-bottom: 22px;
}
.timeline p:before {
  content: "";
  position: absolute;
  left: -25px;
  top: 6px;
  width: 8px;
  height: 8px;
  background: #71966c;
  border-radius: 50%;
}
.intro-photo {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center 25%;
  border-radius: 8px;
  margin-bottom: 16px;
}
.intro-card {
  padding: 20px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
}
.intro-card h2 {
  margin-bottom: 8px;
}
.intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.status-step {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  color: var(--muted);
  padding: 12px 0;
}
.status-step b {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8eee2;
  border-radius: 50%;
  font-size: 10px;
  color: var(--green);
}
.progress {
  height: 6px;
  background: #ebeee5;
  border-radius: 9px;
  overflow: hidden;
  margin: 12px 0;
}
.progress div {
  height: 100%;
  background: #91b281;
}
.issue {
  background: #fcf3e6;
  border: 1px solid #ead9b8;
  border-radius: 8px;
  padding: 16px;
  font-size: 12px;
  line-height: 1.7;
  color: #8f7849;
}
.loading {
  padding: 70px;
  text-align: center;
  color: var(--muted);
}
#toast {
  position: fixed;
  bottom: 26px;
  right: 26px;
  max-width: 420px;
  background: #1a493c;
  color: white;
  border-radius: 8px;
  padding: 14px 20px;
  box-shadow: 0 6px 25px #0002;
  z-index: 50;
  opacity: 0;
  transform: translateY(10px);
  transition: 0.2s;
  pointer-events: none;
  font-size: 12px;
  line-height: 1.6;
}
#toast.show {
  opacity: 1;
  transform: none;
}
details summary {
  cursor: pointer;
  font-size: 12px;
  color: var(--green);
  padding: 8px 0;
}
code {
  font-size: 11px;
  background: #f4f5f0;
  padding: 2px 4px;
  border-radius: 3px;
}
.field-search {
  max-width: 320px;
}
.migration-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.mb0 {
  margin-bottom: 0;
}
.mt16 {
  margin-top: 16px;
}
.mt24 {
  margin-top: 24px;
}
.fullwidth {
  width: 100%;
}
.file-input {
  display: none;
}
@media (min-width: 1650px) {
  .photo-wrap {
    height: 260px;
  }
}
@media (max-width: 1200px) {
  .profile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .content {
    padding: 28px 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .preview-strip {
    padding: 8px 25px;
  }
  .feature-art .mini-photo {
    width: 115px;
    height: 160px;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 17px;
  }
  .single-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(230px, 1fr);
  }
}
@media (max-width: 900px) {
  .layout {
    grid-template-columns: 76px 1fr;
  }
  .sidebar {
    width: 76px;
    padding: 25px 10px;
  }
  .brand {
    justify-content: center;
  }
  .brand span:last-child,
  .workspace-label,
  .nav .nav-label,
  .sidebar-bottom {
    display: none;
  }
  .nav button {
    justify-content: center;
    padding: 13px 8px;
  }
  .feature {
    grid-template-columns: 1fr;
  }
  .feature-art {
    display: none;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .search-layout {
    grid-template-columns: 185px minmax(0, 1fr);
    gap: 16px;
  }
  .single-layout,
  .migration-grid {
    grid-template-columns: 1fr;
  }
  .preview-switch > span {
    display: none;
  }
  .preview-strip span:last-child {
    display: none;
  }
  .compare-bar {
    left: 50%;
    transform: translateX(-45%);
    max-width: 85vw;
    gap: 12px;
  }
  .profile-hero h1 {
    font-size: 27px;
  }
}
.search-context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  margin-bottom: 20px;
  border: 1px solid #c9d7cf;
  border-left: 4px solid #244d3b;
  border-radius: 12px;
  background: #fff;
}
.search-context strong {
  display: block;
  font-size: 20px;
}
.publication-panel {
  border-left: 4px solid #244d3b;
}
.entry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.compare-check[hidden] {
  display: none;
}
.split > div {
  min-width: 0;
}
.split .panel {
  padding: 16px;
  margin-top: 20px;
}
.split .details-grid {
  grid-template-columns: 1fr;
}
[role="button"]:focus-visible {
  outline: 3px solid #a47f35;
  outline-offset: 3px;
}
@media (max-width: 620px) {
  .entry-grid {
    grid-template-columns: 1fr;
  }
  .search-context {
    flex-wrap: wrap;
  }
  .preview-switch {
    flex-wrap: wrap;
    gap: 8px;
  }
  .topbar {
    min-height: 80px;
    height: auto;
    padding-block: 10px;
  }
  h1 {
    font-size: 30px;
  }
  .content {
    padding: 24px 17px;
  }
  .topbar {
    padding: 0 17px;
    min-height: 80px;
    height: auto;
    padding-block: 10px;
  }
  .preview-strip {
    padding: 7px 17px;
  }
  .crumb {
    display: none;
  }
  .preview-switch {
    width: 100%;
    justify-content: space-between;
  }
  .preview-switch > span {
    display: block;
  }
  .search-layout {
    display: flex;
    flex-direction: column;
  }
  .filters {
    position: static;
    width: 100%;
    padding: 15px;
  }
  .filters .filter-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 12px;
  }
  .filters .label {
    margin-top: 9px;
  }
  .profile-grid {
    grid-template-columns: 1fr;
  }
  .photo-wrap {
    height: 330px;
  }
  .search-toolbar {
    flex-wrap: wrap;
  }
  .search-toolbar select {
    width: 110px;
  }
  .page-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .stats {
    gap: 9px;
  }
  .stat {
    padding: 14px;
  }
  .stat .number {
    font-size: 26px;
  }
  .feature-copy {
    padding: 23px;
  }
  .feature h2 {
    font-size: 27px;
  }
  .drawer {
    padding: 20px 18px;
  }
  .profile-hero {
    gap: 15px;
  }
  .hero-photo {
    width: 105px;
    height: 140px;
  }
  .details-grid,
  .form-grid,
  .split,
  .intro-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .wide,
  .detail.full {
    grid-column: auto;
  }
  .panel {
    padding: 18px;
  }
  .single-profile-header {
    gap: 13px;
  }
  .single-profile-header h2 {
    font-size: 22px;
  }
  .compare-bar {
    font-size: 11px;
    bottom: 12px;
    padding: 10px;
    max-width: 95vw;
  }
  .compare-bar .btn {
    padding: 7px 10px;
  }
  .switch button {
    padding: 7px 9px;
  }
}

.preview-switch{flex-wrap:wrap;justify-content:flex-end}.preview-switch select{max-width:240px}.topbar{gap:12px;flex-wrap:wrap}@media(max-width:720px){.preview-switch{justify-content:flex-start;width:100%}.preview-switch select{max-width:100%;flex:1;min-width:120px}}

.entry-card{max-width:640px;margin:10vh auto;padding:32px;background:white;border:1px solid var(--line);border-radius:20px}.account-entry{max-width:860px}.entry-card .brand{margin-bottom:28px}.import-review{display:grid;grid-template-columns:minmax(220px,.7fr) minmax(0,1fr);gap:24px}.source-review{align-self:start;position:sticky;top:12px}.source-review img{width:100%;height:auto;max-height:70vh;object-fit:contain}.preserve-lines{white-space:pre-wrap;overflow-wrap:anywhere}.import-field small{display:block;margin-top:6px}.btn:disabled{opacity:.5;cursor:not-allowed}.table-wrap{overflow-x:auto}@media(max-width:720px){.entry-card{margin:24px 12px;padding:20px}.import-review{grid-template-columns:1fr}.source-review{position:static}.source-review img{max-height:320px}}

.preference-autofill{margin-bottom:24px}.preference-autofill h2{font-size:1.125rem;margin-top:0}.preference-autofill select{max-width:320px}.suggestion-label{display:block;margin-top:8px;color:var(--forest,#214b41);font-size:.875rem}
