@layer base,layout,components;
@layer base {
  :root {
    --paper: #f5f3ec;
    --ink: #222b25;
    --muted: #536055;
    --green: #215548;
    --line: #c5cabb;
    --white: #fffefa;
    --wash: #e8ecdf;
    font-family:
      Inter,
      ui-sans-serif,
      system-ui,
      -apple-system,
      BlinkMacSystemFont,
      "Segoe UI",
      sans-serif;
    color: var(--ink);
    background: var(--paper);
    font-size: 17px;
    line-height: 1.65;
    font-synthesis: none;
  }
  * {
    box-sizing: border-box;
  }
  body {
    margin: 0;
  }
  h1,
  h2,
  h3,
  p {
    margin: 0 0 1rem;
  }
  h1,
  h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    letter-spacing: -0.035em;
    line-height: 1.09;
  }
  h1 {
    font-size: clamp(2.5rem, 4.4vw, 4.5rem);
  }
  h2 {
    font-size: clamp(1.9rem, 2.7vw, 2.75rem);
  }
  h3 {
    font-size: 1.35rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
    font-weight: 600;
  }
  a {
    color: var(--green);
    text-underline-offset: 0.24em;
    text-decoration-thickness: 1px;
  }
  a:hover {
    text-decoration-thickness: 2px;
  }
  button,
  input,
  select,
  textarea {
    font: inherit;
  }
  button,
  a,
  input,
  select,
  textarea,
  summary {
    touch-action: manipulation;
  }
  button,
  summary,
  select {
    cursor: pointer;
  }
  input,
  select,
  textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid #8a9788;
    border-radius: 3px;
    background: var(--white);
    color: var(--ink);
    padding: 10px 12px;
    max-width: 100%;
  }
  input[type="checkbox"] {
    width: 20px;
    min-height: 20px;
    height: 20px;
    accent-color: var(--green);
  }
  label {
    display: block;
    font-size: 0.94rem;
    font-weight: 600;
    margin: 0 0 7px;
  }
  fieldset {
    border: 0;
    padding: 0;
    margin: 20px 0;
  }
  legend {
    font-weight: 600;
    margin-bottom: 8px;
  }
  small,
  .small {
    font-size: 0.84rem;
    line-height: 1.55;
    color: var(--muted);
  }
  small {
    display: block;
    margin-top: 6px;
  }
  button {
    min-height: 44px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--green);
    border-radius: 3px;
    padding: 9px 14px;
  }
  button:hover {
    background: var(--wash);
  }
  :focus-visible {
    outline: 3px solid #8a5226;
    outline-offset: 4px;
  }
  summary {
    min-height: 44px;
    padding: 10px 0;
    font-weight: 600;
    color: var(--green);
  }
  details {
    border-top: 1px solid var(--line);
    margin: 20px 0;
  }
  details[open] > summary {
    margin-bottom: 10px;
  }
  img,
  svg {
    max-width: 100%;
    height: auto;
  }
  ul {
    padding-left: 1.25rem;
  }
  li {
    margin: 0 0 0.75rem;
  }
  [hidden] {
    display: none !important;
  }
  button:disabled {
    color: #526054;
    background: #e3e5dc;
    cursor: not-allowed;
  }
  .intro {
    font-size: 1.15rem;
    max-width: 58ch;
    color: var(--muted);
    line-height: 1.65;
  }
  .eyebrow {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 650;
    color: var(--green);
    margin-bottom: 16px;
  }
  .skip {
    position: absolute;
    left: 16px;
    top: -80px;
    padding: 12px 20px;
    background: var(--white);
    z-index: 10;
  }
  .skip:focus {
    top: 12px;
  }
  .plain-list {
    list-style: none;
    padding: 0;
  }
  p:last-child {
    margin-bottom: 0;
  }
}
@layer layout {
  .wrap {
    width: min(100% - 96px, 1440px);
    margin-inline: auto;
  }
  .site-header {
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }
  .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    min-height: 94px;
  }
  .brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.45rem;
    letter-spacing: -0.055em;
    text-decoration: none;
    color: var(--ink);
    white-space: nowrap;
  }
  .brand-dot {
    color: var(--green);
  }
  nav {
    display: flex;
    align-items: center;
    gap: 30px;
  }
  .header-inner nav a {
    font-size: 16px;
    min-height: 44px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--ink);
  }
  .header-inner nav .nav-cta {
    border-bottom: 2px solid var(--green);
    color: var(--green);
    font-weight: 650;
  }
  .home-hero {
    padding: 64px 0 70px;
    background: var(--paper);
  }
  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 7%;
    align-items: start;
  }
  .hero-copy h1 {
    font-size: clamp(2.8rem, 4.45vw, 4.45rem);
    margin-bottom: 24px;
  }
  .hero-visual {
    margin-top: 56px;
    position: sticky;
    top: 35px;
  }
  .focal-art {
    display: block;
    width: 100%;
    aspect-ratio: 680/410;
  }
  .art-note {
    font-size: 0.94rem;
    line-height: 1.65;
    margin-top: 24px;
    max-width: 39ch;
  }
  .art-note strong {
    font-weight: 600;
  }
  .section {
    padding-block: 66px;
  }
  .section-heading {
    margin-bottom: 36px;
  }
  .section-heading p {
    max-width: 62ch;
  }
  .job-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 34px;
  }
  .job-grid article {
    border-top: 1px solid var(--line);
    padding-top: 20px;
  }
  .job-grid h3 a {
    text-decoration: none;
    color: var(--ink);
  }
  .job-grid p {
    font-size: 0.95rem;
  }
  .index-number {
    font-family: Georgia, serif;
    color: var(--green);
    display: block;
    font-size: 1.65rem;
    margin-bottom: 20px;
  }
  .system-section {
    background: var(--wash);
  }
  .system-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px;
  }
  .system-grid h3 {
    margin-bottom: 15px;
  }
  .system-grid h3 a {
    color: var(--ink);
    text-decoration: none;
  }
  .editorial-split {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 13%;
  }
  .page-heading {
    padding-block: 65px 35px;
  }
  .page-heading h1 {
    max-width: 100%;
    font-size: clamp(2.5rem, 3.6vw, 3.8rem);
    margin-bottom: 24px;
  }
  .profile-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
    gap: 80px;
    padding-bottom: 64px;
  }
  .profile-summary {
    padding-top: 30px;
  }
  .profile-summary h2 {
    font-size: 2rem;
  }
  .spec-panel {
    align-self: start;
    background: var(--wash);
    padding: 28px 30px;
  }
  .tool-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(260px, 0.7fr);
    gap: 7%;
    padding-top: 30px;
    padding-bottom: 80px;
  }
  .tool-aside {
    align-self: start;
    position: sticky;
    top: 30px;
    padding-top: 5px;
  }
  .tool-aside h2 {
    font-size: 2rem;
  }
  .tool-aside nav {
    display: flex;
    align-items: stretch;
    gap: 0;
    flex-direction: column;
  }
  .tool-aside nav a {
    padding: 10px 0;
    min-height: 44px;
  }
  .tool-aside > .text-link {
    margin-top: 25px;
  }
  .two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }
  .prose {
    max-width: 900px;
    margin-left: max(48px, calc((100% - 1440px) / 2));
    padding-top: 20px;
  }
  .prose h2:not(:first-child) {
    margin-top: 44px;
  }
  .prose h3 {
    margin-top: 30px;
  }
  .guide-intro {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 70px;
    padding-top: 20px;
  }
  .guide-path {
    padding: 32px 0;
    border-bottom: 1px solid var(--line);
  }
  .guide-path > .product-row {
    border: 0;
    padding: 10px 0 20px;
  }
  .path-consequence {
    margin-bottom: 8px;
  }
  footer {
    border-top: 1px solid var(--line);
    padding: 56px 0 48px;
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr;
    gap: 70px;
  }
  .footer-grid .brand {
    margin-bottom: 16px;
  }
  .footer-grid h2 {
    font-family: inherit;
    font-size: 0.85rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    font-weight: 650;
    margin-bottom: 20px;
  }
  .footer-grid a:not(.brand) {
    display: block;
    font-size: 16px;
    min-height: 44px;
    padding: 8px 0;
    text-decoration: none;
  }
  .footer-grid p {
    font-size: 0.94rem;
  }
  .footer-grid .small {
    font-size: 0.8rem;
    margin-top: 28px;
  }
}
@layer components {
  .button {
    background: var(--green);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-decoration: none;
    font-weight: 600;
    padding: 13px 21px;
    min-height: 48px;
    border: 1px solid var(--green);
    border-radius: 3px;
    transition:
      background 0.16s,
      transform 0.16s;
  }
  .button:hover {
    background: #163d33;
    color: #fff;
    transform: translateY(-1px);
  }
  .button:active {
    transform: translateY(0);
  }
  .button.secondary {
    background: transparent;
    color: var(--green);
    border-color: var(--line);
  }
  .button.secondary:hover {
    background: var(--wash);
  }
  .small-button {
    font-size: 0.88rem;
    min-height: 44px;
    padding: 10px 16px;
  }
  .text-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-weight: 600;
  }
  .mode-switch {
    display: flex;
    gap: 25px;
    margin-top: 28px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--line);
  }
  .mode-switch button {
    border: 0;
    border-radius: 0;
    padding: 10px 0;
    font-size: 16px;
    color: var(--muted);
    border-bottom: 2px solid transparent;
  }
  .mode-switch button[aria-pressed="true"] {
    border-bottom-color: var(--green);
    color: var(--green);
    font-weight: 650;
  }
  .field-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
  }
  #lens-field {
    margin-bottom: 24px;
  }
  form > .button {
    margin-top: 2px;
  }
  .compact-tool .field-pair {
    gap: 14px;
  }
  .compact-tool label {
    font-size: 0.85rem;
  }
  .compact-tool input,
  .compact-tool select {
    font-size: 0.9rem;
    min-height: 48px;
  }
  .compact-tool #lens-field {
    display: none;
  }
  .compact-tool form > .button {
    width: 100%;
  }
  .home-result {
    padding-top: 23px;
    margin-top: 26px;
    border-top: 1px solid var(--line);
  }
  .home-result .result-label {
    font-size: 0.82rem;
    margin-bottom: 6px;
    color: var(--green);
  }
  .home-result h2 {
    font:
      600 1.18rem/1.4 ui-sans-serif,
      system-ui,
      sans-serif;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
  }
  .home-result p {
    font-size: 0.9rem;
    margin-bottom: 8px;
  }
  .home-result .small {
    font-size: 0.8rem;
  }
  .compare-choice,
  .camera-choice {
    display: flex;
    align-items: center;
    min-height: 46px;
    text-decoration: none;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }
  .gift-note {
    margin: 20px 0 10px;
    padding: 16px 18px;
    border-left: 3px solid var(--green);
    background: var(--wash);
  }
  .gift-note p {
    margin: 7px 0 0;
    font-size: 0.9rem;
    line-height: 1.55;
  }
  .utility-links a {
    display: block;
    border-bottom: 1px solid var(--line);
    min-height: 50px;
    padding: 10px 0;
  }
  .product-row {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 25px;
    border-top: 1px solid var(--line);
    padding: 26px 0;
  }
  .product-row h3 {
    font-size: 1.22rem;
    line-height: 1.4;
    margin-bottom: 10px;
  }
  .product-row h3 a {
    color: var(--ink);
    text-decoration: none;
  }
  .product-row p {
    font-size: 0.93rem;
    margin-bottom: 12px;
  }
  .product-row .small {
    font-size: 0.84rem;
  }
  .range-mark {
    align-self: start;
    border-left: 1px solid var(--green);
    padding-left: 18px;
    padding-block: 5px;
  }
  .range-mark > span {
    font:
      1.4rem Georgia,
      serif;
    color: var(--green);
  }
  .range-mark i {
    display: block;
    width: 70%;
    margin: 14px 0;
    height: 1px;
    background: var(--green);
  }
  .range-mark small {
    font-size: 0.85rem;
  }
  .row-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 16px;
  }
  .lens-job {
    margin-top: 30px;
  }
  .decision-heading {
    font-size: 24px;
    margin-bottom: 14px;
    color: var(--green);
  }
  .context-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
  }
  .context-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .specs {
    margin: 0;
  }
  .specs > div {
    padding: 14px 0;
    border-bottom: 1px solid #c5cbbb;
  }
  .specs dt {
    font-size: 0.81rem;
    color: var(--muted);
    margin-bottom: 5px;
  }
  .specs dd {
    margin: 0;
    font-size: 0.94rem;
    overflow-wrap: anywhere;
  }
  .spec-panel > p.small {
    margin-top: 24px;
  }
  .camera-row {
    padding: 25px 0;
    border-top: 1px solid var(--line);
  }
  .camera-row h3 {
    font-size: 1.4rem;
  }
  .camera-row h3 a {
    text-decoration: none;
  }
  .sources {
    margin-top: 35px;
  }
  .sources ul {
    font-size: 0.88rem;
  }
  .sources p {
    font-size: 0.88rem;
  }
  .ownership {
    display: flex;
    gap: 14px 24px;
    flex-wrap: wrap;
  }
  .ownership legend {
    float: left;
    width: 100%;
  }
  .ownership label {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    font-size: 0.94rem;
    margin: 0;
  }
  .ownership:after {
    content: "";
    display: block;
    clear: both;
  }
  .result-head {
    margin-top: 35px;
    padding-block: 30px 10px;
    border-top: 2px solid var(--green);
  }
  .result-head h2 {
    font-size: 2.3rem;
  }
  .result-section {
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
  }
  .result-section h3 {
    font-size: 1.3rem;
  }
  .result-section p {
    font-size: 0.97rem;
  }
  .part-states {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 20px;
    gap: 12px;
  }
  .part-states > div {
    border-left: 1px solid var(--line);
    padding-left: 12px;
  }
  .part-states span {
    display: block;
    font-size: 0.85rem;
    color: var(--muted);
  }
  .part-states strong {
    font-size: 0.88rem;
    font-weight: 600;
  }
  .weight-number {
    font:
      3rem/1.2 Georgia,
      serif !important;
    color: var(--green);
  }
  .weight-number span {
    display: block;
    font:
      400 0.85rem/1.6 system-ui,
      sans-serif;
    margin-top: 8px;
    color: var(--muted);
  }
  .action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .action-grid .button {
    font-size: 0.9rem;
  }
  .save-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
    margin-bottom: 20px;
  }
  .save-actions button {
    font-size: 0.85rem;
  }
  #save-status {
    min-height: 1.5em;
  }
  #contact-form label {
    margin-top: 20px;
  }
  .table-scroll {
    overflow-x: auto;
    margin: 34px 0;
    border-block: 1px solid var(--line);
  }
  table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
    font-size: 0.95rem;
  }
  caption {
    text-align: left;
    font-size: 0.88rem;
    padding: 16px 0;
    color: var(--muted);
  }
  th,
  td {
    padding: 17px 20px 17px 0;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
  }
  thead th {
    color: var(--green);
  }
  tbody th {
    font-weight: 500;
    width: 25%;
  }
  tbody td {
    width: 37.5%;
  }
  .hero-visual {
    animation: arrive 0.65s ease-out both;
  }
  @keyframes arrive {
    from {
      transform: translateY(14px);
    }
    to {
      transform: translateY(0);
    }
  }
}
@media (min-width: 1800px) {
  .hero-copy h1 {
    font-size: 4.65rem;
  }
  .home-hero {
    padding-top: 76px;
  }
  .hero-grid {
    gap: 100px;
  }
  .hero-visual {
    margin-top: 65px;
  }
}
@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .hero-grid {
    gap: 40px;
  }
  .hero-copy h1 {
    font-size: 3.25rem;
  }
  .hero-visual {
    margin-top: 70px;
  }
  .header-inner nav {
    gap: 22px;
  }
  .job-grid,
  .system-grid {
    grid-template-columns: 1fr 1fr;
  }
  .profile-layout {
    gap: 40px;
    grid-template-columns: minmax(0, 1.25fr) minmax(255px, 0.75fr);
  }
  .tool-layout {
    gap: 35px;
    grid-template-columns: minmax(0, 1.6fr) minmax(220px, 0.7fr);
  }
  .prose {
    margin-left: 32px;
  }
  .footer-grid {
    gap: 35px;
  }
  .product-row {
    grid-template-columns: 100px 1fr;
    gap: 18px;
  }
  .range-mark {
    padding-left: 10px;
  }
  .range-mark > span {
    font-size: 1.1rem;
  }
  .compact-tool .field-pair {
    grid-template-columns: 1fr;
  }
  .hero-visual .art-note {
    font-size: 0.86rem;
  }
}
@media (max-width: 800px) {
  .header-inner {
    min-height: 84px;
    gap: 18px;
  }
  .brand {
    font-size: 1.25rem;
  }
  .header-inner nav {
    gap: 14px;
  }
  .header-inner nav a {
    font-size: 15px;
  }
  .header-inner nav a:first-child {
    display: none;
  }
  .home-hero {
    padding-top: 44px;
  }
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .hero-copy h1 {
    font-size: 2.8rem;
  }
  .hero-visual {
    margin-top: 75px;
  }
  .hero-grid .intro {
    font-size: 1rem;
  }
  .mode-switch {
    gap: 16px;
  }
  .mode-switch button {
    font-size: 14px;
  }
  .section {
    padding-block: 48px;
  }
  .profile-layout,
  .tool-layout {
    grid-template-columns: 1fr;
  }
  .spec-panel {
    max-width: none;
  }
  .specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 30px;
  }
  .tool-aside {
    position: static;
    border-top: 1px solid var(--line);
    padding-top: 30px;
  }
  .tool-aside nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 25px;
  }
  .tool-aside .text-link {
    margin-top: 10px;
  }
  .guide-intro {
    gap: 30px;
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 24px;
  }
  .footer-grid .brand {
    font-size: 1.2rem;
  }
  .editorial-split {
    gap: 40px;
  }
  .page-heading {
    padding-top: 45px;
  }
  .two-columns {
    gap: 30px;
  }
  .tool-shell {
    min-width: 0;
  }
}
@media (max-width: 600px) {
  :root {
    font-size: 16px;
  }
  .wrap {
    width: calc(100% - 40px);
  }
  .header-inner {
    min-height: 77px;
  }
  .header-inner nav a:not(.nav-cta) {
    display: none;
  }
  .header-inner nav .nav-cta {
    font-size: 14px;
  }
  .brand {
    font-size: 1.22rem;
    gap: 8px;
  }
  .brand svg {
    width: 29px;
  }
  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  .hero-copy h1 {
    font-size: 2.85rem;
  }
  .hero-copy .intro {
    font-size: 1.1rem;
    line-height: 1.65;
  }
  .hero-visual {
    position: static;
    margin-top: 0;
    width: 100%;
  }
  .hero-visual .art-note {
    font-size: 0.95rem;
    margin-top: 15px;
  }
  .home-hero {
    padding-block: 36px 40px;
  }
  .hero-copy {
    width: 100%;
  }
  .mode-switch {
    gap: 26px;
    margin-top: 22px;
  }
  .mode-switch button {
    font-size: 16px;
  }
  .compact-tool .field-pair {
    grid-template-columns: 1fr;
  }
  .home-result {
    margin-top: 20px;
    padding-top: 20px;
  }
  .home-result h2 {
    font-size: 1.16rem;
  }
  .home-result p {
    font-size: 0.95rem;
  }
  .home-result .small {
    font-size: 0.86rem;
  }
  .job-grid {
    gap: 30px;
    grid-template-columns: 1fr 1fr;
  }
  .job-grid h3 {
    font-size: 1.25rem;
  }
  .job-grid p {
    font-size: 0.95rem;
  }
  .job-grid .text-link {
    font-size: 0.9rem;
  }
  .system-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .system-grid h3 {
    font-size: 1.4rem;
  }
  .system-grid article {
    border-bottom: 1px solid var(--line);
    padding-bottom: 16px;
  }
  .system-grid .camera-choice {
    border: 0;
  }
  .editorial-split,
  .guide-intro,
  .two-columns {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 38px 24px;
  }
  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }
  .footer-grid h2 {
    font-size: 0.84rem;
  }
  .footer-grid .small {
    margin-top: 14px;
  }
  .page-heading h1 {
    font-size: 2.45rem;
    line-height: 1.12;
    overflow-wrap: anywhere;
  }
  .page-heading {
    padding-block: 35px 15px;
  }
  .page-heading .intro {
    font-size: 1.06rem;
  }
  .profile-layout {
    gap: 30px;
  }
  .profile-summary h2 {
    font-size: 1.9rem;
  }
  .spec-panel {
    padding: 25px 20px;
  }
  .specs {
    grid-template-columns: 1fr;
  }
  .product-row {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-block: 24px;
  }
  .range-mark {
    display: flex;
    gap: 20px;
    align-items: center;
    padding-left: 12px;
  }
  .range-mark i {
    display: none;
  }
  .range-mark small {
    margin: 0;
  }
  .range-mark > span {
    font-size: 1.3rem;
  }
  .product-row h3 {
    font-size: 1.3rem;
  }
  .decision-heading {
    font-size: 24px;
  }
  .row-actions {
    gap: 10px 18px;
  }
  .field-pair {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .tool-layout {
    padding-top: 18px;
  }
  .result-head h2 {
    font-size: 2.15rem;
  }
  .part-states {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .action-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .action-grid .button {
    font-size: 0.9rem;
    padding: 10px;
  }
  .prose {
    margin-left: 20px;
  }
  .guide-path > h3 {
    font-size: 1.6rem;
  }
  .context-links {
    gap: 10px 20px;
  }
  .table-scroll {
    margin-top: 24px;
  }
  h2 {
    font-size: 2rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.kit-rail {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 2px solid var(--green);
}
.kit-rail h3 {
  font-size: 1.2rem;
}
.kit-rail p {
  font-size: 0.94rem;
}
.kit-rail summary {
  font-size: 1.12rem;
}
.kit-rail .rail-mass {
  font:
    2.1rem Georgia,
    serif;
  color: var(--green);
}
@media (min-width: 801px) {
  .kit-rail summary {
    list-style: none;
    pointer-events: none;
  }
}

.header-inner nav a,
.header-inner nav .nav-cta {
  font-size: 16px;
}
.range-mark > span {
  white-space: nowrap;
}

/* Completion surfaces retain the committed paper/green identity. */
@layer components {
  h1,
  h2,
  h3 {
    text-wrap: balance;
  }
  p {
    text-wrap: pretty;
  }
  .page-heading .intro {
    max-width: 72ch;
  }
  .comparison-workspace {
    padding-bottom: 3rem;
  }
  .compare-controls {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem 1.5rem;
    margin-block: 1rem;
  }
  .compare-controls label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 44px;
  }
  .compare-controls input {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    accent-color: var(--green);
  }
  #compare-form fieldset {
    border: 0;
    padding: 0;
    margin: 0;
  }
  #compare-form legend {
    font-weight: 600;
  }
  .definition-drawer {
    border-block: 1px solid var(--line);
    padding-block: 1rem;
    margin-bottom: 1.5rem;
  }
  .definition-drawer p {
    max-width: 72ch;
    margin-top: 1rem;
  }
  .camera-matrix {
    table-layout: fixed;
    width: 100%;
    min-width: 850px;
  }
  .camera-matrix th,
  .camera-matrix td {
    vertical-align: top;
    white-space: normal;
    width: 230px;
    padding: 1.1rem;
    overflow-wrap: anywhere;
  }
  .camera-matrix thead th {
    background: var(--wash);
  }
  .camera-matrix tbody th {
    font-size: 1rem;
    background: var(--white);
  }
  .camera-matrix small {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.55;
    margin-top: 0.6rem;
    color: var(--muted);
  }
  .fact-source {
    display: block;
    font-size: 0.8rem;
    line-height: 1.5;
    margin-top: 0.5rem;
    color: var(--muted);
  }
  .comparison-links {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
  }
  .feature-note {
    font-size: 0.92rem;
    border-block-start: 1px solid var(--line);
    padding-top: 0.65rem;
    margin-block: 0.75rem;
  }
  .feature-note p {
    margin-bottom: 0.6rem;
  }
  .camera-matrix .feature-note {
    font-size: 0.82rem;
  }
  .decision-flow {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin-block: 2rem;
    counter-reset: step;
  }
  .decision-flow li {
    flex: 1;
    min-width: 0;
    border-block-start: 2px solid var(--green);
    padding-top: 1rem;
    counter-increment: step;
  }
  .decision-flow strong:before {
    content: counter(step) ". ";
    font-variant-numeric: tabular-nums;
  }
  .decision-flow span {
    display: block;
    font-size: 0.92rem;
    margin-top: 0.5rem;
  }
  .status-diagram {
    margin-block: 2rem;
    padding: 1.5rem;
    background: var(--wash);
  }
  .status-diagram ul {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 1rem;
  }
  .status-diagram li {
    padding-block: 1rem;
    border-top: 1px solid var(--line);
  }
  .status-diagram span {
    display: block;
  }
  .pair-evidence {
    border-bottom: 1px solid var(--line);
    padding-block: 1.2rem;
    max-width: 80ch;
  }
  .pair-evidence h4 {
    font-size: 1.1rem;
    margin: 0;
  }
  .setup-jump {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    margin-block: 1.5rem;
  }
  .setup-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem 3rem;
  }
  .setup-facts div {
    border-top: 1px solid var(--line);
    padding-top: 1rem;
  }
  .setup-facts dt {
    font-weight: 600;
    margin-bottom: 0.5rem;
  }
  .setup-facts dd {
    margin: 0;
    max-width: 70ch;
  }
  .setup-body {
    scroll-margin-top: 2rem;
    border-top: 1px solid var(--line);
  }
  .framing-diagram {
    padding: 1.5rem;
    background: var(--wash);
    font:
      1rem/1.4 system-ui,
      sans-serif;
  }
  .framing-diagram span {
    display: block;
    padding: 0.4rem;
  }
  .framing-diagram p {
    font-size: 0.82rem;
    margin: 1rem 0 0;
  }
  .frame-wide {
    aspect-ratio: 1.5;
    border: 2px solid var(--green);
    position: relative;
  }
  .frame-everyday {
    position: absolute;
    inset: 22% 16% 12%;
    border: 2px solid var(--green);
  }
  .frame-detail {
    position: absolute;
    inset: 40% 20% 10%;
    border: 2px solid var(--green);
  }
  .frame-detail span {
    font-size: 0.85rem;
  }
  button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
  }
  @media (max-width: 1000px) {
    .compare-controls {
      grid-template-columns: 1fr 1fr;
    }
    .header-inner {
      flex-wrap: wrap;
    }
    .site-header nav {
      flex-wrap: wrap;
    }
  }
  @media (max-width: 600px) {
    .compare-controls {
      grid-template-columns: 1fr;
    }
    .setup-facts {
      grid-template-columns: 1fr;
    }
    .decision-flow {
      flex-direction: column;
      gap: 1rem;
    }
    .framing-diagram {
      padding: 1rem;
    }
    .framing-diagram span {
      font-size: 0.85rem;
    }
    .site-header nav {
      gap: 0.8rem;
    }
    .site-header nav a {
      font-size: 16px;
    }
    .camera-matrix {
      min-width: 850px;
    }
    .page-heading h1 {
      font-size: 2.5rem;
    }
  }
}
@media print {
  .site-header,
  footer,
  .skip,
  #print-checklist,
  .setup-jump,
  #compare-form,
  .definition-drawer {
    display: none !important;
  }
  body {
    font-size: 10pt;
    color: #000;
    background: #fff;
  }
  .wrap {
    width: 100%;
    max-width: none;
    padding-inline: 0;
  }
  .page-heading {
    padding-block: 0;
  }
  .page-heading h1 {
    font-size: 22pt;
  }
  .section {
    padding-block: 12pt;
  }
  .table-scroll {
    overflow: visible !important;
  }
  table {
    min-width: 0 !important;
    width: 100% !important;
    font-size: 9pt;
  }
  th,
  td {
    padding: 5pt !important;
    overflow-wrap: anywhere;
  }
  tr,
  .setup-facts div {
    break-inside: avoid;
  }
  .setup-body {
    break-before: page;
  }
  .setup-facts {
    grid-template-columns: 1fr;
  }
  .decision-flow {
    display: flex;
    flex-direction: row;
  }
  .fact-source {
    font-size: 8pt;
  }
}

/* Four-column checklist must not inherit the two-body comparison widths. */
.print-overview table {
  table-layout: fixed;
  min-width: 760px;
}
.print-overview th,
.print-overview td {
  width: 25%;
}
@media print {
  .print-overview table {
    min-width: 0;
  }
}

@media print {
  .decision-flow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12pt;
    width: 100%;
    padding: 0;
    margin-inline: 0;
    list-style: none;
  }
  .decision-flow li {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .setup-details + section {
    break-before: page;
  }
  h2 {
    break-after: avoid;
  }
}

@media print {
  html {
    background: #fff;
  }
  .wrap {
    margin-inline: 0 !important;
  }
}
@media print {
  .decision-flow {
    margin-block: 12pt;
  }
  .page-heading .intro {
    font-size: 12pt;
    line-height: 1.5;
  }
  .print-overview h2 {
    margin: 0 0 10pt;
  }
  .print-overview .table-scroll {
    margin-top: 0;
  }
}

.product-photo[hidden] {
  display: none;
}
.product-photo {
  margin: 0 0 24px;
  max-width: 320px;
}
.product-photo a {
  display: block;
}
.product-photo img {
  display: block;
  object-fit: contain;
  width: 100%;
  height: 220px;
  background: #fff;
}
.product-photo span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
}

/* Current Amazon images take precedence; missing/expired images reveal the editorial fallback. */
.product-photo:not([hidden]) + .editorial-photo { display: none; }
.editorial-photo { margin-left: 0; margin-right: 0; }
.editorial-photo img { height: auto; max-height: 320px; background: transparent; }
.editorial-photo figcaption { margin-top: 8px; font-size: 14px; line-height: 1.5; }
.editorial-photo .photo-credit { font-size: 13px; line-height: 1.5; }
.editorial-photo a { display: inline; }

/* Preserve discovery routes beside the primary task on phones. */
.mobile-navigation, .mobile-kit-link { display: none; }
@media (max-width: 600px) {
  .site-header .header-inner { flex-wrap: nowrap; gap: 12px; }
  .site-header .header-inner > nav { display: none; }
  .site-header .mobile-kit-link { display: flex; align-items: center; min-height: 44px; margin-left: auto; font-size: 14px; font-weight: 700; white-space: nowrap; }
  .mobile-navigation { display: block; position: relative; }
  .mobile-navigation summary { display: flex; align-items: center; cursor: pointer; min-height: 44px; padding: 8px; border: 1px solid #87958a; border-radius: 3px; font-size: 16px; list-style: none; }
  .mobile-navigation summary::-webkit-details-marker { display: none; }
  .mobile-navigation[open] summary { background: #e8ecdf; }
  .site-header .mobile-navigation nav { position: absolute; right: 0; top: calc(100% + 12px); z-index: 10; display: flex; flex-direction: column; align-items: stretch; gap: 0; width: min(280px, calc(100vw - 40px)); padding: 12px 18px; background: #f5f3ec; border: 1px solid #87958a; }
  .site-header .mobile-navigation nav a { display: flex; align-items: center; min-height: 44px; padding: 12px 0; font-size: 16px; }
}

/* Release pass 2026-09-12. The kit's tap-target gate needs a browser, so earlier
   passes ran static-only and never measured this. At 390px the brand, the footer,
   the context links and the profile links were all under the 44px floor. */
.brand,
footer a,
.context-links a,
.carry-context,
.text-link,
.profile-summary a,
.result-section a,
.setup-jump a,
.section-heading a,
nav a,
article h3 a,
.lens-order label {
  display: inline-flex;
  align-items: center;
  min-height: 45px;
  min-width: 45px;
}
/* Source citations sit inside a <small> the checker does not treat as prose, so
   they are given a real touch box rather than being exempted. */
.fact-source a,
h4 a,
.comparison-links a,
/* Attribution links are short by nature (a photographer's handle, a licence code),
   so they get the floor in both directions with room to breathe. */
.photo-credit a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  min-width: 45px;
  padding-inline: 4px;
}
.prose p a,
.prose li a,
td a,
th a,
figcaption a,
.small a,
dd a {
  display: inline;
  min-height: 0;
}
.buy-box {
  border: 1px solid #cfd6cd;
  border-radius: 8px;
  background: #fffefa;
  padding: 18px 20px;
  margin: 18px 0;
}
.buy-box .buy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.buy-disclosure {
  border-left: 3px solid #215548;
  padding-left: 12px;
  margin: 0 0 14px;
  font-size: 14px;
  color: #4a544c;
  max-width: 70ch;
}
.footer-disclosure {
  max-width: 60ch;
}
.lens-order {
  margin: 12px 0 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
}
.lens-order select {
  min-height: 44px;
}
.tool-scope {
  max-width: 72ch;
  color: #4a544c;
}
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 44px;
  height: 44px;
  margin: 0;
  border: 0;
  background: none;
  display: grid;
  place-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
input[type="checkbox"]::before {
  content: "";
  width: 20px;
  height: 20px;
  border: 1px solid #6a7a6d;
  border-radius: 3px;
  background: #fff;
  display: block;
}
input[type="checkbox"]:checked::before {
  background: #215548;
  border-color: #215548;
  box-shadow: inset 0 0 0 3px #fff;
}
input[type="checkbox"]:focus-visible {
  outline: 2px solid #222b25;
  outline-offset: 2px;
}
