/* MECHOWL: the design's values, in one place (owner's approval 2026-11-29, platform spec ch3 3.13). Canonical in hiragg/mechowl-review
   (MechOwlReview/src/design-tokens.css, copied to platform/design/tokens.css by `npm run platform:design`); every product and the official
   site copies it unchanged and draws its screens with these variables and parts. The words, numbers, order, pictures and navigation stay
   the product's own: this file changes only how they look.

   Rules of the parts (ch3 3.13):
   - No box inside a box of the same colour: a part inside a card or band is divided by a line (--mo-line), not filled again.
   - A badge or mark never sits on top of text: it has its own line (the savings badge above a price card, never on its corner).
   - A phrase (a number with its unit, a word) never breaks in the middle: .mo-nw, and Japanese text breaks between phrases
     (word-break: auto-phrase, where the browser has it).
   - No navy box, no pure black. Light grounds with dark text only where the owner set them (2026-11-29): MechOwl's speech bubble
     (cream, --mo-bubble), the screen image's window (--mo-window), the drawing paper and a finding's detail card (--mo-sheet).
   - A button's colour says what it does (2026-11-29, ch7 7.7 K): ① free start / sample: green fill; ② paid AI, going to an AI
     feature, buying, adding credits: orange fill; ③ business, quote, Enterprise: blue fill; ④ any other action (report, share,
     close, back, choose again, sign in): a white 1.5px outline on a faint white fill; ⑤ what cannot be undone (delete, cancel the
     plan, leave): a red outline; ⑥ going to another page: a text link (underlined, ↗ when external), never a button.
     Never a near-black filled button on the dark page. Action buttons have 12px corners (--mo-radius-action).
   - On a phone (390px) the layout stays the product's; only colours, corners and lines follow these values. */
:root{
  --mo-bg:#0B0D10;
  --mo-surface:#12151A;
  --mo-card-top:#252B36;
  --mo-card-bottom:#252B36;
  --mo-box:#252B36;
  --mo-box-hover:#2D3441;
  --mo-line-box:rgba(255,255,255,.20);
  --mo-on-box-2:#D5D9E0;
  --mo-band:#0E1014;
  --mo-line:rgba(255,255,255,.08);
  --mo-line-table:rgba(255,255,255,.24);
  --mo-line-row:rgba(255,255,255,.16);
  --mo-table-head:#323A47;
  --mo-on-table-head:#E3E6EB;
  --mo-table-body:#222833;
  --mo-table-body-alt:#1C222B;
  --mo-line-button:rgba(255,255,255,.18);
  --mo-line-button-hover:rgba(255,255,255,.40);
  --mo-text:#EDEFF3;
  --mo-text-2:#C2C7D0;
  --mo-text-note:#A3AAB6;
  --mo-text-small:#9CA4B1;
  --mo-wordmark:#E7E9EE;
  --mo-wordmark-reading:#A9AFBC;
  --mo-catch:#C9CDD5;
  --mo-heading:#fff;
  --mo-accent:#2DD4BF;
  --mo-accent-hover:#5EEAD4;
  --mo-on-accent:#04201C;
  --mo-label:#5EEAD4;
  --mo-paid:#F59E0B;
  --mo-paid-hover:#FBBF24;
  --mo-on-paid:#1A1000;
  --mo-business:#60A5FA;
  --mo-business-hover:#93C5FD;
  --mo-on-business:#06121F;
  --mo-secondary:rgba(255,255,255,.10);
  --mo-line-secondary:rgba(255,255,255,.75);
  --mo-on-secondary:#FFFFFF;
  --mo-danger-fill:rgba(248,113,113,.10);
  --mo-danger-line:#F87171;
  --mo-on-danger:#FECACA;
  --mo-link:#5EEAD4;
  --mo-bubble:#F4F1EA;
  --mo-on-bubble:#0B0D10;
  --mo-window:#FFFFFF;
  --mo-window-bar:#EEF1F4;
  --mo-on-window:#1F2630;
  --mo-on-window-2:#4A5361;
  --mo-window-line:#DDE2E8;
  --mo-shadow-window:0 30px 80px rgba(0,0,0,.55);
  --mo-sheet:#FFFFFF;
  --mo-sheet-frame:#DDE2E8;
  --mo-sheet-line:#D3D9E0;
  --mo-on-sheet:#111418;
  --mo-on-sheet-2:#3A414C;
  --mo-grid-line:rgba(255,255,255,.06);
  --mo-grid-cell:36px;
  --mo-radius-card:16px;
  --mo-radius-table:12px;
  --mo-radius-band:24px;
  --mo-radius-button:999px;
  --mo-radius-action:12px;
  --mo-space-section:clamp(48px,6vw,72px);
  --mo-content:1200px;
  --mo-card-pad:clamp(20px,1.7vw,24px);
  --mo-heading-section:clamp(28px,2.3vw,32px);
  --mo-hero-title:clamp(44px,4.4vw,72px);
  --mo-hero-catch:clamp(20px,1.8vw,26px);
  --mo-card-gap:20px;
  --mo-motion:.18s;
  --mo-tracking-heading:-.02em;
  --mo-tracking-display:-.03em;
  --mo-shadow-primary:0 8px 24px rgba(45,212,191,.35);
  --mo-shadow-card:0 16px 40px rgba(0,0,0,.45);
  --mo-inset-primary:inset 0 1px 0 rgba(255,255,255,.35);
}
@media screen{html:lang(ja){word-break:auto-phrase}}
/* The products menu keeps its own line counts (its descriptions are cut at two lines). */
.products-menu-list{word-break:normal}
.mo-nw{white-space:nowrap}

/* Buttons: the main one filled with the accent, the second one outlined. Both lift 2px on hover. */
.mo-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:var(--mo-radius-action);font-weight:700;text-decoration:none;cursor:pointer;transition:transform var(--mo-motion),box-shadow var(--mo-motion),background var(--mo-motion),border-color var(--mo-motion),color var(--mo-motion)}
/* ① free start and the sample */
.mo-btn-primary,.mo-btn-free{background:var(--mo-accent);color:var(--mo-on-accent);border:1px solid var(--mo-accent);box-shadow:var(--mo-inset-primary)}
.mo-btn-primary:hover,.mo-btn-free:hover{background:var(--mo-accent-hover);border-color:var(--mo-accent-hover);transform:translateY(-2px);box-shadow:var(--mo-shadow-primary),var(--mo-inset-primary)}
/* ② paid AI, an AI feature, buying, adding credits */
.mo-btn-paid{background:var(--mo-paid);color:var(--mo-on-paid);border:1px solid var(--mo-paid);box-shadow:var(--mo-inset-primary)}
.mo-btn-paid:hover{background:var(--mo-paid-hover);border-color:var(--mo-paid-hover);transform:translateY(-2px);box-shadow:0 8px 24px rgba(245,158,11,.30),var(--mo-inset-primary)}
/* ③ business, quote, Enterprise */
.mo-btn-business{background:var(--mo-business);color:var(--mo-on-business);border:1px solid var(--mo-business)}
.mo-btn-business:hover{background:var(--mo-business-hover);border-color:var(--mo-business-hover);transform:translateY(-2px)}
/* ④ any other action */
.mo-btn-secondary{background:var(--mo-secondary);color:var(--mo-on-secondary);border:1.5px solid var(--mo-line-secondary);font-weight:600}
.mo-btn-secondary:hover{border-color:var(--mo-accent);background:rgba(255,255,255,.14);transform:translateY(-2px)}
/* ⑤ cannot be undone */
.mo-btn-danger{background:var(--mo-danger-fill);color:var(--mo-on-danger);border:1.5px solid var(--mo-danger-line);font-weight:600}
.mo-btn-danger:hover{background:rgba(248,113,113,.18);transform:translateY(-2px)}
/* The top page's explanation sections (2026-11-29, ch3 3.13; the values written 2026-11-30, ch3 3.14): one part for WHY, HOW IT WORKS,
   RESULTS, TRUST & DATA and a product's others. The values are Review AI's top page (measured at 1366px; the reference):
   - the label above the heading: 13px, 600, letter-spacing .08em, the label colour, 6px under it (8px on a phone);
   - the heading: clamp(20px,1.7vw,24px) (23px on a phone), 800, line-height 1.3, margin 0;
   - the card: padding 15px (14px on a phone), radius 16px, the box colour and line, 12px between the icon and the text (14px on a phone);
   - the icon: 30px (48px on a phone), at the top-left corner inside the padding (its top edge on the title's first line's top);
   - the title 15px (16px on a phone) / line-height 1.4 (1.45 on a phone), bold, white; the text 13px (14px on a phone) / 1.6 (1.65 on a phone), directly under the title
     (4px), the box's second text colour. Rows: cards in one row share the title row's height = the tallest title among them (all one
     line: no gap), and the text starts at the same height in every card (subgrid; ch3 3.14).
   On a PC (1024px or more) the label and the heading on the left, the cards in one row on the right. Phones stack. */
:root{
  --mo-sec-label-size:13px;--mo-sec-label-gap:6px;--mo-sec-card-pad:15px;--mo-sec-card-gap:12px;--mo-sec-icon:30px;
  --mo-sec-title-size:15px;--mo-sec-text-size:13px;--mo-sec-title-gap:4px;--mo-sec-title-lh:1.4;--mo-sec-text-lh:1.6;
}
@media (max-width:1023px){
  :root{--mo-sec-label-gap:8px;--mo-sec-card-pad:14px;--mo-sec-card-gap:14px;--mo-sec-icon:48px;--mo-sec-title-size:16px;--mo-sec-text-size:14px;--mo-sec-title-lh:1.45;--mo-sec-text-lh:1.65}
}
/* The card is a grid at every width (2026-11-30, a request from Engineering AI): the icon in the first column over both rows, the title and the text in the
   second column. Below 1024px the cards stack in one column (no subgrid: each card has its own two rows); from 1024px the cards share the rows (below). */
.mo-section-cards{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
.mo-section-card{display:grid;grid-template-columns:var(--mo-sec-icon) minmax(0,1fr);column-gap:var(--mo-sec-card-gap);row-gap:0;align-items:start;padding:var(--mo-sec-card-pad);border-radius:var(--mo-radius-card);background:var(--mo-box);border:1px solid var(--mo-line-box);transition:background var(--mo-motion)}
.mo-section-card>svg,.mo-section-card>.mo-section-icon{grid-row:1 / span 2;width:var(--mo-sec-icon);height:var(--mo-sec-icon)}
.mo-section-card>:is(h3,p){grid-column:2}
.mo-section-card h3{font-size:var(--mo-sec-title-size);line-height:var(--mo-sec-title-lh);margin:0 0 var(--mo-sec-title-gap)}
.mo-section-card p{font-size:var(--mo-sec-text-size);line-height:var(--mo-sec-text-lh);margin:0;color:var(--mo-on-box-2)}
@media (min-width:1024px){
  .mo-section{display:grid;grid-template-columns:minmax(170px,21%) minmax(0,1fr);column-gap:28px;align-items:start;margin-top:28px}
  .mo-section-head{grid-column:1}
  .mo-section-head h2{font-size:clamp(20px,1.7vw,24px);line-height:1.3;margin:0}
  .mo-section-cards{grid-column:2;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto 1fr;gap:0 12px}
  .mo-section-card{grid-row:span 2;grid-template-rows:subgrid}
}
/* The width of the page's contents (2026-11-30, ch3 3.14): two kinds, chosen with a class on the page's outer box.
   .mo-page--doc: pages that explain (a product's top, pricing, the official site) = Review AI's: 1200px of contents with 32px at each side (12px on a phone).
   .mo-page--tool: a tool's screen keeps its own width (the product sets --mo-tool-max; none = the whole width). */
:root{--mo-page-pad:32px}
@media (max-width:520px){:root{--mo-page-pad:12px}}
.mo-page{box-sizing:border-box;margin-inline:auto;padding-inline:var(--mo-page-pad)}
.mo-page--doc{max-width:calc(1200px + 2 * var(--mo-page-pad))}
.mo-page--tool{max-width:var(--mo-tool-max,none)}
/* A table cell with a support mark (対応・一部・未対応) and its detail (2026-11-29): one row aligned on the first line's text; a second line
   of the detail starts under the detail, not under the mark. On a phone (600px or less) the mark has its own line. */
.mo-mark-cell{display:flex;align-items:baseline;gap:8px}
.mo-mark-cell>:first-child{flex:none;white-space:nowrap}
.mo-mark-cell>:last-child{flex:1 1 auto;min-width:0}
@media (max-width:600px){.mo-mark-cell{display:block}.mo-mark-cell>:first-child{margin-bottom:2px}}
/* ⑥ going to another page: a text link */
.mo-link{color:var(--mo-link);text-decoration:underline;text-underline-offset:3px;font-weight:600}

/* Cards: a vertical gradient, a thin line. Only a card that can be pressed (a link or a card holding a link or button) lifts 4px on hover
   and its line takes the accent; a card that only explains does not move: under the pointer only its ground turns a little lighter
   (--mo-box-hover; owner 2026-11-29, ch3 3.13). */
.mo-card{border-radius:var(--mo-radius-card);border:1px solid var(--mo-line-box);background:var(--mo-box);padding:var(--mo-card-pad);transition:transform var(--mo-motion),border-color var(--mo-motion),box-shadow var(--mo-motion),background var(--mo-motion)}
:is(a.mo-card,.mo-card:has(a[href],button)):hover{transform:translateY(-4px);border-color:rgba(94,234,212,.45);box-shadow:var(--mo-shadow-card)}
.mo-card:not(a):not(:has(a[href],button)):hover,.mo-section-card:hover{background:var(--mo-box-hover)}

/* Tables (2026-11-29): 14px, rows 10-12px high padding, the head row #323A47 (text #E3E6EB), the body rows #222833 and #1C222B in turn,
   rows divided by lines .16, the frame .24 (2026-11-29, second round); numbers aligned right. */
.mo-table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums;font-size:14px;background:var(--mo-table-body)}
.mo-table-wrap{border:1px solid var(--mo-line-table);border-radius:var(--mo-radius-table);overflow:hidden;overflow-x:auto}
.mo-table th,.mo-table td{padding:11px 14px;vertical-align:baseline}
.mo-table th{background:var(--mo-table-head);font-size:13px;font-weight:600;color:var(--mo-text-2);text-align:left;border-bottom:1px solid var(--mo-line-table)}
.mo-table td{border-bottom:1px solid var(--mo-line-row)}
.mo-table th{color:var(--mo-on-table-head)}
.mo-table tbody tr:nth-child(even) td{background:var(--mo-table-body-alt)}
.mo-table .num{text-align:right}
.mo-table tbody tr:hover td{background:rgba(255,255,255,.05)}

/* MechOwl's speech bubble: cream with dark text; the tail (a triangle of the same colour) points at MechOwl. */
.mo-bubble{position:relative;background:var(--mo-bubble);color:var(--mo-on-bubble);border:0;border-radius:14px;font-size:15px;line-height:1.55}
.mo-bubble:before{content:"";position:absolute;left:-11px;top:var(--mo-bubble-tip,14px);width:12px;height:20px;background:var(--mo-bubble);clip-path:polygon(100% 0,0 50%,100% 100%)}

/* The screen image's window (2026-11-29): a light window — white, a light grey top bar with dark grey text, readable contents, the
   drawing paper white, a deep shadow so it stands out on the dark page. */
.mo-window{background:var(--mo-window);color:var(--mo-on-window);border:1px solid rgba(255,255,255,.14);border-radius:var(--mo-radius-card);box-shadow:var(--mo-shadow-window);overflow:hidden}
.mo-window-bar{background:var(--mo-window-bar);color:var(--mo-on-window-2);border-bottom:1px solid var(--mo-window-line)}

/* The faint grid behind a hero and the page's top: white 6%, 36px cells. */
.mo-grid{background-image:linear-gradient(var(--mo-grid-line) 1px,transparent 1px),linear-gradient(90deg,var(--mo-grid-line) 1px,transparent 1px);background-size:var(--mo-grid-cell) var(--mo-grid-cell)}

/* A band across the page, and the small label above a heading. */
.mo-band{background:var(--mo-band);border-top:1px solid var(--mo-line);border-bottom:1px solid var(--mo-line)}
.mo-band-box{border-radius:var(--mo-radius-band);border:1px solid var(--mo-line)}
.mo-eyebrow{font-size:13px;font-weight:600;letter-spacing:.08em;color:var(--mo-label)}

@media (prefers-reduced-motion:reduce){
  .mo-btn,.mo-card{transition:none}
  .mo-btn:hover,.mo-btn-primary:hover,.mo-btn-free:hover,.mo-btn-paid:hover,.mo-btn-business:hover,.mo-btn-secondary:hover,.mo-btn-danger:hover,.mo-card:hover{transform:none}
}

/* MECHOWL: the header and footer of Review AI — a canonical copy made from MechOwlReview/src/style.css by
   `npm run platform:design` (scripts/platform/design-css.mjs). Do not edit; products copy this file unchanged
   (platform spec ch3 3.1.1, MechOwlReview/docs/platform/03-design.md). */
@font-face{font-family:"Inter";font-style:normal;font-weight:400 800;font-display:swap;src:url(/calc/fonts/inter-latin-400-800.woff2) format("woff2-variations"),url(/calc/fonts/inter-latin-400-800.woff2) format("woff2");unicode-range:U+0020-007E,U+00A0-00FF,U+2010-2027,U+2030-203A,U+20AC,U+2122,U+2190-2193,U+2212}
:root{font-family:Inter,"Noto Sans JP",system-ui,sans-serif;color:#193039;background:#f3f5f2;font-synthesis:none}
header{display:flex;justify-content:space-between;align-items:center;padding:23px 5%;background:#fff;border-bottom:1px solid #dce3df}
.brand{font-size:23px;font-weight:750;text-decoration:none;color:#173d3a}
.brand span{font-weight:400}
.header-right,.actions,.pagination,.filters{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.muted,footer{color:#728079;font-size:12px;line-height:1.8}
footer{padding:28px 0}
@media(max-width:850px){header{padding:16px}
.header-right{gap:5px}
.header-right .pill{display:none}}
:root{color:#223c48; background:#f1f4f5; font-family:"Segoe UI","Noto Sans JP",system-ui,sans-serif; --ink:#223c48; --teal:#286d70; --line:#d8e2e5;}
header{padding:14px 3.5%; border-color:var(--line);}
.brand{display:flex; align-items:center; gap:8px; color:var(--ink); font-size:22px; letter-spacing:-.4px;}
.brand img{object-fit:contain;}
body > #app > header + main > aside{font-size:12px;}
@media(max-width:450px){header{padding:12px 16px;}
.brand{font-size:19px; gap:4px;}
.brand img{width:28px; height:32px;}}
:root{--ink:#152b43; --teal:#1e6874; --line:#dce3eb;}
header{padding:12px 3%; border-bottom:1px solid var(--line);}
.product-intro{flex:1; font-size:12px;}
.product-intro h1{font-size:22px;}
@media(max-width:700px){.product-intro{margin-bottom:8px;}
.header-right{flex-wrap:wrap; justify-content:flex-end;}}
header{gap:12px;}
@media(max-width:700px){header .brand{font-size:17px;}
header .header-right{max-width:52%; gap:5px;}
header .header-right button{font-size:11px; padding:6px 8px;}
header .pill{display:none;}}
.product-preview{background:white;border:1px solid #d0dbe7;border-radius:12px;box-shadow:0 12px 32px #253e5710;overflow:hidden}
.site-footer{display:flex; gap:24px; max-width:1480px; margin:auto; padding:24px 5%; border-top:1px solid var(--line);}
.site-footer a{color:#426372; font-size:12px;}
#home-logo[aria-disabled=true]{opacity:.5; cursor:default;}
.owl-avatar{display:inline-flex;flex-direction:column;align-items:center;justify-content:flex-start;flex:none;width:48px;gap:1px;vertical-align:middle}
.owl-avatar>img{display:block;object-fit:contain;width:100%;height:auto}
.owl-avatar>small{display:block;font-size:9px;line-height:1.2;font-weight:600;letter-spacing:0;color:#27515c;white-space:nowrap}
.owl-avatar--home{width:80px}
.owl-avatar--brand{width:36px}
.owl-avatar--brand>small,.owl-avatar--inline>small{font-size:7px}
.owl-avatar--inline{width:28px}
.local-only .owl-avatar{margin-right:8px}
.brand-reading{display:inline-flex;flex-direction:column;align-items:center;flex:none}
.brand-reading small{font-size:12px;font-weight:500;letter-spacing:.08em;line-height:1.5;margin-top:2px}
@media(max-width:700px){.owl-avatar{width:42px}
.owl-avatar--brand{width:28px}
.owl-avatar--home{width:60px}
.owl-avatar--inline{width:28px}
.brand-reading small{font-size:10px}
.owl-avatar--brand>small{font-size:7px}}
:root{--ink:#0d1b2a;--ink-2:#33475b;--muted:#5f7387;--line:#e2e8f0;--bg:#f5f7fa;--surface:#fff;
  --navy:#0b1f33;--navy-2:#11304a;--teal:#0f8b8d;--teal-strong:#0b6f74;--teal-soft:#e2f4f3;--cyan:#5eead4;
  --blue:#1d4f91;--blue-soft:#e7eef9;--green:#15803d;--green-soft:#e6f5ec;--amber:#b45309;--amber-soft:#fdf3e2;
  --radius:16px;--shadow-sm:0 1px 2px rgba(13,27,42,.06),0 1px 3px rgba(13,27,42,.05);--shadow-md:0 12px 32px -12px rgba(13,27,42,.22);
  --mono:ui-monospace,"SFMono-Regular","JetBrains Mono",Menlo,Consolas,monospace;
  font-family:Inter,"Hiragino Sans","Noto Sans JP","Yu Gothic UI","Segoe UI",system-ui,sans-serif;color:var(--ink);background:var(--bg);
  -webkit-font-smoothing:antialiased;}
header{position:sticky;top:0;z-index:20;padding:12px 3%;background:rgba(255,255,255,.82);backdrop-filter:saturate(1.6) blur(14px);-webkit-backdrop-filter:saturate(1.6) blur(14px);border-bottom:1px solid var(--line)}
.brand{font-size:20px;font-weight:800;letter-spacing:-.4px;color:var(--ink)}
.brand span{font-weight:500;color:var(--muted)}
header .pill{background:var(--teal-soft);color:var(--teal-strong);border:1px solid #c5e8e5;letter-spacing:.6px}
header .header-right button{background:transparent;border-color:var(--line);color:var(--ink-2);border-radius:999px;padding:8px 14px;font-weight:600}
header .header-right button:hover:enabled{background:#f0f4f8;filter:none}
.home-title .brand-reading>span{background:linear-gradient(92deg,#5eead4 0%,#7dd3fc 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
.home-title .brand-reading small{color:#8fb1c7;font-weight:600}
.home-hero .owl-avatar--home{width:76px}
.home-hero .owl-avatar>small{color:#cfe3ea}
.product-preview{background:#fff;border:1px solid rgba(255,255,255,.14);border-radius:18px;box-shadow:0 40px 80px -30px rgba(0,0,0,.65),0 0 0 6px rgba(255,255,255,.04);overflow:hidden;color:var(--ink)}
.site-footer{border-top:1px solid var(--line)}
:root{color-scheme:dark;
  --bg:#06111d;--surface:#0c1d30;--surface-2:#10263c;--surface-3:#153049;--line:rgba(148,197,230,.14);--line-strong:rgba(148,197,230,.26);
  --text:#e6eff6;--text-2:#b4c7d6;--muted:#8aa1b5;--ink:#e6eff6;--ink-2:#b4c7d6;
  --teal:#14b8a6;--teal-strong:#2dd4bf;--teal-soft:rgba(45,212,191,.12);--cyan:#5eead4;--sky:#7dd3fc;
  --blue:#7dd3fc;--blue-soft:rgba(125,211,252,.12);--green:#4ade80;--green-soft:rgba(74,222,128,.12);--amber:#fbbf24;--amber-soft:rgba(251,191,36,.12);--red:#f87171;--red-soft:rgba(248,113,113,.14);
  --shadow-sm:0 1px 0 rgba(255,255,255,.04) inset,0 10px 30px -18px rgba(0,0,0,.8);--shadow-md:0 24px 50px -24px rgba(0,0,0,.9);
  color:var(--text);background:var(--bg);}
html{background:var(--bg)}
.muted,footer{color:var(--muted)}
header{background:rgba(6,17,29,.72);border-bottom:1px solid var(--line)}
.brand{color:#fff}
.brand span{color:var(--muted)}
.owl-avatar>small{color:var(--text-2)}
header .pill{background:var(--teal-soft);color:var(--cyan);border-color:rgba(45,212,191,.3)}
header .header-right button{color:var(--text);border-color:var(--line-strong);background:rgba(255,255,255,.03)}
header .header-right button:hover:enabled{background:rgba(255,255,255,.08)}
.site-footer{border-top:1px solid var(--line)}
.site-footer a{color:var(--text-2)}
.home-speech,.product-preview,.preview-rows p{color:#0d1b2a}
.owl-avatar--mini{width:30px}
.owl-avatar--mini>small{display:none}
.owl-avatar--feedback{width:52px}
@media(max-width:700px){.owl-avatar--feedback{width:38px}}
@media(max-width:700px){.processing-owl .owl-avatar--home{width:56px}}
:root{--text-2:#dbe6ef;--ink-2:#dbe6ef;--muted:#b6c8d6}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.site-footer{flex-wrap:wrap}
header .header-left{display:flex;align-items:center;gap:12px;min-width:0}
header .header-resume{background:var(--amber-soft,#fff4d6);color:var(--text,#193039);border:1px solid rgba(251,191,36,.55);font-weight:700;white-space:nowrap;font-size:12.5px;padding:6px 12px;min-height:32px;border-radius:999px;line-height:1.2}
.account-menu{position:relative}
header .account-menu-button{display:inline-flex;align-items:center;gap:8px;font-weight:700;border-color:rgba(94,234,212,.45)}
.account-menu-dot{width:8px;height:8px;border-radius:50%;background:var(--muted,#8aa1b5)}
.account-menu-dot.is-on{background:var(--green,#4ade80)}
.account-menu-list{position:absolute;right:0;top:calc(100% + 8px);z-index:60;min-width:240px;max-width:min(320px,calc(100vw - 24px));background:var(--surface-2,#10263c);border:1px solid var(--line-strong,rgba(148,197,230,.26));border-radius:10px;padding:8px;box-shadow:var(--shadow-md,0 24px 50px -24px rgba(0,0,0,.9));display:flex;flex-direction:column;gap:2px}
.account-menu-list[hidden]{display:none}
.account-menu-status{margin:4px 8px 8px;font-size:12px;color:var(--text-2,#b4c7d6);overflow-wrap:anywhere;line-height:1.5}
header .account-menu-item{display:block;width:100%;text-align:left;background:transparent;border:0;border-radius:6px;padding:10px 12px;font-size:14px;color:var(--text,#e6eff6)}
header .account-menu-item:hover:enabled,header .account-menu-item:focus-visible{background:rgba(255,255,255,.08)}
header .header-right{margin-left:auto}
header .account-menu-button{color:var(--text,#193039);background:rgba(255,255,255,.03)}
@media(max-width:700px){header{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"left menu" "right right";row-gap:8px}
header .header-left{grid-area:left}
header .header-right{grid-area:right;max-width:none;justify-content:flex-end}
.account-menu{grid-area:menu;justify-self:end}
header .header-resume{font-size:11px;padding:6px 8px;white-space:normal}
header .account-menu-button{font-size:12px;padding:7px 10px}}
.signup-callout .signup-button,.header-signup{background:#f2b33d;color:#1a1205;border:1px solid #f2b33d;font-weight:700}
.header-account{display:flex;align-items:center;gap:8px}
header .header-signup{padding:9px 14px;border-radius:8px}
@media(max-width:700px){header .header-account{grid-area:menu;justify-self:end}
header .header-signup{font-size:12px;padding:7px 10px}}
.item-owl .owl-avatar{width:44px;flex:none}
@media(max-width:600px){.item-owl .owl-avatar{width:36px}}
.header-credits{display:flex;flex-direction:column;align-items:flex-end;gap:0;margin-right:8px;padding:4px 10px;border:1px solid var(--line-strong,rgba(148,197,230,.26));border-radius:10px;background:transparent;color:var(--text,#e6eff6);font-size:13px;line-height:1.3;cursor:pointer;min-height:40px;justify-content:center}
header .account-menu-button,header .header-credits{border-radius:10px}
header .header-credits{font-weight:600;font-family:inherit}
.header-credits strong{font-size:14px;color:#fff}
.header-credits-yen{font-size:11.5px;color:var(--text-2,#b4c7d6)}
.header-credits-expiry{font-size:11.5px;color:#f6c35f}
@media(max-width:600px){.header-credits{margin-right:4px;padding:3px 7px}
.header-credits-yen{font-size:10.5px}
.header-credits-expiry{font-size:10.5px}}
.site-footer a[data-legal]{white-space:nowrap}
:root{--table-line:rgba(170,205,232,.34);--table-line-strong:rgba(196,222,242,.62)}
:root{--text:#f4f8fb;--text-2:#dbe6ef;--muted:#c3d2de;--ink:#f4f8fb;--ink-2:#dbe6ef}
@font-face{font-family:"Barlow";font-style:normal;font-weight:600;font-display:swap;src:url(/calc/fonts/barlow-latin-600-normal.woff2) format("woff2")}
header .brand{display:inline-flex;align-items:center;gap:12px;color:#fff;text-decoration:none;--wm-h:17px}
header .brand .brand-name{display:inline-flex;flex-direction:column;align-items:center;gap:6px;color:#fff;font-weight:400}
header .brand .brand-line{display:inline-flex;align-items:center;gap:calc(var(--wm-h) * 21.5 / 22)}
header .brand .wordmark{display:block;height:var(--wm-h);width:auto;flex:none}
header .brand .brand-kana{display:block;font-size:10px;font-weight:500;line-height:1;letter-spacing:.3em;padding-left:.3em;color:#e6eff6;white-space:nowrap}
header .brand .brand-kana-product{white-space:pre}
header .header-left{flex:none}
@media(max-width:1280px){header .brand{--wm-h:14px}}
@media(max-width:700px){header .brand{gap:8px}
header .brand .brand-kana{font-size:9px}}
.home-hero .home-copy,.home-copy .brand-tagline,.home-copy .home-subcopy{font-family:Inter,"Hiragino Sans","Noto Sans JP","Yu Gothic UI","Segoe UI",system-ui,sans-serif}
@media(min-width:701px){header{flex-wrap:nowrap;gap:10px}
header .header-left{flex:0 1 auto;min-width:0;gap:14px}
header .header-right{flex-wrap:nowrap;gap:6px;margin-left:auto}
header .header-right button,header .header-resume,header .account-menu-button,.header-credits{white-space:nowrap}
header .header-right button{padding:6px 12px;font-size:13px}
header .account-menu-button{padding:6px 12px;font-size:13px}
.header-credits{padding:4px 10px;margin-right:0;line-height:1.25}
.header-credits strong{font-size:13.5px}
.header-credits-yen{font-size:11px}}
@media(min-width:701px) and (max-width:1600px){header .header-right .pill{display:none}}
@media(min-width:701px) and (max-width:800px){header{gap:6px}
header .header-left{gap:8px}
header .header-right{gap:4px}
header .header-right button,header .account-menu-button{padding:4px 7px;font-size:11.5px}
header .header-resume{padding:4px 8px;font-size:11.5px}
.header-credits{padding:3px 7px}}
@media(min-width:701px) and (max-width:1024px){header .header-right button,header .account-menu-button{padding:5px 9px;font-size:12px}
header .header-resume{font-size:12px;padding:5px 10px}}
@media(max-width:700px){header .header-left{flex-wrap:wrap;row-gap:6px}
header .header-resume{white-space:normal;flex-basis:auto}}
@media(min-width:701px){header{flex-wrap:wrap;row-gap:10px;justify-content:flex-end}
header .header-left{flex:none;margin-right:auto}}
@media(max-width:700px){header{grid-template-areas:"left left" "menu menu" "right right"}
header .brand{--wm-h:12px}
header .header-right{justify-content:flex-start;flex-wrap:wrap;gap:6px}
header .header-right .header-resume{white-space:nowrap}}
@media(max-width:360px){header .brand{--wm-h:10.5px}}
header .header-right .header-resume,header .header-right .header-resume:hover:enabled{background:var(--amber-soft,#fff4d6);color:var(--text,#193039);border:1px solid rgba(251,191,36,.55);font-weight:700}
.owl-avatar,.home-hero .owl-avatar--home,.item-owl .owl-avatar,.processing-owl .owl-avatar--home{width:auto}
.owl-avatar{--owl-h:56px}
.owl-avatar>img{height:var(--owl-h);width:auto;max-width:none;object-fit:contain}
.owl-avatar--home{--owl-h:150px}
.processing-owl .owl-avatar--home{--owl-h:104px}
.owl-avatar--feedback{--owl-h:60px}
.owl-avatar--item{--owl-h:52px}
.owl-avatar--mini{--owl-h:40px}
.owl-avatar--brand{--owl-h:32px}
.owl-avatar--inline{--owl-h:24px}
@media(max-width:700px){.owl-avatar,.home-hero .owl-avatar--home,.item-owl .owl-avatar,.processing-owl .owl-avatar--home{width:auto}
.owl-avatar{--owl-h:48px}
.owl-avatar--home{--owl-h:112px}
.processing-owl .owl-avatar--home{--owl-h:84px}
.owl-avatar--feedback{--owl-h:46px}
.owl-avatar--item{--owl-h:44px}
.owl-avatar--mini{--owl-h:36px}
.owl-avatar--brand{--owl-h:28px}
.owl-avatar--inline{--owl-h:22px}}
.home-companion .owl-avatar--home{--owl-h:var(--home-owl-h)}
.site-footer .footer-vision{flex-basis:100%;margin:4px 0 0;font-size:12px;color:var(--muted)}
.site-footer{justify-content:center;text-align:center;column-gap:20px;row-gap:10px}
.site-footer .footer-vision{text-align:center}
.site-footer .footer-product{display:contents}
.site-footer .footer-product:empty{display:none}
[id]:not(header,header *){scroll-margin-top:calc(var(--header-h,64px) + 12px)}
@media(max-width:700px){[id]:not(header,header *){scroll-margin-top:calc(var(--header-h,112px) + 8px)}}
.products-menu{position:relative}
.header-nav{display:flex;align-items:center;gap:6px}
.header-nav-toggle{display:none}
header .header-link{display:inline-flex;align-items:center;white-space:nowrap;padding:6px 12px;font-size:13px;font-weight:600;border:1px solid var(--line-strong,rgba(148,197,230,.26));border-radius:999px;color:var(--text,#e6eff6);text-decoration:none;background:rgba(255,255,255,.03)}
header .header-link:hover{background:rgba(255,255,255,.08)}
header .header-link:focus-visible,.header-nav-toggle:focus-visible{outline:2px solid #5eead4;outline-offset:2px}
@media(max-width:1100px){header .header-right{position:relative}
header .header-right .header-nav-toggle{display:inline-flex;white-space:nowrap}
.header-nav{display:none;position:absolute;right:0;top:calc(100% + 8px);z-index:40;flex-direction:column;align-items:stretch;gap:6px;min-width:220px;padding:10px;border:1px solid var(--line-strong,rgba(148,197,230,.26));border-radius:12px;background:#0b1a29;box-shadow:0 12px 30px rgba(0,0,0,.45)}
.header-nav.open{display:flex}
.header-nav>*,header .header-nav .header-link,header .header-nav button{width:100%;justify-content:flex-start;text-align:left}
.header-nav .products-menu{width:100%}}
@media(max-width:700px){header{display:flex;flex-wrap:wrap;align-items:center;column-gap:6px;row-gap:6px}
header::after{content:"";flex-basis:100%;order:3}
header .header-left{order:0;flex:1 1 0;min-width:0}
header .header-right{display:contents}
header #language{order:1;flex:none;padding:6px 9px;font-size:11.5px;white-space:nowrap}
header .header-right .header-nav-toggle{order:2;flex:none}
header .header-resume{order:4;flex:none;margin-right:auto}
.header-credits{order:5;flex:none;margin-left:auto;margin-right:0}
.header-resume~.header-credits{margin-left:0}
.header-account{order:6;flex:none;display:flex;align-items:center;gap:5px;margin-left:auto}
.header-credits+.header-account{margin-left:0}
.header-nav{right:max(12px,env(safe-area-inset-right,0px))}
header .account-menu-button,header .header-signup{padding:6px 9px;font-size:11.5px;white-space:nowrap;writing-mode:horizontal-tb}
header .header-right .header-nav-toggle{padding:6px 10px;font-size:11.5px}
header .header-resume{padding:5px 7px;font-size:11px;white-space:normal;max-width:96px;line-height:1.2}}
@media(max-width:370px){header #language,header .header-right .header-nav-toggle{padding:5px 7px;font-size:11px}}
@media(max-width:700px){header .brand{--wm-h:10px;gap:8px}
header .brand img{width:26px;height:30px}}
@media(max-width:430px){header .brand{--wm-h:8.4px;gap:6px}
header .brand img{width:22px;height:26px}}
@media(max-width:370px){header .brand{--wm-h:7.6px}}
@media(max-width:480px){header .brand .brand-line--long{flex-direction:column;align-items:center;gap:calc(var(--wm-h) * 0.4)}}
.header-nav-toggle{align-items:center;gap:6px}
.header-nav-icon{flex:none}
@media(max-width:700px){header .header-right .header-nav-toggle{width:40px;height:34px;padding:0;justify-content:center}
.header-nav-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}}
@media(max-width:700px){header .header-left,header .brand,header .brand .brand-name{min-width:0;max-width:100%}
header .brand .brand-kana{white-space:normal;letter-spacing:.12em;padding-left:0;line-height:1.25}
header .brand .brand-kana>span{white-space:nowrap}
header .brand .brand-kana-product{white-space:nowrap}}
@media(min-width:1101px) and (max-width:1560px){header .brand{--wm-h:13px}
header .header-right,.header-nav{gap:4px}
header .header-right button,header .header-link,header .account-menu-button,header .header-resume{padding:5px 9px;font-size:12px}
.header-credits{padding:3px 8px}}
header :is(#header-resume,#header-nav-toggle,#products-menu-button,.header-link,#pricing-open,#language,#account-menu-button,#header-signup){box-sizing:border-box;height:32px;min-height:32px;max-width:none;display:inline-flex;align-items:center;gap:6px;padding:0 12px;font-size:12.5px;font-weight:600;line-height:1;white-space:nowrap;border-width:1px;border-style:solid;writing-mode:horizontal-tb}
header #header-signup{font-weight:700}
header .header-right #header-resume,header .header-right #header-resume:hover:enabled{background:rgba(255,255,255,.03);border-color:#fbbf24;color:#fcd34d;font-weight:600}
header .header-right #header-resume:hover:enabled{background:rgba(251,191,36,.1)}
header #account-menu-button .account-menu-dot{flex:none}
@media(min-width:1101px) and (max-width:1560px){header :is(#header-resume,#header-nav-toggle,#products-menu-button,.header-link,#pricing-open,#language,#account-menu-button,#header-signup){padding:0 10px;font-size:12px}}
@media(min-width:701px) and (max-width:1100px){header :is(#header-resume,#header-nav-toggle,#products-menu-button,.header-link,#pricing-open,#language,#account-menu-button,#header-signup){height:30px;min-height:30px;padding:0 8px;font-size:11.5px}}
@media(max-width:700px){header :is(#header-resume,#header-nav-toggle,#products-menu-button,.header-link,#pricing-open,#language,#account-menu-button,#header-signup){height:30px;min-height:30px;padding:0 10px;font-size:11.5px}
header .header-right .header-nav-toggle{height:30px;min-height:30px}
header .header-nav :is(#products-menu-button,.header-link,#pricing-open){height:auto;min-height:40px}}
@media(max-width:370px){header :is(#header-resume,#header-nav-toggle,#products-menu-button,.header-link,#pricing-open,#language,#account-menu-button,#header-signup){padding:0 7px;font-size:11px}}
@media(max-width:370px){header .header-right #header-resume{white-space:normal;height:auto;max-width:104px;line-height:1.15;padding:3px 7px;text-align:center}}
@media(min-width:1101px){header .header-right #header-nav-toggle{display:none}}
@media(min-width:1101px) and (max-width:1400px){header:has(#header-resume) :is(#header-resume,#header-nav-toggle,#products-menu-button,.header-link,#pricing-open,#language,#account-menu-button,#header-signup){padding:0 7px;font-size:11.5px}
header:has(#header-resume) .header-right,header:has(#header-resume) .header-nav{gap:4px}}
@media(min-width:1101px) and (max-width:1250px){header .header-right #header-resume{white-space:normal;line-height:1.05;text-align:center;justify-content:center}
html[lang="en"] header .header-right #header-resume{max-width:62px}
html[lang="ja"] header .header-right #header-resume{max-width:56px}}
@media(min-width:1101px) and (max-width:1400px){header:has(#header-resume) :is(#header-resume,#header-nav-toggle,#products-menu-button,.header-link,#pricing-open,#language,#account-menu-button,#header-signup){padding:0 6px;font-size:11px}
header:has(#header-resume){gap:8px}
header:has(#header-resume) .header-right,header:has(#header-resume) .header-nav{gap:3px}}
header .brand{--wm-h:19px}
header .brand .brand-kana{font-size:9px}
@media(max-width:1280px){header .brand{--wm-h:15px}}
@media(min-width:1101px) and (max-width:1560px){header .brand{--wm-h:14px}}
@media(max-width:700px){header .brand{--wm-h:11px}
header .brand .brand-kana{font-size:8px}}
@media(max-width:430px){header .brand{--wm-h:9.2px}}
@media(max-width:370px){header .brand{--wm-h:8.2px}}
.brand-tagline{margin:0 0 2px;font-size:16px;font-weight:600;line-height:1.5;letter-spacing:.04em;color:#7dd3fc;word-break:keep-all;overflow-wrap:anywhere;line-break:strict}
@media(max-width:520px){.brand-tagline{font-size:14px;margin-bottom:-2px}}
@media(min-width:1101px) and (max-width:1180px){header:has(#header-resume) :is(#header-resume,#header-nav-toggle,#products-menu-button,.header-link,#pricing-open,#language,#account-menu-button,#header-signup){padding:0 5px;font-size:10.5px}}
.header-credits-contract{font-size:11.5px;color:#5eead4;display:block;max-width:16em;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:600px){.header-credits-contract{font-size:10.5px;max-width:9em}}
.header-nav-more{display:none}
@media(max-width:767px){header{display:flex!important;flex-wrap:nowrap!important;align-items:center;column-gap:10px;row-gap:0;grid-template-areas:none!important}
header::after{content:none!important;display:none!important}
header .header-left{order:0;flex:1 1 auto;min-width:0}
header .header-right{display:flex!important;order:1;flex:none;position:relative;margin-left:auto;gap:0;max-width:none}
header .header-right>:not(.header-nav-toggle):not(.header-nav),header>.header-credits,header>.header-account{display:none!important}
header .header-right #header-nav-toggle{display:inline-flex!important;width:44px;height:44px;min-height:44px;padding:0;justify-content:center;align-items:center}
.header-nav{display:none!important;position:absolute;right:0;top:calc(100% + 8px);z-index:40;flex-direction:column;align-items:stretch;gap:6px;width:max-content;min-width:240px;max-width:calc(100vw - 24px);padding:10px;border:1px solid var(--line-strong,rgba(148,197,230,.26));border-radius:12px;background:#0b1a29;box-shadow:0 12px 30px rgba(0,0,0,.45)}
.header-nav.open{display:flex!important}
.header-nav-more{display:flex;flex-direction:column;align-items:stretch;gap:6px;padding-bottom:8px;border-bottom:1px solid var(--line-strong,rgba(148,197,230,.26))}
header .header-nav :is(button,a),header .header-nav .header-credits{width:100%;box-sizing:border-box;min-height:44px!important;height:auto!important;padding:8px 12px!important;font-size:14px!important;justify-content:flex-start;text-align:left;white-space:normal!important;max-width:none}
header .header-nav .header-credits{flex-direction:column;align-items:flex-start;margin:0}
.header-nav-more>*{order:0!important}
header .brand{--wm-h:13px;gap:8px}
header .brand img{width:30px;height:34px}}
@media(max-width:430px){header .brand{--wm-h:10.6px;gap:6px}
header .brand img{width:26px;height:30px}}
@media(max-width:370px){header .brand{--wm-h:10.2px}}
@media(max-width:340px){header .brand{--wm-h:8.8px}}
.pricing-screen .product-preview{box-shadow:0 24px 48px -24px rgba(0,0,0,.55),0 0 0 6px rgba(255,255,255,.04)}
header .header-link>span[aria-hidden="true"]{font-size:.85em;margin-left:1px}
@media(min-width:701px) and (max-width:1300px){header .header-link>span[aria-hidden="true"]{font-size:.75em;margin-left:0}}
:root{--bg:var(--mo-bg);--surface:var(--mo-surface);--surface-2:var(--mo-surface);--surface-3:var(--mo-card-top);
  --line:var(--mo-line);--line-strong:var(--mo-line-table);
  --text:var(--mo-text);--text-2:var(--mo-text-2);--muted:var(--mo-text-note);--ink:var(--mo-text);--ink-2:var(--mo-text-2);
  --teal:var(--mo-accent);--teal-strong:var(--mo-accent);--cyan:var(--mo-label);
  --table-line:var(--mo-line-row);--table-line-strong:var(--mo-line-table);
  --radius:var(--mo-radius-card);
  background:var(--mo-bg);}
html{background-color:var(--mo-bg)}
.muted,footer,small{color:var(--mo-text-note)}
header,#app > header{background:rgba(11,13,16,.72);border-bottom:1px solid rgba(255,255,255,.07)}
.product-preview{background:var(--mo-surface);border:1px solid rgba(255,255,255,.1);border-radius:var(--mo-radius-card);box-shadow:0 30px 80px rgba(0,0,0,.6),0 0 0 1px rgba(45,212,191,.08);color:var(--mo-text)}
.product-preview .preview-chrome{background:transparent;border-bottom:1px solid rgba(255,255,255,.07);color:var(--mo-text-note)}
.product-preview .preview-chrome .preview-app{color:var(--mo-text-2)}
.product-preview .preview-dots i{background:#3A3F48}
button.primary,button[type=submit],#continue,#feedback,#sample,.home-actions.home-start #home-free.start-button,.plan-card .plan-cta[data-credit-go],button.primary[data-credit-offer],.signup-callout .signup-button,#header-signup{background:var(--mo-accent);color:var(--mo-on-accent);border:1px solid var(--mo-accent);box-shadow:var(--mo-inset-primary)}
button.primary:hover:enabled,button[type=submit]:hover:enabled,#continue:hover:enabled,#feedback:hover:enabled,#sample:hover:enabled,.home-actions.home-start #home-free.start-button:hover:enabled,.plan-card .plan-cta[data-credit-go]:hover:enabled,button.primary[data-credit-offer]:hover:enabled,.signup-callout .signup-button:hover:enabled,#header-signup:hover:enabled{background:var(--mo-accent-hover);border-color:var(--mo-accent-hover);transform:translateY(-2px);box-shadow:var(--mo-shadow-primary),var(--mo-inset-primary);filter:none}
header :is(#products-menu-button,.header-link,#pricing-open,#language,#account-menu-button,#header-resume){border-radius:var(--mo-radius-button)}
header :is(#products-menu-button,.header-link,#pricing-open,#language,#account-menu-button,#header-resume,#header-nav-toggle):not(.primary){background:rgba(255,255,255,.03)}
.product-preview .preview-body{background:transparent}
@media (min-width:1024px){.home-copy .home-companion .owl-avatar--home{--owl-h:56px}}
header .brand,header .brand .brand-name{color:var(--mo-wordmark)}
header .brand .brand-kana{color:var(--mo-wordmark-reading)}
.product-preview{background:var(--mo-window);color:var(--mo-on-window);border:1px solid rgba(255,255,255,.14);box-shadow:var(--mo-shadow-window)}
.product-preview .preview-chrome{background:var(--mo-window-bar);border-bottom:1px solid var(--mo-window-line);color:var(--mo-on-window-2)}
.product-preview .preview-chrome .preview-app{color:var(--mo-on-window)}
.product-preview .preview-dots i{background:#C5CCD5}
.product-preview .preview-body,.product-preview .preview-sheet{background:var(--mo-window)}
#app .review-item .item-owl .owl-avatar{background:transparent;padding:0}
#app .review-item .item-owl .owl-avatar>small{color:var(--mo-on-sheet-2)}
header button,header .header-link,header a{border-radius:var(--mo-radius-button)}
header button:not(.primary),header .header-link{border-width:1px}
button.primary,button[type=submit],#continue,#feedback,#sample,.home-actions.home-start #home-free.start-button,.signup-callout .signup-button,#header-signup{background:var(--mo-accent);color:var(--mo-on-accent);border:1px solid var(--mo-accent)}
.product-preview .preview-body{padding:6px 6px 2px}
.product-preview .preview-rows{padding:2px 12px 4px}
header.official-header{--oh-edge:max(clamp(20px,6vw,96px),calc((100% - 1200px) / 2));height:72px;min-height:72px;padding:0 var(--oh-edge);display:flex;align-items:center;gap:40px;background:rgba(11,13,16,.72);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid rgba(255,255,255,.08);box-sizing:border-box}
header.official-header .brand{display:inline-flex;align-items:center;gap:19px;min-height:44px;text-decoration:none;color:#EDEFF3;flex:none}
header.official-header .brand .owl-avatar--brand{width:auto}
header.official-header .brand .owl-avatar--brand>img{height:30px;width:auto}
header.official-header .brand .brand-name{display:flex;flex-direction:column;align-items:center;gap:5px}
header.official-header .brand .brand-line{display:block}
header.official-header .brand .wordmark{width:132px;height:auto;--wm-h:auto}
header.official-header .brand .brand-kana{display:block;font-size:10px;font-weight:400;line-height:1;letter-spacing:.42em;padding-left:.42em;color:#EDEFF3;white-space:nowrap}
header.official-header .header-right{gap:4px;flex:1;justify-content:flex-start;min-width:0}
header.official-header .header-right .header-nav{display:flex;align-items:center;gap:4px}
header.official-header .header-right #language{margin-left:auto}
header.official-header :is(.header-link,#products-menu-button,#pricing-open,#header-strengths,#header-business,#header-products){display:inline-flex;align-items:center;min-height:44px;padding:0 12px;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none;font-size:14px;font-weight:500;letter-spacing:0;color:#C2C7D0;text-decoration:none;transform:none}
header.official-header :is(.header-link,#products-menu-button,#pricing-open,#header-strengths,#header-business,#header-products):hover{color:#FFFFFF;background:transparent!important}
header.official-header :is(.header-link,#products-menu-button)[aria-current=page],header.official-header #products-menu-button[aria-expanded=true]{color:#FFFFFF;text-decoration:underline;text-underline-offset:8px;text-decoration-thickness:2px}
header.official-header #language{display:inline-flex;align-items:center;min-height:44px;padding:0 12px;background:transparent!important;border:0!important;border-radius:0!important;font-size:14px;font-weight:500;color:#C2C7D0}
header.official-header #language:hover{color:#FFFFFF}
@media (max-width:899px){header.official-header{height:60px;min-height:60px}
header.official-header .brand{gap:14px}
header.official-header .brand .owl-avatar--brand>img{height:25px}
header.official-header .brand .wordmark{width:114px}
header.official-header .brand .brand-name{gap:4px}
header.official-header .brand .brand-kana{font-size:9.5px;letter-spacing:.36em;padding-left:.36em}}

/* MECHOWL: the hero's left column of Review AI's top page (kicker, title, subtitle, buttons, the note under them, the link to
   the strengths) — a canonical copy made from MechOwlReview/src/style.css by `npm run platform:design`
   (scripts/platform/design-css.mjs). Do not edit; products copy this file unchanged after chrome.css, which carries the fonts
   (platform spec ch3 3.1.1, MechOwlReview/docs/platform/03-design.md; owner's decision 2026-11-18). */
.home-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:36px;align-items:center}
.home-copy h1{font-size:clamp(36px,3.3vw,56px);line-height:1.3;letter-spacing:-1.4px;margin:16px 0;max-width:760px}
@media(max-width:850px){.home-hero{grid-template-columns:1fr;gap:24px}
.home-copy h1{font-size:38px}}
@media(max-width:520px){.home-copy h1{font-size:31px;letter-spacing:-.8px}}
@media(max-width:520px){.home-copy h1{font-size:31px; line-height:1.35;}}
.home-title .title-second{display:flex;align-items:flex-start;white-space:nowrap;margin-top:8px}
.home-copy .home-note{display:none}
@media(max-width:700px){.home-copy h1{font-size:clamp(25px,7.6vw,38px)}}
.home-hero{position:relative;isolation:isolate;overflow:hidden;gap:48px;padding:64px 56px 56px;border-radius:28px;color:#e6eff6;
  background:radial-gradient(900px 420px at 88% -12%,rgba(45,212,191,.22),transparent 60%),radial-gradient(700px 380px at -5% 110%,rgba(56,189,248,.14),transparent 60%),linear-gradient(155deg,#0a1b2d 0%,#0e2740 55%,#0b2236 100%);
  box-shadow:0 30px 60px -30px rgba(10,27,45,.6)}
.home-hero:before{content:"";position:absolute;inset:0;z-index:-1;background-image:linear-gradient(rgba(148,197,230,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(148,197,230,.07) 1px,transparent 1px),linear-gradient(rgba(148,197,230,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(148,197,230,.035) 1px,transparent 1px);background-size:96px 96px,96px 96px,24px 24px,24px 24px;-webkit-mask-image:radial-gradient(ellipse at 60% 40%,#000 30%,transparent 80%);mask-image:radial-gradient(ellipse at 60% 40%,#000 30%,transparent 80%)}
.home-hero .eyebrow{display:inline-flex;align-items:center;gap:10px;margin:0;padding:6px 12px;border:1px solid rgba(94,234,212,.28);border-radius:999px;background:rgba(94,234,212,.08);color:#8ff0df;font-size:11px}
.home-copy h1,.home-hero .home-title{color:#fff;font-size:clamp(40px,3.9vw,56px);font-weight:800;letter-spacing:-.02em;line-height:1.12;margin:22px 0 18px}
.home-title .brand-reading>span{background:linear-gradient(92deg,#5eead4 0%,#7dd3fc 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
.home-title .brand-reading small{color:#8fb1c7;font-weight:600}
.home-title .title-second{margin-top:6px}
.home-hero .text-button{color:#9fd8d2;margin:6px 0 0;padding:6px 0;background:transparent;border:0;box-shadow:none;font-weight:600}
.home-hero .text-button:hover:enabled{background:transparent;color:#fff}
@media(max-width:1100px){.home-hero{padding:48px 36px}}
@media(max-width:850px){.home-hero{padding:40px 24px 28px;border-radius:22px;gap:32px}}
@media(max-width:520px){.home-hero{padding:32px 18px 20px;border-radius:20px}
.home-copy h1,.home-hero .home-title{font-size:clamp(28px,8.4vw,38px)}}
.home-copy h1,.home-hero .home-title{font-size:clamp(34px,3.3vw,48px)}
@media(max-width:520px){.home-copy h1,.home-hero .home-title{font-size:clamp(24px,7vw,34px)}}
.home-actions.home-start{display:flex;flex-direction:column;align-items:stretch;gap:22px;width:100%;max-width:380px;margin:28px 0 8px}
.home-actions.home-start .start-button{display:flex;align-items:center;justify-content:center;text-align:center;width:100%;min-height:56px;margin:0;padding:12px 20px;border-radius:12px;font-size:16px;font-weight:700;line-height:1.4}
.home-actions.home-start .start-note{display:block;margin:-6px 0 0;text-align:center;font-size:12.5px;font-weight:600;color:var(--text-2,#b4c7d6)}
.home-actions.home-start .start-note{text-wrap:balance;line-break:strict;word-break:auto-phrase}
@media(max-width:520px){.home-actions.home-start{max-width:none;gap:18px}
.home-actions.home-start .start-button{font-size:15px;min-height:52px}}
.home-actions.home-start .home-signup-line{margin:-10px 0 0;text-align:center;font-size:14px;font-weight:700;line-height:1.5;color:#f2b33d}
.home-signup-line .home-signup-ref{display:block;font-size:12.5px;font-weight:600;color:var(--text-2,#b4c7d6)}
.home-hero .home-title{font-family:"Barlow","Hiragino Sans","Hiragino Kaku Gothic ProN","Noto Sans JP","Yu Gothic UI","Segoe UI",system-ui,sans-serif;font-weight:600;line-height:1.25;letter-spacing:.01em;text-transform:uppercase;text-wrap:balance;margin:0 0 16px}
.home-hero .home-title .title-line{display:block}
.home-subcopy{margin:0 0 10px;color:#e6f4f1;font-size:clamp(18px,1.6vw,22px);font-weight:700;line-height:1.5;letter-spacing:.02em;word-break:keep-all;overflow-wrap:anywhere;line-break:strict}
@media(max-width:520px){.home-hero .home-title .title-line{display:inline}
.home-subcopy{font-size:17px}}
.home-hero .home-title{font-size:clamp(44px,4.4vw,64px);margin:0 0 20px}
.home-subcopy{font-size:clamp(19px,1.75vw,25px);margin:0}
.home-actions.home-start{max-width:440px;margin:40px 0 8px;gap:22px}
.home-actions.home-start .start-button{min-height:64px;font-size:18px;border-radius:14px}
@media(max-width:850px){.home-hero .home-title{font-size:clamp(36px,6vw,52px)}}
@media(max-width:520px){.home-hero .home-title{font-size:clamp(30px,8.6vw,38px);margin-bottom:14px}
.home-subcopy{font-size:17px}
.home-actions.home-start{margin-top:28px;gap:18px}
.home-actions.home-start .start-button{min-height:56px;font-size:16px}}
.home-hero .home-copy,.home-copy .brand-tagline,.home-copy .home-subcopy{font-family:Inter,"Hiragino Sans","Noto Sans JP","Yu Gothic UI","Segoe UI",system-ui,sans-serif}
.home-actions.home-start .start-button{font-family:inherit;line-height:1.4;letter-spacing:normal}
.home-actions.home-start .start-note{font-family:inherit;line-height:normal;letter-spacing:normal}
.home-strengths-link{font-family:inherit;line-height:1.8}
.home-own-simple{align-self:center;font-size:13px}
.home-strengths{max-width:440px;margin:14px 0 0}
.home-strengths-link{position:relative;display:flex;align-items:center;gap:12px;padding:13px 16px 13px 14px;border-radius:12px;border:1px solid rgba(111,211,194,.38);background:linear-gradient(120deg,rgba(111,211,194,.10),rgba(255,255,255,.03) 55%,rgba(240,180,60,.08));color:#e8f3f1;text-decoration:none;font-size:14.5px;font-weight:650;letter-spacing:.01em;overflow:hidden;transition:border-color .2s,box-shadow .2s,transform .2s}
.home-strengths-link::after{content:"";position:absolute;left:14px;right:14px;bottom:0;height:2px;background:linear-gradient(90deg,#2ed3b7,#f0b43c);opacity:.55;transform:scaleX(.35);transform-origin:left;transition:transform .3s,opacity .3s}
.home-strengths-mark{flex:none;width:10px;height:10px;border-radius:3px;background:linear-gradient(135deg,#2ed3b7,#f0b43c);box-shadow:0 0 10px rgba(46,211,183,.55);transform:rotate(45deg)}
.home-strengths-text{flex:1}
.home-strengths-arrow{flex:none;font-size:16px;color:#6fd3c2;transition:transform .2s}
.home-strengths-link:hover,.home-strengths-link:focus-visible{border-color:rgba(111,211,194,.75);box-shadow:0 6px 22px rgba(46,211,183,.16)}
.home-strengths-link:hover::after,.home-strengths-link:focus-visible::after{transform:scaleX(1);opacity:.9}
.home-strengths-link:hover .home-strengths-arrow,.home-strengths-link:focus-visible .home-strengths-arrow{transform:translateX(4px)}
@media(prefers-reduced-motion:reduce){.home-strengths-link,.home-strengths-link::after,.home-strengths-arrow{transition:none}}
@media(max-width:520px){.home-strengths{max-width:none}
.home-strengths-link{font-size:14px}}
.brand-tagline{margin:0 0 2px;font-size:16px;font-weight:600;line-height:1.5;letter-spacing:.04em;color:#7dd3fc;word-break:keep-all;overflow-wrap:anywhere;line-break:strict}
@media(max-width:520px){.brand-tagline{font-size:14px;margin-bottom:-2px}}
.hero-fit{box-sizing:border-box;height:var(--hero-h);min-height:0;padding-top:clamp(16px,4.5vh,64px);padding-bottom:clamp(16px,4.5vh,56px);align-items:center;overflow:hidden}
.hero-fit-media{margin-left:auto;margin-right:auto;max-width:none}
.hero-fit-hidden{display:none!important}
.home-hero .home-title{letter-spacing:.01em}
.home-hero{background:radial-gradient(900px 480px at 75% 10%,rgba(45,212,191,.16),transparent 70%),radial-gradient(700px 400px at 10% 90%,rgba(59,130,246,.10),transparent 70%),var(--mo-band);border:1px solid var(--mo-line);border-radius:var(--mo-radius-band);box-shadow:none;color:var(--mo-text)}
.home-hero:before{display:none}
.home-hero .home-subcopy{color:var(--mo-text-2)}
.home-actions.home-start #home-free.start-button{background:var(--mo-accent);color:var(--mo-on-accent);border:1px solid var(--mo-accent);box-shadow:var(--mo-inset-primary)}
.home-actions.home-start #home-free.start-button:hover:enabled{background:var(--mo-accent-hover);border-color:var(--mo-accent-hover);transform:translateY(-2px);box-shadow:var(--mo-shadow-primary),var(--mo-inset-primary);filter:none}
.home-actions.home-start #home-detailed.start-button{background:transparent;color:var(--mo-text);border:1px solid var(--mo-line-button);box-shadow:none}
.home-actions.home-start #home-detailed.start-button:hover{border-color:var(--mo-line-button-hover);background:rgba(255,255,255,.08);color:#fff;transform:translateY(-2px)}
@media (min-width:1024px){.home-hero{grid-template-columns:minmax(0,45fr) minmax(0,55fr);gap:clamp(24px,3vw,48px)}
.home-hero .home-title{font-size:clamp(32px,min(3.2vw,6vh),52px);margin-bottom:clamp(8px,1.4vh,16px)}
.home-copy .home-companion{display:flex;align-items:flex-start;gap:12px;margin:clamp(10px,2vh,22px) 0 0;--home-owl-h:56px}
.home-copy .home-companion .owl-avatar--home{--owl-h:56px}
.home-copy .home-companion .home-speech{margin-top:calc(var(--home-owl-h) * .326 - 24px);padding:8px 14px;font-size:14px;line-height:1.5;white-space:nowrap}
.home-hero .home-actions.home-start{display:flex;flex-direction:row;flex-wrap:wrap;align-items:stretch;gap:12px;margin-top:clamp(14px,2.6vh,30px);max-width:none}
.home-hero .home-actions.home-start .start-button{flex:1 1 calc(50% - 7px);width:auto;max-width:none;min-width:0;height:54px;min-height:54px;padding:0 18px;font-size:16px;white-space:nowrap}
.home-hero .home-actions.home-start>:not(.start-button){flex:1 0 100%;order:2}
.home-hero .home-actions.home-start>.start-paid{flex:1 1 calc(50% - 7px);order:0;min-width:0;align-self:flex-start}
.home-hero .home-actions.home-start .start-paid .start-button{flex:0 0 auto;width:100%}}
.home-actions.home-start .start-paid{display:flex;flex-direction:column;gap:8px;min-width:0}
.home-actions.home-start .start-paid .start-note{margin:0}
@media (max-width:1023px){.home-hero .home-copy{display:flex;flex-direction:column}
.home-hero .home-copy>*{min-width:0}
.home-hero .home-copy .home-companion{order:99;margin-top:24px;margin-bottom:0}}
@media (min-width:1600px){.home-hero{--hero-wide:min(1440px,calc(100vw - 64px));width:var(--hero-wide);max-width:none;margin-left:calc((100% - var(--hero-wide)) / 2);margin-right:calc((100% - var(--hero-wide)) / 2)}}
.home-hero{position:relative;isolation:isolate;background:radial-gradient(900px 420px at 88% -12%,rgba(45,212,191,.22),transparent 60%),radial-gradient(700px 380px at -5% 110%,rgba(56,189,248,.14),transparent 60%),linear-gradient(155deg,#0a1b2d 0%,#0e2740 55%,#0b2236 100%);border:1px solid var(--mo-line-box);border-radius:var(--mo-radius-band);box-shadow:0 30px 60px -30px rgba(10,27,45,.6)}
.home-hero:before{content:"";display:block;position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:inherit;background-image:linear-gradient(var(--mo-grid-line) 1px,transparent 1px),linear-gradient(90deg,var(--mo-grid-line) 1px,transparent 1px);background-size:var(--mo-grid-cell) var(--mo-grid-cell);-webkit-mask-image:none;mask-image:none}
@media (min-width:521px){.home-hero .home-title{font-size:var(--mo-hero-title)}}
@media (min-width:1024px){.home-hero .home-title{font-size:clamp(44px,3.85vw,68px)}
.home-hero .home-title .title-line{white-space:nowrap}}
.home-hero .home-subcopy{font-size:var(--mo-hero-catch);font-weight:500;color:var(--mo-catch)}
.home-copy .home-companion .home-speech{background:var(--mo-bubble);color:var(--mo-on-bubble);border:0;box-shadow:0 10px 30px -12px rgba(0,0,0,.55)}
.home-actions.home-start #home-detailed.start-button{background:var(--mo-paid);color:var(--mo-on-paid);border:1px solid var(--mo-paid);box-shadow:var(--mo-inset-primary)}
.home-actions.home-start #home-detailed.start-button:hover{background:var(--mo-paid-hover);border-color:var(--mo-paid-hover);color:var(--mo-on-paid);transform:translateY(-2px);box-shadow:0 8px 24px rgba(251,191,36,.30),var(--mo-inset-primary)}
.home-actions.home-start #home-free.start-button{background:var(--mo-accent);color:var(--mo-on-accent);border:1px solid var(--mo-accent)}
.home-actions.home-start #home-detailed.start-button{background:var(--mo-paid);color:var(--mo-on-paid);border:1px solid var(--mo-paid);box-shadow:var(--mo-inset-primary)}
.home-actions.home-start #home-detailed.start-button:hover:enabled{background:var(--mo-paid-hover);border-color:var(--mo-paid-hover);color:var(--mo-on-paid);transform:translateY(-2px);box-shadow:0 8px 24px rgba(245,158,11,.30),var(--mo-inset-primary)}
.home-copy .home-companion .home-speech{border-radius:14px;font-size:15px;line-height:1.5;padding:10px 14px}
@media (min-width:1024px){.home-copy .home-companion .home-speech{white-space:normal;max-width:240px}}
.start-button{border-radius:var(--mo-radius-action);font-weight:700}
.home-hero .home-actions.home-start .start-button{border-radius:var(--mo-radius-action)}
@media (min-width:1024px){.home-copy .home-companion .home-speech{white-space:nowrap;max-width:none;font-size:14px;line-height:1.5;padding:8px 10px}}
@media (min-width:1024px){.home-copy .home-companion .home-speech{padding:12px 14px;border-radius:14px}}
.home-copy .home-companion .home-speech:before{left:-9px;top:17px;width:11px;height:14px;background:var(--mo-bubble);border:0;transform:none;clip-path:polygon(100% 0,0 50%,100% 100%)}

/* MECHOWL: the products menu by department (owner's decision 2026-11-18) — a canonical copy made from MechOwlReview/src/style.css
   by `npm run platform:design` (scripts/platform/design-css.mjs). Do not edit. Products and the official site copy it with
   platform/design/products-menu.mjs (structure and behaviour) and set the --pm-* variables from their own tokens after it
   (colours, corners, shadow; platform spec ch3 3.3). */
.products-menu-list{position:absolute;right:0;top:calc(100% + 8px);z-index:60;width:min(360px,calc(100vw - 24px));background:var(--surface-2,#10263c);border:1px solid var(--line-strong,rgba(148,197,230,.26));border-radius:10px;padding:10px;box-shadow:var(--shadow-md,0 24px 50px -24px rgba(0,0,0,.9))}
.products-menu-list[hidden]{display:none}
.products-menu-title{margin:2px 6px 8px;font-size:12px;font-weight:700;color:var(--muted,#8aa1b5);letter-spacing:.04em}
.products-list{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.product-link{display:grid;gap:4px;padding:10px 12px;border-radius:8px;border:1px solid var(--line,rgba(148,197,230,.16));color:var(--text,#e6eff6);text-decoration:none;text-align:left;white-space:normal}
.product-link:hover,.product-link:focus-visible{background:rgba(255,255,255,.06)}
.product-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.product-name{font-size:13.5px;line-height:1.35}
.product-status{font-size:11px;font-weight:700;padding:1px 8px;border-radius:999px;border:1px solid currentColor;white-space:nowrap}
.product-status.status-current{color:#5eead4}
.product-status.status-in_development{color:#fbbf24}
.product-status.status-available{color:#86efac}
.product-desc{font-size:12px;line-height:1.55;color:var(--text-2,#b4c7d6)}
.product-item[data-status=current] .product-link{border-color:rgba(94,234,212,.45)}
.product-all .product-all-link{display:block;border-style:dashed;font-weight:600;font-size:.92em}
.account-products .product-all{grid-column:1/-1}
.account-products .products-list{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
@media(max-width:700px){.products-menu-list{position:fixed;left:16px;right:16px;top:auto;width:auto;margin-top:8px}}
.products-menu-list{--pm-surface:var(--surface-2,#10263c);--pm-side:rgba(6,17,29,.35);--pm-text:var(--text,#f4f8fb);--pm-text-2:var(--text-2,#dbe6ef);--pm-muted:#9fb3c4;--pm-line:var(--line,rgba(148,197,230,.14));--pm-line-strong:var(--line-strong,rgba(148,197,230,.26));--pm-radius:16px;--pm-radius-item:12px;--pm-radius-dept:10px;--pm-shadow:var(--shadow-md,0 24px 50px -24px rgba(0,0,0,.9));--pm-accent:#5eead4;--pm-accent-soft:rgba(45,212,191,.12);--pm-mark:#7dd3fc;--pm-link:#9fd8d2}
.products-menu-list:has(.pm-body){display:flex;flex-direction:column;width:min(760px,calc(100vw - 32px));max-height:var(--pm-max-height,calc(100vh - var(--pm-top,128px) - 16px));max-height:var(--pm-max-height,calc(100dvh - var(--pm-top,128px) - 16px));padding:0;overflow:hidden;background:var(--pm-surface);border-color:var(--pm-line-strong);border-radius:var(--pm-radius);box-shadow:var(--pm-shadow);color:var(--pm-text);text-align:left;white-space:normal}
.products-menu-list:has(.pm-body)[hidden]{display:none}
.products-menu-list:has(.pm-body) .products-menu-title{flex:none;margin:0;padding:12px 16px 10px;border-bottom:1px solid var(--pm-line)}
.pm-body{display:grid;grid-template-columns:248px minmax(0,1fr);flex:1 1 auto;min-height:min(340px,calc(100vh - 220px));overflow:hidden}
.pm-depts{display:grid;grid-auto-rows:max-content;gap:2px;align-content:start;min-height:0;overflow-y:auto;padding:8px;border-right:1px solid var(--pm-line);background:var(--pm-side)}
.products-menu-list .pm-dept{display:grid;grid-template-columns:20px minmax(0,1fr);gap:2px 10px;align-items:center;width:100%;height:auto;min-height:0;max-height:none;overflow:hidden;margin:0;padding:9px 10px;border:1px solid transparent;border-radius:var(--pm-radius-dept);background:transparent;box-shadow:none;color:var(--pm-text-2);font:inherit;font-weight:400;text-align:left;cursor:pointer}
.products-menu-list .pm-dept:hover{background:rgba(255,255,255,.05)}
.pm-dept .pm-mark{grid-row:1/3;color:var(--pm-mark)}
.pm-dept-name{font-size:13.5px;font-weight:700;line-height:1.3}
.pm-dept-name{display:block;min-width:0}
.pm-dept-aliases{display:block;min-width:0;font-size:11px;font-weight:500;line-height:1.35;color:var(--pm-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.products-menu-list .pm-dept[aria-selected=true]{background:var(--pm-accent-soft);border-color:var(--pm-accent);color:var(--pm-text)}
.pm-dept[aria-selected=true] .pm-mark{color:var(--pm-accent)}
.pm-panels{min-width:0;min-height:0;overflow-y:auto}
.pm-fitted .pm-depts,.pm-fitted .pm-panels{overscroll-behavior:contain}
.pm-panel{padding:10px 12px}
.pm-panel[hidden]{display:none}
.pm-aliases{display:none;margin:0 2px 8px;font-size:11.5px;color:var(--pm-muted)}
.products-menu-list .pm-panel .products-list{display:flex;flex-direction:column;flex-wrap:nowrap;gap:6px;margin:0;padding:0;list-style:none}
.products-menu-list .pm-panel .product-item{display:block;width:auto;min-width:0;margin:0}
.products-menu-list .pm-panel .product-link{display:grid;grid-template-columns:minmax(0,1fr) 16px;gap:3px 12px;align-items:center;min-height:0;padding:10px 12px 10px 14px;border:1px solid var(--pm-line);border-radius:var(--pm-radius-item);color:var(--pm-text);text-decoration:none;white-space:normal}
.products-menu-list .pm-panel .product-link:hover,.products-menu-list .pm-panel .product-link:focus-visible{background:rgba(255,255,255,.05);border-color:var(--pm-line-strong)}
.pm-panel .product-item[data-status=current] .product-link{border-color:var(--pm-accent)}
.pm-panel .product-head{grid-column:1;display:flex;flex-wrap:wrap;align-items:center;gap:2px 8px;min-width:0}
.pm-panel .product-name{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;letter-spacing:.01em}
.pm-panel .product-label{flex:none;white-space:nowrap;font-size:11px;font-weight:400;letter-spacing:0;color:var(--pm-muted)}
.pm-panel .product-status{flex:none}
.pm-panel .product-desc{grid-column:1;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;font-size:12.5px;line-height:1.55;color:var(--pm-text-2);overflow-wrap:anywhere}
.pm-panel .pm-arrow{grid-column:2;grid-row:1/3;align-self:center;color:var(--pm-muted)}
.pm-panel .product-link:hover .pm-arrow,.pm-panel .product-link:focus-visible .pm-arrow{color:var(--pm-accent)}
.pm-foot{flex:none;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;padding:10px 14px;border-top:1px solid var(--pm-line)}
.pm-link{display:inline-block;padding:6px 10px;border:1px dashed var(--pm-line-strong);border-radius:var(--pm-radius-item);color:var(--pm-link);font-size:12.5px;font-weight:600;text-decoration:none}
.pm-link[hidden]{display:none}
.pm-link:hover,.pm-link:focus-visible{color:var(--pm-text)}
@media(max-width:700px){.products-menu-list:has(.pm-body){width:auto;max-height:var(--pm-max-height,calc(100vh - var(--pm-top,96px) - 12px));max-height:var(--pm-max-height,calc(100dvh - var(--pm-top,96px) - 12px));display:flex;flex-direction:column}
.products-menu-list:has(.pm-body)[hidden]{display:none}
.pm-body{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;overflow:hidden}
.pm-depts{flex:none;overflow-x:auto;overflow-y:hidden}
.pm-panels{flex:1 1 auto;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch}
.pm-depts{display:flex;gap:8px;overflow-x:auto;padding:10px 12px;border-right:0;border-bottom:1px solid var(--pm-line);scrollbar-width:none}
.products-menu-list .pm-dept{display:inline-flex;flex:none;width:auto;gap:6px;padding:7px 12px;border-color:var(--pm-line-strong);border-radius:calc(var(--pm-radius-dept) * 99)}
.pm-dept .pm-mark{width:16px;height:16px}
.pm-dept-aliases{display:none}
.pm-dept-name{font-size:13px;white-space:nowrap}
.pm-aliases{display:block}
.pm-foot{justify-content:stretch}
.pm-link{flex:1;text-align:center}}
button:not(.primary):not(.text-button):not(.link-button):not([data-credit-go]):not(.start-button):not(.plan-cta):not([role=tab]):not(.pm-dept):not(.products-menu-button):not(.account-menu-button):not(.drawing-mark):not(.location-chip){background:transparent;color:var(--mo-text);border:1px solid var(--mo-line-button)}
button:not(.primary):not(.text-button):not(.link-button):not([data-credit-go]):not(.start-button):not(.plan-cta):not([role=tab]):not(.pm-dept):not(.products-menu-button):not(.account-menu-button):not(.drawing-mark):not(.location-chip):hover:enabled{border-color:var(--mo-line-button-hover);background:rgba(255,255,255,.08);color:#fff;transform:translateY(-2px)}
button:not(.primary):not(.text-button):not(.link-button):not([data-credit-go]):not(.start-button):not(.plan-cta):not([role=tab]):not(.pm-dept):not(.products-menu-button):not(.account-menu-button):not(.drawing-mark):not(.location-chip):not(.finding-select):not(.finding-no):not(.finding-group-toggle){background:var(--mo-secondary);color:var(--mo-text);border:1px solid var(--mo-line-secondary)}
button:not(.primary):not(.text-button):not(.link-button):not([data-credit-go]):not(.start-button):not(.plan-cta):not([role=tab]):not(.pm-dept):not(.products-menu-button):not(.account-menu-button):not(.drawing-mark):not(.location-chip):not(.finding-select):not(.finding-no):not(.finding-group-toggle):hover:enabled{background:var(--mo-secondary);border-color:var(--mo-accent);color:var(--mo-text)}
button:not(.primary):not(.text-button):not(.link-button):not([data-credit-go]):not(.start-button):not(.plan-cta):not([role=tab]):not(.pm-dept):not(.products-menu-button):not(.account-menu-button):not(.drawing-mark):not(.location-chip):not(.finding-select):not(.finding-no):not(.finding-group-toggle){background:var(--mo-secondary);color:var(--mo-on-secondary);border:1.5px solid var(--mo-line-secondary)}
button:not(.primary):not(.text-button):not(.link-button):not([data-credit-go]):not(.start-button):not(.plan-cta):not([role=tab]):not(.pm-dept):not(.products-menu-button):not(.account-menu-button):not(.drawing-mark):not(.location-chip):not(.finding-select):not(.finding-no):not(.finding-group-toggle):hover:enabled{background:rgba(255,255,255,.14);border-color:var(--mo-accent);color:var(--mo-on-secondary)}
#app button:not(header *):not(.primary):not(.text-button):not(.link-button):not([data-credit-go]):not(.start-button):not(.plan-cta):not([role=tab]):not(.pm-dept):not(.products-menu-button):not(.account-menu-button):not(.drawing-mark):not(.location-chip):not(.finding-select):not(.finding-no):not(.finding-group-toggle){border-radius:var(--mo-radius-action);border-width:1.5px;font-weight:600}

/* Design tokens, DARK set (owner decision 2026-11-13: the same as Review AI as it is published now).
   The canonical platform/design/tokens.json does not exist yet (common spec ch.2 2.1, ch.3 3.2), so the values are copied
   from Review AI's dark theme: hiragg/mechowl-review MechOwlReview/src/style.css at 637da7b9 (2026-11-13), the v1.17 layer
   (lines 410-420: colours, shadows, body background), the v2.5 contrast layer (lines 1225-1231: text colours, primary button)
   and its inputs, panels and state tints (lines 431-507). review.mechowl.com itself could not be fetched from the development
   session (network policy, HTTP 403), so the copy is of main; recorded in platform-copies/source.json "missing".
   Print (and the PDF made from print) stays light: the @media print block at the end puts the light values back.
   Only these variables carry colour values; site.css uses variables only. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/calc/fonts/inter-latin-400-800.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("/calc/fonts/barlow-latin-600-normal.woff2") format("woff2"); }
:root {
  color-scheme: dark;
  /* Review AI v1.17: --bg --surface --surface-2 --surface-3 --line --line-strong; v2.5: --text --text-2 --muted */
  --color-bg: var(--mo-bg);
  --color-surface: var(--mo-box);
  --color-surface-2: color-mix(in srgb, var(--mo-box) 92%, white);
  --color-surface-3: color-mix(in srgb, var(--mo-box) 84%, white);
  --color-text: var(--mo-text);
  --color-text-2: var(--mo-text);
  --color-text-sub: var(--mo-text-2);
  --color-heading: var(--mo-heading);
  --color-line: var(--mo-line-box);
  --color-input-line: var(--mo-line-button);
  --color-input-line-hover: var(--mo-line-button-hover);
  --color-input-bg: var(--mo-surface);
  /* secondary buttons and toggles (Review AI dark buttons) */
  --color-btn-bg: var(--mo-secondary);
  --color-btn-bg-hover: rgba(255, 255, 255, .14);
  --color-thead-bg: var(--mo-table-head);
  --color-thead-text: var(--mo-on-table-head);
  --color-table-body: var(--mo-table-body);
  --color-table-body-alt: var(--mo-table-body-alt);
  --color-table-line: var(--mo-line-row);
  /* brand teal (dark): --teal --teal-strong --teal-soft --cyan --sky */
  --color-brand: var(--mo-accent);
  --color-brand-strong: var(--mo-accent);
  --color-brand-soft: rgba(45, 212, 191, .12);
  --color-brand-line: rgba(45, 212, 191, .3);
  --color-link: var(--mo-label);
  --color-sky: #7dd3fc;
  /* primary button (v2.5): gradient #2dd4bf -> #14b8a6, label #03211d */
  --color-primary-top: var(--mo-accent);
  --color-primary-bottom: var(--mo-accent);
  --color-primary-text: var(--mo-on-accent);
  --color-primary-hover-top: var(--mo-accent-hover);
  --color-primary-hover-bottom: var(--mo-accent-hover);
  /* focus ring shared by the site and Review AI */
  --color-focus: #f2b84b;
  /* states (dark): --green --amber --sky --red with their -soft tints; the mark sits on the strong colour with a dark label */
  --color-ok: #4ade80;
  --color-ok-bg: rgba(74, 222, 128, .12);
  --color-ok-line: rgba(74, 222, 128, .35);
  --color-ng: #f87171;
  --color-ng-bg: rgba(248, 113, 113, .14);
  --color-ng-line: rgba(248, 113, 113, .4);
  --color-warn: #fbbf24;
  --color-warn-bg: rgba(251, 191, 36, .12);
  --color-warn-line: rgba(251, 191, 36, .35);
  --color-info: #7dd3fc;
  --color-info-bg: rgba(125, 211, 252, .12);
  --color-info-line: rgba(125, 211, 252, .3);
  --color-mark-text: #06111d;
  --color-draft: #fbbf24;
  --color-draft-bg: rgba(251, 191, 36, .12);
  --color-invalid-line: rgba(251, 191, 36, .55);
  --color-invalid-bg: rgba(251, 191, 36, .05);
  --color-selection: rgba(45, 212, 191, .35);
  --color-focus-glow: rgba(45, 212, 191, .18);
  --color-backdrop: rgba(0, 0, 0, .6);
  /* light surfaces keep dark text (Review AI: the speech bubble is white with #0d1b2a) */
  --color-bubble-bg: var(--mo-bubble);
  --color-bubble-text: var(--mo-on-bubble);
  /* glass panels on the blueprint background (Review AI .panel) */
  --panel-bg: var(--mo-box);
  --header-bg: rgba(11, 13, 16, .78);
  --page-bg: var(--mo-bg);
  /* the home hero of Review AI (style.css 314-317) */
  --hero-bg:
    radial-gradient(900px 420px at 88% -12%, rgba(45, 212, 191, .22), transparent 60%),
    radial-gradient(700px 380px at -5% 110%, rgba(56, 189, 248, .14), transparent 60%),
    linear-gradient(155deg, #0a1b2d 0%, #0e2740 55%, #0b2236 100%);
  --hero-grid: rgba(148, 197, 230, .07);
  --hero-grid-fine: rgba(148, 197, 230, .035);
  --hero-eyebrow-line: rgba(94, 234, 212, .28);
  --hero-eyebrow-bg: rgba(94, 234, 212, .08);
  --hero-eyebrow-text: #8ff0df;
  --hero-eyebrow-glow: rgba(94, 234, 212, .18);
  /* Review AI's header, top page and pricing parts (MechOwlReview/src/style.css e13c93a6; docs/design/review-ai-structure.md §1–§7):
     the amber of its paid (plan) buttons, the ghost (secondary) button of the top's actions, the menu panel, the marks, the compare table's frame, the white preview */
  --color-amber: var(--mo-paid);
  --color-amber-hover: var(--mo-paid-hover);
  --color-amber-text: var(--mo-on-paid);
  --color-amber-badge: #f6c35f;
  --color-amber-soft: rgba(242, 179, 61, .08);
  --color-amber-line: rgba(242, 179, 61, .5);
  --shadow-amber: 0 10px 28px -14px rgba(242, 179, 61, .8);
  --color-ghost-bg: var(--mo-secondary);
  --color-ghost-bg-hover: rgba(255, 255, 255, .14);
  --color-ghost-text: var(--mo-on-secondary);
  --color-ghost-line: var(--mo-line-secondary);
  --color-ghost-line-hover: var(--mo-accent);
  --color-menu-bg: var(--mo-surface);
  --shadow-menu: 0 12px 30px rgba(0, 0, 0, .45);
  --color-reco: #9fd8ff;
  --color-compare-frame: rgba(196, 222, 242, .62);
  --color-cost-row: rgba(94, 234, 212, .07);
  --color-row-head: rgba(255, 255, 255, .02);
  --color-disabled-text: #8ea3b5;
  --color-disabled-line: rgba(148, 197, 230, .45);
  --trust-tile-bg: linear-gradient(180deg, rgba(16, 38, 60, .7), rgba(12, 29, 48, .7));
  --strengths-link-line: rgba(111, 211, 194, .38);
  --strengths-link-line-hover: rgba(111, 211, 194, .75);
  --strengths-link-bg: linear-gradient(120deg, rgba(111, 211, 194, .10), rgba(255, 255, 255, .03) 55%, rgba(240, 180, 60, .08));
  --strengths-link-mark: linear-gradient(135deg, #2ed3b7, #f0b43c);
  --strengths-link-arrow: #6fd3c2;
  --strengths-link-text: #e8f3f1;
  --color-preview-bg: var(--mo-window);
  --color-preview-chrome: var(--mo-window-bar);
  --color-preview-line: var(--mo-window-line);
  --color-preview-text: var(--mo-on-window-2);
  --color-preview-app: var(--mo-on-window);
  --preview-dot-1: #f1a9a0;
  --preview-dot-2: #f3d38a;
  --preview-dot-3: #9fd8b6;
  --shadow-preview: 0 40px 80px -30px rgba(0, 0, 0, .65), 0 0 0 6px rgba(255, 255, 255, .04);
  /* the screen image's body, sheet and rows (Review AI style.css .preview-body/.preview-sheet/.preview-rows/.preview-pin, the values
     its dark theme ends with: lines 346-353, 543-546, 556, 758, 1751-1752; owner decision 2026-11-15) */
  --color-preview-body: #eef2f6;
  --color-preview-sheet-edge: #d9e1e9;
  --color-preview-ink: #0d1b2a;
  --color-preview-pin: #0b6f74;
  --color-preview-pin-text: #ffffff;
  --color-preview-pin-ring: #d7f0ee;
  --color-preview-kind-bg: #eef2f6;
  --color-preview-kind: #3d5266;
  --shadow-preview-sheet: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 10px 30px -18px rgba(0, 0, 0, .8);
  --color-step-no-bg: #ffffff;
  --color-step-no-text: #06111d;
  --color-ours-head: #2dd4bf;
  --color-ours-head-text: #03211d;
  --color-ours-bg: rgba(45, 212, 191, .07);
  /* diagram paper (owner decision 2026-11-14): the input and result diagrams are white paper inside the dark page, as Review AI
     shows drawings on white paper. The same values on screen and in print. Contrast on --paper-bg (docs/design/diagram-rules.md):
     text 17.39, text-sub 6.42, accent 5.93, ok 7.13, ng 6.54 (all >= 4.5:1, also on the part fills); axis lines 4.90 (>= 3:1). */
  --paper-bg: #ffffff;
  --paper-edge: #c9d6e0;
  --paper-text: #0d1b2a;
  --paper-text-sub: #4d6173;
  --paper-line: #0d1b2a;
  --paper-part: #f0f4f8;
  --paper-part-alt: #dff3f1;
  --paper-accent: #0b6f74;
  --paper-axis: #5f7387;
  --paper-ok: #166534;
  --paper-ng: #b3261e;
  --paper-track: #eef2f6;
  --shadow-paper: 0 20px 40px -24px rgba(0, 0, 0, .9);
  --font-sans: "Inter", "Hiragino Sans", "Noto Sans JP", "Yu Gothic UI", "Segoe UI", system-ui, sans-serif;
  --font-display: "Barlow", "Inter", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, monospace;
  --text-base: 16px;
  --text-small: 14px;
  --text-xs: 12.5px;
  --radius: 10px;
  --radius-panel: 16px;
  --radius-card: 20px;
  --radius-pill: 999px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --header-h: 64px;
  --tap: 44px;
  --shadow-sm: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 10px 30px -18px rgba(0, 0, 0, .8);
  --shadow-md: 0 24px 50px -24px rgba(0, 0, 0, .9);
  --shadow-sticky: 0 -10px 30px -12px rgba(0, 0, 0, .8);
  --shadow-primary: 0 0 0 1px rgba(94, 234, 212, .25), 0 10px 24px -10px rgba(45, 212, 191, .7);
  --shadow-hero: 0 30px 60px -30px rgba(10, 27, 45, .6);
  --shadow-bubble: 0 10px 30px -10px rgba(0, 0, 0, .45);
}

/* A white detail card on the dark page (the ② result's step cards, platform spec ch7 7.7: the detail card is white): inside it this site's
   own light values, the ones print uses, so every part keeps its contrast. */
.on-light {
  color-scheme: light;
  --color-bg: #ffffff;
  --color-surface: #ffffff;
  --color-surface-2: #f0f4f8;
  --color-surface-3: #e6eef3;
  --color-text: #0d1b2a;
  --color-text-2: #33475b;
  --color-text-sub: #5f7387;
  --color-heading: #0d1b2a;
  --color-line: #e2e8f0;
  --color-input-line: #b7c7d6;
  --color-input-line-hover: #6b7f90;
  --color-input-bg: #ffffff;
  --color-btn-bg: #ffffff;
  --color-thead-bg: #f0f4f8;
  --color-thead-text: #0d1b2a;
  --color-table-body: #ffffff;
  --color-table-body-alt: #f7f9fb;
  --color-table-line: #6b7f90;
  --color-brand-line: #9fd3cf;
  --color-brand: #0f8b8d;
  --color-brand-strong: #0b6f74;
  --color-brand-soft: #e2f4f3;
  --color-link: #0b6f74;
  --color-ok: #166534;
  --color-ok-bg: #e6f5ec;
  --color-ng: #b3261e;
  --color-ng-bg: #fdeceb;
  --color-warn: #b45309;
  --color-warn-bg: #fdf3e2;
  --color-info: #1d4f91;
  --color-info-bg: #e7eef9;
  --color-ok-line: #9fd3b2;
  --color-ng-line: #f0b4ae;
  --color-warn-line: #ecc98f;
  --color-info-line: #b3c8e6;
  --color-draft: #b45309;
  --color-draft-bg: #fdf3e2;
  --color-mark-text: #ffffff;
  --panel-bg: #ffffff;
  --page-bg: #ffffff;
  --shadow-sm: none;
  --shadow-md: none;
  color: var(--color-text);
}

/* Print (the design calculation sheet and the PDF made from it) is read on white paper: light values
   (Review AI keeps print light too; values from its light layer v1.16). */
@media print {
  :root {
    color-scheme: light;
    --color-bg: #ffffff;
    --color-surface: #ffffff;
    --color-surface-2: #f0f4f8;
    --color-surface-3: #e6eef3;
    --color-text: #0d1b2a;
    --color-text-2: #33475b;
    --color-text-sub: #5f7387;
    --color-heading: #0d1b2a;
    --color-line: #e2e8f0;
    --color-input-line: #b7c7d6;
    --color-input-line-hover: #6b7f90;
    --color-input-bg: #ffffff;
    --color-btn-bg: #ffffff;
    --color-thead-bg: #f0f4f8;
    --color-thead-text: #0d1b2a;
    --color-table-body: #ffffff;
    --color-table-body-alt: #f7f9fb;
    --color-table-line: #6b7f90;
    --color-brand-line: #9fd3cf;
    --color-brand: #0f8b8d;
    --color-brand-strong: #0b6f74;
    --color-brand-soft: #e2f4f3;
    --color-link: #0b6f74;
    --color-ok: #166534;
    --color-ok-bg: #e6f5ec;
    --color-ng: #b3261e;
    --color-ng-bg: #fdeceb;
    --color-warn: #b45309;
    --color-warn-bg: #fdf3e2;
    --color-info: #1d4f91;
    --color-info-bg: #e7eef9;
    --color-ok-line: #9fd3b2;
    --color-ng-line: #f0b4ae;
    --color-warn-line: #ecc98f;
    --color-info-line: #b3c8e6;
    --color-draft: #b45309;
    --color-draft-bg: #fdf3e2;
    --color-mark-text: #ffffff;
    --panel-bg: #ffffff;
    --page-bg: #ffffff;
    --shadow-sm: none;
    --shadow-md: none;
  }
}

/* Calculation site styles, built on Review AI's light layer (MechOwlReview/src/style.css v1.16; tokens.css records the
   source). Colours only through tokens.css variables (common spec ch.3 3.2). Mobile rules (ch.3 3.4): input text 16px,
   tap targets >= 44px, no maximum-scale, no horizontal overflow. State is never shown by colour alone. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page-bg); background-attachment: fixed; color: var(--color-text); font: var(--text-base)/1.75 var(--font-sans); overflow-wrap: anywhere; }
::selection { background: var(--color-selection); }
a { color: var(--color-link); }
a:hover { color: var(--color-heading); }
:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--space-4); top: var(--space-2); background: var(--color-surface); padding: var(--space-2); z-index: 30; }
.icon { width: 24px; height: 24px; flex: 0 0 auto; }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0 auto; max-width: 1280px; padding: var(--space-3) 3% 0; font-size: 13px; color: var(--color-text-sub); }
.crumbs a { color: var(--color-text-sub); }
.crumbs li + li::before { content: "›"; margin-right: var(--space-2); }

main { max-width: 1280px; margin: 0 auto; padding: var(--space-4) 3% var(--space-8); }
h1 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.35; font-weight: 800; letter-spacing: -.01em; margin: var(--space-2) 0 var(--space-3); color: var(--color-heading); }
h2 { font-size: 22px; line-height: 1.4; font-weight: 800; letter-spacing: -.01em; margin: var(--space-8) 0 var(--space-3); color: var(--color-heading); }
h3 { font-size: 17px; font-weight: 700; margin: var(--space-4) 0 var(--space-2); color: var(--color-heading); }
.kicker { margin: var(--space-10) 0 0; font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--color-link); }
.kicker + h2 { margin-top: var(--space-1); }
.summary { color: var(--color-text-2); margin: 0 0 var(--space-3); }
/* p only: the canonical products menu has its own span.product-label (the Japanese supplement, Review AI #664), styled by products-menu.css */
p.product-label { margin: var(--space-2) 0 0; font-family: var(--font-display); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; color: var(--color-link); }
.lead { margin: 0 0 var(--space-2); font-weight: 600; color: var(--color-text-2); }
.note { font-size: 13px; color: var(--color-text-sub); }

/* pills (Review AI .pill): the state of a calculation on its card */
.state-draft { background: var(--color-draft-bg); color: var(--color-draft); }
.state-verified, .state-reviewed, .state-published { background: var(--color-brand-soft); color: var(--color-link); border-color: var(--color-brand-line); }

/* buttons (Review AI: secondary white, primary teal; radius 10) */
.btn, button, select, input { font: inherit; font-size: var(--text-base); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: var(--tap); padding: 0 var(--space-4); border-radius: var(--mo-radius-action); border: 1.5px solid var(--mo-line-secondary); background: var(--color-btn-bg); color: var(--mo-on-secondary); font-size: var(--text-small); font-weight: 600; cursor: pointer; text-decoration: none; transition: background .15s, box-shadow .15s, transform .15s, border-color .15s; }
.btn:hover { border-color: var(--mo-accent); background: var(--color-btn-bg-hover); color: var(--color-heading); }
/* ① a link that starts something free (the glossary's 「この計算へ」): the accent fill; a button .btn.main (the design sheet) is ④ like every other output */
a.btn.main { background: var(--mo-accent); color: var(--mo-on-accent); border-color: var(--mo-accent); box-shadow: var(--mo-inset-primary); }
a.btn.main:hover { background: var(--mo-accent-hover); border-color: var(--mo-accent-hover); color: var(--mo-on-accent); transform: translateY(-2px); box-shadow: var(--mo-shadow-primary), var(--mo-inset-primary); }
.btn:disabled { opacity: 1; cursor: not-allowed; background: var(--color-btn-bg); border-style: dashed; color: var(--color-text-sub); box-shadow: none; transform: none; }
.btn-icon { width: 18px; height: 18px; }

/* calculation page */
.calc > h1 { margin-top: var(--space-1); }
.tools { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin: var(--space-4) 0; padding: var(--space-3); background: var(--panel-bg); border: 1px solid var(--color-line); border-radius: var(--radius-panel); box-shadow: var(--shadow-sm); }
.tools fieldset { border: 0; margin: 0 var(--space-2) 0 0; padding: 0; display: flex; align-items: center; gap: var(--space-2); }
.tools legend { float: left; margin-right: var(--space-2); font-size: 13px; font-weight: 600; color: var(--color-text-2); }
/* unit system above the inputs (the input units follow it), small; the outputs under the result (owner instruction 2026-11-15) */
.unit-bar { margin: var(--space-3) 0 var(--space-4); }
.unit-bar fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
.unit-bar legend { float: left; margin-right: var(--space-1); font-size: 13px; font-weight: 600; color: var(--color-text-2); }
.exports { margin-top: var(--space-4); }
.exports .tools { margin: 0; }
.export-toggle { display: none; }
.export-caret { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
.export-toggle[aria-expanded="true"] .export-caret { transform: translateY(2px) rotate(-135deg); }
.exports .tool-status { margin-top: var(--space-2); }
.tool-status { flex-basis: 100%; margin: 0; min-height: 1.5em; font-size: 13px; color: var(--color-text-sub); }
.tool-status:empty { min-height: 0; }
.seg { display: inline-flex; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 var(--space-3); border: 1px solid var(--color-line); border-radius: var(--radius); background: var(--color-btn-bg); color: var(--color-text); font-weight: 600; font-size: var(--text-small); cursor: pointer; transition: border-color .15s, background .15s; }
.seg input:checked + span { background: var(--color-brand-soft); color: var(--color-brand-strong); border-color: var(--color-brand); box-shadow: inset 0 0 0 1px var(--color-brand); }
.seg input:focus-visible + span { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.segs { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.work { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-6); align-items: start; }
.inputs, .results { min-width: 0; background: var(--panel-bg); border: 1px solid var(--color-line); border-radius: var(--radius-panel); padding: var(--space-6); box-shadow: var(--shadow-sm); }
.inputs > h2, .results > h2 { margin-top: 0; font-size: 20px; }
.results { position: sticky; top: calc(var(--header-h) + var(--space-4)); }

/* diagrams: one drawing rule for every calculation (docs/design/diagram-rules.md): white paper inside the dark page (owner
   decision 2026-11-14, as Review AI shows drawings on white paper), navy outlines, teal for loads, dimensions and motion,
   symbols in the label font. Colours only from the --paper-* tokens (the same on screen and in print). */
.diagram { margin: 0 0 var(--space-4); padding: var(--space-3); background: var(--paper-bg); border: 1px solid var(--paper-edge); border-radius: 12px; box-shadow: var(--shadow-paper); color: var(--paper-text); }
.diagram svg { width: 100%; max-width: 440px; height: auto; display: block; margin: 0 auto; }
.diagram .part { fill: var(--paper-part); stroke: var(--paper-line); stroke-width: 1.6; stroke-linejoin: round; }
.diagram .part.alt { fill: var(--paper-part-alt); }
.diagram .arrow, .diagram .dim, .diagram .hatch, .diagram .axis { stroke: var(--paper-accent); stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.diagram .axis { stroke: var(--paper-axis); stroke-width: 1.2; }
.diagram .dash { stroke-dasharray: 6 4; stroke: var(--paper-axis); stroke-width: 1.2; fill: none; }
.diagram .head { fill: var(--paper-accent); }
.diagram .shaft { stroke: var(--paper-line); stroke-width: 6; stroke-linecap: round; fill: none; }
.diagram .curve { stroke: var(--paper-line); stroke-width: 1.8; fill: none; stroke-linejoin: round; }
.diagram .lbl { fill: var(--paper-text); font: italic 600 15px var(--font-sans); }
.diagram .note { fill: var(--paper-text-sub); font: 14px var(--font-sans); }
/* text sizes are viewBox units; on a 390 px phone a 360-wide viewBox is drawn about 311 px wide, so 14 → 12.1 px: every
   text class is 14 or more (diagram-rules.md「スマホでは図の文字は 12px 以上」, src/calc/result-diagram.ts DIAGRAM_TEXT_PX)
   result diagram (diagram-rules.md「結果の図」): the same paper and size, the results written large on the schematic */
.diagram .rd-shape { stroke: var(--paper-accent); stroke-width: 4; fill: none; stroke-linecap: round; }
.diagram .rd-value { fill: var(--paper-text); font: 800 22px var(--font-sans); font-variant-numeric: tabular-nums; }
.diagram .rd-sub { fill: var(--paper-text); font: 800 17px var(--font-sans); font-variant-numeric: tabular-nums; }
.diagram .rd-cap { fill: var(--paper-text-sub); font: 600 14px var(--font-sans); }
.diagram .rd-verdict { fill: var(--paper-text); font: 800 14px var(--font-sans); }
.diagram .rd-mlabel { fill: var(--paper-text); font: 600 14px var(--font-sans); }
.diagram .rd-mvalue { fill: var(--paper-text); font: 800 15px var(--font-sans); font-variant-numeric: tabular-nums; }
.diagram .rd-mnote { fill: var(--paper-text-sub); font: 600 14px var(--font-sans); font-variant-numeric: tabular-nums; }
.diagram .rd-track { fill: var(--paper-track); stroke: var(--paper-axis); stroke-width: 1; }
.diagram .rd-over { fill: none; stroke: var(--paper-axis); stroke-width: 1; stroke-dasharray: 3 2; }
.diagram .rd-fill.ok { fill: var(--paper-ok); }
.diagram .rd-fill.ng { fill: var(--paper-ng); }
.diagram .rd-one { stroke: var(--paper-line); stroke-width: 2; }
.diagram .rd-frame { fill: none; stroke: var(--paper-axis); stroke-width: 1.2; stroke-dasharray: 6 4; }
.diagram .rd-wait { fill: var(--paper-text-sub); font: 600 14px var(--font-sans); }
/* the italic of quantity symbols (ISO 80000) in the drawings: Inter 4.1 SemiBold Italic, only the Latin and Greek letters,
   downloaded only when a drawing shows a symbol (unicode-range; docs/design/asset-licenses.md) */
@font-face { font-family: "Inter Symbol Italic"; font-style: italic; font-weight: 600; font-display: swap; src: url("/calc/fonts/inter-italic-600-symbols.woff2") format("woff2"); unicode-range: U+0041-005A, U+0061-007A, U+0391-03A1, U+03A3-03A9, U+03B1-03C9, U+03D1, U+03D5; }
.diagram { --font-symbol: "Inter Symbol Italic", var(--font-sans); }
/* engineering drawings (docs/design/diagram-rules.md「製図の決まり」, owner instruction 2026-11-15; svg[data-drawing="2"],
   src/calc/drawing.ts): one frame 360×220, thin : thick = 1 : 2 (JIS B 0001), dark lines, one accent for forces, motion
   and the deformed shape, three text tiers 22 / 16 / 14 */
.diagram .d-out { stroke: var(--paper-line); stroke-width: 2.4; fill: none; stroke-linejoin: round; stroke-linecap: round; }
.diagram .d-body { fill: var(--paper-part); stroke: var(--paper-line); stroke-width: 2.4; stroke-linejoin: round; }
.diagram .d-body2 { fill: var(--paper-part-alt); stroke: var(--paper-line); stroke-width: 2.4; stroke-linejoin: round; }
.diagram .d-dim, .diagram .d-axis, .diagram .d-hatch { stroke: var(--paper-line); stroke-width: 1.2; fill: none; stroke-linecap: butt; }
.diagram .d-tip { fill: var(--paper-line); }
.diagram .d-ctr { stroke: var(--paper-axis); stroke-width: 1.2; fill: none; stroke-dasharray: 14 3 2 3; }
.diagram .d-hid { stroke: var(--paper-line); stroke-width: 1.2; fill: none; stroke-dasharray: 5 3; }
.diagram .d-force, .diagram .d-def { stroke: var(--paper-accent); stroke-width: 2.4; fill: none; stroke-linecap: butt; stroke-linejoin: round; }
.diagram .d-force.d-dim { stroke-width: 1.2; }
.diagram .d-ftip { fill: var(--paper-accent); }
.diagram .d-val { fill: var(--paper-text); font: 800 22px var(--font-sans); font-variant-numeric: tabular-nums; }
.diagram .d-head { fill: var(--paper-text); font: 700 16px var(--font-sans); font-variant-numeric: tabular-nums; }
.diagram .d-sym { fill: var(--paper-text); font: italic 600 16px var(--font-symbol); }
.diagram .d-it { font-family: var(--font-symbol); font-style: italic; }
.diagram .d-cap { fill: var(--paper-text-sub); font: 600 14px var(--font-sans); }
.diagram .d-note { fill: var(--paper-text-sub); font: 400 14px var(--font-sans); }
.diagram .d-ix { font: normal 600 14px var(--font-sans); }
/* the glossary's charts (docs/design/diagram-rules.md「用語の図」): bars, points, a point outside a limit (red triangle: colour and
   shape), a specification limit (red dashed, thick). Paper tokens only. */
.diagram .g-bar { fill: var(--paper-part-alt); stroke: var(--paper-line); stroke-width: 1.2; stroke-linejoin: round; }
.diagram .g-pt { fill: var(--paper-line); }
.diagram .g-pt2 { fill: var(--paper-bg); stroke: var(--paper-accent); stroke-width: 1.8; }
.diagram .g-ng { fill: var(--paper-ng); }
.diagram .g-spec { stroke: var(--paper-ng); stroke-width: 2.4; stroke-dasharray: 6 3; fill: none; }

.goal { border: 0; padding: 0; margin: 0 0 var(--space-5); }
.goal legend { font-weight: 700; margin-bottom: var(--space-2); color: var(--color-heading); }
.field { margin-bottom: var(--space-5); }
.field[hidden] { display: none; }
.field > label { display: block; font-weight: 650; color: var(--color-text); margin-bottom: 6px; }
.sym { font-family: var(--font-sans); font-style: italic; color: var(--color-brand-strong); font-weight: 600; }
.help { margin: 6px 0 0; font-size: 13px; line-height: 1.7; color: var(--color-text-sub); }
.num { display: flex; gap: var(--space-2); }
.num input { flex: 1 1 auto; min-width: 0; font-variant-numeric: tabular-nums; }
input[type="text"], input[type="search"], input[type="date"], input:not([type]), select { min-height: var(--tap); padding: 0 var(--space-3); border: 1px solid var(--color-input-line); border-radius: var(--radius); background: var(--color-input-bg); color: var(--color-text); max-width: 100%; transition: border-color .15s, box-shadow .15s; }
input:hover, select:hover { border-color: var(--color-input-line-hover); }
input:focus, select:focus { border-color: var(--color-brand); box-shadow: 0 0 0 4px var(--color-focus-glow); outline: none; }
select option { background: var(--color-surface); color: var(--color-text); }
::placeholder { color: var(--color-text-sub); opacity: .8; }
input:focus-visible, select:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
input[aria-invalid="true"] { border-color: var(--color-invalid-line); background-color: var(--color-invalid-bg); }
/* an input error at its field (owner decision 2026-11-18): red line and tint, and the issue's sentence with the × mark below the control */
.field.has-error input[aria-invalid="true"], .field.has-error select[aria-invalid="true"] { border-color: var(--color-ng); background-color: var(--color-ng-bg); }
.field-error { display: flex; align-items: flex-start; gap: 6px; margin: 6px 0 0; font-size: 13px; line-height: 1.7; font-weight: 650; color: var(--color-ng); overflow-wrap: anywhere; }
.field-error .mark { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin-top: 2px; border-radius: 5px; background: var(--color-ng); color: var(--color-mark-text); font-size: 12px; font-weight: 800; }
.field-error .msg { min-width: 0; }
.field select { width: 100%; }
.num select { width: auto; flex: 0 0 auto; }
.unknown { display: inline-flex; align-items: center; gap: var(--space-2); min-height: var(--tap); font-size: var(--text-small); }
.unknown input { width: 22px; height: 22px; accent-color: var(--color-brand); }
/* 「なし（0）」「補正なし（1）」 (owner decision 2026-11-22・23): a small button under the field that enters the value */
.none-btn { margin-top: 6px; margin-right: var(--space-2); }

/* verdict: colour AND word AND mark (never colour alone; Review AI severity marks) */
.verdict { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 17px; padding: 8px 14px; border-radius: 12px; border: 1px solid transparent; }
.verdict::before { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 6px; font-size: 15px; font-weight: 800; color: var(--color-mark-text); flex: 0 0 auto; }
.v-meets { background: var(--color-ok-bg); color: var(--color-ok); border-color: var(--color-ok-line); }
.v-meets::before { content: "✓"; background: var(--color-ok); }
.v-insufficient, .v-error { background: var(--color-ng-bg); color: var(--color-ng); border-color: var(--color-ng-line); }
.v-insufficient::before { content: "!"; background: var(--color-ng); }
.v-error::before { content: "×"; background: var(--color-ng); }
.v-cannot_judge, .v-out_of_scope { background: var(--color-warn-bg); color: var(--color-warn); border-color: var(--color-warn-line); }
.v-cannot_judge::before { content: "?"; background: var(--color-warn); }
.v-out_of_scope::before { content: "△"; background: var(--color-warn); }
.v-required_only { background: var(--color-info-bg); color: var(--color-info); border-color: var(--color-info-line); }
.v-required_only::before { content: "＝"; background: var(--color-info); }
.conclusion { margin: var(--space-3) 0; color: var(--color-text-2); }
.main-outputs, .other-outputs { margin: var(--space-3) 0; }
.out { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); border-bottom: 1px solid var(--color-line); padding: 8px 0; }
.out dt { color: var(--color-text-2); font-size: var(--text-small); }
.out dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; color: var(--color-heading); }
.out .u { font-size: .78em; font-weight: 600; color: var(--color-text-sub); margin-left: .2em; }
.main-outputs .out { border-bottom: 0; padding: 10px 14px; margin-bottom: 8px; background: var(--color-input-bg); border: 1px solid var(--color-line); border-radius: 12px; }
.main-outputs .out dd { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; letter-spacing: -.01em; }
.issues { padding-left: 1.2em; }
.issues .lv-error, .issues .lv-missing { color: var(--color-ng); }
.issues .lv-warning { color: var(--color-warn); }

/* margin bar: the fill is the margin (1 at the centre line), the number and the words say the same */
.margin { display: grid; grid-template-columns: 1fr auto; gap: 6px var(--space-3); margin-bottom: var(--space-4); }
.m-value { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--color-heading); }
.bar { grid-column: 1 / -1; position: relative; height: 16px; background: var(--color-surface-2); border: 1px solid var(--color-line); border-radius: var(--radius-pill); overflow: hidden; }
.fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--color-ok); border-radius: var(--radius-pill); }
.margin.ng .fill { background: var(--color-ng); }
.one { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--color-heading); }

.table-wrap { overflow-x: auto; max-width: 100%; border: 1px solid var(--color-line); border-radius: 12px; }
table { border-collapse: collapse; width: 100%; font-size: var(--text-small); }
th, td { border-bottom: 1px solid var(--color-table-line); padding: 8px 10px; text-align: left; }
thead th { background: var(--color-thead-bg); font-size: 12px; font-weight: 700; color: var(--color-text-2); }
/* reference (参照) pages: tables of looked-up values; only the table scrolls sideways, never the page */
.state-ref { background: var(--color-surface-2); color: var(--color-text-2); border-color: var(--color-line); }
.ref-kind { display: inline-block; margin: 0 0 var(--space-1); font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: var(--radius-pill); background: var(--color-surface-2); color: var(--color-text-2); border: 1px solid var(--color-line); }
.ref-block { margin-top: var(--space-6); }
.ref-table table { width: auto; min-width: 100%; }
.ref-table caption { caption-side: top; text-align: left; padding: 10px 10px 6px; font-weight: 700; color: var(--color-heading); }
.ref-table th, .ref-table td { white-space: nowrap; font-variant-numeric: tabular-nums; }
.ref-table thead th { white-space: normal; min-width: 4.5em; vertical-align: bottom; }
.ref-table tbody th { font-weight: 700; color: var(--color-heading); }
.ref-table .unit { display: block; font-weight: 400; }
.ref-table .num-cell { text-align: right; }
.ref-table:focus-visible { outline: 2px solid var(--color-link); outline-offset: 2px; }
.ref > .text { margin-top: var(--space-8); padding-top: var(--space-2); }
.ref > .text > h2 { margin-top: 0; padding-bottom: var(--space-2); border-bottom: 1px solid var(--color-line); }
.candidates tr.ok th { background: var(--color-brand-soft); box-shadow: inset 3px 0 var(--color-brand); }
.formulas ol { padding-left: 1.2em; }
.formulas li { margin-bottom: var(--space-3); }
.formulas code { display: block; font-family: var(--font-mono); font-size: 13px; white-space: pre-wrap; background: var(--color-input-bg); border: 1px solid var(--color-line); border-radius: 8px; padding: 6px 10px; margin-top: 4px; }
.f-label { font-weight: 650; }
.premise { margin: var(--space-3) 0; padding: 12px 15px; border: 1px solid var(--color-line); border-left: 4px solid var(--color-input-line); border-radius: 12px; background: var(--color-surface-2); }
.p-unconfirmed { border-left-color: var(--color-warn); background: var(--color-warn-bg); }
.p-missing_default { border-left-color: var(--color-ng); }
.premise h3 { margin: 0; font-size: var(--text-small); }
.premise ul { margin: var(--space-1) 0 0; padding-left: 1.2em; font-size: var(--text-small); }
.sticky-main { display: none; }
.empty { color: var(--color-text-sub); }

/* reading sections: a readable line length and Review AI section headings */
.text { max-width: 46em; }
.text p, .text li, .text dd { line-height: 1.85; }
.calc > .text { margin-top: var(--space-8); padding-top: var(--space-2); }
.calc > .text > h2 { margin-top: 0; padding-bottom: var(--space-2); border-bottom: 1px solid var(--color-line); }
.examples { padding-left: 1.2em; }
.example { margin-bottom: var(--space-5); }
.faq dt { font-weight: 700; margin-top: var(--space-3); color: var(--color-heading); }
.faq dd { margin: 0; }
.related li { min-height: var(--tap); display: flex; align-items: center; }
/* 最終更新日 under the summary of a calculation page (small, like .note) */
.calc .updated { margin: 0 0 var(--space-3); }
.soon { color: var(--color-text-sub); }
.request a { display: inline-flex; align-items: center; min-height: var(--tap); font-weight: 600; }
.sources li { margin-bottom: var(--space-3); }
.references cite { font-style: normal; font-weight: 600; color: var(--color-heading); }
/* under the 参考 section of a calculation page: 計算の確かめ方 and 計算の誤りを報告 (src/site/checks.ts reportBlock), the same
   link and note styles as the 参考 lines; the line to paste wraps anywhere so a long URL never widens the page at 390 px */
.ref-after { margin-top: var(--space-4); padding-top: var(--space-3); border-top: 1px solid var(--color-line); }
.ref-after-link { margin: 0; }
.ref-after-link a { display: inline-flex; align-items: center; min-height: var(--tap); font-weight: 600; }
.report-copy { margin: var(--space-2) 0 0; }
.report-line { color: var(--color-text-2); overflow-wrap: anywhere; user-select: all; }
.product-guide { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; margin: var(--space-8) 0 var(--space-4); padding: var(--space-5) var(--space-6); background: var(--panel-bg); border: 1px solid var(--color-line); border-radius: var(--radius-panel); box-shadow: var(--shadow-sm); max-width: 46em; }
.product-guide img { height: 32px; width: auto; }
.product-guide p { margin: 0; flex: 1 1 16em; font-weight: 600; color: var(--color-text-2); }

/* glossary (用語の辞書, owner decision 2026-11-14): the 「？」 beside input and result labels and the term pages. The button is a
   44 px tap target drawn as a small ring; the popup opens below the label across the field (not hover-only; src/client/glossary-tip.ts). */
.label-row { display: flex; align-items: center; gap: 2px; margin-bottom: 6px; min-height: 28px; }
.label-row > label { font-weight: 650; color: var(--color-text); }
.field, .out { position: relative; }
.gloss-btn { flex: none; display: inline-flex; align-items: center; justify-content: center; width: var(--tap); height: var(--tap); margin: -8px -6px; padding: 0; border: 0; background: none; cursor: pointer; vertical-align: middle; color: var(--color-brand-strong); }
.gloss-mark { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--color-brand-line); background: var(--color-brand-soft); font-size: 13px; font-weight: 700; line-height: 1; }
.gloss-btn:hover .gloss-mark, .gloss-btn[aria-expanded="true"] .gloss-mark { border-color: var(--color-brand); background: var(--color-btn-bg-hover); }
.gloss-pop { position: absolute; left: 0; right: 0; z-index: 30; margin-top: 4px; padding: var(--space-3) var(--space-4); background: var(--color-surface-2); border: 1px solid var(--color-brand-line); border-radius: var(--radius); box-shadow: var(--shadow-md); color: var(--color-text); font-size: var(--text-small); font-weight: 400; line-height: 1.7; text-align: left; }
.gloss-pop[hidden] { display: none; }
.gloss-pop p { margin: 0 0 var(--space-2); }
.gloss-pop .gloss-term { font-weight: 700; color: var(--color-heading); }
.gloss-pop .gloss-more { display: inline-flex; align-items: center; min-height: var(--tap); font-weight: 600; }
.glossary-term .gloss-main > .text, .gloss-side > .text, .gloss-side > .block { margin-top: var(--space-8); padding-top: var(--space-2); }
.glossary-term .gloss-main > .text > h2, .gloss-side > .text > h2, .gloss-side > .block > h2 { margin-top: 0; padding-bottom: var(--space-2); border-bottom: 1px solid var(--color-line); }
.glossary-term .gloss-main > .gloss-body { margin-top: var(--space-4); padding-top: 0; }
/* the term page on PC (owner instruction 2026-11-15): the reading column (about 40 full-width characters a line, as the body text
   is 16 px) and, beside it, the column of where to go next (この言葉を使う計算・この言葉を含む公式・関連する用語) in a panel like the
   calculation page's. The DOM order is the phone order (one column): body → the side column → 関連する規格 → 参考. */
.glossary-term .gloss-main > .text { max-width: 40em; }
@media (min-width: 1024px) {
  .glossary-term.has-side { display: grid; grid-template-columns: minmax(0, 40em) minmax(18rem, 1fr); grid-template-rows: auto 1fr; column-gap: var(--space-10); align-items: start; }
  .glossary-term.has-side > .gloss-main { grid-column: 1; grid-row: 1; min-width: 0; }
  .glossary-term.has-side > .gloss-rest { grid-row: 2; }
  .glossary-term.has-side > .gloss-side { grid-column: 2; grid-row: 1 / span 2; margin-top: var(--space-8); padding: var(--space-2) var(--space-6) var(--space-6); background: var(--panel-bg); border: 1px solid var(--color-line); border-radius: var(--radius-panel); box-shadow: var(--shadow-sm); }
  .gloss-side > .text:first-child, .gloss-side > .block:first-child { margin-top: var(--space-4); }
  .gloss-side > .text, .gloss-side > .block { margin-top: var(--space-6); }
  .gloss-side .gloss-calc-list { flex-direction: column; align-items: stretch; }
  .gloss-side .related { padding-left: 0; list-style: none; }
  .gloss-side .gloss-calc-list .btn { width: 100%; justify-content: space-between; text-align: left; }
}
.gloss-formula .formula code { font-size: 1.15em; font-weight: 700; color: var(--color-heading); }
.gloss-formula .symbols div { display: flex; gap: var(--space-3); }
.gloss-formula .symbols dt { min-width: 2.5em; }
.gloss-formula .symbols dd { margin: 0; }
.gloss-diagram { max-width: 46em; margin-top: var(--space-6); }
.gloss-fig-tool { max-width: 46em; margin: 0 0 var(--space-4); }
.gloss-calc-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--space-3); }
.gloss-field-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); }
.gloss-field-list a { display: inline-flex; align-items: center; min-height: var(--tap); }

/* top page: the 計算を探す section (search, field tiles, cards); the hero and the sections are in home.css */
.block { margin-top: var(--space-2); }
.tiles, .cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--space-4); }
.tiles a { display: flex; gap: var(--space-4); align-items: flex-start; min-height: var(--tap); padding: var(--space-5); background: var(--panel-bg); border: 1px solid var(--color-line); border-radius: var(--radius-card); text-decoration: none; color: var(--color-text); height: 100%; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; }
.tile-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: var(--color-brand-soft); color: var(--color-link); box-shadow: inset 0 0 0 1px var(--color-brand-line); flex: 0 0 auto; }
.tile-icon .icon { width: 28px; height: 28px; }
.tile-text { display: block; min-width: 0; }
.tile-count { display: inline-block; margin: 2px 0 4px; font-size: 12.5px; font-weight: 700; color: var(--color-link); }
.card a { display: block; min-height: var(--tap); padding: var(--space-5); background: var(--panel-bg); border: 1px solid var(--color-line); border-radius: var(--radius-card); text-decoration: none; color: var(--color-text); height: 100%; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; }
.tiles a:hover, .card a:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--color-brand-line); color: var(--color-text); }
.card { position: relative; }
.card[hidden] { display: none; }
.card .state { position: absolute; right: var(--space-3); top: var(--space-3); font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: var(--radius-pill); border: 1px solid transparent; }
.card-field { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--color-link); margin-bottom: 4px; padding-right: 5em; }
.card-icon { width: 18px; height: 18px; }
.card-title { display: block; font-weight: 750; color: var(--color-heading); line-height: 1.5; }
.tiles .card-title { font-size: 17px; }
.card-sub { display: block; margin-top: 4px; font-size: 13px; line-height: 1.7; color: var(--color-text-sub); }
.cards-featured { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
/* exactly five cards (the checklists, the study sheets): three and two, not four and one left over (owner 2026-11-30, balance C) */
@media (min-width: 900px) { .cards:not(.cards-featured):has(> li:nth-child(5):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* 主な計算 (owner 2026-11-30, balance C): four across on a PC so the eight cards make two full rows, not five and three */
@media (min-width: 1100px) { .cards-featured { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.field-h1 { display: flex; align-items: center; gap: var(--space-3); }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; margin-bottom: var(--space-4); }
.chips-label { font-size: 13px; font-weight: 600; color: var(--color-text-2); }
/* the links between 用語の辞書・公式集・計算の一覧 and the glossary's text filter (owner instruction 2026-11-20) */
.entry-more { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--space-4); margin: var(--space-3) 0 var(--space-4); }
.entry-more-link { display: inline-flex; align-items: center; min-height: var(--tap); font-weight: 600; }
.glossary-text-filter { max-width: 32rem; margin-bottom: var(--space-4); }
.glossary-text-filter label { display: block; margin-bottom: var(--space-1); font-size: 13px; font-weight: 600; color: var(--color-text-2); }
.glossary-text-filter input { width: 100%; }
.glossary-text-filter .note { margin: var(--space-1) 0 0; }
.chip { min-height: var(--tap); padding: 0 var(--space-4); border: 1px solid var(--color-line); border-radius: var(--radius-pill); background: var(--color-btn-bg); color: var(--color-text); font-size: var(--text-small); font-weight: 600; cursor: pointer; }
.chip:hover { border-color: var(--color-input-line-hover); }
.chip[aria-pressed="true"] { background: var(--color-brand-soft); color: var(--color-brand-strong); border-color: var(--color-brand); box-shadow: inset 0 0 0 1px var(--color-brand); }

dialog { border: 1px solid var(--color-line); border-radius: var(--radius-panel); max-width: min(480px, calc(100vw - 32px)); width: 100%; color: var(--color-text); background: var(--color-surface-2); box-shadow: var(--shadow-md); padding: var(--space-6); }
dialog::backdrop { background: var(--color-backdrop); }
dialog label { display: block; margin-bottom: var(--space-3); font-weight: 600; font-size: var(--text-small); }
dialog input { width: 100%; display: block; margin-top: 4px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: var(--space-2); }

.sheet { display: none; }

/* study sheets (検討シート): the calculation page's panels per step, linked inputs shown as values with their source */
.step { margin-top: var(--space-8); }
.step > h2 { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-1); }
.step-no { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 10px; background: var(--color-brand-soft); color: var(--color-brand-strong); border: 1px solid var(--color-brand); font-weight: 800; }
.step-calc { margin: 0 0 var(--space-3); font-size: 14px; color: var(--color-text-sub); }
.step-calc a { display: inline-flex; align-items: center; min-height: var(--tap); }
.step-work { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-6); align-items: start; }
.step-inputs, .step-results { min-width: 0; background: var(--panel-bg); border: 1px solid var(--color-line); border-radius: var(--radius-panel); padding: var(--space-6); box-shadow: var(--shadow-sm); }
.step-results > h3 { margin-top: 0; }
.goal[hidden], .step-form .field [hidden] { display: none; }
.linked { margin: 0 0 var(--space-2); padding: var(--space-2) var(--space-3); border: 1px dashed var(--color-brand); border-radius: 12px; background: var(--color-brand-soft); }
.linked p { margin: 0 0 4px; }
.linked-label { font-size: 13px; font-weight: 700; color: var(--color-brand-strong); }
.linked-value { font-weight: 800; color: var(--color-heading); font-variant-numeric: tabular-nums; }
.field:not(.is-linked) .linked > p { display: none; }
.field:not(.is-linked) .linked { border-style: solid; background: none; padding: 0 var(--space-3); }
.unlink { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); font-size: 14px; }
.fixed { margin: 0 0 var(--space-2); padding: var(--space-2) var(--space-3); border-radius: 12px; background: var(--color-surface-2); border: 1px solid var(--color-line); font-size: 14px; }
.manual { margin: 0 0 var(--space-2); padding-left: var(--space-3); border-left: 3px solid var(--color-warn); }
.manual[hidden], .linked-empty[hidden] { display: none; }
.notice { margin: var(--space-3) 0; padding: var(--space-3) var(--space-4); border-radius: 12px; background: var(--color-warn-bg); border: 1px solid var(--color-warn-line); color: var(--color-text); font-weight: 600; }
.notice[hidden] { display: none; }
.compare td { font-variant-numeric: tabular-nums; white-space: nowrap; }
.compare td.is-current { background: var(--color-brand-soft); font-weight: 700; }
.compare .unit { font-weight: 400; color: var(--color-text-sub); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

@media (max-width: 900px) {
  .work { grid-template-columns: minmax(0, 1fr); }
  .results { position: static; }
  .inputs, .results { padding: var(--space-4); }
  .step-work { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
  .step-inputs, .step-results { padding: var(--space-4); }
  .sticky-main:not([hidden]):not(:empty) { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-3); align-items: center; position: sticky; bottom: 0; z-index: 15; background: var(--color-surface); border-top: 1px solid var(--color-input-line); padding: var(--space-3) var(--space-4); margin: 0 -3.4%; box-shadow: var(--shadow-sticky); font-weight: 700; }
  .sticky-main .verdict { font-size: 14px; padding: 4px 10px; }
  .sticky-main .verdict::before { width: 20px; height: 20px; font-size: 13px; }
  .sticky-main .s-value { font-size: 20px; color: var(--color-heading); font-variant-numeric: tabular-nums; }
}

@media (max-width: 767px) {
  main { padding: var(--space-3) 4% var(--space-8); }
  .cards { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); }
  .tiles a { flex-direction: column; gap: var(--space-2); padding: var(--space-3); border-radius: 16px; }
  .tiles .card-sub { display: none; }
  .tiles .card-title { font-size: 15px; }
  .tile-icon { width: 40px; height: 40px; border-radius: 12px; }
  .card a { padding: var(--space-4); }
  .tools { padding: var(--space-2); }
  .unit-bar { margin: var(--space-2) 0 var(--space-3); }
  .export-toggle { display: inline-flex; width: 100%; }
  .export-list:not(.is-open) { display: none; }
  .exports .export-list { margin-top: var(--space-2); }
  input, select { font-size: 16px !important; }
  .diagram { padding: 6px; }
}

@media print {
  @page { size: A4 portrait; margin: 14mm 12mm; }
  body { font-size: 10.5pt; line-height: 1.5; background: var(--color-surface); }
  .site-header, .crumbs, .tools, .unit-bar, .exports, .site-footer, .contact, .contact-faq, .sticky-main, .skip, form button, .example button, dialog, .product-guide, .gloss-btn, .gloss-pop { display: none !important; }
  main { padding: 0; max-width: none; }
  .work { grid-template-columns: 1fr; }
  .inputs, .results { position: static; background: none; padding: 0; border: 0; box-shadow: none; }
  details { display: block; }
  details > summary { list-style: none; font-weight: 700; }
  .margin, tr, .premise, .formulas li { break-inside: avoid; }
  body.print-sheet main > *:not(#sheet), body.print-sheet .site-header, body.print-sheet .crumbs, body.print-sheet .site-footer { display: none !important; }
  body.print-sheet #sheet { display: block; }
  body:not(.print-sheet) #sheet { display: none; }
  .sheet h1 { font-size: 16pt; margin: 0 0 4mm; color: var(--color-text); }
  .sheet h2 { font-size: 13pt; margin: 4mm 0 2mm; color: var(--color-text); }
  .sheet h3 { font-size: 11pt; margin: 3mm 0 1mm; color: var(--color-text); }
  .sheet th, .sheet td { border: 1px solid var(--color-input-line-hover); }
  .sheet-meta th { width: 14%; }
  .sheet-meta td { width: 36%; height: 9mm; }
  .sheet-meta .approve { height: 18mm; }
  .sheet-trace, .sheet-foot { font-size: 9pt; color: var(--color-text-sub); }
  .sheet-version { font-size: 7.5pt; color: var(--color-text-sub); margin-top: 2mm; }
  .sheet-made { font-size: 7.5pt; color: var(--color-text-sub); margin-top: 1mm; }
  .diagram { box-shadow: none; break-inside: avoid; }
  .sheet-diagram { max-width: 120mm; margin: 2mm 0 3mm; padding: 2mm; }
  .ref-table { overflow: visible; border: 0; }
  .ref-table table { font-size: 8.5pt; }
  .ref-table th, .ref-table td { padding: 3px 5px; border: 1px solid var(--color-input-line-hover); }
  .ref-block { break-inside: auto; }
  .sheet-compare th, .sheet-compare td { padding: 3px 5px; font-size: 9pt; }
  .sheet h3 { break-after: avoid; }
}

/* Places of header items Engineering AI does not have yet (platform spec ch3 3.1.1 (3)): the items keep Review AI's order (nothing is
   reordered), but an item not shown takes no room either, so no empty gap appears (owner decision 2026-11-14: "do not move other items
   there" is read as "do not change the order"). */
.header-slot { display: none; }

/* 「MechOwl製品一覧」 by department (owner decision 2026-11-18): the look is the canonical copy platform-copies/design/chrome/
   products-menu.css, loaded before this file and never rewritten; only its --pm-* variables (colours, corners, shadow) are set here
   from this site's tokens (platform spec ch3 3.3). Nothing else of the menu is styled here. */
.products-menu-list {
  --pm-surface: var(--color-surface-2);
  --pm-side: color-mix(in srgb, var(--color-bg) 35%, transparent);
  --pm-text: var(--color-text);
  --pm-text-2: var(--color-text-2);
  --pm-muted: var(--color-text-sub);
  --pm-line: var(--color-line);
  --pm-line-strong: var(--color-input-line);
  --pm-radius: var(--radius-panel);
  --pm-radius-item: calc(var(--radius) + 2px);
  --pm-radius-dept: var(--radius);
  --pm-shadow: var(--shadow-md);
  --pm-accent: var(--color-link);
  --pm-accent-soft: var(--color-brand-soft);
  --pm-mark: var(--color-sky);
  --pm-link: var(--color-link);
}

/* 公式集 (product spec v1 §1.16): formulas are text; a long formula wraps, and only a table scrolls sideways (never the page) */
.formula-theme > .text, .formula-theme > .block { max-width: 52em; }
.fx { font-family: var(--font-mono); font-size: 14.5px; font-weight: 600; color: var(--color-heading); white-space: pre-wrap; overflow-wrap: anywhere; user-select: text; }
.fx-item { margin-top: var(--space-6); }
.fx-item h3 { margin: 0 0 var(--space-2); font-size: var(--text-base); }
.fx-line { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); }
.fx-line .fx { display: block; flex: 1 1 14em; min-width: 0; background: var(--color-input-bg); border: 1px solid var(--color-line); border-radius: 8px; padding: 8px 12px; }
.fx-copy { min-height: 44px; }
.fx-example { margin: var(--space-2) 0 0; font-size: var(--text-small); color: var(--color-text-2); overflow-wrap: anywhere; }
.fx-example-h { font-weight: 700; }
.fx-table-wrap { overflow-x: auto; max-width: 100%; margin-top: var(--space-3); border: 1px solid var(--color-line); border-radius: 8px; }
.fx-table-wrap:focus-visible { outline: 2px solid var(--color-link); outline-offset: 2px; }
.fx-table { width: 100%; }
.fx-table th, .fx-table td { padding: 8px 10px; text-align: left; vertical-align: top; }
.fx-table tbody th { font-weight: 700; color: var(--color-heading); min-width: 8em; }
.fx-table td .fx { white-space: nowrap; }
.fx-run { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
.fx-draft { padding: 8px 12px; border: 1px dashed var(--color-line); border-radius: 8px; }
.fx-run-block .gloss-calc-list { display: flex; flex-wrap: wrap; gap: var(--space-3); padding: 0; list-style: none; }
.fx-unstated { display: inline-block; margin-left: var(--space-2); font-size: var(--text-xs); color: var(--color-text-2); border: 1px dashed var(--color-line); border-radius: 6px; padding: 0 6px; }

/* チェックリスト集 (product spec v1 §1.17): items by category, a tick and one line of why each; the ticks stay in this browser.
   Long words wrap (390 px: no sideways scroll of the page). Printed A4 portrait: the boxes and the whys, without the outputs. */
.checklist > .text, .checklist > .block { max-width: 52em; }
.cl-progress { font-weight: 700; margin: var(--space-2) 0 var(--space-3); }
.cl-cat h3 { margin-top: var(--space-6); }
.cl-items { list-style: none; padding: 0; margin: 0; }
.cl-item { padding: var(--space-3) 0; border-bottom: 1px solid var(--color-line); overflow-wrap: anywhere; }
.cl-check { display: flex; gap: var(--space-3); align-items: flex-start; cursor: pointer; font-weight: 600; }
.cl-check input { flex: none; width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--color-link); }
.cl-why, .cl-basis, .cl-links { margin: var(--space-1) 0 0 calc(20px + var(--space-3)); font-size: 14px; }
.cl-why { color: var(--color-text-2); }
.cl-why-h { font-weight: 700; }
.cl-basis { color: var(--color-text-sub); font-size: 12px; }
.cl-links { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-4); }
.cl-item.is-checked .cl-text { color: var(--color-text-2); }
.cl-count { margin-top: var(--space-1); font-weight: 600; }
@media print {
  .cl-device, .cl-progress, .cl-links, .cl-draft { display: none !important; }
  .cl-item { break-inside: avoid; padding: 1.5mm 0; }
  .cl-cat h3 { break-after: avoid; margin-top: 4mm; }
  .cl-check input { width: 4mm; height: 4mm; }
  .cl-why, .cl-basis { font-size: 9pt; margin-left: 7mm; }
  .cl-basis { font-size: 8pt; }
}
/* ② 「式・前提・出典を見る」 lands on the result's formulas (src/client/page.ts basisTarget): below the fixed header */
#result .formulas, #result .premises { scroll-margin-top: calc(var(--header-h, 64px) + 12px); }

/* The account menu's sign-in item stays on one line (2026-11-28, bundle B-2 visual check): the canonical list is 240px wide, which broke
   「MechOwl アカウントでログイン」 in the middle of 「ログイン」 on the PC. The list grows to fit the item (never wider than the window);
   the status sentence above it still wraps. The same fix belongs in the canonical chrome.css (reported to Review AI). */
header .account-menu-list { width: max-content; }
header .account-menu-item { white-space: nowrap; }
header .account-menu-status { text-wrap: balance; word-break: auto-phrase; }

/* Tables (platform spec ch3 3.13, 2026-11-29 その2): the head row #323A47, the body rows alternating, visible row lines, the cells aligned to the
   top so the first lines line up. The colours are this site's table variables (tokens.css), light again in print. */
table { background: var(--color-table-body); font-variant-numeric: tabular-nums; }
th, td { vertical-align: top; }
thead th { background: var(--color-thead-bg); color: var(--color-thead-text); font-weight: 600; border-bottom: 1px solid var(--color-table-line); }
tbody tr:nth-child(even) > td, tbody tr:nth-child(even) > th { background: var(--color-table-body-alt); }
tbody tr:hover > td { background: var(--color-btn-bg-hover); }
.table-wrap, .fx-table-wrap, .ref-table, .compare-wrap { border-color: var(--mo-line-table); }
/* a mark and its explanation in one row, the second line starting under the explanation (.mo-mark-cell of tokens.css) */
.mo-mark-cell > .fn-mark { flex: none; }

/* ⑤ what cannot be undone (deleting what is kept on this device): a red outline (platform spec ch7 7.7 K) */
.btn.danger:not(#_) { border-color: var(--mo-danger-line); background: var(--mo-danger-fill); color: var(--mo-on-danger); }
.btn.danger:not(#_):hover:enabled { border-color: var(--mo-danger-line); background: rgba(248, 113, 113, .18); color: var(--mo-on-danger); transform: none; }
/* ⑥ going to another page: a text link, never a button (an anchor made with .btn.sub) */
a.btn.sub { min-height: 0; padding: 4px 2px; border: 0; background: none; color: var(--mo-link); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
a.btn.sub:hover { background: none; color: var(--mo-accent-hover); }
/* ② paid AI and buying: orange (platform spec ch7 7.7 K) */
.btn.paid { background: var(--mo-paid); color: var(--mo-on-paid); border-color: var(--mo-paid); box-shadow: var(--mo-inset-primary); }
.btn.paid:hover { background: var(--mo-paid-hover); border-color: var(--mo-paid-hover); color: var(--mo-on-paid); transform: translateY(-2px); }

/* The canonical products-menu.css carries a generic rule for every <button> that is not one of its listed classes: the secondary (④) look, with
   the specificity of eleven :not() terms. Found by comparing each button with and without the rule (the top, a calculation, the list, the data,
   the sheets, a field, the ② page): the 「？」 button, the selected chips and the ② entry button would lose theirs. `:not(#_)` raises these above
   it; the copy is not edited. */
.gloss-btn:not(#_) { border: 0; background: none; color: var(--color-brand-strong); }
.gloss-btn:not(#_):hover:enabled { background: none; transform: none; }
.chip[aria-pressed="true"]:not(#_) { background: var(--color-brand-soft); color: var(--color-brand-strong); border-color: var(--color-brand); }
.compose-mode .chip[aria-pressed="true"]:not(#_) { border-color: var(--color-info-line); background: var(--color-info-bg); color: var(--color-info); }
.mo-paid-button:not(#_) { color: var(--mo-on-paid); border-color: var(--mo-paid); }
.mo-paid-button:not(#_):hover:enabled { transform: none; }
/* The formula index (/calc/formulas/, owner 2026-11-30 D20): the fields share rows of three columns on a PC; a field spans as many
   columns as it has cards (src/site/formulas.ts renderFormulaIndex), its cards one per column. Below 1024px one field per row as before. */
@media (min-width: 1024px) {
  .fx-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--space-4); align-items: start; }
  .fx-index-field { grid-column: span 3; min-width: 0; }
  .fx-index-field .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fx-index-field.fx-span-1 { grid-column: span 1; }
  .fx-index-field.fx-span-1 .cards { grid-template-columns: minmax(0, 1fr); }
  .fx-index-field.fx-span-2 { grid-column: span 2; }
  .fx-index-field.fx-span-2 .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Review AI's header, footer, top page and pricing, and the official site's strengths page structure
   (owner decision 2026-11-14: the same structure and look as Review AI; only the content differs).
   Values: docs/design/review-ai-structure.md §1–§7 (computed in Chromium from hiragg/mechowl-review MechOwlReview/src/style.css
   at e13c93a6) and hiragg/mechowl-web src/styles/site.css 193–246 (f73143a). Colours only through tokens.css variables. */

/* The header and footer come from the canonical copy platform-copies/design/chrome/chrome.css (Review AI, PR #555 701053796,
   not merged yet), loaded before this file and never rewritten. Only what this product adds is styled here: the empty places
   (no language switch, no account yet) stay hidden, whatever display the canonical rules give them. */
.site-header [hidden], .site-header .header-nav-more[hidden], .site-header .header-account[hidden] { display: none !important; }

/* ---- contact (closed box before the footer, §6) ---- */
.contact { width: min(1100px, 94%); margin: 40px auto 0; padding: 0 22px; background: var(--color-surface); border: 1px solid var(--color-line); border-radius: 16px; }
.contact summary { display: list-item; min-height: 64px; padding: 20px 0; box-sizing: border-box; cursor: pointer; font-size: 17px; font-weight: 700; color: var(--color-heading); }
.contact[open] summary { min-height: 56px; }
.contact p { margin: 0 0 14px; font-size: 14px; color: var(--color-text-2); }
.contact-faq { max-width: 1480px; margin: 4px auto 0; padding: 0 5%; text-align: right; font-size: 14px; }
/* the top page's content is wider (main 1400px, 3% sides): the contact box and the FAQ link line up with it (owner 2026-11-30, balance C) */
.page-top .contact { width: min(1316px, 94%); }
.page-top .contact-faq { max-width: 1400px; padding: 0 3%; }
.contact-faq a { display: inline-flex; align-items: center; min-height: 44px; }
/* ---- top page (§2): main 1400 px; hero; sections with a kicker and a heading; cards ---- */
/* The hero's box, background, grid and layout (45% / 55%, the owl and speech under the line, the buttons in a row) are the canonical
   hero.css and tokens.css (platform spec ch.3 3.13; Review AI #742): nothing of the box is drawn here. */
.page-top main { max-width: 1400px; padding: 24px 3%; }
.home-copy { min-width: 0; }
/* The type and spacing of the hero's left column (kicker, title and its .title-line pieces, subtitle, the two start buttons, the
   note, the strengths link) are Review AI's, from the canonical copy platform-copies/design/chrome/hero.css loaded right after
   chrome.css (platform spec ch.3 3.1.1 item 11; owner decision 2026-11-18; tests/e2e/hero-type.spec.ts). Only the colours of
   this site's tokens are set here (no font family, size, line or letter spacing, weight or margin for this column). */
.brand-tagline { color: var(--color-sky); }
.home-hero .home-title { color: var(--color-heading); }
.home-subcopy { color: var(--color-heading); }
.start-button { text-decoration: none; border: 1px solid transparent; transition: background .15s, transform .15s; }
.start-button.primary { background: var(--mo-accent); color: var(--mo-on-accent); border-color: var(--mo-accent); box-shadow: var(--mo-inset-primary); }
.start-button.primary:hover { background: var(--mo-accent-hover); border-color: var(--mo-accent-hover); color: var(--mo-on-accent); transform: translateY(-2px); box-shadow: var(--mo-shadow-primary), var(--mo-inset-primary); }
/* the second start button is a free action: Review AI's secondary (ghost) button of the top's actions, not its amber (paid) one
   (MechOwlReview/src/style.css .home-actions button.ghost; owner answer 2026-11-14) */
.start-button.ghost { background: var(--color-ghost-bg); color: var(--color-ghost-text); border-color: var(--color-ghost-line); box-shadow: none; }
.start-button.ghost:hover { background: var(--color-ghost-bg-hover); color: var(--color-ghost-text); border-color: var(--color-ghost-line-hover); }
.home-actions.home-start .start-note { color: var(--color-text-2); }
.home-strengths-link { min-height: 44px; border: 1px solid var(--strengths-link-line); background: var(--strengths-link-bg); color: var(--strengths-link-text); }
.home-hero .home-strengths-link { color: var(--strengths-link-text); }
.home-strengths-link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; background: var(--strengths-link-mark); opacity: .55; transform: scaleX(.35); transform-origin: left; transition: transform .3s, opacity .3s; }
.home-strengths-mark { flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--strengths-link-mark); transform: rotate(45deg); }
.home-strengths-text { flex: 1; }
.home-strengths-arrow { flex: none; font-size: 16px; color: var(--strengths-link-arrow); transition: transform .2s; }
.home-strengths-link:hover, .home-strengths-link:focus-visible { border-color: var(--strengths-link-line-hover); color: var(--strengths-link-text); }
.home-strengths-link:hover::after, .home-strengths-link:focus-visible::after { transform: scaleX(1); opacity: .9; }
.home-strengths-link:hover .home-strengths-arrow { transform: translateX(4px); }
.home-visual { min-width: 0; }
.home-companion { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; --home-owl-h: 104px; }
.home-companion .owl-avatar { display: inline-flex; flex-direction: column; align-items: center; flex: none; gap: 1px; }
.home-companion .owl-avatar img { display: block; height: var(--home-owl-h); width: auto; }
.home-companion .owl-avatar small { font-size: 9px; font-weight: 600; line-height: 1.2; color: var(--color-text-2); }
.product-preview { overflow: hidden; background: var(--color-preview-bg); border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; box-shadow: var(--shadow-preview); color: var(--color-preview-app); }
.preview-chrome { display: flex; align-items: center; gap: 8px; padding: 11px 14px; background: var(--color-preview-chrome); border-bottom: 1px solid var(--color-preview-line); color: var(--color-preview-text); font-size: 11px; }
.preview-dots { display: flex; gap: 6px; }
.preview-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--preview-dot-1); }
.preview-dots i:nth-child(2) { background: var(--preview-dot-2); }
.preview-dots i:nth-child(3) { background: var(--preview-dot-3); }
.preview-app { margin: 0 auto 0 10px; font-weight: 700; color: var(--color-preview-app); }
/* Review AI's body, sheet and rows (MechOwlReview/src/style.css 346-353, 543-546, 556, 758, 1751-1752 and the phone rule of 280) */
.preview-body { padding: 12px 12px 4px; background: var(--color-preview-body); }
.preview-sheet { border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-preview-sheet); border: 1px solid var(--color-preview-sheet-edge); background: var(--paper-bg); }
.preview-rows { display: grid; gap: 6px; padding: 10px 2px 6px; }
.preview-rows p { display: flex; align-items: center; gap: 10px; margin: 0; padding: 9px 12px; border: 1px solid var(--color-preview-line); border-radius: 10px; background: var(--color-preview-bg); color: var(--color-preview-ink); font-size: 12.5px; font-weight: 600; }
.preview-pin { display: inline-grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--color-preview-pin); color: var(--color-preview-pin-text); font-size: 11px; font-weight: 800; box-shadow: 0 0 0 3px var(--color-preview-pin-ring); }
.preview-rows .preview-title { flex: 1 1 160px; min-width: 0; color: inherit; font-size: inherit; }
.preview-rows .preview-badges { display: inline-flex; flex: none; gap: 6px; margin-left: auto; }
.preview-rows small { padding: 3px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 700; white-space: nowrap; }
.preview-rows small.preview-kind { background: var(--color-preview-kind-bg); color: var(--color-preview-kind); }
/* Engineering AI's sheet: the cantilever drawing of the beam calculation drawn large (src/site/hero-image.ts, owner decision
   2026-11-16); its lines, symbols and text are the drawing rules' classes (.diagram .d-* in site.css, the symbol italic font);
   the .diagram paper itself is the sheet, so its own frame is taken off */
.hero-image { --font-symbol: "Inter Symbol Italic", var(--font-sans); }
.hero-sheet { padding: 14px 18px 16px; color: var(--paper-text); }
.hero-sheet-title { margin: 0; font-size: 13px; font-weight: 700; color: var(--paper-text-sub); }
.hero-sheet .hero-diagram { margin: 6px 0 0; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
.hero-sheet .hero-diagram svg { max-width: none; }
.hero-note { margin: 2px 0 0; font-size: 12px; text-align: right; color: var(--paper-text-sub); }
.hero-sym { font-family: var(--font-symbol); font-style: italic; font-weight: 600; }
.hero-values { display: flex; justify-content: space-between; gap: 12px; margin-top: 2px; }
.hero-value { display: grid; gap: 2px; margin: 0; }
.hero-sigma { text-align: right; }
.hero-cap { font-size: 13px; font-weight: 600; color: var(--paper-text-sub); }
.hero-num { font-size: 40px; font-weight: 800; line-height: 1.1; letter-spacing: -.01em; color: var(--paper-text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hero-usage { margin-top: 14px; }
.hero-usage-words { display: flex; align-items: baseline; gap: 10px; margin: 0 0 6px; font-size: 14px; font-weight: 600; color: var(--paper-text); }
.hero-usage-words strong { margin-left: auto; font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.hero-usage-note { color: var(--paper-text-sub); font-variant-numeric: tabular-nums; }
.hero-bar { display: block; width: 100%; height: 18px; }
.hero-bar .rd-track { fill: var(--paper-track); stroke: var(--paper-axis); stroke-width: 1; vector-effect: non-scaling-stroke; }
.hero-bar .rd-over { fill: none; stroke: var(--paper-axis); stroke-width: 1; stroke-dasharray: 3 2; vector-effect: non-scaling-stroke; }
.hero-bar .rd-fill.ok { fill: var(--paper-ok); }
.hero-bar .rd-fill.ng { fill: var(--paper-ng); }
.hero-bar .rd-one { stroke: var(--paper-line); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.hero-row-margin { margin-left: 10px; color: var(--color-preview-pin); font-weight: 800; white-space: nowrap; }
.preview-rows code { font: 600 12.5px var(--font-mono); white-space: nowrap; }
/* the formula row: the expression and its substituted line in the text font (symbols italic, .hero-sym); the substituted line
   breaks only between its pieces (src/site/hero-image.ts heroPieces), never between a number and its unit */
.preview-rows code.hero-formula { font-family: var(--font-sans); font-variant-numeric: tabular-nums; white-space: normal; }
.preview-rows code.hero-subst { display: flex; flex-wrap: wrap; gap: 0 .35em; line-height: 1.6; }
.hero-piece, .hero-result { white-space: nowrap; }
.hero-row-sub { display: block; margin-top: 2px; }
/* the reference row breaks only between its phrases (src/site/hero-image.ts heroPhrases), never leaving one character alone on a phone */
.hero-phrase { white-space: nowrap; }
.hero-row-sub code + code { margin-left: .5em; }
/* The first screen on a PC (owner decision 2026-11-29, platform spec ch.3 3.11): the common part platform-copies/design/hero-fit.mjs
   (bindHeroFit in src/client/top.ts) and the rules .hero-fit / .hero-fit-media / .hero-fit-hidden of the copied hero.css do it; nothing here. */
@media (max-width: 850px) {
}
@media (max-width: 700px) {
  .home-companion { --home-owl-h: 84px; }
  .preview-rows p { flex-wrap: wrap; }
  .preview-rows small { white-space: normal; }
}
@media (max-width: 520px) {
  .page-top main { padding: 12px; }
  .hero-sheet { padding: 12px 12px 14px; }
  .hero-num { font-size: 24px; }
  .hero-usage-words { flex-wrap: wrap; gap: 2px 8px; font-size: 13px; }
  .hero-row-margin { display: block; margin: 2px 0 0; }
  .preview-rows code { font-size: 11.5px; }
}

.home-section { padding: 32px 0 0; }
.section-head { max-width: 960px; margin: 0 0 22px; }
.section-kicker { margin: 0 0 var(--mo-sec-label-gap, 8px); font-family: inherit; font-size: 13px; font-weight: 600; letter-spacing: .08em; line-height: 1.8; color: var(--color-link); } /* the chips (WHY, HOW IT WORKS …) are Review AI's: the page font, not monospace (owner 2026-11-30, item 5) */
.home-section .section-heading, .trust-heading { margin: 0; font-weight: 800; line-height: 1.35; letter-spacing: -.02em; color: var(--color-heading); }
.section-lead, .trust-lead { max-width: 720px; margin: 12px 0 0; font-size: 16px; line-height: 1.75; color: var(--color-text-2); }
.step-no { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; border-radius: 50%; background: var(--color-step-no-bg); color: var(--color-step-no-text); font: 700 12px/1 var(--font-mono); vertical-align: 2px; }
.section-note { margin: 14px 0 0; font-size: 12.5px; color: var(--color-text-sub); }
.home-trust { padding: 32px 0 0; }
/* The explanation sections (WHY, HOW IT WORKS, RESULTS, TRUST & DATA, the AI steps) are the common .mo-section (tokens.css; platform spec
   ch3 3.13 item 7): from 1024 px the heading on the left and the cards in one row on the right, the same size everywhere; below that they
   stack as before. Words are not cut to fit. */
.home-cards, .trust-grid { list-style: none; margin: 0; padding: 0; display: grid; }
@media (max-width: 1023px) { .home-cards, .trust-grid { grid-template-columns: minmax(0, 1fr); } }
/* The card's contents are Review AI's top (owner 2026-11-30, item 5): the common part tokens.css (--mo-sec-*, .mo-section-card, .mo-section-icon) gives the icon
   on the left of the title, the description directly under it and the rows the cards of one row share (the title row is as tall as the longest
   title of the row; no height is reserved for a second line). Only this product's colours and the title letter-spacing are set here. */
.mo-section-card > .home-card-icon, .mo-section-card > .trust-icon { color: #fff; }
.mo-section-card .home-card-icon svg, .mo-section-card .trust-icon svg { display: block; width: 100%; height: 100%; }
.mo-section-card h3 { color: var(--color-heading); letter-spacing: -.01em; }
.home-trust .mo-section-card h3 { letter-spacing: -.02em; }
.mo-section-card > :is(h3, p) { min-width: 0; }
@media (max-width: 1023px) {
  .home-cards, .trust-grid { gap: 10px; }
  /* tokens.css lays a phone's card out as a flex row (an icon and one text block); with the icon, title and text as direct children (Review AI's markup) it is a grid */
  .mo-section-card { display: grid; grid-template-columns: var(--mo-sec-icon) minmax(0, 1fr); row-gap: 0; align-items: start; }
  .mo-section-card > .mo-section-icon { grid-row: 1 / span 2; }
  .mo-section-card > :is(h3, p) { grid-column: 2; }
}
.mo-section-head .section-heading, .mo-section-head .trust-heading { font-size: 23px; }
/* a box's bottom to the next section's heading is about 72px (Review ch3 3.11): measured 63px plus 9px */
.home-section.mo-section, .home-trust.mo-section { margin-top: 9px; }
@media (min-width: 1024px) {
  .mo-section-head { max-width: none; margin: 0; }
  .mo-section-head .section-heading, .mo-section-head .trust-heading { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.3; }
  .mo-section-head .section-lead, .mo-section-head .trust-lead { font-size: 14px; margin-top: 10px; }
  .home-section.mo-section > .section-note, .home-ai .home-ai-action, .mo-section > .section-more, .home-trust > .faq-security-link, .home-trust > :not(.mo-section-head):not(.mo-section-cards) { grid-column: 1 / -1; }
}
.section-more { margin: 14px 0 0; font-size: 14px; line-height: 1.75; color: var(--color-text-2); }
.faq-security-link { margin: 16px 0 0; text-align: center; font-size: 14px; }
.faq-security-link a { display: inline-flex; align-items: center; min-height: 44px; }
/* TRUST & DATA additions (owner instruction 2026-11-14): 計算の確かめ方 beside the security link, the fact line above them */
.faq-security-link { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 24px; }
@media (max-width: 700px) {
  .home-section, .home-trust { padding-top: 32px; }
}

/* 計算を探す (added under the hero; Review AI has no search): the search box, then the lists as sub-blocks */
.search label { display: block; margin-bottom: var(--space-2); font-weight: 700; color: var(--color-heading); }
.search-box { position: relative; max-width: none; } /* the full width of 計算を探す (PR-A A9; before 760px) */
.search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--color-text-sub); pointer-events: none; }
.search input { width: 100%; min-height: 56px; padding-left: 48px; font-size: 18px; border-radius: 14px; border-color: var(--color-input-line); box-shadow: var(--shadow-sm); }
.results-list { list-style: none; max-width: 760px; padding: 0; margin: var(--space-2) 0 0; background: var(--color-surface-2); border: 1px solid var(--color-input-line); border-radius: 12px; }
.results-list:empty { display: none; }
.results-list li { padding: var(--space-2) var(--space-3); border-bottom: 1px solid var(--color-line); min-height: var(--tap); }
.results-list .card-sub { display: block; }
.search-block { margin-top: var(--space-8); }
.search-block[hidden] { display: none; }
.search-block > h3 { margin: 0 0 var(--space-3); font-size: 20px; font-weight: 800; color: var(--color-heading); }
/* 2026-11-22 (owner, PR-A A9): the search field the full width; 用語の辞書・公式集・チェックリスト集 side by side under it (one column on
   a phone); then the AI section in the form of Review AI's HOW IT WORKS */
.entry-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-3); list-style: none; margin: var(--space-4) 0 0; padding: 0; min-width: 0; }
@media (min-width: 768px) { .entry-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.entry-card { display: flex; flex-direction: column; min-width: 0; background: var(--panel-bg); border: 1px solid var(--color-line); border-radius: var(--radius-card); box-shadow: var(--shadow-sm); }
.entry-card-main { display: block; min-height: var(--tap); padding: var(--space-4) var(--space-4) var(--space-2); border-radius: var(--radius-card) var(--radius-card) 0 0; text-decoration: none; color: var(--color-text); }
.entry-card-main:hover .entry-card-title { text-decoration: underline; }
/* hover (platform spec ch3 3.13, owner 2026-11-29): a card that can be pressed (a link, or a button that can be used) lifts 4px and its line takes the
   accent; a box that only explains does not move, only its ground turns a little lighter (--mo-box-hover) */
.entry-card, .plan-card { transition: transform var(--mo-motion), border-color var(--mo-motion), box-shadow var(--mo-motion), background var(--mo-motion); }
.entry-card:has(a[href]):hover, .plan-card:has(a[href], button:not(:disabled)):hover { transform: translateY(-4px); border-color: rgba(94, 234, 212, .45); box-shadow: var(--mo-shadow-card); }
.plan-card:not(:has(a[href], button:not(:disabled))):hover { background: var(--mo-box-hover); }
.entry-card-title { font-size: 17px; font-weight: 800; color: var(--color-heading); }
.entry-card-count { display: inline-block; margin-left: var(--space-2); font-size: 12.5px; font-weight: 700; color: var(--color-link); }
.entry-card-examples { margin: 0; padding: 0 var(--space-4) var(--space-3); font-size: 13.5px; line-height: 1.9; color: var(--color-text-sub); }
.entry-card-examples a { font-weight: 600; white-space: nowrap; }
.home-ai { margin: 32px 0 0; }
.home-ai-action { margin: var(--space-5) 0 0; }
/* HOW TO USE AI in the "stack" form (owner 2026-11-30, A3; platform spec ch3 3.15): label → heading → lead → description → three boxes →
   the button in the centre; the lead, the description and the boxes share the left edge */
.home-ai--stack .mo-section-head { margin: 0; max-width: none; }
.home-ai--stack .section-lead { margin: 8px 0 0; }
.home-ai--stack > .section-more { margin: 12px 0 20px; max-width: none; }
.home-ai--stack .home-ai-action { display: flex; justify-content: center; margin: 20px 0 0; }
/* TRUST & DATA: the long lead under the boxes starts at the left edge of the leftmost box (owner 2026-11-30, A4; platform spec ch3 3.15 4) */
@media (min-width: 1024px) { .home-trust.mo-section > .trust-lead { grid-column: 2; } }
/* Review AI's amber button of a paid action (its .home-actions button.paid-cta), with this site's tokens */
.start-button.paid-cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 22px; border-radius: 12px; font-weight: 800; background: var(--color-amber); color: var(--color-amber-text); border-color: var(--color-amber); box-shadow: var(--shadow-amber); }
.start-button.paid-cta:hover { background: var(--color-amber-hover); color: var(--color-amber-text); }

/* FUNCTION (§2.4) */
.fn-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 0 0 6px; padding: 0; font-size: 13.5px; color: var(--color-text); }
.fn-legend li { display: inline-flex; align-items: center; gap: 6px; }
.fn-legend li:nth-child(1) .fn-icon { color: var(--color-link); }
.fn-legend li:nth-child(2) .fn-icon { color: var(--color-amber-badge); }
.fn-icon { flex: none; width: 18px; height: 18px; vertical-align: -3px; }
.fn-mark { display: inline-flex; align-items: center; gap: 6px; margin-right: 8px; font-weight: 700; white-space: nowrap; }
.fn-mark--yes { color: var(--color-link); }
.fn-mark--partial { color: var(--color-amber-badge); }
.fn-detail { display: block; margin-top: 2px; color: var(--color-text); }
.compare-wrap { overflow-x: auto; background: var(--color-surface-2); border: 1px solid var(--color-compare-frame); border-radius: 16px; }
.compare-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 14.5px; line-height: 1.6; word-break: auto-phrase; line-break: strict; }
.compare-table th, .compare-table td { padding: 13px 16px; border-bottom: 1px solid var(--color-table-line); vertical-align: top; text-align: left; color: var(--color-text); }
.compare-table tr > * + * { border-left: 1px solid var(--color-table-line); }
.compare-table thead th { background: var(--color-thead-bg); font-size: 15.5px; font-weight: 800; color: var(--color-thead-text); border-bottom: 2px solid var(--color-input-line); text-align: center; }
.compare-table thead th:first-child { width: 30%; }
.compare-table thead th:not(:first-child) { width: 35%; }
.compare-table th[scope="row"] { font-weight: 700; }
.compare-table tbody:last-child tr:last-child > * { border-bottom: 0; }
.compare-table .cost-body tr > * { border-bottom: 2px solid var(--color-compare-frame); }
.compare-table .cost-row > * { background: var(--color-cost-row); }
.table-badge { display: block; margin-top: 4px; font-size: 12px; font-weight: 700; color: var(--color-amber-badge); }
.table-badge.is-open { color: var(--color-link); }
.cost-main { display: block; font-size: 21px; font-weight: 800; line-height: 1.35; color: var(--color-heading); }
.cost-sub { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 500; color: var(--color-text-2); }
.compare-note, .compare-link, .compare-lead { margin: 14px 0 0; font-size: 14px; color: var(--color-text-2); }
.compare-lead { margin: 0 0 12px; }
.compare-link .text-button { margin-left: 6px; font-weight: 700; color: var(--color-link); }
@media (max-width: 600px) {
  .compare-table { font-size: 13.5px; }
  .compare-table th, .compare-table td { padding: 10px 9px; }
  .compare-table thead th { font-size: 14px; }
  .compare-table thead th:first-child { width: 28%; }
  .compare-table thead th:not(:first-child) { width: 36%; }
  .compare-table th[scope="row"] { font-size: 12.5px; padding: 10px 7px; }
  .cost-main { font-size: 17px; }
  .fn-mark { white-space: normal; }
}

/* PRICING (§4) */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); grid-template-rows: auto repeat(7, auto); gap: 8px 14px; }
.plan-col { display: grid; grid-row: span 8; grid-template-rows: subgrid; min-width: 0; }
.plan-marks { text-align: center; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 6px; margin: 0; min-height: 28px; }
.plan-reco { display: inline-block; padding: 3px 10px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 800; line-height: 1.5; color: var(--color-reco); border: 1px solid var(--color-reco); }
.plan-card { display: grid; grid-row: 2 / span 7; grid-template-rows: subgrid; align-content: start; gap: 10px; min-width: 0; padding: 18px; background: var(--color-surface-2); border: 1px solid var(--color-input-line); border-radius: 16px; color: var(--color-text); }
.plan-card .plan-name { margin: 0; font-size: 24px; line-height: 1.25; text-align: center; color: var(--color-heading); }
.plan-card .plan-status { margin: -4px 0 0; text-align: center; }
.plan-card .plan-status .table-badge { display: inline-block; margin: 0; }
.plan-card .plan-for { margin: 0; font-size: 14px; text-align: left; color: var(--color-text-2); }
/* the price of 1 cr (owner 2026-11-30, C10): the tax-included price on the same line, in the same size and colour as the text around it */
.plan-card .plan-cr-price { margin: 0 0 8px; font-size: 14px; line-height: 1.6; text-align: center; color: var(--color-text-2); }
.plan-card .plan-price { margin: 0; text-align: center; }
.pack-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pack-table th, .pack-table td { padding: 7px 4px; border-bottom: 1px solid var(--color-line); text-align: left; vertical-align: top; }
.pack-table th { font-weight: 400; color: var(--color-heading); }
.pack-table td.plan-credits { text-align: right; white-space: nowrap; font-weight: 700; color: var(--color-heading); }
.pack-table small { display: block; font-weight: 400; color: var(--color-text-2); white-space: normal; }
.plan-facts { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.6; }
.plan-facts li + li { margin-top: 4px; }
.plan-buy { display: flex; flex-direction: column; gap: 6px; align-self: end; }
.plan-cta { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 16px; border-radius: var(--mo-radius-action); font: inherit; font-size: 15px; font-weight: 800; text-align: center; text-decoration: none; background: var(--color-amber); color: var(--color-amber-text); border: 1px solid var(--color-amber); box-shadow: var(--shadow-amber); }
.plan-cta:hover { background: var(--color-amber-hover); color: var(--color-amber-text); }
/* the free column's start is a free action: Review AI's free (teal, primary) action, not the amber purchase button (owner 2026-11-14) */
.plan-cta.plan-cta--free { background: var(--mo-accent); color: var(--mo-on-accent); border-color: var(--mo-accent); box-shadow: var(--mo-inset-primary); }
.plan-cta.plan-cta--free:hover { background: var(--mo-accent-hover); border-color: var(--mo-accent-hover); color: var(--mo-on-accent); }
.plan-cta:disabled { background: transparent; border: 1px dashed var(--color-disabled-line); color: var(--color-disabled-text); box-shadow: none; cursor: not-allowed; }
.pricing-notes { margin: 18px 0 0; padding-left: 20px; color: var(--color-text); }
.pricing-notes li { font-size: 14px; }
.pricing-more { margin-top: 10px; }
.pricing-more summary { display: list-item; min-height: 44px; padding: 10px 0; box-sizing: border-box; cursor: pointer; font-weight: 700; color: var(--color-text); }
.pricing-more li { font-size: 13.5px; color: var(--color-text-2); }
.pricing-help { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin: 16px 0 0; }
.pricing-help a { display: inline-flex; align-items: center; min-height: 44px; }
.owl-note { display: flex; align-items: center; gap: 12px; margin: 16px 0 0; font-size: 13px; color: var(--color-text); }
.owl-note img { flex: none; height: 40px; width: auto; }
@media (max-width: 600px) {
  .plan-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .plan-col { grid-row: auto; grid-template-rows: auto auto; gap: 6px; }
  .plan-card { grid-row: auto; display: flex; flex-direction: column; padding: 14px; }
  .plan-card .plan-name { font-size: 21px; }
  .plan-card .plan-buy { align-self: stretch; } /* the button takes the card's full width on a phone too (owner 2026-11-30, alignment rule) */
  .cost-main { font-size: 18px; }
}

/* the collapsed full text (Review AI #home-terms) */
.home-terms .data-handling { margin: 20px 0 0; padding: 0 22px; background: var(--color-surface); border: 1px solid var(--color-line); border-radius: 16px; }
.data-handling > details > summary { display: list-item; min-height: 64px; padding: 20px 0; box-sizing: border-box; cursor: pointer; font-size: 15px; font-weight: 700; color: var(--color-heading); }
.data-handling .legal-links { margin: 0 0 12px; font-size: 14px; color: var(--color-text-2); }
.data-handling .legal-links a { margin-left: 10px; }
.terms-summary { margin: 0 0 16px; }
.terms-summary h3 { margin: 12px 0 4px; font-size: 16px; }
.terms-section { border-top: 1px solid var(--color-line); }
.terms-section summary { display: list-item; min-height: 44px; padding: 10px 0; box-sizing: border-box; cursor: pointer; font-size: 14px; font-weight: 700; color: var(--color-text); }
.terms-section p, .terms-section li { font-size: 14px; line-height: 1.8; color: var(--color-text-2); }

@media print {
  .home-hero, .home-visual, .home-start, .home-strengths, #search, .owl-note { display: none !important; }
}

/* the target of a move inside the page (jumpToHeading in src/client/top.ts, or a plain #address) keeps clear of the header */
.home-section, .home-trust, .home-ai, #pricing, #function, #search { scroll-margin-top: calc(var(--header-h) + 8px); }
/* the screen image sits at the right edge of the right column (platform spec ch3 3.11) */
@media (min-width: 1024px) { .home-hero .home-visual .product-preview.hero-fit-media { margin-left: auto; margin-right: 0; } }
@media (min-width: 1024px) {
  .mo-section-card .step-no { width: 20px; height: 20px; }
}

/* The paid AI is the higher plan (owner 2026-11-30): its pricing card (left; on a phone on top) and its column of the FUNCTION table have a frame in the paid action's colour,
   and say that they include everything free. */
.plan-card[data-plan="ai"] { border: 1px solid var(--color-amber); box-shadow: 0 0 0 1px var(--color-amber), 0 0 0 5px rgba(245, 158, 11, .10); } /* a 2px frame drawn outside the 1px border, so the rows still start at the same height as the free card's */
.plan-card .plan-status { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.plan-includes { display: block; font-size: 13px; font-weight: 700; color: var(--color-amber-badge); text-align: center; }
#function-table th:nth-child(2), #function-table td:nth-child(2) { border-left: 2px solid var(--color-amber); border-right: 2px solid var(--color-amber); background: rgba(245, 158, 11, .06); }
#function-table thead th:nth-child(2) { border-top: 2px solid var(--color-amber); }
#function-table tbody:last-child tr:last-child td:nth-child(2) { border-bottom: 2px solid var(--color-amber); }
.fn-includes { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 700; color: var(--color-amber-badge); }

/* 2026-11-29 second round (owner, ch7 7.7 B, J and K): the paid AI button #F59E0B; tables #323A47 / #222833 / #1C222B; the lead card
   white with a 6px importance line; MechOwl on it uses state-*-ink.svg (dark lines, a dark orange mark). */
/* 2026-11-29 (owner, ch7 7.7 B, I and J): the paid AI button is amber with dark text; the steps are 36-40px high on a PC (about 32px on a phone, where
   they are a display, not buttons) with the current one filled green; a second button is a light outline on #232933 (.mo-btn-secondary in tokens.css). */
/* MECHOWL: the look of the paid AI parts (platform/design/paid-ai.mjs; owner's decision 2026-11-21, platform spec ch7 7.7). Copied
   unchanged by every product. The values are Review AI's (its primary button, dialog, processing panel and bar, src/style.css). */
.mo-paid-button{display:inline-flex;align-items:center;gap:10px;padding:12px 20px;border-radius:12px;border:1px solid #F59E0B;background:#F59E0B;color:#1A1000;box-shadow:inset 0 1px 0 rgba(255,255,255,.35);transition:transform .18s,background .18s,box-shadow .18s;font-weight:700;font-size:15px;line-height:1.3;cursor:pointer;white-space:nowrap}
.mo-paid-button:hover:enabled{background:#FBBF24;border-color:#FBBF24;transform:translateY(-2px);box-shadow:0 8px 24px rgba(245,158,11,.30),inset 0 1px 0 rgba(255,255,255,.35)}
.mo-paid-button:disabled{opacity:.45;cursor:not-allowed}
.mo-paid-cr{display:inline-block;padding:2px 8px;border-radius:999px;background:rgba(26,19,0,.14);font-size:13px;font-weight:700}
/* The one-step confirmation (inside Review AI's .dialog-backdrop / .dialog). */
.dialog-backdrop.mo-run-backdrop{position:fixed;inset:0;z-index:90;display:grid;place-items:center;padding:16px;background:rgba(2,8,16,.74)}
.mo-run-confirm{width:min(620px,100%);max-height:calc(100dvh - 32px);display:flex;flex-direction:column;overflow:hidden;padding:0;border-radius:16px;background:var(--surface-2,#0f1d2b);border:1px solid var(--line-strong,#3b5168);box-shadow:0 18px 60px rgba(0,0,0,.45);color:var(--text,#e6eff6)}
.mo-run-confirm h2{flex:none;font-size:19px;margin:0;padding:20px 24px 8px}
.mo-run-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:4px 24px 8px}.mo-run-body:focus{outline:none}
.mo-run-foot{flex:none;padding:12px 24px 16px;border-top:1px solid var(--line-strong,#3b5168);background:inherit}
@media (max-width:480px){.mo-run-confirm h2{padding:16px 16px 6px}.mo-run-body{padding:4px 16px 8px}.mo-run-foot{padding:10px 16px 12px}}
.mo-run-lead{margin:0 0 10px;color:var(--text-2,#b4c7d6)}
.mo-run-target{margin:0 0 6px;font-weight:700;overflow-wrap:anywhere}
.mo-run-who{margin:0 0 10px;font-size:13px;color:var(--text-2,#b4c7d6);overflow-wrap:anywhere}
.mo-run-credits{padding:10px 12px;border:1px solid var(--line-strong,#3b5168);border-radius:10px;margin:0 0 10px}
.mo-run-credits p{margin:2px 0}#mo-run-use{font-weight:700}
.mo-run-add{margin:6px 0 2px;padding:8px 14px;border-radius:10px;border:1px solid var(--line-strong,#3b5168);background:transparent;color:inherit;cursor:pointer}
.mo-run-provider{margin:6px 0 0;color:var(--text-2,#b4c7d6)}.mo-run-refund{margin:0 0 12px;font-size:13.5px}.mo-run-refund ul{margin:0;padding-left:20px}
.mo-run-sends{margin:0 0 12px;font-size:13.5px}.mo-run-sends-title{margin:0 0 4px;font-weight:700}.mo-run-sends ul{margin:0;padding-left:20px}
.mo-run-agree{display:flex;gap:8px;align-items:flex-start;margin:0 0 10px;font-size:14px}.mo-run-agree input{margin-top:4px}
.mo-run-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.mo-run-cancel{padding:12px 18px;border-radius:10px;border:1px solid var(--line-strong,#3b5168);background:transparent;color:inherit}
/* The processing panel: Review AI's .processing-panel with the moving bar of its paid run. */
.mo-processing{display:flex;gap:20px;align-items:flex-start;max-width:760px;margin:8px auto 24px;padding:22px 26px;border:1px solid var(--line-strong,#3b5168);border-radius:18px;background:var(--surface-2,#0f1d2b)}
.mo-processing h2{font-size:19px;margin:0 0 6px}.mo-processing p{margin:4px 0}
.mo-processing-bar{height:6px;border-radius:3px;background:rgba(45,212,191,.18);overflow:hidden;margin:10px 0 4px;max-width:520px}
.mo-processing-bar span{display:block;height:100%;width:30%;background:#2dd4bf;border-radius:3px;animation:mo-processing 1.6s ease-in-out infinite}
@keyframes mo-processing{0%{transform:translateX(-100%)}100%{transform:translateX(340%)}}
@media (prefers-reduced-motion:reduce){.mo-processing-bar span{animation:none;width:100%;opacity:.5}}
@media(max-width:700px){.mo-processing{flex-direction:column;padding:18px 16px;margin:4px 0 18px}}
/* The AI-entered mark. */
.mo-ai-entered{display:inline-block;margin-left:4px;padding:0 6px;border-radius:999px;border:1px solid rgba(94,234,212,.45);font-size:11.5px;line-height:1.6;color:#5eead4;white-space:nowrap;vertical-align:middle}
@media print{.mo-ai-entered{color:#000;border-color:#000}}
/* The main column (platform spec ch3 3.4): centred, at most --mo-main-max wide, with the same gutters on both sides, so a wide
   screen is never empty on one side only. A side panel goes inside this column. */
.mo-main{width:100%;max-width:var(--mo-main-max,1600px);margin-inline:auto;padding-inline:var(--mo-gutter,3%);box-sizing:border-box}
@media(max-width:600px){.mo-main{padding-inline:16px}}

/* 2026-11-22 (Engineering AI's request): the processing panel over the whole page (renderProcessing({ overlay: true }), openProcessing),
   as Review AI's own run. The page behind is dimmed and inert; on a phone the panel takes the width with 16px margins. */
.mo-processing-overlay{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(6,17,29,.62)}
.mo-processing-overlay .mo-processing{margin:0;width:min(760px,100%);max-height:calc(100dvh - 32px);overflow:auto;box-shadow:0 24px 60px -20px rgba(0,0,0,.6)}
.mo-processing-overlay .mo-processing:focus{outline:none}
/* The steps of a paid run (Review AI's 「1 図面 → 2 使用条件 → 3 結果」): rounded pills, the current one filled. */
/* 7.7 J (2026-11-28): the line above step ③ — what was given and on which premises. */
.mo-run-basis{display:flex;flex-wrap:wrap;gap:2px 16px;margin:4px 0 10px;font-size:12.5px;line-height:1.5;color:var(--muted,#9fb3c4)}
.mo-run-basis strong{color:var(--text,#e6eef5);font-weight:700}
.mo-steps ol{display:flex;gap:8px;list-style:none;margin:6px 0 10px;padding:0}
.mo-steps li{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;box-sizing:border-box;min-height:38px;padding:0 12px;line-height:1.4;border:1px solid var(--line-strong,#3b5168);border-radius:999px;font-size:12px;font-weight:600;color:var(--muted,#9fb3c4);text-align:center}
.mo-steps li.active{background:linear-gradient(180deg,#19c3ad,#0f9488);border-color:#0f9488;color:#04221f;box-shadow:0 10px 24px -12px rgba(45,212,191,.8)}
.mo-step-no{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#fff;color:#06111d;font-size:12px;font-weight:700;flex:none}
.mo-step-label{overflow-wrap:anywhere}
@media(max-width:700px){.mo-steps ol{gap:6px}.mo-steps li{min-height:32px;padding:0 4px;font-size:11px;flex-direction:column;gap:2px}}
/* HOW IT WORKS (Review AI's home section: kicker, title, numbered cards in three columns; one column on a phone). */
.mo-how{padding:56px 0 8px}
.mo-how-kicker{font-size:13px;font-weight:700;letter-spacing:.18em;color:var(--cyan,#2dd4bf);margin:0 0 8px}
.mo-how h2{font-size:clamp(24px,2.1vw,32px);line-height:1.45;margin:0 0 22px}
.mo-how-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;list-style:none;margin:0;padding:0}
.mo-how-card{position:relative;padding:28px 26px 26px;border:1px solid var(--line-strong,#3b5168);border-radius:20px;background:var(--surface-2,#0f1d2b)}
.mo-how-no{display:block;font-size:13px;font-weight:700;letter-spacing:.12em;color:var(--cyan,#2dd4bf);margin-bottom:12px}
.mo-how-card h3{font-size:19px;font-weight:750;margin:0 0 8px}
.mo-how-card p{font-size:14.5px;line-height:1.75;margin:0;color:var(--muted,#9fb3c4)}
.mo-how-note{font-size:12px;line-height:1.8;margin:16px 0 0;color:var(--muted,#9fb3c4)}
@media(max-width:850px){.mo-how-cards{grid-template-columns:1fr}}
/* The amber link to a paid feature (Review AI's top page button for the detailed review). */
.mo-paid-link{display:inline-flex;align-items:center;gap:10px;padding:12px 20px;border:1px solid #F59E0B;border-radius:12px;background:#F59E0B;color:#1A1000;font-weight:700;text-decoration:none;box-shadow:0 10px 28px -14px rgba(242,179,61,.8)}
.mo-paid-link:hover{background:#FBBF24}
.mo-paid-link:focus-visible{outline:3px solid #c69530;outline-offset:2px}
.mo-paid-link-cr{font-size:12px;font-weight:600;opacity:.85}
/* 2026-11-29 (owner, ch7 7.7 J 5-6): the result's parts, the same in every product (Review AI's #concern-list and #result-detail).
   The list of findings: the shared table (head row #1E232B, body #12151A, row lines .12); the title is not framed — the row lights up
   on hover and the title's colour says it can be pressed; only the rarer kind keeps a tag. */
.mo-finding-list{width:100%;border-collapse:collapse;background:#222833;font-size:14px;border:1px solid rgba(255,255,255,.24)}
.mo-finding-list th{background:#323A47;color:#E3E6EB;font-size:13px;font-weight:600;text-align:left;padding:10px 12px;border-bottom:1px solid rgba(255,255,255,.24)}
.mo-finding-list th,.mo-finding-list td{vertical-align:baseline}
.mo-finding-list td{padding:11px 12px;border-bottom:1px solid rgba(255,255,255,.16);color:#EDEFF3}
.mo-finding-list tbody tr:nth-child(even) td{background:#1C222B}
.mo-finding-list .mo-finding-title{background:transparent;border:0;padding:0;color:#5EEAD4;font-weight:600;text-align:left;cursor:pointer}
.mo-finding-list tbody tr:hover td{background:#2C3440}
.mo-finding-list tbody tr:hover .mo-finding-title{color:#99F6E4;text-decoration:underline;text-underline-offset:3px}
/* A finding's detail card (the result's lead): near-white ground, dark text, colours that read on it (AA), compact so one card fits a
   1366×768 screen with its details closed. */
.mo-finding-card{background:#FFFFFF;color:#111418;border:1px solid #DDE2E8;border-left:6px solid #8B95A3;border-radius:16px;padding:14px 18px;line-height:1.55}
.mo-finding-card[data-severity=critical]{border-left-color:#DC2626}
.mo-finding-card[data-severity=major]{border-left-color:#EA580C}
.mo-finding-card[data-severity=confirmation]{border-left-color:#2563EB}
.mo-finding-card hr,.mo-finding-card .mo-divider{border:0;border-top:1px solid #D3D9E0}
.mo-finding-card .mo-label{color:#B91C1C;font-weight:700}
.mo-finding-card dt{color:#3A414C;font-weight:700}
.mo-finding-card h3{font-size:17px;line-height:1.3;margin:2px 0 6px;color:#111418}
.mo-finding-card h4{font-size:14px;margin:6px 0 4px;color:#111418}
.mo-finding-card .mo-note{color:#3A414C}
.mo-finding-card .mo-impact{color:#9A3412;font-weight:600}
.mo-finding-card .mo-caution{background:#FDECEC;border:1px solid #F3B4B4;color:#7A1010;border-radius:8px;padding:6px 10px}
.mo-finding-card .mo-arrow{color:#0F766E}
.mo-finding-card a{color:#0F766E}
/* 2026-11-29 (owner, polish): a table inside the white lead card is light; the list's concern title is one line cut with 「…」 on a PC. */
.mo-finding-card table{width:100%;border-collapse:collapse;background:#FFFFFF;border:1px solid #E1E5EA}
.mo-finding-card th{background:#E4E8ED;color:#3A414C;border-bottom:1px solid #E1E5EA;text-align:left;padding:8px 10px;vertical-align:baseline}
.mo-finding-card td{background:#FFFFFF;color:#111418;border-bottom:1px solid #E1E5EA;padding:8px 10px;vertical-align:baseline}
.mo-finding-card tbody tr:nth-child(even) td{background:#F7F8FA}
.mo-finding-card table a{color:#0F766E;text-decoration:underline}
@media (min-width:701px){.mo-finding-list{table-layout:fixed}.mo-finding-list .mo-finding-title{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}

/* The foot of a list that grows (platform/design/paged-list.mjs; platform spec ch3 3.10). The list itself has no scroll box of its own:
   it grows with the page. Colours come from the site's tokens. */
.mo-paged-foot{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin:10px 0 0;font-size:13.5px;color:var(--text-2,#b4c7d6)}
.mo-paged-more{padding:8px 14px;border-radius:10px;border:1px solid var(--line-strong,#3b5168);background:transparent;color:inherit;font:inherit;cursor:pointer}
.mo-paged-more:focus-visible{outline:2px solid var(--accent,#2dd4bf);outline-offset:2px}

/* Paid AI entry points and the fixed-response mock (local mock build only; scripts/build.ts adds this file only then). */
.paid-ai { margin: var(--space-8) 0 var(--space-4); padding: var(--space-5) var(--space-6); background: var(--panel-bg); border: 1px dashed var(--color-warn-line); border-radius: var(--radius-panel); max-width: 46em; }
.paid-ai h2 { margin-top: 0; }
.paid-ai-test { color: var(--color-warn); font-weight: 600; }
.paid-ai-balance { font-weight: 700; color: var(--color-text-2); }
.paid-ai-list { list-style: none; margin: var(--space-3) 0; padding: 0; display: grid; gap: var(--space-2); }
.paid-ai-list li { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.paid-ai-list .btn { text-align: left; }
.paid-ai-cost { font-size: 13px; color: var(--color-text-sub); }
.paid-ai-confirm, .paid-ai-response { margin-top: var(--space-3); padding: var(--space-4); border: 1px solid var(--color-line); border-radius: var(--radius); background: var(--color-surface-2); }
.paid-ai-labels { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.paid-ai-fixed, .paid-ai-proposal { display: inline-block; padding: 2px 10px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 700; }
.paid-ai-fixed { background: var(--color-warn-bg); color: var(--color-warn); border: 1px solid var(--color-warn-line); }
.paid-ai-proposal { background: var(--color-info-bg); color: var(--color-info); border: 1px solid var(--color-info-line); }
.paid-ai-outputs div { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.paid-ai-outputs dt { font-weight: 600; }
.paid-ai-outputs dd { margin: 0; }
.paid-ai-h { font-weight: 700; margin-bottom: 0; }
@media print { .paid-ai { display: none !important; } }
/* ② 「文章から検討を組み立てる」 and its entry points (local mock build only; docs/design/paid-ai-compose.md) */
.paid-ai-entry { margin: var(--space-4) 0; padding: var(--space-4) var(--space-5); border: 1px dashed var(--color-warn-line); border-radius: var(--radius-panel); background: var(--panel-bg); }
.paid-ai-entry p { margin: var(--space-2) 0; }
.paid-ai-entry-label, .paid-ai-kicker { font-weight: 700; color: var(--color-warn); }
.compose .compose-label { display: block; font-weight: 700; margin-bottom: var(--space-2); }
.compose textarea { width: 100%; box-sizing: border-box; min-height: 5.5em; padding: var(--space-3); border: 1px solid var(--color-input-line); border-radius: var(--radius); background: var(--color-surface-2); color: var(--color-text); font: inherit; resize: vertical; }
.compose textarea::placeholder, .compose input::placeholder { color: var(--color-text-sub); opacity: .75; }
.compose-mode { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: var(--space-3) 0; }
.compose-mode .chip[aria-pressed="true"] { border-color: var(--color-info-line); background: var(--color-info-bg); color: var(--color-info); }
.compose-top { margin: 0 0 var(--space-3); }
.compose-top p { margin: 0 0 var(--space-1); }
.compose-count { text-align: right; margin: 2px 0 var(--space-2); }
.compose-examples-h { font-weight: 600; margin-bottom: var(--space-2); }
.compose-examples { list-style: none; margin: 0 0 var(--space-3); padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.compose-examples .chip { text-align: left; height: auto; min-height: var(--tap); padding: 6px var(--space-4); line-height: 1.45; white-space: normal; }
.compose .field { display: grid; gap: 4px; margin-bottom: var(--space-3); }
.compose .field input[type="text"], .compose select { min-height: var(--tap); padding: 0 var(--space-3); border: 1px solid var(--color-input-line); border-radius: var(--radius); background: var(--color-surface-2); color: var(--color-text); max-width: 100%; box-sizing: border-box; }
.compose-joined output { display: block; padding: var(--space-3); border-radius: var(--radius); background: var(--color-surface-2); min-height: 1.6em; overflow-wrap: anywhere; }
.compose-problem, .compose-short { color: var(--color-warn); font-weight: 600; }
.compose-status { margin: var(--space-3) 0; font-weight: 600; }
.compose-sent { padding: var(--space-3); border-left: 3px solid var(--color-info-line); background: var(--color-surface-2); overflow-wrap: anywhere; }
.compose-sent mark { background: var(--color-info-bg); color: var(--color-info); border-bottom: 2px solid var(--color-info-line); padding: 0 2px; border-radius: 3px; }
.compose-steps { padding-left: 1.4em; display: grid; gap: var(--space-4); }
.compose-step h3 { margin: 0 0 var(--space-1); }
.compose-goal { margin: 0; font-weight: 600; }
.compose-proposals { list-style: none; padding: 0; margin: var(--space-2) 0; display: grid; gap: var(--space-2); }
.compose-proposals li { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-3); border: 1px solid var(--color-line); border-radius: var(--radius); }
.compose-use { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); font-weight: 700; }
.compose-use input { width: 20px; height: 20px; }
.compose-input-name { font-weight: 600; }
.compose-value { width: 7em; min-height: var(--tap); padding: 0 var(--space-2); border: 1px solid var(--color-input-line); border-radius: var(--radius); background: var(--color-surface-2); color: var(--color-text); }
.compose-from { font-size: 13px; color: var(--color-info); }
.compose-questions { margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--color-line); }
.compose-question-control { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
.compose-question-control input { width: 9em; }
.compose-question-control select { width: auto; }
.compose-confirm h2, .paid-ai-confirm h2 { margin-top: 0; }
/* who is signed in and for which contracting account, on a confirmation that uses credits (Review AI #677 account.who) */
.identity-line { margin: 0 0 var(--space-2); font-weight: 600; overflow-wrap: anywhere; }
/* ② the answer fields of the missing conditions (number + unit of the input), a value not passed for its kind, and the side
   column with the step results and the conditions still missing (owner instruction 2026-11-21; docs/design/paid-ai-compose.md) */
.compose-question-field { display: grid; gap: 4px; margin-bottom: var(--space-2); }
.compose-question-field label { font-weight: 600; }
.compose-free-note { margin: 0 0 var(--space-3); }
.compose-blocked { border-style: dashed !important; color: var(--color-text-sub); }
.compose-blocked-value { font-weight: 700; text-decoration: line-through; }
.compose-blocked-note { flex-basis: 100%; font-size: 13px; color: var(--color-warn); font-weight: 600; }
.compose-side { padding: var(--space-4) var(--space-5); border: 1px solid var(--color-line); border-radius: var(--radius-panel); background: var(--panel-bg); margin: var(--space-6) 0; min-width: 0; }
.compose-side h2 { margin-top: 0; }
.compose-side-sub { margin: var(--space-4) 0 var(--space-2); font-size: 1rem; }
.compose-result-list { padding-left: 0; list-style: none; display: grid; gap: var(--space-4); margin: 0; }
.compose-result { padding: var(--space-3); border: 1px solid var(--color-line); border-radius: var(--radius); background: var(--color-surface-2); min-width: 0; }
.compose-result h3 { margin: 0 0 var(--space-2); font-size: 15px; }
.compose-result-verdict { margin: 0 0 var(--space-2); font-weight: 700; }
.compose-result-verdict[data-verdict="input-error"] { color: var(--color-warn); }
.compose-result-lines { margin: 0 0 var(--space-2); display: grid; gap: 2px; }
.compose-result-lines div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2); }
.compose-result-lines dt { font-weight: 600; }
.compose-result-lines dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.compose-result-reasons { margin: 0 0 var(--space-2); padding-left: 1.2em; color: var(--color-warn); }
.compose-figs { display: grid; gap: var(--space-2); margin: var(--space-2) 0; }
.compose-figs .diagram { margin: 0; }
.compose-figs .diagram svg { max-width: 100%; }
.compose-legend { margin: var(--space-2) 0 0; font-size: 13px; display: flex; flex-wrap: wrap; gap: var(--space-3); }
.compose-conds { list-style: none; margin: var(--space-1) 0 0; padding: 0; display: grid; gap: 2px; font-size: 14px; }
/* entered: a filled circle in the info colour; missing: an open triangle in the warning colour (shape and colour, never colour alone) */
.compose-cond-in::before { content: "●"; color: var(--color-info); margin-right: 6px; }
.compose-cond-miss::before { content: "△"; color: var(--color-warn); margin-right: 6px; font-weight: 700; }
.compose-cond-miss { font-weight: 600; }
.compose-sym { font-style: italic; font-weight: 700; }
/* PC (2026-11-22, owner instruction PR-A A6): from 1024 px, 「入力」 on the left and 「結果」 on the right, half and half; the right half
   stays in view while the left one scrolls (sticky, its own scroll when taller than the screen). Phones and narrow screens keep the
   order of the page: input, then the results. One size for the two column headings and for the step headings. */
.compose-col-h { font-size: 1.25rem; line-height: 1.4; margin: var(--space-6) 0 var(--space-3); }
.compose-side .compose-col-h { margin-top: 0; }
.compose-main .paid-ai.compose { margin-top: 0; }
.compose-answer h2, .compose-questions h2 { font-size: 1.1rem; }
.compose-step h3, .compose-result h3 { font-size: 1rem; }
/* the step bar (PR-A A6): Review AI's 「図面 → 使用条件 → 結果」 nav (#review-work nav: a pill per step, the current one filled with the
   primary gradient), with this page's tokens */
.compose-stepbar { display: flex; gap: 8px; margin: 6px 0 10px; }
.compose-stepbar span { flex: 1; border: 1px solid var(--color-line); border-radius: 999px; background: var(--color-surface-2); box-sizing: border-box; display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 38px; padding: 0 12px; line-height: 1.4; font-weight: 600; color: var(--color-text-sub); text-align: center; font-size: 12px; }
.compose-stepbar .active { background: linear-gradient(180deg, var(--color-primary-top), var(--color-primary-bottom)); border-color: var(--color-primary-bottom); color: var(--color-primary-text); box-shadow: var(--shadow-primary); }
@media (max-width: 700px) { .compose-stepbar { gap: 6px; } .compose-stepbar span { min-height: 32px; padding: 0 4px; font-size: 11px; } }
.compose-main .paid-ai { max-width: none; }
.compose-back-note { margin-top: var(--space-3); }
@media (min-width: 1024px) {
  .compose-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-6); align-items: start; }
  .compose-layout .paid-ai, .compose-layout .paid-ai-response { max-width: none; }
  .compose-side { position: sticky; top: calc(var(--header-h) + var(--space-4)); margin-top: var(--space-6); max-height: calc(100vh - var(--header-h) - 32px); overflow: auto; }
}
@media (max-width: 1023px) { .compose-side[data-empty="1"] { display: none; } }
@media (max-width: 600px) { .paid-ai { padding: var(--space-4); } .compose-proposals li { align-items: flex-start; } }
/* Shared paid AI parts (platform-copies/design/chrome/paid-ai.css) as placed on this site. */
#compose-processing .processing-owl img { display: block; }
/* the processing panel in a modal overlay (PR-A A3, as Review AI's run overlay): the native <dialog> is only the frame */
.compose-processing-dialog { padding: 0; border: 0; background: transparent; box-shadow: none; width: min(680px, calc(100vw - 32px)); max-width: none; }
.compose-processing-dialog::backdrop { background: rgba(4, 12, 20, .72); }
.compose-processing-dialog .mo-processing { margin: 0; }
.compose-processing-dialog:focus { outline: none; }
/* the small confirmation before the sign-in (PR-A A1) */
.signin-dialog h2 { margin: 0 0 var(--space-3); font-size: 1.1rem; }
.signin-dialog p { margin: 0 0 var(--space-4); }
/* the missing conditions as fields (PR-A A4・A5・A7) */
.compose-need { display: inline-block; margin-left: var(--space-2); padding: 0 8px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 700; border: 1px solid var(--color-line); }
.compose-need[data-need="result"] { color: var(--color-warn); border-color: var(--color-warn-line); background: var(--color-warn-bg); }
.compose-need[data-need="verdict"], .compose-need[data-need="optional"] { color: var(--color-info); border-color: var(--color-info-line); background: var(--color-info-bg); }
.compose-field-problem { color: var(--color-warn); font-weight: 600; font-size: 13px; }
.compose-field-calc { font-size: 13px; color: var(--color-text-sub); }
.compose-confirm-read { margin: var(--space-2) 0 var(--space-3); }
.compose-basis { font-size: 13px; margin: var(--space-2) 0 0; }
.compose-ai-mark .mo-ai-entered { margin-left: 6px; }
.ai-entered-note { margin: 0 0 var(--space-3); }
.device-results-wrap { overflow-x: auto; }
/* 「履歴（この端末）」 (PR-A A11): a table on a wide screen; on a phone each row is a card with the column names (no sideways scroll) */
.device-results-table { width: 100%; border-collapse: collapse; margin: var(--space-2) 0; font-size: 14px; }
.device-results-table th, .device-results-table td { text-align: left; vertical-align: top; padding: var(--space-2) var(--space-3); border-bottom: 1px solid var(--color-line); overflow-wrap: anywhere; }
.device-results-table th { font-size: 13px; color: var(--color-text-sub); font-weight: 700; }
.device-result-at { white-space: nowrap; color: var(--color-text-sub); font-size: 13px; }
.device-result-actions { white-space: nowrap; }
.device-result-actions .btn { margin: 0 4px 4px 0; }
@media (max-width: 700px) {
  .device-results-table thead { display: none; }
  .device-results-table, .device-results-table tbody, .device-results-table tr, .device-results-table td { display: block; width: 100%; box-sizing: border-box; }
  .device-results-table tr { margin-bottom: var(--space-3); border: 1px solid var(--color-line); border-radius: var(--radius); background: var(--color-surface-2); }
  .device-results-table td { border-bottom: 0; padding: 4px var(--space-3); white-space: normal; }
  .device-results-table td[data-label]::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 700; color: var(--color-text-sub); }
}
@media print { .mo-processing, .mo-run-backdrop { display: none !important; } }
.ai-entered-row { display: inline-flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin: 2px 0 4px; }
.ai-remove { padding: 2px 10px; font-size: 12px; min-height: 28px; }
@media print { .ai-remove { display: none !important; } }
.compose-layout[hidden], .device-results-table[hidden], .compose-back-note[hidden] { display: none !important; }
.compose-step2 { min-width: 0; }
.compose-step2 > .compose-col-h { margin-top: var(--space-6); }
/* 「ファイルから文章を読み込む」 (owner instruction 2026-11-23, PR-C): under the text field of step ① */
.compose-file { margin: var(--space-3) 0 var(--space-4); }
.compose-file-row { margin: 0 0 6px; }
.compose-file .note { margin: 4px 0 0; }
.compose-file-status:not(:empty) { margin-top: var(--space-2); font-size: var(--text-small); font-weight: 600; overflow-wrap: anywhere; }
.compose-file-review, .compose-file-long { margin: var(--space-2) 0 0; font-size: var(--text-small); }
.compose-file-review[hidden], .compose-file-long[hidden] { display: none; }
