/* Copyright © 2026 Applied Software Group LLC. All rights reserved. */
/* The one stylesheet of the site. Sections: the base and the header of every page; the
   public pages (the front door, the sign-in forms, the messages) and the specification; the
   dialog; then the catalog page, the "My lists" page and the user guide, each scoped to its
   page by the body's class. The page sections are carried over from the Python site's pages
   on 2026-10-12, with the same selectors, so that the scripts need no change. */

/* ----- the base and the header of every page ----- */
:root { --ink: #1f2328; --muted: #6b7280; --line: #e5e7eb; --accent: #2f4f4f; --bg: #fafaf8; --picture: #f4f4f2; --brand: #C95D32; --header-h: 92px; }
* { box-sizing: border-box; }
[hidden] { display: none !important; } /* the hidden attribute wins over any display rule */
/* While a window covers the whole screen (an item's details, a catalog page or a picture on the
   whole screen, the "My lists" page's picture), the page behind is frozen: only the window
   scrolls, and the page's own scroll bar is not shown beside the window's (the owner,
   2026-10-14: "why there are two vertical scroll bars on this page?"). */
html:has(.details.open), html:has(.pageviewer.open), html:has(.lightbox.open) { overflow: hidden; }
body { margin: 0; font: 15px/1.45 -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--ink); background: var(--bg); }
/* The bar: the logo, the menu and, apart, the account; the logo 64 pixels tall, its lettering
   on the row's middle line with the menu words, the e-mail and the button (the owner, 2026-10-10). */
header.bar { position: sticky; top: 0; z-index: 5; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06); padding: 12px 24px 14px; }
.titles { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.titles .logo { margin: 0; }
.titles .logo a { display: block; text-decoration: none; }
.titles .logo img { display: block; height: 64px; width: auto; position: relative; top: -3px; }
.titles .menu { display: inline-flex; gap: 16px; margin-left: 6px; padding-left: 22px; border-left: 1px solid var(--line); }
.titles .menu a { color: var(--accent); text-decoration: none; font-size: 14px; font-weight: 500; padding: 4px 0 2px; border-bottom: 2px solid transparent; }
.titles .menu a.current { color: var(--ink); font-weight: 600; border-bottom-color: var(--accent); }
/* The menu's Catalog button and its two ways into the catalog (the owner's idea of 2026-10-20):
   the button in the menu words' look, the two links in a small panel under it. The selectors
   outweigh the rule that makes every button orange. */
.titles .menu .menu-group { position: relative; display: inline-flex; }
header.bar .titles .menu button.menu-button { display: inline-flex; align-items: center; gap: 4px; margin: 0; padding: 4px 0 2px; background: none; border: 0; border-bottom: 2px solid transparent; border-radius: 0; color: var(--accent); font-size: 14px; font-weight: 500; cursor: pointer; }
header.bar .titles .menu button.menu-button.current { color: var(--ink); font-weight: 600; border-bottom-color: var(--accent); }
header.bar .titles .menu button.menu-button .chevron { transition: transform 0.15s; }
header.bar .titles .menu .menu-group.open button.menu-button .chevron { transform: rotate(180deg); }
.titles .menu .menu-panel { display: none; position: absolute; top: 100%; left: -12px; z-index: 6; min-width: 230px; margin-top: 8px; padding: 6px 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1); }
.titles .menu .menu-group.open .menu-panel { display: flex; flex-direction: column; }
.titles .menu .menu-panel a { padding: 8px 14px; border-bottom: 0; white-space: nowrap; }
.titles .menu .menu-panel a:hover, .titles .menu .menu-panel a:focus-visible { background: var(--picture); }
.titles .menu .menu-panel a.current { border-bottom: 0; }
.titles .account { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; }
form.inline { display: inline; }
/* The cookie bar of Google Analytics (2026-10-21): a fixed band at the bottom of the window,
   the text and the two buttons on one line on a computer and one under the other on a phone. */
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 24px; padding: 12px 24px; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.06); font-size: 14px; }
.cookie-bar p { margin: 0; max-width: 720px; }
.cookie-bar a { color: var(--brand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.cookie-bar .cookie-actions { white-space: nowrap; }

/* The footer stands at the bottom of the window on every page, also when the page is
   shorter than the window (the owner's review of 2026-10-14): the body a column, the
   footer pushed down, the page's own container keeping its full width. */
body { min-height: 100vh; display: flex; flex-direction: column; }
body > main, body > .guide { width: 100%; }
.site-footer { margin-top: auto; }
/* The footer of every page (the owner's design of 2026-10-14, redesigned on 2026-10-26): two
   centered lines. The first, the links a visitor clicks in the public pages' link style, parted
   by a middle dot, and after a wider gap the site's accounts as small grey icons, orange on
   hover; the second smaller and lighter, who runs the site and who made it. On a phone the icons
   take a row of their own under the two links, and the second line's parts stand one under the
   other. */
.site-footer { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 24px 18px; background: #fff; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; text-align: center; }
.site-footer .footer-links, .site-footer .footer-info { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; row-gap: 6px; }
.site-footer .footer-links > span + span::before, .site-footer .footer-info > span + span::before { content: "·"; margin: 0 10px; }
.site-footer .footer-links > span.social::before { content: none; }
.site-footer .footer-info { font-size: 12px; color: var(--muted); }
.site-footer a { color: var(--brand); font-weight: 400; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.site-footer a:hover, .site-footer a:focus-visible { color: #9e4522; }
.site-footer .footer-info a { color: var(--muted); }
.site-footer .footer-info a:hover, .site-footer .footer-info a:focus-visible { color: var(--brand); }
/* The site's own accounts (2026-10-26): two small grey icons side by side, orange on hover. */
.site-footer .social { display: inline-flex; align-items: center; gap: 14px; margin-left: 22px; }
.site-footer a.social-link { display: inline-flex; line-height: 0; color: var(--muted); text-decoration: none; }
.site-footer a.social-link:hover, .site-footer a.social-link:focus-visible { color: var(--brand); }
/* Text for a screen reader alone (the footer's "opens in a new tab"). */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 760px) {
  .site-footer { padding: 14px 16px 16px; }
  .site-footer .social { flex-basis: 100%; justify-content: center; margin: 4px 0 0; }
  .site-footer .footer-info { flex-direction: column; }
  .site-footer .footer-info > span + span::before { content: none; }
}
/* The buttons of the bar on a phone (the menu button, the catalog's search icon); none on a
   wider screen. The selectors outweigh a page's own button rules. */
.bar-actions { display: none; }
header.bar button.bar-icon { display: inline-flex; align-items: center; justify-content: center; padding: 8px; margin: 0; background: #fff; color: var(--accent); border: 1px solid var(--line); border-radius: 8px; line-height: 0; cursor: pointer; }
header.bar button.bar-icon[aria-expanded="true"] { border-color: var(--accent); }
/* A phone (the owner's decision of 2026-10-14): a small logo and one menu button; the menu and
   the account open under the bar as a list. */
@media (max-width: 760px) {
  header.bar { padding: 8px 16px; }
  .titles { gap: 8px; }
  .titles .logo img { height: 40px; top: 0; }
  .bar-actions { display: flex; gap: 8px; margin-left: auto; }
  .titles .menu, .titles .account { display: none; }
  header.bar.menu-open .titles .menu { display: flex; flex-direction: column; gap: 0; width: 100%; margin: 4px 0 0; padding: 4px 0 0; border-left: none; border-top: 1px solid var(--line); }
  header.bar.menu-open .titles .menu a { font-size: 16px; padding: 10px 0; border-bottom: none; }
  header.bar.menu-open .titles .menu a.current { color: var(--brand); }
  /* The catalog's two ways in stand in the menu's list on a phone, without the button. */
  header.bar .titles .menu button.menu-button { display: none; }
  header.bar.menu-open .titles .menu .menu-group { display: flex; flex-direction: column; }
  header.bar.menu-open .titles .menu .menu-panel { display: flex; flex-direction: column; position: static; min-width: 0; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
  header.bar.menu-open .titles .menu .menu-panel a { padding: 10px 0; white-space: normal; }
  header.bar.menu-open .titles .menu .menu-panel a:hover { background: none; }
  header.bar.menu-open .titles .account { display: flex; width: 100%; margin-left: 0; justify-content: space-between; padding: 10px 0 4px; border-top: 1px solid var(--line); font-size: 14px; }
}
/* Every action button is orange (the owner, 2026-10-14: "action buttons not green - orange"):
   the main ones solid, the secondary ones white with an orange border and text; the
   destructive ones keep their red. The header's Sign out keeps the menu's colour. */
button { padding: 10px 18px; font: inherit; font-size: 15px; border: 1px solid var(--brand); background: var(--brand); color: #fff; border-radius: 6px; cursor: pointer; }
button.secondary { background: #fff; color: var(--brand); }
header.bar .account button.secondary { color: var(--accent); border-color: var(--accent); }

button.small { padding: 6px 12px; font-size: 13px; margin: 0; }
button:disabled { opacity: 0.6; cursor: wait; }

/* ----- the landing pages: the About Us home page and the Contact Us page (the owner's layout
   of 2026-10-13): the whole width, an opening section with the chair, three blocks ----- */
body.page-landing main { max-width: 1100px; margin: 0 auto; padding: 40px 24px 64px; }
body.page-landing .hero { display: flex; align-items: center; justify-content: flex-start; gap: 48px; padding: 24px 0 40px; border-bottom: 1px solid var(--line); }
body.page-landing .hero-text { flex: 1 1 520px; max-width: 660px; }
body.page-landing .hero h1 { font-size: 44px; line-height: 1.15; margin: 0 0 14px; letter-spacing: -0.01em; }
body.page-landing .hero p { font-size: 17px; line-height: 1.6; margin: 10px 0; }
body.page-landing .hero .lead { font-size: 21px; font-weight: 600; color: var(--brand); }
/* The About page's first line is its heading (the owner's text of 2026-10-14): large, in the logo's orange. */
/* Every page's orange title at one size, 24 px, 20 px on a phone (the owner, 2026-10-14:
   "decrease the font of the title (all pages)"). */
body.page-landing .hero h1.lead { font-size: 24px; line-height: 1.2; margin: 0 0 14px; }
body.page-landing .hero-mark { flex: 0 0 auto; width: 280px; height: auto; }
/* Every link in a public page's content, one style (the owner, 2026-10-14: "too heavy"): the logo's
   orange in normal weight, a thin underline set below the text, darker on hover. */
body.page-landing main a { color: var(--brand); font-weight: 400; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
body.page-landing main a:hover, body.page-landing main a:focus-visible { color: #9e4522; }
body.page-landing .blocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 40px 0; }
body.page-landing .blocks p { margin: 0; padding-top: 16px; border-top: 3px solid var(--brand); font-size: 16px; line-height: 1.6; }
/* The company's details under the Contact page's form (the owner, 2026-10-14): plain text,
   centered, in the muted ink, one line a value; set close under the card, so that the page
   keeps fitting the window without a scroll bar. */
body.page-landing .company-details { display: flex; flex-direction: column; align-items: center; margin: -8px auto 0; padding: 0 16px 16px; font-style: normal; font-size: 15px; line-height: 1.5; color: var(--muted); text-align: center; }
body.page-landing .company-details .company-name { font-weight: 600; }
body.page-landing .contact-form { max-width: 560px; padding-top: 32px; }
body.page-landing label { display: block; font-size: 13px; color: var(--muted); margin: 14px 0 4px; }
body.page-landing input[type=email], body.page-landing textarea { width: 100%; padding: 10px 12px; font: inherit; font-size: 16px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
body.page-landing textarea { resize: vertical; line-height: 1.5; }
body.page-landing form button { margin-top: 16px; }
body.page-landing .trap { position: absolute; left: -9999px; }
/* The About page (the owner's review of 2026-10-14): the page fills the window; a white band
   with the chair and the two lines centered as one group; the blocks as white cards with the
   orange line along their top. */
body.page-landing { min-height: 100vh; display: flex; flex-direction: column; }
body.page-landing main { width: 100%; }
/* The About page (rewritten 2026-10-21): the band, the three cards, "How it works" and "Who we
   are" at their own height, the footer after them; the chair sized to the text beside it. */
body.page-landing main.about { max-width: none; margin: 0; padding: 0 0 24px; display: flex; flex-direction: column; }
body.page-landing main.about .hero { display: block; background: #fff; border-bottom: 1px solid var(--line); padding: 56px 24px; }
body.page-landing main.about .hero-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 40px; }
body.page-landing main.about .hero-mark { width: 180px; }
body.page-landing main.about .hero-text { flex: 0 1 auto; max-width: 620px; }
body.page-landing main.about .hero h1.lead { font-size: 24px; line-height: 1.2; margin: 0 0 12px; }
body.page-landing main.about .hero p { font-size: 17px; line-height: 1.6; margin: 0; }
body.page-landing main.about .hero p.ways { margin-top: 14px; font-size: 16px; }
body.page-landing main.about .blocks { max-width: 1100px; width: 100%; margin: 0 auto; padding: 48px 24px; gap: 24px; }
body.page-landing main.about .blocks .card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: 8px; padding: 24px; }
body.page-landing main.about .blocks .card { display: flex; flex-direction: column; }
body.page-landing main.about .blocks .card h2 { margin: 0 0 10px; font-size: 18px; line-height: 1.3; color: var(--brand); }
body.page-landing main.about .blocks .card p { margin: 0; padding: 0; border: 0; font-size: 16px; line-height: 1.6; }
body.page-landing main.about .blocks .card p.card-link { margin-top: auto; padding-top: 14px; font-size: 15px; }
body.page-landing main.about .about-section { max-width: 1100px; width: 100%; margin: 0 auto; padding: 0 24px 32px; }
body.page-landing main.about .about-section h2 { margin: 0 0 10px; font-size: 20px; color: var(--brand); }
body.page-landing main.about .about-section .process-line { margin: 0; }
body.page-landing main.about .about-section p { margin: 0 0 8px; font-size: 16px; line-height: 1.6; }
/* The compact pages in the About page's style (the owner, 2026-10-14: the Contact page, then
   "fix all to look and feel uniformed": sign in, register, forgot, reset, the link-sent, message
   and error pages): a smaller chair and headline in the band, the content in a centered card,
   orange buttons, an empty footer band; no black page title. */
body.page-landing main.compact .hero-mark { width: 120px; }
/* The compact band is lower than the About page's, so that a form page fits a common window. */
body.page-landing main.compact .hero { padding: 32px 24px; }
body.page-landing main.compact .hero h1.lead { font-size: 24px; }
body.page-landing main.compact .hero p { margin: 6px 0 0; }
body.page-landing main.compact .form-wrap { max-width: 640px; width: 100%; margin: 0 auto; padding: 32px 24px; }
body.page-landing main.compact .form-wrap .card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: 8px; padding: 24px; }
body.page-landing main.compact .contact-form { max-width: none; padding-top: 0; }
body.page-landing main.compact .contact-form label:first-of-type { margin-top: 0; }
body.page-landing main.compact button { background: var(--brand); border-color: var(--brand); }
body.page-landing main.compact:not(.contact) .hero h1.lead { margin: 0; }
body.page-landing main.compact .form-wrap .card { max-width: 480px; margin: 0 auto; }
body.page-landing main.contact .form-wrap .card { max-width: none; }
body.page-landing main.compact .card p { font-size: 16px; line-height: 1.6; margin: 0 0 12px; }
body.page-landing main.compact .card form label:first-of-type { margin-top: 0; }
body.page-landing main.compact input[type=password], body.page-landing main.compact input[type=text]:not(.trap) { width: 100%; padding: 10px 12px; font: inherit; font-size: 16px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
body.page-landing main.compact .check { display: flex; align-items: center; gap: 8px; margin: 12px 0; color: var(--ink); font-size: 15px; }
/* The line of links under a form stands well apart from the button. */
body.page-landing main.compact .card p.links { margin: 28px 0 0; font-size: 15px; color: var(--muted); }
body.page-landing main.compact .error { color: #b3261e; margin: 12px 0 0; }
/* The password field's eye: inside the field's right end, showing and hiding the password. */
.password-field { position: relative; display: block; }
.password-field input { padding-right: 44px !important; }
body.page-landing main.compact .password-field .show-password { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); margin: 0; padding: 6px; background: transparent; border: 0; color: var(--muted); cursor: pointer; line-height: 0; }
body.page-landing main.compact .password-field .show-password:hover, body.page-landing main.compact .password-field .show-password:focus-visible { color: var(--brand); }
.password-field .eye-closed { display: none; }
.password-field .show-password.shown .eye-open { display: none; }
.password-field .show-password.shown .eye-closed { display: inline; }
/* A phone: the chair above the text, the blocks one under another. */
@media (max-width: 760px) {
  body.page-landing main { padding: 24px 16px 48px; }
  body.page-landing .hero { flex-direction: column; align-items: flex-start; gap: 20px; }
  body.page-landing .hero h1.lead { font-size: 20px; }
  body.page-landing main.about .hero { padding: 32px 16px; }
  body.page-landing main.about .hero-inner { flex-direction: column; text-align: center; gap: 20px; }
  body.page-landing main.about .hero-mark { width: 120px; }
  body.page-landing main.about .about-section { padding: 0 16px 28px; }
  body.page-landing main.about .hero h1.lead { font-size: 20px; }
  body.page-landing main.compact .hero-mark { width: 100px; }
  body.page-landing main.compact:not(.contact) .hero-mark { width: 90px; }
  body.page-landing main.compact .hero h1.lead { font-size: 20px; }
  body.page-landing main.compact .form-wrap { padding: 32px 16px; }
  body.page-landing main.about .blocks { padding: 32px 16px; }
  body.page-landing .hero h1 { font-size: 20px; }
  body.page-landing .hero-mark { width: 160px; }
  body.page-landing .blocks { grid-template-columns: 1fr; gap: 24px; }
}

/* ----- the band of "My lists" and of a specification (the owner, 2026-10-14): the public
   pages' white band with the small chair and the page's title in orange; on "My lists" the
   Create new list button stands at the band's right ----- */
body.page-lists > .hero, body.page-spec > .hero { background: #fff; border-bottom: 1px solid var(--line); padding: 24px; }
body.page-lists > .hero .hero-inner, body.page-spec > .hero .hero-inner { max-width: 1352px; margin: 0 auto; display: flex; align-items: center; gap: 24px; }
/* The band's content as wide as the card of the items under it, so their edges line up. */
body.page-spec > .hero .hero-inner { max-width: 1068px; }
body.page-lists > .hero .hero-mark, body.page-spec > .hero .hero-mark { flex: none; width: 72px; height: auto; }
body.page-lists > .hero .hero-text, body.page-spec > .hero .hero-text { flex: 1 1 auto; min-width: 0; }
body.page-lists > .hero h1.lead, body.page-spec > .hero h1.lead { margin: 0; font-size: 24px; font-weight: 600; color: var(--brand); }
body.page-lists > .hero .hero-text p, body.page-spec > .hero .hero-text p { margin: 4px 0 0; color: var(--muted); }
body.page-lists > .hero .hero-action { flex: none; }
@media (max-width: 760px) {
  body.page-lists > .hero, body.page-spec > .hero { padding: 16px; }
  body.page-lists > .hero .hero-inner, body.page-spec > .hero .hero-inner { gap: 14px; flex-wrap: wrap; }
  body.page-lists > .hero .hero-mark, body.page-spec > .hero .hero-mark { width: 52px; }
  body.page-lists > .hero h1.lead, body.page-spec > .hero h1.lead { font-size: 20px; }
}
/* A list's page: the band holds the list's way back, title, details, description and its two
   buttons at the right (the owner, 2026-10-14); on paper the band is the specification's
   heading, without the chair, the link and the buttons. */
body.page-spec .print-only { display: none; }
body.page-spec > .spec-band .hero-inner { align-items: flex-start; }
body.page-spec > .spec-band .hero-text a.back { display: inline-block; margin-bottom: 6px; font-size: 14px; }
body.page-spec > .spec-band .spec-meta { margin: 6px 0 0; }
body.page-spec > .spec-band .spec-description { margin: 4px 0 0; color: var(--ink); }
body.page-spec > .spec-band .spec-actions { flex: none; align-self: center; }
/* The band's buttons at the site's small size, on a list's page and on "My lists" (the owner,
   2026-10-14: "decrease the buttons"). */
body.page-spec > .spec-band .spec-actions button, body.page-lists > .hero .hero-action { padding: 6px 12px; font-size: 13px; }
@media print { body.page-spec > .spec-band { border: 0; padding: 0 0 12px; } body.page-spec .print-only { display: block; } }

/* ----- the public pages and the specification: one card in the middle ----- */
body.page-public main, body.page-spec main { max-width: 460px; margin: 40px auto; padding: 0 16px; }
body.page-public main.wide, body.page-spec main.wide { max-width: 1100px; }
body.page-public .card, body.page-spec .card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 24px; }
body.page-public h1, body.page-spec h1 { font-size: 22px; margin: 0 0 12px; }
body.page-public p, body.page-spec p { margin: 8px 0; }
body.page-public label { display: block; font-size: 13px; color: var(--muted); margin: 14px 0 4px; }
body.page-public input[type=email], body.page-public input[type=password], body.page-public input[type=text], body.page-public textarea { width: 100%; padding: 10px 12px; font: inherit; font-size: 16px; border: 1px solid var(--line); border-radius: 6px; }
body.page-public textarea { resize: vertical; line-height: 1.5; }
body.page-public input[readonly] { background: #f3f4f6; color: var(--muted); }
.titles .account a { color: var(--accent); text-decoration: none; font-size: 14px; font-weight: 500; }
body.page-public .check { display: flex; align-items: center; gap: 8px; margin: 12px 0; color: var(--ink); font-size: 15px; }
body.page-public form button { margin-top: 16px; }
/* The trap field of the registration form: out of sight for people, filled in by robots. */
body.page-public .trap { position: absolute; left: -9999px; }
.links { margin-top: 18px; font-size: 14px; }
/* The links in a page's content, signed in or not, in one style (the owner, 2026-10-14: the
   public pages' orange, normal weight, a thin underline set below the text). */
.links a, body.page-spec a.back, .help a, body.page-catalog .details .side p.reference a, body.page-lists .list .empty-note a { color: var(--brand); font-weight: 400; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.links a:hover, body.page-spec a.back:hover, .help a:hover, body.page-catalog .details .side p.reference a:hover, body.page-lists .list .empty-note a:hover { color: #9e4522; }
.error { color: #b3261e; margin: 12px 0 0; }
/* The Print button stays at the right while the list's name is in the band, on screen. */
body.page-spec .spec-item { padding: 16px 0; border-bottom: 1px solid var(--line); }
/* The picture and the heading stay together on paper; the facts and the prices run on
   (the owner's test 8.2 of 2026-10-03). */
body.page-spec .spec-top { display: grid; grid-template-columns: 220px 1fr; gap: 18px; align-items: start; margin: 0 0 10px; break-inside: avoid; break-after: avoid; }
body.page-spec .spec-item img { width: 100%; background: var(--picture); }
body.page-spec .spec-item .nopic { padding: 24px 12px; text-align: center; color: var(--muted); font-size: 13px; background: var(--picture); }
body.page-spec .spec-item h2 { margin: 0 0 6px; font-size: 17px; color: var(--brand); }
body.page-spec .spec-item dl { margin: 0; display: grid; grid-template-columns: 130px 1fr; gap: 3px 10px; font-size: 14px; }
body.page-spec .spec-item dt { color: var(--muted); }
body.page-spec .spec-item dd { margin: 0; }
body.page-spec .spec-source { margin: 2px 0; color: var(--muted); }
body.page-spec .spec-prices { margin: 0 0 6px; padding-left: 18px; }
/* The list's page as the place where the list is managed (the owner, 2026-10-14): its
   details, Print and Send at the top, each item's notes in a box with Save notes and Remove,
   the picture opening the catalog page; on paper the notes as text and no button. */
body.page-spec .spec-actions { display: flex; gap: 8px; margin-left: auto; }
body.page-spec .spec-meta { color: var(--muted); font-size: 14px; }
body.page-spec .status.warning { color: #b45309; }
body.page-spec .status.warning::before { content: "A0  "; }
body.page-spec .empty-note { color: var(--muted); }
body.page-spec .empty-note a { color: var(--brand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
body.page-spec .spec-item textarea.notes { display: block; width: 100%; box-sizing: border-box; font: inherit; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; }
body.page-spec .item-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
body.page-spec .item-actions .remove-item { margin-left: auto; }
body.page-spec button.danger { border-color: #b3261e; color: #b3261e; background: #fff; }
body.page-spec .item-actions .error { color: #b45309; font-size: 13px; }
body.page-spec img.opens-page { cursor: pointer; }
body.page-spec .lightbox { position: fixed; inset: 0; background: rgba(20, 20, 20, 0.92); display: none; z-index: 10; overflow: auto; }
body.page-spec .lightbox.open { display: block; }
body.page-spec .lightbox img { display: block; margin: 0 auto; max-width: 100%; height: 100vh; object-fit: contain; cursor: zoom-in; }
body.page-spec .lightbox img.zoomed { max-width: none; height: auto; cursor: zoom-out; }
body.page-spec .lightbox .close { position: fixed; top: 12px; right: 12px; }
@media print { body.page-spec .print-hidden { display: none; } }
@media print { header.bar, .site-footer, .no-print { display: none !important; } body.page-spec main { margin: 0; max-width: none; } body.page-spec .card { border: 0; padding: 0; } body { background: #fff; } }

/* ----- the site's dialog, for every notification and confirmation ----- */
dialog#site-dialog { border: 1px solid var(--line); border-radius: 10px; padding: 20px 22px; width: 92%; max-width: 460px; color: var(--ink); font: 15px/1.45 -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
dialog#site-dialog::backdrop { background: rgba(20, 20, 20, 0.5); }
dialog#site-dialog h3 { margin: 0 0 6px; font-size: 16px; }
dialog#site-dialog p { margin: 0 0 14px; white-space: pre-wrap; }
dialog#site-dialog .buttons { display: flex; gap: 8px; justify-content: flex-end; }
/* The save dialog (the shared partial _SaveDialog.cshtml), on every page that saves an item:
   the catalog, a brand's, a kind's and a product's page (2026-10-20). */
dialog#save-dialog { border: 1px solid var(--line); border-radius: 10px; padding: 20px 22px; width: 92%; max-width: 460px; color: var(--ink); font: 15px/1.45 -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
dialog#save-dialog::backdrop { background: rgba(20, 20, 20, 0.5); }
dialog#save-dialog h3 { margin: 0 0 6px; font-size: 16px; }
dialog#save-dialog .target { color: var(--muted); font-size: 13px; margin: 0 0 6px; }
dialog#save-dialog label { display: block; font-size: 12px; color: var(--muted); margin: 10px 0 4px; }
dialog#save-dialog input, dialog#save-dialog select, dialog#save-dialog textarea { width: 100%; padding: 8px 10px; font: inherit; font-size: 14px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
dialog#save-dialog .error { color: #b3261e; font-size: 13px; min-height: 18px; margin: 8px 0 0; }
dialog#save-dialog .buttons { display: flex; gap: 8px; margin-top: 12px; }

/* ----- the catalog page ----- */
  body.page-catalog { margin: 0; font: 15px/1.45 -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--ink); background: var(--bg); }
  body.page-catalog form.inline { display: inline; }
  body.page-catalog button.small { padding: 5px 10px; font-size: 13px; }
  /* The search row sits under the navigation row, parted by a hairline (the design approved on 2026-09-29). */
  /* The search box, the three boxes and the Search button share one middle line (the owner's
     instruction of 2026-10-10); the boxes' captions stand above them and take no part in it,
     so the row leaves room above for them, also when it wraps on a narrow screen. */
  body.page-catalog form.query { display: flex; column-gap: 12px; row-gap: 28px; align-items: center; flex-wrap: wrap; margin-top: 10px; padding-top: 26px; border-top: 1px solid var(--line); }
  body.page-catalog .field.picker > span:first-child { position: absolute; left: 0; bottom: 100%; margin-bottom: 4px; white-space: nowrap; }
  body.page-catalog .field { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); }
  body.page-catalog .field.grow { flex: 1 1 420px; }
  /* The search box is a multi-line text area, sized like AIChatPlacement's message box. */
  body.page-catalog .field textarea { display: block; width: 100%; padding: 16px 44px 16px 14px; font: inherit; font-size: 16px; line-height: 1.5; border: 1px solid var(--line); border-radius: 10px; min-height: 56px; resize: vertical; overflow-y: auto; background: #fff; color: var(--ink); }
  body.page-catalog .field textarea:focus { outline: none; border-color: #378ADD; box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.15); }
  body.page-catalog .field textarea:disabled { background: #f8f9fa; }
  /* The × at the right end of the box empties it (one Search button, the owner's decision of 2026-10-08). */
  body.page-catalog .clear-box { position: absolute; top: 12px; right: 10px; width: 32px; height: 32px; padding: 0; border: none; border-radius: 50%; background: transparent; color: var(--muted); font-size: 24px; line-height: 32px; text-align: center; cursor: pointer; }
  body.page-catalog .clear-box:hover { background: #f3f4f6; color: var(--ink); }
  /* While a search runs, the indicator of AIChatPlacement, the pulsing star with its text,
     sits at the right end of the box; the typed words stay visible on the left. */
  body.page-catalog .box { position: relative; display: block; }
  body.page-catalog .busy { display: flex; align-items: center; position: absolute; top: 0; bottom: 0; right: 0; padding: 0 32px 0 20px; font-size: 16px; font-weight: 600; color: #042C53; background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff 20px); border-radius: 10px; animation: pulse 1.2s ease-in-out infinite; }
  body.page-catalog .busy::before { content: "✦"; display: inline-block; margin-right: 8px; font-size: 36px; color: #042C53; animation: blink 1s ease-in-out infinite; }
  @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
  @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }
  body.page-catalog .field select { padding: 10px; font-size: 15px; border: 1px solid var(--line); border-radius: 6px; background: #fff; min-width: 150px; }
  /* A box with several choices (the owner's design of 2026-10-08): a button naming the choices
     and, under it, a list with "All …" first and a tick beside each name. */
  body.page-catalog .picker { position: relative; }
  body.page-catalog .picker-button { padding: 10px; font-size: 15px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); min-width: 150px; max-width: 320px; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
  body.page-catalog .picker-button::after { content: " ▾"; color: var(--muted); }
  body.page-catalog .picker-button.set { border-color: var(--brand); }
  body.page-catalog .picker-list { position: absolute; top: 100%; left: 0; z-index: 30; min-width: 100%; max-height: 320px; overflow-y: auto; margin-top: 4px; padding: 6px 0; background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12); font-size: 14px; color: var(--ink); }
  body.page-catalog .picker-list label { display: flex; align-items: center; gap: 8px; padding: 6px 12px; white-space: nowrap; cursor: pointer; }
  body.page-catalog .picker-list label:hover { background: #f3f4f6; }
  body.page-catalog .picker-list label.picker-all { font-weight: 600; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
  body.page-catalog .buttons { display: flex; gap: 8px; }
  body.page-catalog button { padding: 10px 18px; font-size: 15px; border: 1px solid var(--brand); background: var(--brand); color: #fff; border-radius: 6px; cursor: pointer; }
  body.page-catalog button.secondary { background: #fff; color: var(--brand); }
  body.page-catalog button:disabled { opacity: 0.6; cursor: wait; }
  body.page-catalog main { padding: 16px 24px 60px; max-width: 1400px; margin: 0 auto; }
  /* The search area on a phone (the owner's decisions of 2026-10-14): it folds after a search,
     leaving the bar and the one-line summary, which opens it again; what the search gave
     stands above the results (moved there by the page's script). A wider screen never
     shows the summary and never folds. */
  header.bar button.search-summary { display: none; }
  @media (max-width: 760px) {
    header.bar.search-folded form.query { display: none; }
    header.bar.search-folded button.search-summary { display: block; width: 100%; margin: 6px 0 0; padding: 8px 0 2px; background: none; border: none; border-top: 1px solid var(--line); border-radius: 0; color: var(--ink); font-size: 14px; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
    body.page-catalog form.query { margin-top: 8px; padding-top: 24px; }
    body.page-catalog main { padding: 12px 16px 48px; }
    body.page-catalog main > .search-info { margin: 0 0 12px; }
  }
  /* The help block (the owner's design of 2026-10-15): as wide as its process line on a
     computer, the steps filling that width (the details take no width of their own); one
     left edge for the line, "See how" and the links; the steps indented by one circle; one
     even gap between the parts. */
  .help { width: fit-content; max-width: 100%; box-sizing: border-box; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 14px 18px; margin: 0 0 16px; }
  .help .process-line { margin: 0; flex-wrap: nowrap; white-space: nowrap; }
  @media (max-width: 760px) { .help .process-line { flex-wrap: wrap; white-space: normal; } }
  .help details { width: 0; min-width: 100%; }
  .help summary.see-how { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 3px 10px; border: 1px solid var(--brand); border-radius: 6px; background: #fff; color: var(--brand); font-size: 13px; line-height: 1.4; cursor: pointer; list-style: none; user-select: none; }
  .help summary.see-how::-webkit-details-marker { display: none; }
  .help summary.see-how:hover { background: #fbeee8; }
  .help summary.see-how .chevron { transition: transform .15s; }
  .help details[open] summary.see-how .chevron { transform: rotate(180deg); }
  .help ol.steps { list-style: none; counter-reset: step; margin: 12px 0 0; padding: 0 0 0 20px; }
  .help ol.steps li { counter-increment: step; position: relative; padding-left: 28px; text-wrap: pretty; color: #374151; font-size: 14px; line-height: 1.55; margin: 0 0 8px; }
  .help ol.steps li::before { content: counter(step); position: absolute; left: 0; top: 1px; }
  .help p.guide-link { margin: 0 0 8px; font-size: 14px; line-height: 1.55; color: #374151; }
  .help p.guide-link:first-of-type { margin-top: 12px; }
  .help p.guide-link:last-of-type { margin-bottom: 0; }
  /* The status of the results and, at the end of the line, the note on the index. */
  body.page-catalog .status-row { display: flex; gap: 16px; align-items: baseline; flex-wrap: wrap; margin: 10px 0 0; min-height: 18px; }
  body.page-catalog .status { color: var(--muted); font-size: 12px; }
  body.page-catalog .index-note { color: var(--muted); font-size: 12px; margin-left: auto; white-space: nowrap; }
  /* What went wrong or was left out looks like a warning, by its colour and its sign (the
     owner's instruction of 2026-10-08): the items a limit left out, what could not be applied,
     a search that found nothing or failed. */
  body.page-catalog .warnings { display: flex; flex-direction: column; gap: 3px; margin: 6px 0 0; font-size: 12px; }
  body.page-catalog .warning { color: #b45309; }
  body.page-catalog .warning::before { content: "⚠ "; }
  body.page-catalog .criteria dt.warning-label { color: #b45309; }
  /* The rate the dollars are worked out at, and how the prices are shown (the owner's
     decision of 2026-09-30: the rate at the top of the page, the explanation beside it). */
  body.page-catalog .rate-row { display: flex; gap: 12px; justify-content: flex-end; align-items: baseline; flex-wrap: wrap; color: var(--muted); font-size: 12px; margin: 4px 0 0; }
  body.page-catalog .rate-row details { max-width: 640px; }
  body.page-catalog .rate-row summary { cursor: pointer; }
  body.page-catalog .rate-row details p { margin: 6px 0 0; color: #374151; line-height: 1.5; }
  /* How the request was read and applied, one line a criterion (2026-10-03). */
  body.page-catalog .criteria { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 2px 12px; margin: 8px 0 0; padding: 8px 12px; background: #fff; border: 1px solid var(--line); border-radius: 8px; font-size: 12px; max-width: 900px; }
  body.page-catalog .criteria dt { color: var(--muted); }
  body.page-catalog .criteria dd { margin: 0; color: var(--ink); }
  /* The × that searches again without one criterion (2026-10-16). */
  body.page-catalog .criteria .drop-criterion { margin-left: 8px; padding: 0 6px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--muted); font: inherit; line-height: 1.4; cursor: pointer; }
  body.page-catalog .criteria .drop-criterion:hover { color: var(--brand); border-color: var(--brand); }
  /* The price lists' pages an answer cites, as their quoted lines. */
  body.page-catalog .answer-list { margin: 12px 0 0; padding: 8px 12px; border-left: 3px solid var(--line); white-space: pre-wrap; font-size: 13px; color: #374151; }
  body.page-catalog .answer-list .title { display: block; margin-bottom: 4px; }
  body.page-catalog .answer { white-space: pre-wrap; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; margin: 0 0 18px; }
  body.page-catalog .answer h2 { margin: 0 0 8px; font-size: 15px; color: var(--muted); font-weight: 600; }
  body.page-catalog .group { margin: 18px 0 6px; }
  body.page-catalog .group-title { font-size: 16px; margin: 0 0 2px; color: var(--brand); }
  body.page-catalog .group-reading { color: var(--muted); font-size: 12px; margin: 0 0 8px; }
  body.page-catalog .compare { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; margin: 12px 0; overflow-x: auto; }
  body.page-catalog .compare-note { margin: 0 0 12px; font-size: 14px; white-space: pre-wrap; }
  /* The products' names, the comparison's titles, in orange (2026-10-14). */
  body.page-catalog .compare-table tr:nth-child(2) td { color: var(--brand); font-weight: 600; }
  body.page-catalog .compare-table { border-collapse: collapse; font-size: 13px; min-width: 600px; }
  body.page-catalog .compare-table th { text-align: left; color: var(--muted); font-weight: 600; padding: 6px 10px 6px 0; vertical-align: top; white-space: nowrap; border-bottom: 1px solid var(--line); }
  body.page-catalog .compare-table td { padding: 6px 10px; vertical-align: top; border-bottom: 1px solid var(--line); cursor: pointer; max-width: 260px; }
  body.page-catalog .compare-pic img { width: 160px; height: 120px; object-fit: contain; background: #fff; display: block; }
  body.page-catalog .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
  /* A result is one item (the owner's decisions of 2026-10-01): its own picture, then its
     lines; the whole card opens its details, with the hand cursor of a clickable item. */
  body.page-catalog .card { background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; cursor: pointer; }
  body.page-catalog .card > img, body.page-catalog .card > .nopic { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; display: block; }
  body.page-catalog .nopic, body.page-catalog .card > .nopic { display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px; color: var(--muted); font-size: 13px; background: var(--picture); }
  body.page-catalog .card .body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 3px; }
  body.page-catalog .card .row { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 2px; }
  body.page-catalog .title { font-weight: 600; font-size: 14px; }
  body.page-catalog .line { font-size: 13px; color: #374151; }
  /* The card's one sentence of the AI's description (2026-10-06), set apart from the facts. */
  body.page-catalog .card .line.summary { color: var(--muted); font-style: italic; margin-top: 4px; }
  body.page-catalog .muted { color: var(--muted); }
  body.page-catalog .more { display: flex; justify-content: center; margin: 22px 0 0; }
  body.page-catalog button.save { padding: 3px 9px; font-size: 12px; flex: none; }
  /* The details of an item: its large picture on the left, everything else on the right
     (the owner's points 5 and 6 of 2026-10-01). */
  body.page-catalog .details { position: fixed; inset: 0; background: rgba(20, 20, 20, 0.92); display: none; align-items: stretch; justify-content: center; z-index: 10; }
  body.page-catalog .details.open { display: flex; }
  body.page-catalog .details .panel { display: grid; grid-template-columns: minmax(0, 1fr) 420px; width: 100%; max-width: 1600px; }
  /* The left of the details: the main picture, its catalog page under it, and the gallery of
     all the item's pictures in a row at the bottom (the owner's point 2 of 2026-10-06). */
  body.page-catalog .details .frame { height: 100vh; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
  body.page-catalog .details .stage { flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; }
  body.page-catalog .details .stage img { width: 100%; height: 100%; object-fit: contain; display: block; cursor: zoom-in; }
  body.page-catalog .details .stage .nopic { width: 100%; height: 100%; font-size: 15px; }
  body.page-catalog .details .main-caption { flex: none; min-height: 16px; padding: 4px 12px; color: var(--muted); font-size: 12px; text-align: center; }
  body.page-catalog .details .thumbs { flex: none; display: flex; gap: 8px; overflow-x: auto; padding: 8px 12px 12px; background: #fff; border-top: 1px solid var(--line); }
  /* The small pictures stand centered under the large one; the auto margins centre them when
     they fit and leave the row's start in reach when it scrolls. */
  body.page-catalog .details .thumb:first-child { margin-left: auto; }
  body.page-catalog .details .thumb:last-child { margin-right: auto; }
  body.page-catalog .details .thumb { flex: none; width: 92px; padding: 2px; border: 2px solid transparent; border-radius: 6px; background: #fff; color: var(--muted); cursor: pointer; font: inherit; }
  body.page-catalog .details .thumb.current { border-color: var(--brand); }
  body.page-catalog .details .thumb img { width: 84px; height: 66px; object-fit: contain; display: block; }
  body.page-catalog .details .thumb span { display: block; padding-top: 2px; font-size: 11px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  body.page-catalog .details .side { background: #fff; padding: 18px; overflow: auto; }
  /* The panel's head (the owner's review of 2026-10-14): the name and the brand, and the ×
     in the panel's own corner, clear of its scroll bar; Save on its own line under them. */
  /* The head stays at the top of the panel while it scrolls, so that the × is always in reach. */
  body.page-catalog .details .side .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; position: sticky; top: -18px; z-index: 1; margin: -18px -18px 0; padding: 18px 18px 0; background: #fff; }
  body.page-catalog .details .side .heading { min-width: 0; }
  body.page-catalog .details button.close-x { flex: none; width: 36px; height: 36px; padding: 0; margin: -4px -4px 0 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--muted); font-size: 22px; line-height: 34px; text-align: center; cursor: pointer; }
  body.page-catalog .details button.close-x:hover, body.page-catalog .details button.close-x:focus-visible { color: var(--ink); border-color: var(--accent); }
  body.page-catalog .details .side .actions { margin: 0 0 10px; }
  body.page-catalog .details .side h3 { margin: 0 0 4px; font-size: 17px; color: var(--brand); }
  body.page-catalog .details .side .where { color: var(--muted); font-size: 13px; margin: 0 0 10px; }
  body.page-catalog .details .side dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 3px 12px; margin: 8px 0 0; font-size: 13px; }
  body.page-catalog .details .side dt { color: var(--muted); }
  body.page-catalog .details .side dd { margin: 0; }
  body.page-catalog .details .side .label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-top: 12px; }
  body.page-catalog .details .side p { margin: 3px 0 0; font-size: 13px; color: #374151; line-height: 1.5; }
  body.page-catalog .details .side h4 { margin: 20px 0 6px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
  body.page-catalog .details .side .hint { color: var(--muted); font-size: 12px; margin-top: 16px; }
  /* The code and the catalog pages, in a secondary line under the facts (2026-10-06). */
  body.page-catalog .details .side p.reference { color: var(--muted); font-size: 12px; margin: 10px 0 0; }
  /* The prices of an item, as its price list prints them, with the dollars beside them. */
  body.page-catalog .details .side table.prices { width: 100%; border-collapse: collapse; font-size: 13px; margin: 4px 0 0; }
  body.page-catalog .details .side table.prices th { text-align: left; font-weight: 600; color: var(--muted); font-size: 12px; padding: 2px 6px 2px 0; border-bottom: 1px solid var(--line); }
  body.page-catalog .details .side table.prices td { padding: 3px 6px 3px 0; border-bottom: 1px solid #f1f2f4; vertical-align: top; }
  body.page-catalog .details .side table.prices td.amount { white-space: nowrap; }
  body.page-catalog .details .side .list-note { color: var(--muted); font-size: 12px; margin: 4px 0 0; }
  /* The parts and options, and the finishes, each with its small picture and its lines. */
  body.page-catalog .linked { display: flex; flex-direction: column; gap: 10px; }
  body.page-catalog .linked-item { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 10px; align-items: start; }
  body.page-catalog .linked-item img, body.page-catalog .linked-item .nopic { width: 88px; height: 72px; object-fit: contain; background: #fff; border-radius: 4px; font-size: 11px; padding: 4px; }
  body.page-catalog .linked-item .nopic { background: var(--picture); }
  body.page-catalog .linked-item .line { font-size: 12px; }
  /* A whole catalog page, opened from an item's details: fitted to the screen, and at full
     size in a scrolling frame on a click, so that small captions can be read (2026-09-28). */
  body.page-catalog .pageviewer { position: fixed; inset: 0; background: rgba(20, 20, 20, 0.95); display: none; z-index: 20; }
  body.page-catalog .pageviewer.open { display: block; }
  body.page-catalog .pageviewer .frame { position: absolute; inset: 0; overflow: auto; }
  body.page-catalog .pageviewer img { display: block; margin: 0 auto; max-width: 100%; height: 100vh; object-fit: contain; cursor: zoom-in; }
  body.page-catalog .pageviewer img.zoomed { max-width: none; height: auto; cursor: zoom-out; }
  body.page-catalog .pageviewer .caption { position: fixed; left: 12px; bottom: 12px; color: #fff; font-size: 13px; background: rgba(0, 0, 0, 0.55); padding: 4px 10px; border-radius: 4px; }
  body.page-catalog .pageviewer .close { position: fixed; top: 12px; right: 12px; }
  @media (max-width: 800px) { body.page-catalog .details .panel { grid-template-columns: 1fr; grid-template-rows: 45vh 1fr; } body.page-catalog .details .frame { height: 45vh; } body.page-catalog .details .thumb { width: 72px; } body.page-catalog .details .thumb img { width: 64px; height: 50px; } }

/* ----- the "My lists" page ----- */
  body.page-lists { margin: 0; font: 15px/1.45 -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--ink); background: var(--bg); }
  body.page-lists form.inline { display: inline; }
  body.page-lists button { padding: 8px 14px; font: inherit; font-size: 14px; border: 1px solid var(--brand); background: var(--brand); color: #fff; border-radius: 6px; cursor: pointer; }
  body.page-lists button.secondary { background: #fff; color: var(--brand); }
  body.page-lists button.small { padding: 4px 10px; font-size: 12px; }
  body.page-lists button.danger { border-color: #b3261e; color: #b3261e; background: #fff; }
  body.page-lists button:disabled { opacity: 0.6; cursor: wait; }
  body.page-lists main { padding: 16px 24px 60px; max-width: 1400px; margin: 0 auto; }
  body.page-lists .status { color: var(--muted); font-size: 13px; margin: 0 0 14px; min-height: 18px; }
  /* The heading with its button, and the lists as cards of one width wide enough for their
     buttons on one row (the owner's review of 2026-10-14). */
  /* The lists in one column, newest first, left-aligned under the band's title and at most as
     wide as a list's page (the owner, 2026-10-14). */
  body.page-lists .lists { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 1100px; }
  body.page-lists .list { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
  body.page-lists .list.open { border-color: var(--brand); box-shadow: 0 0 0 2px rgba(201, 93, 50, 0.15); }
  body.page-lists .list h2 { margin: 0; font-size: 16px; color: var(--brand); }
  body.page-lists .list .meta { color: var(--muted); font-size: 12px; }
  body.page-lists .list .desc { font-size: 13px; color: #374151; white-space: pre-wrap; }
  body.page-lists .list .actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
  body.page-lists .list .actions .danger { margin-left: auto; }
  /* An empty list (the owner, 2026-10-14): Open, Specification and Send to the dealer greyed,
     with the note that says how to fill the list. */
  body.page-lists .list .actions button:disabled { background: #f3f4f6; border-color: var(--line); color: #9ca3af; opacity: 1; cursor: not-allowed; }
  body.page-lists .list .empty-note { margin: 0; font-size: 13px; color: var(--muted); }
  body.page-lists .edit { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
  body.page-lists .edit input, body.page-lists .edit textarea { width: 100%; padding: 8px 10px; font: inherit; font-size: 14px; border: 1px solid var(--line); border-radius: 6px; }
  body.page-lists .edit label, body.page-lists .item label { display: block; font-size: 12px; color: var(--muted); margin: 2px 0; }
  body.page-lists .new { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; margin: 0 0 16px; max-width: 560px; }
  body.page-lists .new .new-buttons { display: flex; gap: 8px; }
  body.page-lists .new label { display: block; font-size: 12px; color: var(--muted); margin: 8px 0 4px; }
  body.page-lists .new input { width: 100%; padding: 8px 10px; font: inherit; font-size: 14px; border: 1px solid var(--line); border-radius: 6px; }
  body.page-lists h2.items-title { font-size: 17px; margin: 26px 0 10px; color: var(--brand); }
  body.page-lists .items { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
  body.page-lists .item { background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }
  /* A saved item shows its own picture (since 2026-10-01); a click opens the catalog page. */
  body.page-lists .item > img, body.page-lists .item > .nopic { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; display: block; cursor: pointer; }
  body.page-lists .item > .nopic { display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px; color: var(--muted); font-size: 13px; background: var(--picture); }
  body.page-lists .item .body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
  body.page-lists .item .where { color: var(--muted); font-size: 12px; }
  body.page-lists .item .product { font-weight: 600; font-size: 14px; color: var(--brand); }
  body.page-lists .item .criteria { color: #374151; }
  body.page-lists .item .gone { color: #b3261e; }
  body.page-lists .item textarea { width: 100%; padding: 6px 8px; font: inherit; font-size: 13px; border: 1px solid var(--line); border-radius: 6px; resize: vertical; }
  body.page-lists .item .actions { display: flex; justify-content: space-between; gap: 6px; }
  body.page-lists .error { color: #b3261e; font-size: 13px; }
  /* A failure looks like a warning, by its colour and its sign (the owner's instruction of 2026-10-08). */
  body.page-lists .status.warning { color: #b45309; }
  body.page-lists .status.warning::before { content: "⚠ "; }
  body.page-lists .lightbox { position: fixed; inset: 0; background: rgba(20, 20, 20, 0.92); display: none; z-index: 10; overflow: auto; }
  body.page-lists .lightbox.open { display: block; }
  body.page-lists .lightbox img { display: block; margin: 0 auto; max-width: 100%; height: 100vh; object-fit: contain; cursor: zoom-in; }
  body.page-lists .lightbox img.zoomed { max-width: none; height: auto; cursor: zoom-out; }
  body.page-lists .lightbox .close { position: fixed; top: 12px; right: 12px; }

/* ----- the user guide ----- */
  html { scroll-behavior: smooth; }
  body.page-guide { margin: 0; font: 15px/1.55 -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--ink); background: var(--bg); }
  body.page-guide button { padding: 8px 14px; font: inherit; font-size: 14px; border: 1px solid var(--accent); background: var(--accent); color: #fff; border-radius: 6px; cursor: pointer; }
  body.page-guide button.secondary { background: #fff; color: var(--accent); }
  body.page-guide button.small { padding: 4px 10px; font-size: 12px; }
  /* The two parts' captions in the orange of "Search" in the logo (the owner, 2026-10-10). */
  /* The guide: a column of contents on the left, the text on the right (the owner's
     discussion of 2026-10-09); the column stays in view under the fixed header. */
  body.page-guide .guide { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; max-width: 1100px; margin: 0 auto; padding: 20px 24px 80px; }
  body.page-guide nav.toc { position: sticky; top: calc(var(--header-h) + 16px); align-self: start; max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; font-size: 14px; }
  body.page-guide nav.toc details > summary { display: none; }
  body.page-guide nav.toc h2 { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); margin: 16px 0 6px; }
  body.page-guide nav.toc h2:first-of-type { margin-top: 0; }
  body.page-guide nav.toc ol { list-style: none; margin: 0; padding: 0; }
  body.page-guide nav.toc a { display: block; padding: 4px 10px; color: var(--accent); text-decoration: none; border-left: 2px solid transparent; line-height: 1.35; }
  body.page-guide nav.toc a:hover { background: #fff; }
  body.page-guide nav.toc a.current { color: var(--ink); font-weight: 600; border-left-color: var(--accent); background: #fff; }
  body.page-guide main { min-width: 0; max-width: 720px; }
  body.page-guide .guide > .process-line { grid-column: 1 / -1; margin: 4px 0 0; flex-wrap: nowrap; white-space: nowrap; }
  @media (max-width: 820px) { body.page-guide .guide > .process-line { flex-wrap: wrap; white-space: normal; } }
  body.page-guide .part { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); margin: 32px 0 10px; scroll-margin-top: calc(var(--header-h) + 16px); }
  body.page-guide .part:first-of-type { margin-top: 0; }
  body.page-guide section { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 16px 20px; margin: 0 0 14px; scroll-margin-top: calc(var(--header-h) + 16px); }
  body.page-guide section h3 { font-size: 17px; margin: 0 0 8px; }
  body.page-guide p { margin: 8px 0; }
  body.page-guide section ul { margin: 6px 0; padding-left: 22px; }
  body.page-guide section li { margin: 3px 0; }
  body.page-guide .example { margin: 8px 0; padding: 8px 12px; background: #f6f7f5; border-left: 3px solid var(--accent); border-radius: 4px; color: #374151; font-style: italic; }
  /* On a phone the contents fold into a list at the top of the page. */
  @media (max-width: 820px) { body.page-guide .guide { grid-template-columns: 1fr; gap: 12px; padding: 12px 16px 60px; } body.page-guide nav.toc { position: static; max-height: none; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; } body.page-guide nav.toc details > summary { display: list-item; cursor: pointer; font-weight: 600; } body.page-guide nav.toc details[open] > summary { margin-bottom: 8px; } }
  @media print { body.page-guide nav.toc { display: none; } body.page-guide .guide { display: block; } body.page-guide section { break-inside: avoid; } }

/* On a narrow screen the lists keep the band's side margin, so that the cards stand on the
   chair's left edge (the owner's left-aligned column, 2026-10-14). */
@media (max-width: 760px) { body.page-lists main { padding-left: 16px; padding-right: 16px; } }

/* The process line: the whole process in three numbered steps, on the catalog's help block
   and above the user guide's first part (the owner's design of 2026-10-15): plain orange text;
   the line's numbers solid orange circles, the help block's steps orange outlines of one size. */
.process-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; margin: 10px 0 12px; font-size: 15px; color: var(--brand); }
.process-line .step { display: inline-flex; align-items: center; gap: 6px; }
.help ol.steps li::before { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--brand); background: #fff; color: var(--brand); font-size: 12px; font-weight: 600; line-height: 1; box-sizing: border-box; }
.process-line .num { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 12px; font-weight: 600; line-height: 1; }
@media print { .process-line .num { border: 1px solid var(--brand); background: none; color: var(--brand); } }

/* The help block's tabs and its example requests (2026-10-17): two tabs in the brand's
   orange; the categories collapsible with a chevron, their captions orange; the requests in
   the text colour, orange and underlined on hover on a computer, always underlined on a
   phone, where there is no hover. */
.help .help-tabs { display: flex; gap: 4px; margin: 12px 0 0; border-bottom: 1px solid var(--brand); }
.help .help-tab { margin: 0 0 -1px; padding: 6px 14px; border: 1px solid transparent; border-bottom: 0; border-radius: 6px 6px 0 0; background: none; color: var(--brand); font-size: 14px; cursor: pointer; }
.help .help-tab[aria-selected="true"] { border-color: var(--brand); background: #fff; color: var(--brand); font-weight: 600; }
.help details.example-group { margin: 10px 0 0; }
.help details.example-group > summary { display: flex; align-items: center; gap: 6px; color: var(--brand); font-size: 14px; font-weight: 600; cursor: pointer; list-style: none; text-decoration: none; }
.help details.example-group > summary::-webkit-details-marker { display: none; }
.help details.example-group .chevron { transition: transform .15s; }
.help details.example-group[open] .chevron { transform: rotate(180deg); }
.help ul.examples { list-style: disc; margin: 6px 0 0; padding: 0 0 0 28px; }
.help ul.examples li { margin: 0 0 6px; padding: 0; color: var(--brand); }
.help button.example { display: block; width: auto; margin: 0; padding: 0; border: 0; background: none; color: #374151; font: inherit; font-size: 13px; line-height: 1.5; text-align: left; text-decoration: none; cursor: pointer; }
.help button.example:hover, .help button.example:focus-visible { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
/* The example requests of the help block of the Browse, brand, kind and product pages are links
   that open the catalog and run the request (2026-10-21), in the same look as the catalog's. */
.help a.example-request { color: #374151; font-size: 13px; line-height: 1.5; text-decoration: none; }
.help a.example-request:hover, .help a.example-request:focus-visible { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.help .process-line a { color: var(--brand); }
@media (max-width: 760px), (hover: none) {
  .help button.example { text-decoration: underline; text-underline-offset: 3px; }
  .help button.example { display: block; padding: 6px 0; }
}

/* The user guide's example requests (2026-10-17): the same format as the catalog's "See how"
   examples (bulleted, indented, the text colour, orange and underlined on hover, always
   underlined on a phone) and a copy icon at each row's right top corner. */
body.page-guide .examples-intro { margin: 0 0 12px; color: #374151; }
body.page-guide ul.examples { list-style: disc; margin: 6px 0; padding: 0 0 0 28px; }
body.page-guide ul.examples li { position: relative; margin: 0 0 6px; padding-right: 34px; color: var(--brand); }
body.page-guide a.example-request { color: #374151; font-size: 14px; line-height: 1.5; text-decoration: none; }
body.page-guide a.example-request:hover, body.page-guide a.example-request:focus-visible { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
body.page-guide button.copy-example { position: absolute; top: 0; right: 0; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; padding: 0; border: 1px solid transparent; border-radius: 6px; background: none; color: #6b7280; cursor: pointer; }
body.page-guide button.copy-example:hover, body.page-guide button.copy-example:focus-visible { border-color: #d1d5db; background: #fff; color: #374151; }
body.page-guide button.copy-example .check-icon { display: none; }
body.page-guide button.copy-example.copied .copy-icon { display: none; }
body.page-guide button.copy-example.copied .check-icon { display: inline; }
@media (max-width: 760px), (hover: none) {
  body.page-guide a.example-request { text-decoration: underline; text-underline-offset: 3px; }
}
/* A category's description: its own line under the heading, on the heading's left edge,
   in the muted grey, with the requests below it as a separate level. */
body.page-guide p.category-description { margin: 0 0 14px; color: #6b7280; font-size: 14px; line-height: 1.5; }

/* ----- A product's public page (the public catalog, 2026-10-19) -----
   The picture and its gallery on the left, the heading, the facts and Save on the right; the
   descriptions and the prices under them; one column on a phone. */
body.page-product main.product-page { max-width: 1100px; margin: 0 auto; padding: 16px 24px 40px; }
body.page-product .links { margin-top: 0; }
body.page-product article.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 24px; }
/* The large picture in a box of one size and shape (the owner, 2026-10-21: "the image size is
   changing from image to image"): every picture fits inside it whole, so that the box and the
   page under it stay in place whichever picture is shown. The box is 4 by 3, the shape of the
   catalog's cards and close to most photographs, and its empty space white like the page, so
   that it shows no bands around a picture (the owner, the same day: "why this ugly padding?"). */
body.page-product .product-main { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; }
body.page-product .product-pictures button.product-main-button { width: 100%; }
/* The pictures are buttons (2026-10-21): no button look, a hand to say they open, the shown
   small picture outlined in orange. The selectors outweigh the orange buttons' rule. */
body.page-product .product-pictures button { display: block; padding: 0; margin: 0; background: none; border: 0; border-radius: 6px; cursor: zoom-in; }
body.page-product .product-caption { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
body.page-product .product-gallery { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
body.page-product .product-gallery button { cursor: pointer; border-radius: 4px; }
body.page-product .product-gallery img { display: block; width: 84px; height: 84px; object-fit: cover; background: var(--picture); border-radius: 4px; border: 1px solid var(--line); }
body.page-product .product-gallery button:hover img, body.page-product .product-gallery button:focus-visible img { border-color: var(--brand); }
body.page-product .product-gallery button.current img { outline: 2px solid var(--brand); outline-offset: 1px; }
/* A picture on the whole screen, on a dark ground, with its × in the corner. */
dialog.picture-view { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 24px; border: 0; background: rgba(20, 20, 20, 0.92); }
dialog.picture-view::backdrop { background: rgba(20, 20, 20, 0.92); }
dialog.picture-view img { display: block; width: 100%; height: 100%; object-fit: contain; cursor: zoom-out; }
dialog.picture-view button.close-x { position: absolute; top: 12px; right: 16px; padding: 4px 12px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 6px; font-size: 22px; line-height: 1; }
body.page-product h1 { margin: 0 0 6px; font-size: 26px; color: var(--brand); }
body.page-product .product-line { margin: 0 0 4px; color: var(--muted); }
body.page-product .product-price { margin: 12px 0; font-size: 18px; font-weight: 600; }
body.page-product dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 16px 0; }
body.page-product dl.facts dt { color: var(--muted); }
body.page-product dl.facts dd { margin: 0; }
body.page-product dl.facts .size { display: block; }
body.page-product section.product-text { margin-top: 24px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 20px 24px; }
body.page-product section.product-text h2 { margin: 0 0 8px; font-size: 18px; color: var(--brand); }
body.page-product table.prices { border-collapse: collapse; width: 100%; margin-bottom: 10px; }
body.page-product table.prices td { padding: 6px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
body.page-product table.prices td.amount { text-align: right; white-space: nowrap; }
body.page-product .muted { color: var(--muted); font-size: 13px; }
@media (max-width: 760px) {
  body.page-product main.product-page { padding: 12px 16px 32px; }
  body.page-product article.product { grid-template-columns: 1fr; padding: 16px; gap: 16px; }
}

/* The trail from the catalog through the brand to a product (the brand pages, 2026-10-20), in
   small print above a page's heading. */
.trail { margin: 0 0 12px; font-size: 14px; color: var(--muted); }
.trail a { color: var(--brand); font-weight: 400; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.trail a:hover, .trail a:focus-visible { color: #9e4522; }

/* The cards of products rendered on the server (2026-10-20): a brand's and a kind's products
   and a product page's "More from this brand"; the same lines as the catalog's cards, each
   card a link to the product's page with its Save button under the link (2026-10-20). */
ul.product-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
ul.product-cards .product-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
ul.product-cards .product-card:hover, ul.product-cards .product-card:focus-within { border-color: var(--brand); }
ul.product-cards .product-card a { display: flex; flex-direction: column; flex: 1; color: inherit; text-decoration: none; }
ul.product-cards .product-card button.card-save { align-self: flex-start; margin: 0 12px 12px; }
/* A picture stands on white, like the card, so that no band shows around it (the owner,
   2026-10-21: "the same ugly padding"); the box without a picture keeps the grey. */
ul.product-cards .product-card img, ul.product-cards .product-card .nopic { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; }
ul.product-cards .product-card .nopic { display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; background: var(--picture); }
ul.product-cards .card-body { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px 12px; font-size: 14px; }
ul.product-cards .card-name { font-weight: 600; }
ul.product-cards .card-line { color: var(--muted); }
ul.product-cards .card-price { margin-top: 2px; font-weight: 600; }
body.page-product section.more-from-brand .links { margin: 14px 0 0; }

/* ----- A brand's public page (the brand pages, 2026-10-20) -----
   The trail, the brand's name as the heading with its facts, the cards in a grid, the pager. */
body.page-brand main.brand-page { max-width: 1100px; margin: 0 auto; padding: 16px 24px 40px; }
body.page-brand .brand-head { border-bottom: 3px solid var(--brand); margin-bottom: 20px; padding-bottom: 12px; }
body.page-brand .brand-head h1 { margin: 0 0 6px; font-size: 26px; line-height: 1.2; color: var(--brand); }
body.page-brand .brand-head p { margin: 0 0 4px; font-size: 16px; line-height: 1.5; }
body.page-brand .brand-head p.muted, body.page-brand .content-empty { color: var(--muted); font-size: 14px; }
body.page-brand .brand-head p.styles-line { font-size: 15px; color: var(--muted); }
body.page-brand .brand-head p.styles-line a { color: var(--brand); font-weight: 400; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
body.page-brand .brand-head p.styles-line a:hover { color: #9e4522; }
body.page-brand .pager { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 24px; font-size: 15px; }
body.page-brand .pager span { color: var(--muted); }
body.page-brand .pager a, body.page-brand .links a { color: var(--brand); font-weight: 400; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
body.page-brand .pager a:hover, body.page-brand .links a:hover { color: #9e4522; }
@media (max-width: 760px) {
  body.page-brand main.brand-page { padding: 12px 16px 32px; }
  ul.product-cards { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
}

/* ----- The Browse page (the owner's idea of 2026-10-20) -----
   The trail, the heading, the brands as cards in a grid, the kinds of furniture by group in
   columns, each name a link to its page with its number of pieces. */
body.page-browse main.browse-page { max-width: 1100px; margin: 0 auto; padding: 16px 24px 40px; }
body.page-browse .browse-head { border-bottom: 3px solid var(--brand); margin-bottom: 20px; padding-bottom: 12px; }
body.page-browse .browse-head h1 { margin: 0 0 6px; font-size: 26px; line-height: 1.2; color: var(--brand); }
body.page-browse .browse-head p { margin: 0; font-size: 16px; line-height: 1.5; }
body.page-browse a { color: var(--brand); }
body.page-browse .browse-head a, body.page-browse .browse-groups a { font-weight: 400; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
body.page-browse .browse-head a:hover, body.page-browse .browse-groups a:hover { color: #9e4522; }
body.page-browse .browse-section { margin: 0 0 32px; }
body.page-browse .browse-section h2 { margin: 0 0 12px; font-size: 20px; color: var(--ink); }
body.page-browse ul.browse-brands { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
body.page-browse ul.browse-brands a { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--brand); border-radius: 8px; text-decoration: none; }
body.page-browse ul.browse-brands a:hover, body.page-browse ul.browse-brands a:focus-visible { border-color: var(--brand); }
body.page-browse .browse-name { font-size: 17px; font-weight: 600; }
body.page-browse .browse-count { color: var(--muted); font-size: 13px; }
body.page-browse .browse-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px 24px; }
body.page-browse .browse-group h3 { margin: 0 0 6px; font-size: 15px; color: var(--ink); }
body.page-browse .browse-group ul { list-style: none; margin: 0; padding: 0; }
body.page-browse .browse-group li { padding: 3px 0; font-size: 15px; }
@media (max-width: 760px) {
  body.page-browse main.browse-page { padding: 12px 16px 32px; }
  body.page-browse ul.browse-brands { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
  body.page-browse .browse-groups { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}

/* The details' link to the product's own page, and the bot check's box (2026-10-19). */
body.page-catalog .details a.product-link { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.human-check { display: flex; justify-content: center; margin: 12px auto; }

/* ----- the site's own content: the blog, the glossary and the questions (2026-10-19) -----
   One reading column on the white of the page, the orange of the logo for the headings'
   rule and the links; the blog's list, its search form, its pager and a post's author box as
   the owner's other site's blog has them (carried over on 2026-10-20). */
body.page-content main.content-page { max-width: 820px; margin: 0 auto; padding: 32px 24px 56px; width: 100%; }
body.page-content .content-head { border-bottom: 3px solid var(--brand); margin-bottom: 24px; padding-bottom: 12px; }
body.page-content .content-head h1 { margin: 0 0 6px; font-size: 28px; line-height: 1.2; color: var(--brand); }
body.page-content .content-head p { margin: 0; color: var(--muted); font-size: 16px; }
body.page-content .content-empty { color: var(--muted); font-size: 16px; }
body.page-content .breadcrumb { margin: 0 0 8px; font-size: 14px; color: var(--muted); }
body.page-content .post-meta { color: var(--muted); font-size: 14px; }
body.page-content .post-search { display: flex; gap: 8px; max-width: 480px; margin: 0 0 24px; }
body.page-content .post-search input { flex: 1; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; font: inherit; font-size: 16px; }
body.page-content .post-search input:focus { outline: 2px solid var(--brand); border-color: var(--brand); }
body.page-content .post-list { display: grid; gap: 16px; }
body.page-content .post-item { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: 8px; padding: 18px; }
body.page-content .post-item h3 { margin: 0 0 6px; font-size: 20px; line-height: 1.25; }
body.page-content .post-item h3 a { font-weight: 600; text-decoration: none; }
body.page-content .post-item .post-meta { margin: 0 0 8px; }
body.page-content .post-item p { margin: 0; font-size: 15px; line-height: 1.55; }
body.page-content a { color: var(--brand); font-weight: 400; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
body.page-content a:hover, body.page-content a:focus-visible { color: #9e4522; }
body.page-content .pager { display: flex; gap: 8px; margin-top: 24px; }
body.page-content .pager a.button { display: inline-block; padding: 8px 16px; border: 1px solid var(--brand); border-radius: 6px; text-decoration: none; font-size: 15px; }
body.page-content .post-body { max-width: 760px; }
body.page-content .post-author { max-width: 760px; margin-top: 32px; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
body.page-content .post-author h3 { margin: 0 0 4px; font-size: 17px; }
body.page-content .post-author p { margin: 0; color: var(--muted); font-size: 15px; }
body.page-content .content-body { font-size: 17px; line-height: 1.7; }
body.page-content .content-body h2 { margin: 32px 0 8px; font-size: 22px; line-height: 1.3; }
body.page-content .content-body h3 { margin: 24px 0 6px; font-size: 18px; }
body.page-content .content-body h4 { margin: 20px 0 4px; font-size: 16px; }
body.page-content .content-body p { margin: 0 0 16px; }
body.page-content .content-body ul, body.page-content .content-body ol { margin: 0 0 16px; padding-left: 26px; }
body.page-content .content-body li { margin-bottom: 6px; }
body.page-content .content-body blockquote { margin: 0 0 16px; padding: 4px 18px; border-left: 4px solid var(--brand); color: var(--muted); }
body.page-content .content-body img { max-width: 100%; height: auto; border-radius: 6px; }
body.page-content .content-body figure { margin: 0 0 16px; }
body.page-content .content-body figcaption { color: var(--muted); font-size: 14px; }
body.page-content .content-body table { border-collapse: collapse; width: 100%; margin: 0 0 16px; font-size: 15px; }
body.page-content .content-body th, body.page-content .content-body td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
body.page-content .content-body th { background: #fff; }
body.page-content .letters { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 20px; font-size: 16px; }
body.page-content .letter-group h2 { margin: 24px 0 8px; font-size: 20px; border-bottom: 1px solid var(--line); padding-bottom: 4px; }
body.page-content .term-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
body.page-content .term-list .term-gloss { display: block; color: var(--muted); font-size: 15px; }
body.page-content .term-other { color: var(--muted); }
body.page-content .term-search { margin-top: 24px; font-size: 16px; }
body.page-content .question { margin-bottom: 28px; }
body.page-content .question h2 { margin: 0 0 6px; font-size: 20px; line-height: 1.3; }
body.page-content .links { margin-top: 28px; }
@media (max-width: 760px) {
  body.page-content main.content-page { padding: 20px 16px 40px; }
  body.page-content .content-head h1 { font-size: 24px; }
  body.page-content .content-body { font-size: 16px; }
}
