/* Pages the design does not draw itself (English legal text, newsletter
   issues, signup confirmations) are set inside the design's page frame. */
.l2a-prose { max-width: 820px; font-size: 18px; line-height: 1.65; color: #333c45; overflow-wrap: anywhere; }
.l2a-prose h2 { margin: 48px 0 12px; padding-top: 32px; border-top: 1px solid #dcd7c6; font-family: var(--font-display, 'Oswald', sans-serif); font-size: clamp(26px, 2.4vw, 34px); line-height: 1.12; font-weight: 700; letter-spacing: 0; text-transform: uppercase; color: #15171e; }
.l2a-prose h2:first-child { margin-top: 0; }
.l2a-prose h3 { margin: 28px 0 8px; font-size: 19px; color: #15171e; }
.l2a-prose p, .l2a-prose ul, .l2a-prose ol { margin: 0 0 16px; }
.l2a-prose li { margin: 0 0 8px; }
.l2a-prose a { color: #285fa3; text-underline-offset: 2px; }
.l2a-prose img { max-width: 100%; height: auto; }
.l2a-prose .table-wrap { overflow-x: auto; margin: 0 0 20px; }
.l2a-prose table { border-collapse: collapse; width: 100%; font-size: 16px; }
.l2a-prose th, .l2a-prose td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid #dcd7c6; }
.l2a-prose th { background: #ebdfca; color: #15171e; }
.l2a-prose .note { background: #ebdfca; padding: 18px 22px; margin: 0 0 24px; }
.l2a-prose .note p:last-child { margin-bottom: 0; }
.l2a-prose code { font-family: var(--font-mono, 'JetBrains Mono', monospace); font-size: .88em; }
.lp-dark a { color: inherit; }

.l2a-issues { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.l2a-issues a { display: block; padding: 22px 28px; background: #ebdfca; color: #15171e; text-decoration: none; }
.l2a-issues a:hover { background: #fec940; }
.l2a-issues strong { display: block; font-family: var(--font-display, 'Oswald', sans-serif); font-size: 26px; line-height: 1.2; font-weight: 700; }
.l2a-issues span { display: block; margin-top: 6px; font-size: 16px; line-height: 1.5; color: #333c45; }

.l2a-signup { max-width: 900px; box-sizing: border-box; padding: 28px 32px; background: #fec940; color: #15171e; }
.l2a-signup label { display: block; margin: 0 0 12px; font-family: var(--font-display, 'Oswald', sans-serif); font-size: 28px; font-weight: 600; }
.l2a-signup .row { display: flex; flex-wrap: wrap; gap: 8px; }
.l2a-signup input { flex: 999 1 240px; min-width: 0; height: 58px; box-sizing: border-box; padding: 0 18px; border: 1px solid #15171e; border-radius: 0; background: #ffffff; color: #15171e; font: inherit; font-size: 17px; }
.l2a-signup button { flex: 1 0 160px; height: 58px; padding: 0 26px; border: 0; border-radius: 0; background: #285fa3; color: #ffffff; font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; }
.l2a-signup p { margin: 12px 0 0; font-size: 15px; line-height: 1.5; }
.l2a-signup a { color: #15171e; }
.l2a-signup > a { display: inline-flex; align-items: center; min-height: 52px; padding: 0 24px; background: #285fa3; color: #ffffff; font-weight: 800; text-decoration: none; }
.l2a-account-register { display: inline-flex; align-items: center; min-height: 40px; color: #15171e; font-size: 15px; font-weight: 700; text-underline-offset: 4px; white-space: nowrap; }
.lp-dark a.l2a-account-register { color: #ffffff; }
.l2a-account-register:hover { color: #285fa3; }
[data-account-register][hidden] { display: none !important; }
[data-account-follows][hidden] { display: none !important; }
.sh-nav { flex: none; }
.sh-acct { flex: 0 1 min(240px, 28vw) !important; min-width: 96px !important; max-width: min(240px, 28vw); }
.sh-acct [data-account-label] { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 761px) and (max-width: 900px) {
  .sh-in { column-gap: 12px !important; }
  .sh-nav ul { column-gap: 12px !important; }
}
@media (min-width: 761px) {
  .sh-in { flex-wrap: nowrap !important; }
}
@media (max-width: 760px) {
  .sh-nav { flex: 0 0 100% !important; order: 3; }
  .sh-acct { flex: 1 1 0 !important; min-width: 96px !important; max-width: none !important; }
}
@media (max-width: 360px) {
  .sh-in { column-gap: 12px !important; }
  .sh-in > a .wordmark { font-size: 22px !important; }
}

/* Fixes to the design's hero headline (landing.css comes from the canvas).
   Each line clips its own rise animation; give the clip room for descenders
   such as the y in "yaramaz", and draw the lines above the highlighted one
   so its yellow band does not cover those descenders. */
.lp-line { position: relative; padding: .2em 0; margin: -.2em 0; }
.lp-line:nth-child(1) { z-index: 3; }
.lp-line:nth-child(2) { z-index: 2; }
.lp-line:nth-child(3) { z-index: 1; }
/* When the highlighted line wraps (English on a phone), each wrapped piece
   gets its own band; keep the bands to the letters so a lower band does not
   paint over the line above it. */
.lp-line:has(.lp-mark) > span { line-height: 1.16; }
.lp-mark { background-size: 100% 76%; background-position: 0 58%; }
/* landing.css's lp-wipe ends at 100% 100% and, being an animation with fill
   "both", beats the size above; keep the wipe inside the same band. */
@keyframes lp-wipe { from { background-size: 0% 76%; } to { background-size: 100% 76%; } }


/* race calendar (takvim/): the design draws display values inline, so hidden needs help;
   the follow link is the design's outlined button, as a plain link */
.l2a-cal [hidden] { display: none !important; }
.l2a-cal a.tk-follow:hover { background-color: #fec940 !important; }
.l2a-cal a.tk-follow:focus-visible { outline: 3px solid #fec940; outline-offset: 2px; }
.l2a-cal .tk-day b { font-weight: 700; }
.l2a-cal .tk-row:last-child { border-bottom-color: #dcd7c6; }
.l2a-cal select.tk-field, .l2a-cal input.tk-field { max-width: 100%; }

.lp-btn--ghost { white-space: nowrap; }

/* race calendar chips: "Tümü" or the picked sports in cobalt with a tick; the others white */
.l2a-cal .tk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.l2a-cal .tk-chip { display: inline-flex; flex: none; align-items: center; gap: 8px; height: 40px; box-sizing: border-box; padding: 0 14px; border: 1px solid #cfc6b2; border-radius: 0; background: #ffffff; color: #15171e; font-family: var(--font-text, 'Archivo', sans-serif); font-size: 14px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.l2a-cal .tk-chip[aria-pressed="true"] { background: #285fa3; border-color: #285fa3; color: #ffffff; }
.l2a-cal .tk-chip__check { display: none; }
.l2a-cal .tk-chip[aria-pressed="true"] .tk-chip__check { display: block; }
.l2a-cal .tk-chip__dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.l2a-cal .tk-chip[aria-pressed="true"] .tk-chip__dot { display: none; }
.l2a-cal .tk-chip[aria-pressed="false"] .tk-chip__dot { opacity: 1; }
.l2a-cal a.tk-follow { gap: 8px; }
.l2a-cal a.tk-follow:hover { background-color: #fec940 !important; }
.l2a-cal .tk-soon__runner { display: block; width: 132px; height: 132px; margin-top: 8px; border-radius: 50%; background: #f4ecdf; object-fit: cover; }

/* race calendar on phones: a compact card (date, distances and the follow bell on the
   left; kind, name, place and registration on the right) that opens for the details */
.l2a-cal .tkm { display: none; }
@media (max-width: 760px) {
  .l2a-cal .tk-row:not([hidden]) { display: block !important; padding: 16px 12px 16px 16px !important; }
  .l2a-cal .tk-row > :not(.tkm) { display: none !important; }
  .l2a-cal .tk-row:hover { background-color: transparent; }
  .l2a-cal .tkm { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 12px 14px; align-items: start; }
  .l2a-cal .tkm-l { display: flex; flex-direction: column; gap: 8px; }
  .l2a-cal .tkm-day { width: 108px; height: 72px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
  .l2a-cal .tkm-day b { font-family: var(--font-display, 'Oswald', sans-serif); font-size: 32px; line-height: 1; font-weight: 700; }
  .l2a-cal .tkm-day span { font-family: var(--font-mono, 'JetBrains Mono', monospace); font-size: 13px; letter-spacing: .08em; }
  .l2a-cal .tkm-dist { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
  .l2a-cal .tkm-dist li { min-width: 0; padding: 3px 2px; border: 1px solid #dcd7c6; background: #ffffff; font-family: var(--font-mono, 'JetBrains Mono', monospace); font-size: 13px; line-height: 1.35; text-align: center; color: #15171e; overflow-wrap: anywhere; }
  .l2a-cal .tkm-dist li:only-child, .l2a-cal .tkm-dist li:nth-child(odd):last-child { grid-column: span 2; }
  .l2a-cal .tkm-bell { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 60px; border: 1px solid #12263f; background: #ffffff; color: #15171e; font-size: 13px; font-weight: 800; text-decoration: none; }
  .l2a-cal .tkm-bell:hover { background: #fec940; }
  .l2a-cal .tkm-bell.tkm-bell--off, .l2a-cal .tkm-bell.tkm-bell--off:hover { border-color: #c9c5b8; background: #f3f1ea; color: #8a877d; cursor: not-allowed; }
  .l2a-cal .tkm-r { min-width: 0; }
  .l2a-cal .tkm-r summary { list-style: none; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; cursor: pointer; }
  .l2a-cal .tkm-r summary::-webkit-details-marker { display: none; }
  .l2a-cal .tkm-kind { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono, 'JetBrains Mono', monospace); font-size: 13px; line-height: 1.4; letter-spacing: .03em; color: #5c5a52; }
  .l2a-cal .tkm-kind i, .l2a-cal .tkm-reg i { flex: none; width: 8px; height: 8px; border-radius: 50%; }
  .l2a-cal .tkm-name { font-family: var(--font-display, 'Oswald', sans-serif); font-size: 22px; line-height: 1.15; font-weight: 700; color: #15171e; overflow-wrap: anywhere; }
  .l2a-cal .tkm-place { font-size: 14px; line-height: 1.5; font-weight: 600; color: #333c45; }
  .l2a-cal .tkm-reg { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; box-sizing: border-box; margin-top: 2px; padding: 5px 8px; font-size: 13px; line-height: 1.3; font-weight: 700; }
  .l2a-cal .tkm-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; font-size: 13px; font-weight: 700; color: #15171e; }
  .l2a-cal .tkm-chev { transition: transform .25s ease; }
  .l2a-cal .tkm-r[open] .tkm-chev { transform: rotate(180deg); }
  .l2a-cal .tkm-panel { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #dcd7c6; font-size: 14px; line-height: 1.5; color: #333c45; }
  .l2a-cal .tkm-panel p { margin: 0 !important; font-size: 14px !important; }
  .l2a-cal .tkm-site, .l2a-cal .tkm-panel .tk-reglink { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 800; color: #15171e; }
}

/* a followed race on the calendar: the button stays yellow (set by the page script once the reader is signed in) */
.l2a-cal a.tk-follow[aria-pressed="true"] { background-color: #fec940 !important; }
.l2a-cal a.tkm-bell[aria-pressed="true"] { background: #fec940; }
/* a tap leaves :hover stuck on a touch screen, so an unfollowed button kept the hover yellow and
   looked still followed (owner 11-17): no hover colour on touch screens, and none on a just-clicked
   button until the pointer leaves it */
@media (hover: none) {
  .l2a-cal a.tk-follow[aria-pressed="false"]:hover { background-color: #ffffff !important; }
  .l2a-cal a.tkm-bell:not([aria-pressed="true"]):hover { background: #ffffff; }
}
.l2a-cal a.tk-follow[data-just-toggled][aria-pressed="false"]:hover { background-color: #ffffff !important; }
.l2a-cal a.tkm-bell[data-just-toggled]:not([aria-pressed="true"]):hover { background: #ffffff; }
.l2a-follow-note { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 20; box-sizing: border-box; max-width: calc(100vw - 32px); margin: 0; padding: 12px 18px; background: #15171e; color: #ffffff; font-family: var(--font-text, 'Archivo', sans-serif); font-size: 15px; line-height: 1.4; font-weight: 700; }
.l2a-follow-note[hidden] { display: none; }

/* members only (calendar): a clear button laid over the filter fields for a signed-out reader, and the small box a click opens */
.l2a-cal .tk-gate { position: absolute; inset: 0; z-index: 2; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; cursor: pointer; }
.l2a-cal .tk-gate[hidden] { display: none; }
.l2a-cal .tk-gate:focus-visible { outline: 3px solid #285fa3; outline-offset: 4px; }
.l2a-wall { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; box-sizing: border-box; padding: 20px; background: rgba(21, 23, 30, 0.55); animation: l2a-wall-in 0.16s ease-out; }
.l2a-wall[hidden] { display: none; }
.l2a-wall__card { position: relative; box-sizing: border-box; width: 100%; max-width: 420px; padding: 44px 32px 32px; background: #f4ecdf; border: 1px solid #12263f; box-shadow: 8px 8px 0 #fec940; color: #15171e; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; animation: l2a-wall-up 0.2s ease-out; }
.l2a-wall__close { position: absolute; top: 6px; right: 6px; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: #15171e; cursor: pointer; }
.l2a-wall__close:hover { background: #ebdfca; }
.l2a-wall__close:focus-visible, .l2a-wall__go:focus-visible { outline: 3px solid #fec940; outline-offset: 2px; }
.l2a-wall__text { margin: 0; padding-right: 20px; font-family: var(--font-display, 'Oswald', sans-serif); font-size: 26px; line-height: 1.25; font-weight: 700; color: #15171e; }
.l2a-wall__go { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; box-sizing: border-box; padding: 0 26px; background: #285fa3; color: #ffffff; font-family: var(--font-text, 'Archivo', sans-serif); font-size: 16px; font-weight: 800; text-decoration: none; }
@keyframes l2a-wall-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes l2a-wall-up { from { transform: translateY(10px); } to { transform: none; } }
@media (max-width: 480px) { .l2a-wall__card { padding: 44px 22px 24px; } .l2a-wall__text { font-size: 22px; } }
@media (prefers-reduced-motion: reduce) { .l2a-wall, .l2a-wall__card { animation: none; } }

/* a page under a nav item (araclar/cooper-testi/ under Araçlar) keeps the item underlined */
.lp-nav a[aria-current="true"] { box-shadow: inset 0 -3px 0 #285fa3; }

/* Tools (araclar/, tools_page.py): the list of tools and each calculator.
   Square, flat, brand palette; the user's own result is the only yellow. */
.l2a-tool { display: block; color: #15171e; }
.l2a-tool__sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.l2a-tool__hero { position: relative; overflow: clip; background: #f4ecdf; }
.l2a-tool__hero-in { position: relative; width: 100%; max-width: 1240px; margin: 0 auto; box-sizing: border-box; padding: 40px 20px 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 28px 48px; }
.l2a-tool__hero .lp-sun + .l2a-tool__hero-in { padding-top: 112px; padding-bottom: 56px; }
.l2a-tool__head { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.l2a-tool__eyebrow { margin: 0; font-family: var(--font-mono, 'JetBrains Mono', monospace); font-size: 13px; line-height: 1.4; letter-spacing: 0.08em; text-transform: uppercase; color: #5c5a52; }
.l2a-tool__eyebrow a { color: #285fa3; text-underline-offset: 3px; }
.l2a-tool h1 { margin: 0; font-family: var(--font-display, 'Oswald', sans-serif); font-size: clamp(48px, 8vw, 132px); line-height: 1.12; font-weight: 700; letter-spacing: 0; text-transform: uppercase; color: #15171e; }
.l2a-tool__lead { margin: 0; max-width: 640px; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.5; color: #333c45; }
.l2a-tool__art { flex: 1 1 380px; min-width: 0; max-width: 560px; display: block; width: 100%; height: auto; }
.l2a-tool__doc { width: 100%; max-width: 1240px; margin: 0 auto; box-sizing: border-box; padding: 16px 20px 112px; display: flex; flex-direction: column; gap: 64px; }

/* the list of tools */
.l2a-tools { margin: 0; padding: 0; list-style: none; max-width: 900px; border-top: 2px solid #12263f; }
.l2a-tools__card { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 20px 8px 20px 0; border-bottom: 1px solid #dcd7c6; color: #15171e; text-decoration: none; transition: background-color .2s ease; }
.l2a-tools__card:hover { background: #ebdfca; }
.l2a-tools__card:focus-visible { outline: 3px solid #285fa3; outline-offset: 2px; }
.l2a-tools__card img { display: block; width: 120px; height: 120px; object-fit: cover; object-position: 12% 50%; background: #f4ecdf; }
.l2a-tools__text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.l2a-tools__text b { font-family: var(--font-display, 'Oswald', sans-serif); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.12; font-weight: 700; text-transform: uppercase; }
.l2a-tools__text > span:last-child { font-size: 17px; line-height: 1.5; color: #333c45; }
.l2a-tools__arrow { font-size: 24px; font-weight: 800; color: #285fa3; transition: transform .25s ease; }
.l2a-tools__card:hover .l2a-tools__arrow { transform: translateX(6px); }

/* the calculator: inputs on the left, the result on the right (stacked on phones) */
.l2a-tool__calc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: #ffffff; border: 2px solid #12263f; }
.l2a-tool__form { box-sizing: border-box; padding: 28px; display: flex; flex-direction: column; gap: 24px; border-right: 1px solid #dcd7c6; }
.l2a-tool__label { display: block; margin: 0 0 8px; padding: 0; font-size: 15px; line-height: 1.3; font-weight: 700; color: #12263f; }
.l2a-tool__seg { margin: 0; padding: 0; border: 0; min-width: 0; }
.l2a-tool__seg-in { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #12263f; }
.l2a-tool__seg input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.l2a-tool__seg label { display: flex; align-items: center; justify-content: center; min-height: 48px; background: #ffffff; color: #15171e; font-size: 16px; font-weight: 700; cursor: pointer; }
.l2a-tool__seg label + input + label { border-left: 1px solid #12263f; }
.l2a-tool__seg label:hover { background: #ebdfca; }
.l2a-tool__seg input:checked + label { background: #285fa3; color: #ffffff; }
.l2a-tool__seg input:focus-visible + label { outline: 3px solid #285fa3; outline-offset: -3px; }
.l2a-tool__seg input:checked:focus-visible + label { outline-color: #fec940; }
.l2a-tool__num { display: flex; align-items: center; gap: 10px; }
.l2a-tool__num input { width: 100%; max-width: 168px; height: 58px; box-sizing: border-box; padding: 0 14px; border: 1px solid #12263f; border-radius: 0; background: #ffffff; color: #15171e; font-family: var(--font-mono, 'JetBrains Mono', monospace); font-size: 24px; font-weight: 700; }
.l2a-tool__num input:focus { outline: 3px solid #285fa3; outline-offset: 0; }
.l2a-tool__num span { font-family: var(--font-mono, 'JetBrains Mono', monospace); font-size: 16px; color: #333c45; }
.l2a-tool__help { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: #5c5a52; }
.l2a-tool__hint { margin: 0; padding: 10px 12px; background: #ebdfca; font-size: 14px; line-height: 1.4; font-weight: 700; color: #12263f; }
.l2a-tool__hint[hidden], .l2a-tool__note[hidden] { display: none; }
.l2a-tool__out { box-sizing: border-box; padding: 28px; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.l2a-tool__k { margin: 0; font-family: var(--font-mono, 'JetBrains Mono', monospace); font-size: 13px; line-height: 1.4; letter-spacing: 0.08em; text-transform: uppercase; color: #5c5a52; }
/* one stacked column at every width: the number, then the rating, then the sentence */
.l2a-tool__score { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 22px 24px; background: #ebdfca; }
.l2a-tool__score[data-score="on"] { background: #fec940; }
.l2a-tool__score[data-score="on"] .l2a-tool__k { color: #333c45; }
.l2a-tool__big { margin: 4px 0 0; font-family: var(--font-display, 'Oswald', sans-serif); font-size: clamp(56px, 6vw, 80px); line-height: .95; font-weight: 600; color: #15171e; font-variant-numeric: tabular-nums; }
.l2a-tool__unit { font-size: 22px; font-weight: 500; }
.l2a-tool__rate { text-align: left; }
.l2a-tool__badge { display: inline-block; margin: 6px 0 0; padding: 4px 12px; background: #15171e; color: #fec940; font-family: var(--font-display, 'Oswald', sans-serif); font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; font-weight: 700; text-transform: uppercase; }
.l2a-tool__score[data-score="empty"] .l2a-tool__badge { background: transparent; color: #15171e; padding-left: 0; padding-right: 0; }
.l2a-tool__sentence { margin: 0; font-size: 18px; line-height: 1.4; font-weight: 700; color: #15171e; }
.l2a-tool__note { margin: 0; padding-top: 12px; border-top: 1px solid #15171e; font-size: 15px; line-height: 1.5; color: #15171e; }
.l2a-tool__scale ol { margin: 10px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid #dcd7c6; }
.l2a-tool__scale li { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 12px 10px 14px; background: #ffffff; border-left: 1px solid #dcd7c6; }
.l2a-tool__scale li:first-child { border-left: 0; }
.l2a-tool__scale li b { font-size: 15px; line-height: 1.25; font-weight: 700; color: #15171e; }
.l2a-tool__range { font-family: var(--font-mono, 'JetBrains Mono', monospace); font-size: 13px; line-height: 1.3; color: #333c45; white-space: nowrap; }
.l2a-tool__you { display: none; align-self: flex-start; padding: 2px 6px; background: #15171e; color: #fec940; font-family: var(--font-mono, 'JetBrains Mono', monospace); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.l2a-tool__scale li.is-on { background: #fec940; }
.l2a-tool__scale li.is-on .l2a-tool__range { color: #15171e; font-weight: 700; }
.l2a-tool__scale li.is-on .l2a-tool__you { display: inline-block; }
.l2a-tool__unit-note { margin: 8px 0 0; font-size: 13px; line-height: 1.4; color: #5c5a52; }
.l2a-tool__next { margin: 0; padding-top: 18px; border-top: 1px solid #dcd7c6; display: flex; flex-direction: column; gap: 6px; font-size: 18px; line-height: 1.4; font-weight: 700; color: #15171e; }

/* the text under the calculator */
.l2a-tool__prose ol { padding-left: 1.4em; }
.l2a-tool__prose > h2:first-child { padding-top: 0; border-top: 0; }
.l2a-tool__warn { margin: 32px 0; padding: 24px 28px; background: #ebdfca; border-top: 2px solid #15171e; }
.l2a-tool__warn h2 { margin: 0 0 10px !important; padding-top: 0; border-top: 0; font-size: clamp(22px, 2vw, 26px); }
.l2a-tool__warn p:last-child { margin-bottom: 0; }
.l2a-tool__formula { display: inline-block; box-sizing: border-box; max-width: 100%; overflow-x: auto; white-space: nowrap; padding: 12px 16px; background: #ffffff; border: 1px solid #dcd7c6; font-family: var(--font-mono, 'JetBrains Mono', monospace); font-size: 17px; color: #15171e; }
.l2a-tool__norms { margin: 0; }
.l2a-tool__norms caption { padding: 0 0 8px; text-align: left; font-family: var(--font-display, 'Oswald', sans-serif); font-size: 22px; font-weight: 700; text-transform: uppercase; color: #15171e; }
.l2a-tool__norms td { font-family: var(--font-mono, 'JetBrains Mono', monospace); font-size: 14px; white-space: nowrap; }
.l2a-tool__norms thead th { font-size: 14px; white-space: nowrap; }
.l2a-tool__norms tbody th { white-space: nowrap; font-family: var(--font-mono, 'JetBrains Mono', monospace); font-size: 14px; }
/* the age column stays in view while the table scrolls sideways; the reader's own cell is yellow */
.l2a-tool__norms tbody th, .l2a-tool__norms thead th:first-child { position: sticky; left: 0; z-index: 1; background: #ebdfca; }
.l2a-tool__norms td.is-on { background: #fec940; color: #15171e; font-weight: 700; }
.l2a-tool__swipe { display: none; }
.l2a-tool__sources { padding-top: 20px; border-top: 1px solid #dcd7c6; font-family: var(--font-mono, 'JetBrains Mono', monospace); font-size: 13px !important; line-height: 1.7 !important; color: #5c5a52; }
.l2a-tool__sources span { letter-spacing: 0.08em; color: #15171e; font-weight: 700; }
.l2a-tool__sources a { color: #333c45; }

@media (max-width: 860px) {
  .l2a-tool__calc { grid-template-columns: minmax(0, 1fr); }
  .l2a-tool__form { border-right: 0; border-bottom: 1px solid #dcd7c6; }
}
@media (max-width: 760px) {
  .l2a-tool__hero-in { padding: 28px 16px 24px; }
  .l2a-tool__hero .lp-sun + .l2a-tool__hero-in { padding-top: 64px; padding-bottom: 32px; }
  .l2a-tool__doc { padding: 8px 16px 80px; gap: 48px; }
  .l2a-tool__form, .l2a-tool__out { padding: 20px 16px; }
  .l2a-tool__score { padding: 16px; }
  /* phones: the drawing shrinks under the lead so the form starts on the first screen */
  .l2a-tool__hero-in { gap: 16px; }
  .l2a-tool__art { flex: 0 0 auto; width: 56%; max-width: 56%; margin: -8px 0 0 auto; }
  .l2a-tools__card { grid-template-columns: 80px minmax(0, 1fr) auto; gap: 14px; }
  .l2a-tools__card img { width: 80px; height: 80px; }
  .l2a-tools__text > span:last-child { font-size: 15px; }
  .l2a-tool__warn { padding: 20px 18px; }
}
@media (max-width: 560px) {
  /* the scale as a list: name left, metres right */
  .l2a-tool__scale ol { grid-template-columns: minmax(0, 1fr); }
  .l2a-tool__scale li { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 10px 12px; border-left: 0; border-top: 1px solid #dcd7c6; }
  .l2a-tool__scale li:first-child { border-top: 0; }
  .l2a-tool__scale li b { flex: 1 1 auto; }
  .l2a-tool__you { order: 2; align-self: center; }
  .l2a-tool__range { order: 3; }
  .l2a-tool__unit { font-size: 18px; }
  .l2a-tool__formula { font-size: 15px; }
  .l2a-tool__norms td, .l2a-tool__norms th { font-size: 12px !important; padding: 8px 8px; }
  .l2a-tool__swipe { display: block; margin: 0 0 6px; }
}

/* header on narrow phones: the two account links wrap together onto their own row,
   so "Giriş yap" is never left alone under the page links */
@media (max-width: 480px) {
  header nav.hx-nav[aria-label^="Site men"] { justify-content: flex-start; gap: 0 20px !important; }
  /* not on .lp-nav > ul: the 11-14 shared header keeps the account links outside the list,
     and a full-width break there squeezed "Yarış takvimi" onto two lines */
  .hx-nav::after { content: ""; order: 1; flex-basis: 100%; height: 0; }
  .lp-nav > ul > li:has(> a[href^="https://app.livetoa100.com/"]), .hx-nav > a[href^="https://app.livetoa100.com/"] { order: 2; }
}
