:root {
  --ink: #1a1a1a;
  --ink-soft: #333333;
  --paper: #f6f7f8;
  --surface: #ffffff;
  --surface-soft: #f1f3f5;
  --line: #c9cfd6;
  --muted: #5f6872;
  --blue: #1f4e79;
  --blue-dark: #173d61;
  --teal: #3f6f6a;
  --red: #9b3f37;
  --amber: #8b6a2d;
  --green: #3f6a53;
  --shadow: 0 6px 18px rgba(23, 32, 43, 0.06);
  --radius: 8px;
  --content: 1380px;
  --font: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
  --font-display: "STZhongsong", "Songti SC", "SimSun", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 74px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  line-height: 1.6;
}

.background-slides {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: rgba(246, 247, 248, 0.35);
}

.appbar,
.app-shell,
.upload-shell,
.site-footer {
  position: relative;
  z-index: 1;
}

.background-slides::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(246, 247, 248, 0.82));
}

.background-slides span {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  animation: backgroundFade 36s linear infinite;
}

.bg-01 {
  background-image: url("assets/photos/bg-01.webp");
  animation-delay: 0s;
}

.bg-02 {
  background-image: url("assets/photos/bg-02.webp");
  animation-delay: 6s;
}

.bg-03 {
  background-image: url("assets/photos/bg-03.webp");
  animation-delay: 12s;
}

.bg-04 {
  background-image: url("assets/photos/bg-04.webp");
  animation-delay: 18s;
}

.bg-05 {
  background-image: url("assets/photos/bg-05.webp");
  animation-delay: 24s;
}

.bg-06 {
  background-image: url("assets/photos/bg-06.webp");
  animation-delay: 30s;
}

@keyframes backgroundFade {
  0% {
    opacity: 0;
  }
  5% {
    opacity: 0.66;
  }
  18% {
    opacity: 0.66;
  }
  23% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

button,
input,
select {
  font: inherit;
}

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

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(53, 107, 138, 0.28);
  outline-offset: 2px;
}

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 2000;
  padding: 9px 13px;
  color: var(--surface);
  background: var(--ink);
  border-radius: 6px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.animate-enter {
  animation: riseIn 650ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.page-heading.animate-enter {
  animation-delay: 40ms;
}

.form-panel.animate-enter {
  animation-delay: 130ms;
}

.result-panel.animate-enter {
  animation-delay: 220ms;
}

.method-note.animate-enter {
  animation-delay: 300ms;
}

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

.appbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 9px max(20px, calc((100vw - var(--content)) / 2));
  color: var(--ink);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 180ms ease;
}

.appbar.is-scrolled {
  box-shadow: 0 8px 22px rgba(23, 32, 43, 0.07);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #ffffff;
  background: var(--blue);
  border-radius: 8px;
  font-size: 20px;
  font-weight: 900;
}

.brand > span:last-child {
  display: grid;
}

.brand strong {
  font-size: 15px;
  line-height: 1.3;
  color: var(--ink);
}

.brand small {
  color: var(--muted);
  font-size: 10px;
}

.appbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  color: #33404d;
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: 7px;
  font-size: 10px;
  font-weight: 800;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.top-link:hover {
  background: var(--surface-soft);
  border-color: #aeb8c0;
  transform: translateY(-1px);
}

.top-link svg {
  width: 14px;
  height: 14px;
  color: var(--blue);
}

.ai-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  color: #4d5761;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
}

.ai-status.is-online {
  color: #1f6b68;
  background: rgba(24, 113, 110, 0.08);
  border-color: rgba(24, 113, 110, 0.2);
}

.ai-status.is-fallback {
  color: #8a621f;
  background: rgba(185, 128, 45, 0.08);
  border-color: rgba(185, 128, 45, 0.2);
}

.ai-status svg {
  width: 15px;
  height: 15px;
}

.ai-status.is-online svg {
  animation: statusPulse 1.8s ease-in-out infinite;
}

@keyframes statusPulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

.app-shell {
  max-width: var(--content);
  margin: 0 auto;
  padding: 48px 20px 70px;
}

.page-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 30px;
  margin-bottom: 26px;
}

.kicker {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  font-size: clamp(36px, 4.1vw, 56px);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: 0;
}

.heading-copy {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.model-note {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 290px;
  padding: 12px 14px;
  color: #4f5963;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 10px;
  line-height: 1.6;
}

.model-note svg {
  width: 19px;
  height: 19px;
  color: var(--teal);
}

.workspace {
  display: grid;
  grid-template-columns: minmax(340px, 0.76fr) minmax(0, 1.24fr);
  align-items: start;
  gap: 16px;
}

.form-panel,
.result-panel {
  min-width: 0;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.form-panel:hover,
.result-panel:hover {
  border-color: #c9d2d9;
  box-shadow: 0 20px 48px rgba(23, 32, 43, 0.1);
  transform: translateY(-1px);
}

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

.form-heading > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-heading > div > span {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  color: var(--surface);
  background: var(--blue);
  border-radius: 7px;
  font-family: Georgia, serif;
  font-size: 11px;
  font-weight: 800;
}

.form-heading h2 {
  margin: 0;
  font-size: 18px;
}

.form-heading > p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 9px;
}

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

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.field > span,
.skill-fieldset legend,
.range-fieldset legend {
  color: #526071;
  font-size: 10px;
  font-weight: 800;
}

.field input,
.field select {
  width: 100%;
  min-height: 42px;
  padding: 0 11px;
  color: var(--ink);
  background: #f7f8fa;
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease, transform 160ms ease;
}

.field input:focus,
.field select:focus {
  background: var(--surface);
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(53, 107, 138, 0.1);
  transform: translateY(-1px);
}

.preference-fieldset {
  grid-column: 1 / 3;
  margin: 0 0 14px;
  padding: 15px;
  background: #f7f8fa;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.preference-fieldset legend {
  padding: 0 6px;
  color: #526071;
  font-size: 10px;
  font-weight: 800;
}

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

.preference-grid label {
  position: relative;
  cursor: pointer;
}

.preference-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.preference-grid span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 5px;
  color: #647182;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 9px;
  text-align: center;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.preference-grid label:hover span,
.skill-grid label:hover span {
  color: #1f6b68;
  border-color: rgba(24, 113, 110, 0.35);
  transform: translateY(-1px);
}

.preference-grid input:checked + span {
  color: #1f6b68;
  background: rgba(24, 113, 110, 0.08);
  border-color: rgba(24, 113, 110, 0.3);
  font-weight: 800;
}

.skill-fieldset,
.range-fieldset {
  display: grid;
  gap: 14px;
  margin: 4px 0 18px;
  padding: 17px;
  background: #f7f8fa;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.skill-fieldset legend,
.range-fieldset legend {
  padding: 0 6px;
}

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

.skill-grid label {
  position: relative;
  cursor: pointer;
}

.skill-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.skill-grid span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 5px;
  color: #647182;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 9px;
  text-align: center;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.skill-grid input:checked + span {
  color: #206a67;
  background: rgba(24, 113, 110, 0.08);
  border-color: rgba(24, 113, 110, 0.3);
  font-weight: 800;
}

.range-fieldset label {
  display: grid;
  gap: 7px;
}

.range-fieldset label > span {
  display: flex;
  justify-content: space-between;
  color: #536071;
  font-size: 10px;
}

.range-fieldset output {
  color: var(--red);
  font-family: Georgia, serif;
  font-weight: 800;
}

.range-fieldset input[type="range"] {
  width: 100%;
  accent-color: var(--blue);
}

.primary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  color: var(--surface);
  background: var(--blue);
  border: 0;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: background 150ms ease, transform 150ms ease;
}

.primary-button:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.primary-button svg {
  width: 17px;
  height: 17px;
}

.result-panel {
  min-height: 690px;
  box-shadow: none;
}

.result-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 20px;
  padding: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.result-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  color: #647182;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.result-tabs button:hover {
  color: var(--ink);
  transform: none;
}

.result-tabs button.is-active {
  color: var(--blue);
  background: transparent;
  border-bottom-color: var(--blue);
}

.result-tabs svg {
  width: 14px;
  height: 14px;
}

.result-view[hidden] {
  display: none;
}

.animate-in {
  animation: riseIn 520ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
  animation-delay: var(--d, 0ms);
}

.empty-state,
.loading-state {
  display: grid;
  place-items: center;
  min-height: 620px;
  color: var(--muted);
  text-align: center;
}

.empty-visual {
  position: relative;
  display: grid;
  place-items: center;
  width: 94px;
  height: 94px;
  margin-bottom: 18px;
  color: var(--blue);
  background: rgba(53, 107, 138, 0.07);
  border: 1px solid rgba(53, 107, 138, 0.12);
  border-radius: 7px;
}

.empty-visual svg {
  z-index: 1;
  width: 34px;
  height: 34px;
  margin: 0;
}

.empty-visual span {
  display: none;
}

.empty-visual span::after {
  display: none;
}

.empty-state svg,
.loading-state svg {
  width: 38px;
  height: 38px;
  margin-bottom: 13px;
  color: var(--blue);
}

.empty-state h2,
.loading-state h2 {
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 19px;
}

.empty-state p,
.loading-state p {
  max-width: 360px;
  margin: 0;
  font-size: 10px;
}

.loading-orbit {
  position: relative;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 16px;
  color: var(--teal);
  background: rgba(24, 113, 110, 0.07);
  border-radius: 50%;
}

.loading-orbit::before {
  position: absolute;
  inset: -7px;
  content: "";
  border: 2px solid transparent;
  border-top-color: var(--blue);
  border-right-color: rgba(53, 107, 138, 0.24);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.report-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.report-head .report-label {
  display: inline-block;
  margin-bottom: 5px;
  color: var(--blue);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.report-head h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.35;
}

.readiness {
  display: grid;
  justify-items: end;
}

.readiness strong {
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 42px;
  line-height: 1;
}

.readiness span {
  color: var(--muted);
  font-size: 9px;
}

.summary-box {
  margin-bottom: 18px;
  padding: 18px;
  color: #dce4ea;
  background: var(--ink-soft);
  border-radius: 7px;
}

.summary-box p {
  margin: 0;
  font-size: 11px;
  line-height: 1.85;
}

.analysis-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.radar-card,
.score-card {
  padding: 16px;
  background: #f7f8fa;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.radar-card h3,
.score-card h3 {
  margin: 0 0 10px;
  font-size: 11px;
}

.radar-chart {
  display: block;
  width: 100%;
  max-height: 230px;
  overflow: visible;
}

.radar-grid {
  fill: none;
  stroke: #dce2e7;
  stroke-width: 1;
}

.radar-axis {
  stroke: #dce2e7;
  stroke-width: 1;
}

.radar-supply {
  fill: rgba(53, 107, 138, 0.22);
  stroke: var(--blue);
  stroke-width: 2;
}

.radar-demand {
  fill: rgba(185, 68, 57, 0.08);
  stroke: var(--red);
  stroke-width: 1.5;
  stroke-dasharray: 4 3;
}

.radar-chart text {
  fill: #647182;
  font-size: 9px;
  font-family: var(--font);
}

.radar-center {
  fill: var(--red);
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 800;
}

.radar-center-sub {
  fill: var(--muted);
  font-size: 8px;
}

.score-breakdown {
  display: grid;
  gap: 11px;
}

.score-breakdown > div {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 8px;
  font-size: 9px;
}

.score-breakdown span {
  color: var(--muted);
}

.score-breakdown > div > div {
  height: 7px;
  overflow: hidden;
  background: #e1e6ea;
  border-radius: 2px;
}

.score-breakdown i {
  display: block;
  width: var(--value);
  height: 100%;
  background: var(--blue);
}

.score-breakdown strong {
  font-family: Georgia, serif;
  text-align: right;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.insight-card {
  padding: 16px;
  background: #f7f8fa;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.insight-card h3 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  font-size: 11px;
}

.insight-card svg {
  width: 15px;
  height: 15px;
  color: var(--teal);
}

.insight-card > div {
  display: grid;
  gap: 3px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

.insight-card b {
  font-size: 10px;
}

.insight-card span {
  color: var(--muted);
  font-size: 9px;
}

.plan-section {
  margin-bottom: 18px;
  padding: 17px;
  background: #f7f8fa;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.plan-section h3 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  font-size: 11px;
}

.plan-section h3 svg {
  width: 15px;
  height: 15px;
  color: var(--amber);
}

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

.plan-grid article {
  padding: 11px;
  background: var(--surface);
  border-top: 2px solid var(--blue);
}

.plan-grid span {
  color: var(--blue);
  font-size: 8px;
  font-weight: 800;
}

.plan-grid strong {
  display: block;
  margin: 4px 0;
  font-size: 10px;
}

.plan-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 8px;
}

.market-dashboard {
  margin-bottom: 18px;
  padding: 18px;
  background: #f7f8fa;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.market-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.market-head h3 {
  margin: 0;
  font-size: 12px;
}

.market-head p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 8px;
}

.market-badge {
  padding: 5px 8px;
  color: #1f6b68;
  background: rgba(24, 113, 110, 0.08);
  border-radius: 5px;
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}

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

.market-card {
  padding: 13px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.market-card > span {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
}

.market-card > div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  margin-top: 9px;
  font-size: 8px;
}

.market-card b {
  font-weight: 700;
}

.market-card > div > div {
  height: 6px;
  overflow: hidden;
  background: #e5e9ed;
  border-radius: 2px;
}

.market-card > div i {
  display: block;
  width: var(--value);
  height: 100%;
  background: var(--color, var(--blue));
  transition: width 500ms ease;
}

.market-card strong {
  font-family: Georgia, serif;
}

.market-trend {
  grid-column: 1 / 3;
}

.trend-bars {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 96px;
  padding-top: 8px;
  border-bottom: 1px solid var(--line);
}

.trend-bars i {
  flex: 1;
  display: block;
  width: auto;
  height: var(--value);
  min-height: 8px;
  background: var(--teal);
  border-radius: 3px 3px 0 0;
  transform-origin: bottom;
  animation: growBar 500ms ease both;
  animation-delay: var(--delay, 0ms);
}

.market-trend p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 8px;
}

@keyframes growBar {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

.job-section {
  margin-bottom: 16px;
}

.job-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.job-section-head h3 {
  margin: 0;
  font-size: 13px;
}

.job-section-head span {
  color: var(--muted);
  font-size: 9px;
}

.job-list {
  display: grid;
  gap: 9px;
}

.job-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 12px;
  padding: 14px;
  background: #fafbfc;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.job-rank {
  display: grid;
  place-items: center;
  color: var(--surface);
  background: var(--blue);
  border-radius: 7px;
  font-family: Georgia, serif;
  font-size: 19px;
  font-weight: 900;
}

.job-main {
  min-width: 0;
}

.job-main h4 {
  margin: 0 0 3px;
  font-size: 13px;
}

.job-main > p {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 9px;
}

.job-reasons {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.job-reasons span {
  padding: 4px 6px;
  color: #226967;
  background: rgba(24, 113, 110, 0.08);
  border-radius: 4px;
  font-size: 8px;
}

.job-score {
  display: grid;
  justify-items: end;
}

.job-score strong {
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 26px;
  line-height: 1;
}

.job-score span {
  color: var(--muted);
  font-size: 8px;
}

.gap-line {
  margin: 8px 0 0 !important;
  color: #8a621f !important;
  font-size: 9px !important;
}

.method-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 16px;
  padding: 14px 16px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.method-note svg {
  width: 16px;
  height: 16px;
  color: var(--blue);
}

.method-note p {
  margin: 0;
  font-size: 9px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px max(20px, calc((100vw - var(--content)) / 2));
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 9px;
}

@media (max-width: 980px) {
  .page-heading,
  .workspace,
  .analysis-grid {
    grid-template-columns: 1fr;
  }

  .market-grid {
    grid-template-columns: 1fr;
  }

  .market-trend {
    grid-column: auto;
  }

  .model-note {
    max-width: none;
  }
}

@media (max-width: 700px) {
  .appbar {
    min-height: 62px;
    padding: 8px 14px;
  }

  .brand small {
    display: none;
  }

  .app-shell {
    padding: 34px 12px 50px;
  }

  .page-heading {
    display: block;
  }

  .model-note {
    margin-top: 18px;
  }

  h1 {
    font-size: clamp(34px, 11vw, 46px);
  }

  .form-panel,
  .result-panel {
    padding: 19px;
  }

  .form-grid,
  .insight-grid,
  .plan-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .empty-state,
  .loading-state {
    min-height: 480px;
  }

  .report-head {
    display: grid;
  }

  .readiness {
    justify-items: start;
  }

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

  .job-score {
    grid-column: 1 / 3;
    grid-template-columns: 1fr auto;
    align-items: center;
    justify-items: start;
  }

  .job-score strong {
    order: 2;
  }

  .job-score span {
    order: 1;
  }

  .site-footer {
    display: grid;
  }
}

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

@media print {
  @page {
    size: A4;
    margin: 12mm;
  }

  body {
    color: #000;
    background: #fff;
  }

  .appbar,
  .primary-button,
  .model-note,
  .method-note,
  .site-footer {
    display: none !important;
  }

  .app-shell {
    padding: 0;
  }

  .workspace {
    display: block;
  }

  .form-panel {
    display: none;
  }

  .result-panel {
    min-height: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  .summary-box,
  .insight-card,
  .plan-section,
  .job-card {
    break-inside: avoid;
  }
}
