:root {
  --bg-top: #f8fbff;
  --bg-bottom: #e7eef9;
  --surface: #ffffff;
  --surface-soft: #f4f8ff;
  --primary: #0b3a7e;
  --primary-strong: #082f68;
  --accent: #f56a00;
  --accent-soft: #fff2e6;
  --support: #4a9f2e;
  --text: #15243b;
  --muted: #3a5273;
  --border: #d3dff0;
  --shadow: 0 18px 38px rgba(9, 41, 88, 0.13);
  --focus-ring: #0b3a7e;
  --footer-height: 42px;
  --legal-strip-height: 36px;
  --ad-gutter: 170px;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 14px;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Avenir Next", "Segoe UI", "Trebuchet MS", "Lucida Sans Unicode", Arial, sans-serif;
  line-height: 1.5;
  background:
    radial-gradient(900px 520px at -2% -8%, rgba(255, 255, 255, 0.95), transparent 60%),
    radial-gradient(900px 520px at 104% 0%, rgba(245, 106, 0, 0.1), transparent 60%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
  padding-bottom: calc(var(--footer-height) + 16px);
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -44px;
  z-index: 200;
  border-radius: 8px;
  padding: 8px 12px;
  background: #0b3a7e;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

.skip-link:focus {
  top: 10px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.95);
}

a,
a:visited {
  color: #104a8b;
  transition: color 0.16s ease, border-color 0.16s ease, opacity 0.16s ease;
}

a:hover {
  color: #f56a00;
}

.container {
  width: min(1200px, calc(100% - (var(--ad-gutter) * 2)));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 28px rgba(10, 46, 96, 0.08);
}

.header-wrap {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 108px;
  height: auto;
  object-fit: contain;
}

.brand span {
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.navbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.navbar a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 11px;
  border: 1px solid transparent;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.navbar a:hover {
  color: var(--primary);
  border-color: #c8d9f0;
  background: var(--surface-soft);
  transform: translateY(-1px);
}

.navbar a.active {
  color: #ffffff;
  border-color: #dc6a1f;
  background: linear-gradient(135deg, #ff7b16, var(--accent));
}

.navbar .nav-action {
  margin-left: 2px;
  border: 1px solid #c6d7ec;
  background: #f7fbff;
  color: #23486f;
  border-radius: 12px;
  padding: 7px 13px;
}

.navbar .nav-list {
  border-color: #c8d7eb;
  background: #ffffff;
}


.navbar .nav-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(10, 42, 90, 0.08);
}


.menu-toggle {
  display: none;
  border: 1px solid #cdd9ea;
  background: linear-gradient(135deg, #ffffff, #edf3fc);
  color: var(--primary);
  font-weight: 700;
  border-radius: 12px;
  padding: 8px 12px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(10, 42, 90, 0.07);
}

.page-content {
  padding: 50px 0;
}

.utr-ad-slot {
  margin: 18px 0;
  border: 1px solid #d6e2f2;
  border-radius: 14px;
  background: #ffffff;
  min-height: 290px;
  padding: 10px;
  box-shadow: 0 8px 20px rgba(10, 46, 96, 0.07);
}

.utr-ad-slot .utr-ad-label {
  margin: 0 0 8px;
  color: #597392;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

.utr-ad-slot ins.adsbygoogle {
  min-height: 250px;
}

.utr-ad-slot.is-click-guard {
  opacity: 0.55;
  pointer-events: none;
}

.faq-grid,
.timeline-grid {
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

.calc-layout,
.advisor-results,
.sim-results,
.seo-table-wrap,
.result-list {
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

/* Result kartlarındaki tooltip'lerin kutu dışına taşabilmesi için. */
.advisor-results,
.result-list {
  content-visibility: visible;
}

.hero,
.card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.hero::before,
.card::before {
  content: "";
  position: absolute;
  right: -100px;
  top: -100px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 106, 0, 0.18) 0%, rgba(245, 106, 0, 0.02) 72%);
}

.hero::after,
.card::after {
  content: "";
  position: absolute;
  left: -120px;
  bottom: -125px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 58, 126, 0.17) 0%, rgba(11, 58, 126, 0.03) 72%);
}

.hero h1,
.card h1 {
  position: relative;
  margin: 0 0 12px;
  color: var(--primary-strong);
  font-size: clamp(1.8rem, 2.4vw, 2.2rem);
}

.hero p,
.card p {
  position: relative;
  margin: 0;
  max-width: 70ch;
  line-height: 1.7;
  color: var(--muted);
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 22px;
  align-items: stretch;
  background:
    radial-gradient(circle at 88% 14%, rgba(245, 106, 0, 0.26), transparent 45%),
    radial-gradient(circle at 10% 86%, rgba(11, 58, 126, 0.18), transparent 50%),
    linear-gradient(138deg, #ffffff, #f5f9ff);
  border-color: #cadbef;
  box-shadow: 0 18px 38px rgba(9, 41, 88, 0.14);
}

.home-hero-main {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
}

.hero-kicker {
  display: inline-flex;
  justify-content: center;
  text-align: center;
  margin: 0;
  border: 1px solid #f4c79e;
  border-radius: 999px;
  padding: 8px 13px;
  background: linear-gradient(135deg, #fff9f2, #fff1e4);
  color: #9b4d12;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  position: absolute;
  top: -34px;
  left: 0;
}

.hero-lead {
  font-size: 1.08rem;
}

.home-hero-main .hero-main-title {
  margin: 0 0 14px !important;
  max-width: 18.5ch;
  line-height: 1.12;
}

.home-hero-main .hero-lead {
  margin-top: 6px;
  max-width: 60ch;
}

.home-hero-main .hero-main-title + .hero-lead {
  margin-top: 2px;
}

.hero-micro {
  margin-top: 10px;
  max-width: 62ch;
  color: #4f698b;
  font-size: 0.98rem;
  line-height: 1.6;
}

.hero-inline-link {
  display: inline;
  margin-left: 4px;
  color: #0f4b8d;
  text-decoration: none;
  font-weight: 800;
  border-bottom: 1px solid rgba(15, 75, 141, 0.35);
  padding-bottom: 1px;
  transition: 0.16s ease;
}

.hero-inline-link:hover {
  color: #f56a00;
  border-bottom-color: rgba(245, 106, 0, 0.5);
}

.hero-cta {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 13px;
  padding: 10px 16px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.hero-btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #ff8d2f, #f56a00);
  box-shadow: 0 12px 24px rgba(245, 106, 0, 0.3);
}

.hero-btn-ghost {
  color: #1b4679;
  border-color: #b8cde8;
  background: rgba(255, 255, 255, 0.97);
}

.hero-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(10, 42, 90, 0.14);
}

.hero-btn-primary:hover,
.hero-btn-primary:visited:hover,
.hero-btn-primary:focus-visible {
  color: #ffffff;
}

.home-hero-links {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  align-content: start;
  justify-items: end;
}

.hero-link-card {
  display: block;
  border: 1px solid #cbdcf2;
  border-radius: 14px;
  padding: 10px 13px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 22px rgba(12, 44, 87, 0.1);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
  min-height: 86px;
  width: min(92%, 380px);
  position: relative;
  overflow: hidden;
}

.hero-link-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #0f4d95, #f56a00);
  opacity: 0.75;
}

.hero-link-card:hover {
  transform: translateY(-2px) scale(1.01);
  border-color: #91b2dc;
  box-shadow: 0 14px 28px rgba(12, 44, 87, 0.16);
}

.hero-link-title {
  display: block;
  color: #103a70;
  font-weight: 800;
  line-height: 1.2;
}

.hero-link-desc {
  display: block;
  margin-top: 3px;
  color: #567195;
  line-height: 1.35;
  font-size: 0.88rem;
}

.seo-block {
  display: grid;
  gap: 14px;
}

.seo-block-rich {
  gap: 18px;
}

.seo-block-rich .hero-kicker {
  position: relative;
  top: 0;
  left: 0;
  transform: none;
  width: fit-content;
  max-width: none;
  margin: 0 0 4px;
  padding-inline: 14px;
  align-self: start;
}

.seo-block-rich h1 {
  margin-top: 0;
  line-height: 1.2;
}

.seo-block-title {
  margin: 0;
  color: #0f376a;
  font-size: clamp(1.22rem, 2vw, 1.45rem);
}

.seo-intro {
  margin: 0;
  color: #4a6385;
  line-height: 1.68;
}

.seo-grid {
  display: grid;
  gap: 12px;
}

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

.seo-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.seo-item {
  position: relative;
  border: 1px solid #c9dbf1;
  border-radius: 15px;
  background: linear-gradient(150deg, #ffffff, #f6faff);
  padding: 16px;
  box-shadow: 0 10px 24px rgba(11, 43, 86, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.seo-item h2,
.seo-item h3 {
  margin: 0 0 8px;
  color: #103c74;
  font-size: 1.04rem;
  line-height: 1.35;
}

.seo-item p {
  margin: 0;
  max-width: none;
  color: #4f6889;
  line-height: 1.62;
}

.seo-item:hover {
  transform: translateY(-2px);
  border-color: #95b6de;
  box-shadow: 0 16px 30px rgba(11, 43, 86, 0.15);
}

input,
select,
textarea {
  border-radius: 10px;
  border: 1px solid #bfd1e9;
  background: #ffffff;
  color: #1f446f;
}

.seo-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  border: 1px solid #bfd3ea;
  border-radius: 999px;
  padding: 7px 11px;
  background: #ffffff;
  text-decoration: none;
  color: #1a4a7e;
  font-weight: 800;
  font-size: 0.86rem;
}

.seo-item .seo-link {
  margin-top: auto;
}

.home-seo-block {
  margin-top: 18px;
}

.seo-link:hover {
  border-color: #8caed8;
  background: #f1f7ff;
}

.seo-table-wrap {
  overflow-x: auto;
  border: 1px solid #d6e3f3;
  border-radius: 14px;
  background: #ffffff;
}

.seo-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.seo-table th,
.seo-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e3ecf8;
  text-align: left;
  color: #36557d;
  vertical-align: top;
}

.seo-table th {
  background: #f4f8ff;
  color: #153b6e;
  font-size: 0.9rem;
}

.seo-table td a {
  color: #1a4f86;
  font-weight: 700;
  text-decoration: none;
}

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

.seo-footnote {
  margin: 2px 0 0;
  color: #5a7394;
  font-size: 0.9rem;
}

.legal-doc h2 {
  margin: 18px 0 8px;
  color: #153c70;
  font-size: 1.2rem;
}

.legal-doc p {
  margin: 0 0 10px;
  max-width: none;
}

.legal-doc ul {
  margin: 0 0 12px;
  padding-left: 20px;
  color: #4d607d;
  line-height: 1.7;
}

.legal-doc .legal-note {
  margin-top: 14px;
  border: 1px solid #f2ca9d;
  background: #fff8ef;
  border-radius: 10px;
  padding: 10px 12px;
  color: #975116;
}

.legal-doc .legal-date {
  margin-top: 8px;
  color: #5e7493;
  font-weight: 700;
  font-size: 0.9rem;
}

.legal-doc .legal-contact-placeholder {
  margin: 10px 0 12px;
  border: 1px dashed #c2d4eb;
  background: #f7fbff;
  border-radius: 10px;
  padding: 10px 12px;
}

.legal-doc .legal-contact-placeholder p {
  margin: 0;
}

.legal-doc .legal-contact-placeholder span {
  font-family: "Courier New", Courier, monospace;
  color: #154174;
  font-weight: 700;
}

.legal-doc .legal-contact-help {
  margin-top: 6px !important;
  color: #5f7696 !important;
  font-size: 0.85rem;
}

.error-page-card {
  max-width: 720px;
  margin: 24px auto;
  text-align: center;
}

.error-code {
  margin: 0 0 8px;
  color: #f56a00;
  font-weight: 900;
  letter-spacing: 0.06em;
  font-size: clamp(2rem, 5vw, 3rem);
}

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

.error-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #b8cbe5;
  border-radius: 10px;
  padding: 9px 14px;
  text-decoration: none;
  color: #173f70;
  font-weight: 800;
  background: #f9fbff;
}

.error-btn.primary {
  border-color: #1b5da6;
  background: linear-gradient(135deg, #1a5fa9, #0b3a7e);
  color: #ffffff;
}

.site-footer {
  margin-top: 18px;
  border-top: 1px solid var(--border);
  background: linear-gradient(90deg, #f7faff 0%, #fef6ef 100%);
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  height: var(--footer-height);
}

.legal-strip {
  position: static;
  border-top: 1px solid #d8e2f1;
  border-bottom: 1px solid #d8e2f1;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(4px);
}

.legal-strip-inner {
  min-height: var(--legal-strip-height);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.legal-strip a {
  color: #35557f;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
}

.legal-strip a:hover {
  color: #f56a00;
}

.site-footer .container {
  padding: 0;
}

.site-footer p {
  margin: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.82rem;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: nowrap;
  min-height: var(--footer-height);
}

.footer-powered {
  color: #274c7b !important;
  font-weight: 700;
  font-size: 0.78rem !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.footer-powered a {
  text-decoration: none;
}

.vhs-light {
  color: #0f3b73;
  font-weight: 800;
}

.vhs-accent {
  color: #f56a00;
  font-weight: 800;
}

.bolumler-page {
  display: grid;
  gap: 16px;
}

.calc-page {
  display: grid;
  gap: 16px;
}

.calc-hero,
.calc-panel,
.calc-result {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(10, 42, 90, 0.09);
}

.calc-hero {
  padding: 22px;
  background:
    radial-gradient(circle at top right, rgba(245, 106, 0, 0.12), transparent 44%),
    radial-gradient(circle at left bottom, rgba(11, 58, 126, 0.12), transparent 42%),
    #ffffff;
}

.calc-hero > div {
  display: grid;
  gap: 8px;
  max-width: 78ch;
}

.calc-kicker {
  margin: 0 0 6px;
  color: var(--accent);
  font-weight: 700;
}

.calc-hero h1 {
  margin: 0 0 10px;
  color: var(--primary-strong);
}

.calc-hero p {
  margin: 0;
  color: var(--muted);
}

.calc-hero a,
.calc-hero a:visited {
  color: #104a8b;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(16, 74, 139, 0.38);
}

.calc-hero a:hover {
  color: #f56a00;
  border-bottom-color: rgba(245, 106, 0, 0.56);
}

.advisor-hero a,
.bolumler-hero a,
.career-hero a,
.timeline-hero a,
.faq-hero a,
.sim-hero a {
  color: #104a8b;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(16, 74, 139, 0.35);
}

.advisor-hero a:visited,
.bolumler-hero a:visited,
.career-hero a:visited,
.timeline-hero a:visited,
.faq-hero a:visited,
.sim-hero a:visited {
  color: #104a8b;
}

.advisor-hero a:hover,
.bolumler-hero a:hover,
.career-hero a:hover,
.timeline-hero a:hover,
.faq-hero a:hover,
.sim-hero a:hover {
  color: #f56a00;
  border-bottom-color: rgba(245, 106, 0, 0.56);
}

.calc-layout {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.calc-col {
  display: grid;
  gap: 16px;
  align-content: start;
  flex: 1 1 auto;
  min-width: 0;
}

.calc-layout .calc-col:first-child {
  flex-basis: 54%;
}

.calc-layout .calc-col:last-child {
  flex-basis: 46%;
}

.calc-panel {
  padding: 16px;
  min-width: 0;
}

.calc-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.calc-panel h2 {
  margin: 0 0 8px;
  color: #11386f;
  font-size: 1.3rem;
}

.calc-panel-head p {
  margin: 0;
  color: #587194;
}

.calc-label {
  display: block;
  margin: 8px 0 6px;
  color: #4d6688;
  font-weight: 700;
}

.range {
  width: 100%;
  accent-color: #f56a00;
}

.range-scale {
  margin-top: 6px;
  display: flex;
  justify-content: space-between;
  color: #6b7f99;
  font-size: 0.82rem;
}

.calc-line {
  margin: 12px 0;
  height: 1px;
  background: #e1e9f4;
}

.calc-summary {
  margin: 0 0 8px;
  color: #5c7090;
}

.calc-note {
  margin: 0 0 10px;
  color: #5d7393;
}

.calc-panel.is-disabled {
  opacity: 0.88;
}

.ayt-placeholder {
  border: 1px dashed #c4d5eb;
  border-radius: 10px;
  padding: 14px;
  background: #f8fbff;
  color: #5d7393;
  font-weight: 600;
}

.net-grid {
  display: grid;
  gap: 8px;
  min-width: 0;
  overflow-x: visible;
  overflow-y: hidden;
  padding-bottom: 2px;
}

.net-head {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) repeat(4, minmax(56px, 64px));
  gap: 8px;
  min-width: 0;
  color: #607998;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0 2px;
}

.net-head span {
  text-align: center;
}

.net-head span:first-child {
  text-align: left;
}

.net-row {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) repeat(4, minmax(56px, 64px));
  gap: 8px;
  min-width: 0;
  align-items: center;
  border: 1px solid #d8e4f3;
  border-radius: 10px;
  padding: 8px;
  background: linear-gradient(135deg, #ffffff, #f7faff);
}

.lesson-name {
  color: #2f4f77;
  font-weight: 700;
  font-size: 0.92rem;
}

.lesson-name small {
  color: #6b82a0;
  font-weight: 600;
}

.mini-input::-webkit-outer-spin-button,
.mini-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.mini-input[type=number] {
  -moz-appearance: textfield;
}

.mini-input {
  width: 100%;
  text-align: center;
  border: 1px solid #bfd2ea;
  border-radius: 10px;
  padding: 7px 6px;
  background: #fff;
  color: #1f456f;
  font-weight: 700;
}

.mini-input:focus {
  outline: 3px solid rgba(11, 58, 126, 0.65);
  outline-offset: 1px;
  border-color: #0b3a7e;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9);
}

.q-count,
.net-value {
  min-width: 0;
  text-align: center;
  border: 1px solid #c3d5eb;
  border-radius: 10px;
  padding: 6px 8px;
  background: #f7fbff;
  color: #35577f;
  font-weight: 700;
  font-size: 0.84rem;
}

.net-value {
  background: #fff3e8;
  color: #9a4c0d;
  border-color: #f2c89d;
}

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

@media (max-width: 1240px) {
  .type-grid {
    grid-template-columns: 1fr;
  }
}

.type-card {
  position: relative;
  border: 1px solid #c6d6eb;
  border-radius: 16px;
  color: #1d3f6c;
  font-weight: 700;
  padding: 14px 16px 14px 18px;
  cursor: pointer;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-align: left;
  background: linear-gradient(135deg, #ffffff, #f5f9ff);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease, background 0.16s ease;
}

.type-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  border-radius: 16px 0 0 16px;
  background: #b7c9e2;
}

.type-card.active {
  border-color: #0b3a7e;
  background: linear-gradient(135deg, #0f3f84, #0b3a7e 70%, #154f9f);
  box-shadow: 0 10px 20px rgba(11, 58, 126, 0.24);
  color: #ffffff;
}

.type-card strong {
  display: block;
  font-size: 1.85rem;
  line-height: 1.15;
}

.type-card small {
  display: block;
  margin-top: 6px;
  color: #587095;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.35;
}

.type-card.active small {
  color: rgba(234, 243, 255, 0.92);
}

.type-say {
  border-color: #bcd1ed;
}

.type-ea {
  border-color: #d4c8e8;
}

.type-soz {
  border-color: #e3d6b7;
}

.type-dil {
  border-color: #bfdccf;
}

.type-say::before {
  background: #2d67b1;
}

.type-ea::before {
  background: #7f5fa9;
}

.type-soz::before {
  background: #b38425;
}

.type-dil::before {
  background: #2f8b69;
}

.type-card.active::before {
  background: #f56a00;
}

.radio-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #6380a8;
  margin-top: 2px;
  flex-shrink: 0;
  background: #ffffff;
}

.type-card.active .radio-dot {
  border-color: #ffffff;
  background: radial-gradient(circle, #f56a00 0 42%, transparent 45%), #ffffff;
}

.type-card:hover {
  transform: translateY(-2px);
  border-color: #94afd1;
}

.calc-badge {
  border: 1px solid #f2c89d;
  background: #fff6ee;
  color: #b96822;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 700;
}

.calc-actions {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 10px;
}

.calc-actions button {
  border: 0;
  border-radius: 10px;
  padding: 11px 14px;
  font-weight: 700;
  cursor: pointer;
}

#calc-run {
  background: linear-gradient(135deg, #1a57a0, #0b3a7e 60%, #0b3a7e);
  color: #fff;
  box-shadow: 0 8px 18px rgba(11, 58, 126, 0.22);
}

.calc-actions .ghost-btn {
  border: 1px solid #f2c89d;
  background: #fff4ea;
  color: #a85a17;
}

.calc-result {
  padding: 18px;
}

.calc-result-placeholder {
  border-style: dashed;
  border-width: 2px;
  background: #f8fbff;
  text-align: center;
}

.calc-result h3 {
  margin: 0 0 8px;
  color: #133764;
}

.calc-result p {
  margin: 0;
  color: #5d7291;
}

.result-stack {
  display: grid;
  gap: 14px;
}

.result-card {
  border: 2px solid #b7c7df;
  border-radius: 16px;
  background: #ffffff;
  padding: 14px;
  box-shadow: 0 8px 20px rgba(10, 42, 90, 0.08);
}

.result-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.result-card-head h3 {
  margin: 0;
  color: #143c74;
  font-size: 2rem;
}

.ok-mark {
  color: #28b463;
  font-weight: 800;
  font-size: 1.1rem;
}

.result-values {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.result-values > div {
  border: 1px solid #ccd8ea;
  background: linear-gradient(135deg, #ffffff, #f5f9ff);
  border-radius: 14px;
  padding: 10px;
  text-align: center;
}

.result-values span {
  display: block;
  color: #5f7696;
  font-size: 0.9rem;
}

.result-values strong {
  display: block;
  margin-top: 2px;
  color: #153f7a;
  font-size: 2.2rem;
  line-height: 1.15;
}

.confidence-box {
  margin-top: 10px;
  border: 1px solid #f2ca9d;
  background: linear-gradient(135deg, #fff8ef, #fff3e4);
  color: #b3621b;
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 700;
}

.tyt-result-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.tyt-result-grid div {
  border: 1px solid #d6e2f2;
  background: #f9fbff;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
}

.tyt-result-grid span {
  display: block;
  font-size: 0.8rem;
  color: #567190;
}

.tyt-result-grid strong {
  color: #163a66;
  font-size: 1.75rem;
  line-height: 1.2;
}

.calc-foot-note {
  margin-top: 10px !important;
  text-align: center;
  color: #4e6787 !important;
  font-weight: 700;
}

.calc-metrics {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.calc-metrics div {
  border: 1px solid #d6e2f2;
  background: #f9fbff;
  border-radius: 10px;
  padding: 9px;
}

.calc-metrics span {
  display: block;
  font-size: 0.8rem;
  color: #567190;
}

.calc-metrics strong {
  color: #163a66;
  font-size: 1rem;
}

.bolumler-hero {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(10, 42, 90, 0.09);
  padding: 22px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 14px;
  align-items: end;
}

.bolumler-kicker {
  margin: 0 0 6px;
  color: var(--accent);
  font-weight: 700;
}

.bolumler-hero h1 {
  margin: 0 0 10px;
  color: var(--primary-strong);
}

.bolumler-hero p {
  margin: 0;
  color: var(--muted);
}

.bolumler-search {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #cfdbed;
  background: #f5f8fd;
  border-radius: 12px;
  padding: 12px 14px;
}

.bolumler-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 1rem;
}

.bolumler-header p {
  margin: 0;
  color: #4b6384;
  font-weight: 700;
}

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

.bolum-card {
  background: #fff;
  border: 1px solid #d7e2f1;
  border-radius: 12px;
  box-shadow: 0 5px 14px rgba(9, 41, 88, 0.06);
  overflow: hidden;
}

.bolum-card-head {
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  cursor: pointer;
  text-align: left;
}

.bolum-card-head:hover {
  background: #f7faff;
}

.bolum-title {
  margin: 0;
  color: #173a68;
  font-size: 1.06rem;
}

.bolum-mini {
  margin-top: 4px;
  color: #5a7190;
  font-size: 0.84rem;
}

.bolum-expand {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid #b6c9e6;
  background: linear-gradient(135deg, #ffffff, #edf4ff);
  color: #234b7d;
  font-size: 1.1rem;
  line-height: 1;
  font-weight: 700;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bolum-card.is-open .bolum-expand {
  border-color: #f2a055;
  background: linear-gradient(135deg, #ff9b3d, #f56a00);
  color: #fff;
}

.bolum-detail {
  border-top: 1px solid #e3ebf7;
  background: #f9fbff;
  padding: 12px 16px;
}

.bolum-detail h4 {
  margin: 0 0 6px;
  color: #183d6e;
}

.bolum-detail p {
  margin: 0;
  color: #56708f;
}

.bolum-detail-meta {
  margin-top: 8px;
  display: grid;
  gap: 5px;
}

.bolum-detail-meta span {
  color: #37557e;
  font-size: 0.84rem;
}

.bolum-detail-meta strong {
  color: #173a68;
}

.bolum-empty {
  border: 1px dashed #c7d7ed;
  border-radius: 12px;
  padding: 16px;
  background: #f9fbff;
  color: #55708f;
}

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

.advisor-hero,
.advisor-panel,
.advisor-empty {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(10, 42, 90, 0.09);
}

.advisor-hero {
  padding: 24px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 18px;
  align-items: end;
}

.advisor-kicker {
  margin: 0 0 6px;
  font-weight: 700;
  color: var(--accent);
}

.advisor-hero h1 {
  margin: 0 0 10px;
  color: var(--primary-strong);
  font-size: clamp(1.6rem, 2.2vw, 2.1rem);
}

.advisor-hero p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.advisor-search {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #cfdbed;
  background: #f5f8fd;
  border-radius: 12px;
  padding: 12px 14px;
}

.advisor-search span {
  color: #6f7f95;
}

.advisor-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 1.02rem;
}

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

.filter-summary {
  margin: -4px 2px 0;
  color: #4f6788;
  font-weight: 700;
  font-size: 0.98rem;
}

.advisor-panel {
  padding: 18px;
}

.advisor-panel h2 {
  margin: 0 0 14px;
  color: var(--primary-strong);
  font-size: 1.25rem;
}

.advisor-group + .advisor-group {
  margin-top: 14px;
}

.advisor-group h3 {
  margin: 0 0 8px;
  color: #557090;
  font-size: 1rem;
}

.advisor-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.advisor-chips button {
  border: 1px solid #c2d3ea;
  border-radius: 999px;
  background: #f7faff;
  color: #274265;
  padding: 8px 12px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: 0.2s ease;
}

.advisor-chips button:hover {
  border-color: #8caad1;
  background: #eef4ff;
}

.advisor-chips button.is-active {
  color: #ffffff;
  border-color: #0b3a7e;
  background: linear-gradient(135deg, #0f4e99, #0b3a7e);
}

.advisor-panel select,
.advisor-panel input {
  width: 100%;
  border: 1px solid #c8d8ec;
  border-radius: 10px;
  background: #f8fafe;
  padding: 10px 12px;
  color: #2f4a6c;
  font-size: 0.98rem;
}

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

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

.advisor-results {
  padding: 22px;
  border-left: 6px solid var(--accent);
}

.result-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.result-header h2 {
  margin: 0;
  color: var(--primary-strong);
}

.result-header p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.result-actions {
  margin: 0 0 8px;
  display: flex;
  gap: 10px;
}

.result-actions button {
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff7d18, var(--accent));
  color: #fff;
  font-weight: 700;
  padding: 10px 14px;
  cursor: pointer;
}

.result-actions .ghost-btn {
  background: #eef4ff;
  color: #1f4274;
  border: 1px solid #bfd0e8;
}

.result-list {
  margin-top: 8px;
  display: grid;
  gap: 10px;
}

.result-pagination {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.page-btn {
  min-width: 38px;
  height: 38px;
  border: 1px solid #c9d8ec;
  border-radius: 10px;
  background: #f7fbff;
  color: #21466f;
  font-weight: 700;
  cursor: pointer;
}

.page-btn:hover:not(:disabled) {
  border-color: #9fb9db;
  background: #eef5ff;
}

.page-btn.is-active {
  border-color: #0b3a7e;
  background: linear-gradient(135deg, #1c60a9, #0b3a7e);
  color: #ffffff;
}

.page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.pagination-info {
  margin: 10px 0 0;
  text-align: center;
  color: #556e8f;
  font-weight: 700;
}

.result-item {
  border: 1px solid #d6e0ef;
  background: #ffffff;
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 4px 12px rgba(10, 42, 90, 0.05);
}

.result-item.reorder-move {
  animation: reorderPulse 0.62s ease;
}

.result-item.reorder-move-up {
  animation-name: reorderMoveUp;
}

.result-item.reorder-move-down {
  animation-name: reorderMoveDown;
}

@keyframes reorderMoveUp {
  0% {
    transform: translateY(12px) scale(0.995);
    box-shadow: 0 0 0 rgba(11, 58, 126, 0);
    border-color: #d6e0ef;
  }
  38% {
    transform: translateY(-3px) scale(1);
    box-shadow: 0 10px 24px rgba(27, 93, 166, 0.22);
    border-color: #9fc0e6;
  }
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 4px 12px rgba(10, 42, 90, 0.05);
    border-color: #d6e0ef;
  }
}

@keyframes reorderMoveDown {
  0% {
    transform: translateY(-12px) scale(0.995);
    box-shadow: 0 0 0 rgba(11, 58, 126, 0);
    border-color: #d6e0ef;
  }
  38% {
    transform: translateY(3px) scale(1);
    box-shadow: 0 10px 24px rgba(245, 106, 0, 0.2);
    border-color: #f3c18e;
  }
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 4px 12px rgba(10, 42, 90, 0.05);
    border-color: #d6e0ef;
  }
}

@keyframes reorderPulse {
  0% {
    outline: 0 solid rgba(27, 93, 166, 0);
  }
  35% {
    outline: 3px solid rgba(27, 93, 166, 0.18);
  }
  100% {
    outline: 0 solid rgba(27, 93, 166, 0);
  }
}

.result-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.result-count-wrap {
  min-width: 330px;
  display: grid;
  justify-items: end;
  align-content: start;
  row-gap: 2px;
  text-align: right;
}

.result-count-wrap p {
  margin: 0;
}

.listem-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.listem-print-btn {
  border: 1px solid #c7d6eb;
  border-radius: 10px;
  padding: 8px 12px;
  background: linear-gradient(135deg, #1a5fa9, #0b3a7e);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
  box-shadow: 0 8px 16px rgba(11, 58, 126, 0.2);
}

.listem-print-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(11, 58, 126, 0.28);
}

.listem-print-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.listem-suitability-controls {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 220px));
  gap: 10px;
}

.listem-suitability-controls label {
  display: grid;
  gap: 6px;
}

.listem-suitability-controls span {
  color: #4a6587;
  font-size: 0.8rem;
  font-weight: 700;
}

.listem-suitability-controls select,
.listem-suitability-controls input {
  border: 1px solid #c4d4e9;
  border-radius: 10px;
  background: #f8fbff;
  color: #214366;
  padding: 8px 10px;
  font: inherit;
}

.print-sheet {
  display: none;
}

.print-cover {
  border: 1px solid #d6e0ee;
  border-radius: 12px;
  background: #f9fbff;
  padding: 12px;
  margin-bottom: 10px;
}

.print-cover-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.print-cover-top img {
  width: 56px;
  height: auto;
}

.print-cover-top h2 {
  margin: 0;
  color: #0f3158;
  font-size: 1.1rem;
}

.print-generated {
  margin: 3px 0 0;
  color: #5f7695;
  font-size: 0.82rem;
}

.print-filters {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.print-filters div {
  border: 1px solid #d4deec;
  border-radius: 8px;
  background: #ffffff;
  padding: 6px 8px;
}

.print-filters span {
  display: block;
  color: #5e7390;
  font-size: 0.72rem;
  font-weight: 700;
}

.print-filters strong {
  display: block;
  margin-top: 2px;
  color: #1d436f;
  font-size: 0.9rem;
}

.print-meta {
  margin: 6px 0 12px;
  color: #4d6587;
  font-size: 0.9rem;
}

.print-table {
  width: 100%;
  border-collapse: collapse;
}

.print-table th,
.print-table td {
  border: 1px solid #d1d9e5;
  padding: 8px;
  text-align: left;
  font-size: 0.84rem;
}

.print-table th {
  background: #f3f7fd;
  color: #1a3f6f;
  font-weight: 800;
}

.print-table td {
  color: #2a4468;
}

.print-footer {
  margin: 10px 0 0;
  text-align: right;
  color: #4f6481;
  font-size: 0.78rem;
  font-weight: 700;
}

.sort-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
  color: #486384;
  font-size: 0.86rem;
  font-weight: 700;
}

.sort-wrap select {
  border: 1px solid #c5d5eb;
  border-radius: 8px;
  background: #f7faff;
  color: #274468;
  padding: 5px 8px;
  font-size: 0.82rem;
  max-width: 100%;
  min-width: 0;
}

#preference-count {
  margin-top: 4px;
  font-size: 0.84rem;
  color: #5a6f8d;
}

.result-item h3 {
  margin: 0 0 5px;
  color: var(--primary-strong);
}

.result-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.suitability-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 2px 8px;
  border: 1px solid #c8d8ec;
  background: #f3f8ff;
  color: #2d527f;
  font-size: 0.73rem;
  font-weight: 800;
  white-space: nowrap;
}

.suitability-eligible {
  border-color: #bfe3cc;
  background: #eefaf3;
  color: #1f8c56;
}

.suitability-risky {
  border-color: #f1d39f;
  background: #fff8ee;
  color: #b3671f;
}

.suitability-ineligible {
  border-color: #efc4c4;
  background: #fff3f3;
  color: #b23c3c;
}

.suitability-unknown {
  border-color: #d4dce9;
  background: #f7f9fd;
  color: #62758f;
}

.list-order-badge {
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid #c3d6ee;
  background: linear-gradient(135deg, #f6faff, #eaf2ff);
  color: #1f4e84;
  font-size: 0.78rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.warning-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.warning-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff4d8, #ffe8b3);
  color: #d97706;
  border: 1px solid #f3c86b;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  cursor: help;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.18);
}

.warning-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(4px);
  display: none;
  width: max-content;
  min-width: 0;
  max-width: min(280px, calc(100vw - 24px));
  padding: 8px 10px;
  border-radius: 10px;
  background: #12233b;
  color: #eef5ff;
  border: 1px solid #2a456b;
  font-size: 0.78rem;
  line-height: 1.35;
  white-space: normal;
  word-break: break-word;
  box-shadow: 0 10px 24px rgba(6, 24, 46, 0.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.1s ease, transform 0.1s ease, visibility 0.1s ease;
  z-index: 15;
}

.warning-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #12233b;
}

.warning-wrap:hover .warning-tooltip,
.warning-wrap:focus-within .warning-tooltip {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.result-sub {
  margin: 0 0 10px;
  color: #5b708d;
  font-size: 0.95rem;
}

.expand-toggle {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid #b6c8e3;
  background: linear-gradient(135deg, #ffffff, #edf4ff);
  color: #22497a;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.result-item.is-open .expand-toggle {
  border-color: #f2a055;
  background: linear-gradient(135deg, #ff9b3d, #f56a00);
  color: #ffffff;
}

.result-actions-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.add-feedback {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.78rem;
  color: #1f8c56;
  font-weight: 700;
  transition: max-width 0.2s ease, opacity 0.2s ease;
}

.add-feedback.is-visible {
  max-width: 220px;
  opacity: 1;
}

.add-toggle {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid #b6c8e3;
  background: linear-gradient(135deg, #1d5ea6, #0b3a7e);
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.add-toggle.is-added {
  border-color: #1f8c56;
  background: linear-gradient(135deg, #31a96a, #1f8c56);
}

.remove-toggle {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid #d9b7b7;
  background: linear-gradient(135deg, #fff3f3, #ffe5e5);
  color: #aa2e2e;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.reorder-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid #c0d2e9;
  background: linear-gradient(135deg, #ffffff, #edf4ff);
  color: #1f4a7c;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.reorder-btn:hover:not(:disabled) {
  border-color: #94b2d5;
  background: linear-gradient(135deg, #f9fcff, #e6f0ff);
}

.reorder-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.result-meta span {
  border-radius: 999px;
  border: 1px solid #d0dcee;
  background: #f4f8ff;
  color: #32537d;
  padding: 4px 9px;
  font-size: 0.86rem;
}

.result-details {
  margin-top: 10px;
  border-top: 1px solid #e1e9f5;
  padding-top: 10px;
}

.detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-badges span {
  border-radius: 999px;
  border: 1px solid #d8e4f3;
  background: #f9fbff;
  color: #3f5e86;
  padding: 5px 10px;
  font-size: 0.8rem;
}

.result-years {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  border-top: 1px solid #e1e9f5;
  padding-top: 10px;
}

.result-col {
  border-right: 1px solid #ebf0f8;
  padding-right: 8px;
}

.result-col:last-child {
  border-right: 0;
  padding-right: 0;
}

.result-col h4 {
  margin: 0 0 4px;
  font-size: 0.8rem;
  color: #5c7090;
}

.result-col span {
  display: block;
  font-size: 0.78rem;
  color: #2f496d;
  line-height: 1.35;
}

.result-empty {
  border: 1px dashed #c3d3e8;
  border-radius: 12px;
  padding: 18px;
  color: #5a6f8c;
  background: #f9fbff;
}

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

.career-hero,
.career-panel,
.career-result {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(10, 42, 90, 0.09);
}

.career-hero {
  padding: 22px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 14px;
  align-items: end;
  background:
    radial-gradient(circle at top right, rgba(245, 106, 0, 0.12), transparent 45%),
    radial-gradient(circle at left bottom, rgba(11, 58, 126, 0.12), transparent 42%),
    #ffffff;
  border-color: #c6d8ee;
}

.career-kicker {
  margin: 0 0 6px;
  color: var(--accent);
  font-weight: 700;
}

.career-hero h1 {
  margin: 0 0 10px;
  color: var(--primary-strong);
}

.career-hero p {
  margin: 0;
  color: var(--muted);
}

.career-hero-note {
  border: 1px solid #d1dff1;
  border-radius: 12px;
  background: linear-gradient(140deg, #f7fbff, #eef5ff);
  padding: 12px 14px;
  color: #35557f;
  display: grid;
  gap: 4px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.career-hero-note strong {
  font-size: 1rem;
  color: #123a6a;
}

.career-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 16px;
  align-items: start;
}

.career-panel,
.career-result {
  padding: 18px;
}

.career-result {
  position: sticky;
  top: 98px;
}

.career-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.career-panel h2 {
  margin: 0 0 6px;
  color: #11386f;
  font-size: 1.3rem;
}

.career-panel-head p {
  margin: 0;
  color: #587194;
  font-weight: 700;
}

.career-scale-note {
  margin: 0 0 12px;
  color: #5c7090;
}

.career-progress-track {
  width: 100%;
  height: 9px;
  border-radius: 999px;
  background: #e8eff8;
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid #d6e3f3;
}

.career-progress-track span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(135deg, #ff8a2e, #f56a00);
  transition: width 0.2s ease;
}

.career-form {
  display: grid;
  gap: 12px;
}

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

.career-item {
  border: 1px solid #d8e4f3;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffffff, #f7fbff);
  padding: 13px;
  box-shadow: 0 6px 16px rgba(10, 42, 90, 0.06);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.career-item:hover {
  border-color: #b5cde8;
  box-shadow: 0 10px 22px rgba(10, 42, 90, 0.1);
  transform: translateY(-1px);
}

.career-item h3 {
  margin: 0;
  color: #173d6e;
  font-size: 1rem;
}

.career-item p {
  margin: 4px 0 10px;
  color: #5b7292;
  font-size: 0.88rem;
}

.career-scale {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.career-scale label {
  border: 1px solid #c9d8ec;
  border-radius: 12px;
  background: linear-gradient(145deg, #f9fcff, #f2f7ff);
  color: #2f4d73;
  font-weight: 700;
  text-align: center;
  padding: 8px 6px;
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease, background 0.16s ease;
}

.career-scale label:hover {
  border-color: #9fb9db;
  background: #eef5ff;
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(10, 42, 90, 0.1);
}

.career-scale input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.career-scale label.is-selected {
  border-color: #f29d5d;
  background: linear-gradient(145deg, #fff4e8, #ffe9d2);
  color: #a45512;
  box-shadow: 0 8px 16px rgba(245, 106, 0, 0.2);
}

.career-actions {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 10px;
}

.career-actions button {
  border: 0;
  border-radius: 12px;
  padding: 11px 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

#career-submit {
  background: linear-gradient(135deg, #1a57a0, #0b3a7e 60%, #0b3a7e);
  color: #fff;
  box-shadow: 0 8px 18px rgba(11, 58, 126, 0.22);
}

#career-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(11, 58, 126, 0.26);
}

.career-actions .ghost-btn {
  border: 1px solid #f2c89d;
  background: #fff4ea;
  color: #a85a17;
}

.career-actions .ghost-btn:hover {
  transform: translateY(-1px);
  border-color: #ecb881;
}

.career-result-placeholder {
  border-style: dashed;
  border-width: 2px;
  background: linear-gradient(145deg, #f8fbff, #f2f8ff);
  text-align: center;
}

.career-result h3 {
  margin: 0 0 8px;
  color: #133764;
}

.career-result p {
  margin: 0;
  color: #5d7291;
}

.career-result-stack {
  display: grid;
  gap: 12px;
}

.career-top {
  border: 2px solid #b7c7df;
  border-radius: 14px;
  background: #ffffff;
  padding: 12px;
  box-shadow: 0 8px 20px rgba(10, 42, 90, 0.08);
}

.career-top:first-child {
  border-color: #8fb1da;
  background: linear-gradient(150deg, #ffffff, #f3f8ff);
}

.career-top h4 {
  margin: 0 0 8px;
  color: #143c74;
  font-size: 1.05rem;
}

.career-match {
  border: 1px solid #d2deef;
  border-radius: 10px;
  background: #f7fbff;
  padding: 8px 10px;
  color: #35577f;
  font-weight: 700;
}

.career-meta {
  margin-top: 8px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.career-meta span {
  border-radius: 999px;
  border: 1px solid #d0dcee;
  background: #f4f8ff;
  color: #32537d;
  padding: 4px 9px;
  font-size: 0.8rem;
  font-weight: 700;
}

.career-list {
  border: 1px solid #d8e4f3;
  border-radius: 12px;
  background: #f9fbff;
  padding: 12px;
}

.career-list h5 {
  margin: 0 0 8px;
  color: #133a6b;
  font-size: 0.92rem;
}

.career-list ul {
  margin: 0;
  padding-left: 18px;
  color: #34567f;
  line-height: 1.5;
}

.career-summary {
  border: 1px solid #d8e4f3;
  border-radius: 12px;
  background: #f9fbff;
  padding: 12px;
}

.career-summary h5 {
  margin: 0 0 8px;
  color: #133a6b;
  font-size: 0.92rem;
}

.career-summary p {
  margin: 0;
  color: #4a6487;
  line-height: 1.5;
}

.career-strength-bars {
  display: grid;
  gap: 8px;
}

.career-bar-item {
  display: grid;
  gap: 5px;
}

.career-bar-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #34567f;
  font-weight: 700;
  font-size: 0.84rem;
}

.career-bar-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: #e5edf8;
  overflow: hidden;
}

.career-bar-track span {
  display: block;
  height: 100%;
  background: linear-gradient(135deg, #1b5da6, #0b3a7e);
}

.career-steps {
  margin: 0;
  padding-left: 18px;
  color: #35577f;
  line-height: 1.55;
}

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

.career-info-card {
  border: 1px solid #d6e2f1;
  border-radius: 14px;
  background: linear-gradient(150deg, #ffffff, #f8fbff);
  box-shadow: 0 6px 18px rgba(10, 42, 90, 0.06);
  padding: 14px;
  position: relative;
  overflow: hidden;
}

.career-info-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #1a58a1, #f56a00);
  opacity: 0.75;
}

.career-info-card h3 {
  margin: 0 0 8px;
  color: #153c70;
  font-size: 1rem;
}

.career-info-card p {
  margin: 0 0 8px;
  color: #557091;
  line-height: 1.5;
}

.career-info-card p:last-child {
  margin-bottom: 0;
}

.career-info-card ul {
  margin: 0;
  padding-left: 18px;
  color: #557091;
  line-height: 1.55;
}

.timeline-page {
  display: grid;
  gap: 16px;
}

.timeline-hero,
.timeline-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(10, 42, 90, 0.09);
}

.timeline-hero {
  padding: 22px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 14px;
  align-items: end;
  background:
    radial-gradient(circle at top right, rgba(245, 106, 0, 0.12), transparent 45%),
    radial-gradient(circle at left bottom, rgba(11, 58, 126, 0.12), transparent 42%),
    #ffffff;
}

.timeline-kicker {
  margin: 0 0 6px;
  color: var(--accent);
  font-weight: 700;
}

.timeline-hero h1 {
  margin: 0 0 10px;
  color: var(--primary-strong);
}

.timeline-hero p {
  margin: 0;
  color: var(--muted);
}

.timeline-countdown {
  border: 1px solid #d1dff1;
  border-radius: 12px;
  background: #f5f9ff;
  padding: 12px 14px;
  color: #35557f;
  display: grid;
  gap: 4px;
}

.timeline-countdown strong {
  color: #0f3a71;
}

.timeline-countdown span {
  color: #163f76;
  font-weight: 700;
}

.timeline-countdown p {
  margin: 0;
  color: #5a7291;
  font-size: 0.9rem;
}

.timeline-card {
  padding: 16px;
}

.timeline-card h2 {
  margin: 0 0 6px;
  color: #11386f;
}

.timeline-note {
  margin: 0 0 10px;
  color: #5d7393;
}

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

.osym-updates {
  display: grid;
  gap: 10px;
}

.osym-status {
  margin: 0;
  color: #557093;
  font-size: 0.86rem;
  font-weight: 700;
}

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

.osym-item {
  border: 1px solid #d7e2f2;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffffff, #f8fbff);
  padding: 10px 12px;
}

.osym-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.osym-item h3 {
  margin: 0;
  color: #133f73;
  font-size: 0.96rem;
}

.osym-type {
  border: 1px solid #c7d8ec;
  border-radius: 999px;
  padding: 3px 8px;
  background: #f3f8ff;
  color: #355983;
  font-size: 0.74rem;
  font-weight: 800;
}

.osym-item p {
  margin: 6px 0;
  color: #5a7393;
  font-size: 0.85rem;
}

.osym-item a {
  color: #1b5da6;
  font-weight: 700;
  font-size: 0.84rem;
  text-decoration: none;
}

.osym-item a:hover {
  color: #f56a00;
}

.timeline-item {
  border: 1px solid #d8e4f3;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffffff, #f8fbff);
  padding: 12px;
  display: grid;
  grid-template-columns: 190px 1fr 110px;
  gap: 10px;
  align-items: start;
}

.timeline-date {
  border: 1px solid #c8d8ec;
  border-radius: 10px;
  background: #f7fbff;
  color: #28496f;
  font-weight: 700;
  padding: 8px 10px;
}

.timeline-body h3 {
  margin: 0 0 6px;
  color: #163f74;
  font-size: 1rem;
}

.timeline-body p {
  margin: 0;
  color: #5b7392;
}

.timeline-status {
  justify-self: end;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid #cbd9eb;
  background: #f7fbff;
  color: #395a82;
}

.timeline-done .timeline-status {
  border-color: #cce5d2;
  background: #effaf2;
  color: #1f8c56;
}

.timeline-soon .timeline-status {
  border-color: #f2ca9d;
  background: #fff8ef;
  color: #b3621b;
}

.timeline-upcoming .timeline-status {
  border-color: #c3d6ef;
  background: #f2f8ff;
  color: #235285;
}

.faq-page {
  display: grid;
  gap: 16px;
}

.faq-hero,
.faq-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(10, 42, 90, 0.09);
}

.faq-hero {
  padding: 22px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 14px;
  align-items: end;
}

.faq-kicker {
  margin: 0 0 6px;
  color: var(--accent);
  font-weight: 700;
}

.faq-hero h1 {
  margin: 0 0 10px;
  color: var(--primary-strong);
}

.faq-hero p {
  margin: 0;
  color: var(--muted);
}

.faq-search {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #cfdbed;
  background: #f5f8fd;
  border-radius: 12px;
  padding: 12px 14px;
}

.faq-search span {
  color: #6f7f95;
}

.faq-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 1rem;
}

.faq-card {
  padding: 16px;
}

.faq-card h2 {
  margin: 0 0 10px;
  color: #11386f;
}

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

.faq-item {
  border: 1px solid #d8e4f3;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffffff, #f8fbff);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #1c4373;
  font-weight: 700;
  cursor: pointer;
}

.faq-question strong {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid #bdd1ea;
  background: #f5f9ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
}

.faq-item.is-open .faq-question strong {
  border-color: #f2a055;
  background: linear-gradient(135deg, #ff9b3d, #f56a00);
  color: #fff;
}

.faq-answer {
  border-top: 1px solid #e1e9f5;
  padding: 12px 14px;
  color: #56708f;
  background: #f9fbff;
}

.faq-answer p {
  margin: 0;
}

.faq-empty {
  border: 1px dashed #c3d3e8;
  border-radius: 12px;
  padding: 14px;
  color: #5a6f8c;
  background: #f9fbff;
}

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

.sim-hero,
.sim-panel,
.sim-summary,
.sim-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(10, 42, 90, 0.09);
}

.sim-hero {
  padding: 24px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 14px;
  align-items: end;
  background:
    radial-gradient(circle at top right, rgba(245, 106, 0, 0.2), transparent 46%),
    radial-gradient(circle at left bottom, rgba(11, 58, 126, 0.18), transparent 45%),
    #ffffff;
}

.sim-kicker {
  margin: 0 0 8px;
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.72rem;
}

.sim-hero h1 {
  margin: 0 0 10px;
  color: #0d325f;
  font-size: clamp(1.6rem, 2vw, 2rem);
}

.sim-hero p {
  margin: 0;
  color: #4d6787;
  line-height: 1.7;
  max-width: 72ch;
}

.sim-panel {
  padding: 18px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.sim-panel h2 {
  margin: 0 0 12px;
  color: #123e71;
}

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

.sim-field {
  display: grid;
  gap: 6px;
}

.sim-field span {
  color: #35557c;
  font-weight: 700;
  font-size: 0.86rem;
}

.sim-field select,
.sim-field input {
  width: 100%;
  border: 1px solid #c3d3e8;
  border-radius: 10px;
  padding: 10px 11px;
  background: #fbfdff;
  color: #1f395f;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.sim-field select:focus,
.sim-field input:focus {
  border-color: #5b89c4;
  background: #ffffff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(27, 93, 166, 0.14);
}

.sim-actions {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
}

.sim-actions .calc-btn.primary {
  position: relative;
  overflow: hidden;
  border: 1px solid #dc6c17;
  border-radius: 12px;
  padding: 12px 20px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #ffffff;
  background: linear-gradient(135deg, #ff9b3d 0%, #f56a00 55%, #cf4f00 100%);
  box-shadow:
    0 12px 24px rgba(216, 96, 12, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.sim-actions .calc-btn.primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 25%, rgba(255, 255, 255, 0.28) 50%, transparent 75%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}

.sim-actions .calc-btn.primary:hover {
  transform: translateY(-2px);
  filter: saturate(1.04);
  box-shadow:
    0 16px 30px rgba(216, 96, 12, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.sim-actions .calc-btn.primary:hover::before {
  transform: translateX(120%);
}

.sim-actions .calc-btn.primary:active {
  transform: translateY(0);
  box-shadow:
    0 8px 16px rgba(216, 96, 12, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.sim-actions .calc-btn.primary:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(255, 178, 98, 0.45),
    0 0 0 6px rgba(22, 63, 116, 0.25),
    0 14px 28px rgba(216, 96, 12, 0.34);
}

.sim-help {
  margin: 10px 0 0;
  color: #5c7797;
  font-size: 0.86rem;
}

.sim-summary {
  padding: 13px 14px;
  color: #1d446f;
  font-weight: 700;
  border-left: 4px solid #1b5da6;
  background: linear-gradient(90deg, #f3f8ff 0%, #ffffff 100%);
}

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

.sim-col {
  padding: 14px;
  display: grid;
  align-content: start;
  gap: 8px;
}

.sim-col h3 {
  margin: 0;
  color: #123f74;
}

.sim-col p {
  margin: 0;
  color: #5b7898;
  font-size: 0.85rem;
}

.sim-list {
  display: grid;
  gap: 8px;
  margin-top: 2px;
}

.sim-item {
  border: 1px solid #d5e0ef;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  padding: 10px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.sim-item:hover {
  transform: translateY(-1px);
  border-color: #b8cde7;
  box-shadow: 0 8px 16px rgba(12, 45, 88, 0.1);
}

.sim-item h4 {
  margin: 0 0 5px;
  color: #163f70;
  font-size: 0.98rem;
}

.sim-item p {
  margin: 0 0 8px;
  color: #4f6b8b;
  font-size: 0.84rem;
}

.sim-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sim-meta span {
  border: 1px solid #d5e1f0;
  border-radius: 999px;
  padding: 2px 7px;
  background: #ffffff;
  color: #35567f;
  font-size: 0.75rem;
  font-weight: 700;
}

.sim-empty {
  border: 1px dashed #cad9eb;
  border-radius: 10px;
  padding: 10px;
  background: #f8fbff;
  color: #577396;
  font-size: 0.84rem;
}

.sim-hero-stats {
  display: grid;
  gap: 10px;
}

.sim-stat-box {
  border: 1px solid #ccd9ec;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(2px);
  padding: 10px 12px;
  display: grid;
  gap: 2px;
}

.sim-stat-box strong {
  color: #123f74;
  font-size: 0.9rem;
}

.sim-stat-box span {
  color: #5a7595;
  font-size: 0.8rem;
}

.sim-col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.sim-col-count {
  border: 1px solid #c3d6ee;
  border-radius: 999px;
  padding: 3px 9px;
  color: #1f4e84;
  background: #f4f8ff;
  font-size: 0.75rem;
  font-weight: 800;
}

.sim-safe {
  border-top: 4px solid #2f9f67;
}

.sim-balanced {
  border-top: 4px solid #1b5da6;
}

.sim-ambitious {
  border-top: 4px solid #f2882e;
}

.cookie-banner {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: calc(var(--footer-height) + 14px);
  z-index: 70;
  border: 1px solid #c8d8ec;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 28px rgba(10, 42, 90, 0.18);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  backdrop-filter: blur(6px);
}

.cookie-banner.is-hidden {
  display: none !important;
}

.cookie-banner-content {
  min-width: 0;
}

.cookie-title {
  margin: 0;
  color: #123a6e;
  font-weight: 700;
}

.cookie-text {
  margin: 4px 0 0;
  color: #556f90;
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-text a {
  color: #1b5da6;
  font-weight: 700;
  text-decoration: none;
}

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

.cookie-btn {
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
}

.cookie-btn.primary {
  border: 0;
  background: linear-gradient(135deg, #1a57a0, #0b3a7e 60%, #0b3a7e);
  color: #fff;
}

.cookie-btn.ghost {
  border: 1px solid #bfd0e8;
  background: #eef4ff;
  color: #1f4274;
}

.cookie-settings-toggle {
  display: none !important;
  position: fixed;
  right: 14px;
  top: auto;
  bottom: calc((var(--footer-height) - 38px) / 2);
  left: auto;
  transform: none;
  z-index: 69;
  border: 1px solid #bfd0e8;
  background: #ffffff;
  color: #1f4274;
  border-radius: 10px;
  padding: 9px 12px;
  font-weight: 700;
  cursor: pointer;
}

.cookie-settings-toggle.is-hidden {
  display: none !important;
}

.cookie-modal[hidden] {
  display: none;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
}

.cookie-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 25, 50, 0.4);
}

.cookie-modal-panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(460px, calc(100% - 24px));
  border: 1px solid #c8d8ec;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(8, 28, 56, 0.28);
  padding: 16px;
}

.cookie-modal-panel h3 {
  margin: 0 0 8px;
  color: #123a6e;
}

.cookie-modal-panel p {
  margin: 0 0 10px;
  color: #597291;
}

.cookie-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0 12px;
  color: #2f4e74;
  font-weight: 700;
}

.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

@media (max-width: 980px) {
  :root {
    --ad-gutter: 14px;
  }

  .calc-layout {
    flex-direction: column;
  }

  .calc-actions {
    grid-template-columns: 1fr;
  }

  .calc-metrics {
    grid-template-columns: 1fr;
  }

  .result-values {
    grid-template-columns: 1fr;
  }

  .tyt-result-grid {
    grid-template-columns: 1fr;
  }

  .net-grid {
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .net-head,
  .net-row {
    min-width: 560px;
  }

  .bolumler-hero {
    grid-template-columns: 1fr;
  }

  .career-hero {
    grid-template-columns: 1fr;
  }

  .career-layout {
    grid-template-columns: 1fr;
  }

  .career-result {
    position: static;
    top: auto;
  }

  .career-actions {
    grid-template-columns: 1fr;
  }

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

  .timeline-hero,
  .faq-hero,
  .sim-hero {
    grid-template-columns: 1fr;
  }

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

  .seo-grid-2 {
    grid-template-columns: 1fr;
  }

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

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .timeline-status {
    justify-self: start;
  }

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

  .sim-actions {
    justify-content: stretch;
  }

  .sim-actions .calc-btn.primary {
    width: 100%;
  }

  .listem-actions {
    justify-content: flex-start;
  }

  .listem-suitability-controls {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
    text-align: center;
  }

  .brand img {
    width: 88px;
  }

  .brand span {
    font-size: 1rem;
  }

  .menu-toggle {
    display: inline-block;
  }

  .navbar {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 14px;
  }

  .navbar.open {
    display: flex;
  }

  .navbar a {
    text-align: center;
  }

  .navbar .nav-action {
    margin-left: 0;
  }

  .advisor-hero {
    grid-template-columns: 1fr;
  }

  .home-hero {
    grid-template-columns: 1fr;
  }

  .advisor-layout {
    grid-template-columns: 1fr;
  }

  .result-actions {
    width: 100%;
  }

  .result-actions button {
    flex: 1;
  }

  .result-count-wrap {
    min-width: 0;
    justify-items: start;
    text-align: left;
  }

  .sort-wrap {
    width: 100%;
    min-width: 0;
  }

  .sort-wrap select {
    width: 100%;
  }

  .expand-toggle {
    width: 30px;
    height: 30px;
    font-size: 1.1rem;
  }

  .add-toggle {
    width: 30px;
    height: 30px;
    font-size: 1.05rem;
  }

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

  .result-col {
    border-right: 0;
    border-bottom: 1px solid #ebf0f8;
    padding-right: 0;
    padding-bottom: 8px;
  }

  .result-col:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }
}

@media print {
  .utr-ad-slot {
    display: none !important;
  }

  @page {
    size: A4 portrait;
    margin: 12mm;
  }

  body {
    background: #ffffff;
    padding-bottom: 0;
  }

  .site-header,
  .legal-strip,
  .site-footer,
  .cookie-banner,
  .cookie-settings-toggle {
    display: none !important;
  }

  .advisor-page > .advisor-hero,
  .advisor-page > .advisor-results > .result-header,
  .advisor-page > .advisor-results > #listem-list {
    display: none !important;
  }

  .page-content {
    padding: 0 !important;
  }

  .advisor-page > .advisor-results > .listem-suitability-controls {
    display: none !important;
  }

  .print-sheet {
    display: block !important;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #ffffff;
    padding: 0;
    margin-top: 12px;
  }

  .print-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .print-sheet h2 {
    margin: 0 0 8px;
    color: #102f56;
    font-size: 1.2rem;
  }

  .print-meta {
    display: none !important;
  }

  .print-table th,
  .print-table td {
    border-color: #b7c3d3;
    font-size: 0.8rem;
  }

  .print-page-num::after {
    content: counter(page);
  }
}

@media (max-width: 620px) {
  :root {
    --footer-height: 46px;
    --legal-strip-height: 52px;
    --ad-gutter: 10px;
  }

  .header-wrap {
    min-height: 82px;
  }

  .brand {
    gap: 8px;
  }

  .brand img {
    width: 72px;
  }

  .brand span {
    display: none;
  }

  .hero,
  .card {
    padding: 24px;
  }

  .home-hero {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .home-hero-links {
    justify-items: stretch;
  }

  .hero-link-card {
    width: 100%;
  }

  .hero-kicker {
    font-size: 0.74rem;
    padding: 6px 10px;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-btn {
    width: 100%;
  }

  .seo-grid-3,
  .seo-grid-2 {
    grid-template-columns: 1fr;
  }

  .seo-item {
    padding: 12px;
  }

  .seo-link {
    width: 100%;
    justify-content: center;
  }

  .seo-table {
    min-width: 460px;
  }

  .utr-ad-slot {
    min-height: 220px;
  }

  .utr-ad-slot ins.adsbygoogle {
    min-height: 180px;
  }

  .two-col,
  .range-row {
    grid-template-columns: 1fr;
  }

  .career-scale {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .legal-strip-inner {
    gap: 8px;
    padding: 6px 0;
  }

  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: calc(var(--footer-height) + 12px);
  }

  .cookie-settings-toggle {
    right: 10px;
    top: auto;
    bottom: calc((var(--footer-height) - 38px) / 2);
    left: auto;
    transform: none;
  }

  .footer-row {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 8px;
    text-align: left;
    padding: 0;
  }

  .site-footer p {
    font-size: 0.74rem;
  }

  .footer-powered {
    max-width: 60%;
  }
}
