.elementor-4800 .elementor-element.elementor-element-29bb0f3{--display:flex;--padding-top:120px;--padding-bottom:120px;--padding-left:0px;--padding-right:0px;overflow:visible;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-4800 .elementor-element.elementor-element-8dfc8fe .elementor-heading-title{font-family:"Inter", Sans-serif;font-size:34px;font-weight:700;color:var( --e-global-color-text );}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}@media(max-width:767px){.elementor-4800 .elementor-element.elementor-element-29bb0f3{--padding-top:120px;--padding-bottom:120px;--padding-left:10px;--padding-right:10px;}.elementor-4800 .elementor-element.elementor-element-8dfc8fe .elementor-heading-title{font-size:30px;}}/* Start custom CSS */:root {
  --ground: #f7f4f1;
  --surface: #ffffff;
  --surface-2: #faf7f4;

  --ink: #2a3642;
  --muted: #5a6670;

  --line: #e7e1da;
  --line-strong: #d8cfc4;

  --accent: #c1613a;
  --accent-ink: #a24e2c;
  --accent-soft: #f8ece4;

  --field: #ffffff;
  --field-line: #cbb9ab;

  --rail-band: #2a3642;
  --rail-ink: #f7f4f1;

  --shadow:
    0 1px 2px rgba(42, 54, 66, 0.05),
    0 8px 24px -12px rgba(42, 54, 66, 0.16);

  --font:
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  direction: ltr;
}

body {
  margin: 0;
  background:
    radial-gradient(
      1100px 460px at 50% -200px,
      #f8ece4 0%,
      rgba(248, 236, 228, 0) 70%
    ),
    var(--ground);

  color: var(--ink);
  font-family: var(--font);
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

/* Header */

.masthead {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  border-radius: 8px;
}

.masthead .in {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 24px 26px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.kicker .leaf {
  display: inline-block;
  width: 13px;
  height: 13px;
}

.masthead h2 {
  margin: 8px 0 4px;
  font-size: clamp(20px, 4vw, 30px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.masthead p {
  max-width: 64ch;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* Main layout */

.wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 384px;
  align-items: start;
  gap: 28px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px;
}

/* Optional information box */

.callout {
  margin-bottom: 20px;
  padding: 14px 16px;
  background: var(--accent-soft);
  border: 1px solid color-mix(
    in srgb,
    var(--accent) 30%,
    var(--line)
  );
  border-radius: 12px;
  color: var(--ink);
  font-size: 13.5px;
}

.callout b {
  color: var(--accent-ink);
}

/* Form cards */

section.card {
  margin-bottom: 16px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.cardhead {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 4px;
}

.cardnum {
  padding-top: 2px;
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.cardhead p {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.q {
  margin-top: 16px;
}

.q > label.qlabel {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 600;
}

label.qlabel .soft {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 400;
}

.hint {
  margin: 3px 0 8px;
  color: var(--muted);
  font-size: 12.5px;
}

/* Form controls */

select,
input[type="number"] {
  width: 100%;
  max-width: 340px;
  min-height: 44px;
  padding: 10px 12px;
  background-color: var(--field);
  border: 1px solid var(--field-line);
  border-radius: 9px;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
}

select {
  appearance: none;
  padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a6670' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

input[type="number"] {
  appearance: textfield;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  margin: 0;
}

select:focus,
input:focus {
  border-color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

/* Language ability fields */

.abilities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  max-width: 540px;
  margin-top: 10px;
}

.abilities .a label {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
}

.abilities select {
  max-width: none;
}

.hidden {
  display: none !important;
}

/* Calculate button */

.calcbtn {
  padding: 13px 22px;
  background: var(--accent);
  border: 0;
  border-radius: 10px;
  box-shadow: var(--shadow);
  color: #ffffff;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  transition:
    transform 0.06s ease,
    filter 0.15s ease;
}

.calcbtn:hover {
  filter: brightness(1.06);
}

.calcbtn:active {
  transform: translateY(1px);
}

.calcbtn:focus-visible {
  outline: 3px solid rgba(193, 97, 58, 0.3);
  outline-offset: 3px;
}

/* Results panel */

aside {
  position: sticky;
  top: 20px;
}

.results {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.scorepanel {
  position: relative;
  padding: 24px 22px 22px;
  background: var(--rail-band);
  color: var(--rail-ink);
  text-align: center;
}

.scorepanel .cap {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  opacity: 0.72;
  text-transform: uppercase;
}

.scorepanel .num {
  margin: 8px 0 2px;
  font-size: 60px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.scorepanel .outof {
  font-size: 13px;
  opacity: 0.7;
}

.meter {
  height: 6px;
  margin-top: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 99px;
}

.meter > i {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: 99px;
  transition: width 0.35s ease;
}

.body {
  padding: 6px 18px 14px;
}

.grp {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.grp:first-child {
  border-top: 0;
}

.grp h3 {
  margin: 0 0 8px;
  color: var(--accent-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 3px 0;
  font-size: 13.5px;
}

.row span:first-child {
  min-width: 0;
}

.row span:last-child {
  flex-shrink: 0;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.row.sub {
  margin-top: 6px;
  padding-top: 7px;
  border-top: 1px dashed var(--line-strong);
  font-weight: 700;
}

.row.sub span:last-child {
  color: var(--accent-ink);
}

.row .ind {
  padding-left: 16px;
  color: var(--muted);
  font-weight: 400;
}

.foot {
  padding: 12px 18px;
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11.5px;
}

/* Responsive */

@media (max-width: 920px) {
  .wrap {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  aside {
    position: static;
  }
}

@media (max-width: 600px) {
  .masthead .in {
    padding: 18px;
  }

  .wrap {
    padding: 14px;
  }

  section.card {
    padding: 18px 16px;
  }

  .abilities {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  select,
  input[type="number"] {
    max-width: none;
  }

  .calcbtn {
    width: 100%;
  }

  .scorepanel .num {
    font-size: 52px;
  }
}/* End custom CSS */