* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --teal-900: #123a36;
  --teal-800: #174741;
  --teal-700: #1b4d47;
  --teal-600: #24625b;
  --sand-100: #f5f1e8;
  --stone-100: #f7f7f4;
  --stone-200: #ebe9e2;
  --stone-300: #d9d4ca;
  --ink-900: #1d2624;
  --ink-700: #42504d;
  --white: #ffffff;
  --success-bg: #dcefe2;
  --success-text: #1c5a34;
  --error-bg: #f8dddf;
  --error-text: #8a2330;
  --warning-bg: #fbefcf;
  --warning-text: #8a6114;
  --shadow-soft: 0 18px 40px rgba(8, 24, 22, 0.14);
  --shadow-card: 0 10px 24px rgba(8, 24, 22, 0.12);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.1), transparent 32%),
    linear-gradient(180deg, #1d5952 0%, #174741 46%, #123a36 100%);
  color: var(--ink-900);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  line-height: 1.6;
  padding: 18px;
}

a {
  color: inherit;
}

header,
footer,
.home-container,
.results-container,
.about-container,
.contact-container,
.login-container,
.privacy-container,
.register-container,
.forgot-container,
.reset-container,
.my-page-container {
  width: min(1120px, 100%);
  margin: 0 auto;
}

header {
  margin-bottom: 18px;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: calc(var(--radius-lg) + 2px);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(8, 24, 22, 0.12);
}

.logo {
  flex: 0 0 auto;
}

.logo,
.logo a,
.logo img {
  background: transparent !important;
}

.logo img {
  display: block;
  height: 72px;
  width: auto;
}

nav {
  flex: 1 1 auto;
}

.nav-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  list-style: none;
}

.nav-menu li a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.nav-menu li a:hover {
  background-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.language-switcher {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.32);
}

.toast-stack {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 80;
  display: grid;
  gap: 12px;
  width: min(380px, calc(100vw - 32px));
  pointer-events: none;
}

.app-toast {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 14px 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 36px rgba(8, 24, 22, 0.2);
  color: var(--ink-900);
  font-weight: 800;
  pointer-events: auto;
  animation: toast-rise 0.2s ease-out;
}

.app-toast p {
  flex: 1 1 auto;
  margin: 0;
  color: inherit;
  line-height: 1.4;
}

.app-toast.success {
  background-color: var(--success-bg);
  color: var(--success-text);
  border: 1px solid #c4e2cd;
}

.app-toast.error {
  background-color: var(--error-bg);
  color: var(--error-text);
  border: 1px solid #efc3ca;
}

.app-toast.warning {
  background-color: var(--warning-bg);
  color: var(--warning-text);
  border: 1px solid #f4de9c;
}

.app-toast.info {
  background-color: #e4eef6;
  color: #224b68;
  border: 1px solid #c8dceb;
}

.app-toast.is-hiding {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.toast-dismiss {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(18, 58, 54, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  color: currentColor;
  cursor: pointer;
  font: inherit;
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
}

.toast-dismiss:hover,
.toast-dismiss:focus-visible {
  background: rgba(255, 255, 255, 0.78);
  outline: none;
}

.fallback-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: min(420px, calc(100vw - 32px));
  padding: 18px;
  border: 1px solid rgba(128, 96, 24, 0.2);
  border-radius: 18px;
  background: rgba(255, 250, 232, 0.96);
  box-shadow: 0 22px 46px rgba(19, 41, 38, 0.2);
  color: #46360f;
  animation: toast-rise 0.22s ease-out;
}

.fallback-toast strong {
  display: block;
  margin-bottom: 5px;
  color: #2f250b;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fallback-toast p {
  margin: 0;
  line-height: 1.45;
}

.toast-close {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid rgba(70, 54, 15, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #46360f;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 24, 22, 0.58);
}

.register-modal {
  position: relative;
  width: min(460px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 28px 70px rgba(8, 24, 22, 0.32);
  animation: toast-rise 0.18s ease-out;
}

.register-modal h2 {
  margin: 4px 42px 8px 0;
  color: var(--ink-900);
  font-size: 1.9rem;
  line-height: 1.15;
}

.modal-intro,
.modal-footer-text {
  color: var(--ink-700);
  line-height: 1.45;
}

.modal-intro {
  margin-bottom: 18px;
}

.modal-form {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.modal-form input[type="submit"] {
  width: 100%;
}

.modal-footer-text {
  margin: 16px 0 0;
  text-align: center;
}

.modal-footer-text a {
  color: var(--teal-700);
  font-weight: 800;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(18, 58, 54, 0.12);
  border-radius: 999px;
  background: rgba(239, 244, 242, 0.9);
  color: var(--ink-900);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.modal-close:hover,
.modal-close:focus-visible {
  background: var(--white);
  outline: 2px solid rgba(36, 98, 91, 0.18);
}

@keyframes toast-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-container,
.results-container,
.about-container,
.contact-container,
.login-container,
.privacy-container,
.register-container,
.forgot-container,
.reset-container,
.my-page-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: calc(100vh - 210px);
  padding: 20px 0 38px;
}

.home-card,
.results-card,
.about-card,
.contact-card,
.login-card,
.privacy-card,
.register-card,
.forgot-card,
.reset-card,
.my-page-card {
  width: 100%;
  margin: 0;
  padding: 34px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 247, 243, 0.98));
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(18, 58, 54, 0.08);
}

.home-card {
  max-width: 720px;
}

.search-home-card {
  max-width: 760px;
  text-align: center;
}

.results-card {
  position: relative;
  max-width: 1120px;
}

.about-card,
.contact-card,
.privacy-card {
  max-width: 840px;
}

.login-card,
.register-card,
.forgot-card,
.reset-card {
  max-width: 560px;
}

.my-page-card {
  max-width: 1120px;
}

h1 {
  margin-bottom: 16px;
  color: var(--ink-900);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 1.15;
}

p {
  color: var(--ink-700);
}

.lead-text {
  max-width: 58ch;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 6px;
  font-size: 1.02rem;
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--teal-600);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.company-meta {
  color: var(--ink-700);
  font-size: 0.96rem;
}

.about-card p + p,
.privacy-card p + p {
  margin-top: 14px;
}

.about-card ul,
.privacy-card ul {
  margin: 14px 0 18px 20px;
  color: var(--ink-700);
}

.about-card li + li,
.privacy-card li + li {
  margin-top: 8px;
}

.privacy-card h2 {
  margin-top: 26px;
  margin-bottom: 10px;
  color: var(--ink-900);
  font-size: 1.18rem;
}

.content-intro {
  max-width: 680px;
}

.contact-form textarea {
  min-height: 180px;
  resize: vertical;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

form {
  margin-top: 22px;
  padding: 24px;
  border: 1px solid var(--stone-300);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--stone-100), #f2efe8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.search-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 18px;
}

.search-home-grid form {
  margin-top: 18px;
  width: min(620px, 100%);
  text-align: center;
}

.search-home-grid .form-group {
  width: min(500px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.search-home-grid .form-group label {
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.search-home-grid .form-group input[type="text"],
.search-home-grid .form-group select {
  text-align: left;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink-900);
  font-size: 0.95rem;
  font-weight: 700;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #c4c0b7;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink-900);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal-600);
  box-shadow: 0 0 0 4px rgba(36, 98, 91, 0.12);
}

input[type="submit"],
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--teal-600), var(--teal-700));
  color: var(--white);
  cursor: pointer;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  box-shadow: 0 10px 20px rgba(27, 77, 71, 0.22);
}

.inline-action-form {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.inline-action-form input[type="submit"] {
  min-height: 46px;
}

input[type="submit"]:hover,
.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.login-card p,
.register-card p,
.forgot-card p,
.reset-card p {
  margin-top: 14px;
}

.login-card a,
.register-card a,
.forgot-card a,
.reset-card a,
.about-card a {
  color: var(--teal-700);
  font-weight: 700;
}

.company-name {
  margin-bottom: 8px;
}

.results-hero,
.history-header,
.filter-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.results-card.has-profile-actions .results-hero {
  padding-right: 124px;
}

.profile-action-bar {
  position: absolute;
  top: 26px;
  right: 26px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bookmark-form {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.profile-icon-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(18, 58, 54, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--teal-700);
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(8, 24, 22, 0.16);
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  text-decoration: none;
}

.profile-icon-button svg {
  display: block;
  width: 23px;
  height: 23px;
}

.profile-icon-button path {
  fill: transparent;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.profile-icon-button:hover,
.profile-icon-button:focus-visible {
  border-color: rgba(36, 98, 91, 0.32);
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(8, 24, 22, 0.2);
  outline: none;
}

.download-button {
  background: linear-gradient(180deg, var(--ink-900), #244541);
  color: var(--white);
  border-color: rgba(18, 58, 54, 0.34);
}

.bookmark-button.is-saved {
  background: linear-gradient(180deg, var(--teal-600), var(--teal-700));
  color: var(--white);
  border-color: rgba(27, 77, 71, 0.44);
}

.bookmark-button.is-saved path {
  fill: currentColor;
}

.profile-icon-button::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  max-width: 190px;
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(18, 58, 54, 0.96);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-3px);
  transition: opacity 0.16s ease, transform 0.16s ease;
  white-space: nowrap;
}

.profile-icon-button:hover::after,
.profile-icon-button:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.hero-actions,
.filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.year-jump {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 8px;
  border: 1px solid rgba(18, 58, 54, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.year-jump-label {
  padding-left: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.secondary-btn {
  background: linear-gradient(180deg, #edf1ef, #dde5e1);
  color: var(--ink-900);
  box-shadow: none;
}

.summary-grid,
.match-grid {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.summary-card,
.match-card,
.comparison-panel,
.history-panel,
.filter-panel {
  border: 1px solid rgba(18, 58, 54, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-card);
}

.summary-card {
  padding: 20px;
}

.summary-card-wide {
  grid-column: span 2;
}

.stake-summary-card {
  display: grid;
  grid-template-columns: minmax(92px, 0.55fr) minmax(0, 1.45fr);
  gap: 18px;
  align-items: center;
}

.stake-summary-metric {
  min-width: 0;
}

.stake-summary-company {
  min-width: 0;
  padding-left: 18px;
  border-left: 1px solid rgba(18, 58, 54, 0.12);
}

.stake-summary-company strong {
  display: block;
  color: var(--ink-900);
  font-size: 1.05rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.stake-summary-company span {
  display: block;
  margin-top: 7px;
  color: var(--ink-700);
  font-size: 0.92rem;
}

.summary-label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-700);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.summary-value {
  display: block;
  color: var(--ink-900);
  font-size: 1.65rem;
  line-height: 1.1;
}

.summary-value-text {
  font-size: 1.1rem;
}

.summary-note {
  display: block;
  margin-top: 8px;
  color: var(--ink-700);
  font-size: 0.92rem;
}

.comparison-panel,
.history-panel,
.filter-panel {
  margin-top: 22px;
  padding: 22px;
}

.comparison-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 16px;
  align-items: start;
}

.comparison-text {
  color: var(--ink-700);
  font-size: 0.95rem;
}

.comparison-intro {
  display: grid;
  gap: 12px;
}

.comparison-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.change-panel {
  margin-top: 22px;
  padding: 22px;
  border: 1px solid rgba(18, 58, 54, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-card);
}

.change-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.change-summary {
  max-width: 420px;
  margin: 0;
  color: var(--ink-700);
  font-size: 0.95rem;
  text-align: right;
}

.change-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.change-summary-card {
  padding: 20px;
  border: 1px solid rgba(18, 58, 54, 0.1);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
}

.change-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.change-category-card {
  padding: 18px;
  border: 1px solid rgba(18, 58, 54, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
}

.change-category-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.change-category-head h3 {
  margin: 0 0 4px;
  color: var(--ink-900);
  font-size: 1.05rem;
}

.change-category-head p {
  margin: 0;
  color: var(--ink-700);
  font-size: 0.92rem;
}

.change-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
}

.change-list {
  display: grid;
  gap: 8px;
}

.change-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content max-content;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid rgba(18, 58, 54, 0.1);
  border-radius: var(--radius-sm);
  background: rgba(248, 251, 250, 0.88);
}

.change-entity {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.change-row .delta-cell {
  justify-self: end;
  white-space: nowrap;
}

.change-details-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 5px 8px;
  border: 1px solid rgba(18, 58, 54, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.76);
  color: var(--teal-700);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.change-details-link:hover,
.change-details-link:focus-visible {
  background: rgba(233, 243, 240, 0.95);
  outline: 2px solid rgba(36, 98, 91, 0.18);
}

.change-detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 24px;
}

.change-detail-overlay:target {
  display: grid;
}

.change-detail-scrim {
  position: absolute;
  inset: 0;
  background: rgba(8, 24, 22, 0.58);
  backdrop-filter: blur(2px);
}

.change-detail-modal {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 28px 70px rgba(8, 24, 22, 0.32);
  animation: toast-rise 0.18s ease-out;
}

.change-detail-modal h3 {
  margin: 4px 42px 18px 0;
  color: var(--ink-900);
  font-size: 1.35rem;
  line-height: 1.2;
}

.change-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 10px 18px;
  margin: 0;
}

.change-detail-grid dt {
  color: var(--ink-700);
  font-weight: 700;
}

.change-detail-grid dd {
  margin: 0;
  color: var(--ink-900);
  font-weight: 800;
  text-align: right;
  word-break: break-word;
}

.change-detail-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 22px;
}

.change-more,
.change-empty {
  margin: 12px 0 0;
  color: var(--ink-700);
  font-size: 0.9rem;
}

.comparison-stat {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(18, 58, 54, 0.1);
  background: linear-gradient(180deg, rgba(245, 241, 232, 0.8), rgba(255, 255, 255, 0.95));
}

.comparison-delta,
.delta-cell {
  font-weight: 700;
}

.tone-positive {
  color: var(--success-text);
}

.tone-positive.comparison-stat {
  border-color: rgba(28, 90, 52, 0.18);
  background: linear-gradient(180deg, rgba(220, 239, 226, 0.78), rgba(255, 255, 255, 0.96));
}

.tone-positive.change-summary-card,
.tone-positive.change-pill {
  border-color: rgba(28, 90, 52, 0.18);
  background: linear-gradient(180deg, rgba(220, 239, 226, 0.78), rgba(255, 255, 255, 0.96));
}

.tone-negative {
  color: var(--error-text);
}

.tone-negative.comparison-stat {
  border-color: rgba(138, 35, 48, 0.18);
  background: linear-gradient(180deg, rgba(248, 221, 223, 0.76), rgba(255, 255, 255, 0.96));
}

.tone-negative.change-summary-card,
.tone-negative.change-pill {
  border-color: rgba(138, 35, 48, 0.18);
  background: linear-gradient(180deg, rgba(248, 221, 223, 0.76), rgba(255, 255, 255, 0.96));
}

.tone-neutral {
  color: var(--ink-700);
}

.tone-neutral.comparison-stat {
  border-color: rgba(66, 80, 77, 0.16);
}

.tone-neutral.change-summary-card,
.tone-neutral.change-pill {
  border-color: rgba(66, 80, 77, 0.16);
  background: linear-gradient(180deg, rgba(237, 241, 239, 0.82), rgba(255, 255, 255, 0.96));
}

.year-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.year-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(18, 58, 54, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: var(--teal-700);
  text-decoration: none;
  font-weight: 700;
}

.year-pill.active {
  background: var(--teal-700);
  color: var(--white);
  border-color: var(--teal-700);
}

.year-jump .year-pill {
  min-height: 34px;
  padding: 7px 13px;
}

.inline-link {
  color: var(--teal-700);
  font-weight: 700;
  text-decoration: none;
}

.inline-link:hover {
  text-decoration: underline;
}

.entity-link {
  color: inherit;
  font-weight: 800;
  text-decoration: none;
  text-underline-offset: 0.22em;
}

.entity-link:hover {
  color: var(--teal-700);
  text-decoration: underline;
}

.filter-summary {
  font-size: 0.94rem;
}

.welcome-note {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 8px 14px;
  border: 1px solid rgba(36, 98, 91, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--teal-700);
  font-size: 0.92rem;
  font-weight: 800;
}

.workspace-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  margin-top: 24px;
}

.settings-grid .danger-zone {
  grid-column: 1 / -1;
  border-color: rgba(130, 46, 57, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(251, 244, 244, 0.9));
}

.workspace-section {
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(18, 58, 54, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-card);
}

.workspace-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--teal-700);
  color: var(--white);
  font-weight: 800;
}

.saved-list {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.saved-item {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(18, 58, 54, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
}

.saved-item-simple {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 8px;
  padding: 0;
  overflow: hidden;
}

.saved-item-link {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  padding: 16px 18px;
  color: inherit;
  text-decoration: none;
}

.saved-item-link:hover,
.saved-item-link:focus-visible {
  background: rgba(36, 98, 91, 0.055);
}

.saved-item-link:focus-visible {
  outline: 3px solid rgba(36, 98, 91, 0.22);
  outline-offset: -3px;
}

.saved-item-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.saved-item h3 {
  margin: 0 0 4px;
  color: var(--ink-900);
  font-size: 1.08rem;
  line-height: 1.25;
}

.saved-item p {
  margin: 0;
  font-size: 0.92rem;
}

.saved-item-simple p {
  color: var(--ink-700);
}

.saved-actions {
  flex: 0 0 auto;
}

.saved-actions .btn {
  min-height: 38px;
  padding: 8px 13px;
  font-size: 0.86rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(36, 98, 91, 0.1);
  color: var(--teal-700);
  font-size: 0.82rem;
  font-weight: 800;
}

.saved-form {
  margin-top: 14px;
  padding: 16px;
  border-radius: 14px;
}

.settings-form {
  margin-top: 18px;
}

.settings-form input:disabled {
  background: #ecefeb;
  color: var(--ink-700);
  cursor: not-allowed;
}

.saved-form textarea {
  min-height: 92px;
  resize: vertical;
}

.saved-form-actions {
  display: flex;
  justify-content: flex-end;
}

.delete-form {
  margin: 10px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: right;
}

.delete-form input[type="submit"] {
  min-height: 38px;
  padding: 8px 13px;
  background: linear-gradient(180deg, #f7e6e7, #eed0d4);
  color: var(--error-text);
  box-shadow: none;
  font-size: 0.86rem;
}

input[type="submit"].danger-submit {
  background: linear-gradient(180deg, #a33a48, #822e39);
  color: var(--white);
}

input[type="submit"].danger-submit:hover {
  background: linear-gradient(180deg, #8f3340, #702832);
}

.subtle-delete-form {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0 12px 0 0;
  text-align: right;
}

.subtle-remove-button {
  min-height: 34px;
  padding: 7px 9px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(83, 98, 92, 0.72);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.subtle-remove-button:hover,
.subtle-remove-button:focus-visible {
  background: rgba(130, 46, 57, 0.08);
  color: var(--error-text);
}

.subtle-remove-button:focus-visible {
  outline: 3px solid rgba(130, 46, 57, 0.18);
  outline-offset: 2px;
}

.empty-state {
  margin-top: 18px;
  padding: 22px;
  border: 1px dashed rgba(18, 58, 54, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.66);
}

.empty-state h3 {
  margin-bottom: 8px;
  color: var(--ink-900);
}

.filter-form {
  margin-top: 18px;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 16px;
}

.match-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.match-card {
  display: block;
  padding: 22px;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.match-card:hover {
  transform: translateY(-2px);
  border-color: rgba(36, 98, 91, 0.22);
}

.match-card h2 {
  color: var(--ink-900);
  font-size: 1.2rem;
  line-height: 1.25;
}

.match-stats {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.match-stats strong {
  color: var(--ink-900);
  font-size: 1rem;
}

.match-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.compact-table .styled-table {
  min-width: 0;
}

.table-container {
  width: 100%;
  margin-top: 18px;
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid #d8ddd7;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.styled-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: 0.95rem;
}

.styled-table thead tr {
  background: linear-gradient(180deg, #e7ece9, #dde4df);
  color: var(--ink-900);
  text-align: left;
}

.styled-table th,
.styled-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e5e7e2;
  vertical-align: top;
}

.styled-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.styled-table td {
  color: var(--ink-700);
  word-break: break-word;
}

.styled-table tbody tr:nth-of-type(even) {
  background-color: #fbfbf8;
}

.styled-table tbody tr:hover {
  background-color: #f0f5f2;
}

.sort-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-left: 4px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink-700);
  font-size: 0.72rem;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.sort-arrow:hover {
  background-color: rgba(27, 77, 71, 0.12);
  color: var(--teal-700);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(18, 58, 54, 0.12);
  color: var(--teal-700);
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.page-btn:hover {
  background: rgba(36, 98, 91, 0.1);
  border-color: rgba(36, 98, 91, 0.22);
}

.page-btn.active {
  background: var(--teal-700);
  color: var(--white);
  border-color: var(--teal-700);
  pointer-events: none;
}

footer {
  margin: 10px auto 0;
  padding: 18px 20px 26px;
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .summary-card-wide {
    grid-column: span 2;
  }

  .stake-summary-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .stake-summary-company {
    padding-left: 0;
    padding-top: 12px;
    border-left: 0;
    border-top: 1px solid rgba(18, 58, 54, 0.12);
  }

  .search-home-grid {
    grid-template-columns: 1fr;
  }

  .comparison-panel {
    grid-template-columns: 1fr;
  }

  .comparison-metrics {
    grid-template-columns: 1fr;
  }

  .change-summary-grid,
  .change-category-grid,
  .workspace-grid,
  .settings-grid {
    grid-template-columns: 1fr;
  }

  .filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header-container {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  nav {
    width: 100%;
  }

  .nav-menu {
    justify-content: center;
  }

  .language-switcher {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  body {
    padding: 12px;
  }

  .header-container {
    padding: 16px;
    gap: 14px;
  }

  .logo img {
    height: 58px;
  }

  .nav-menu {
    gap: 6px;
  }

  .nav-menu li a,
  .lang-btn {
    width: 100%;
    justify-content: center;
  }

  .language-switcher {
    flex-direction: column;
  }

  .home-container,
  .results-container,
  .about-container,
  .contact-container,
  .login-container,
  .privacy-container,
  .register-container,
  .forgot-container,
  .reset-container,
  .my-page-container {
    padding: 14px 0 26px;
  }

  .home-card,
  .results-card,
  .about-card,
  .contact-card,
  .login-card,
  .privacy-card,
  .register-card,
  .forgot-card,
  .reset-card,
  .my-page-card {
    padding: 24px 20px;
    border-radius: 18px;
  }

  .results-card.has-profile-actions .results-hero {
    padding-top: 58px;
    padding-right: 0;
  }

  .profile-action-bar {
    top: 18px;
    right: 18px;
  }

  .profile-icon-button {
    width: 46px;
    height: 46px;
  }

  .profile-icon-button::after {
    display: none;
  }

  .summary-grid,
  .filter-grid {
    grid-template-columns: 1fr;
  }

  .summary-card-wide {
    grid-column: span 1;
  }

  .results-hero,
  .change-header,
  .history-header,
  .filter-header,
  .saved-item-header,
  .hero-actions,
  .filter-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn,
  .hero-actions .inline-action-form,
  .hero-actions .inline-action-form input[type="submit"],
  .filter-actions .btn,
  .filter-actions input[type="submit"] {
    width: 100%;
  }

  .fallback-toast {
    right: 16px;
    bottom: 16px;
    flex-direction: column;
  }

  .toast-stack {
    top: 14px;
    right: 14px;
    width: min(360px, calc(100vw - 28px));
  }

  .change-summary {
    max-width: none;
    text-align: left;
  }

  form {
    padding: 18px;
    border-radius: 16px;
  }

  .styled-table {
    min-width: 620px;
    font-size: 0.9rem;
  }

  .styled-table th,
  .styled-table td {
    padding: 12px 13px;
  }

  .pagination {
    gap: 6px;
  }

  .page-btn {
    min-width: 38px;
    min-height: 38px;
    padding: 8px 12px;
    font-size: 0.9rem;
  }
}

/* UI polish layer: quieter data-product shell and more predictable controls. */
:root {
  --teal-900: #0f2f2b;
  --teal-800: #153f3a;
  --teal-700: #1d5a52;
  --teal-600: #2b746b;
  --sand-100: #f5f1e8;
  --stone-100: #f8faf9;
  --stone-200: #e7ece9;
  --stone-300: #ced8d4;
  --ink-900: #17211f;
  --ink-700: #4a5956;
  --shadow-soft: 0 14px 34px rgba(15, 34, 31, 0.1);
  --shadow-card: 0 5px 16px rgba(15, 34, 31, 0.07);
  --radius-lg: 12px;
  --radius-md: 8px;
  --radius-sm: 6px;
}

html {
  background: #edf3f1;
}

body {
  background: linear-gradient(180deg, #eef5f3 0%, #f8faf9 38%, #eef2ef 100%);
  color: var(--ink-900);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  padding: 0 18px 18px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 120;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--ink-900);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-140%);
  transition: transform 0.18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: min(1240px, 100%);
  padding-top: 12px;
}

.header-container {
  position: relative;
  gap: 16px;
  padding: 10px 14px;
  border-color: rgba(15, 47, 43, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(15, 47, 43, 0.94);
  box-shadow: 0 8px 22px rgba(15, 34, 31, 0.14);
}

.logo,
.language-switcher {
  position: relative;
  z-index: 2;
}

nav {
  position: absolute;
  left: 50%;
  width: max-content;
  max-width: calc(100% - 320px);
  transform: translateX(-50%);
}

.logo img {
  height: 46px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.nav-menu {
  justify-content: center;
  gap: 4px;
}

.nav-menu li a,
.lang-btn {
  min-height: 38px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  letter-spacing: 0;
}

.nav-menu li a:hover,
.nav-menu li a:focus-visible,
.lang-btn:hover,
.lang-btn:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  outline: none;
  transform: none;
}

.home-container,
.results-container,
.about-container,
.contact-container,
.login-container,
.privacy-container,
.register-container,
.forgot-container,
.reset-container,
.my-page-container {
  width: min(1240px, 100%);
  min-height: 0;
  padding: 22px 0 34px;
}

.home-card,
.results-card,
.about-card,
.contact-card,
.login-card,
.privacy-card,
.register-card,
.forgot-card,
.reset-card,
.my-page-card {
  border: 1px solid rgba(35, 58, 54, 0.11);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-soft);
}

.results-card,
.my-page-card {
  max-width: 1240px;
}

h1 {
  letter-spacing: 0;
}

.lead-text,
.company-meta,
.summary-note,
.filter-summary,
.comparison-text,
.change-summary {
  color: var(--ink-700);
}

form {
  border-color: rgba(35, 58, 54, 0.12);
  border-radius: var(--radius-md);
  background: #f7faf8;
  box-shadow: none;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group select,
.form-group textarea {
  border-color: #bfcbc6;
  border-radius: var(--radius-sm);
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus,
.form-group select:focus,
.form-group textarea:focus,
.btn:focus-visible,
input[type="submit"]:focus-visible,
.profile-icon-button:focus-visible,
.page-btn:focus-visible,
.year-pill:focus-visible,
.entity-link:focus-visible,
.sort-arrow:focus-visible {
  outline: 3px solid rgba(43, 116, 107, 0.24);
  outline-offset: 2px;
  box-shadow: 0 0 0 1px rgba(43, 116, 107, 0.32);
}

input[type="submit"],
.btn {
  border-radius: var(--radius-sm);
  box-shadow: none;
  font-weight: 800;
}

.btn:hover,
input[type="submit"]:hover {
  transform: none;
  filter: brightness(1.02);
}

.secondary-btn {
  border: 1px solid rgba(35, 58, 54, 0.12);
  background: #f2f6f4;
}

.summary-card,
.match-card,
.comparison-panel,
.history-panel,
.filter-panel,
.change-panel,
.workspace-section,
.change-summary-card,
.change-category-card,
.saved-item,
.empty-state {
  border-color: rgba(35, 58, 54, 0.1);
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: none;
}

.summary-grid,
.match-grid {
  gap: 12px;
}

.summary-card {
  padding: 18px;
}

.summary-value {
  font-size: 1.48rem;
}

.comparison-panel,
.history-panel,
.filter-panel,
.change-panel {
  padding: 20px;
}

.year-jump,
.year-pill,
.welcome-note,
.workspace-count,
.tag-pill,
.change-pill,
.page-btn,
.profile-icon-button,
.modal-close,
.toast-dismiss,
.toast-close {
  border-radius: var(--radius-sm);
}

.profile-action-bar {
  top: 22px;
  right: 22px;
}

.profile-icon-button {
  width: 44px;
  height: 44px;
  box-shadow: var(--shadow-card);
}

.profile-icon-button svg {
  width: 21px;
  height: 21px;
}

.table-container {
  border-color: rgba(35, 58, 54, 0.12);
  border-radius: var(--radius-md);
  box-shadow: none;
}

.styled-table {
  font-size: 0.92rem;
}

.styled-table thead tr {
  background: #edf3f0;
}

.styled-table th {
  color: #33423f;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.styled-table th,
.styled-table td {
  padding: 11px 13px;
}

.styled-table tbody tr:nth-of-type(even) {
  background-color: #f8faf8;
}

.styled-table tbody tr:hover {
  background-color: #edf6f3;
}

.filter-grid {
  align-items: end;
}

.modal-backdrop {
  background: rgba(15, 34, 31, 0.56);
  backdrop-filter: blur(2px);
}

.register-modal {
  border-radius: var(--radius-lg);
}

footer {
  color: #5b6966;
}

footer p {
  color: inherit;
}

.contact-container,
.privacy-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: min(1240px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.contact-card,
.privacy-card {
  width: min(840px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.footer-links {
  margin-top: 8px;
}

.footer-links a {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--ink-900);
  text-decoration: underline;
}

.footer-links span {
  margin: 0 8px;
  color: rgba(91, 105, 102, 0.55);
}

@media (max-width: 900px) {
  body {
    padding: 0 12px 12px;
  }

  header {
    padding-top: 8px;
  }

  .header-container {
    align-items: center;
    text-align: center;
  }

  nav {
    position: static;
    width: 100%;
    max-width: none;
    transform: none;
  }

  .nav-menu {
    justify-content: center;
    overflow-x: auto;
    padding-bottom: 0;
    flex-wrap: nowrap;
    row-gap: 0;
    scrollbar-width: none;
  }

  .nav-menu::-webkit-scrollbar {
    display: none;
  }

  .nav-menu li {
    flex: 0 0 auto;
  }

  .language-switcher {
    width: auto;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  body {
    padding: 0 10px 10px;
  }

  .header-container {
    padding: 10px;
  }

  .logo img {
    height: 40px;
  }

  .nav-menu li a,
  .lang-btn {
    width: auto;
    min-height: 36px;
    padding: 7px 9px;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .nav-menu {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 4px;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .language-switcher {
    flex-direction: row;
    justify-content: center;
  }

  .change-row {
    grid-template-columns: minmax(0, 1fr) max-content;
  }

  .change-details-link {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .change-detail-modal {
    padding: 22px;
  }

  .change-detail-grid {
    grid-template-columns: 1fr;
  }

  .change-detail-grid dd {
    text-align: left;
  }

  .search-home-grid .form-group label {
    max-width: 26ch;
    margin-left: auto;
    margin-right: auto;
  }

  .home-card,
  .results-card,
  .about-card,
  .login-card,
  .register-card,
  .forgot-card,
  .reset-card,
  .my-page-card {
    padding: 20px 16px;
  }

  .results-card.has-profile-actions .results-hero {
    padding-top: 54px;
  }

  .profile-action-bar {
    top: 16px;
    right: 16px;
  }

  .profile-icon-button {
    width: 42px;
    height: 42px;
  }

  .comparison-panel,
  .history-panel,
  .filter-panel,
  .change-panel,
  .workspace-section {
    padding: 16px;
  }
}
