/* =========================================================
   pages.css — 1画面にしか出ないもの（ニューモーフィズム）
   ========================================================= */

/* ── サインイン（index.html）──────────────────────── */
.signin{
  min-height: 100dvh;
  display: grid;
  align-content: center;
  gap: 20px;
  max-width: var(--col);
  margin-inline: auto;
  padding: 36px var(--gut) calc(36px + env(safe-area-inset-bottom));
  background: var(--nm-bg);
}
.signin .mark{
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--accent-deep);
}
.signin h1{ font-size: 28px; font-weight: 600; line-height: 1.4; letter-spacing: -.02em; }
.signin .lead{ font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.85; }
.field{ display: grid; gap: 7px; }
.field label{ font-size: var(--fs-label); font-weight: 600; color: var(--ink-2); }
/* 入力欄は「溝」。押すものではなく、書き込むもの */
.field input{
  width: 100%;
  min-height: var(--tap);
  padding: 13px 17px;
  font-size: 16px;            /* iOS で入力時に拡大させない */
  color: var(--ink);
  background: var(--nm-bg);
  border: 0;
  border-radius: var(--r-btn);
  box-shadow: var(--nm-in-sm);
}
.field input::placeholder{ color: var(--ink-3); }
.field input:focus-visible{ outline: 3px solid var(--accent-deep); outline-offset: 2px; }

/* ── ホーム ───────────────────────────────────── */
.rank-mine{ display: flex; align-items: center; gap: 14px; }
.rank-mine .badge{
  width: 58px; height: 58px;
  flex: 0 0 auto;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--nm-bg);
  box-shadow: var(--nm-up-sm);
  color: var(--accent-deep);
}
.rank-mine .badge b{ font-family: var(--ff-num); font-size: 21px; font-weight: 600; line-height: 1; }
.rank-mine .badge span{ font-size: 12px; font-weight: 600; }
.rank-mine .txt b{ font-size: var(--fs-h3); font-weight: 600; }
.rank-mine .txt p{ font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.65; }

/* ── 投稿する ─────────────────────────────────── */
.step{ display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.step i{
  width: 26px; height: 26px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--nm-bg);
  box-shadow: var(--nm-up-sm);
  color: var(--accent-deep);
  display: grid; place-items: center;
  font-size: 12px; font-weight: 600; font-style: normal;
}
.step b{ font-size: var(--fs-h3); font-weight: 600; }

/* 写真は縦に並べる格子。★横スクロールにしない（スワイプが二重になる） */
.grid-photo{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.thumb{
  position: relative;
  aspect-ratio: 3 / 4;
  border: 0;
  padding: 0;
  border-radius: var(--r-thumb);
  cursor: pointer;
  background: var(--nm-bg);
  box-shadow: var(--nm-up-sm);
  transition: box-shadow 90ms var(--ease);
}
.thumb:active{ box-shadow: var(--nm-in-sm); }
.thumb:focus-visible{ outline: 3px solid var(--accent-deep); outline-offset: 3px; }
.thumb .ph{
  position: absolute; inset: 5px;
  display: grid; place-items: center;
  border-radius: 10px;
  font-size: 12px;
  color: var(--ink-2);
  background: repeating-linear-gradient(135deg, #E3E8EE 0 10px, #DBE1E8 10px 20px);
}
/* 出る順番。左上に置く（Instagram でスワイプしたときの並び順） */
.thumb .ord{
  position: absolute; left: 9px; top: 8px;
  min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 7px;
  background: rgba(28, 37, 48, .72);
  color: #fff;
  font-size: 11px; font-weight: 600;
  font-family: var(--ff-num);
  display: grid; place-items: center;
}
.thumb .mv{
  position: absolute; left: 9px; bottom: 9px;
  padding: 2px 7px;
  border-radius: 7px;
  background: rgba(28, 37, 48, .72);
  color: #fff;
  font-size: 12px;
  font-family: var(--ff-num);
}
/* 選択の印は「塗り＋チェック」。影の向きだけに頼らない */
.thumb .pick{
  position: absolute; right: 8px; top: 8px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--nm-bg);
  box-shadow: var(--nm-in-sm);
  display: grid; place-items: center;
  font-size: 12px; font-weight: 600;
  color: var(--ink-3);
}
.thumb[aria-pressed="true"]{ box-shadow: var(--nm-in-sm); }
.thumb[aria-pressed="true"] .ph{ outline: 2px solid var(--accent-deep); outline-offset: -2px; }
.thumb[aria-pressed="true"] .pick{
  background: var(--on-accent);
  color: var(--white);
  box-shadow: none;
}
.thumb[aria-pressed="true"] .ord{ background: var(--on-accent); }

.legend{ display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px;
  font-size: var(--fs-label); color: var(--ink-3); }
.legend span{ display: inline-flex; align-items: center; gap: 7px; }
.legend i{ width: 14px; height: 14px; flex: 0 0 auto; border-radius: 4px;
  background: var(--nm-bg); box-shadow: var(--nm-up-sm); font-style: normal; }
.legend i.on{ background: var(--on-accent); box-shadow: none; }

.draft{
  border-radius: 12px;
  padding: 18px;
  font-size: var(--fs-sm);
  line-height: 1.95;
  color: var(--ink-2);
  background: var(--nm-bg);
  box-shadow: var(--nm-in-sm);
}
/* 清書だけ色を付けて、たたき台と区別する */
.draft.final{ color: var(--ink); box-shadow: var(--nm-up-sm); border-left: 3px solid var(--accent-deep); }
.mic{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--r-btn);
  background: var(--nm-bg);
  box-shadow: var(--nm-up-sm);
}
.mic .circle{
  width: 44px; height: 44px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--on-accent);
  color: var(--white);
  display: grid; place-items: center;
}
.mic p{ font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.65; }

/* 出す前の確認（3行） */
.chk{ display: flex; align-items: flex-start; gap: 10px; padding: 12px 0;
  border-bottom: 1px solid var(--line); font-size: var(--fs-sm); line-height: 1.75; }
.chk:last-child{ border-bottom: 0; }
.chk .st{ margin-top: 5px; }
.chk .m{ min-width: 0; flex: 1; color: var(--ink-2); }
.chk .m b{ color: var(--ink); }

/* 出し先のチェック */
.dest{ display: grid; gap: 14px; }
/* ★.dest の直下に置いた <label>（お店・全部にチェック）にも同じ形を効かせる。
   これが無いと、チェックボックスと店名が縦に積まれる（2026-09-19 実機で発生）。 */
.dest > label,
.dest-item > label{
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--tap);
  padding: 13px 16px;
  border-radius: var(--r-btn);
  background: var(--nm-bg);
  box-shadow: var(--nm-up-sm);
  font-size: var(--fs-sm);
  cursor: pointer;
}
.dest-item > label:active{ box-shadow: var(--nm-in-sm); }
.dest-item > label > input{ width: 22px; height: 22px; accent-color: var(--accent-deep); flex: 0 0 auto; }
.dest .who{ display: block; font-weight: 600; }
/* 補足の無い項目（お店）は、名前だけなので横に並べる */
.dest > label > span{ display: flex; align-items: center; gap: 8px; min-width: 0; }
.dest > label{ min-height: var(--tap); }
.dest > label input[type="checkbox"]{ flex: 0 0 auto; width: 20px; height: 20px; }
.dest .sub{ display: block; font-size: var(--fs-label); color: var(--ink-3); line-height: 1.55; }

/* ── フィード／ストーリー／両方 の切り替え（Instagram の出し先だけ）──
   ★選んでいるものは**塗り**で示す。影の向きだけに頼らない（低コントラストの地のため）。
   ★:has() を使わない。input を隠して、隣の span を :checked で塗る古典的な作り。 */
.fmt{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0 0 0;
}
.fmt > label{ position: relative; display: block; }
.fmt input{
  position: absolute; width: 1px; height: 1px;
  opacity: 0; margin: 0; pointer-events: none;
}
.fmt span{
  display: grid;
  place-items: center;
  min-height: var(--tap);
  padding: 4px 6px;
  border-radius: var(--r-btn);
  background: var(--nm-bg);
  box-shadow: var(--nm-up-sm);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
}
.fmt input:checked + span{
  background: var(--on-accent);
  color: var(--white);
  box-shadow: var(--nm-up-sm);
}
.fmt input:focus-visible + span{ outline: 3px solid var(--accent-deep); outline-offset: 3px; }
.fmt span:active{ box-shadow: var(--nm-in-sm); }
/* 出し先のチェックを外したら、その形式は選べない。
   ★このとき**塗りを外す**。薄めた赤のまま残すと「選ばれているのに押せない」に見え、
     白文字も読めなくなる（2026-09-04 スクリーンショットで実際にそう見えた）。 */
.fmt input:disabled + span{
  background: var(--nm-bg);
  color: var(--ink-3);
  box-shadow: var(--nm-in-sm);
  cursor: default;
}
.dest-item.off .fmt{ opacity: .8; }

/* ストーリーを選んだときだけ出る断り書き。注記ではなく「読ませる箱」にする */
.warnbox{
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: var(--r-card);
  background: var(--nm-bg);
  box-shadow: var(--nm-in-sm);
  border-left: 3px solid var(--accent-deep);
}
.warnbox b{ font-size: var(--fs-sm); font-weight: 600; }
.warnbox p{ margin-top: 6px; font-size: var(--fs-label); color: var(--ink-2); line-height: 1.9; }

/* 番号つきの手順 */
.steps{ counter-reset: s; display: grid; gap: 10px; }
.steps li{
  counter-increment: s;
  position: relative;
  padding: 14px 16px 14px 46px;
  border-radius: var(--r-btn);
  background: var(--nm-bg);
  box-shadow: var(--nm-up-sm);
  font-size: var(--fs-sm);
  line-height: 1.8;
}
.steps li::before{
  content: counter(s);
  position: absolute; left: 14px; top: 15px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--on-accent);
  color: var(--white);
  font-family: var(--ff-num);
  font-size: 12px; font-weight: 600;
  display: grid; place-items: center;
}

/* ── わたしの投稿 ─────────────────────────────── */
.post-row{
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.post-row:last-child{ border-bottom: 0; }
.post-row .pic{
  width: 54px; aspect-ratio: 3 / 4;
  border-radius: 10px;
  background: repeating-linear-gradient(135deg, #E3E8EE 0 8px, #DBE1E8 8px 16px);
  box-shadow: var(--nm-up-sm);
}
.post-row .ttl{ display: block; font-size: var(--fs-sm); font-weight: 600; line-height: 1.55; }
.post-row .met{ display: block; font-size: var(--fs-label); color: var(--ink-3); line-height: 1.65; }
.post-row .pt{
  font-family: var(--ff-num);
  font-variant-numeric: tabular-nums;
  font-size: 17px;
  font-weight: 600;
  color: var(--accent-deep);
  white-space: nowrap;
}

/* ── 順位 ─────────────────────────────────────── */
.rank-row{
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
}
.rank-row + .rank-row{ margin-top: 6px; }
.rank-row .no{
  font-family: var(--ff-num);
  font-size: 16px; font-weight: 600;
  text-align: center;
  color: var(--ink-3);
}
.rank-row .nm{ display: block; font-size: var(--fs-sm); font-weight: 600; line-height: 1.45; }
.rank-row .sub{ display: block; font-size: var(--fs-label); color: var(--ink-3); line-height: 1.55; }
.rank-row .pt{
  font-family: var(--ff-num);
  font-variant-numeric: tabular-nums;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}
/* 自分の行だけ塗る。名前にも「（あなた）」と書いてあり、色だけに頼っていない */
.rank-row.me{
  background: var(--on-accent);
  color: var(--white);
  box-shadow: var(--nm-up-sm);
}
.rank-row.me .sub, .rank-row.me .no{ color: #FFFFFF; }

/* 店舗ごとの合計 */
.shop-row{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 84px auto;
  gap: 10px;
  align-items: center;
  padding: 13px 0;
  font-size: var(--fs-sm);
}
.shop-row + .shop-row{ border-top: 1px solid var(--line); }
.shop-row .pt{
  font-family: var(--ff-num);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  white-space: nowrap;
}

/* ── ご予約状況・目標（2026-09-10 追加）──────────────── */
/* 立場の切り替え（見本用）。本番はサインインした方に自動で合わせる */
.rolepick{ display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.role{
  font: inherit; font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2);
  padding: 8px 16px; border: 0; border-radius: 999px;
  background: var(--nm-bg); box-shadow: var(--nm-up-sm); cursor: pointer;
}
.role.on{ background: var(--on-accent); color: var(--white); box-shadow: var(--nm-up-sm); }
.role:focus-visible{ outline: 3px solid var(--accent-deep); outline-offset: 2px; }
.rp-cap{ font-size: 12px; color: var(--ink-3); }

/* 立場で見えるものを出し分ける（本番はサーバ側で決まる） */
.reswrap[data-role-view="stylist"] .only-assist{ display: none; }
.reswrap[data-role-view="assist"]  .only-stylist{ display: none; }

.res-sum{ font-size: var(--fs-sm); color: var(--ink-2); margin: 4px 0 14px; }
.res-sum .num{ font-size: var(--fs-h3); font-weight: 600; color: var(--ink); }
.res-sum .chip{ margin-left: 8px; }

.res-row{
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 10px; align-items: center;
  padding: 12px 0 12px 10px;
  border-left: 3px solid var(--line);
  font-size: var(--fs-sm);
}
.res-row + .res-row{ border-top: 1px solid var(--line); }
.res-row .rt{ font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.res-row .rwm{ display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.res-row .rwm b{ font-weight: 600; }
.res-row .rwm span{ font-size: 12px; color: var(--ink-3); }
.res-row .rs{ font-size: 12px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.res--wait{ border-left-color: var(--accent-deep); }
.res--soon{ border-left-color: var(--accent-deep); }
.res--wait .rs, .res--soon .rs{ color: var(--accent-deep); }
.res--done .rs{ color: var(--ink-3); font-weight: 500; }

.goal + .goal{ margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.goal-top{ display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.goal-top span{ font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2); }
.goal-top b{ font-size: 26px; font-weight: 600; color: var(--accent-deep); }
.goal-cap{ font-size: 12px; color: var(--ink-3); line-height: 1.7; margin-top: 8px; }
.goal-cap .num{ color: var(--ink); font-weight: 600; }

/* 電話・LINEで受けたご予約を、自分で入れる */
.bkform{ display: grid; gap: 12px; margin-top: 16px; }
.bkform[hidden]{ display: none; }
.fld{ display: grid; gap: 5px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.fld input, .fld select{
  font: inherit; font-size: var(--fs-sm); font-weight: 400; color: var(--ink);
  /* ★min-width:0 が無いと、日時入力の min-content 幅が列より広く、枠からはみ出す */
  width: 100%; min-width: 0; padding: 11px 12px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--white);
}
.fld input:focus, .fld select:focus{ outline: 2px solid var(--accent-deep); outline-offset: 1px; }
.fld2{ display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fld2 > .fld{ min-width: 0; }   /* グリッド子が min-content で膨らむのを止める */
.bk-done{ font-size: var(--fs-sm); font-weight: 600; color: var(--accent-deep); margin-top: 4px; }
.bk-done[hidden]{ display: none; }
.res--new{ background: var(--nm-sunk); border-left-color: var(--accent-deep); }

/* 店舗のタイムテーブル（縦＝時間／横＝担当者）
   ★甲板の中なので横スクロールにしない。列は minmax(0,1fr) で必ず収める。
   ★文字は 11px（検査【1】の下限）。これ以上小さくしない。 */
/* ★スタイリストが多い店では横に動かせないと使えない（2026-09-12 岩田さん指摘）。
   甲板（画面の横スワイプ）へ連鎖しないよう overscroll-behavior-x: contain を必ず付ける。
   併せて「前へ／次へ」ボタンも置く（スワイプが効かない場合の逃げ道）。 */
.tt-wrap{ overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.tt{ display: grid; gap: 2px; margin-top: 6px; }
/* 時間の列はスクロールしても残す（何時の予約か見失わない）*/
.tt-t{ position: sticky; left: 0; z-index: 1; background: var(--nm-bg); padding-right: 4px; }
.tt-nav{ display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.tt-nav[hidden]{ display: none; }
.tt-nav button{
  font: inherit; font-size: 12px; font-weight: 600; color: var(--ink-2);
  padding: 8px 14px; border: 0; border-radius: 999px;
  background: var(--nm-bg); box-shadow: var(--nm-up-sm); cursor: pointer;
}
.tt-nav button:focus-visible{ outline: 3px solid var(--accent-deep); outline-offset: 2px; }
/* 担当者の見出しは「帯」にして、どの列がどの担当者かを一目で分ける（レーンが複数でもまとまる）*/
.tt-h{
  font-size: 11px; font-weight: 600; color: var(--ink-2);
  text-align: center; overflow: hidden; white-space: nowrap;
  background: var(--nm-sunk); border-radius: 6px; padding: 3px 2px; margin-bottom: 4px;
}
.tt-h.me{ background: var(--on-accent); color: var(--white); }
.tt-t{ font-size: 11px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.tt-corner{ position: sticky; left: 0; z-index: 2; background: var(--nm-bg); }
.tt-cell{ background: var(--nm-sunk); border-radius: 3px; }
/* ★自分の予定＝ネイビーの塗り／ほかの人＝淡いグレー。全部同じ色だと自分の予定が埋もれる */
.tt-b{
  background: var(--nm-dark); color: var(--ink);
  border-radius: 6px; padding: 3px 5px; overflow: hidden; min-width: 0;
  display: flex; flex-direction: column; gap: 1px;
}
.tt-b b{ font-size: 11px; font-weight: 600; line-height: 1.25; }
.tt-b span{ font-size: 11px; line-height: 1.25; opacity: .85; overflow: hidden; }
.tt-b.me{ background: var(--on-accent); color: var(--white); }
.tt-empty{ font-size: var(--fs-sm); color: var(--ink-3); padding: 10px 0; }
/* 出勤していない時間＝空きではない。斜線で「使えない」と判る形にする（色だけに頼らない） */
.tt-off{
  background: repeating-linear-gradient(135deg,
    rgba(28,37,48,.05) 0 5px, rgba(28,37,48,.10) 5px 10px);
}
/* 定休日は日全体。棒や枠でなく、はっきり文で出す */
.tt-closed{
  border-radius: 12px; padding: 20px 18px; text-align: center;
  background: var(--nm-bg); box-shadow: var(--nm-in-sm);
}
.tt-closed b{ display: block; font-size: var(--fs-md); font-weight: 600; margin-bottom: 6px; }
.tt-closed span{ font-size: var(--fs-sm); color: var(--ink-2); }

/* 日付の切り替え（今日／明日／…7日）。甲板の中なので横スクロールにせず折り返す
   ★立場に関わらず使う共通の操作なので .only-stylist の外（上部の帯）に置く */
.daybar{ padding-bottom: 14px; }
.daystrip{ display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 12px; }
.daystrip:empty{ display: none; }
.day{
  font: inherit; font-size: 12px; font-weight: 600; color: var(--ink-2);
  padding: 7px 11px; border: 0; border-radius: 999px;
  background: var(--nm-bg); box-shadow: var(--nm-up-sm); cursor: pointer;
}
.day.on{ background: var(--on-accent); color: var(--white); }
.day:focus-visible{ outline: 3px solid var(--accent-deep); outline-offset: 2px; }

/* ── 連携 ─────────────────────────────────────── */
/* 流れは文章の箱ではなく図で見せる（美容師さんは文字が多いと読まない＝検査【11】）*/
.dia{ display: block; width: 100%; height: auto; }

.qa{ border-top: 1px solid var(--line); padding: 16px 0; }
.qa:first-child{ border-top: 0; padding-top: 0; }
.qa:last-child{ padding-bottom: 0; }
.qa b{ display: block; font-size: var(--fs-sm); font-weight: 600; line-height: 1.65; }
.qa p{ font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.75; margin-top: 4px; }
.qa .no-{ color: var(--accent-deep); font-weight: 600; }

/* ══════════════════════════════════════════════════════════
   実機デモ（2026-09-19）：写真を本当に取り込み、話した言葉を本当に文字にする。
   ★画像は端末の外へ出さない（FileReader も送信もしない・createObjectURL だけ）。
   ══════════════════════════════════════════════════════════ */
.thumb img{
  position: absolute; inset: 5px;
  width: calc(100% - 10px); height: calc(100% - 10px);
  object-fit: cover; object-position: top center;
  border-radius: 10px;
  display: block;
}
.thumb video{ position: absolute; inset: 5px; width: calc(100% - 10px);
  height: calc(100% - 10px); object-fit: cover; border-radius: 10px; }
/* 実写が入ったら、選択の枠は写真の上に出す（.ph が無いので outline の相手が変わる） */
.thumb.real[aria-pressed="true"] img,
.thumb.real[aria-pressed="true"] video{ outline: 2px solid var(--accent-deep); outline-offset: -2px; }
.thumb .del{
  position: absolute; right: 8px; bottom: 8px;
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(28, 37, 48, .72); color: #fff;
  font-size: 13px; line-height: 1; display: grid; place-items: center;
}
/* 取り込み中・読み取り中の帯 */
/* 「全部にチェックを入れる」＝ほかの出し先と見分ける（破線） */
.dest .dest-all{ margin-bottom: 6px; border: 1px dashed var(--line); box-shadow: none; }

/* ★hidden は display 指定に負ける。ここで勝たせる（帯が消えなかった 2026-09-19） */
[hidden]{ display: none !important; }
.busy{ display: flex; align-items: center; gap: 10px; margin-top: 14px;
  font-size: var(--fs-sm); color: var(--ink-2); }
.busy i{ width: 16px; height: 16px; flex: 0 0 auto; border-radius: 50%;
  border: 2px solid var(--line); border-top-color: var(--accent-deep);
  animation: sp 720ms linear infinite; }
@keyframes sp{ to{ transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce){ .busy i{ animation: none; } }

/* マイクが本当に聞いているとき */
.mic.on .circle{ background: var(--on-accent); color: var(--white); box-shadow: none; }
.mic.on p b{ color: var(--accent-deep); }
.mic{ cursor: pointer; }
.mic:focus-visible{ outline: 3px solid var(--accent-deep); outline-offset: 3px; }
/* 話した言葉は消せる */
.chip.said{ cursor: pointer; }
.chip.said .x{ margin-left: 7px; color: var(--ink-3); font-weight: 600; }
/* 音声が使えない端末むけの書き込み欄 */
.typein{ display: flex; gap: 8px; margin-top: 12px; }
.typein input{ flex: 1 1 auto; min-width: 0; padding: 11px 12px; font: inherit;
  font-size: var(--fs-sm); color: var(--ink); background: var(--nm-bg);
  border: 0; border-radius: 10px; box-shadow: var(--nm-in-sm); }
.typein input:focus-visible{ outline: 2px solid var(--accent-deep); outline-offset: 1px; }

/* 送ったあとの状態 */
.sent{ border-radius: 12px; padding: 18px; background: var(--nm-bg);
  box-shadow: var(--nm-up-sm); border-left: 3px solid var(--accent-deep); }
.sent b{ display: block; font-size: var(--fs-md); font-weight: 600; margin-bottom: 6px; }
.sent p{ font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.85; }
.sent .demo{ font-size: 12px; color: var(--ink-3); margin-top: 10px; }

/* ══════════════════════════════════════════════════════════
   IBRO様版で足したもの（2026-09-25）
   ══════════════════════════════════════════════════════════ */
:root{ --fs-md: 17px; }
.card .txt{ font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.85; }
.card .txt b{ color: var(--ink); }
.grid-photo:empty{ display: none; }

/* 文章の欄（清書の結果をここで直せる） */
.fld textarea{
  font: inherit; font-size: var(--fs-sm); font-weight: 400; color: var(--ink);
  width: 100%; min-width: 0; min-height: 260px; padding: 12px 14px; resize: vertical;
  border: 0; border-radius: 12px; background: var(--nm-bg); box-shadow: var(--nm-in-sm);
  line-height: 1.9;
}
.fld textarea:focus-visible{ outline: 3px solid var(--accent-deep); outline-offset: 2px; }
.fld textarea::placeholder{ color: var(--ink-3); }

/* 気になる表現（止めない。知らせるだけ）。黄色＋文字の両方で示す */
.flagbox{
  margin-top: 14px; padding: 14px 16px; border-radius: 12px;
  background: #FFF6D6; color: #5A4300; border: 1px solid #E6CF6A;
}
.flagbox > b{ display: block; font-size: var(--fs-sm); font-weight: 700; }
.flagbox p{ font-size: var(--fs-label); line-height: 1.8; margin-top: 4px; }
.flagbox ul{ margin-top: 8px; display: grid; gap: 6px; }
.flagbox li{ font-size: var(--fs-label); line-height: 1.75; }
.flagbox li b{ font-weight: 700; }

/* ほかのお店を足す（開いたときだけ並ぶ） */
.more{ margin-top: 14px; }
.more summary{
  cursor: pointer; font-size: var(--fs-sm); font-weight: 600; color: var(--accent-deep);
  min-height: var(--tap); display: flex; align-items: center; list-style: none;
}
.more summary::-webkit-details-marker{ display: none; }
.more summary::before{ content: "＋"; margin-right: 8px; }
.more[open] summary::before{ content: "－"; }
.more .dest{ margin-top: 6px; }
.dest-item.lock > label{ opacity: .6; cursor: default; }

/* わたしの投稿 */
.mypost + .mypost{ margin-top: 20px; }
.mp-head{ display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 12px; align-items: center; }
.mp-head .pic{
  width: 54px; aspect-ratio: 3 / 4; border-radius: 10px;
  background: repeating-linear-gradient(135deg, #E3E8EE 0 8px, #DBE1E8 8px 16px);
  background-size: cover; background-position: top center; box-shadow: var(--nm-up-sm);
}
.mp-head b{ display: block; font-size: var(--fs-sm); font-weight: 600; line-height: 1.5; }
.mp-head span{ display: block; font-size: var(--fs-label); color: var(--ink-3); line-height: 1.6; }
.mp-text{
  margin-top: 14px; font-size: var(--fs-sm); line-height: 1.9; color: var(--ink);
  white-space: pre-wrap; padding: 12px 14px; border-radius: 12px; box-shadow: var(--nm-in-sm);
}
.mp-act{ display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.mp-act .btn + .btn{ margin-top: 0; }
.mp-dest{ margin-top: 16px; display: grid; gap: 10px; }
.mp-row{ padding: 12px 14px; border-radius: 12px; box-shadow: var(--nm-up-sm); }
.mp-row .hd{ display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mp-row .hd b{ font-size: var(--fs-sm); font-weight: 600; }
.mp-row .btn{ margin-top: 10px; }
.mp-done{ font-size: var(--fs-label); color: var(--ink-3); margin-top: 6px; }
.linkbtn{
  font: inherit; font-size: var(--fs-label); color: var(--ink-3); background: none; border: 0;
  text-decoration: underline; cursor: pointer; margin-top: 14px; min-height: 44px; padding: 0;
}
.toast{
  position: fixed; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  z-index: 50; max-width: min(380px, calc(100vw - 32px));
  background: var(--ink); color: #fff; font-size: var(--fs-sm); line-height: 1.6;
  padding: 10px 16px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.res--now{ border-left-color: var(--accent-deep); background: var(--nm-sunk); }
.res--now .rs{ color: var(--accent-deep); }
.signin select{
  width: 100%; min-height: var(--tap); padding: 12px 14px; font-size: 16px; color: var(--ink);
  background: var(--nm-bg); border: 0; border-radius: var(--r-btn); box-shadow: var(--nm-in-sm);
}
.signin select:focus-visible{ outline: 3px solid var(--accent-deep); outline-offset: 2px; }
.signin .brand{ display: flex; align-items: center; gap: 10px; }
.signin .brand i{ width: 26px; height: 3px; background: #B0822F; display: block; }
