/* public/look-rb.css — THE RULEBOOK LOOK (html.look-rb).
   Ken's "yes" 2026-11-18 09:28 JST in his root window feb87fe0 to "Fix the Education app to the rulebook? Yes or no."
   (COURIER 2026-11-18_0930). The rulebook is the One Look Rulebook, his yes 2026-11-16 13:52:
   ~/AssortMachine/02 AI C-Suite/Reference/2026-11-16_all-apps-look-audit/2026-11-16_one-look-rulebook.html (10 rules).
   ⛔ Every rule here starts with html.look-rb, so staff keep today's look until he says yes to the pictures
   (lib/look-switch.js: RULEBOOK_LOOK off | preview | on; one phone opts in with ?rb=1). __tests__/look-rb.test.js
   refuses any loose selector. Copied in shape from assort-crm-app's public/look-rb.css (live 2026-11-18). */

/* ── Rule 10 · one shared token file. The OS file (assort-os-v10 public/tokens.css) has 11 tokens this app's did
   not; they are added to tokens.css itself (unused there, so nothing changes). Of the 2 values that differ, the grey
   moves here (rule 9). The other, --shadow-inset-seg, stays the app's own purple on purpose: the OS draws it in ITS
   colour (blue) — rule 1 says each app wears its own. */
html.look-rb{
  /* Rule 9 · grey words in the OS grey #6e6e73 (5.07:1 on white). The old #8e8e93 was 3.3:1. */
  --text2:#6e6e73;
  /* The pale button: a soft purple fill, the darker purple words (5.94:1). */
  --rb-pale:#F3E8FA;
  --rb-pale-ink:#7E2FB8;
  /* The colour programme's mark (was orange; the rulebook keeps orange for "waiting"). Teal: not a state colour,
     and the cut programme keeps its blue. Words 5.19:1 on the tint. */
  --rb-colour:#0a7ea4;
  --rb-colour-ink:#086b8c;
  --rb-colour-tint:#DDF2F7;
  /* The shampoo item's glyph on its blue well (the same ink as tokens.css --blue-ink, held here so the accent census of
     fleet-shell-port ④ keeps every --blue survivor named; 5.0:1 on --well-blue). */
  --rb-item-blue-ink:#1565c0;
  /* The textbook's two purples (Ken's Fable design, 2026-11-30, COURIER 2026-11-30_1346): the soft tint behind a number tag,
     the item box row and an explanation box; the pale fill of a read number, a step mark and a kept part. */
  --tb-tint:#F6EEFC;
  --tb-pale:#F0E3FA;
}

/* ── Rule 1 · the app wears its own colour. A chosen chip was filled black; it now wears the purple. */
html.look-rb .seg{background:var(--fill-tint);border-color:transparent;color:var(--text-mid);}
html.look-rb .seg.on{background:var(--accent);border-color:var(--accent);color:var(--white);}

/* ── Rule 6 · one main button per screen, full colour; every other button is PALE: a soft purple fill, purple
   words, no outline. .btn-primary stays the one full button; .btn-danger keeps its red (a deleting press). */
html.look-rb .btn:not(.btn-primary):not(.btn-danger){
  background:var(--rb-pale);border-color:transparent;color:var(--rb-pale-ink);
}
html.look-rb .btn:not(.btn-primary):not(.btn-danger):disabled{background:var(--fill-tint);color:var(--text3);}
/* A box whose footer button only closes it (the 8 Base boxes and their kin, components/ui.js openSheet) draws that
   button pale: the box's own main press lives in its body, and two full buttons read as two choices. */
html.look-rb .btn.btn-primary.is-close-only{background:var(--rb-pale);border-color:transparent;color:var(--rb-pale-ink);}

/* ── Rule 3 · words in normal case; capitals only for the small grey section label (.type-eyebrow keeps them).
   The Moné tag ("Coach" / "Education coach") and the scoring card's "Match · educator only" were set in capitals. */
html.look-rb .mone-tag,
html.look-rb .sess-ai-eyebrow{text-transform:none;letter-spacing:0;font-size:11px;}
/* The dashed boxes become plain pale ones (rule 3: no dashed boxes; rule 6: a pale button). */
html.look-rb .btn-dashed{border:1px solid transparent;background:var(--rb-pale);color:var(--rb-pale-ink);}
html.look-rb .sns-slot{border:1px solid var(--border);background-color:var(--fill-tint);}
/* Cards 16 px from the screen edge (the student sheet sat at 12). */
html.look-rb .sheet-body .card,
html.look-rb .person-sheet .card{margin-left:0;margin-right:0;}

/* ── Rule 2 · icons: thin line icons in a SMALL GREY SQUARE at the left of each row. The coloured wells (eight
   hues) become the one grey square; the glyph is the mid ink. The small pass/lock badge keeps its meaning. */
html.look-rb .icon-well,
html.look-rb .base-ico,
html.look-rb .base-sec-ico{background:var(--fill-tint);color:var(--text-mid);}
html.look-rb .icon-well:not(.icon-well-sm),
html.look-rb .base-ico{width:40px;height:40px;border-radius:var(--radius-md);}
html.look-rb .icon-well:not(.icon-well-sm) svg,
html.look-rb .base-ico svg{width:20px;height:20px;}
/* Rows the screens draw with no icon get one (ui.js rbRowIcon → .rb-ic). Null in today's look. */
html.look-rb .rb-ic{flex:none;width:32px;height:32px;border-radius:var(--radius-sm);background:var(--fill-tint);color:var(--text-mid);
  display:inline-grid;place-items:center;}
html.look-rb .rb-ic svg{width:16px;height:16px;}

/* ── Rule 6 · pills say the state: green OK, orange waiting, red problem. The colour programme's chip and card edge
   were orange (a waiting colour); they move to teal. */
html.look-rb .chip-color{background:var(--rb-colour-tint);color:var(--rb-colour-ink);}
html.look-rb .ecard.ecard-color{border-left-color:var(--rb-colour);}

/* ── Rule 4 · a bar for every level (ui.js rbBar → .rb-bar). Thin, the app's purple; green when full. */
html.look-rb .rb-bar{display:block;height:6px;border-radius:var(--radius-full);background:var(--fill-tint);overflow:hidden;margin-top:6px;min-width:60px;}
html.look-rb .rb-bar > i{display:block;height:100%;border-radius:var(--radius-full);background:var(--accent);}
html.look-rb .rb-bar.is-ok > i{background:var(--green);}
html.look-rb .rb-bar.is-inline{display:inline-block;vertical-align:middle;width:72px;margin:0 0 0 8px;}

/* ── Rule 8 · the empty screen: an icon, one plain sentence, one button to the next thing (states.js empty). */
html.look-rb .state-empty .rb-e-btn{margin-top:var(--space-5);}

/* ── Rule 7 · the app's own question box (replaces the browser's grey confirm on Clone; ui.js confirmBox). */
html.look-rb .rb-confirm-list{margin:var(--space-3) 0 0;padding-left:1.2em;color:var(--text);font-size:var(--body-sm-size);line-height:1.5;}
html.look-rb .rb-icrow{display:flex;align-items:flex-start;gap:var(--space-4);}
html.look-rb .rb-icrow-words{flex:1;min-width:0;}
html.look-rb .rb-tz-empty{display:flex;align-items:center;gap:var(--space-3);color:var(--text2);}
/* Rule 6 · one full button per screen: Today's "View submission" (it only opens what was sent) and Clone's "Create diagram"
   (a step inside the form; Submit is the one main press) draw pale. A chosen length / angle is a chosen CHIP (aria-pressed),
   so it wears the purple like .seg.on. */
html.look-rb .btn-cta.is-view-only{background:var(--rb-pale);color:var(--rb-pale-ink);box-shadow:none;}
html.look-rb .btn-cta.is-view-only svg{color:var(--rb-pale-ink);}
html.look-rb .btn.btn-primary.is-step-btn{background:var(--rb-pale);border-color:transparent;color:var(--rb-pale-ink);}
/* Rule 3 · cards 16 px from the screen edge on the student sheet (its inline margins were 12 px). */
html.look-rb .stu-detail > *{margin-left:var(--gutter) !important;margin-right:var(--gutter) !important;}
/* Rule 6 · answer choices, role picks and angle chips are pale fills, never white outlines; the chosen one wears the purple. */
html.look-rb .quiz-choice{background:var(--fill-tint) !important;border-color:transparent !important;}
html.look-rb .quiz-choice[aria-pressed="true"]{background:var(--accent-tint) !important;border-color:var(--accent) !important;}
html.look-rb .tm-enter-role{background:var(--fill-tint);border-color:transparent;}
html.look-rb .sns-angle{background:var(--fill-tint);border-color:transparent;}
html.look-rb .sns-angle.is-on{background:var(--accent);border-color:var(--accent);color:var(--white);}
/* The Base item's stage box drew in the item's own hue (pink, blue…); in the rulebook look it is the app's own pale purple,
   with the purple glyph — the hue named the thing, and the grey icon square now does that job. */
html.look-rb .base-stage[class*="hue-"]{background:var(--accent-tint);color:var(--accent-ink);}

/* ── The whole-app UI audit, 2026-11-19 (Ken 05:15 "audit this UI properly"; COURIER 2026-11-19_0517) — clear defects only.
   ① Buttons, fields and choices drew in the browser's own face (Arial / the phone's system face), never the app's: 2,293
   words on 668 of 770 audited screens. They take the page's face. ② The formula box and the deletion ids were set in a
   typewriter face (his "this is not correct fonts too", 05:14); the app's one face, with figures lined up. */
html.look-rb button, html.look-rb input, html.look-rb select, html.look-rb textarea{font-family:inherit;}
html.look-rb{--font-mono:var(--font-sans);}
html.look-rb .tc-bowl-text{font-family:var(--font-sans);font-variant-numeric:tabular-nums;}
/* ③ The Case Library's count line sat at the screen's very edge, its first figure cut (his "text cut off and spacing
   wrong", 05:14): inside the page margin like the line above it. */
html.look-rb .tc-count{margin-left:var(--gutter);margin-right:var(--gutter);}
/* ④ The back control on every inner page (the fleet shell's rule; his "(and not back button)" / "error - and no back
   button", 05:11): main.js puts one on a page reached from a tab, so a page that fails to load still has a way back. */
/* ⑤ An inner page opened INSIDE a tab was drawn under that tab's own head: Clone's title and Top work card, Sessions'
   title, the Library's "Add category", the Case Library's title and line all sat ABOVE "‹ <tab>" (three fresh readers
   and the machine walk, 2026-11-19). While the tab's body holds a back row, the rest of the tab steps aside: the back
   control is the first thing under the header, then the page. */
html.look-rb :has(> #clone-body .pback-row) > :not(#clone-body),
html.look-rb :has(> #sessions-body .pback-row) > :not(#sessions-body),
html.look-rb :has(> #students-body .pback-row) > :not(#students-body),
html.look-rb :has(> #tc-host .pback-row) > :not(#tc-host),
html.look-rb :has(> #lib-sns .pback-row) > :not(#lib-sns){display:none;}
/* ⊕ 2026-11-19 (the nine): the ② lane page holds the scoring queue as one half of a longer page — while its scoring page is
   open, the trainee list, the Base queue, the dividers and the pool step aside too. */
html.look-rb .lane-page:has(#sessions-body .pback-row) > :not(:has(#sessions-body)){display:none;}
/* One back control at a time: when the page's own detail opens with its back row, the shell's ‹ <tab> steps aside. */
html.look-rb :has(> [data-shell-back] ~ * .pback-row) > [data-shell-back]{display:none;}

/* ══════════════════════════════════════════════════════════════════════════════════════════════════════════════════
   THE NINE SUGGESTIONS + HIS FIVE CHANGES (Ken's "yes" 2026-11-19 06:39 JST, window 424a50ed, to "Build all nine
   suggestions, with your changes? · Today home: way A … · Library: way A, the switch at the top, with no left lines.
   · All built hidden."; his comments on the audit page 06:31–06:36; COURIER 2026-11-19_0640). New look only.
   ══════════════════════════════════════════════════════════════════════════════════════════════════════════════════ */

/* ── His change 2 · NO BOX WITH A COLOURED LINE DOWN ITS LEFT SIDE ("i dont like these \"boxes\" with the left side
   having that vertical line … in dont like these (in all apps)"). The Clone Cut / Clone Color cards wore a blue and a
   teal left edge; the kind is now told by the card's own tag (the Cut / Color chip) and its icon. */
html.look-rb .ecard.ecard-cut,
html.look-rb .ecard.ecard-color{border-left:1px solid var(--border);}

/* ── The ring (ui.js rbRing): the path to debut and a level, as a picture (suggestions 1 and 4). */
html.look-rb .rb-ring{position:relative;display:inline-grid;place-items:center;flex:none;}
html.look-rb .rb-ring > svg{position:absolute;inset:0;}   /* the ring's own picture only: «.rb-ring svg» also took the icon inside it, its box fell to 0 at the centre and the icon hung down-right (eye pass 1334 ⑦) */
html.look-rb .rb-ring-track{stroke:var(--fill-tint);}
html.look-rb .rb-ring.is-accent .rb-ring-fill{stroke:var(--accent);}
html.look-rb .rb-ring.is-green .rb-ring-fill{stroke:var(--green);}
html.look-rb .rb-ring.is-orange .rb-ring-fill{stroke:var(--orange);}
html.look-rb .rb-ring.is-grey .rb-ring-fill{stroke:var(--text3);}
html.look-rb .rb-ring-in{position:relative;display:inline-grid;place-items:center;color:var(--text-mid);}
html.look-rb .rb-ring-label{font-size:12px;font-weight:700;color:var(--text);font-variant-numeric:tabular-nums;letter-spacing:0;}

/* ── Suggestion 9 · ONE PAGE HEADER EVERYWHERE: ‹ where you came from on the left, the page's own title on the right,
   on a solid ground that takes its own room (nothing scrolls under it — today the student sheet's bar cut the purple
   button in half), and the back control the same distance from the edge on every page (kind 27). A hairline shows
   once the page has scrolled (main.js sets html.rb-scrolled). */
html.look-rb .pback-row{justify-content:space-between;gap:var(--space-4);padding:var(--space-2) var(--gutter);
  background:var(--bg);border-bottom:1px solid transparent;margin:0 0 var(--space-2);}
html.look-rb.rb-scrolled .pback-row{border-bottom-color:var(--border);}
html.look-rb .pback{margin-left:calc(-1 * var(--space-2));padding-left:var(--space-1);}
html.look-rb .rb-title-moved{display:none !important;}
html.look-rb .pback-title{flex:1;min-width:0;text-align:right;font-weight:600;font-size:var(--body-sm-size);color:var(--text);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}

/* ─── [A] Today home, way A (suggestion 1) ─── */
html.look-rb .rb-today-a{padding-bottom:var(--space-7);}
html.look-rb .rb-tile-ic{flex:none;width:32px;height:32px;border-radius:var(--radius-sm);display:inline-grid;place-items:center;}
html.look-rb .rb-tile-ic svg{width:17px;height:17px;}
html.look-rb .rb-tile-ic.is-accent{background:var(--accent-tint);color:var(--accent-ink);}
html.look-rb .rb-tile-ic.is-green{background:var(--green-tint);color:var(--green-ink);}
html.look-rb .rb-tile-ic.is-orange{background:var(--orange-tint);color:var(--orange-ink);}
html.look-rb .rb-tile-ic.is-grey{background:var(--fill-tint);color:var(--text-mid);}
html.look-rb .rb-a-need{margin:var(--space-5) var(--gutter) 0;}
html.look-rb .rb-a-need-eyebrow{display:flex;align-items:center;gap:var(--space-3);}
html.look-rb .rb-a-need-title{margin-top:var(--space-4);font-size:20px;line-height:1.3;font-weight:700;color:var(--text);}
html.look-rb .rb-a-need-sub{margin-top:var(--space-2);line-height:1.45;}
html.look-rb .rb-a-lane{display:flex;align-items:flex-start;gap:var(--space-3);margin-top:var(--space-4);padding-top:var(--space-4);border-top:1px solid var(--border);}
html.look-rb .rb-a-lane-words{flex:1;min-width:0;}
html.look-rb .rb-a-start{margin-top:var(--space-5);min-height:48px;display:flex;align-items:center;justify-content:center;gap:var(--space-2);}
html.look-rb .rb-a-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-3);margin:var(--space-4) var(--gutter) 0;}
html.look-rb .rb-a-tile{display:flex;flex-direction:column;align-items:flex-start;gap:var(--space-2);min-height:112px;padding:var(--space-4);
  background:var(--white);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--card-sh);text-align:left;cursor:pointer;font-family:inherit;color:var(--text);}
html.look-rb .rb-a-tile-num{font-size:24px;line-height:1;font-weight:700;font-variant-numeric:tabular-nums;color:var(--text);margin-top:var(--space-1);}
html.look-rb .rb-a-tile-lbl{font-size:var(--caption-size);line-height:1.35;color:var(--text2);font-weight:600;word-break:keep-all;overflow-wrap:anywhere;}
html.look-rb .rb-a-tile-sub{font-size:11px;line-height:1.35;color:var(--text2);word-break:keep-all;overflow-wrap:anywhere;}
html.look-rb .rb-a-path{margin:0 var(--gutter) var(--space-3);}
html.look-rb .rb-a-path-row{gap:var(--space-4);align-items:center;}
html.look-rb .rb-a-mone{margin:var(--space-5) 0 0;}


/* ─── [B] Photo viewer: one big picture, thumbnails (suggestion 2) ─── */
/* sessions.js photoViewerRender (window.Edu.photoViewer): a switch on top (課題 · 提出 · 並べて見る), ONE big picture with
   "1 / 5" and ‹ ›, the angle's name under it, the angles as thumbnails to tap (the chosen one outlined in purple). */
html.look-rb .pv{margin:var(--space-3) var(--gutter) var(--space-4);}
html.look-rb .pv > .section-label{margin-left:0;margin-right:0;}
html.look-rb .pv-switch{display:flex;gap:2px;padding:3px;background:var(--fill-tint);border-radius:var(--radius-full);margin:0 0 var(--space-4);}
html.look-rb .pv-seg{flex:1;min-width:0;min-height:var(--tap-target);border:none;background:transparent;border-radius:var(--radius-full);
  font-size:var(--body-sm-size);font-weight:600;color:var(--text-mid);cursor:pointer;padding:0 var(--space-2);white-space:nowrap;
  overflow:hidden;text-overflow:ellipsis;}
html.look-rb .pv-seg.on{background:var(--accent);color:var(--white);}
html.look-rb .pv-pic{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:4 / 5;width:100%;
  background:var(--fill-tint);border-radius:var(--radius-lg);overflow:hidden;color:var(--text3);}
html.look-rb .pv-pic img{width:100%;height:100%;object-fit:contain;display:block;}
html.look-rb .pv-stage{position:relative;}
html.look-rb .pv-stage.is-side{padding:0;}
html.look-rb .pv-pic.is-big{box-shadow:inset 0 0 0 1px rgba(0,0,0,.04);}
html.look-rb .pv-pic.is-empty svg{width:40px;height:40px;}
html.look-rb .pv-count{position:absolute;top:var(--space-3);left:var(--space-3);padding:2px 9px;border-radius:var(--radius-full);
  background:rgba(255,255,255,.92);color:var(--text);font-size:12px;font-weight:600;line-height:20px;}
/* ⊕ 2026-11-19 (settled 'no black for a chosen state, every app': «a label on a photo … is a white or app-colour pill, not a
   dark one»; seen on the waiting screen's «What you sent», kinds 103–114 walk): the «1 / 5» counter is a white pill. Was
   rgba(28,28,30,.72) with white words. */
html.look-rb .pv-arrow{position:absolute;top:50%;transform:translateY(-50%);width:var(--tap-target);height:var(--tap-target);
  border:none;border-radius:var(--radius-full);background:var(--white);color:var(--text);box-shadow:var(--shadow-xs, 0 1px 3px rgba(0,0,0,.12));
  display:inline-grid;place-items:center;cursor:pointer;padding:0;}
html.look-rb .pv-arrow svg{width:20px;height:20px;}
html.look-rb .pv-arrow.is-prev{left:var(--space-3);}
html.look-rb .pv-arrow.is-next{right:var(--space-3);}
html.look-rb .pv-caption{margin:var(--space-3) 0 var(--space-2);font-size:var(--body-sm-size);font-weight:600;color:var(--text);}
html.look-rb .pv-thumbs{display:grid;grid-template-columns:repeat(var(--pv-n, 5), minmax(0, 1fr));gap:var(--space-2);}
html.look-rb .pv-thumb{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0;min-height:var(--tap-target);
  border:none;background:none;padding:0;cursor:pointer;color:var(--text-mid);}
html.look-rb .pv-thumb-pic{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:4 / 5;border-radius:var(--radius-md);
  background:var(--fill-tint);overflow:hidden;border:2px solid transparent;color:var(--text3);}
html.look-rb .pv-thumb-pic img{width:100%;height:100%;object-fit:cover;display:block;}
html.look-rb .pv-thumb-pic svg{width:18px;height:18px;}
html.look-rb .pv-thumb.on .pv-thumb-pic{border-color:var(--accent);}
html.look-rb .pv-thumb-lab{font-size:12px;font-weight:600;line-height:1.3;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
html.look-rb .pv-thumb.on .pv-thumb-lab{color:var(--accent);}
/* Side by side: the 課題's angle and the hand-in's same angle, next to each other, each named under it. */
html.look-rb .pv-pair{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-3);}
html.look-rb .pv-pair-col{min-width:0;}
html.look-rb .pv-pair-cap{margin-top:var(--space-2);font-size:12px;font-weight:600;color:var(--text-mid);text-align:center;}


/* ─── [C] Library, way A: the switch at the top (suggestion 3) ─── */
/* One switch at the top (Tasks · Challenges · References, each with its count): a pale track, the chosen kind in the
   app's purple. Under it one grey line saying what that kind is, led by the kind's own icon in a tinted square. The
   kinds are told apart by the switch and that icon — never a coloured line down a card's side (his words). */
html.look-rb .lib-switch{display:flex;gap:2px;padding:3px;margin:var(--space-3) var(--gutter) 0;background:var(--fill-tint);border-radius:var(--radius-full);}
html.look-rb .lib-seg{flex:1 1 0;min-width:0;min-height:var(--tap-target);border:0;border-radius:var(--radius-full);background:transparent;
  color:var(--text-mid);font-family:inherit;font-size:var(--body-sm-size);font-weight:600;padding:0 var(--space-2);white-space:nowrap;
  overflow:hidden;text-overflow:ellipsis;cursor:pointer;}
html.look-rb .lib-seg.on{background:var(--accent);color:var(--white);}
/* ⊕ 2026-11-19 14:42 (Ken "yes", settled 'one tab count look for every app'; COURIER 2026-11-19_1442): a count on a tab is
   a small rounded tag after the word, smaller and lighter than it — never brackets, never a bare number glued on. Chosen tab:
   white tag, the number in the app's purple. Other tabs: a soft grey tag, a grey number. The sizes every app copies:
   18 tall, at least 18 wide, 0 6px inside, fully round, number 11 / 600 tabular, 6 after the word. */
html.look-rb .lib-seg-n{display:inline-block;vertical-align:1px;min-width:18px;height:18px;line-height:18px;padding:0 6px;margin-left:6px;
  border-radius:var(--radius-full);background:var(--avatar-bg);color:var(--text-mid);font-size:11px;font-weight:600;
  font-variant-numeric:tabular-nums;text-align:center;box-sizing:border-box;}
/* 24 Nov (HR's second cross-app read, COURIER 2026-11-24_1723): the number on the CHOSEN tag wears the bar word's shade
   #7E2FB8 (--accent-ink), as the tab you are on does; was --accent #9B3FD0. */
html.look-rb .lib-seg.on .lib-seg-n,html.look-rb .seg.on .lib-seg-n{background:var(--white);color:var(--accent-ink);}
html.look-rb .lib-seg-n:empty{display:none;}
html.look-rb .lib-kindline{margin:var(--space-5) var(--gutter) var(--space-4);}
html.look-rb .lib-kindline-in{display:flex;align-items:center;gap:var(--space-3);font-size:var(--body-sm-size);color:var(--text-mid);line-height:1.45;}
html.look-rb .lib-kind-ic{flex:none;width:32px;height:32px;border-radius:var(--radius-sm);display:inline-grid;place-items:center;}
html.look-rb .lib-kind-ic svg{width:16px;height:16px;}
html.look-rb .lib-kind-ic{background:var(--accent-tint);color:var(--accent-ink);}
html.look-rb .lib-kind-ic.is-grey{background:var(--fill-tint);color:var(--text-mid);}
/* A card of one kind: picture or icon · title · one grey line · a state pill · a chevron. */
html.look-rb .lib-card{display:flex;align-items:center;gap:var(--space-5);margin:0 var(--gutter) var(--space-3);padding:var(--space-5);cursor:pointer;}
html.look-rb .lib-card.is-col{display:block;cursor:default;}
html.look-rb .lib-card-top{display:flex;align-items:flex-start;gap:var(--space-4);}
html.look-rb .lib-card-words{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:var(--space-1);}
html.look-rb .lib-card .pill-status{margin-top:var(--space-1);}
html.look-rb .lib-thumb{flex:none;width:56px;aspect-ratio:4/5;border-radius:var(--radius-md);background:var(--fill-tint) center/cover no-repeat;
  display:grid;place-items:center;color:var(--text3);}
html.look-rb .lib-thumb svg{width:22px;height:22px;}
html.look-rb .lib-chev{flex:none;display:inline-grid;place-items:center;color:var(--text3);}
html.look-rb .lib-chips{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2);margin-bottom:2px;}
/* The presses a card owns, together in one row at its foot (they sat inside the row before): pale buttons, the delete
   in red words. */
html.look-rb .lib-foot{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-2);margin-top:var(--space-4);padding-top:var(--space-4);border-top:1px solid var(--border);}
html.look-rb .lib-foot-btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-1);min-width:0;min-height:var(--tap-target);padding:0 var(--space-4);border:0;
  border-radius:var(--radius-md);background:var(--rb-pale);color:var(--rb-pale-ink);font-family:inherit;font-size:var(--body-sm-size);font-weight:600;cursor:pointer;}
html.look-rb .lib-foot-btn svg{width:16px;height:16px;}
html.look-rb .lib-foot-btn.is-danger{background:var(--red-tint);color:var(--red);}
html.look-rb .lib-foot > .lib-foot-btn:first-child{grid-column:1 / -1;}
/* ⊕ 2026-11-19 (eye pass 11:37): 「必要なウィッグを設定」 broke onto two lines in a half cell and left 「削除」 alone on a
   third row — the wig button takes its own full row, so «Edit dates» and «Delete» share the last one. */
html.look-rb .lib-foot > .lib-foot-btn.is-wide{grid-column:1 / -1;}
/* ⊕ 2026-11-19 (eye pass 11:37): inside a box, «+ Add category» / «+ Add reference» are as wide as the fields above them
   (app.css insets them by the page gutter, meant for a page), with room before the next label. */
html.look-rb #sheet-host .btn-dashed{width:100%;margin-left:0;margin-right:0;margin-bottom:var(--space-4);}
/* ⊕ 2026-11-19 (eye pass 11:37): a box and the button beside it are the same height (settled 'one control size for every
   app': things side by side are the same height) — the planned debut date and its 保存. */
html.look-rb .rb-pair > .btn{align-self:stretch;height:auto;min-height:0;}
html.look-rb .lib-card-btn{width:100%;margin-top:var(--space-4);}
html.look-rb .lib-sheet-actions{margin-top:var(--space-5);}
/* References: one card holding the categories as rows; a category opens its own page (‹ References · <category>). */
html.look-rb .lib-cat-list{margin:0 var(--gutter) var(--space-3);padding:0 var(--space-5);}
html.look-rb .lib-cat-row{display:flex;align-items:center;gap:var(--space-4);min-height:64px;padding:var(--space-3) 0;cursor:pointer;}
html.look-rb .lib-cat-row + .lib-cat-row{border-top:1px solid var(--border);}
html.look-rb .lib-cat-words{flex:1;min-width:0;}
html.look-rb .lib-foot-actions{display:flex;flex-wrap:wrap;gap:var(--space-3);margin:var(--space-6) var(--gutter) var(--space-5);}
html.look-rb :has(> #lib-references .pback-row) > :not(#lib-references){display:none;}
html.look-rb #lib-references:has(> .pback-row) .section-label{display:none;}


/* ─── [D] Students: rings and bars; one student's page (suggestion 4) ─── */
/* The list: one card per salon, a ring · first name · role and salon · one pill per row. */
html.look-rb .rb-stu-roster{margin:0 var(--gutter);}
html.look-rb .rb-stu-rrow{cursor:pointer;gap:var(--space-5);padding:var(--space-5) 0;min-height:var(--tap-target);}
html.look-rb .rb-stu-rrow .well-row-words{min-width:0;}
html.look-rb .rb-stu-rrow .rb-stu-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
html.look-rb .rb-stu-noring{flex:none;width:48px;height:48px;border-radius:50%;background:var(--fill-tint);color:var(--text-mid);
  display:inline-grid;place-items:center;}
html.look-rb .rb-stu-noring svg{width:20px;height:20px;}
html.look-rb .rb-stu-legend{margin:var(--space-4) var(--gutter) var(--space-7);line-height:1.5;}
html.look-rb .rb-stu-rrow:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:var(--radius-md);}
/* One student's page: every block on the page margin, the same room between blocks. */
html.look-rb .rb-stu > *:not(.pback-row){margin-left:var(--gutter) !important;margin-right:var(--gutter) !important;}
/* ⊕ 2026-11-19 (the eye pass): the record cards kept their own gutter inside the wrapper's, 20px in from every other card. */
html.look-rb .rb-stu-hist > .ecard{margin-left:0 !important;margin-right:0 !important;}
html.look-rb .rb-stu > .sec-head.is-inset{margin-left:var(--gutter) !important;}
html.look-rb .rb-stu-person{display:flex;align-items:center;gap:var(--space-5);margin-top:var(--space-3);margin-bottom:var(--space-5);}
html.look-rb .rb-stu-avatar{flex:none;width:52px;height:52px;border-radius:50%;background:var(--accent-tint);color:var(--accent-ink);
  display:inline-grid;place-items:center;font-weight:700;font-size:20px;}
html.look-rb .rb-stu-person-words{min-width:0;}
html.look-rb .rb-stu-person-name{margin:0;line-height:1.2;overflow-wrap:anywhere;}
html.look-rb .rb-stu-path{margin-bottom:var(--space-2);}
html.look-rb .rb-stu-row{align-items:center;}
html.look-rb .rb-stu-dates{align-items:flex-start;}
/* The path to debut: four rings in a row, the figure and the name under each. */
html.look-rb .rb-stu-path-head{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);}
html.look-rb .rb-stu-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--space-3);margin-top:var(--space-5);}
html.look-rb .rb-stu-step{display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0;}
html.look-rb .rb-stu-step-fig{margin-top:var(--space-3);font-weight:700;font-size:var(--body-size);color:var(--text);line-height:1.2;min-height:1.2em;}
html.look-rb .rb-stu-step-name{margin-top:2px;font-size:var(--caption-size);font-weight:600;color:var(--text-mid);line-height:1.3;}
html.look-rb .rb-stu-foot{margin-top:var(--space-5);line-height:1.5;}
/* The rules and the setup: rows in one card; the pill keeps its own line beside the words. */
html.look-rb .rb-stu-list .well-row{padding:var(--space-5) 0;}
html.look-rb .rb-stu-list .well-row-words{min-width:0;}
html.look-rb .rb-stu-list .rb-bar{max-width:180px;}
html.look-rb .rb-stu-list .well-row-end{max-width:46%;justify-content:flex-end;text-align:right;}
html.look-rb .rb-stu-list .well-row-end .pill-status,
html.look-rb .rb-stu-list .well-row-end .chip{white-space:nowrap;}
html.look-rb .rb-stu-list .rb-stu-link{color:var(--accent);font-weight:600;text-decoration:none;display:block;}
html.look-rb .rb-stu-list [aria-disabled="true"]{opacity:.6;}
html.look-rb .rb-stu-datebtns{display:flex;flex-wrap:wrap;gap:var(--space-2);margin-top:var(--space-3);}
/* What you can do: the one full button (when the exam can be set now), the rest pale in two columns. */
html.look-rb .rb-stu-actions > .btn-primary{width:100%;min-height:var(--tap-target);margin-bottom:var(--space-3);}
html.look-rb .rb-stu-actgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-3);}
html.look-rb .rb-stu-actgrid > .btn{width:100%;min-height:var(--tap-target);justify-content:center;text-align:center;
  white-space:normal;line-height:1.25;padding:var(--space-2) var(--space-3);text-decoration:none;}
html.look-rb .rb-stu-actgrid > .btn:last-child:nth-child(odd){grid-column:1 / -1;}
/* «Create debut exam», pale while it cannot happen yet, keeps one whole line at the top of the grid. */
html.look-rb .rb-stu-actgrid > .rb-stu-exambtn{grid-column:1 / -1;order:-1;}
html.look-rb .rb-stu-actgrid:has(> .rb-stu-exambtn) > .btn:last-child:nth-child(odd):not(.rb-stu-exambtn){grid-column:auto;}
html.look-rb .rb-stu-actgrid:has(> .rb-stu-exambtn) > .btn:last-child:nth-child(even){grid-column:1 / -1;}
html.look-rb .rb-stu-actgrid > .btn svg{flex:none;}
/* The cut training card sits under its own section head: same card as the others, its repeated eyebrow steps aside. */
html.look-rb .rb-stu > .card{border:1px solid var(--border);border-radius:var(--radius-xl);box-shadow:var(--card-sh);background:var(--white);}
html.look-rb .rb-stu > .card > .type-eyebrow:first-child{display:none;}
html.look-rb .rb-stu > .card > .type-eyebrow:first-child + *{margin-top:0 !important;}
html.look-rb .rb-stu-optout{margin-top:var(--space-5) !important;margin-bottom:var(--space-9) !important;}
html.look-rb .rb-stu-optout .btn{width:100%;min-height:var(--tap-target);justify-content:center;}


/* ─── [E] Content pages as cards, a colour per Base item (suggestion 5, his change 3) ─── */
/* His change 3 ("can we add more color in each category? (shampoo, spa, etc)"): EACH BASE ITEM WEARS ITS OWN COLOUR again —
   its square in a soft tint of its hue with the darker glyph (views/base.js itemLook: shampoo blue · spa green · treatment
   purple · hand blow & dry orange · basic application pink · curl blow teal · straight iron indigo; perm and bleach fall to
   purple). Rule 2 above turned every well grey; for a Base item the colour NAMES the item, so it comes back on the content
   cards, the learner's Base page and the item sheet alike. No other part of the card is coloured, and never a left edge.
   Glyph on tint: blue-ink 5.0 · green-ink 4.6 · accent-ink 6.2 · orange-ink 3.6 · pink-ink 5.2 · teal 4.2 · indigo-ink 5.5 (≥ 3:1). */
html.look-rb .base-ico.hue-blue, html.look-rb .base-sec-ico.hue-blue{background:var(--well-blue);color:var(--rb-item-blue-ink);}
html.look-rb .base-ico.hue-green, html.look-rb .base-sec-ico.hue-green{background:var(--well-green);color:var(--green-ink);}
html.look-rb .base-ico.hue-purple, html.look-rb .base-sec-ico.hue-purple{background:var(--well-purple);color:var(--accent-ink);}
html.look-rb .base-ico.hue-orange, html.look-rb .base-sec-ico.hue-orange{background:var(--well-orange);color:var(--orange-ink);}
html.look-rb .base-ico.hue-pink, html.look-rb .base-sec-ico.hue-pink{background:var(--well-pink);color:var(--pink-ink);}
html.look-rb .base-ico.hue-teal, html.look-rb .base-sec-ico.hue-teal{background:var(--well-teal);color:var(--teal);}
html.look-rb .base-ico.hue-indigo, html.look-rb .base-sec-ico.hue-indigo{background:var(--well-indigo);color:var(--indigo-ink);}
/* Manage › Base training — content: one short line, then one card per item (views/base-admin.js rbItemCard). */
html.look-rb .rb-content-page{padding-bottom:var(--space-3);}
html.look-rb .rb-content-lead{margin:0 var(--gutter) var(--space-2);line-height:1.5;}
html.look-rb .rb-item-card{margin:var(--space-4) var(--gutter) 0;cursor:pointer;}
html.look-rb .rb-item-top{display:flex;align-items:center;gap:var(--space-4);}
html.look-rb .rb-item-top > svg{flex:none;color:var(--text3);width:20px;height:20px;}
html.look-rb .rb-item-words{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;}
html.look-rb .rb-item-ico{flex:none;width:44px;height:44px;border-radius:var(--radius-md);display:inline-grid;place-items:center;}
html.look-rb .rb-facts{display:flex;flex-wrap:wrap;gap:var(--space-2);margin-top:var(--space-4);}
html.look-rb .rb-fact{min-height:24px;padding:0 var(--space-3);font-size:12px;font-weight:600;background:var(--fill-tint);color:var(--text-mid);}
html.look-rb .rb-item-ver{margin-top:var(--space-4);}
/* The learner's Base page: the rule paragraph becomes a small card — the four rungs as chips, then short lines. */
html.look-rb .rb-how{margin:var(--space-4) var(--gutter) 0;}
html.look-rb .rb-how-steps{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2);margin:var(--space-3) 0 var(--space-2);}
html.look-rb .rb-how-steps > svg{flex:none;color:var(--text3);}
html.look-rb .rb-how-line{display:flex;align-items:flex-start;gap:var(--space-3);margin-top:var(--space-3);}
html.look-rb .rb-how-words{flex:1;min-width:0;color:var(--text-mid);line-height:1.5;padding-top:6px;}


/* ─── [F] Case Library and the learning films (suggestions 6 and 7, his change 4) ─── */
html.look-rb .rb-films-wrap{display:block;}
/* The list: one card a row, full width; the before and after side by side on top (kinds 9, 11). */
html.look-rb .tc-grid.is-rb{grid-template-columns:1fr;gap:var(--space-5);}
html.look-rb .tc-card.is-rb{border-radius:var(--radius-xl);overflow:hidden;cursor:pointer;}
html.look-rb .tc-pair{display:grid;grid-template-columns:1fr 1fr;gap:2px;background:var(--border);}
html.look-rb .tc-pair-pic{position:relative;aspect-ratio:4 / 5;background:var(--surface-tint);overflow:hidden;}
html.look-rb .tc-pair-pic .ph{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:var(--text3);}
html.look-rb .tc-pair-pic .ph svg{width:28px;height:28px;}
html.look-rb .tc-pair-label{position:absolute;left:var(--space-3);bottom:var(--space-3);padding:2px var(--space-3);border-radius:var(--radius-full);
  background:var(--white);color:var(--text);font-size:12px;font-weight:600;line-height:1.5;box-shadow:var(--shadow-xs);}
html.look-rb .tc-card-row{display:flex;align-items:center;gap:var(--space-4);padding:var(--space-5);}
html.look-rb .tc-card-words{flex:1;min-width:0;}
html.look-rb .tc-chev{flex:none;color:var(--text3);display:inline-flex;}
html.look-rb .tc-chev svg{width:18px;height:18px;}
/* One case: the back control at the page's one distance from the edge (the detail itself sits on the gutter). */
html.look-rb .tc-detail.is-rb > .pback-row{margin-left:calc(-1 * var(--gutter));margin-right:calc(-1 * var(--gutter));}
html.look-rb .tc-detail.is-rb .tc-who{margin-top:var(--space-1);}
/* The recipe as rows in the app's face, figures lined up (no typewriter face — his "this is not correct fonts too"). */
html.look-rb .tc-recipes{display:flex;flex-direction:column;gap:var(--space-4);}
html.look-rb .tc-recipe{background:var(--white);border:1px solid var(--border);border-radius:var(--radius-lg);padding:var(--space-5);}
html.look-rb .tc-recipe-head{display:flex;align-items:center;gap:var(--space-3);margin-bottom:var(--space-3);}
html.look-rb .tc-recipe-no{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:var(--radius-full);
  background:var(--accent-tint);color:var(--accent-ink);font-size:12px;font-weight:700;font-variant-numeric:tabular-nums;}
html.look-rb .tc-kv-list{display:flex;flex-direction:column;}
html.look-rb .tc-kv{display:flex;align-items:baseline;justify-content:space-between;gap:var(--space-5);padding:var(--space-3) 0;
  border-top:1px solid var(--border);font-size:var(--body-sm-size);}
html.look-rb .tc-kv-k{flex:none;color:var(--text2);}
html.look-rb .tc-kv-v{min-width:0;text-align:right;color:var(--text);font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;}
/* The learning films: small series chips (his "make these pills smaller") over one grid, three across on a phone. */
html.look-rb .rb-film-chips{display:flex;flex-wrap:wrap;gap:var(--space-2);margin:calc(-1 * var(--space-1)) 0 var(--space-5);}
html.look-rb .rb-film-chip{position:relative;display:inline-flex;align-items:center;height:28px;padding:0 var(--space-4);border:0;
  border-radius:var(--radius-full);background:var(--fill-tint);color:var(--text-mid);font-family:inherit;font-size:12px;font-weight:600;
  line-height:1;cursor:pointer;margin:4px 0;}
/* the press area stays 44 px tall, without the pill looking big */
html.look-rb .rb-film-chip::before{content:"";position:absolute;left:0;right:0;top:-8px;bottom:-8px;}
html.look-rb .rb-film-chip[aria-pressed="true"]{background:var(--accent);color:var(--white);}
html.look-rb .rb-film-chip:focus-visible{outline:2px solid var(--accent);outline-offset:2px;}
html.look-rb .film-grid.rb-films{grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-6) var(--space-3);}
html.look-rb .film-grid.rb-films .film-tile[hidden]{display:none;}
html.look-rb .film-grid.rb-films .film-cap{gap:2px;}
html.look-rb .film-grid.rb-films .film-title{order:1;font-size:13px;line-height:1.3;font-weight:600;color:var(--text);-webkit-line-clamp:3;}
html.look-rb .film-grid.rb-films .film-series{order:2;font-size:11px;}
html.look-rb .film-grid.rb-films .film-play{width:30px;height:30px;}
html.look-rb .film-grid.rb-films .film-play svg{width:14px;height:14px;margin-left:2px;}
html.look-rb .film-grid.rb-films .film-len{font-size:10px;padding:1px var(--space-2);}
html.look-rb .film-grid.rb-films .film-pic{border-radius:var(--radius-md);overflow:hidden;}


/* ─── [G] One look for empty and error pages (suggestion 8) ─── */
html.look-rb .state-block.rb-state{margin:var(--space-12) var(--gutter);display:flex;flex-direction:column;align-items:center;text-align:center;
  color:var(--text2);font-size:var(--body-sm-size);line-height:1.5;}
html.look-rb .state-block.rb-state .state-icon{width:64px;height:64px;border-radius:var(--radius-full);background:var(--fill-tint);color:var(--text-mid);margin-bottom:var(--space-5);}
html.look-rb .state-block.rb-state .state-icon svg{width:28px;height:28px;}
html.look-rb .state-block.rb-state.is-done .state-icon{background:var(--green-tint);color:var(--green-ink);}
html.look-rb .state-block.rb-state.error .state-icon{background:var(--red-tint);color:var(--red);}
html.look-rb .state-block.rb-state .state-title{font-size:17px;font-weight:700;color:var(--text);margin-bottom:var(--space-2);}
html.look-rb .state-block.rb-state .rb-state-btn{margin-top:var(--space-6);min-width:200px;min-height:48px;}


/* A film's real name is shown WHOLE in the new look (the camera flagged the long Base film names cut with "…" after two
   lines — kind 9, text cut). The tile grows instead. */
html.look-rb .film-title{display:block;-webkit-line-clamp:unset;overflow:visible;}
html.look-rb .film-grid.rb-films .film-title{display:block;-webkit-line-clamp:unset;overflow:visible;}
/* Two pale words the camera measured on every Today (2026-11-19, after the build): the date over the hello (1.6:1) and
   the orange "waiting" words on pills and chips (3.5:1 at 12 px). The date takes the page's grey; orange words take a
   deeper orange (5.4:1 on the orange tint) — still the rulebook's "waiting" colour. */
html.look-rb .hero-eyebrow{color:var(--text2);}
html.look-rb{--orange-ink:#b34700;}
/* The red "Fail" words on the history pills read 3.1:1; the red text token (--red-ink, 5.6:1 on the tint) carries them. */
html.look-rb .chip-fail{color:var(--red-ink);}
/* ─── [H] the end of this build's block ─── */
/* ⊕ 2026-11-19 (the eye pass): a stored question id («sci-b-901») is a code, not words — the box's own line already names
   the question («Hair & Scalp Science · Basics · Q901»). Today's look keeps it. */
html.look-rb [data-quiz-id]{display:none !important;}
/* ⊕ 2026-11-19 (COURIER 2026-11-19_1137 item 4; Ken 11:36 on the 練習モード box: «text a bit too small»). Every box (pop-up)
   in the app: the grey line under the title reads at 14 (was 12), and the box's buttons follow his control sizes (settled
   'one control size for every app'): a main button's words 15 bold, a pale one's 14 — the box's choices in its body (the six
   test buttons, a picker's rows) at 15, the box's own close at 14. Nothing in a box under 14 for Japanese. (Was: every
   .btn at the browser's 13.3.) Buttons on the pages themselves wait for the control-size build. */
html.look-rb .sheet-subtitle{font-size:14px;line-height:1.45;margin-top:var(--space-1);}
/* ⊕ 2026-11-19 (eye pass 1334 ⑦): a box's × sits level with its TITLE, not with the middle of title + explanation (it sat
   beside the grey explanation on every confirm box). Its 44px tap area is lifted by half the difference to the title line. */
html.look-rb .sheet-titles{align-items:flex-start;}
html.look-rb .sheet-titles > .row{margin-top:calc((var(--h2-size) * var(--h2-lh) - var(--tap-target)) / 2);}
/* ⊕ 2026-11-19 (eye pass 1709): …and the same half off its foot, so the 44px tap area no longer makes the box head taller than
   its title — a box with no grey line under the title had ~31px of air above its first label («Trainer and required passes»). */
html.look-rb .sheet-titles > .row{margin-bottom:calc((var(--h2-size) * var(--h2-lh) - var(--tap-target)) / 2);}
/* a progress bar that opens a box's body belongs to the count above it («2 / 5»): it sits one gap under it, not three. */
html.look-rb .sheet-body > .rb-bar:first-child{margin-top:calc(0px - var(--space-5));}
/* and a box with nothing in its body (a confirm box: title, explanation, button) draws no empty band above its button */
html.look-rb .sheet-body:empty{display:none;}
html.look-rb #sheet-host .btn:not(.btn-sm){font-size:14px;}
html.look-rb #sheet-host .sheet-body .btn-block:not(.btn-sm){font-size:15px;}
html.look-rb #sheet-host .btn.btn-primary:not(.btn-sm):not(.is-close-only),
html.look-rb #sheet-host .btn.btn-danger:not(.btn-sm){font-size:15px;font-weight:700;}
/* ⊕ 2026-11-19 (item 5; Ken 11:37: «thumbnails is the actual picture so it's easier for them to remember»): a row of handed-in
   work opens with the photo that was handed in (ui.js photoWell), the Library card's size and corner. No photo → the icon. */
html.look-rb .photo-well{flex:none;display:block;width:56px;height:56px;border-radius:var(--radius-md);overflow:hidden;background:var(--fill-tint);}
html.look-rb .photo-well img{display:block;width:100%;height:100%;object-fit:cover;}
/* ⊕ 2026-11-19 (item 6): a tab page's title now rides the ‹ row too, so a title row that also held a button (Students: + Add)
   keeps the button at the right end of its own row, on the gutter, never flush to the screen's left edge. */
html.look-rb .row:has(> h1.rb-title-moved){justify-content:flex-end !important;padding-left:var(--gutter);margin-top:var(--space-2);}
/* the scoring list's badge row lines up under the words beside a 56px photo (it was set for the 38px letter) */
html.look-rb .ecard:has(.photo-well) > .queue-card-chips{padding-left:calc(56px + var(--space-4));}
/* a photo that will not load and has no icon to fall back to: an empty grey square, never a broken-picture mark */
html.look-rb .photo-well.is-broken img{display:none;}
/* the question card in a practice or a test stands clear of its label row (the pill / the timer sat on its top edge) */
html.look-rb .q-card{margin-top:var(--space-3);}

/* ⊕ 2026-11-19 — THE EYE PASS (second window sw-e4acd5d5, open-work ow:eye-pass-named-not-fixed group 2): short Japanese
   labels broke mid-word and left one character alone on a line (「ウェブサイト用プロフィールを書」/「く」, 「押せま」/「す」,
   「も」/「う一度」). Two declarations in two rules, so a browser that does not know one keeps the other:
   · text-wrap:pretty — Chrome and Safari 26+ avoid a lone last character on a short line.
   ⊕ 2026-11-27 (COURIER 2026-11-27_1450): the phrase break is now the fleet's shared piece, /phrase-break.js (switched on in
   index.html): Chrome gets the same auto-phrase line from it, and an iPhone breaks by phrase too. Our own line went in that
   change (settled 'machine growth: retire before adding'). Was, beside text-wrap:
   · word-break:auto-phrase — Chrome breaks Japanese between PHRASES, never inside a word (needs lang="ja", which the app sets);
     «html.look-rb[lang="ja"] body { word-break: auto-phrase; }» — Safari has no auto-phrase yet, so an iPhone may still break
     in other places than Chrome's pictures. */
html.look-rb body { text-wrap: pretty; }

/* ─── [1337] 知識 tabs + the debut card (Ken 2026-11-19 13:36, COURIER 2026-11-19_1337) ─── */
/* 知識's switch 試験 n | 動画 n: the Library's switch, at his tab-switch height 36 (settled 'one control size for every
   app'); the chosen tab in Education's purple, never black. */
html.look-rb .kn-switch{margin:var(--space-3) var(--gutter) var(--space-2);}
html.look-rb .kn-switch .kn-seg{min-height:36px;height:36px;font-size:14px;}
/* The debut card: four numbered steps, one column. Each step: a round number, its name, its count big in the purple on
   the right, a purple bar under it. Rules under ② as rows with a thin line between them, name + pill on the first line,
   one grey line of detail, a thin bar. No coloured line down any side. */
html.look-rb .dt-title{font-size:19px;margin-top:var(--space-2);}
html.look-rb .dt-steps{margin-top:var(--space-4);display:flex;flex-direction:column;}
html.look-rb .dt-step{padding:var(--space-4) 0;border-top:1px solid rgba(0,0,0,.08);}
html.look-rb .dt-step:first-child{border-top:0;padding-top:var(--space-1);}
html.look-rb .dt-step-head{display:flex;align-items:center;gap:var(--space-3);}
html.look-rb .dt-no{flex:none;width:26px;height:26px;border-radius:50%;display:inline-grid;place-items:center;
  background:var(--purple-tint-2);color:var(--accent-ink);font-size:13px;font-weight:700;font-variant-numeric:tabular-nums;}
html.look-rb .dt-no svg{width:14px;height:14px;}
html.look-rb .dt-step.is-done .dt-no{background:var(--green-tint);color:var(--green-ink);}
html.look-rb .dt-step.is-locked .dt-no{background:var(--fill-tint);color:var(--text2);}
html.look-rb .dt-step-name{flex:1;min-width:0;font-size:15px;font-weight:600;color:var(--text);line-height:1.4;}
html.look-rb .dt-step.is-locked .dt-step-name{color:var(--text-mid);}
html.look-rb .dt-count{flex:none;color:var(--text2);font-size:14px;font-weight:600;white-space:nowrap;}
html.look-rb .dt-count b{font-size:22px;font-weight:700;color:var(--accent);margin-right:1px;}
html.look-rb .dt-date{flex:none;color:var(--text2);font-size:13px;}
html.look-rb .dt-bar{height:6px;border-radius:var(--radius-full);background:var(--fill-tint);overflow:hidden;margin:var(--space-3) 0 0 38px;}
html.look-rb .dt-bar > span{display:block;height:100%;border-radius:inherit;background:var(--accent);}
html.look-rb .dt-sub{margin:var(--space-2) 0 0 38px;font-size:13px;line-height:1.6;color:var(--text2);}
html.look-rb .dt-btn{margin:var(--space-3) 0 0 38px;width:calc(100% - 38px);}
html.look-rb .dt-step .dt-step-head + *:not(.dt-bar):not(.dt-sub):not(.dt-btn):not(.dt-regs){margin-left:38px;}
html.look-rb .dt-regs{margin:var(--space-3) 0 0 38px;background:var(--accent-tint);border-radius:12px;padding:0 var(--space-4);}
html.look-rb .dt-regs-label{margin:var(--space-4) 0 0 38px;font-size:12px;color:#5f5f64;line-height:1.5;}
html.look-rb .dt-reg{padding:var(--space-3) 0;border-top:1px solid rgba(0,0,0,.07);}
html.look-rb .dt-reg:first-child{border-top:0;}
html.look-rb .dt-reg[data-greyed="coming"]{opacity:.55;}
html.look-rb .dt-reg-top{display:flex;align-items:center;gap:var(--space-2);}
html.look-rb .dt-reg-name{flex:1;min-width:0;font-size:14px;font-weight:500;color:var(--text);line-height:1.45;}
html.look-rb .dt-reg-line{margin-top:2px;font-size:13px;line-height:1.6;color:var(--text2);}
html.look-rb .dt-reg-next{color:#5f5f64;}
/* The debut card's Basics/Base/Model counts, said once: hidden only while «Steps to debut» is on the screen (journey.js dtReg). */
html.look-rb [data-steps-on] [data-step-dup]{display:none;}
html.look-rb a.dt-link{color:var(--accent);font-weight:600;text-decoration:none;display:block;}
html.look-rb .dt-reg .dt-bar{margin:var(--space-2) 0 var(--space-1);height:4px;}
html.look-rb .dt-pill{flex:none;display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:var(--radius-full);
  font-size:11px;font-weight:700;white-space:nowrap;}
html.look-rb .dt-pill.is-done{background:var(--green-tint);color:var(--green-ink);}
html.look-rb .dt-pill.is-todo{background:var(--rb-pale);color:var(--rb-pale-ink);}
html.look-rb .dt-pill.is-info{background:var(--indigo-tint);color:var(--indigo-ink);}
html.look-rb .dt-pill.is-grey{background:var(--fill-tint);color:var(--text2);}
html.look-rb .dt-sub .dt-pill{margin-top:2px;}

/* ── 1334 — THE SCORE CARD (COURIER 2026-11-19_1334; Ken 2026-11-19 13:33 on a scored task's card: «make the text smaller
   (the japanese text). its too big» + «the 83/100 could use a polish like the marketing app»). ──────────────────────────
   1 · The score, as Marketing's redraw shows a number (his "looks good" 13:06, "yes" 13:16): a ring in the app's purple on
       a pale purple track, a small grey label, the number large and dark, «/100» quiet after it (components/ui.js rbScore).
       A deduction is one pale tag under the number. The history row's copy is the same at a smaller size.
   2 · Japanese reading text at this morning's Japanese reading set (show-20261119-104159, NOT his yes yet): sentences 15,
       line spacing 1.7, letter spacing .02em (was the browser's 16 with its own spacing); a Japanese label 12, grey, not
       bold, no capitals spacing. English screens keep their English labels; a Japanese sentence on an English screen
       carries lang="ja" (ui.js langOf) and reads at the same 15.
   3 · Any Japanese screen: words in a card that set no size of their own read at 15, not the browser's 16. */
html.look-rb .rb-score{display:flex;align-items:center;gap:var(--space-4);}
html.look-rb .rb-score .rb-ring-track{stroke:var(--rb-pale);}
html.look-rb .rb-score-words{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:0;}
html.look-rb .rb-score-lbl{font-size:12px;line-height:1.4;font-weight:600;color:var(--text2);letter-spacing:.02em;}
html.look-rb .rb-score-num{display:flex;align-items:baseline;gap:2px;line-height:1;font-variant-numeric:tabular-nums lining-nums;}
html.look-rb .rb-score-num b{font-size:30px;font-weight:700;letter-spacing:-.01em;color:var(--text);}
html.look-rb .rb-score-of{font-size:15px;font-weight:600;color:var(--text2);}
html.look-rb .rb-score-tag{display:inline-flex;align-items:center;height:22px;margin-top:var(--space-1);padding:0 var(--space-2);
  border-radius:var(--radius-full);background:var(--rb-pale);color:var(--rb-pale-ink);font-size:12px;font-weight:600;white-space:nowrap;}
html.look-rb .rb-score.is-sm{gap:var(--space-3);}
html.look-rb .rb-score.is-sm .rb-score-num b{font-size:20px;}
html.look-rb .rb-score.is-sm .rb-score-of{font-size:13px;}
html.look-rb .rb-score-row{justify-content:space-between;align-items:flex-end;gap:var(--space-3);margin-top:var(--space-3);}
/* the Pass / Fail pill sits level with the NUMBER, not the ring's middle (a reader's find, 2026-11-19 14:07) */
/* ⊕ 2026-11-19 (eye pass 1709): the pill's middle on the NUMBER's digits (measured: the digits' middle sits ~4px under the
   number's line box middle, so «Pass»/«合格» read higher than «82»). Was margin-bottom:2px. */
html.look-rb .rb-score-row > .chip{margin-bottom:-2px;}
/* the ①②③ under the score: one group, a hairline above, each line its label then the words */
html.look-rb .rb-score-card .rb-score + .rb-fb{margin-top:var(--space-4);padding-top:var(--space-3);border-top:1px solid var(--border);}
html.look-rb .rb-fb{margin-top:var(--space-3);}
html.look-rb .rb-fb-text{margin-top:2px;font-size:16px;line-height:1.5;color:var(--text);}
html.look-rb .rb-fb-text:lang(ja){font-size:15px;line-height:1.7;letter-spacing:.02em;font-weight:400;}   /* ⊖ word-break:auto-phrase (2026-11-27): the shared phrase break's page line covers it */
html.look-rb[lang="ja"] .rb-fb-lbl,
html.look-rb[lang="ja"] .rb-score-lbl{font-size:12px;font-weight:400;color:#5f5f64;letter-spacing:.02em;text-transform:none;line-height:1.5;}
html.look-rb[lang="ja"] .card,
html.look-rb[lang="ja"] .ecard{font-size:15px;}
/* ── 1334 (2) — MONÉ IS PINK (Ken 2026-11-19 08:53, settled 'moné is pink in every app': «mone should stay PINK for all
   apps. thats MONE'S theme color. you shouldnt change mone color»). Education painted her card, her draft box and her chat
   in its own lavender and purple; a reader of this page found it at 14:07. Her own pink here: the lotus #E75FA8 for marks
   and lines, a pale pink paper, words in dark plum/pink inks that read at 5.6:1 or more; white words only on the deeper
   pink #C2185B (5.9:1), never on the lotus itself (3.1:1). New look only. */
html.look-rb{
  --mone-bg-start:#FFF6FA; --mone-bg-end:#FCE9F3; --mone-border:#F6D2E5;
  --mone-ink:#5b2847; --mone-ink-mid:#86406a; --mone-name-ink:#9c2f6e;
  --mone-accent:#C2185B; --mone-spinner:#F2B8D6;
}
html.look-rb .mone-msg-user{background:#C2185B;}
html.look-rb .mone-chat-send{background:#C2185B;}
html.look-rb .mone-rate-btn.sel{border-color:var(--mone-pink);background:var(--mone-pink-tint);color:#C2185B;}

/* ─── «Steps to debut» — one card (Ken 14:41 «it should be displayed better» + «the horizontal bars dont express how far
   they are»; COURIER 2026-11-19_1442). The title with its count right under it; each step: name left, its own count right,
   a full-width 8 px purple bar filled to the exact share, then the one grey line of what is next. A met step: a check. ─── */
html.look-rb .js-card{padding:var(--space-5) 0 var(--space-1);}
html.look-rb .js-head{padding:0 var(--space-7) var(--space-1);}
html.look-rb .js-title{font-size:17px;font-weight:700;color:var(--text);line-height:1.35;}
html.look-rb .js-done{margin-top:2px;font-size:14px;font-weight:500;color:var(--text-mid);}
html.look-rb .js-list{margin:0;}
html.look-rb .js-top{display:flex;align-items:baseline;gap:var(--space-2);}
html.look-rb .js-name{flex:1;min-width:0;font-size:15px;font-weight:600;color:var(--text);line-height:1.4;}
html.look-rb .js-count{flex:none;display:inline-flex;align-items:baseline;gap:1px;color:var(--text2);font-size:13px;font-weight:600;white-space:nowrap;}
html.look-rb .js-count b{font-size:17px;font-weight:700;color:var(--accent);}
html.look-rb .js-of{margin-left:3px;}
html.look-rb .js-end-gap{width:24px;}
html.look-rb .js-count svg{width:14px;height:14px;align-self:center;margin-right:4px;color:var(--green-ink);}
html.look-rb .js-count.is-met b{color:var(--green-ink);}
html.look-rb .js-bar{height:8px;margin:var(--space-2) 0 var(--space-1);border-radius:var(--radius-full);background:var(--fill-tint);overflow:hidden;}
html.look-rb .js-bar > span{display:block;height:100%;border-radius:inherit;background:var(--accent);}

/* ─── A record card's head (Ken 14:44 «keep the "cut" "submitted" where they are, but make the picture bigger» + 14:45 «the
   text should be separated or have different fonts or colors»; COURIER 2026-11-19_1442 items 3 + 4). The work's photo grows
   to 88 so the words beside it read as one block with it (its left edge stays the card's edge, the same as the score ring
   below); the task bold and dark, the try a small purple pill, the look grey, the date small and grey on its own line. ─── */
html.look-rb .rec-head > .photo-well{width:88px;height:88px;border-radius:var(--radius-lg);}
html.look-rb .rec-title{display:flex;align-items:center;flex-wrap:wrap;gap:var(--space-2);}
html.look-rb .rec-task{font-size:16px;font-weight:700;color:var(--text);line-height:1.35;}
html.look-rb .rec-try{height:20px;padding:0 8px;font-size:12px;}
html.look-rb .rec-look{margin-top:2px;font-size:14px;color:var(--text-mid);line-height:1.4;}
html.look-rb .rec-date{margin-top:2px;font-size:12px;color:var(--text2);line-height:1.4;}
/* ⊕ 2026-11-19 (eye pass 1334 ⑦): inside a box, a field that comes after something that is not a field (a help sentence,
   a progress bar, a small heading) gets room above its label — they read as glued («Required passes» under the trainer
   help sentence, «Required number of sessions» on the model bar, «Date of the session» under «Add a record»). */
html.look-rb .sheet-body > :not(.field) + .field{margin-top:var(--space-5);}

/* ─── Moné's ready questions (kind 112; Ken 18:2x on Stock «i liked the icons and selections for the crm app»; COURIER
   2026-11-19_1831). An empty chat opens with four rows under the greeting: a pale-pink icon tile in her pink, the question
   in her plum ink, the row a white pill-cornered box; a tap asks it. Her own pink only (settled 'moné is pink'). ─── */
html.look-rb .mone-ready{display:flex;flex-direction:column;gap:var(--space-2);margin:var(--space-3) 0 var(--space-2);}
html.look-rb .mone-ready-row{display:flex;align-items:center;gap:var(--space-3);width:100%;min-height:44px;padding:var(--space-2) var(--space-4) var(--space-2) var(--space-2);
  background:var(--white);border:1px solid var(--mone-border);border-radius:var(--radius-lg);text-align:left;cursor:pointer;font:inherit;}
html.look-rb .mone-ready-icon{flex:none;width:32px;height:32px;display:grid;place-items:center;border-radius:var(--radius-md);background:var(--mone-pink-tint);color:#C2185B;}
html.look-rb .mone-ready-icon svg{width:18px;height:18px;}
html.look-rb .mone-ready-text{flex:1;min-width:0;font-size:14px;font-weight:600;color:var(--mone-ink);line-height:1.4;}

/* ─── Kinds 103 + 106 (Ken's Stock comments 2026-11-19 18:13 «it should be on the far left with padding» · «align … left»;
   COURIER 2026-11-19_1831). ① A test question: the answer buttons and «Answer» start at the question card's own left edge
   (a full-width button kept its page margin inside a column that already has it, so the answers sat 16 px in).
   ② The test box's facts (Questions · Time limit · Pass line · Chances · Covers): a fixed label column, the values LEFT
   in the column after it, never hugging the right edge. ─── */
html.look-rb .quiz-q .btn-block{width:100%;margin-left:0;margin-right:0;}
html.look-rb .qz-contract-row{justify-content:flex-start !important;align-items:baseline;gap:var(--space-4);}
html.look-rb .qz-contract-label{flex:none !important;width:96px;}
html.look-rb [lang="ja"] .qz-contract-label, html.look-rb:lang(ja) .qz-contract-label{width:96px;}
html.look-rb .qz-contract-value{flex:1;text-align:left !important;}
/* ③ The debut exam card: what sits under a step (its bar, its grey line, the regulations box, its button) starts at the
   card's left edge like the step's own number, not pushed in under the step's title (kind 103). */
html.look-rb .dt-bar, html.look-rb .dt-sub, html.look-rb .dt-regs, html.look-rb .dt-regs-label{margin-left:0;}
html.look-rb .dt-btn{margin-left:0;width:100%;}
html.look-rb .dt-step .dt-step-head + *:not(.dt-bar):not(.dt-sub):not(.dt-btn):not(.dt-regs){margin-left:0;}
/* ④ Tables and value lists read from the left (kind 106): the Basics progress table's band, heads and ticks; a colour
   recipe's values after a fixed name column; a practice log row = the day and time on one line, its count and bar under
   it, Undo on the right. */
/* ⊖ 2026-11-26: the Basics progress table is NO LONGER read from the left — Ken on his iPhone: «there is an alignment bug …
   they're all on the left side»; each head and each mark is centred in ONE shared column (views/quiz-admin.js GRID).
   Old rule, kept as words: html.look-rb .qa-col{text-align:left !important;justify-content:flex-start !important;} */
html.look-rb .tc-kv{justify-content:flex-start;}
html.look-rb .tc-kv-k{width:96px;}
html.look-rb .tc-kv-v{flex:1;text-align:left;}
html.look-rb .base-log-row{display:grid !important;grid-template-columns:auto 1fr auto;column-gap:var(--space-3);row-gap:var(--space-1);align-items:center;}
html.look-rb .base-log-row > [data-base-log-at]{grid-column:1 / 3;white-space:nowrap;}
html.look-rb .base-log-row > .base-log-count{grid-column:1;grid-row:2;white-space:nowrap;}
html.look-rb .base-log-row > .base-log-count + *:not([data-base-action]){grid-column:2;grid-row:2;}
html.look-rb .base-log-row > [data-base-action]{grid-column:3;grid-row:1 / 3;}
/* ⑤ Base training — content as ONE list (kind 110: «this list should be a list view, and when we click on one, it should
   give the details»): a row per item, its colour square, name, test and version, a chevron; the box it opens has the facts. */
html.look-rb .rb-item-list{margin:var(--space-4) var(--gutter) 0;padding:0 var(--space-5);}
html.look-rb .rb-item-row{display:flex;align-items:center;gap:var(--space-4);padding:var(--space-4) 0;cursor:pointer;}
html.look-rb .rb-item-row + .rb-item-row{border-top:1px solid var(--border-soft);}
html.look-rb .rb-item-row > svg{flex:none;color:var(--text3);width:20px;height:20px;}
html.look-rb .rb-item-row .rb-item-ico{width:40px;height:40px;}
html.look-rb .rb-item-title{font-size:16px;font-weight:700;color:var(--text);line-height:1.35;}
html.look-rb .rb-item-row .rb-item-ver{margin-top:0;}
/* ⑥ A screen names what it is about (kind 114): the waiting screen shows the work that was sent; the «Close this task?»
   box shows the task's picture and name. */
html.look-rb .aw-sent{margin:var(--space-6) var(--gutter) 0;}
html.look-rb .lt-close-which{padding:var(--space-3);border-radius:var(--radius-lg);background:var(--fill-tint);}

/* ══ THE 20 NOV RE-CHECK (COURIER 2026-11-20_0508; Ken 04:14 «all apps are probably gonna need a check AGAIN....»). A fresh
   reader walked the 19 Nov page as every person, EN and JA, and found 28 misses (Reference/2026-11-16_all-apps-look-audit/
   recheck_2026-11-20/education/FINDINGS.md, M1–M28). The look's half of them is here; the words' half is in each view, also
   only under html.look-rb. ══ */

/* M2 · settled 'one top bar for every app' (Ken 19 Nov 20:3x): 12 each side; ASSORT EDU in the app's darker shade, 15
   semi-bold, letters 2 apart (1 under 380 wide); EN | JP 80 × 36, no globe, chosen half black (the one black allowed). */
html.look-rb .app-header{padding-left:12px;padding-right:12px;}
html.look-rb .app-header .wordmark{color:var(--accent-ink);font-size:15px;font-weight:600;letter-spacing:2px;}
@media (max-width:379px){html.look-rb .app-header .wordmark{letter-spacing:1px;}}
html.look-rb .lang-toggle{width:80px;height:36px;padding:3px;gap:0;justify-content:center;}
html.look-rb .lang-toggle > svg{display:none;}
html.look-rb .lang-seg{flex:1;height:28px;}
html.look-rb .lang-seg button{flex:1;height:28px;padding:0;font-size:12px;}

/* M3 + M18 · settled 'one control size for every app' (Ken's pick B, 19 Nov 09:41): main 44 · second 40 · small in a row 32
   (words 13, 12 each side) · filter chip 30 · text box / form dropdown 32 (words 14) · pill 22 · tab switch 36. The hit box
   of a small control stays 44 through its ::before (app.css), so nothing gets harder to press. */
html.look-rb .btn{min-height:40px;}
html.look-rb .btn.btn-primary,html.look-rb .btn-cta,html.look-rb .rb-a-start{min-height:44px;height:44px;}
html.look-rb .btn-cta{border-radius:12px;}
html.look-rb .btn-dashed{height:40px;}
html.look-rb .btn.btn-sm{min-height:32px;height:32px;padding:0 12px;font-size:13px;border-radius:10px;}
html.look-rb .btn.btn-sm::before{top:-7px;bottom:-7px;}
/* ⊕ 2026-11-30 (COURIER 2026-11-30_2155, the phone pass now measured in the look production serves): the pixel walk that reads a hit
   box counts whole pixels from the centre, so a box of exactly 44 reads 42 (app.css's own note at .btn-sm, and .lang-seg below):
   every small control here gets 46. small button 32 + 2×7 · a second button 40 + 2×3 · a filter chip 30 + 2×8 · a switch half
   30 + 2×8. ::before draws nothing, so nothing painted moves. ⊖ was .btn.btn-sm ±6 (read 42), .seg ±7 (read 42), and the second
   button and the switch halves had none (read 40 and 30). */
html.look-rb .btn:not(.btn-sm){position:relative;}
html.look-rb .btn:not(.btn-sm)::before{content:'';position:absolute;left:0;right:0;top:-3px;bottom:-3px;}
html.look-rb input:where(:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=hidden]):not([type=submit]):not([type=button]):not([type=color])),
html.look-rb select{min-height:32px;height:32px;padding-top:0;padding-bottom:0;border-radius:10px;font-size:14px;}
html.look-rb select{padding-right:30px;}
html.look-rb .pill-status{min-height:22px;padding:0 9px;box-sizing:border-box;line-height:22px;}
html.look-rb .chip{min-height:22px;}
html.look-rb .seg{min-height:30px;line-height:16px;padding:7px 12px;box-sizing:border-box;position:relative;}
html.look-rb .seg::before{content:'';position:absolute;left:0;right:0;top:-8px;bottom:-8px;}
html.look-rb .lib-seg,html.look-rb .pv-seg{min-height:30px;height:30px;}
/* the switch halves (Library's kinds, Knowledge's tests/films, the preview switch): their own overflow:hidden would clip a
   ::before, and with text-overflow:clip and «room by their words» (M17) nothing in them overflows — so it goes, and the 46 hit
   box rides ::before like every small control's. */
html.look-rb .lib-seg,html.look-rb .pv-seg{position:relative;overflow:visible;}
html.look-rb .lib-seg::before,html.look-rb .pv-seg::before{content:'';position:absolute;left:0;right:0;top:-8px;bottom:-8px;}
/* a text box draws no ::before, so the planned debut date's 46 hit box is its <label>'s (views/debut-admin.js .rb-hit): the label
   makes no box of its own (display:contents), its ::before spans the row ±7, and the box itself sits above it, so a tap on the box
   is the box's and a tap just above or below it reaches it through the label. */
html.look-rb .rb-pair{position:relative;}
html.look-rb .rb-hit{display:contents;}
html.look-rb .rb-hit::before{content:'';position:absolute;left:0;right:0;top:-7px;bottom:-7px;}
html.look-rb .rb-hit > input{position:relative;}
html.look-rb .lib-switch,html.look-rb .pv-switch{height:36px;box-sizing:border-box;}

/* M8 · settled 'no black for a chosen state, every app': a label on a picture is white with dark words, never a dark pill. */
html.look-rb{--film-scrim-strong:rgba(255,255,255,.94);}
html.look-rb .film-len{color:var(--text);border-radius:var(--radius-full);font-weight:600;}


/* M28 · a staff row leads with the person (photo or first-name letter), never a generic person icon. */
html.look-rb .rb-person-circle{flex:none;border-radius:50%;background:var(--accent-tint);color:var(--accent-ink);display:inline-grid;place-items:center;font-weight:700;font-size:16px;line-height:1;}

/* M22 · the task card's button lives inside its own card. */
html.look-rb .rb-cta-slot{padding:0 var(--card-pad-x) var(--card-pad-y);}
html.look-rb .btn-cta.rb-cta-in-card{width:100%;margin:0;}

/* M4 · settled 'one sign-in screen for every app' (Ken's yes 19 Nov 15:21; the numbers of the one drawing,
   Reference/2026-11-16_all-apps-look-audit/sign-in-screen_2026-11-19/tools/door-one.js): light grey page, no card; EN | JP
   36 top right; icon 72, name 24 wide letters; one grey line; Google's round button 320 × 40 at the same height in every app;
   the app's note under it; the foot: the other apps, «All your apps after you sign in ›», «Privacy policy». */
html.look-rb .door{background:#FAFAFA;}
html.look-rb .door-top{padding:0 16px;}
html.look-rb .door-pill{padding:3px;}
html.look-rb .door-pill button{height:28px;min-width:44px;padding:0 12px;font-size:13px;font-weight:700;}
html.look-rb .door-pill button::before{top:-8px;bottom:-8px;}
html.look-rb .door-body{justify-content:flex-start;padding:max(24px,calc((100vh - 56px - 128px - 250px) / 2 - 20px)) 24px 32px;}
html.look-rb .door-wm{margin-top:20px;font-weight:600;}
html.look-rb .door-lead{margin-top:10px;font-size:15px;}
html.look-rb .door-gis{width:320px;max-width:100%;min-height:40px;height:40px;margin-top:28px;}
html.look-rb .door-notes{margin-top:16px;display:grid;gap:6px;max-width:320px;}
html.look-rb .door-notes .login-hint{margin-top:0;font-size:13px;line-height:1.5;color:var(--text2);}
html.look-rb .door-family{gap:0;padding:0 16px 20px;}
html.look-rb .door-family-row{height:44px;align-items:center;gap:10px;}
html.look-rb .door-all{min-height:32px;display:flex;align-items:center;font-size:13px;font-weight:600;color:#3A3A3C;}
html.look-rb .door-privacy{min-height:32px;display:flex;align-items:center;font-size:13px;color:var(--text2);text-decoration:underline;}
@media (min-width:768px){html.look-rb .door-body{justify-content:flex-start;padding-bottom:32px;}}
/* «Try again» sits in Google's 320 × 40 slot, so it is 40 tall like the button it stands in for — never the 44 of a main
   button, which overflowed the slot (Bugbot on PR #2387). */
html.look-rb .door-gis .btn.btn-primary.door-retry{width:320px;max-width:100%;min-height:40px;height:40px;}

/* M17 · the Library switch's chosen half keeps 8 each side in Japanese too («リファレンス 2»). */
html.look-rb .lib-seg{font-size:13px;padding:0 8px;}
/* M18 · Today's three tiles keep 12 inside on each side. */
html.look-rb .rb-a-tile{padding-left:12px;padding-right:12px;}
/* M12 / M21 hooks: a task with no difficulty draws nothing; a close-only box has no footer. */
html.look-rb .rb-no-stars{display:none;}
html.look-rb .sheet.rb-no-foot .sheet-body{padding-bottom:var(--space-6);}
html.look-rb .sns-tile{padding:12px;}   /* K1: the SNS tiles keep 12 inside (20 Nov re-walk) */
/* L5 (20 Nov re-walk): the Knowledge switch is one 36 tab switch (each half 30 inside it); the film filter chips are 30;
   the waiting / scored chips with their count tag stay 30. */
html.look-rb .kn-switch .kn-seg{min-height:30px;height:30px;}
html.look-rb .rb-film-chip{height:30px;}
html.look-rb .seg{padding:5px 12px;}
/* L5 side by side (20 Nov re-walk): buttons in one row are one height — the question-review row and the weights row. */
html.look-rb .qa-actions .btn,html.look-rb .weight-actions .btn{min-height:40px;height:40px;}
html.look-rb .lib-chips{align-items:center;}
/* A switch half and a score chip keep their words on one line. */
html.look-rb .kn-switch .kn-seg{white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;}
html.look-rb .chip{white-space:nowrap;}
/* M17 (20 Nov re-walk): the Library switch's halves take room by their words, so 「リファレンス 2」 is never cut. */
html.look-rb .lib-switch .lib-seg{flex:1 1 auto;text-overflow:clip;}

/* ── ONE MONÉ BUTTON FOR EVERY APP, ICON ONLY (Ken 2026-11-20 05:07 «i don't want the "Mone" text, i just want the
   icon» · 05:09 "yes" to «Shall every app use this one Moné button, icon only?», window afcfded3; settled 'one moné
   button for every app'; COURIER 2026-11-20_0552). A white circle 52 across, a 1px light grey edge, a soft grey shadow,
   Moné's master lotus 28 in her pink, no word under it, 16 from the right, the circle ending 12 above the bottom menu
   (or 12 above the foot on a screen with no menu). Today's look was 56 / very light edge / 0 8 24 .08 / lotus 32 / 10
   above the menu. The page's bottom room follows: 52 + 12 above + 12 below = 76 (the same 76 as before). */
html.look-rb{--mone-dock-h:calc(52px + 2 * var(--space-5));}
html.look-rb .mone-fab{width:52px;height:52px;border:1px solid #E5E5EA;box-shadow:0 4px 14px rgba(0,0,0,.12);
  right:16px;bottom:calc(var(--nav-h) + var(--space-5) + env(safe-area-inset-bottom, 0));}
html.look-rb .mone-fab .mone-mark-fab{width:28px;height:28px;}
@media (min-width:768px){html.look-rb .mone-fab{bottom:calc(var(--space-5) + env(safe-area-inset-bottom, 0));}}
@media (max-width:767px){html.look-rb body:has(#bottom-nav:empty) .mone-fab{bottom:calc(var(--space-5) + env(safe-area-inset-bottom, 0));}}

/* ══ THE 22 NOV CROSS-APP CHECK (the build guard, part ②; COURIER 2026-11-22_1841 from the English build; Ken 22 Nov 16:23:58
   «just making sure that the things that are supposed to be the same for all apps are together and aligned»). A fresh reader
   put this app's shared parts beside CRM, Training, Stock and English at 390 px, EN + JA
   (Reference/2026-11-16_all-apps-look-audit/english/new-look-build_2026-11-19/work-cross/). What was off, fixed here. ══ */

/* Top bar (settled 'one top bar for every app'): ASSORT in the dark ink, only EDU in the app's text shade; the circle's letters
   dark; the EN | JP halves 24 tall inside the 80 × 36 (5 each side, so each half is 34 wide). */
html.look-rb .app-header .wordmark{color:var(--text);}
html.look-rb .app-header .wordmark .wordmark-app{color:var(--accent-ink);}
html.look-rb .header-avatar-circle{color:var(--text);}
html.look-rb .lang-toggle{padding:5px;}
html.look-rb .lang-seg{height:24px;}
html.look-rb .lang-seg button{height:24px;line-height:24px;}
/* the halves paint 24 tall, so app.css's ±9 tap area (made for the old 28) reached only 42 here; ±11 gives 24 + 22 = 46, which
   the phone pass's pixel walk reads as 44 or more (the same 2px margin app.css keeps). Nothing painted moves: ::before draws
   nothing (COURIER 2026-11-30_2043, the textbook page's phone pass measured in the look production serves). */
html.look-rb .lang-seg button::before{top:-11px;bottom:-11px;}

/* Avatar menu (settled 'one avatar menu for every app'; the rule page avatar-menu_2026-11-19 and English): the panel 320 wide
   (never wider than the screen less 12 each side), corner 16, the soft shadow; the head = a 44 circle + first name 16/700 +
   job + email 13; every row's words 15/500, Log out 15/600 in its bordered row.
   F03.2 (2026-11-27, COURIER 2026-11-27_1325): the look guide's part 3 rule line 4 sets the one box at 320 wide, corners 16 —
   it fits the longest staff email (39 letters at 12) and 8 of 10 apps ship it; a desk number, not Ken's words.
   Old words: "the panel 340 wide" (the 19 Nov drawing's .pop max-width, drawn inside a comparison column). */
html.look-rb .header-menu{width:320px;max-width:calc(100vw - 24px);min-width:0;box-sizing:border-box;border-radius:16px;
  box-shadow:0 10px 30px rgba(0,0,0,.12);padding:6px;}
html.look-rb .header-menu-id-ring{display:flex;align-items:center;gap:12px;padding:12px 12px 14px;}
html.look-rb .header-menu-ring{flex:none;width:44px;height:44px;border-radius:50%;background:var(--avatar-bg);color:var(--text);
  display:grid;place-items:center;font-size:15px;font-weight:700;line-height:1;overflow:hidden;}
html.look-rb .header-menu-ring.has-photo img{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block;}
html.look-rb .header-menu-id-words{min-width:0;}
html.look-rb .header-menu-id-ring .header-menu-name{font-size:16px;font-weight:700;line-height:1.3;}
html.look-rb .header-menu-id-ring .header-menu-sub,
html.look-rb .header-menu-id-ring .header-menu-email{font-size:13px;line-height:1.35;margin-top:1px;}
html.look-rb .header-menu-item{font-size:15px;font-weight:500;}
html.look-rb .header-menu-logout{font-size:15px;font-weight:600;}

/* Moné's chat (settled 'moné is pink', 'one control size'): her own pink #E75FA8 on her Send, the reader's bubble and the ready
   questions' icons (as English and Training draw them); the text box, the picture button and Send all 32 (corner 10), 8 apart,
   on one line; her name alone in the chat's head, no «Education coach» under it (CRM, Training, Stock, English). The tap stays
   44 through each small button's ::before. Her hello above the fixed first line stays: Ken's Yes 2026-11-20 02:54 to card
   ksec-2026-11-19-2136-06c2f8 kept it «in today's look and the new look», the first line following it unchanged. */
html.look-rb .mone-msg-user{background:#E75FA8;}
html.look-rb .mone-chat-send{background:#E75FA8;}
html.look-rb .mone-ready-icon{color:#E75FA8;}
html.look-rb .mone-chat-head .mone-tag{display:none;}
html.look-rb .mone-chat-foot{gap:8px;align-items:flex-end;}
html.look-rb .mone-chat-input{min-height:32px;height:32px;padding:5px 12px;line-height:20px;font-size:14px;border-radius:10px;box-sizing:border-box;}
html.look-rb .mone-chat-send{position:relative;min-height:32px;height:32px;padding:0 12px;border-radius:10px;font-size:13px;font-weight:600;}
html.look-rb .mone-chat-attach{position:relative;width:32px;height:32px;border-radius:10px;}
html.look-rb .mone-chat-attach svg{width:18px;height:18px;}
html.look-rb .mone-chat-send::before,
html.look-rb .mone-chat-attach::before{content:'';position:absolute;left:-6px;right:-6px;top:-6px;bottom:-6px;}

/* Sign-in (settled 'one sign-in screen for every app'; the drawing's numbers, sign-in-screen_2026-11-19/tools/door-one.js): Japanese
   lines under the name 1.7 high, so Google's button sits at the same height as in every app; the foot's app icons 18. */
html.look-rb .door[lang="ja"] .door-lead,
html.look-rb .door[lang="ja"] .door-notes .login-hint{line-height:1.7;}
html.look-rb .door-family-row svg{width:18px;height:18px;opacity:1;}   /* the drawing's icons are full colour (today's look fades them to .55) — CS's cross-app check */

/* Controls (settled 'one control size for every app'): a main button's words 15/700; a second button's 14; a second-style
   «View submission» (a card's CTA drawn pale) is a second button, 40; chip tabs 8 apart; Moné's small «Coach» tag a 22 pill. */
html.look-rb .btn{font-size:14px;}
html.look-rb .btn.btn-primary:not(.btn-sm):not(.is-close-only):not(.is-step-btn),
html.look-rb .btn-cta:not(.is-view-only){font-size:15px;font-weight:700;}
html.look-rb .btn-cta.is-view-only{min-height:40px;height:40px;font-size:14px;font-weight:600;}
html.look-rb .rb-a-start:not(.btn-primary){min-height:40px;height:40px;}
html.look-rb .seg-row{gap:8px;}
html.look-rb .mone-tag{display:inline-flex;align-items:center;height:22px;padding:0 9px;box-sizing:border-box;line-height:1;border-radius:999px;}

/* ══ THE 24 NOV CROSS-APP CHECK (the build guard, part ②; COURIER 2026-11-24_1027 from HR's H7 build; Ken 22 Nov 16:23:58
   «just making sure that the things that are supposed to be the same for all apps are together and aligned»). HR's fresh reader
   put this app beside eight built apps at 390 px, touch on, EN + JA
   (Reference/2026-11-16_all-apps-look-audit/hr/build-h7_2026-11-24/proof/cross-app/RESULT.md, «For the other apps»). ══ */

/* The tab you are on wears the app's DARKER TEXT SHADE, the same #7E2FB8 as EDU in the top bar (the look guide's colours part:
   «The app's colour (its darker text shade) for links, the tab you are on, and a chosen thing»; six of nine built apps already
   do). Was --accent #9B3FD0, the lighter purple. Today's look keeps its own rule in app.css. */
html.look-rb .bottom-nav button[aria-current="page"]{color:var(--accent-ink);}

/* Moné's chat × : a 32 round grey button (#F2F2F7, the × #6E6E73), as Finance, Customer Service, English, Stock and Marketing
   draw it; was 44 with no fill. The tap stays 44 through ::before, as her Send and picture buttons. */
html.look-rb .mone-chat-close{position:relative;flex:none;width:32px;height:32px;min-width:32px;min-height:32px;padding:0;
  border-radius:50%;background:#F2F2F7;color:#6E6E73;}
html.look-rb .mone-chat-close svg{width:18px;height:18px;}
html.look-rb .mone-chat-close::before{content:'';position:absolute;left:-6px;right:-6px;top:-6px;bottom:-6px;}

/* ══ THE 27 NOV FABLE CHECK (step G3 of the look-guide build; Ken's "yes" 2026-11-21 08:31 to card ksec-2026-11-21-0708-08c399;
   COURIER 2026-11-27_1106). Fable 5.2 put all ten apps side by side against the Assort look guide
   (Reference/2026-11-16_all-apps-look-audit/look-guide_2026-11-21/); these are Education's RULE findings, fixed to the guide's
   numbers (never to another app's drawing). Each block names its finding (to-desks/education.md). ══ */

/* F02.7 · the bottom menu: the tab word gets one line height (14), so the 22 icon + 3 + the 11 word sit in the middle of the 82
   at the same height in English and Japanese (Japanese letters made the line 1.5 px taller). */
html.look-rb .bottom-nav button > span{line-height:14px;}

/* F03.3 · the "you" block at the top of the avatar menu: the name 15 semi-bold, the job and the email 12 grey (the guide's Text
   part: 15 semi-bold for a title, 12 grey for a second line). The 44 circle stays (the 19 Nov menu drawing's size). */
html.look-rb .header-menu-id-ring .header-menu-name{font-size:15px;font-weight:600;}
html.look-rb .header-menu-id-ring .header-menu-sub,
html.look-rb .header-menu-id-ring .header-menu-email{font-size:12px;}

/* F12.1 · the hello: 22 bold (the guide's «22 bold: the hello and a page's title»), titles 1.25 high. Was 28 semi-bold. */
html.look-rb .hero-greeting{font-size:22px;font-weight:700;line-height:1.25;letter-spacing:0;}

/* F12.6 · a row's name in a list: 14 semi-bold, only a little bigger than the 12 grey line under it. Was 15. */
html.look-rb .well-row-words > .type-body.semibold:first-child{font-size:14px;line-height:1.4;}

/* F13.10 · inside a card: 16 all round. Was 18 top and bottom, 20 at the sides (the two tokens every card reads). */
html.look-rb{--card-pad-y:16px;--card-pad-x:16px;}

/* F15.2 + F12.7 · the number tiles: each tile its own soft grey box (no outline, no shadow), a small plain icon in the tile's
   colour on top, the grey label, then the number 18 bold under it; 12 top and bottom, 8 at the sides. Was white outlined tiles,
   a filled colour square behind the icon, the number 24 before its label. */
html.look-rb .rb-a-tile{align-items:center;text-align:center;gap:0;min-height:0;padding:12px 8px;background:var(--fill-tint);
  border:0;box-shadow:none;border-radius:14px;}
html.look-rb .rb-a-tile .rb-tile-ic{order:0;width:auto;height:auto;background:transparent;}
html.look-rb .rb-a-tile .rb-tile-ic svg{width:16px;height:16px;}
html.look-rb .rb-a-tile-lbl{order:1;margin-top:6px;font-size:12px;font-weight:400;}
html.look-rb .rb-a-tile-num{order:2;margin-top:2px;font-size:18px;line-height:1.25;}
html.look-rb .rb-a-tile-sub{order:3;margin-top:2px;}

/* F16.1 · the way back: the arrow 16 from the left edge (the page's side room), the word right after it. Was 10. */
html.look-rb .pback{margin-left:0;padding-left:0;}

/* F12.7 + F12.18 · one big number on a screen (a score) 28 bold; nothing heavier than bold (700) anywhere. Top work's score was
   26 extra-bold (800), its month rows' scores and the category letter 800. */
html.look-rb .tw-score{font-size:28px;font-weight:700;}
html.look-rb .tw-row-score,
html.look-rb .cat-glyph{font-weight:700;}

/* F13.4 · the line between rows in a list starts where the row's words start (after the icon or circle) and ends at the card's
   inner edge. The line is drawn from the words column (its static left is where the words start, its top the row's top), and
   the row clips it at its own right edge — so a 40 icon, a 48 ring or a person's circle all get the right start. Was a border
   across the whole row, starting at the icon. */
html.look-rb .well-list > .well-row + .well-row{border-top-width:0;position:relative;overflow-x:clip;}
html.look-rb .well-list > .well-row + .well-row > .well-row-words::before{content:'';position:absolute;top:0;width:100vw;
  border-top:1px solid var(--border-soft);pointer-events:none;}

/* F13.9 · cards on a page: 12 between them (the guide's one gap). The first screen had 8 under each person card and 10 above
   the tiles. */
html.look-rb .rb-a-tiles{margin-top:12px;}
html.look-rb .rb-a-path{margin-bottom:12px;}

/* F12.4 · a page's title: 22 bold at the left, the same in both languages, under the ‹ row (components/ui.js backRow wraps the
   two in .pback-wrap, which draws no box, so the ‹ row still sticks under the top bar over the whole page and the title scrolls
   with the page, as HR draws it). Was 13 semi-bold at the row's right. */
html.look-rb .pback-wrap{display:contents;}
html.look-rb .pback-wrap > .pback-title{flex:none;display:block;margin:0 var(--gutter) 12px;padding:0;font-size:22px;font-weight:700;
  line-height:1.25;text-align:left;white-space:normal;overflow:visible;text-overflow:clip;color:var(--text);}
html.look-rb .tc-detail.is-rb > .pback-wrap > .pback-row{margin-left:calc(-1 * var(--gutter));margin-right:calc(-1 * var(--gutter));}
html.look-rb .tc-detail.is-rb > .pback-wrap > .pback-title{margin-left:0;margin-right:0;}
html.look-rb #lib-references:has(> .pback-wrap) .section-label{display:none;}


/* ── 教本 / THE TEXTBOOK (public/js/views/textbook.js) — Ken's Fable design of 2026-11-30, built to its numbers ─────────────
   (COURIER 2026-11-30_1346; the design and its NOTES: 02 AI C-Suite/Reference/2026-11-30_foil-textbook-fable-design/). Every
   size below is the design's. No coloured edge bar, no black for a chosen state, no italic. */
html.look-rb .tb-page{display:block;padding-bottom:var(--space-6);}
html.look-rb .tb-ic{display:inline-flex;flex:none;}
html.look-rb .tb-ic svg{display:block;}
html.look-rb .tb-in{padding:0 var(--gutter);}
/* ① the item box row */
html.look-rb .tb-bookrow{margin-top:16px;width:100%;border:0;background:var(--tb-tint);border-radius:16px;padding:14px 12px;display:flex;
  align-items:center;gap:12px;text-align:left;font:inherit;color:var(--text);cursor:pointer;}
html.look-rb .tb-sq{flex:none;width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:var(--white);color:var(--accent);}
html.look-rb .tb-bookrow-words{flex:1;min-width:0;display:block;}
html.look-rb .tb-bookrow-n{display:block;font-size:15px;font-weight:600;line-height:1.4;}
html.look-rb .tb-bookrow-m{display:block;font-size:12px;color:var(--text2);margin-top:2px;}
html.look-rb .tb-bookrow .tb-barrow{margin-top:8px;}
html.look-rb .tb-bar.tb-bar-on-tint{background:var(--white);}
html.look-rb .tb-chev{flex:none;color:var(--text3);}
html.look-rb .tb-note{font-size:12px;color:var(--text2);line-height:1.7;margin-top:8px;}
/* ② the first page */
html.look-rb .tb-sub{font-size:12px;color:var(--text2);margin-top:4px;}
html.look-rb .tb-toc .pback-wrap > .pback-title{margin-bottom:0;}
html.look-rb .tb-capl{font-size:11px;font-weight:700;letter-spacing:.06em;color:var(--text2);text-transform:uppercase;}
html.look-rb .tb-card{background:var(--white);border:1px solid var(--border);border-radius:16px;padding:16px;}
html.look-rb .tb-resume{margin-top:12px;display:grid;gap:8px;}
html.look-rb .tb-ct{font-size:15px;font-weight:600;line-height:1.35;}
html.look-rb .tb-resume .tb-btn{margin-top:4px;}
html.look-rb .tb-barrow{display:flex;align-items:center;gap:10px;}
html.look-rb .tb-bar{flex:1;height:6px;border-radius:99px;background:var(--fill-tint);overflow:hidden;}
html.look-rb .tb-bar > i{display:block;height:100%;border-radius:99px;background:var(--accent);}
html.look-rb .tb-cnt{font-size:12px;color:var(--text2);font-variant-numeric:tabular-nums;font-weight:600;white-space:nowrap;}
html.look-rb .tb-btn{height:44px;border-radius:12px;border:0;font:inherit;font-size:15px;font-weight:700;padding:0 16px;display:inline-flex;
  align-items:center;justify-content:center;gap:6px;width:100%;cursor:pointer;}
html.look-rb .tb-btn.tb-main{background:var(--accent);color:var(--white);}
html.look-rb .tb-btn.tb-pale{background:var(--tb-pale);color:var(--accent-ink);}
html.look-rb .tb-search{margin-top:16px;height:32px;border-radius:10px;background:var(--white);border:1px solid var(--border);display:flex;
  align-items:center;gap:6px;padding:0 10px;color:var(--text2);}
html.look-rb .tb-search input{flex:1;min-width:0;height:auto;border:0;outline:0;background:none;box-shadow:none;padding:0;margin:0;font:inherit;
  font-size:14px;color:var(--text);}
html.look-rb .tb-search input::placeholder{color:var(--text2);}
html.look-rb .tb-search:focus-within{border-color:var(--accent);}
html.look-rb .tb-clr{border:0;background:none;padding:4px;display:grid;place-items:center;color:var(--text2);cursor:pointer;}
html.look-rb .tb-clr[hidden]{display:none;}
html.look-rb .tb-headrow{display:flex;align-items:center;justify-content:space-between;margin-top:24px;min-height:30px;gap:8px;}
html.look-rb .tb-chips{display:flex;gap:8px;}
html.look-rb .tb-chip{height:30px;border-radius:999px;border:0;background:var(--fill-tint);padding:0 12px;font:inherit;font-size:12px;font-weight:600;
  display:inline-flex;align-items:center;gap:6px;color:var(--text);cursor:pointer;}
html.look-rb .tb-chip b{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:99px;background:var(--white);
  color:var(--text2);font-size:11px;font-weight:700;font-variant-numeric:tabular-nums;}
html.look-rb .tb-chip.tb-on{background:var(--accent);color:var(--white);}
html.look-rb .tb-chip.tb-on b{color:var(--accent-ink);}
html.look-rb .tb-card.tb-list{margin-top:8px;padding:0 12px;}
html.look-rb .tb-row{display:flex;align-items:center;gap:12px;width:100%;min-height:48px;padding:10px 0;border:0;background:none;text-align:left;
  position:relative;font:inherit;color:var(--text);cursor:pointer;}
html.look-rb .tb-row + .tb-row::before{content:"";position:absolute;top:0;left:38px;right:0;height:1px;background:var(--border);}
html.look-rb .tb-num{flex:none;width:26px;height:26px;border-radius:999px;background:var(--fill-tint);color:var(--text2);display:grid;place-items:center;
  font-size:12px;font-weight:700;font-variant-numeric:tabular-nums;}
html.look-rb .tb-row.tb-read .tb-num{background:var(--tb-pale);color:var(--accent-ink);}
html.look-rb .tb-t{flex:1;min-width:0;font-size:14px;font-weight:600;line-height:1.4;}
html.look-rb .tb-end{flex:none;display:flex;align-items:center;gap:6px;color:var(--text3);}
html.look-rb .tb-end .tb-k{color:var(--accent);}
html.look-rb .tb-end .tb-c{color:var(--accent-ink);}
html.look-rb .tb-pill{height:22px;border-radius:999px;padding:0 9px;font-size:11px;font-weight:700;display:inline-flex;align-items:center;
  background:var(--tb-pale);color:var(--accent-ink);white-space:nowrap;}
html.look-rb .tb-hitcount{font-size:12px;color:var(--text2);margin-top:24px;min-height:30px;display:flex;align-items:center;}
html.look-rb .tb-ctag{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:99px;background:var(--fill-tint);
  color:var(--text2);font-size:11px;font-weight:700;font-variant-numeric:tabular-nums;}
html.look-rb mark.tb-mark{background:var(--tb-pale);color:inherit;border-radius:4px;padding:1px;}
html.look-rb .tb-empty{font-size:14px;color:var(--text2);padding:16px 4px;line-height:1.7;}
/* ④ one part */
html.look-rb .tb-keep{flex:none;height:32px;border-radius:10px;border:0;background:var(--fill-tint);padding:0 12px;font:inherit;font-size:13px;
  font-weight:600;display:inline-flex;align-items:center;gap:6px;color:var(--text);cursor:pointer;}
html.look-rb .tb-keep.tb-on{background:var(--tb-pale);color:var(--accent-ink);}
html.look-rb .tb-hero{display:flex;gap:12px;align-items:center;margin-top:2px;}
html.look-rb .tb-big{flex:none;width:44px;height:44px;border-radius:14px;background:var(--accent);color:var(--white);display:grid;place-items:center;
  font-size:18px;font-weight:700;font-variant-numeric:tabular-nums;}
html.look-rb .tb-pt{font-size:22px;line-height:1.25;font-weight:700;margin:2px 0 0;text-wrap:balance;}
html.look-rb .tb-reads{display:grid;gap:12px;margin-top:16px;}
html.look-rb .tb-fc{background:var(--white);border:1px solid var(--border);border-radius:16px;padding:16px;display:grid;gap:12px;}
html.look-rb .tb-lbrow{display:flex;gap:10px;align-items:flex-start;}
html.look-rb .tb-sqi{flex:none;width:28px;height:28px;border-radius:9px;background:var(--tb-pale);color:var(--accent-ink);display:grid;place-items:center;}
html.look-rb .tb-lb{font-size:14px;font-weight:700;line-height:1.45;color:var(--text);padding-top:4px;}
html.look-rb .tb-lb.tb-lb-plain{padding-top:0;}
html.look-rb .tb-tx{font-size:14px;line-height:1.8;display:grid;gap:8px;}
html.look-rb:not([lang="ja"]) .tb-tx{line-height:1.55;}
html.look-rb .tb-sn{margin:0;}
html.look-rb[lang="en"] .tb-tx.tb-cap > .tb-sn:first-child::first-letter,html.look-rb[lang="en"] .tb-itx::first-letter{text-transform:uppercase;}
html.look-rb[lang="ja"] .tb-sn,html.look-rb[lang="ja"] .tb-lb,html.look-rb[lang="ja"] .tb-itx,html.look-rb[lang="ja"] .tb-pt,
html.look-rb[lang="ja"] .tb-t,html.look-rb[lang="ja"] .tb-ct,html.look-rb[lang="ja"] .tb-nextline{text-wrap:pretty;}  /* the phrase break itself: /phrase-break.js */
html.look-rb .tb-tx b{font-weight:700;}
html.look-rb .tb-u{background:var(--tb-tint);color:var(--accent-ink);font-weight:600;border-radius:6px;padding:1px 5px;margin:0 1px;white-space:nowrap;
  font-variant-numeric:tabular-nums;}
html.look-rb .tb-exp .tb-u{background:var(--white);}
html.look-rb .tb-steps{display:grid;gap:6px;}
html.look-rb .tb-it{display:grid;grid-template-columns:24px minmax(0,1fr);gap:10px;align-items:start;background:var(--fill-tint);border-radius:12px;
  padding:10px 12px;}
html.look-rb .tb-exp .tb-it{background:var(--white);}
html.look-rb .tb-mk{width:24px;height:24px;border-radius:99px;background:var(--tb-pale);color:var(--accent-ink);display:grid;place-items:center;
  font-size:12px;font-weight:700;font-variant-numeric:tabular-nums;margin-top:1px;}
html.look-rb .tb-mk.tb-mk-dot{background:none;}
html.look-rb .tb-mk.tb-mk-dot::before{content:"";width:7px;height:7px;border-radius:99px;background:var(--accent);}
html.look-rb .tb-mk.tb-mk-x{background:var(--white);color:var(--text2);font-size:14px;}
html.look-rb .tb-exp .tb-mk.tb-mk-x{background:var(--tb-tint);}
html.look-rb .tb-arr{height:12px;display:grid;justify-items:start;padding-left:17px;color:var(--text3);margin:-2px 0;}
html.look-rb .tb-exp{background:var(--tb-tint);border-radius:12px;padding:12px;display:grid;grid-template-columns:20px minmax(0,1fr);gap:8px;}
html.look-rb .tb-exp > .tb-ic{margin-top:4px;color:var(--accent);}
html.look-rb .tb-exp-body{display:grid;gap:8px;min-width:0;}
html.look-rb .tb-nextline{font-size:12px;color:var(--text2);margin:20px 0 8px;}
html.look-rb .tb-two{display:grid;grid-template-columns:1fr 1fr;gap:8px;}
html.look-rb .tb-two.tb-one{grid-template-columns:1fr;}
html.look-rb .tb-part .pback-row .tb-keep{margin-right:0;}
/* ⑤ the laptop: the list on the left (it scrolls by itself), the part on the right */
html.look-rb .tb-wide{display:grid;grid-template-columns:300px minmax(0,1fr);gap:24px;align-items:start;padding:0 var(--gutter);}
html.look-rb .tb-side{position:sticky;top:calc(var(--header-h) + 8px);max-height:calc(100vh - var(--header-h) - 16px);overflow-y:auto;
  padding:8px 10px 40px 2px;scrollbar-width:none;}
html.look-rb .tb-side::-webkit-scrollbar{display:none;}
html.look-rb .tb-side .pback-row{position:static;padding-left:0;padding-right:0;margin:0;background:none;border-bottom:0;}
html.look-rb .tb-side .pback-wrap > .pback-title{margin:0;}
html.look-rb .tb-side > .tb-barrow{margin-top:12px;}
html.look-rb .tb-side .tb-headrow{margin-top:20px;}
html.look-rb .tb-wide .tb-row{min-height:44px;}
html.look-rb .tb-row.tb-sel{background:var(--tb-tint);margin:0 -8px;padding:10px 8px;width:calc(100% + 16px);border-radius:10px;}
html.look-rb .tb-row.tb-sel::before,html.look-rb .tb-row.tb-sel + .tb-row::before{display:none;}
html.look-rb .tb-right{padding:20px 2px 60px;min-width:0;}
html.look-rb .tb-navrow-wide{display:flex;align-items:flex-start;gap:12px;}
html.look-rb .tb-navrow-wide > .tb-hero{flex:1;min-width:0;margin-top:0;}
html.look-rb .tb-wide .tb-nextline{text-align:right;}
html.look-rb .tb-wide .tb-two{max-width:340px;margin-left:auto;}

/* the small controls keep their drawn size (chip 30, text box 32, しおり 32) and get the 44 hit box through ::before (the
   rule beside M3 above: nothing gets harder to press) */
html.look-rb .tb-chip,html.look-rb .tb-keep,html.look-rb .tb-clr{position:relative;}
html.look-rb .tb-chip::before{content:'';position:absolute;left:0;right:0;top:-7px;bottom:-7px;}
html.look-rb .tb-keep::before{content:'';position:absolute;left:0;right:0;top:-6px;bottom:-6px;}
html.look-rb .tb-clr::before{content:'';position:absolute;inset:-11px;}
html.look-rb .tb-search input{height:44px;margin:-6px 0;}
/* the text box draws no border of its own (the box around it does); its unpainted border names a token, so the phone pass's
   form-control wall reads a control the house styled, not the text colour a bare border:0 falls back to. Width 0: nothing drawn. */
html.look-rb .tb-search input{border-color:var(--border);}
