/* === Amsler grid test (tool id "amsler") ===
   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-amsler-.
   Colours come from the theme variables; the test grid itself is forced black on white (or white on black). */

.tl-amsler {
  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-amsler .etest-bar { flex-wrap: wrap; row-gap: 10px; font-size: clamp(15px, 0.95vw, 18px); color: rgba(255, 255, 255, 0.85); }
.tl-amsler .etest-screen { gap: clamp(16px, 1.4vw, 28px); }
.tl-amsler .etest-screen h2 { max-width: 30em; color: #fff; text-wrap: balance; }
.tl-amsler .etest-screen h2:focus { outline: none; }
.tl-amsler .etest-screen h3 { color: #fff; }
.tl-amsler .etest-screen p,
.tl-amsler .etest-screen li { font-size: clamp(16px, 1.1vw, 20px); line-height: 1.55; }
.tl-amsler .etest-note { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; 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-amsler .etest-note[hidden] { display: none; }
.tl-amsler .etest-note svg { flex: none; color: var(--soft); }
.tl-amsler .etest-disclaimer { max-width: 62em; font-size: clamp(16px, 0.95vw, 18px); color: rgba(255, 255, 255, 0.74); }
.tl-amsler .etest-actions { align-items: center; gap: 12px; padding-top: clamp(8px, 1vw, 20px); }
.tl-amsler .pill { height: auto; min-height: clamp(48px, 3.4vw, 64px); padding-block: 10px; font-size: clamp(16px, 1.05vw, 20px); }
.tl-amsler .pill[disabled] { opacity: 0.45; cursor: not-allowed; }
.tl-amsler .pill:focus-visible,
.tl-amsler .etest-opt:focus-visible,
.tl-amsler .fchip:focus-visible,
.tl-amsler .tl-amsler-textbtn:focus-visible,
.tl-amsler .tl-amsler-switch:focus-visible,
.tl-amsler .cal-ctrl button:focus-visible,
.tl-amsler .cal-ctrl input:focus-visible,
.tl-amsler summary:focus-visible,
.tl-amsler a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.tl-amsler .etest-opt b { font-size: clamp(17px, 1.2vw, 22px); }
.tl-amsler .etest-opt span { font-size: clamp(16px, 0.95vw, 18px); }
.tl-amsler .etest-opt[aria-pressed="true"] span { opacity: 0.85; }
.tl-amsler .fchip { height: auto; min-height: 44px; padding: 6px 16px; font-size: clamp(16px, 0.95vw, 18px); }
.tl-amsler .etest-step:focus-visible { outline: 2px solid #fff; }

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

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

/* Start / intro: text beside a visual */
.tl-amsler-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-amsler-main { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(14px, 1.2vw, 24px); min-width: 0; }
.tl-amsler-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.tl-amsler-lead { color: #fff !important; font-size: clamp(17px, 1.25vw, 23px) !important; }
.tl-amsler .tl-amsler-need { gap: 10px; }
.tl-amsler .tl-amsler-visualnote { flex-wrap: nowrap; align-items: flex-start; margin-top: 4px; }
.tl-amsler-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-amsler-preview { display: block; max-width: 100%; height: auto; }
.tl-amsler .tl-amsler-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tl-amsler .tl-amsler-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-amsler-stats b { color: #fff; font-size: clamp(28px, 2.3vw, 44px); font-weight: 500; line-height: 1; letter-spacing: -0.02em; }
.tl-amsler-stats small { font-size: 0.5em; letter-spacing: 0; }
.tl-amsler-stats span { color: rgba(255, 255, 255, 0.8); font-size: 16px; line-height: 1.35; }
.tl-amsler-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-amsler-textbtn:hover { color: #fff; }

/* Safety check */
.tl-amsler .tl-amsler-symptoms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; }
.tl-amsler .tl-amsler-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 !important; }
.tl-amsler-symptoms svg { flex: none; color: #fcd34d; }
.tl-amsler .tl-amsler-symptoms li:last-child:nth-child(odd) { grid-column: 1 / -1; }

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

/* Calibration: copy and controls beside the card outline on wide screens */
.tl-amsler .tl-amsler-calstage { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "area" "ctrl"; align-items: start; gap: 18px; width: 100%; }
.tl-amsler-calcopy { grid-area: copy; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.tl-amsler-calctrl { grid-area: ctrl; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.tl-amsler-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-amsler .cal-card { width: 324px; max-width: none; height: auto; padding: 10px; font-size: 16px; color: rgba(255, 255, 255, 0.75); }
.tl-amsler .cal-card span { position: relative; max-width: 14em; }
.tl-amsler .cal-card.is-portrait::before { left: 24%; top: 10%; width: 18%; height: 24%; }
.tl-amsler .cal-ctrl { flex-wrap: nowrap; gap: 12px; width: min(100%, 560px); }
.tl-amsler .cal-ctrl input[type="range"] { flex: 1 1 auto; width: auto; min-width: 0; height: 44px; }
.tl-amsler .cal-ctrl button { flex: none; width: 48px; height: 48px; font-size: 24px; }
.tl-amsler .cal-ctrl button:hover { background: rgba(255, 255, 255, 0.12); }
@media (min-width: 1100px) {
  .tl-amsler .tl-amsler-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-amsler-calarea { min-height: 100%; }
}

/* Grid size and distance */
.tl-amsler-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; }
.tl-amsler-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-amsler-tile span { color: rgba(255, 255, 255, 0.7); font-size: 16px; letter-spacing: 0.06em; text-transform: uppercase; }
.tl-amsler-tile b { color: #fff; font-size: clamp(40px, 3.6vw, 72px); font-weight: 500; line-height: 1; letter-spacing: -0.03em; }
.tl-amsler-tile b small { font-size: 0.42em; letter-spacing: 0; }
.tl-amsler-tile em { color: rgba(255, 255, 255, 0.8); font-size: 16px; font-style: normal; }
.tl-amsler-diagram { justify-content: center; min-height: 140px; color: var(--soft); }
.tl-amsler-diagram svg { display: block; max-height: 130px; }

/* Glasses */
.tl-amsler .tl-amsler-opts .etest-opt { justify-content: center; min-height: clamp(76px, 5.6vw, 110px); }

/* Cover one eye */
.tl-amsler-cover { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tl-amsler-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-amsler-covertile.is-cover { border-color: #fff; background: #fff; color: var(--navy); }
.tl-amsler-covertile svg { margin-bottom: 8px; color: var(--soft); }
.tl-amsler-covertile.is-cover svg { color: var(--blue); }
.tl-amsler-covertile span { font-size: 16px; opacity: 0.8; }
.tl-amsler-covertile b { font-size: clamp(30px, 2.6vw, 52px); font-weight: 500; line-height: 1; letter-spacing: -0.02em; }
.tl-amsler-covertile em { font-size: 16px; font-style: normal; opacity: 0.8; }

/* The test: grid card beside the questions (never on top of the grid) */
.tl-amsler-test { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(18px, 2vw, 40px); width: 100%; }
.tl-amsler-test.is-wide { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
.tl-amsler-card { justify-self: center; max-width: 100%; overflow: auto; border-radius: 18px; background: #fff; line-height: 0; }
.tl-amsler-test.is-wide .tl-amsler-card { justify-self: start; }
.tl-amsler-card.is-inverse { background: #000; outline: 1px solid rgba(255, 255, 255, 0.3); }
.tl-amsler-card svg { display: block; }
.tl-amsler-panel { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; min-width: 0; }
.tl-amsler-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 !important; font-weight: 500; }
.tl-amsler-tag svg { width: 24px; height: 24px; color: var(--soft); }
.tl-amsler-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-amsler-qnum { color: var(--soft) !important; font-size: 16px !important; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.tl-amsler .tl-amsler-qtext { color: #fff; font-size: clamp(20px, 1.6vw, 30px); font-weight: 500; line-height: 1.3; }
.tl-amsler-qtext:focus { outline: none; }
.tl-amsler-answers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; }
.tl-amsler-answers.has-hints,
.tl-amsler-answers.is-col { grid-template-columns: minmax(0, 1fr); }
.tl-amsler .tl-amsler-answers .etest-opt { justify-content: center; min-height: 64px; padding: 14px 18px; }
.tl-amsler .tl-amsler-answers:not(.has-hints):not(.is-col) .etest-opt { align-items: center; text-align: center; }
.tl-amsler-keep { color: rgba(255, 255, 255, 0.75) !important; }
.tl-amsler-switch { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 4px 0; border: 0; background: none; color: #fff; font-size: clamp(16px, 1vw, 19px); text-align: left; }
.tl-amsler-knob { position: relative; flex: none; width: 46px; height: 26px; border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 999px; background: rgba(255, 255, 255, 0.08); transition: background-color 0.3s; }
.tl-amsler-knob::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform 0.3s var(--ease); }
.tl-amsler-switch[aria-pressed="true"] .tl-amsler-knob { background: var(--blue); border-color: var(--blue); }
.tl-amsler-switch[aria-pressed="true"] .tl-amsler-knob::after { transform: translateX(20px); }

/* Mark mode: a copy of the grid */
.tl-amsler-mark { display: inline-block; max-width: 100%; border-radius: 12px; background: #fff; line-height: 0; cursor: crosshair; touch-action: none; -webkit-user-select: none; user-select: none; }
.tl-amsler-mark.is-inverse { background: #000; }
.tl-amsler-mark svg { display: block; max-width: 100%; height: auto; }
.tl-amsler-mark:focus { outline: none; }
.tl-amsler-mark:focus-visible { outline: 3px solid var(--soft); outline-offset: 4px; }
.tl-amsler-cursor { stroke: transparent; }
.tl-amsler-mark:focus-visible .tl-amsler-cursor { stroke: var(--blue); }
.tl-amsler-count { color: #fff !important; font-weight: 500; }
.tl-amsler-keys { color: rgba(255, 255, 255, 0.72) !important; }
.tl-amsler-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Result */
.tl-amsler-eyes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; width: 100%; }
.tl-amsler-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-amsler-eyehead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; }
.tl-amsler .tl-amsler-eye h3 { color: var(--navy); font-size: clamp(20px, 1.5vw, 28px); font-weight: 500; }
.tl-amsler-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-amsler-badge.is-a { background: #ffedd5; color: #9a3412; }
.tl-amsler-badge.is-c { background: #fef3c7; color: #92400e; }
.tl-amsler-eyebody { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); align-items: start; gap: clamp(16px, 1.6vw, 28px); }
.tl-amsler-map { margin: 0; }
.tl-amsler-map svg { display: block; width: 100%; height: auto; border: 1px solid rgb(var(--navy-rgb) / 0.15); }
.tl-amsler .tl-amsler-map figcaption { margin-top: 8px; color: var(--gray-700); font-size: 16px; }
.tl-amsler .tl-amsler-anslist { display: grid; gap: 0; }
.tl-amsler .tl-amsler-anslist li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgb(var(--navy-rgb) / 0.1); color: var(--gray-700); font-size: 16px; line-height: 1.4; }
.tl-amsler-anslist li:last-child { border-bottom: 0; }
.tl-amsler-anslist b { flex: none; max-width: 50%; color: var(--navy); font-weight: 500; text-align: right; }
.tl-amsler-anslist li.is-flag b { color: #c2410c; }
.tl-amsler .tl-amsler-meta { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; }
.tl-amsler .tl-amsler-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-amsler-meta b { color: #fff; font-weight: 500; }
.tl-amsler-meta li.is-flag { border-color: rgba(252, 211, 77, 0.7); }
.tl-amsler .tl-amsler-compare { 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-amsler .tl-amsler-compare summary { color: #fff; font-size: clamp(17px, 1.1vw, 20px); }
.tl-amsler-cmpgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.tl-amsler-cmp { margin: 0; padding: 16px; border-radius: calc(var(--r) * 0.7); background: #fff; color: var(--navy); }
.tl-amsler-cmp figcaption { margin-bottom: 10px; font-size: 18px; font-weight: 500; }
.tl-amsler-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tl-amsler-pair svg { display: block; width: 100%; height: auto; border: 1px solid rgb(var(--navy-rgb) / 0.15); }
.tl-amsler-pair span { display: block; margin-top: 6px; color: var(--gray-700); font-size: 16px; }
.tl-amsler .tl-amsler-howto { color: #fff; font-size: clamp(16px, 1.05vw, 19px); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.tl-amsler .tl-amsler-howto:hover { color: var(--pale); }

/* While the grid is shown, nothing else of the page competes with it */
html.tl-amsler-focus .site-header,
html.tl-amsler-focus .mobile-menu,
html.tl-amsler-focus .wa-float,
html.tl-amsler-focus .theme-fab,
html.tl-amsler-focus .read-progress,
html.tl-amsler-focus .cookie-bar,
html.tl-amsler-focus .cookie-banner,
html.tl-amsler-focus .chat-widget { visibility: hidden !important; opacity: 0 !important; pointer-events: none !important; }

@media (max-width: 1100px) {
  .tl-amsler-eyebody { grid-template-columns: minmax(0, 170px) minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .tl-amsler-split { grid-template-columns: minmax(0, 1fr); }
  .tl-amsler-side { width: 100%; max-width: 520px; }
  .tl-amsler-eyes { grid-template-columns: minmax(0, 1fr); }
  .tl-amsler-symptoms { grid-template-columns: minmax(0, 1fr); }
  .tl-amsler-cmpgrid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767.98px) {
  .tl-amsler .etest-bar { font-size: 15px; }
  .tl-amsler .etest-screen { padding: 7vw 5vw; }
  .tl-amsler .etest-screen h2 { font-size: clamp(23px, 6.2vw, 30px); }
  .tl-amsler-tiles { grid-template-columns: 1fr 1fr; }
  .tl-amsler-diagram { grid-column: 1 / -1; min-height: 110px; }
  .tl-amsler .tl-amsler-opts { grid-template-columns: 1fr; }
  .tl-amsler .etest-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .tl-amsler .etest-actions .tl-amsler-textbtn { justify-content: center; }
  .tl-amsler-row { flex-direction: column; align-items: stretch; width: 100%; }
}
@media (max-width: 600px) {
  .tl-amsler .etest-screen { padding: 22px 16px; }
  .tl-amsler-calarea { width: calc(100% + 30px); margin-inline: -15px; padding: 0; border: 0; background: none; }
  .tl-amsler .cal-ctrl { margin-inline: auto; }
  .tl-amsler-eyebody { grid-template-columns: minmax(0, 1fr); }
  .tl-amsler-map { width: min(100%, 260px); margin-inline: auto; }
  .tl-amsler-cover { gap: 10px; }
  .tl-amsler-stats { gap: 8px; }
  .tl-amsler-stats li { padding: 12px; }
  .tl-amsler-qbox { padding: 16px; }
  .tl-amsler .tl-amsler-answers .etest-opt { padding: 12px 10px; }
}

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