/* look-v2-log.css — THE KARTE'S "LOG NEW SERVICE" PAGE AS ONE DESIGN (new look only, html.look-v2; hidden while LOOK_V2 is off).
   Ken 2026-11-20 11:45–11:47, on the clickable page: "its too small." · "it look almost identical to service type" ·
   "there should be padding above and below (more below maybe) so you can tell its a differenbt section" ·
   "youre tying to do these one by one when youre supposed to looka t the big picture" (COURIER 2026-11-20_1150).
   This file replaces five spot fixes made the same morning (chips/save bar, previous formula, the hair picker's foot twice,
   the two pills) with ONE set of rules for the whole page, top to bottom. Loaded LAST, so it wins on this page.

   THE SHAPE — every part of the form is ONE section (screen-log-service.js v2Sectionize → section.v2ls[data-ls]):
     its heading on the text edge (35 px: the 16 px card edge + 1 px line + 18 px inside),
     10 px under it its ONE white card (16 px from the screen edge, 1 px light grey line, corner 16, 16/18 px inside),
     then 32 px of page before the next heading — more space below a section than inside it, so where one ends and the
     next starts is plain. In order: hair type → service type → colour detail → the formulas → products → staff →
     photos → result note → memo → next visit → the foot (no karte · Save).
   THE CONTROLS — three kinds, never alike (settled 'one control size for every app'):
     an ANSWER (the hair tiles, "Can't tell"): a white tile with a grey line;
     a PICKED item (service type, colour detail): a 32-tall pill in the app's pink, its × to take it off, then "+ Add";
     a WAY OUT or second action ("Later", "This visit needs no karte"): the 40-tall pale second button, full width.
   No edge bars, no black fills, Moné's pink only for Moné (the pinks here are the app's own ink #C2185B and tint). */

/* ── the page rhythm ── */
html.look-v2 #page-log-service .log-client-strip{margin-bottom:20px;}
html.look-v2 #page-log-service .v2ls{display:block;margin:0 0 32px;padding:0;background:transparent;border:0;box-shadow:none;scroll-margin-top:72px;}
html.look-v2 #page-log-service .v2ls:empty{display:none;}
html.look-v2 #page-log-service .v2ls[hidden]{display:none;}
/* the heading: one look for every section */
html.look-v2 #page-log-service .v2ls > .eye{margin:0;padding:0 var(--label-inset,35px) 10px;}
/* the card: one look for every section */
html.look-v2 #page-log-service .v2ls > .card,
html.look-v2 #page-log-service .v2ls > .v2lh-card,
html.look-v2 #page-log-service .v2ls > .v2lh-pick{
  margin:0 var(--gutter,16px);padding:16px 18px 18px;background:#fff;border:1px solid #E5E5EA;border-radius:16px;
  box-shadow:none;box-sizing:border-box;
}
html.look-v2 #page-log-service .v2ls > .card + .card{margin-top:12px;}
/* the heading's loose content now lives in the card: no second inset inside it */
html.look-v2 #page-log-service .v2ls-card > .chips-row{padding:0;margin:0;}
/* the next-visit card: its heading above it like every section (it sat inside the card) */
html.look-v2 #page-log-service .v2ls.log-due-back{padding:0;}
html.look-v2 #page-log-service .v2ls.log-due-back > .v2ls-card > *{margin:0;}
html.look-v2 #page-log-service .v2ls.log-due-back .log-due-back-why{margin-top:4px;}
/* the foot: the no-karte card and the amount line keep the cards' edge, 32 px under the last section */
html.look-v2 #page-log-service .karte-skip-card{margin:0 var(--gutter,16px) 12px;padding:16px 18px 18px;border-radius:16px;}
html.look-v2 #page-log-service .formula-qty-nudge{margin:0 var(--label-inset,35px) 16px;}

/* ── service type and colour detail: what is picked, then one "+ Add" (COURIER 2026-11-20_1058/1112, Training's shape) ── */
html.look-v2 #page-log-service .lk-pick-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;}
html.look-v2 #page-log-service .lk-pick-row .chip-toggle:not(.active){display:none;}
html.look-v2 #page-log-service .lk-pick-row .chip-toggle.active{
  display:inline-flex;align-items:center;gap:6px;height:32px;min-height:32px;padding:0 12px 0 14px;border-radius:999px;
  box-sizing:border-box;font:600 13px/1 var(--font-sans);white-space:nowrap;max-width:100%;
}
html.look-v2 #page-log-service .lk-pick-row .chip-toggle.active::after{
  content:'';flex:none;width:10px;height:10px;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center / contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center / contain no-repeat;
}
html.look-v2 .lk-pick-add{
  display:inline-flex;align-items:center;justify-content:center;height:32px;min-height:32px;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);white-space:nowrap;cursor:pointer;box-sizing:border-box;
}
html.look-v2 #page-log-service .lk-pick-empty{margin:0 0 10px;font:400 14px/1.45 var(--font-sans);color:#6e6e73;}
html.look-v2 #page-log-service .lk-pick-empty[hidden]{display:none;}
/* the save guard's "pick a service type" outline lands on the card, not on a loose row */
html.look-v2 #page-log-service .v2ls-card:has(.log-type-chips.type-error){border-color:#b3261e;}
/* …and ONLY on the card: today's look rings the chips row (app.css .log-type-chips.type-error), and here that row is the one
   "+ Add" line, so the old ring drew a second red box inside the red card (Bugbot on PR #2398, COURIER 2026-11-20_1224). */
html.look-v2 #page-log-service .v2ls-card .log-type-chips.type-error{outline:0;}
/* the box the "+ Add" opens: the whole list, chips that tap on and off, Done at its foot */
html.look-v2 .lk-pick-sheet{padding-bottom:0;}
html.look-v2 .lk-pick-body{padding:16px var(--page-pad-x,20px);}
html.look-v2 .lk-pick-chips{display:flex;flex-wrap:wrap;gap:8px;}
html.look-v2 .lk-pick-chips .chip-toggle{
  display:inline-flex;align-items:center;height:32px;min-height:32px;padding:0 14px;border-radius:999px;box-sizing:border-box;
  font:600 13px/1 var(--font-sans);white-space:nowrap;
}
html.look-v2 .lk-pick-foot{position:sticky;bottom:0;z-index:2;background:#fff;padding:12px var(--page-pad-x,20px) 16px;border-top:1px solid #E5E5EA;}
html.look-v2 .lk-pick-done{
  display:block;width:100%;height:44px;min-height:44px;border:0;border-radius:12px;background:var(--crm-ink,#C2185B);color:#fff;
  font:700 15px/1 var(--font-sans);cursor:pointer;
}

/* ── hair type: the six questions inside the section's ONE card ── */
html.look-v2 #page-log-service .v2ls > .v2lh-pick{padding:0 0 18px;overflow:hidden;}
/* the step line and its bar are the card's own top, not a second box inside it */
html.look-v2 #page-log-service .v2lh-pick .hm-pick > div:nth-child(2){
  margin:0 !important;padding:16px 18px 0 !important;border:0 !important;border-radius:0 !important;background:transparent !important;
}
html.look-v2 #page-log-service .v2lh-pick .hm-pick > div:nth-child(3){padding:14px 0 0 !important;}
html.look-v2 #page-log-service .v2lh-pick .hm-pick > div:nth-child(3) > div{padding-left:18px !important;padding-right:18px !important;}
html.look-v2 #page-log-service .v2lh-pick [style*="grid-template-columns"]{padding-left:18px !important;padding-right:18px !important;}
/* "Can't tell": an answer — the last tile of the answers, the full width, drawn like the tiles */
html.look-v2 #page-log-service .v2lh-cant{
  grid-column:1 / -1;display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:52px;min-height:52px;
  padding:0 16px;border:1px solid #E5E5EA;border-radius:14px;background:#fff;color:var(--text,#1a1a1a);
  font:600 15px/1.2 var(--font-sans);box-sizing:border-box;cursor:pointer;
}
html.look-v2 #page-log-service .v2lh-cant svg{width:18px;height:18px;color:var(--crm-ink,#C2185B);flex:none;}
html.look-v2 #page-log-service .v2lh-cant-row{padding:12px 18px 0;}
/* "Later" / "Keep as it was": a way out — at the card's foot, under a thin line, the one second button */
html.look-v2 #page-log-service .v2lh-foot{display:block;margin:18px 18px 0;padding:16px 0 0;border-top:1px solid #E5E5EA;}
html.look-v2 #page-log-service .v2lh-later{
  display:flex;align-items:center;justify-content:center;width:100%;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);white-space:nowrap;cursor:pointer;box-sizing:border-box;
}

/* ── the formulas (colour bowls, perm/straight bowls, treatments): each bowl is a card of the same shape as every section
   card — 16 from the screen edge, 18 inside, corner 16 — so its words start on the same 35 px edge as the headings
   (they sat 4 px left of it); "+ Add bowl" sits on the cards' 16 px edge (it sat at 20). Nothing inside a bowl moves. ── */
html.look-v2 #page-log-service .v2ls .formula-bowl-card{
  margin:0 var(--gutter,16px);padding:16px 18px 18px;border:1px solid #E5E5EA;border-radius:16px;background:#fff;box-sizing:border-box;
}
html.look-v2 #page-log-service .v2ls .formula-bowl-card + .formula-bowl-card{margin-top:12px;}
html.look-v2 #page-log-service .v2ls .log-add-bowl,
html.look-v2 #page-log-service .v2ls .log-add-agent,
html.look-v2 #page-log-service .v2ls .log-add-treatment{margin:12px var(--gutter,16px) 0;}
/* hair type: the questions' own grey page colour stays out of the card (it showed as a grey band behind the answers) */
html.look-v2 #page-log-service .v2lh-pick .hm-pick,
html.look-v2 #page-log-service .v2lh-pick .hm-pick > div{background:transparent !important;}

/* ── ONE SHADE, NO RATIO (Ken 2026-11-20 23:1x, COURIER 2026-11-20_2322): "+ Add another shade", "+ Oxy" and, on the perm
   and straight-perm bowls, "+ Add another product" are round pills — fully round like the zone chips, 30 tall, words 13,
   the app's soft pink; never a corner-10 box. ── */
html.look-v2 #page-log-service .formula-add-shade.fv2-add-pill,
html.look-v2 #page-log-service .formula-add-dev.fv2-add-pill,
html.look-v2 .fv2-add.fv2-add-pill{
  height:30px;min-height:30px;padding:0 14px;border-radius:999px;font-size:13px;font-weight:600;
  display:inline-flex;align-items:center;box-sizing:border-box;white-space:nowrap;
}
/* one shade: the line has no ratio box, so its row is three columns (色番号 or 濃度 · g · ×) — the × sits on the card's
   right edge on both lines, never loose in the middle where the ratio column was */
html.look-v2 .fv2-bowl.fv2-one-shade .fv2-amounts{grid-template-columns:minmax(0,1.5fr) minmax(64px,1fr) 32px;}

/* ── THE ONE KARTE PAGE LOOKS THE SAME IN BOTH APPS (Ken's yes 2026-11-21 11:34 JST, card ksec-2026-11-21-1118-f07444, "one
   karte page, the CRM as the base"; the fixes seen on the rule-by-rule picture page show-20261121-193433). ──
   1. The add buttons are WHITE with a thin grey outline, words in the page's dark ink, in both apps (Ken 11:29 on the
      suggestions, "i like your suggetsions": Training's white outlined add buttons). Each keeps its own shape (the round
      pills stay round, "+ Add bowl" keeps its corner 10). Before: the CRM drew them soft pink (look-rb.css .btn-ghost). */
html.look-v2 #page-log-service .formula-add-shade,
html.look-v2 #page-log-service .formula-add-dev,
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 .rod-bg-add-btn{
  background:#fff;border:1px solid #D1D1D6;color:var(--text,#1A1A1A);
}
/* 2. The chips: their own letters and the CRM's soft grey, in both apps — in karte-page.css (a one-class rule kept under
      the CRM's own, which a look-v2 file's html.look-v2 start would lift above them). */
