/* === Astigmatism test (tool id "astig") ===
   Builds on the online eye test (.etest, .etest-bar, .etest-screen, .etest-opt, .cal-*, .result-msg,
   .pill, .fchip in pages.css / style.css). Everything new is prefixed .tl-astig-.
   Colours come from the theme variables; the dial itself is forced black on white, the night light white on black. */

.tl-astig {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015) 60%), var(--navy);
  font-size: clamp(16px, 1.1vw, 20px);
  line-height: 1.5;
  text-align: left;
}
.tl-astig .etest-bar { flex-wrap: wrap; row-gap: 10px; font-size: clamp(15px, 0.95vw, 18px); color: rgba(255, 255, 255, 0.85); }
.tl-astig .etest-screen { gap: clamp(16px, 1.4vw, 28px); }
.tl-astig .etest-screen h2 { max-width: 30em; color: #fff; text-wrap: balance; }
.tl-astig .etest-screen h2:focus { outline: none; }
.tl-astig .etest-screen h3 { color: #fff; }
.tl-astig .etest-screen p,
.tl-astig .etest-screen li { font-size: clamp(16px, 1.1vw, 20px); line-height: 1.55; }
.tl-astig .etest-note { display: flex; align-items: flex-start; gap: 12px; width: 100%; max-width: none; padding: clamp(14px, 1.1vw, 22px) clamp(16px, 1.4vw, 26px); font-size: clamp(16px, 1vw, 19px); color: rgba(255, 255, 255, 0.9); }
.tl-astig .etest-note[hidden] { display: none; }
.tl-astig .etest-note svg { flex: none; margin-top: 1px; color: var(--soft); }
.tl-astig .etest-disclaimer { max-width: 62em; font-size: clamp(16px, 0.95vw, 18px); color: rgba(255, 255, 255, 0.74); }
.tl-astig .etest-actions { align-items: center; gap: 12px; padding-top: clamp(8px, 1vw, 20px); }
.tl-astig .pill { height: auto; min-height: clamp(48px, 3.4vw, 64px); padding-block: 10px; font-size: clamp(16px, 1.05vw, 20px); }
.tl-astig .pill[disabled] { opacity: 0.45; cursor: not-allowed; }
.tl-astig .pill:focus-visible,
.tl-astig .etest-opt:focus-visible,
.tl-astig .fchip:focus-visible,
.tl-astig .tl-astig-textbtn:focus-visible,
.tl-astig .tl-astig-hour:focus-visible,
.tl-astig .tl-astig-light:focus-visible,
.tl-astig .cal-ctrl button:focus-visible,
.tl-astig .cal-ctrl input:focus-visible,
.tl-astig summary:focus-visible,
.tl-astig a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.tl-astig .etest-opt b { font-size: clamp(17px, 1.2vw, 22px); }
.tl-astig .etest-opt span { font-size: clamp(16px, 0.95vw, 18px); }
.tl-astig .fchip { height: auto; min-height: 44px; padding: 6px 16px; font-size: clamp(16px, 0.95vw, 18px); text-align: left; }
.tl-astig .etest-step:focus-visible { outline: 2px solid #fff; }

/* Lists: only .tl-astig-need keeps the round bullets of .etest */
.tl-astig .tl-astig-symptoms li::before,
.tl-astig .tl-astig-stats li::before,
.tl-astig .tl-astig-runs li::before,
.tl-astig .tl-astig-meta li::before,
.tl-astig .tl-astig-curious li::before { content: none; }
.tl-astig .tl-astig-runs li,
.tl-astig .tl-astig-meta li,
.tl-astig .tl-astig-curious li { padding-left: 0; max-width: none; }
.tl-astig .tl-astig-symptoms li,
.tl-astig .tl-astig-stats li { max-width: none; }

@media (prefers-reduced-motion: no-preference) {
  .tl-astig-in { animation: tl-astig-in 0.5s var(--ease) both; }
}
@keyframes tl-astig-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Start / intro: text beside a visual */
.tl-astig-split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr); align-items: center; gap: clamp(24px, 3.4vw, 72px); width: 100%; }
.tl-astig-main { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(14px, 1.2vw, 24px); min-width: 0; }
.tl-astig-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.tl-astig-lead { color: #fff !important; font-size: clamp(17px, 1.25vw, 23px) !important; }
.tl-astig .tl-astig-need { gap: 10px; }
.tl-astig-previewcard { display: grid; place-items: center; padding: clamp(18px, 2vw, 36px); border-radius: var(--r); background: #fff; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55); }
.tl-astig-preview { display: block; max-width: 100%; height: auto; }
.tl-astig .tl-astig-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tl-astig .tl-astig-stats li { display: flex; flex-direction: column; gap: 4px; padding: clamp(14px, 1.1vw, 20px); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: calc(var(--r) * 0.6); background: rgba(255, 255, 255, 0.06); }
.tl-astig-stats b { color: #fff; font-size: clamp(28px, 2.3vw, 44px); font-weight: 500; line-height: 1; letter-spacing: -0.02em; }
.tl-astig-stats small { font-size: 0.5em; letter-spacing: 0; }
.tl-astig-stats span { color: rgba(255, 255, 255, 0.8); font-size: 16px; line-height: 1.35; }
.tl-astig-textbtn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 4px; border: 0; background: none; color: var(--pale); font-size: clamp(16px, 1vw, 19px); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.tl-astig-textbtn:hover { color: #fff; }

/* Safety check */
.tl-astig .tl-astig-symptoms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; }
.tl-astig .tl-astig-symptoms li { display: flex; align-items: center; gap: 14px; padding: clamp(14px, 1.2vw, 22px) clamp(16px, 1.4vw, 24px); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: calc(var(--r) * 0.6); background: rgba(255, 255, 255, 0.06); color: #fff; }
.tl-astig-symptoms svg { flex: none; color: #fcd34d; }

/* Messages */
.tl-astig-msg { width: 100%; max-width: none; }
.tl-astig-msg p { max-width: 60em; color: #fff !important; }
.tl-astig-msg.is-warn { border-color: rgba(252, 211, 77, 0.7); background: rgba(245, 158, 11, 0.16); }
.tl-astig-msg .tl-astig-nightline { margin-top: 0.8em; padding-top: 0.8em; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.tl-astig .tl-astig-warnnote { border: 1px solid rgba(252, 211, 77, 0.55); background: rgba(245, 158, 11, 0.14); color: #fff; }
.tl-astig .tl-astig-warnnote svg { color: #fcd34d; }

/* Distance and size */
.tl-astig .tl-astig-distopts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tl-astig .tl-astig-opts .etest-opt { justify-content: center; min-height: clamp(76px, 5.6vw, 110px); }
.tl-astig-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; }
.tl-astig-tile { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: clamp(18px, 1.6vw, 30px); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--r); background: rgba(255, 255, 255, 0.06); }
.tl-astig-tile > span { color: rgba(255, 255, 255, 0.7); font-size: 16px; letter-spacing: 0.06em; text-transform: uppercase; }
.tl-astig-tile b { color: #fff; font-size: clamp(40px, 3.6vw, 72px); font-weight: 500; line-height: 1; letter-spacing: -0.03em; }
.tl-astig-tile b small { font-size: 0.42em; letter-spacing: 0; }
.tl-astig-tile b small.tl-astig-word { display: inline-block; padding-block: 0.25em; font-size: clamp(26px, 2vw, 36px); letter-spacing: -0.01em; }
.tl-astig-tile em { color: rgba(255, 255, 255, 0.8); font-size: 16px; font-style: normal; }
.tl-astig-caltile { align-items: flex-start; gap: 12px; }
.tl-astig-caltile svg { color: var(--soft); }
.tl-astig .tl-astig-caltile p { color: rgba(255, 255, 255, 0.86); font-size: 16px; }
.tl-astig .tl-astig-caltile .fchip { margin-top: auto; }
.tl-astig-calbox { width: 100%; padding: clamp(18px, 1.6vw, 30px); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--r); background: rgba(255, 255, 255, 0.04); }
.tl-astig-calbox[hidden] { display: none; }
.tl-astig .tl-astig-calstage { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "area" "ctrl"; align-items: start; gap: 18px; width: 100%; }
.tl-astig-calcopy { grid-area: copy; min-width: 0; }
.tl-astig-calctrl { grid-area: ctrl; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.tl-astig-calarea { grid-area: area; width: 100%; min-width: 0; padding: clamp(16px, 1.4vw, 26px); border: 1.5px dashed rgba(255, 255, 255, 0.22); border-radius: var(--r); background: rgba(255, 255, 255, 0.03); }
.tl-astig .cal-card { width: 324px; max-width: none; height: auto; padding: 10px; font-size: 16px; color: rgba(255, 255, 255, 0.75); }
.tl-astig .cal-card span { position: relative; max-width: 14em; }
.tl-astig .cal-card.is-portrait::before { left: 24%; top: 10%; width: 18%; height: 24%; }
.tl-astig .cal-ctrl { flex-wrap: nowrap; gap: 12px; width: min(100%, 560px); }
.tl-astig .cal-ctrl input[type="range"] { flex: 1 1 auto; width: auto; min-width: 0; height: 44px; }
.tl-astig .cal-ctrl button { flex: none; width: 48px; height: 48px; font-size: 24px; }
.tl-astig .cal-ctrl button:hover { background: rgba(255, 255, 255, 0.12); }
.tl-astig-row { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 1100px) {
  .tl-astig .tl-astig-calstage { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); grid-template-areas: "copy area" "ctrl area"; grid-template-rows: auto 1fr; column-gap: clamp(28px, 3vw, 60px); }
  .tl-astig-calarea { min-height: 100%; }
}

/* Cover one eye */
.tl-astig-cover { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tl-astig-covertile { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: clamp(18px, 1.8vw, 32px); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--r); background: rgba(255, 255, 255, 0.06); color: #fff; }
.tl-astig-covertile.is-cover { border-color: #fff; background: #fff; color: var(--navy); }
.tl-astig-covertile svg { margin-bottom: 8px; color: var(--soft); }
.tl-astig-covertile.is-cover svg { color: var(--blue); }
.tl-astig-covertile span { font-size: 16px; opacity: 0.8; }
.tl-astig-covertile b { font-size: clamp(30px, 2.6vw, 52px); font-weight: 500; line-height: 1; letter-spacing: -0.02em; }
.tl-astig-covertile em { font-size: 16px; font-style: normal; opacity: 0.8; }

/* The test: dial card beside the question */
.tl-astig-test { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(18px, 2vw, 40px); width: 100%; }
.tl-astig-test.is-wide { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
.tl-astig-card { justify-self: center; max-width: 100%; overflow: auto; border-radius: 18px; background: #fff; line-height: 0; }
.tl-astig-test.is-wide .tl-astig-card { justify-self: start; }
.tl-astig-card svg { display: block; }
.tl-astig-chartnum { cursor: pointer; }
.tl-astig-panel { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; min-width: 0; }
.tl-astig .tl-astig-tag { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: #fff; font-weight: 500; }
.tl-astig-tag svg { width: 24px; height: 24px; color: var(--soft); }
.tl-astig-qbox { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; width: 100%; padding: clamp(18px, 1.8vw, 32px); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--r); background: rgba(255, 255, 255, 0.05); }
.tl-astig .tl-astig-qtext { color: #fff; font-size: clamp(20px, 1.6vw, 30px); font-weight: 500; line-height: 1.3; }
.tl-astig-qtext:focus { outline: none; }
.tl-astig-answers { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; width: 100%; }
.tl-astig .tl-astig-answers .etest-opt { justify-content: center; min-height: 64px; padding: 14px 18px; }
.tl-astig .tl-astig-keep { color: rgba(255, 255, 255, 0.75); }
.tl-astig-picker { position: relative; flex: none; width: min(100%, 290px); aspect-ratio: 1 / 1; margin: 2px auto 0; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 50%; background: rgba(255, 255, 255, 0.04); }
/* astig.js places the dial buttons with inline left/top: the centring margins keep their side on right-to-left pages */
/*rtl:ignore*/
.tl-astig-hour { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; margin: -24px 0 0 -24px; padding: 0; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: #fff; font-size: 18px; font-weight: 500; transition: background-color 0.25s, color 0.25s, border-color 0.25s; }
.tl-astig-hour:hover { border-color: #fff; background: rgba(255, 255, 255, 0.18); }
.tl-astig-hour.is-linked { border: 2px dashed var(--soft); color: var(--pale); }
.tl-astig-hour[aria-pressed="true"] { border-color: #fff; background: #fff; color: var(--navy); }
/*rtl:ignore*/
.tl-astig-pickdot { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--soft); }
.tl-astig .tl-astig-readout { width: 100%; color: #fff; font-weight: 500; text-align: center; }

/* Night-light check */
.tl-astig-nightgrid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(18px, 2vw, 40px); width: 100%; }
.tl-astig-nightcard { display: grid; place-items: center; min-height: clamp(260px, 26vw, 460px); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: var(--r); background: #000; }
.tl-astig-nightcard span { display: block; border-radius: 50%; background: #fff; }
.tl-astig-nightpanel { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0; }
.tl-astig-lights { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; width: 100%; }
.tl-astig-light { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 10px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: calc(var(--r) * 0.6); background: rgba(255, 255, 255, 0.06); color: #fff; font-size: 16px; line-height: 1.3; text-align: center; transition: background-color 0.3s, border-color 0.3s; }
.tl-astig-light:hover { border-color: #fff; }
.tl-astig-light[aria-pressed="true"] { border-color: #fff; background: #fff; color: var(--navy); }
.tl-astig-light svg { display: block; }

/* Result */
.tl-astig-eyes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; width: 100%; }
.tl-astig-eye { display: flex; flex-direction: column; gap: 16px; min-width: 0; padding: clamp(18px, 1.8vw, 32px); border-radius: var(--r); background: #fff; color: var(--navy); }
.tl-astig-eyehead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; }
.tl-astig .tl-astig-eye h3 { color: var(--navy); font-size: clamp(20px, 1.5vw, 28px); font-weight: 500; }
.tl-astig-badge { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 14px; border-radius: 999px; background: var(--tint); color: var(--blue-dk); font-size: 16px; font-weight: 500; line-height: 1.25; }
.tl-astig-badge.is-pattern { background: #ffedd5; color: #9a3412; }
.tl-astig-badge.is-unsteady { background: #fef3c7; color: #92400e; }
.tl-astig-badge.is-unclear { background: #e5e7eb; color: #374151; }
.tl-astig-eyebody { display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr); align-items: center; gap: clamp(16px, 1.6vw, 28px); }
.tl-astig-map { margin: 0; }
.tl-astig-map svg { display: block; width: 100%; height: auto; border: 1px solid rgb(var(--navy-rgb) / 0.12); border-radius: 50%; }
.tl-astig-hi { stroke: var(--blue); }
.tl-astig .tl-astig-runs { display: grid; gap: 0; }
.tl-astig .tl-astig-runs li { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-bottom: 1px solid rgb(var(--navy-rgb) / 0.1); color: var(--gray-700); font-size: 16px; line-height: 1.4; }
.tl-astig .tl-astig-runs li:last-child { border-bottom: 0; }
.tl-astig-runs b { color: var(--navy); font-weight: 500; }
.tl-astig .tl-astig-meta { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; }
.tl-astig .tl-astig-meta li { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 8px; padding: 8px 16px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px; color: rgba(255, 255, 255, 0.8); font-size: 16px; }
.tl-astig-meta b { color: #fff; font-weight: 500; }
.tl-astig .tl-astig-curious { width: 100%; max-width: none; padding: clamp(14px, 1.2vw, 22px) clamp(16px, 1.4vw, 26px); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--r); background: rgba(255, 255, 255, 0.05); }
.tl-astig .tl-astig-curious summary { color: #fff; font-size: clamp(17px, 1.1vw, 20px); }
.tl-astig .tl-astig-curious p { margin-top: 12px; }
.tl-astig .tl-astig-curious ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tl-astig .tl-astig-curious li { padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: #fff; font-size: 16px; }
.tl-astig .tl-astig-howto { color: #fff; font-size: clamp(16px, 1.05vw, 19px); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.tl-astig .tl-astig-howto:hover { color: var(--pale); }

@media (max-width: 1100px) {
  .tl-astig-eyebody { grid-template-columns: minmax(0, 160px) minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .tl-astig-split { grid-template-columns: minmax(0, 1fr); }
  .tl-astig-side { width: 100%; max-width: 520px; }
  .tl-astig-eyes { grid-template-columns: minmax(0, 1fr); }
  .tl-astig .tl-astig-symptoms { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1100px) {
  .tl-astig-nightgrid { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 901px) {
  .tl-astig .tl-astig-symptoms li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 767.98px) {
  .tl-astig .etest-bar { font-size: 15px; }
  .tl-astig .etest-screen { padding: 7vw 5vw; }
  .tl-astig .etest-screen h2 { font-size: clamp(23px, 6.2vw, 30px); }
  .tl-astig-tiles { grid-template-columns: 1fr 1fr; }
  .tl-astig-caltile { grid-column: 1 / -1; }
  .tl-astig .tl-astig-opts,
  .tl-astig .tl-astig-distopts { grid-template-columns: 1fr; }
  .tl-astig .etest-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .tl-astig .etest-actions .tl-astig-textbtn { justify-content: center; }
  .tl-astig-row { flex-direction: column; align-items: stretch; width: 100%; }
  .tl-astig-nightcard { min-height: 220px; }
}
@media (max-width: 600px) {
  .tl-astig .etest-screen { padding: 22px 16px; }
  .tl-astig-calbox { padding: 0; border: 0; background: none; }
  .tl-astig-calarea { width: calc(100% + 30px); margin-inline: -15px; padding: 0; border: 0; background: none; }
  .tl-astig .cal-ctrl { margin-inline: auto; }
  .tl-astig-eyebody { grid-template-columns: minmax(0, 1fr); }
  .tl-astig-map { width: min(100%, 230px); margin-inline: auto; }
  .tl-astig-cover { gap: 10px; }
  .tl-astig .tl-astig-stats { gap: 8px; }
  .tl-astig .tl-astig-stats li { padding: 12px; }
  .tl-astig-qbox { padding: 16px; }
  .tl-astig-picker { width: min(100%, 270px); }
  /*rtl:ignore*/
  .tl-astig-hour { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
  .tl-astig-lights { grid-template-columns: minmax(0, 1fr); }
  .tl-astig-light { flex-direction: row; gap: 14px; padding: 10px 14px; text-align: left; }
  .tl-astig-light svg { flex: none; width: 48px; height: 48px; }
}

/* Print: only the sheet built by the tool (printable chart or the result) */
.tl-astig-print { display: none; }
@media print {
  html.tl-astig-printing body > *:not(.tl-astig-print) { display: none !important; }
  html.tl-astig-printing .tl-astig-print { display: block !important; background: #fff; color: #000; font-family: var(--font); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .tl-astig-print h1 { margin: 0 0 3mm; font-size: 18pt; font-weight: 500; }
  .tl-astig-print p, .tl-astig-print li { font-size: 10.5pt; line-height: 1.4; }
  .tl-astig-pdial { display: flex; justify-content: center; margin: 8mm 0 4mm; break-inside: avoid; }
  .tl-astig-pdial svg { display: block; }
  .tl-astig-pq { text-align: center; font-size: 12pt !important; font-weight: 500; }
  .tl-astig-pruler { display: flex; flex-direction: column; align-items: center; gap: 1mm; margin-top: 8mm; break-inside: avoid; }
  .tl-astig-pdisc { margin-top: 8mm; color: #333; font-size: 8.5pt !important; }
  .tl-astig-pdate { margin-bottom: 4mm; color: #333; }
  .tl-astig-pmsg { margin-bottom: 5mm; padding: 3mm 4mm; border: 0.3mm solid #000; }
  .tl-astig-pmsg p + p { margin-top: 2mm; }
  .tl-astig-print .tl-astig-eyes { display: grid; grid-template-columns: 1fr 1fr; gap: 5mm; margin-bottom: 4mm; }
  .tl-astig-print .tl-astig-eye { padding: 3mm; border: 0.3mm solid #999; border-radius: 3mm; break-inside: avoid; }
  .tl-astig-print .tl-astig-eyehead { display: flex; flex-wrap: wrap; gap: 2mm; align-items: center; justify-content: space-between; margin-bottom: 2mm; }
  .tl-astig-print .tl-astig-eye h3 { font-size: 12pt; font-weight: 500; }
  .tl-astig-print .tl-astig-badge { padding: 0.5mm 2mm; border: 0.3mm solid #000; border-radius: 2mm; font-size: 9pt; }
  .tl-astig-print .tl-astig-map { width: 50mm; margin: 0 auto 2mm; }
  .tl-astig-print .tl-astig-map svg { width: 100%; height: auto; }
  .tl-astig-print .tl-astig-runs { margin: 0; padding: 0; list-style: none; }
  .tl-astig-print .tl-astig-runs li { display: flex; flex-direction: column; padding: 1mm 0; border-bottom: 0.2mm solid #ccc; font-size: 9pt; }
}
