@charset "UTF-8";
/* ==========================================================================
   HIKOTA 営業ナビ（仮称）プロトタイプ 共通スタイル
   所有：担当者ビュー担当（設計ブリーフ 9章）
   - デザイントークンはブリーフ 2章に準拠。ここが正本で、管理者ビューからも参照してよい。
   - 管理者ビュー固有のスタイルは assets/manager.css 側に置くこと。
   - カード上部・左のアクセントバー装飾は使用禁止。面と細罫線のみで構成する。
   - 外部フォント・外部CDN・画像ファイルは使用しない（完全オフライン）。
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. デザイントークン
   -------------------------------------------------------------------------- */
:root {
  /* ブリーフ2章の指定色 */
  --brand: #595757;
  --ink: #3a3838;
  --sub: #8a8888;
  --line: #e3e1e1;
  --bg: #f6f5f5;
  --accent: #4a7d97;
  --good: #2f7d5d;
  --warn: #b7791f;
  --risk: #b04a3f;
  --xp: #8a6d3b;

  /* 上記から派生させた中間色（新色は足さず、面の階調のみ） */
  --paper: #ffffff;
  --tint: #faf9f9;
  --line-soft: #eeecec;
  --brand-deep: #444242;

  /* 意味色の淡い面（罫線と面のみで状態を示すため） */
  --accent-pale: #eef3f6;
  --good-pale: #ecf4f0;
  --warn-pale: #f8f2e6;
  --risk-pale: #f8eeec;
  --xp-pale: #f5f1e8;
  --neutral-pale: #f2f1f1;

  /* レイアウト定数 */
  --appbar-h: 54px;
  --badge-h: 36px;
  --repnav-h: 58px;
  --rep-w: 430px;

  /* 書体 */
  --font-gothic: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium",
    "Yu Gothic", "Noto Sans JP", system-ui, sans-serif;
  --font-mincho: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
}

/* --------------------------------------------------------------------------
   2. リセットと日本語タイポグラフィ
   -------------------------------------------------------------------------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

:where(h1, h2, h3, h4, h5, h6, p, li, dt, dd, td, th, div, span, small,
       strong, b, em, figcaption, blockquote, summary, label, button, a) {
  word-break: auto-phrase;
  text-wrap: pretty;
  line-break: strict;
  overflow-wrap: anywhere;
}
:where(h1, h2, h3, h4) { text-wrap: balance; }

.nw { white-space: nowrap; }

html {
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  font-family: var(--font-gothic);
  color: var(--ink);
  background: var(--bg);
  font-size: 13px;
  line-height: 1.72;
  letter-spacing: 0.01em;
  padding-bottom: var(--badge-h);
  -webkit-font-smoothing: antialiased;
}

.mincho { font-family: var(--font-mincho); }

.num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: 0;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   3. アプリシェル
   -------------------------------------------------------------------------- */
.appbar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--appbar-h);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 16px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.appbar__brand {
  display: flex;
  align-items: baseline;
  gap: 9px;
  min-width: 0;
  flex: 0 1 auto;
  overflow: hidden;
}

.appbar__title {
  font-family: var(--font-mincho);
  font-size: 16px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.07em;
  white-space: nowrap;
  /* 想定外の幅でも、隣の要素に重ならず末尾を省略して収める */
  overflow: hidden;
  text-overflow: ellipsis;
}

.appbar__tag {
  flex: none;
  font-size: 10px;
  color: var(--sub);
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.appbar__spacer { flex: 1 1 auto; min-width: 0; }

.appbar__date {
  flex: none;
  font-size: 12px;
  color: var(--sub);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

/* ビュー切替（セグメント） */
.viewswitch {
  flex: none;
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
  background: var(--tint);
}

.viewswitch__btn {
  padding: 6px 13px;
  font-size: 12px;
  color: var(--sub);
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: background 0.16s ease, color 0.16s ease;
}

.viewswitch__btn + .viewswitch__btn { border-left: 1px solid var(--line); }

.viewswitch__btn[aria-selected="true"] {
  background: var(--brand);
  color: var(--paper);
}

.viewswitch__btn:not([aria-selected="true"]):hover { background: var(--neutral-pale); }

/* 下部固定バッジ */
.protobadge {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  min-height: var(--badge-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 14px;
  background: var(--brand);
  color: rgba(255, 255, 255, 0.94);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-align: center;
}

.protobadge__mark {
  flex: none;
  padding: 1px 6px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 3px;
  font-size: 9.5px;
  letter-spacing: 0.1em;
}

/* 読み込み事故時のフォールバック表示 */
.shell-fallback {
  max-width: 620px;
  margin: 48px auto;
  padding: 22px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--sub);
  font-size: 13px;
}
.shell-fallback h2 {
  font-family: var(--font-mincho);
  font-size: 15px;
  color: var(--brand);
  margin-bottom: 8px;
}

/* --------------------------------------------------------------------------
   4. 共通部品
   -------------------------------------------------------------------------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.card--tint { background: var(--tint); }

.card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line-soft);
}

.card__body { padding: 13px 14px; }

.sec-label {
  font-size: 10.5px;
  color: var(--sub);
  letter-spacing: 0.16em;
  font-weight: 600;
}

.sec-title {
  font-family: var(--font-mincho);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.04em;
}

.muted { color: var(--sub); }
.small { font-size: 11.5px; line-height: 1.6; }
.xsmall { font-size: 10.5px; line-height: 1.55; }

/* ランクピル */
.rankpill {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 18px;
  padding: 0 5px;
  border-radius: 3px;
  border: 1px solid transparent;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.rankpill--A { background: var(--accent-pale); color: var(--accent); border-color: #cfe0e9; }
.rankpill--B { background: var(--neutral-pale); color: var(--brand); border-color: var(--line); }
.rankpill--C { background: var(--paper); color: var(--sub); border-color: var(--line); }

/* 理由チップ */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: var(--neutral-pale);
  color: var(--brand);
  font-size: 11px;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.chip__dot {
  flex: none;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.chip--cycle    { background: var(--accent-pale); color: var(--accent); border-color: #d5e3ea; }
.chip--churn    { background: var(--risk-pale);   color: var(--risk);   border-color: #ecd7d3; }
.chip--overdue  { background: var(--warn-pale);   color: var(--warn);   border-color: #ecdfc2; }
.chip--promise  { background: var(--xp-pale);     color: var(--xp);     border-color: #e6ddc8; }
.chip--campaign { background: var(--good-pale);   color: var(--good);   border-color: #d3e5dc; }
.chip--value    { background: var(--neutral-pale); color: var(--sub);   border-color: var(--line); }

/* ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: var(--paper);
  font-size: 13.5px;
  letter-spacing: 0.04em;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.btn:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.btn:active { transform: translateY(1px); }
.btn--block { width: 100%; }

.btn--ghost {
  background: var(--paper);
  color: var(--brand);
  border-color: var(--line);
}
.btn--ghost:hover { background: var(--tint); border-color: var(--sub); color: var(--brand); }

.btn--quiet {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 6px;
  background: transparent;
  border-color: transparent;
  color: var(--sub);
  font-size: 12px;
}
.btn--quiet:hover { background: var(--neutral-pale); color: var(--brand); }

.btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}
.btn[disabled]:hover { background: var(--brand); border-color: var(--brand); }

.icon {
  flex: none;
  width: 16px; height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 進捗バー */
.bar {
  position: relative;
  height: 6px;
  border-radius: 3px;
  background: var(--neutral-pale);
  overflow: hidden;
}
.bar__fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 3px;
  background: var(--accent);
  transition: width 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.bar__fill--xp { background: var(--xp); }
.bar__fill--good { background: var(--good); }

/* 注記ブロック */
.note {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--tint);
  color: var(--sub);
  font-size: 11.5px;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   5. 担当者ビュー（スマホ枠）
   -------------------------------------------------------------------------- */
/* hidden属性による切替を上書きしないよう :not([hidden]) を付ける */
#view-rep:not([hidden]) { display: block; }

.rep-frame {
  position: relative;
  width: 100%;
  max-width: var(--rep-w);
  margin: 0 auto;
  min-height: calc(100vh - var(--appbar-h) - var(--badge-h));
  background: var(--paper);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding-bottom: calc(var(--repnav-h) + 20px);
}

.rep-frame.is-focus { padding-bottom: 24px; }
.rep-frame.is-focus .repnav { display: none; }

.rep-screen {
  padding: 16px 15px 8px;
}

/* 画面が切り替わったときだけ動かす。同じ画面の再描画（テンキー入力など）では動かさない。 */
.rep-screen.anim-in {
  animation: screen-in 0.22s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@keyframes screen-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* 画面見出し */
.screen-head { margin-bottom: 14px; }

.screen-head__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.screen-head h2 {
  font-family: var(--font-mincho);
  font-size: 18px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.05em;
  line-height: 1.45;
}

.screen-head__meta {
  margin-top: 3px;
  font-size: 11.5px;
  color: var(--sub);
}

/* 戻るヘッダー（カルテ・日報） */
.subhead {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: -4px 0 12px -8px;
}

.backbtn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  padding: 0 9px;
  border-radius: 6px;
  color: var(--sub);
  font-size: 12px;
}
.backbtn:hover { background: var(--neutral-pale); color: var(--brand); }

/* 下部ナビ */
.repnav {
  position: fixed;
  left: 0; right: 0;
  bottom: var(--badge-h);
  z-index: 30;
  width: min(var(--rep-w), 100%);
  height: var(--repnav-h);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.repnav__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--sub);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  transition: color 0.16s ease;
}
.repnav__btn .icon { width: 19px; height: 19px; }
.repnav__btn[aria-current="page"] { color: var(--brand); }
.repnav__btn[aria-current="page"] .icon { stroke-width: 1.7; }

/* --------------------------------------------------------------------------
   6. 画面1「今日」
   -------------------------------------------------------------------------- */
.plan-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--paper);
  margin-bottom: 12px;
}

.plan-summary__cell {
  padding: 10px 12px;
  text-align: center;
}
.plan-summary__cell + .plan-summary__cell { border-left: 1px solid var(--line-soft); }

.plan-summary__label {
  font-size: 10px;
  color: var(--sub);
  letter-spacing: 0.08em;
}

.plan-summary__value {
  margin-top: 1px;
  font-size: 18px;
  line-height: 1.3;
  color: var(--brand);
  font-weight: 600;
}
.plan-summary__value small {
  font-size: 11px;
  font-weight: 400;
  color: var(--sub);
  margin-left: 2px;
}

/* 「なぜこの並びか」 */
.why {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--tint);
  margin-bottom: 12px;
  overflow: hidden;
}

.why > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 13px;
  cursor: pointer;
  list-style: none;
  color: var(--brand);
  font-size: 12.5px;
  letter-spacing: 0.03em;
}
.why > summary::-webkit-details-marker { display: none; }
.why > summary .icon { width: 15px; height: 15px; color: var(--sub); }
.why > summary .why__caret {
  margin-left: auto;
  transition: transform 0.18s ease;
  color: var(--sub);
}
.why[open] > summary .why__caret { transform: rotate(180deg); }

.why__body {
  padding: 2px 13px 13px;
  border-top: 1px solid var(--line-soft);
}

.why__lead {
  margin: 10px 0 9px;
  font-size: 11.5px;
  color: var(--sub);
  line-height: 1.7;
}

.weights { width: 100%; border-collapse: collapse; }
.weights th, .weights td {
  padding: 5px 0;
  font-size: 11.5px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
}
.weights th { color: var(--sub); font-weight: 400; }
.weights tr:last-child th, .weights tr:last-child td { border-bottom: none; }
.weights td.weights__val {
  width: 46px;
  text-align: right;
  color: var(--brand);
  font-weight: 600;
}
.weights td.weights__bar { width: 74px; padding-left: 10px; }

/* 模式マップ */
.map {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  padding: 10px 10px 8px;
  margin-bottom: 12px;
}
.map__svg { display: block; width: 100%; height: auto; }
.map__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
  padding-top: 7px;
  border-top: 1px solid var(--line-soft);
  font-size: 10.5px;
  color: var(--sub);
}

/* プラン一覧 */
.planlist {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  overflow: hidden;
}

.planlist__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--tint);
}
.planlist__headtitle {
  font-size: 10.5px;
  color: var(--brand);
  font-weight: 600;
  letter-spacing: 0.12em;
}
.planlist__headnote {
  font-size: 10px;
  color: var(--sub);
  letter-spacing: 0.02em;
}

.planrow {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  gap: 10px;
  width: 100%;
  padding: 11px 12px 12px;
  text-align: left;
  background: var(--paper);
  transition: background 0.14s ease;
}
.planrow + .planrow { border-top: 1px solid var(--line-soft); }
.planrow:hover { background: var(--tint); }
.planrow:active { background: var(--neutral-pale); }

.planrow__order {
  grid-row: span 2;
  width: 26px; height: 26px;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--tint);
  color: var(--brand);
  font-size: 11.5px;
  font-weight: 600;
}
.planrow--lead .planrow__order {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--paper);
}

.planrow__main { min-width: 0; }

.planrow__name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.planrow__name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.planrow__sub {
  margin-top: 1px;
  font-size: 11px;
  color: var(--sub);
}

.planrow__score {
  text-align: right;
  white-space: nowrap;
}
.planrow__score b {
  display: block;
  font-size: 16px;
  line-height: 1.2;
  color: var(--accent);
  font-weight: 600;
}
.planrow__score small {
  font-size: 9.5px;
  color: var(--sub);
  letter-spacing: 0.08em;
}

.planrow__chips {
  grid-column: 2 / 4;
  margin-top: 7px;
}

/* 日報を記録した先 */
.planrow.is-done { background: var(--tint); }
.planrow.is-done .planrow__name { color: var(--sub); }
.planrow.is-done .planrow__order {
  background: var(--good-pale);
  border-color: #d3e5dc;
  color: var(--good);
}
.planrow__done {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--good);
  font-size: 10.5px;
  white-space: nowrap;
}
.planrow__done .icon { width: 13px; height: 13px; }

.planlist__foot {
  padding: 10px 12px;
  border-top: 1px solid var(--line-soft);
  background: var(--tint);
  font-size: 10.5px;
  color: var(--sub);
}

/* 除外の注記 */
.excluded-note {
  margin-top: 10px;
  font-size: 10.5px;
  color: var(--sub);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   7. 画面2「サロンカルテ」
   -------------------------------------------------------------------------- */
.karte-head { margin-bottom: 12px; }

.karte-head h2 {
  font-family: var(--font-mincho);
  font-size: 19px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.karte-head__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
  font-size: 11.5px;
  color: var(--sub);
}

.karte-head__sep { color: var(--line); }

.tagchips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.tagchip {
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--tint);
  color: var(--sub);
  font-size: 10.5px;
}

.section { margin-bottom: 14px; }
.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
}

/* RFM 4指標 */
.rfm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--paper);
}
.rfm__cell { padding: 11px 12px 10px; }
.rfm__cell:nth-child(odd) { border-right: 1px solid var(--line-soft); }
.rfm__cell:nth-child(n + 3) { border-top: 1px solid var(--line-soft); }

.rfm__label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: var(--sub);
  letter-spacing: 0.1em;
}
.rfm__key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px; height: 15px;
  border-radius: 3px;
  background: var(--neutral-pale);
  color: var(--brand);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0;
}
.rfm__value {
  margin-top: 3px;
  font-size: 19px;
  line-height: 1.25;
  color: var(--brand);
  font-weight: 600;
}
.rfm__value small { font-size: 11px; font-weight: 400; color: var(--sub); margin-left: 2px; }
.rfm__note { margin-top: 2px; font-size: 10.5px; color: var(--sub); }
.rfm__value--risk { color: var(--risk); }
.rfm__value--good { color: var(--good); }

/* 発注タイムライン */
.timeline {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  padding: 12px 12px 8px;
}
.timeline__svg { display: block; width: 100%; height: auto; }
.timeline__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
  padding-top: 7px;
  border-top: 1px solid var(--line-soft);
  font-size: 10.5px;
  color: var(--sub);
}
.timeline__legend span { display: inline-flex; align-items: center; gap: 5px; }
.timeline__swatch { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.timeline__swatch--line { width: 14px; height: 0; border-top: 1px dashed var(--warn); border-radius: 0; }

/* 注文明細 */
.orderhead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 13px;
  border-bottom: 1px solid var(--line-soft);
}
.orderhead__date { font-size: 12px; color: var(--sub); }
.orderhead__total { font-size: 15px; color: var(--brand); font-weight: 600; }

.lines { list-style: none; }
.lines li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 13px;
  font-size: 12px;
}
.lines li + li { border-top: 1px solid var(--line-soft); }
.lines__name { flex: 1 1 auto; min-width: 0; color: var(--ink); }
.lines__qty { flex: none; color: var(--sub); font-size: 11px; }
.lines__price { flex: none; color: var(--brand); font-size: 12px; min-width: 62px; text-align: right; }
.lines__more {
  padding: 8px 13px;
  border-top: 1px solid var(--line-soft);
  background: var(--tint);
  font-size: 10.5px;
  color: var(--sub);
}

/* 前回メモ・宿題 */
.memo {
  padding: 12px 13px;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--ink);
}
.memo__date { display: block; margin-bottom: 4px; font-size: 10.5px; color: var(--sub); letter-spacing: 0.06em; }

.homework {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 11px 13px;
  border-top: 1px solid var(--line-soft);
  background: var(--xp-pale);
}
.homework .icon { color: var(--xp); margin-top: 2px; }
.homework__label { font-size: 10.5px; color: var(--xp); letter-spacing: 0.08em; }
.homework__text { font-size: 12.5px; color: var(--ink); margin-top: 1px; }
.homework__due { font-size: 10.5px; color: var(--xp); margin-top: 2px; }

/* おすすめ */
.reco { list-style: none; }
.reco > li { padding: 11px 13px; }
.reco > li + li { border-top: 1px solid var(--line-soft); }
.reco__tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--good);
}
.reco__tag--cycle { color: var(--accent); }
.reco__name { margin-top: 3px; font-size: 12.5px; color: var(--ink); font-weight: 600; }
.reco__why { margin-top: 2px; font-size: 11px; color: var(--sub); }
.reco__talk {
  margin-top: 6px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--tint);
  font-size: 11.5px;
  color: var(--ink);
  line-height: 1.65;
}
.reco__empty { padding: 13px; font-size: 11.5px; color: var(--sub); }

.karte-actions {
  position: relative;
  margin: 16px 0 6px;
}

/* --------------------------------------------------------------------------
   8. 画面3「3タップ日報」
   -------------------------------------------------------------------------- */
.steps {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}
.steps__item {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  color: var(--sub);
  letter-spacing: 0.04em;
}
.steps__dot {
  flex: none;
  width: 20px; height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 10px;
  font-weight: 600;
  color: var(--sub);
}
.steps__item.is-current .steps__dot { background: var(--brand); border-color: var(--brand); color: var(--paper); }
.steps__item.is-current { color: var(--brand); }
.steps__item.is-done .steps__dot { background: var(--tint); border-color: var(--sub); color: var(--brand); }

.diary-q {
  font-size: 15px;
  color: var(--brand);
  font-family: var(--font-mincho);
  letter-spacing: 0.04em;
  margin-bottom: 3px;
}
.diary-sub { font-size: 11.5px; color: var(--sub); margin-bottom: 13px; }

.choices { display: grid; gap: 9px; }
.choices--2 { grid-template-columns: 1fr 1fr; }

.choice {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 10px 13px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
  transition: border-color 0.14s ease, background 0.14s ease;
}
.choice:hover { border-color: var(--sub); background: var(--tint); }
.choice[aria-pressed="true"] { border-color: var(--brand); background: var(--tint); }
.choice__mark {
  flex: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  position: relative;
}
.choice[aria-pressed="true"] .choice__mark { border-color: var(--brand); }
.choice[aria-pressed="true"] .choice__mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--brand);
}
.choice__body { min-width: 0; }
.choice__title { font-size: 13.5px; color: var(--ink); font-weight: 600; }
.choice__desc { font-size: 10.5px; color: var(--sub); margin-top: 1px; }

/* テンキー */
.amount {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  padding: 14px;
  text-align: right;
  margin-bottom: 12px;
}
.amount__label { font-size: 10.5px; color: var(--sub); letter-spacing: 0.1em; text-align: left; }
.amount__value {
  margin-top: 2px;
  font-size: 30px;
  line-height: 1.25;
  color: var(--brand);
  font-weight: 600;
}
.amount__value small { font-size: 14px; font-weight: 400; color: var(--sub); margin-left: 3px; }
.amount__value.is-empty { color: #c9c7c7; }

.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.key {
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
  font-size: 19px;
  color: var(--ink);
  transition: background 0.1s ease;
}
.key:hover { background: var(--tint); }
.key:active { background: var(--neutral-pale); }
.key--fn { font-size: 13px; color: var(--sub); }

.quickamounts { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.quickamount {
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--tint);
  color: var(--sub);
  font-size: 11.5px;
}
.quickamount:hover { border-color: var(--sub); color: var(--brand); }

/* 次回アクション */
.freeinput {
  width: 100%;
  min-height: 62px;
  margin-top: 9px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font: inherit;
  font-size: 12.5px;
  color: var(--ink);
  resize: vertical;
}
.freeinput::placeholder { color: #c1bfbf; }
.freeinput:focus { outline: none; border-color: var(--accent); }

.diary-actions {
  display: flex;
  gap: 9px;
  margin-top: 16px;
}
.diary-actions .btn { flex: 1 1 auto; }
.diary-actions .btn--ghost { flex: 0 0 auto; min-width: 96px; }

/* 完了画面 */
.done {
  text-align: center;
  padding: 22px 4px 4px;
}
.done__mark {
  width: 58px; height: 58px;
  margin: 0 auto 14px;
  border-radius: 50%;
  border: 1px solid var(--good);
  background: var(--good-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pop-in 0.4s cubic-bezier(0.34, 1.3, 0.64, 1);
}
.done__mark .icon { width: 26px; height: 26px; color: var(--good); stroke-width: 1.6; }

@keyframes pop-in {
  from { opacity: 0; transform: scale(0.82); }
  to { opacity: 1; transform: none; }
}

.done__title {
  font-family: var(--font-mincho);
  font-size: 17px;
  color: var(--brand);
  letter-spacing: 0.05em;
}
.done__sub { margin-top: 4px; font-size: 11.5px; color: var(--sub); }

.xpgain {
  margin: 16px 0 0;
  padding: 15px 14px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  text-align: left;
}
.xpgain__total {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  color: var(--xp);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
}
.xpgain__total small { font-size: 13px; letter-spacing: 0.08em; }
.xpgain__list { list-style: none; margin-top: 12px; }
.xpgain__list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  font-size: 11.5px;
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
  opacity: 0;
  animation: fade-up 0.4s ease forwards;
}
.xpgain__list li:last-child { border-bottom: none; }
.xpgain__list li b { flex: none; color: var(--xp); font-weight: 600; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.xpgain__bar { margin-top: 12px; }
.xpgain__barmeta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 5px;
  font-size: 10.5px;
  color: var(--sub);
}

.xpgain__caution {
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
  font-size: 10px;
  line-height: 1.6;
  color: var(--sub);
}

/* --------------------------------------------------------------------------
   9. 画面4「クエスト」
   -------------------------------------------------------------------------- */
.level {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  padding: 14px;
}
.level__row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.level__badge {
  flex: none;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--xp);
  background: var(--xp-pale);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--xp);
}
.level__badge span { font-size: 9px; letter-spacing: 0.1em; line-height: 1; }
.level__badge b { font-size: 20px; line-height: 1.15; font-weight: 600; }
.level__main { flex: 1 1 auto; min-width: 0; }
.level__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 11.5px;
  color: var(--sub);
  margin-bottom: 5px;
}
.level__meta b { color: var(--brand); font-size: 13px; font-weight: 600; }

.streak {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-size: 12px;
  color: var(--ink);
}
.streak .icon { color: var(--good); }
.streak b { color: var(--good); font-size: 14px; font-weight: 600; }

.quests { display: grid; gap: 10px; }
.quest {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  padding: 12px 13px;
}
.quest__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.quest__label { font-size: 12.5px; color: var(--ink); font-weight: 600; line-height: 1.55; }
.quest__xp {
  flex: none;
  padding: 2px 7px;
  border: 1px solid #e6ddc8;
  border-radius: 4px;
  background: var(--xp-pale);
  color: var(--xp);
  font-size: 10.5px;
  font-weight: 600;
}
.quest__progress {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 9px;
}
.quest__progress .bar { flex: 1 1 auto; }
.quest__count { flex: none; font-size: 11px; color: var(--sub); }
.quest__count b { color: var(--brand); font-size: 12.5px; font-weight: 600; }
.quest.is-clear .quest__count b { color: var(--good); }

.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font-size: 12px;
  color: var(--ink);
}
.badge .icon { color: var(--xp); width: 15px; height: 15px; }

.policy {
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--tint);
}
.policy__title {
  font-size: 11.5px;
  color: var(--brand);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 5px;
}
.policy__text { font-size: 11px; color: var(--sub); line-height: 1.75; }
.policy__list { list-style: none; margin-top: 8px; }
.policy__list li {
  position: relative;
  padding-left: 13px;
  font-size: 11px;
  color: var(--sub);
  line-height: 1.7;
}
.policy__list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 8px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--line);
}

/* --------------------------------------------------------------------------
   10. モーションとレスポンシブ
   -------------------------------------------------------------------------- */
/* 上部バーの要素はすべて nowrap のため、幅が足りない帯域では重なりや横スクロールが出る。
   情報の優先度が低い順（タグ → 日付）に落として、どの幅でも1行に収める。
   日付は各画面の見出しにも出るので、狭い幅で隠しても情報は失われない。 */
@media (max-width: 620px) {
  .appbar__tag { display: none; }
}

@media (max-width: 540px) {
  .appbar__date { display: none; }
}

/* 下部バッジは幅が狭いと2行になる。その分の高さを確保しないと、
   下部ナビと本文の末尾がバッジに隠れる。 */
@media (max-width: 660px) {
  :root { --badge-h: 54px; }
}

@media (max-width: 420px) {
  :root { --appbar-h: 52px; }
  .appbar { gap: 9px; padding: 0 11px; }
  .appbar__title { font-size: 14.5px; letter-spacing: 0.05em; }
  .viewswitch__btn { padding: 6px 10px; font-size: 11.5px; }
  .rep-screen { padding: 14px 12px 8px; }
  .rep-frame { border-left: none; border-right: none; }
}

@media (min-width: 421px) {
  .rep-frame { box-shadow: 0 0 0 1px rgba(89, 87, 87, 0.02); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* --------------------------------------------------------------------------
   13. 到着チェックイン・Googleマップ道順（2026-08-07 追加）
   -------------------------------------------------------------------------- */
.karte-actions__row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.karte-actions__row .btn { flex: 1 1 0; min-height: 42px; padding: 0 10px; font-size: 12.5px; }
.karte-actions__row .btn .icon { width: 16px; height: 16px; flex: none; }
.karte-actions__note { margin: 0 2px 12px; line-height: 1.65; }

.checkin-done {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid #d3e5dc;
  background: var(--good-pale);
  color: var(--good);
  font-size: 12.5px;
}
.checkin-done .icon { width: 16px; height: 16px; }

.chip--checkin { background: var(--good-pale); color: var(--good); border-color: #d3e5dc; }

/* --------------------------------------------------------------------------
   14. AI秘書（デモ）（2026-08-07 追加）
   -------------------------------------------------------------------------- */
.aide { display: flex; flex-direction: column; min-height: calc(100vh - var(--appbar-h) - var(--badge-h) - var(--repnav-h) - 20px); }

.aide-head { margin-bottom: 12px; }
.aide-head__row { display: flex; align-items: center; gap: 8px; }
.aide-head__title {
  font-family: var(--font-mincho);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--brand);
}
.aide-head__badge {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--gold-deep);
  border: 1px solid var(--gold-line);
  background: var(--gold-pale);
  border-radius: 999px;
  padding: 2px 9px;
}

.aide-log {
  flex: 1 1 auto;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: var(--paper);
  min-height: 200px;
  max-height: 46vh;
}

.aide-msg { display: flex; flex-direction: column; max-width: 86%; }
.aide-msg--ai { align-self: flex-start; align-items: flex-start; }
.aide-msg--user { align-self: flex-end; align-items: flex-end; }

.aide-msg__bubble {
  padding: 9px 13px;
  border-radius: 14px;
  font-size: 12.8px;
  line-height: 1.75;
}
.aide-msg--ai .aide-msg__bubble {
  background: var(--tint);
  border: 1px solid var(--line-soft);
  border-top-left-radius: 4px;
  color: var(--ink);
}
.aide-msg--user .aide-msg__bubble {
  background: var(--brand);
  color: var(--paper);
  border-top-right-radius: 4px;
}
.aide-msg__src {
  margin-top: 4px;
  font-size: 10px;
  color: var(--sub);
  letter-spacing: 0.03em;
}

.aide-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 12px 0 10px;
}
.aide-chip {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--brand);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 11.5px;
  letter-spacing: 0.02em;
  transition: border-color 0.16s ease, background 0.16s ease;
}
.aide-chip:hover { border-color: var(--gold); background: var(--gold-pale); }

.aide-inputrow { display: flex; gap: 8px; }
.aide-input {
  flex: 1 1 auto;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  font-size: 13px;
  font-family: var(--font-gothic);
  color: var(--ink);
}
.aide-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-pale); }
.aide-send { flex: none; padding: 0 16px; }
.aide-note { margin-top: 10px; line-height: 1.65; }

/* --------------------------------------------------------------------------
   15. 美容業界向け質感調整（2026-08-07 社長指示: よりスタイリッシュに）
   方針: 面と細罫線の構成は維持し、暖色のニュートラル+シャンパンゴールドの
   アクセントで「美容室の内装」寄りの上品さに寄せる。意味色は変更しない。
   -------------------------------------------------------------------------- */
:root {
  --bg: #f6f4f1;
  --tint: #faf8f5;
  --line: #e5e1da;
  --line-soft: #eeeae3;
  --gold: #a8905e;
  --gold-deep: #8c7345;
  --gold-pale: #f5f0e6;
  --gold-line: #e0d5bf;
  --xp: #8c7345;
  --xp-pale: #f5f0e6;
}

body { background: var(--bg); }

/* ヘッダーに極細のゴールドラインを一本。ロゴまわりの余白と字間を上品に */
.appbar { border-top: 2px solid var(--gold); }
.appbar__title { letter-spacing: 0.1em; }
.appbar__tag { letter-spacing: 0.2em; color: var(--gold-deep); }

/* カード・行の角をひとまわり柔らかく */
.card { border-radius: 14px; }
.planrow { border-radius: 14px; }
.why { border-radius: 14px; }
.map { border-radius: 14px; }

/* ボタンの角も揃える。リンクをボタンとして使う場合の下線も消す */
.btn { border-radius: 10px; text-decoration: none; }

/* 1番の訪問先はシャンパンゴールド（最重要先の記号色） */
.planrow--lead .planrow__order {
  background: var(--gold);
  border-color: var(--gold);
  color: #ffffff;
}

/* Aランクはゴールドの縁取り（最重要顧客の記号色） */
.rankpill--A { background: var(--gold-pale); color: var(--gold-deep); border-color: var(--gold-line); }

/* 下部ナビの現在地をゴールドの上ラインで示す */
.repnav__btn { position: relative; }
.repnav__btn[aria-current="page"]::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22%;
  right: 22%;
  height: 2px;
  background: var(--gold);
  border-radius: 0 0 2px 2px;
}

/* 見出しの字間をわずかに広げ、落ち着いた印象に */
.sec-title { letter-spacing: 0.08em; }

/* --------------------------------------------------------------------------
   16. タブレット最適化（iPad推奨・2026-08-07）
   スマホ幅のUIをそのまま拡幅し、読みやすさとタップ余裕を上げる。
   管理者ビューは manager.css 側のブレークポイントが既に対応済み。
   -------------------------------------------------------------------------- */
@media (min-width: 700px) {
  :root { --rep-w: 560px; --repnav-h: 62px; }
  .rep-screen { padding: 22px 26px 12px; }
  .planrow__name { font-size: 14.5px; }
  .planrow__sub { font-size: 12px; }
  .karte-head h2 { font-size: 21px; }
  .aide-log { max-height: 54vh; min-height: 260px; }
  .aide-msg__bubble { font-size: 13.5px; }
  .repnav__btn { font-size: 12px; }
}

@media (min-width: 1000px) {
  :root { --rep-w: 620px; }
}

/* iPhoneのホームバー・iPadの下部ジェスチャ領域と重ならないようにする */
.protobadge { padding-bottom: calc(7px + env(safe-area-inset-bottom, 0px)); }
.repnav { bottom: calc(var(--badge-h) + env(safe-area-inset-bottom, 0px) * 0); }

/* Safariのアドレスバーでvhがずれるのをdvhで補正（対応ブラウザのみ） */
@supports (height: 100dvh) {
  .aide { min-height: calc(100dvh - var(--appbar-h) - var(--badge-h) - var(--repnav-h) - 20px); }
}

/* --------------------------------------------------------------------------
   17. 日報メモ・再訪・追加候補・1日のまとめ（2026-08-07 追加）
   -------------------------------------------------------------------------- */
.diary-memo-label {
  margin-top: 14px;
  font-family: var(--font-mincho);
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.05em;
}

/* 追加候補（スコア13〜15位） */
.extras {
  margin-top: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.extras > summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  font-size: 12.5px;
  color: var(--brand);
  cursor: pointer;
}
.extras > summary::-webkit-details-marker { display: none; }
.extras > summary .icon { width: 16px; height: 16px; color: var(--gold-deep); }
.extras > summary .why__caret { margin-left: auto; transition: transform 0.18s ease; }
.extras[open] > summary .why__caret { transform: rotate(180deg); }
.extras__body { padding: 2px 14px 12px; border-top: 1px solid var(--line-soft); }
.extras__body > .xsmall { margin: 8px 0 6px; }

.extrarow {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 2px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
}
.extrarow:last-child { border-bottom: none; }
.extrarow__main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.extrarow__name { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink); }
.extrarow__sub { font-size: 10.5px; color: var(--sub); }
.extrarow__score { flex: none; font-size: 13px; font-weight: 700; color: var(--accent); }
.extrarow .chips { flex: none; max-width: 40%; }

/* 1日のまとめ */
.dayend-open { margin-top: 14px; }
.dayend-title {
  font-family: var(--font-mincho);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--brand);
  margin-bottom: 4px;
}
.dayend-sum { margin: 12px 0 4px; padding: 4px 14px; }
.dayend-sum__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 9px 0;
  font-size: 12.5px;
  border-bottom: 1px solid var(--line-soft);
}
.dayend-sum__row:last-child { border-bottom: none; }
.dayend-sum__row b { font-size: 14px; }
.dayend-reasons { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 6px; }
.dayend-reasons .aide-chip[aria-pressed="true"] {
  border-color: var(--gold);
  background: var(--gold-pale);
  color: var(--gold-deep);
  font-weight: 600;
}

.dayend-done-card {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--good-pale);
  border: 1px solid #d3e5dc;
  border-radius: 14px;
  font-size: 12px;
  color: var(--good);
}
.dayend-done-card .icon { flex: none; width: 18px; height: 18px; }
.dayend-done-card > div { flex: 1 1 auto; min-width: 0; }
.dayend-done-card__title { font-weight: 600; font-size: 12.5px; }
.dayend-done-card .btn--quiet { flex: none; }
