/* look-v2-b.css — group B of the A-to-G look; every rule starts html.look-v2 (COURIER 2026-11-19_1513).
   B · THE GUEST CARD: big photo, lines in full, each fact once (screen-client-card.js buildV2Facts / buildV2Photos).
   Ken 15:09-15:11 on the proposed card (COURIER 2026-11-19_1510): no line down the left of the 重要 note, and the
   "What you need to know" card must read at a glance, Japanese too. So: one fact per row with room, label above,
   value left-aligned under it and never cut; what can hurt the guest first, in soft tinted boxes, never a coloured
   left line (settled 'no coloured left line, every app'). Facts dark; only who/when grey. Japanese 15px, 1.6. */

/* ══ B2 · the one "What you need to know" card ══════════════════════════════════════════════════════════════════ */
html.look-v2 .v2f-card{
  margin:12px var(--gutter,16px) 12px;padding:16px;
  background:#fff;border:1px solid #E5E5EA;border-radius:16px;box-shadow:none;
  display:flex;flex-direction:column;gap:12px;
}
html.look-v2 .v2f-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:32px;}
html.look-v2 .v2f-title{font:700 16px/1.3 var(--font-sans);color:var(--text,#1a1a1a);}
html.look-v2:lang(ja) .v2f-title{font-size:15px;}
html.look-v2 .v2f-btn{flex-shrink:0;gap:4px;min-width:32px;}
html.look-v2 .v2f-btn-ic{display:inline-flex;}

/* 1 · 2 · THE TINTED BOXES (allergy green / red / amber, 重要): ONE shape — a pill on its own line (22 tall, fully
   round, words 11 bold: settled 'one control size'), the words under it, and the SAME inside space on all four sides
   (14 px; Ken 16:59 "not aligned horiztontally verically", 17:00 "(or place the allery on file text below)"). No line
   on any edge (settled 'no coloured left line, every app', rewritten 17:00: no bar on ANY edge) — the soft tint of the
   whole box and the pill's icon carry the warning. The pill row is exactly the pill's height, so the top space reads
   the same as the sides (the 重要 box's × hangs into the padding, it never makes the row taller). */
html.look-v2 .v2f-safety,
html.look-v2 .v2f-imp{
  display:flex;flex-direction:column;align-items:stretch;gap:6px;width:100%;box-sizing:border-box;margin:0;
  padding:14px 14px 12px;border:0;border-radius:12px;text-align:left;font:inherit;box-shadow:none;
}   /* 12 at the foot: the last line's own leading (2 px) puts its letters 14 from the edge — measured, like the sides */
html.look-v2 .v2f-safety{cursor:pointer;-webkit-appearance:none;appearance:none;}
html.look-v2 .v2f-safety--clear{background:#E8F7EE;}
html.look-v2 .v2f-safety--red{background:#FDECEC;}
html.look-v2 .v2f-safety--amber{background:#FFF4E5;}
html.look-v2 .v2f-imp{background:#FDECEC;}
html.look-v2 .v2f-box-top,
html.look-v2 .v2f-imp-top{display:flex;align-items:center;gap:8px;height:22px;min-height:22px;}
html.look-v2 .v2f-pill,
html.look-v2 .v2f-imp-pill{
  display:inline-flex;align-items:center;gap:4px;height:22px;padding:0 9px;box-sizing:border-box;border-radius:999px;
  color:#fff;font:700 11px/1 var(--font-sans);white-space:nowrap;flex-shrink:0;
}
html.look-v2 .v2f-pill-ic,
html.look-v2 .v2f-imp-pill-ic{display:inline-flex;}
html.look-v2 .v2f-pill--clear{background:#1a7f37;}
html.look-v2 .v2f-pill--red,
html.look-v2 .v2f-imp-pill{background:#D70015;}
html.look-v2 .v2f-pill--amber{background:#B45309;}
html.look-v2 .v2f-box-chev{display:inline-flex;margin-left:auto;color:#6e6e73;}
html.look-v2 .v2f-box-text{display:flex;flex-direction:column;gap:2px;}
html.look-v2 .v2f-box-line,
html.look-v2 .v2f-safety .card-safety-strip-note{
  display:block;margin:0;font:400 15px/1.55 var(--font-sans);color:var(--text,#1a1a1a);
  white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;
}
html.look-v2 .v2f-safety--red .v2f-box-line:first-child{font-weight:600;}
html.look-v2 .v2f-imp-who{
  flex:1;min-width:0;text-align:right;font:400 12px/1.4 var(--font-sans);color:#6e6e73;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
html.look-v2 .v2f-imp-remove{
  display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;
  width:32px;height:32px;margin:-5px -8px -5px 0;padding:0;border:0;border-radius:10px;
  background:transparent;color:#6e6e73;cursor:pointer;
}
html.look-v2 .v2f-imp-text{
  margin:0;font:600 15px/1.6 var(--font-sans);color:var(--text,#1a1a1a);text-align:left;
  white-space:pre-wrap;overflow-wrap:anywhere;
}

/* 3 · 4 · the fact rows: icon + label on one line, the value lines left-aligned under it, a hairline between */
html.look-v2 .v2f-row{padding-top:12px;border-top:1px solid #F0F0F2;}
html.look-v2 .v2f-safety + .v2f-row,
html.look-v2 .v2f-imp + .v2f-row{border-top:0;padding-top:4px;}
html.look-v2 .v2f-row-head{display:flex;align-items:center;gap:8px;min-height:32px;}
html.look-v2 .v2f-row-ic{display:inline-flex;color:var(--crm-ink,#C2185B);flex-shrink:0;}
html.look-v2 .v2f-row-lbl{flex:1;min-width:0;font:600 13px/1.4 var(--font-sans);color:#6e6e73;}
html.look-v2 .v2f-row-body{display:flex;flex-direction:column;gap:2px;padding:4px 0 0;}   /* one left edge: the value starts where its label row starts (peer walk 103) */
html.look-v2 .v2f-line{
  display:block;margin:0;font:400 15px/1.55 var(--font-sans);color:var(--text,#1a1a1a);text-align:left;
  font-variant-numeric:tabular-nums;overflow-wrap:anywhere;
}
html.look-v2:lang(ja) .v2f-line{line-height:1.6;}
html.look-v2 .v2f-line-date{font-weight:600;}
html.look-v2 .v2f-line-strong{font-weight:600;}
html.look-v2 .v2f-line-sub{margin-top:6px;font-size:13px;font-weight:600;}
html.look-v2 .v2f-line-empty{color:#6e6e73;}
html.look-v2 .v2f-prefs-text{white-space:pre-wrap;}

/* ══ B1 · the photos FIRST under the name: the visit's Before | After, big; the visit's shots in two labelled rows
   (Before / After, each named); a row of visits that switches the visit (Ken 16:57 "oic yes!", 16:59 "no multiple
   before shots?"). The tag on a big photo is a white pill, never a dark one (settled 'no black for a chosen state':
   photo labels are white or app-colour pills, Ken 17:07). ═════════════════════════════════════════════════════════ */
html.look-v2 .v2p{margin:12px var(--gutter,16px) 4px;}
html.look-v2 .v2p-head{padding:0 0 8px;}
html.look-v2 .v2p-title{font:600 15px/1.4 var(--font-sans);color:var(--text,#1a1a1a);}
html.look-v2 .v2p-big{display:grid;grid-template-columns:1fr 1fr;gap:8px;}
html.look-v2 .v2p-big--one{grid-template-columns:1fr;}
html.look-v2 .v2p-tile{position:relative;border-radius:16px;overflow:hidden;background:#ececf0;aspect-ratio:4/5;}
html.look-v2 .v2p-big--one .v2p-tile{aspect-ratio:4/3;}
html.look-v2 .v2p-img{display:block;width:100%;height:100%;object-fit:cover;cursor:zoom-in;}
html.look-v2 .v2p-tag{
  position:absolute;left:8px;bottom:8px;max-width:calc(100% - 16px);box-sizing:border-box;
  display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:999px;
  background:#fff;color:var(--crm-ink,#C2185B);font:700 11px/1 var(--font-sans);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none;box-shadow:0 1px 3px rgba(0,0,0,.18);
}
html.look-v2 .v2p-shots{display:flex;flex-direction:column;gap:12px;margin-top:12px;}
html.look-v2 .v2p-shots[hidden]{display:none;}
html.look-v2 .v2p-shot-row{display:flex;flex-direction:column;gap:6px;}
html.look-v2 .v2p-visits{display:flex;gap:8px;overflow-x:auto;margin:0 0 10px;padding:0 0 2px;scrollbar-width:none;}
html.look-v2 .v2p-visits::-webkit-scrollbar{display:none;}
html.look-v2 .v2p-visit{
  flex:0 0 auto;display:inline-flex;align-items:center;height:30px;padding:0 12px;box-sizing:border-box;
  border:1px solid #E5E5EA;border-radius:999px;background:#fff;color:#3a3a3c;font:600 12px/1 var(--font-sans);
  white-space:nowrap;cursor:pointer;-webkit-appearance:none;appearance:none;
}
html.look-v2 .v2p-visit.on{background:var(--crm-ink,#C2185B);border-color:var(--crm-ink,#C2185B);color:#fff;}
html.look-v2 .v2p-row-lbl{font:600 13px/1.3 var(--font-sans);color:#6e6e73;padding:0;}
html.look-v2 .v2p-strip{display:flex;gap:8px;overflow-x:auto;padding:0 0 2px;scrollbar-width:none;}
html.look-v2 .v2p-strip::-webkit-scrollbar{display:none;}
html.look-v2 .v2p-thumb{
  flex:0 0 auto;display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:72px;
  padding:0;border:0;background:none;cursor:pointer;font:inherit;-webkit-appearance:none;appearance:none;
}
html.look-v2 .v2p-thumb-img{
  display:block;width:56px;height:56px;object-fit:cover;border-radius:12px;
  border:2px solid transparent;box-sizing:border-box;
}
html.look-v2 .v2p-thumb.on .v2p-thumb-img{border-color:var(--crm-ink,#C2185B);}
html.look-v2 .v2p-thumb-cap{
  width:100%;font:500 12px/1.3 var(--font-sans);color:#6e6e73;text-align:left;
  overflow-wrap:anywhere;
}
html.look-v2 .v2p-thumb.on .v2p-thumb-cap{color:var(--crm-ink,#C2185B);font-weight:700;}

/* ══ B4 · the formula in the app font: no typewriter face for words staff read ════════════════════════════════ */
html.look-v2 #page-client-card .type-mono,
html.look-v2 #page-client-card .mono{font-family:var(--font-sans) !important;letter-spacing:normal;}

/* ══ B5 · every small tap on the card at least 32 x 32 ════════════════════════════════════════════════════════ */
html.look-v2 #page-client-card .eye-action,
html.look-v2 #page-client-card .card-important-remove,
html.look-v2 #page-client-card .card-preferences-edit-btn,
html.look-v2 #page-client-card .card-visit-edit-btn,
html.look-v2 #page-client-card .card-visit-delete-btn,
html.look-v2 #page-client-card .card-visit-restore-btn{
  display:inline-flex;align-items:center;justify-content:center;min-height:32px;min-width:32px;box-sizing:border-box;
}

/* ══ B7 · "Log new service" never under Moné: the one main button 44, the second pale 40, Moné above the bar ═══ */
html.look-v2 .card-log-bar{gap:8px;padding:12px var(--page-pad-x,16px) 12px;}
html.look-v2 .card-log-btn{
  height:44px;min-height:44px;padding:0 20px;border-radius:12px;
  background:var(--crm-ink,#C2185B);color:#fff;font:700 15px/1 var(--font-sans);letter-spacing:0;
}
html.look-v2 .card-report-btn{
  height:40px;min-height:40px;padding:0 16px;border:0;border-radius:12px;
  background:var(--blue-tint,#FDEEF3);color:var(--crm-ink,#C2185B);font:600 14px/1 var(--font-sans);letter-spacing:0;
}
/* the bar is 12 + 44 + 8 + 40 + 12 tall (+1 hairline): Moné floats 12 above it, never on a button */
/* only while the bar is drawn (2026-11-20 fresh readers 3 #5, 4 #1: on the "could not load" card she floated ~120 px up) */
html.look-v2 body[data-page="client-card"]:has(#page-client-card .card-log-bar) .mone-fab{bottom:calc(var(--nav-h) + 129px);}
html.look-v2 .card-log-spacer{height:140px;}

/* ══ B9 · the hair type INSIDE the log, the first thing above Service type (settled 'hair type: inside the service log,
   not a separate trip'; Ken 17:08 "this is very hard to find"). The six questions draw inline (the pick screen without
   its own page head); the one-tap length line and the result line sit in one white card. ══════════════════════════ */
html.look-v2 .v2lh{scroll-margin-top:72px;}
html.look-v2 .v2lh[hidden],
html.look-v2 .v2lh-card[hidden],
html.look-v2 .v2lh-pick[hidden]{display:none;}
html.look-v2 .v2lh-card{
  margin:0 var(--gutter,16px);padding:16px;background:#fff;border:1px solid #E5E5EA;border-radius:16px;
  display:flex;flex-direction:column;gap:12px;
}
html.look-v2 .v2lh-top{display:flex;align-items:flex-start;gap:10px;}
html.look-v2 .v2lh-ic{display:inline-flex;color:var(--crm-ink,#C2185B);padding-top:2px;flex-shrink:0;}
html.look-v2 .v2lh-words{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;}
html.look-v2 .v2lh-title{font:700 16px/1.4 var(--font-sans);color:var(--text,#1a1a1a);}
html.look-v2 .v2lh-ask{font:700 16px/1.4 var(--font-sans);color:var(--text,#1a1a1a);}
html.look-v2 .v2lh-sub{font:400 14px/1.5 var(--font-sans);color:#6e6e73;}
html.look-v2 .v2lh-k2{color:var(--text,#1a1a1a);}
html.look-v2 .v2lh-btns{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:center;}
html.look-v2 .v2lh-btns .v2-btn{width:100%;height:44px;}
html.look-v2 .v2lh-change{flex-shrink:0;}
html.look-v2 .v2lh-err{margin:0;font:600 13px/1.4 var(--font-sans);color:#b3261e;}
html.look-v2 .v2lh-pick .hm-pick{height:auto;min-height:0;background:transparent;}
html.look-v2 .v2lh-pick .hm-pick > div:first-child{display:none !important;}   /* the pick page's own head: the log is the page */
html.look-v2 .v2lh-pick .hm-pick > div{overflow:visible !important;min-height:0 !important;flex-grow:0 !important;}
/* the first box under the label sits the same 8 px under it as every other box on the page */
html.look-v2 .v2lh-pick .hm-pick > div:nth-child(2){margin-top:0 !important;}
/* "Can't tell" and "Later" / "Keep as it was": moved to look-v2-log.css with the whole log page (COURIER 2026-11-20_1150).
   Before (11:11–11:46): two 30-tall pills side by side here, which read as more service-type chips. */

/* ══ B17 · THE FORMULA TEMPLATE (Ken 17:10; recipe-format.js formulaBlocks / buildGrid): one small labelled grid per
   bowl, per agent step, per treatment — the same labels always in the same place, the app's own font, a soft grey
   box (no edge bar, no black). The same grid on the card, in the visit history and on the log page. ═════════════ */
html.look-v2 .rf-grids{display:flex;flex-direction:column;gap:8px;margin:4px 0 2px;}
html.look-v2 .rf-grid{background:#F5F5F7;border:0;border-radius:12px;padding:12px 14px;box-sizing:border-box;}
html.look-v2 .rf-grid-title{font:700 13px/1.3 var(--font-sans);color:var(--text,#1a1a1a);margin:0 0 4px;}
html.look-v2 .rf-row{display:grid;grid-template-columns:108px minmax(0,1fr);column-gap:10px;padding:6px 0;border-top:1px solid #E8E8ED;}
html.look-v2 .rf-grid-title + .rf-row,html.look-v2 .rf-grid > .rf-row:first-child{border-top:0;}
html.look-v2 .rf-lbl{font:500 13px/1.45 var(--font-sans);color:#6e6e73;}
html.look-v2 .rf-val{display:flex;flex-direction:column;gap:2px;min-width:0;font:600 14px/1.45 var(--font-sans);color:var(--text,#1a1a1a);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;}
html.look-v2 .rf-none{color:#aeaeb2;font-weight:500;}
html.look-v2 .v2f-row-body .rf-grids{margin-top:6px;}

/* ══ B18 · the visit's karte line: one plain line, no pill (Ken 17:11 "dont know what this means and its not padded
   correctly again"). "Karte written 4 Oct 18:30" / 「カルテ記入 10月4日 18:30」; a booking with no karte: "No karte yet". */
html.look-v2 .v2v-karte{display:block;font:400 14px/1.45 var(--font-sans);color:#6e6e73;}
html.look-v2 .v2v-karte--none{margin-top:2px;color:#A04A00;font-weight:600;font-size:13px;}
html.look-v2 .v2v-karte-row{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;}
html.look-v2 .v2v-karte-row .v2v-karte{flex:1;min-width:0;}
/* the visit's Edit / Delete: the one small button (32 tall, corner 10, words 13 — settled 'one control size'), side by
   side on one centre line with the karte line; Delete in a pale red, never a bare red word */
html.look-v2 #page-client-card .card-visit-edit-btn,
html.look-v2 #page-client-card .card-visit-delete-btn,
html.look-v2 #page-client-card .card-visit-restore-btn{
  height:32px;min-height:32px;padding:0 12px;border:0;border-radius:10px;flex-shrink:0;
  font:600 13px/1 var(--font-sans);letter-spacing:0;white-space:nowrap;
  background:var(--blue-tint,#FDEEF3);color:var(--crm-ink,#C2185B);
}
html.look-v2 #page-client-card .card-visit-delete-btn{background:#FDECEC;color:#D70015 !important;}

/* no rail down the side of the visit list (Ken 17:00 "i dont liek these type of designs (vertical bars and horizontal
   bars)"): the visits are separate cards with real space between them, no line and no dot joining them */
html.look-v2 #page-client-card .card-visits-list::before,
html.look-v2 #page-client-card .card-visit-row::before,
html.look-v2 #page-client-card .card-practice-list::before,
html.look-v2 #page-client-card .card-practice-row::before{display:none;content:none;}

/* ══ B18b · every pill and chip on the card and the log, one line with its proper inside space (Ken 17:11 "not padded
   correctly again"; settled 'one control size for every app'): a LABEL (not tapped) is the pill — 22 tall, fully
   round, words 11 bold, one line, also in Japanese (it was 24 there); a CHOICE you tap on the log is the chip — 30
   tall, fully round, words 12. Measured in both languages after the change, not eyeballed. ══════════════════════ */
html.look-v2 #page-client-card .chip,
html.look-v2 #page-log-service .chip-staff{
  display:inline-flex;align-items:center;justify-content:center;gap:4px;height:22px;min-height:22px;max-width:100%;
  padding:0 9px;box-sizing:border-box;border-radius:999px;font:700 11px/1 var(--font-sans);letter-spacing:0;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle;
}
html.look-v2 #page-log-service .chip-staff{gap:0;}
html.look-v2 #page-log-service .chip-staff-you-mark{margin-left:3px;}
html.look-v2 #page-log-service .chip-toggle{
  display:inline-flex;align-items:center;justify-content:center;height:30px;min-height:30px;
  padding:0 12px;box-sizing:border-box;border-radius:999px;font:600 12px/1 var(--font-sans);letter-spacing:0;
  white-space:nowrap;
}
html.look-v2 #page-log-service .chips-row{row-gap:8px;column-gap:8px;}
/* the staff chips and their Add button start at the card's own inside edge (they sat 20 px further in) */
html.look-v2 #page-log-service .log-staff-chips,
html.look-v2 #page-log-service .log-products-chips{padding-left:0;padding-right:0;}
html.look-v2 #page-log-service .log-add-staff{margin-left:0;}
/* an empty search-results list draws nothing (it drew a 2 px line under the products box) */
html.look-v2 #page-log-service .gte-results:empty{display:none;}

/* ══ B8 / B15 · the log page and the card: no edge or outline in a colour, no black fill (settled 'no coloured left
   line, every app' — now no line on ANY edge — and 'no black for a chosen state, every app'; Ken 17:00 + 17:07).
   A notice stands out by the soft tint of the whole box; a photo label is a white pill with the app's pink words. */
html.look-v2 .card-important-card{border-top:0;}                       /* today's 重要 card (the new card draws its own) */
html.look-v2 .log-kept-note,
html.look-v2 .formula-qty-nudge{border:0;}                             /* the orange tint carries it */
html.look-v2 .formula-bowl-card.bowl-error{border-color:#E5E5EA;background:#FDECEC;}   /* an error: a red tint, no red outline */
html.look-v2 #page-log-service .photo-tile-label-chip{
  display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:999px;
  background:#fff;color:var(--crm-ink,#C2185B);font:700 11px/1 var(--font-sans);white-space:nowrap;
  box-shadow:0 1px 3px rgba(0,0,0,.18);
}
html.look-v2 #page-log-service .photo-tile-remove{
  width:24px;height:24px;background:#fff;color:#3a3a3c;box-shadow:0 1px 3px rgba(0,0,0,.25);
}
/* the app's own font for every word staff read on the log too (no typewriter face; the card already had it) */
html.look-v2 #page-log-service .type-mono,
html.look-v2 #page-log-service .mono{font-family:var(--font-sans) !important;letter-spacing:normal;}
html.look-v2 .consent-panel{border:0;}                                  /* the safety sheet's consent box: the tint only */
/* a visit's title is never cut with "…" (it is what was done to the guest): it wraps */
html.look-v2 #page-client-card .card-visit-row .row-head{white-space:normal;overflow:visible;text-overflow:clip;}

/* ══ the visit history as ONE list (peer walk FINDINGS 110, 19 Nov: "each visit a ~180 px card"): one white card, a
   row per visit divided by a thin grey line, a › centred on the row with the card's 16 px inside space; a tap opens
   the visit under its row. The date and the salon never break inside themselves (「2026年6月 / 23日」). ══════════════ */
html.look-v2 #page-client-card .v2v-list{
  display:block;margin:0 var(--gutter,16px) 16px;padding:0 16px;list-style:none;
  background:#fff;border:1px solid #E5E5EA;border-radius:16px;box-shadow:none;
}
html.look-v2 #page-client-card .v2v-row{margin:0;padding:14px 0;border:0;border-radius:0;box-shadow:none;background:none;}
html.look-v2 #page-client-card .v2v-row + .v2v-row{border-top:1px solid #F0F0F2;}
html.look-v2 #page-client-card .v2v-toggle{cursor:pointer;align-items:center;}
html.look-v2 #page-client-card .v2v-chev{display:inline-flex;flex-shrink:0;color:#c7c7cc;margin-left:2px;}
html.look-v2 #page-client-card .v2v-open .v2v-chev svg{transform:rotate(90deg);}
html.look-v2 #page-client-card .v2v-detail{display:flex;flex-direction:column;gap:8px;padding-top:12px;}
html.look-v2 #page-client-card .v2v-detail[hidden]{display:none;}
html.look-v2 #page-client-card .v2v-row .row-sub > span{white-space:nowrap;}
html.look-v2 #page-client-card .v2v-row .card-visit-inner{display:flex;flex-direction:column;gap:2px;min-width:0;}

/* the notes (Notes & conversations / メモ・会話) the same way: one white card, a row per note, a thin grey line between
   (each one-line note was a ~280 px card); a Fresha note keeps its quiet grey words, without a box of its own */
html.look-v2 #page-client-card .card-notes-list{
  display:block;margin:0 var(--gutter,16px) 16px;padding:0 16px;list-style:none;
  background:#fff;border:1px solid #E5E5EA;border-radius:16px;
}
html.look-v2 #page-client-card .card-note-row{
  margin:0;padding:12px 0;min-height:0;border:0;border-radius:0;box-shadow:none;background:none;gap:4px;
}
html.look-v2 #page-client-card .card-note-row + .card-note-row{border-top:1px solid #F0F0F2;}
html.look-v2 #page-client-card .card-note-row--fresha{background:none;}
html.look-v2 #page-client-card .card-note-meta{font:400 13px/1.45 var(--font-sans);color:#6e6e73;}
html.look-v2 #page-client-card .card-note-meta > span{white-space:nowrap;}
html.look-v2 #page-client-card .card-note-body{font:400 15px/1.55 var(--font-sans);word-break:auto-phrase;overflow-wrap:anywhere;}   /* kept with the shared phrase break: app.css sets break-word on it */

/* the "last visit · visits · lifetime value" numbers: rows of one card — icon, plain label, value — on one left edge */
html.look-v2 #page-client-card .v2s-strip{
  display:block;margin:0 var(--gutter,16px) 12px;padding:4px 16px;background:#fff;border:1px solid #E5E5EA;border-radius:16px;
}
html.look-v2 #page-client-card .v2s-row{
  display:grid;grid-template-columns:18px 120px minmax(0,1fr);column-gap:10px;align-items:center;
  padding:10px 0;border:0;text-align:left;
}
html.look-v2 #page-client-card .v2s-row + .v2s-row{border-top:1px solid #F0F0F2;border-left:none;}
html.look-v2 #page-client-card .v2s-ic{display:inline-flex;color:var(--crm-ink,#C2185B);}
html.look-v2 #page-client-card .v2s-row .row-stat-lbl{font:500 14px/1.4 var(--font-sans);color:#6e6e73;margin:0;text-transform:none;letter-spacing:0;}
html.look-v2 #page-client-card .v2s-row .row-stat-num{font:600 15px/1.4 var(--font-sans);color:var(--text,#1a1a1a);text-align:left;white-space:nowrap;}
html.look-v2 #page-client-card .v2s-row .row-stat-qualifier{grid-column:3;font:400 12px/1.3 var(--font-sans);color:#6e6e73;text-align:left;}
html.look-v2 #page-client-card .v2s-row:not(:last-child){border-right:0;}

/* the photo sheet: "Choose photo / Take photo" sit 12 px under the title's divider (they touched it; peer walk 107) */
html.look-v2 #photo-pick-v2.v2f-pick{margin-top:12px;}
html.look-v2 #page-client-card .v2v-chev{width:16px;}

/* ══ ROUND 3 · C2 teaching review: the photo labels like the guest card's (a white pill, the app's pink words) and the
   four "before the service" pickers in the form dropdown's one look (white, a grey hairline, 32 tall, corner 10). ══ */
html.look-v2 #page-teaching-review .v2d-pair-tag{color:var(--crm-ink,#C2185B);box-shadow:0 1px 3px rgba(0,0,0,.18);}
html.look-v2 #page-teaching-review .tr-state-select{background-color:#fff;border:1px solid #D1D1D6;}
html.look-v2 #page-teaching-review .rf-grids{margin:12px 0 4px;}

/* ══ ROUND 3 · C3 merge review: ONE level — the two records are two plain columns inside the one white card (no grey
   box inside the card, no pill inside the box, no round glyph between them that looks like a button); the record
   label is a small grey word; a salon is a plain line, not a chip; the heading's count is the one count tag. ══════ */
html.look-v2 #page-merge-review .merge-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:16px;align-items:start;margin:12px 0;}
html.look-v2 #page-merge-review .merge-panel{background:none;border:0;border-radius:0;padding:0;}
html.look-v2 #page-merge-review .merge-src{display:block;padding:0;margin:0 0 4px;background:none;border-radius:0;font:600 12px/1.3 var(--font-sans);letter-spacing:0;text-transform:none;color:#6e6e73;}
html.look-v2 #page-merge-review .merge-panel .mp-row{margin-top:2px;font:400 13px/1.45 var(--font-sans);color:#6e6e73;}
html.look-v2 #page-merge-review .merge-panel .mp-row b{font:600 15px/1.4 var(--font-sans);color:var(--text,#1a1a1a);}
html.look-v2 #page-merge-review .merge-panel .card-chips-row{display:block;margin:2px 0 0;}
html.look-v2 #page-merge-review .merge-panel .chip-loc{
  display:block;height:auto;min-height:0;padding:0;margin:0;background:none;border:0;border-radius:0;
  font:400 13px/1.45 var(--font-sans);color:var(--text,#1a1a1a);white-space:normal;
}
html.look-v2 #page-merge-review .merge-card .mp-evi{font:600 13px/1.45 var(--font-sans);color:var(--text,#1a1a1a);}
html.look-v2 #page-merge-review .merge-why{font:400 13px/1.45 var(--font-sans);color:#6e6e73;}
/* the AI section's Undo: the one small button, one line (「元に戻す」 broke onto two) */
html.look-v2 #page-merge-review .merge-ai-row [data-ai-undo]{
  flex-shrink:0;height:32px;min-height:32px;padding:0 12px;border:0;border-radius:10px;white-space:nowrap;
  background:var(--blue-tint,#FDEEF3);color:var(--crm-ink,#C2185B);font:600 13px/1 var(--font-sans);
}
html.look-v2 #page-merge-review .merge-ai-row{display:flex;align-items:center;gap:8px;}
html.look-v2 #page-merge-review .merge-ai-names{flex:1;min-width:0;}

/* ══ ROUND 3 · C4 the log page: ONE main button on the screen (Save service log). The length check's "Yes" is the
   pale second button (40) beside "Change", the same height on one line; the photo sheet's Save is pale until a photo
   is chosen; Cancel has no back arrow and lines up with the cards. ════════════════════════════════════════════════ */
html.look-v2 .v2lh-btns .v2-btn{height:40px;}
html.look-v2 #photo-save:disabled{background:#F2F2F7 !important;color:#aeaeb2 !important;border-color:#F2F2F7 !important;cursor:default;box-shadow:none;}
html.look-v2 #page-log-service .log-save-bar{padding-left:var(--gutter,16px);padding-right:var(--gutter,16px);gap:8px;align-items:center;}
html.look-v2 #page-log-service .log-bar-back-btn{
  height:44px;min-height:44px;padding:0 20px;border:0;border-radius:12px;
  background:var(--blue-tint,#FDEEF3);color:var(--crm-ink,#C2185B);font:600 15px/1 var(--font-sans);
}
html.look-v2 #page-log-service .log-bar-back-btn svg{display:none !important;}   /* Cancel is not Back: no back arrow */

/* ══ ROUND 3 · C6 one left edge on the card and the log: a section heading's text, the chips under it and the text
   inside a card all start at ONE edge — the card's text edge, var(--label-inset) (35 px: the 16 px card margin, its
   1 px border, its 18 px inside space). The app-wide value is the Moné/frame helper's (M1); this block only lines
   the card and log pieces up on it. Picture blocks (the big photos, the cards themselves) keep the 16 px card margin.*/
html.look-v2 #page-log-service .log-type-chips,
html.look-v2 #page-log-service .prev-shades-row,
html.look-v2 #page-log-service .log-colorwork-chips{padding-left:var(--label-inset,35px);padding-right:var(--label-inset,35px);}
html.look-v2 #page-log-service .log-colorwork{margin-left:0;}
html.look-v2 #page-log-service .log-colorwork .eye{padding-left:var(--label-inset,35px);}
/* the new look's own white cards: 18 px inside, so their text sits on the same edge as the headings above them */
html.look-v2 .v2f-card,
html.look-v2 .v2lh-card{padding-left:18px;padding-right:18px;}
html.look-v2 #page-client-card .v2v-list,
html.look-v2 #page-client-card .card-notes-list,
html.look-v2 #page-client-card .v2s-strip{padding-left:18px;padding-right:18px;}
/* the photos block: its heading, its rows and its chips on the text edge; the big pair stays as wide as a card */
html.look-v2 .v2p-head,
html.look-v2 .v2p-visits,
html.look-v2 .v2p > .v2p-shots{padding-left:calc(var(--label-inset,35px) - var(--gutter,16px));}

/* ══ ROUND 3 · C7 the saved line never sits on a guest's name or her Allergy pill (it landed on a Today row): it shows
   right under the top bar, where the page's own back link and title are, for its few seconds — never over a row, a
   safety pill or a button the person must read. ═════════════════════════════════════════════════════════════════ */
html.look-v2 #crm-toast.toast-success,
html.look-v2 #crm-toast.toast-error{top:calc(env(safe-area-inset-top, 0px) + 66px);bottom:auto;}

/* ══ ROUND 3 · C8 a box opened on a scrolled page keeps the top bar and the bottom menu where they are. The page
   is held still by the ROOT alone: when the body was ALSO overflow:hidden it became a scroll box of its own, so the
   sticky top bar and bottom menu stuck to the body's unscrolled top — the bar left the screen and the menu with it
   (and the fixed Log / Report bar was left floating over nothing). Measured: the bar sat at -1800 px on a card
   scrolled 1800 px; with this rule it stays at 0. ═══════════════════════════════════════════════════════════════ */
html.look-v2 body:has(.mone-sheet.mone-visible){overflow:visible;}

/* ══ ROUND 3 · C10 a chip's words are never cut ("Keratin Treatm…"): the ROW wraps, never the word. A pill or chip is
   one line at its set height; only a name longer than the whole row may take a second line — never "…". ════════ */
html.look-v2 #page-client-card .chip,
html.look-v2 #page-log-service .chip-staff{
  height:auto;min-height:22px;padding:3px 9px;line-height:1.25;white-space:normal;overflow:visible;text-overflow:clip;text-align:left;
}
html.look-v2 #page-log-service .chip-toggle{
  height:auto;min-height:30px;padding:5px 12px;line-height:1.25;max-width:100%;white-space:normal;overflow:visible;text-overflow:clip;text-align:left;
}
/* "This visit needs no karte": a real quiet button in the app's own words, never the browser's grey underlined link
   (round 3, reader 2 no. 14) — the small second button, centred, 12 px under the last card */
html.look-v2 #page-log-service .karte-skip-link{
  display:flex;align-items:center;justify-content:center;width:auto;height:32px;min-height:32px;margin:12px auto 8px;padding:0 12px;
  border:0;border-radius:10px;background:var(--blue-tint,#FDEEF3);color:var(--crm-ink,#C2185B);
  font:600 13px/1 var(--font-sans);text-decoration:none;
}

/* the photo viewer (round 3, reader 2 no. 25): a dark viewer over the whole screen, the top bar included; its × a
   white circle inside the viewer, under the top bar (it sat on the avatar, near-black); the photo named under it. */
html.look-v2 .photo-lightbox{background:rgba(0,0,0,.96);flex-direction:column;gap:12px;}   /* round 11: the page never shows through beside its name */
html.look-v2 .photo-lightbox .rb-lightbox-x{
  top:calc(env(safe-area-inset-top, 0px) + 72px);right:16px;width:44px;height:44px;background:#fff;color:#1a1a1a;box-shadow:0 1px 4px rgba(0,0,0,.3);
}
html.look-v2 .photo-lightbox .v2-lb-cap{
  display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:999px;background:#fff;
  color:var(--crm-ink,#C2185B);font:700 11px/1 var(--font-sans);white-space:nowrap;
}
html.look-v2 .photo-lightbox .v2-lb-cap[hidden]{display:none;}
html.look-v2 #page-log-service .log-save-bar .log-bar-back-btn{margin:0 !important;}   /* lined up with the cards above (it sat 20 px in) */

/* ══ ROUND 4 · the two edges (the frame helper's M1: --v2-edge 16 = a card's outer edge, --v2-text-edge 35 = the text
   edge). The merge page's two-people rows and AI rows carried 12 px inside, so their words sat at 29: 18 px inside
   puts them on the 35 px text edge like every other card. ═══════════════════════════════════════════════════════ */
html.look-v2 #page-merge-review .merge-ai-row{padding-left:18px;padding-right:18px;}
/* the two-people card's head is a button that spans the card (12 px inside): 18 px, on the same text edge */
html.look-v2 #page-merge-review .idf-card-head,
html.look-v2 #page-merge-review .idf-card-body{padding-left:18px;padding-right:18px;}
html.look-v2 #page-merge-review .merge-ai-when{white-space:nowrap;}   /* the separator never starts a line */

/* ══ ROUND 5 · the formula grid is not a box inside a card (three readers: "grey formula bowls inside bordered cards
   — the card-inside-a-card look"): no fill, no corners; a bowl's title, then its labelled rows on thin lines; a
   second bowl starts after a thin line of its own. "Not recorded" in grey where the karte has no value. ══════════ */
html.look-v2 .rf-grid{background:none;border-radius:0;padding:0;}
html.look-v2 .rf-grids{gap:0;}
html.look-v2 .rf-grid + .rf-grid{margin-top:12px;padding-top:12px;border-top:1px solid #E5E5EA;}
html.look-v2 .rf-none{color:#8e8e93;font-weight:500;}
/* the visit rhythm and reviews: their heading and count pill above the card (one heading style), the same 16 / 18 inside */
html.look-v2 #page-client-card .v2-sec > .card{margin:0 var(--gutter,16px) 12px;padding:16px 18px;}
html.look-v2 #page-client-card .v2-sec > .eye{margin:0;}

/* one guest, one face (round 5): the card's and the log's circle show her picture from Today's own door */
html.look-v2 .avatar.v2-face{position:relative;overflow:hidden;}
html.look-v2 .avatar.v2-face.has-photo{background:#F2F2F7;color:transparent;}
html.look-v2 .avatar .v2-face-img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;border-radius:50%;}
html.look-v2 .v2lh-seg{white-space:nowrap;}

/* ══ ROUND 5 · the karte form's boxes: each with its name above it (small grey words), 32 tall with words 14 (settled
   'one control size': a text box is 32), one 8 px gap from a label to its box; the help line 8 px above its box. ═══*/
html.look-v2 #page-log-service .v2fl{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1 1 64px;}
html.look-v2 #page-log-service .v2fl--formula-shade-code{flex:2 1 88px;}
html.look-v2 #page-log-service .v2fl--formula-comp-product,
html.look-v2 #page-log-service .v2fl--formula-input{flex:1 1 100%;}
html.look-v2 #page-log-service .v2fl-cap{font:500 12px/1.3 var(--font-sans);color:#6e6e73;}
html.look-v2 #page-log-service .v2fl > input{width:100%;min-width:0;}
html.look-v2 #page-log-service input.input,
html.look-v2 #page-log-service .input:not(textarea){height:32px;min-height:32px;padding:0 10px;border-radius:10px;font:400 14px/1 var(--font-sans);box-sizing:border-box;}
html.look-v2 #page-log-service .formula-comp-lineb,
html.look-v2 #page-log-service .formula-dev-row{align-items:flex-end;}
html.look-v2 #page-log-service .formula-shade-remove,
html.look-v2 #page-log-service .formula-dev-remove{height:32px;width:32px;}
html.look-v2 #page-log-service .formula-shade-hint{margin:0 0 8px;font:400 13px/1.45 var(--font-sans);color:#6e6e73;}
html.look-v2 #page-log-service .eye{padding-bottom:8px;}
html.look-v2 #page-log-service .log-colorwork .eye{padding-top:4px;padding-bottom:8px;}
html.look-v2 #page-log-service .v2f-ratio-hint{flex-basis:100%;margin:0;font:400 13px/1.45 var(--font-sans);color:#6e6e73;overflow-wrap:anywhere;}
html.look-v2 #page-log-service textarea{resize:none;}
/* round 5 (readers 1, 2: "a lone pink pill floating in empty space"): "This visit needs no karte" is a full-width second
   button that ends the form, on the cards' own edges, so it reads as a button of this form */
html.look-v2 #page-log-service .karte-skip-link{
  width:calc(100% - 2 * var(--gutter,16px));height:40px;min-height:40px;margin:4px var(--gutter,16px) 12px;padding:0 16px;
  border-radius:12px;font:600 14px/1 var(--font-sans);
}
/* the next-visit card: the same inside space on every side (it had a large empty foot) */
html.look-v2 #page-log-service .log-due-back{padding:16px 18px;}
html.look-v2 #page-log-service .log-due-back > .eye{padding-top:0;}
html.look-v2 #page-log-service .log-due-back > *{margin-bottom:0;}
html.look-v2 #page-log-service .log-due-back > :last-child{margin-bottom:0;padding-bottom:0;}
/* the guest's name is not a lone big card (readers 1, 4): the strip sits on the page, no box round it */
html.look-v2 #page-log-service .log-client-strip{background:none;border:0;box-shadow:none;padding:4px var(--gutter,16px) 0;margin-top:4px;}
html.look-v2 #page-merge-review .v2-nb{white-space:nowrap;}
html.look-v2 #page-merge-review .merge-panel .mp-row .mp-val{color:var(--text,#1a1a1a);font-weight:600;}
html.look-v2 #page-merge-review .merge-conf.conf-possible{color:#A04A00;background:#FFF4E5;}
html.look-v2 #page-merge-review .merge-actions .v2-btn{height:44px;min-height:44px;}   /* side by side: one height */
/* teaching: the intro on the title's edge; a picker's name 8 px above it */
html.look-v2 #page-teaching-review .v2d-intro{padding-left:var(--v2-edge,16px);padding-right:var(--v2-edge,16px);margin-left:0;}
html.look-v2 #page-teaching-review .tr-state-cell > .type-caption{display:block;margin:0 0 8px;}
/* the "needs no karte" reasons read as ONE pick (reader 2 no. 28: four grey boxes, nothing chosen-looking): each row
   leads with the app's own round mark, empty until chosen, filled pink when chosen — never the browser's radio */
html.look-v2 #karte-skip-sheet .karte-skip-opt{display:flex;align-items:center;gap:10px;text-align:left;}
html.look-v2 #karte-skip-sheet .karte-skip-opt::before{
  content:"";flex:0 0 18px;width:18px;height:18px;box-sizing:border-box;border-radius:50%;border:2px solid #C7C7CC;background:#fff;
}
html.look-v2 #karte-skip-sheet .karte-skip-opt.sel::before{border:5px solid var(--crm-ink,#C2185B);}

/* round 5: the voice button says its job (an icon and words, the small second button 32); the card's boxes have the
   app's look — no browser resize grip, Save at the main button's 44 (it was 48) */
html.look-v2 .log-mic-btn{
  width:auto;min-width:0;height:32px;padding:0 12px 0 10px;gap:6px;border:0;border-radius:10px;
  background:var(--blue-tint,#FDEEF3);color:var(--crm-ink,#C2185B);font:600 13px/1 var(--font-sans);
}
html.look-v2 .log-mic-btn svg{width:18px;height:18px;}
html.look-v2 .safety-notes-textarea,
html.look-v2 #add-note-sheet textarea,
html.look-v2 #photo-sheet textarea{resize:none;}
html.look-v2 .safety-save-btn,
html.look-v2 #photo-save{height:44px;min-height:44px;padding-top:0;padding-bottom:0;}
/* the photo sheet: no empty band between Choose / Take photo and Save */
html.look-v2 #photo-sheet #photo-preview:empty{display:none;}
/* the bowl's total: its own line, first, so the "Ratio" chips that follow read as one group */
html.look-v2 #page-log-service .formula-ratio-bar > .v2fl--formula-total-grams{order:-1;flex:1 1 100%;}
html.look-v2 #page-log-service .formula-ratio-display:empty{display:none;}
/* teaching: the case card's inside space the same on every side (reader 3: more space above its date line than at the sides) */
html.look-v2 #page-teaching-review .tr-case{padding:16px 18px;}
html.look-v2 #page-teaching-review .tr-case > :first-child{margin-top:0;padding-top:0;}
/* the visit's day on one line, where and who on the next (a line never ends on a dot); the English comma's space */
html.look-v2 #page-client-card .v2v-meta{display:flex;flex-direction:column;gap:0;}
html.look-v2 #page-client-card .v2v-meta-who [data-loc-slug],html.look-v2 #page-client-card .v2v-meta-who .card-visit-staff{white-space:nowrap;}
html.look-v2:not([lang="ja"]) #page-client-card .v2v-comma{margin-right:.28em;}
html.look-v2 #page-merge-review .merge-ai-when{display:block;color:#6e6e73;font-size:13px;}
html.look-v2 #page-client-card .card-note-src{display:block;}
html.look-v2 #page-client-card .card-note-row > :last-child{margin-bottom:0;padding-bottom:0;}
/* the product list under its box: the box's own width (the picked-from-catalogue tick sits beside the box), never below a sibling */
html.look-v2 #page-log-service .formula-comp-prod-wrap{flex-wrap:wrap;}
html.look-v2 #page-log-service .formula-field-wrap > .gte-results{left:0;right:0;z-index:var(--z-sheet,100);}
/* round 6 (one control size): the karte form's text boxes are all 32 (measured); its small buttons in a row — + Add bowl,
   + Add shade, + Add developer, + Add solution, + Add treatment, + Add staff, Use this formula — were 26 and 35: the one
   small-button size, 32 tall, corner 10, words 13 */
html.look-v2 #page-log-service .log-add-bowl,
html.look-v2 #page-log-service .log-add-agent,
html.look-v2 #page-log-service .log-add-treatment,
html.look-v2 #page-log-service .log-add-staff,
html.look-v2 #page-log-service .formula-add-shade,
html.look-v2 #page-log-service .formula-add-dev,
html.look-v2 #page-log-service .prev-formula-use-btn{height:32px;min-height:32px;padding-top:0;padding-bottom:0;border-radius:10px;font-size:13px;display:inline-flex;align-items:center;box-sizing:border-box;}

/* ══ ROUND 7 · the card, the karte form and every sheet they open (decisions 10, 12; the four readers of round 7) ══ */
/* the photos' heading is a section heading like every other: small grey capitals on the 35 px text edge */
html.look-v2 .v2p-title{font-size:var(--eyebrow-size,12px);font-weight:var(--eyebrow-weight,600);letter-spacing:var(--eyebrow-track,.08em);text-transform:uppercase;color:var(--text2,#6e6e73);line-height:1.4;}
/* the visit chips are the app's one chip: grey-filled, the chosen one pink — never white with an outline */
html.look-v2 .v2p-visit{border-color:transparent;background:#F2F2F7;color:#3a3a3c;}
html.look-v2 .v2p-visit.on{background:var(--crm-ink,#C2185B);border-color:var(--crm-ink,#C2185B);color:#fff;}
/* the reference photo is not one more date: it sits apart, after a small gap */
html.look-v2 .v2p-visit--ref{margin-left:8px;}
/* NEXT STYLIST: the heading above its card */
html.look-v2 #page-client-card .cc-next-stylist.v2-sec > .eye{padding-left:var(--label-inset,35px);padding-right:var(--label-inset,35px);}
html.look-v2 #page-client-card .cc-next-card{padding:14px 18px;}
html.look-v2 #page-client-card .cc-next-card .cc-next-line{margin:0;color:var(--text,#1a1a1a);font-size:14px;line-height:1.5;}
html.look-v2 #page-client-card .cc-next-card .cc-next-line + .cc-next-line{margin-top:8px;}
/* a note is the thing to read: its words in the page's own ink, never the grey of its date line */
html.look-v2 #page-client-card .card-note-body{color:var(--text,#1a1a1a);}
/* the formula grid: each label on its value's line */
html.look-v2 .rf-row{align-items:baseline;}
/* the rhythm card's own count under its bars */
html.look-v2 #page-client-card .card-rhythm-count{margin-top:4px;color:#6e6e73;font-size:13px;}
/* the card's hair box: the same inside space as the cards above it (18), no button of its own when nothing is set (it
   is set in the karte), and its one small button at the one small size */
html.look-v2 .hm-box-card > div > div[style*="border-radius: 14px"]{padding-left:18px !important;padding-right:18px !important;}
html.look-v2 .hm-box-card button[style*="min-height: 50px"]{display:none !important;}
html.look-v2 .hm-box-card button{min-height:32px !important;height:32px;padding-top:0 !important;padding-bottom:0 !important;font-size:13px !important;border-radius:10px !important;}

/* the safety sheet's choices are the app's one chip, 30 tall (c05) */
html.look-v2 .safety-seg-opt{height:auto;min-height:30px;padding:5px 12px;line-height:1.25;font-size:13px;box-sizing:border-box;}
/* the voice button inside a sheet is the second button, 40 (c08) */
html.look-v2 .mone-sheet .log-mic-btn{height:40px;min-height:40px;border-radius:12px;font-size:14px;}
/* the skip sheet: "Send" before a reason is chosen is pale grey, so it never looks pressable (c10) */
html.look-v2 .karte-skip-sheet [data-act="karte-skip-send"]:disabled{opacity:1;background:#F2F2F7;color:#AEAEB2;cursor:default;}
/* the allergy question (c11): the two answers are the main choices — equal, side by side, the app's buttons; the way
   past without an answer is a small text button; one 8 px gap between the buttons */
html.look-v2 .safety-interstitial-ask-row{gap:8px;}
html.look-v2 .safety-interstitial-ask-row .v2-btn.safety-interstitial-ask-btn{flex:1 1 0;min-width:0;height:44px;min-height:44px;padding:0 10px;border:0;border-radius:12px;font:700 15px/1.2 var(--font-sans);white-space:normal;text-align:center;}
html.look-v2 .safety-interstitial-ask{border-color:#E5E5EA;}
/* (the old .v2-btn-text rule here drew no element since the skip became the second button; removed 2026-11-20) */
html.look-v2 .safety-interstitial-sheet .v2-btn.safety-interstitial-back-btn{display:flex;width:calc(100% - 2 * var(--page-pad-x,20px));margin:8px var(--page-pad-x,20px) 0;}
html.look-v2 .safety-interstitial-sheet .btn.safety-interstitial-confirm-btn + .safety-interstitial-back-btn{margin-top:8px;}
/* the saves not sent yet (c12): the sheet's inside space on every line, the row's buttons small and quiet, removing
   quieter than sending again */
html.look-v2 .parked-hint,
html.look-v2 .parked-list{padding-left:var(--page-pad-x,20px);padding-right:var(--page-pad-x,20px);}
html.look-v2 .parked-hint{margin:12px 0 4px;font-size:14px;line-height:1.5;color:#6e6e73;}
html.look-v2 .parked-row{gap:8px;align-items:center;}
html.look-v2 .parked-kind{overflow-wrap:anywhere;}
html.look-v2 .parked-btn{height:32px;min-height:32px;padding:0 12px;border:0;border-radius:10px;font:600 13px/1 var(--font-sans);white-space:nowrap;}
html.look-v2 .parked-btn[data-act="parked-retry"]{background:var(--blue-tint,#FDEEF3);color:var(--crm-ink,#C2185B);}
html.look-v2 .parked-btn[data-act="parked-discard"]{background:none;color:#6e6e73;padding:0 6px;}
html.look-v2 .parked-btn--armed[data-act="parked-discard"]{color:#C62828;}
html.look-v2 .parked-retry-all{display:flex;align-items:center;justify-content:center;width:calc(100% - 2 * var(--page-pad-x,20px));height:44px;min-height:44px;margin:12px var(--page-pad-x,20px) 20px;border-radius:12px;font:700 15px/1 var(--font-sans);}

/* the karte form: "This visit needs no karte" in a card that says when it is for; the ratio hints wrap inside the
   phone; the products card's search box with the same space above and below */
html.look-v2 #page-log-service .karte-skip-card{margin:4px var(--gutter,16px) 12px;padding:14px 18px;}
html.look-v2 #page-log-service .karte-skip-card-why{margin:0 0 10px;font-size:14px;line-height:1.5;color:#6e6e73;}
html.look-v2 #page-log-service .karte-skip-card .karte-skip-link{width:100%;margin:0;}
html.look-v2 #page-log-service .formula-unit-toggle{flex-wrap:wrap;overflow:visible;}
html.look-v2 #page-log-service .v2f-ratio-hint{max-width:100%;white-space:normal;}

/* merge review: AI's recent merges are rows of ONE card, Undo the small second button on the card's 16 edge */
html.look-v2 #page-merge-review .merge-ai-list{padding:4px 16px;}
html.look-v2 #page-merge-review .merge-ai-list .merge-ai-row{display:flex;align-items:center;gap:12px;margin:0;padding:12px 0;border:0;border-radius:0;box-shadow:none;background:none;}
html.look-v2 #page-merge-review .merge-ai-list .merge-ai-row + .merge-ai-row{border-top:1px solid #E8E8ED;}
html.look-v2 #page-merge-review .merge-ai-list .merge-ai-names{flex:1 1 auto;min-width:0;}
html.look-v2 #page-merge-review .merge-ai-undo{flex:none;height:32px;min-height:32px;padding:0 12px;border-radius:10px;font-size:13px;margin:0;}
/* teaching: the intro on the title's own edge */
html.look-v2 #page-teaching-review > p.v2d-intro{margin:0 var(--v2-edge,16px) 12px;padding:0;}
/* the products card: no empty chip row above its search box, so the box sits with the same space above and below */
html.look-v2 #page-log-service .log-products-chips:empty{display:none;}
/* the ratio chips' row is a flex item of its bar: it may shrink to the bar's width, so its hint wraps inside the phone */
html.look-v2 #page-log-service .formula-ratio-bar > .formula-unit-toggle{min-width:0;max-width:100%;flex:1 1 100%;}

/* ══ ROUND 8 · the card, the karte form, their sheets, merge and teaching (decisions 17, 19, 25; the last four readers) ══ */
/* decision 19: the saved line never covers the top bar, a heading or a pill — small, just above the bottom menu and
   Moné's place (above the page's own bar on the guest card and the karte form). It replaces round 3's C7 (under the
   top bar, where it covered "Today · Thu 19 Nov"). */
html.look-v2 #crm-toast.toast-success,
html.look-v2 #crm-toast.toast-error{top:auto !important;bottom:calc(var(--nav-h,64px) + 72px + env(safe-area-inset-bottom, 0px)) !important;}
html.look-v2 body[data-page="client-card"]:has(#page-client-card .card-log-bar) #crm-toast.toast-success,
html.look-v2 body[data-page="client-card"]:has(#page-client-card .card-log-bar) #crm-toast.toast-error{bottom:calc(var(--nav-h,64px) + 124px + env(safe-area-inset-bottom, 0px)) !important;}
html.look-v2 body[data-page="log-service"]:has(#page-log-service .log-save-bar) #crm-toast.toast-success,
html.look-v2 body[data-page="log-service"]:has(#page-log-service .log-save-bar) #crm-toast.toast-error{bottom:calc(var(--nav-h,64px) + 88px + env(safe-area-inset-bottom, 0px)) !important;}
html.look-v2 #crm-toast.toast-success{padding:8px 14px 8px 10px;gap:8px;border-radius:12px;font-size:13px;}
html.look-v2 #crm-toast.toast-success::before{flex-basis:18px;width:18px;height:18px;background-size:12px 12px;}

/* the visit chips: wrap inside the page's right margin (they ran past it); one 8 px gap; the reference photo's mark */
html.look-v2 .v2p-visits{flex-wrap:wrap;overflow-x:visible;padding-right:calc(var(--label-inset,35px) - var(--gutter,16px));}
html.look-v2 .v2p-visit--ref{margin-left:0;gap:6px;}
html.look-v2 .v2p-ref-ic{display:inline-flex;}
html.look-v2 .v2p-ref-ic svg{display:block;}
/* the visit history line: one space each side of the dot (the old comma's right margin doubled it) */
html.look-v2:not([lang="ja"]) #page-client-card .v2v-comma{margin-right:0;}
/* decision 17: a guest's words written in Japanese never break in the middle of a word, on either screen */
html.look-v2 #page-client-card .v2f-prefs-text,
html.look-v2 #page-client-card .card-note-body,
html.look-v2 .cc-next-line{line-break:strict;}

/* the karte form's bar: Cancel and Save one height and one centre line */
html.look-v2 #page-log-service .log-save-bar{align-items:center;}
html.look-v2 #page-log-service .log-save-bar > button{height:44px !important;min-height:44px !important;margin-top:0 !important;margin-bottom:0 !important;padding-top:0 !important;padding-bottom:0 !important;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;line-height:1.2 !important;}

/* the allergy question (c11): the way past without an answer looks like the small button it is (grey-filled, 32);
   the question sits in the sheet, not in a box inside it */
html.look-v2 .safety-interstitial-sheet .v2-btn-text{width:auto;display:flex;margin:12px auto 0;padding:0 14px;border-radius:10px;background:#F2F2F7;color:#3a3a3c;}
html.look-v2 .safety-interstitial-ask{border:0;padding:0;}
/* c10 / c03: a disabled main button is a calm grey with readable grey words, never a near-white bar */
html.look-v2 .karte-skip-sheet [data-act="karte-skip-send"]:disabled{background:#E5E5EA;color:#8E8E93;background-image:none;}
html.look-v2 .photo-save-btn:disabled,
html.look-v2 #photo-sheet .btn:disabled{background:#E5E5EA !important;color:#8E8E93 !important;opacity:1 !important;}

/* the unsent kartes (c12, decision 25): each row's words on their own full width, its two buttons under them; Remove a
   real small button, grey */
html.look-v2 .parked-row{flex-wrap:wrap;}
html.look-v2 .parked-row-main{flex:1 1 100%;}
html.look-v2 .parked-btn[data-act="parked-discard"]{background:#F2F2F7;color:#3a3a3c;padding:0 12px;}

/* the product list (c14): not a bordered card inside the bowl's card — a lifted list over the form */
html.look-v2 #page-log-service .formula-field-wrap > .gte-results{border:0;box-shadow:0 8px 24px rgba(0,0,0,.14);border-radius:12px;}
/* the staff chip in Japanese: 「Hanako Test（自分）」 with no hole before the bracket */
html.look-v2:lang(ja) #page-log-service .chip-staff .chip-staff-you-mark{margin-left:-0.35em;}

/* merge: the save button full width; one gap between sections */
html.look-v2 #page-merge-review .idf-save{width:100%;}
html.look-v2 #page-merge-review .merge-section-sub{margin:0 0 10px;}
html.look-v2 #page-merge-review .merge-section-title{margin-top:24px;}
/* teaching: an empty box reads empty ("Choose" grey); Reject the second button's 40; one 12 px gap from a name to its box */
html.look-v2 #page-teaching-review select.tr-state-select:has(option[value=""]:checked){color:#8E8E93;}
html.look-v2 #page-teaching-review .btn-merge-reject.v2-btn-second{height:40px !important;min-height:40px !important;}
html.look-v2 #page-teaching-review .tr-state-cell{display:flex;flex-direction:column;gap:0;margin:0 0 16px;}
html.look-v2 #page-teaching-review .tr-state-cell > .type-caption{margin:0;padding:0;line-height:1.3;}
html.look-v2 #page-teaching-review .tr-state-cell > select{margin:12px 0 0 !important;}

/* ══ ROUND 9 · fifth check: the card, the karte form, their sheets, merge and teaching ══════════════════════════════ */
/* the toast lives in Moné's band, on the left of her, never over a row's pill (reader 2 c15) */
html.look-v2 #crm-toast.toast-success,
html.look-v2 #crm-toast.toast-error{bottom:calc(var(--nav-h,64px) + 12px + env(safe-area-inset-bottom, 0px)) !important;left:var(--gutter,16px) !important;right:auto !important;transform:none !important;max-width:calc(100vw - 2 * var(--gutter,16px) - 64px) !important;}
/* the hair box on the card: "not set" in the app's one card, never a dashed outline; each meter starts on one line */
html.look-v2 .hm-box-card div[style*="border-style: dashed"]{border-style:solid !important;}
html.look-v2 [data-hair-box] span[style*="display: flex; gap: 3px; flex-shrink: 0"]{width:92px;justify-content:flex-start;}
/* the length question never breaks mid-phrase */
/* the visit chips: the whole row's width to the page margin, so three chips stay on one line */
html.look-v2 .v2p-visits{padding-right:0;}
/* the karte form: "Where" a field name like the others, not a capital heading */
html.look-v2 #page-log-service .formula-zone-eye{padding:0;margin:4px 0 4px;text-transform:none;letter-spacing:0;font:500 12px/1.3 var(--font-sans);color:#6e6e73;}
/* "+ Add treatment" on the cards' 16 edge */
html.look-v2 #page-log-service .log-add-treatment{margin-left:var(--gutter,16px);}
/* the result note: the app's text box, never a card-sized box */
html.look-v2 #page-log-service .log-result-note{box-sizing:border-box;border:1px solid #E5E5EA;border-radius:10px;padding:8px 10px;background:#fff;font-size:14px;min-height:72px;}
/* an empty products card is no card: its search box sits on the page edge (no box in a box) */
/* round 11 (decision: "Products used" is a card like Staff and Result note, its search box inside it): round 9's no-card rule is gone */
/* "Not recorded" readable grey */
html.look-v2 .rf-none{color:#6e6e73;}
/* the allergy question: one button family — the two answers the main pair, the two ways on the second button */
html.look-v2 .safety-interstitial-sheet .safety-interstitial-confirm-btn.v2-btn-second{display:flex;width:calc(100% - 2 * var(--page-pad-x,20px));height:40px;min-height:40px;margin:12px var(--page-pad-x,20px) 0;}
/* the one empty look: its title in the page's ink on every page */
html.look-v2 .vm-done .vm-h{color:var(--text,#1a1a1a);}

/* ══ ROUND 11 · sixth check (decisions 34, 36, 37, 41) on the card, the karte form, their sheets, merge and teaching ══ */
/* every sheet sits between the top bar and the bottom menu, never over either (the menu's icons stuck out under it) */
html.look-v2 .mone-sheet{
  top:calc(var(--vv-top, 0px) + 60px + (var(--vv-h, 100dvh) - 60px - var(--nav-h, 82px)) / 2);
  max-height:calc(var(--vv-h, 100dvh) - 60px - var(--nav-h, 82px) - 24px);
}
/* a disabled button says what to do first, in one grey line above it */
html.look-v2 .v2-btn-hint{margin:12px var(--page-pad-x,20px) 0;font:400 13px/1.45 var(--font-sans);color:#6e6e73;text-align:center;}
html.look-v2 .v2-btn-hint[hidden]{display:none;}
/* the hair box: every meter as wide as the others (its segments share the width), so starts AND ends line up; a value
   held on one line in English, a gap before its meter in Japanese */
html.look-v2 [data-hair-box] span[style*="display: flex; gap: 3px; flex-shrink: 0"]{width:72px;}
html.look-v2 [data-hair-box] span[style*="display: flex; gap: 3px; flex-shrink: 0"] > span{flex:1 1 0;width:auto !important;}
html.look-v2:not(:lang(ja)) [data-hair-box] span[style*="flex: 1 1 0%; min-width: 0"]{white-space:nowrap;}
html.look-v2 [data-hair-box] span[style*="flex: 1 1 0%; min-width: 0"]{margin-right:6px;}
/* "Hair type not set" reads like every other card: left-aligned */
html.look-v2 .hm-box-card div[style*="border-style: dashed"]{align-items:flex-start !important;text-align:left;}
html.look-v2 .hm-box-card div[style*="border-style: dashed"] > span{text-align:left !important;}
/* the full-size photo: the page never shows through beside its name */
/* the shots under the big pair fill the row like the pair above (four to a row) */
html.look-v2 .v2p-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;overflow:visible;}
html.look-v2 .v2p-thumb{width:auto;min-width:0;}
html.look-v2 .v2p-thumb-img{width:100%;height:auto;aspect-ratio:1/1;}
/* the must-know pills in a tinted box: white with coloured words (every other pill is a soft tint, none solid) */
html.look-v2 .v2f-pill--clear{background:#fff;color:#1a7f37;}
html.look-v2 .v2f-pill--red,
html.look-v2 .v2f-imp-pill{background:#fff;color:#D70015;}
html.look-v2 .v2f-pill--amber{background:#fff;color:#B45309;}
/* the safety box's › on the box's centre line */
html.look-v2 .v2f-safety{position:relative;padding-right:40px;}
html.look-v2 .v2f-safety .v2f-box-chev{position:absolute;right:14px;top:50%;transform:translateY(-50%);}
/* plain facts are grey pills, never the pink that reads as tappable */
html.look-v2 #page-client-card .chip-global,
html.look-v2 #page-client-card .card-rhythm-chip{background:#F2F2F7;color:#3a3a3c;}
/* the 重要 note in Japanese breaks like ordinary text, not early at a phrase */
html.look-v2 .v2f-imp-text:lang(ja){word-break:normal;line-break:strict;}
/* the karte form: "Mix ratio" the size of the other field names */
html.look-v2 #page-log-service .formula-ratio-bar > .formula-dev-label{font:500 12px/1.3 var(--font-sans);color:#6e6e73;}
/* merge: each column's last-visit date on its own line, so card A and card B stay level; AI rows on the text edge */
html.look-v2 #page-merge-review .mp-lv .mp-val{display:block;}
html.look-v2 #page-merge-review .merge-ai-list{padding-left:18px;padding-right:18px;}
/* no single word alone on a last line */
html.look-v2 #page-merge-review p,
html.look-v2 #page-merge-review .mp-evi,
html.look-v2 #page-teaching-review p,
html.look-v2 #page-client-card .cc-next-line,
html.look-v2 .karte-skip-card-why{text-wrap:pretty;}
/* teaching: Approve and Reject side by side, one height (decision 37: words that never wrap) */
html.look-v2 #page-teaching-review .tr-actions.v2d-actions{display:flex;flex-direction:row;gap:8px;}
html.look-v2 #page-teaching-review .tr-actions.v2d-actions .v2-btn{flex:1 1 0;width:auto;min-width:0;height:44px !important;min-height:44px !important;white-space:nowrap;}

/* M3 (2026-11-20): the every-box mic row (look-v2.js micFor) — under its box, the box's left edge, 8 above the next thing */
html.look-v2 .v2-mic-row{display:flex;align-items:center;gap:8px;margin:8px 0 0;}
html.look-v2 .v2-mic-row-ask{margin:8px 0 0;padding:0;}

/* ══ 2026-11-20 · the colour bowl as one little table (Ken 09:11 on 「前回の配合」: "the font is not right" · "its not
   organized neatly to see at first glance"; COURIER 2026-11-20_0913). One row per line — the maker in grey, then the
   name; the ratio part and the grams in their own right-hand columns, the same place on every row, in the app's own
   font with even figures. The developer is a row of the same mix. Mix · Total · Where · Time follow as labelled rows. */
html.look-v2 .rf-mix{display:flex;flex-direction:column;margin:2px 0 4px;}
html.look-v2 .rf-mix-row{display:grid;grid-template-columns:minmax(0,1fr);column-gap:12px;align-items:baseline;padding:6px 0;border-top:1px solid #E8E8ED;font:600 14px/1.45 var(--font-sans);color:var(--text,#1a1a1a);font-variant-numeric:tabular-nums;}
html.look-v2 .rf-mix--pg .rf-mix-row{grid-template-columns:minmax(0,1fr) 40px 60px;}
html.look-v2 .rf-mix--p .rf-mix-row,html.look-v2 .rf-mix--g .rf-mix-row{grid-template-columns:minmax(0,1fr) 60px;}
html.look-v2 .rf-mix-row:first-child,html.look-v2 .rf-mix-head + .rf-mix-row{border-top:0;}
html.look-v2 .rf-mix-head{padding:0 0 2px;font:500 12px/1.4 var(--font-sans);color:#6e6e73;}
html.look-v2 .rf-mix-name{min-width:0;overflow-wrap:anywhere;}
html.look-v2 .rf-mix-maker{font-weight:500;color:#6e6e73;margin-right:6px;}
html.look-v2 .rf-mix-part,html.look-v2 .rf-mix-g{text-align:right;white-space:nowrap;}
html.look-v2 .rf-mix-row[data-line="oxy"] .rf-mix-name{font-weight:500;}
html.look-v2 .rf-mix + .rf-row{border-top:1px solid #E8E8ED;}

/* ⊕ 2026-11-20 (Ken 10:42, COURIER 2026-11-20_1045): the visit history shows the newest 3; the older rows wait behind
   ONE second button ("See older visits (N)") at the foot of the same card, a thin grey line above it like a row */
html.look-v2 #page-client-card .v2v-list > li[hidden]{display:none !important;}
html.look-v2 #page-client-card .v2v-more{list-style:none;margin:0;padding:12px 0 14px;border-top:1px solid #F0F0F2;}
/* the strand test inside an opened visit, as rows (switch STRAND_TEST; COURIER 2026-12-01_1517) */
html.look-v2 .card-visit-strand{display:flex;flex-direction:column;gap:2px;margin:0 0 8px;}
html.look-v2 .card-visit-strand-row{display:block;font:400 14px/1.55 var(--font-sans);color:var(--text,#1a1a1a);overflow-wrap:anywhere;}
html.look-v2 .card-visit-strand-done{font-weight:600;}
