/* 10 UI専用（2026-11-19 夜間の総点検）：全体のUI/UXの補正。
   読み込み：makul-ui09.css の直後（顧客5画面・BACKSPACE 2画面）。
   範囲：見た目と並び順だけ。文言・判定・権限・送信・価格・税・規約・選択の状態には触れない。角丸 6px の共通ルールは維持。 */

/* ---------------------------------------------------------------
   1. 下部の合計バー（CHOICE・CUSTOM の d22-final-sumbar）
   原因：06 の共通の入力欄の見た目（高さ46px・枠・余白）がバーの小さな欄にも掛かり、
   スマホでは人数の＋が隣の欄に重なり、エリアの選択が切れていた。PCでもエリアの見出しが3行に折れていた。
   --------------------------------------------------------------- */
.d22-final-sumbar .stepper{display:inline-flex;align-items:center;height:36px;border:1px solid #d8c7a8;border-radius:var(--ui-r,6px);background:#fffdf7;overflow:hidden}
.d22-final-sumbar .stepper button{width:32px;height:34px;min-height:0;padding:0;border:0!important;background:transparent;color:#77513a;font-size:16px;line-height:1}
.d22-final-sumbar .stepper input{width:44px;height:34px;min-height:0!important;padding:0 2px!important;border:0!important;border-inline:1px solid #eadfc8!important;border-radius:0!important;background:transparent!important;text-align:center;font-size:15px;font-variant-numeric:tabular-nums}
.d22-final-sumbar .d22-delivery-area{display:grid!important;gap:2px;font-size:10.5px;white-space:nowrap}
.d22-final-sumbar .d22-delivery-area select{min-height:0!important;height:32px;padding:0 24px 0 8px!important;font-size:13px!important;border:1px solid #d8c7a8!important;background-color:#fffdf7!important;max-width:100%}
.d22-final-sumbar .d22-sum-shipping{min-width:0}
.d22-final-sumbar .d22-sum-shipping b{display:block;font-size:13px;line-height:1.3;margin-top:2px}
.d22-final-sumbar .d22-sum-shipping small{display:block;line-height:1.35}
@media (max-width:600px){
  /* 3段：①品数・人数・お届けエリア ②送料と送料の案内（あと○円で送料無料 など。消さない）③合計・次へ */
  .d22-final-sumbar{padding:10px 14px calc(10px + env(safe-area-inset-bottom,0px))}
  .d22-final-sumbar-in{grid-template-columns:auto auto minmax(0,1fr)!important;grid-template-areas:"count people area" "shipb note note" "total total cta";gap:6px 12px!important;align-items:center}
  .d22-final-sumbar .d22-sum-count{grid-area:count}
  .d22-final-sumbar .d22-sum-people{grid-area:people;display:grid;gap:2px;font-size:11px}
  .d22-final-sumbar .d22-sum-shipping{display:contents}
  .d22-final-sumbar .d22-sum-shipping .d22-delivery-area{grid-area:area;min-width:0;font-size:11px}
  .d22-final-sumbar .d22-sum-shipping>b{grid-area:shipb;margin:0;font-size:13px;white-space:nowrap}
  .d22-final-sumbar .d22-sum-shipping>small{grid-area:note;display:block!important;font-size:12px!important;line-height:1.45;color:#77513a;min-width:0}
  .d22-final-sumbar .d22-sum-total{grid-area:total;padding-left:0!important;border-left:0!important}
  .d22-final-sumbar .d22-sum-total b{font-size:18px}
  .d22-final-sumbar .d22-sum-continue{grid-area:cta;min-height:44px;padding:0 14px;white-space:nowrap;font-size:14px}
  /* 2段目の送料の値に「送料」の見出しを添える（読み上げは既存の aria-label のまま） */
  .d22-final-sumbar .d22-sum-shipping>b::before{content:"送料 ";font-size:11px;font-weight:400;color:#88664f}
  /* 入力の文字は16px、＋−は 40×40 以上（ズーム禁止は使わない） */
  .d22-final-sumbar .stepper{height:42px}
  .d22-final-sumbar .stepper button{width:40px;height:40px;font-size:18px}
  .d22-final-sumbar .stepper input{width:48px;height:40px;font-size:16px!important}
  .d22-final-sumbar .d22-delivery-area select{width:100%;height:42px;font-size:16px!important;padding:0 26px 0 10px!important}
}

/* ---------------------------------------------------------------
   2. MUU の呼び出し（スマホ）：右端の縦長タブが本文・カード・価格の右端に重なっていた。
   小さな四角い呼び出し（アイコン＋「MUU」）にし、下部のバー・追従ボタンより上に置く。名前（読み上げ）はそのまま。
   --------------------------------------------------------------- */
@media (max-width:600px){
  .mk-muu-launcher{writing-mode:horizontal-tb!important;flex-direction:column!important;justify-content:center!important;gap:2px!important;
    width:56px;min-width:56px!important;height:56px;min-height:56px!important;padding:4px!important;right:12px!important;
    bottom:var(--ui10r-muu-bottom,calc(150px + env(safe-area-inset-bottom,0px)))!important;border-radius:var(--ui-r,6px)!important;box-shadow:0 6px 18px rgba(60,38,24,.25);font-size:0!important;line-height:1}
  .mk-muu-launcher img{width:28px!important;height:28px!important}
  .mk-muu-launcher::after{content:"MUU";font-size:10px;font-weight:700;letter-spacing:.08em;color:#f8f4ea}
}

/* ---------------------------------------------------------------
   3. CUSTOM（スマホ）：Your table と Balance が料理の一覧より前にあり、料理を選ぶまでに長くスクロールしていた。
   料理の一覧を先に、Your table を後に（選んだ数は下部のバーにも出ている）。
   --------------------------------------------------------------- */
@media (max-width:860px){
  .mk-root .assort{display:flex!important;flex-direction:column}
  .mk-root .assort>.tray{order:2;margin-top:20px}
  .mk-root .assort>:not(.tray){order:1}
}

/* ---------------------------------------------------------------
   4. タブレット（601〜1023px）：スマホの1列のままで、写真が画面いっぱいに大きくなっていた。
   --------------------------------------------------------------- */
@media (min-width:601px) and (max-width:879px){
  /* TOP の3つのプラン：文字と写真を横に並べる */
  #makul-entry .pcards .pcard.d22-plan{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:stretch}
  #makul-entry .pcards .pcard.d22-plan .d22-plan-photo{margin:0;aspect-ratio:auto;height:100%;min-height:220px}
}
@media (min-width:601px) and (max-width:860px){
  /* TOP のお届けのスタイル・営業日カレンダー：2列 */
  #makul-entry .mk-d22-style-grid,#makul-entry .mk-d22-calendar-months{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px}
  /* CHOICE・CUSTOM・SPECIAL の導入写真：高さを抑える */
  .mk-root .phead .phead-shot{aspect-ratio:auto!important;height:280px!important}
  .mk-root .phead .phead-shot img{height:100%;object-fit:cover}
  /* CHOICE のコースの写真 */
  .mk-root .pkgs .pkg-shot{aspect-ratio:16/9!important;max-height:340px}
}
@media (min-width:601px) and (max-width:1100px){
  /* SPECIAL：フォームと右のカードが横に並んで、どちらも窮屈だった。フォームを全幅に、カードを下に */
  #makul-concierge .mk-special-layout{grid-template-columns:minmax(0,1fr)!important}
  #makul-concierge .mk-special-guide{display:grid;grid-template-columns:minmax(0,220px) minmax(0,1fr);column-gap:20px;align-items:start}
  #makul-concierge .mk-special-guide>img{grid-row:span 4}
}

/* ---------------------------------------------------------------
   5. ページの左右の線：再手配・注文の上部の相談カードが、ナビやほかの画面より外に広く、文字が内側に深く入っていた。
   --------------------------------------------------------------- */
#makul-reorder.mk-site>:is(.mk-banner,.mk-hero,.mk-card,section,p.mk-note){box-sizing:border-box;max-width:1232px;margin-inline:auto;padding-inline:0}
#makul-reorder.mk-site>:is(.mk-card,section.mk-card){padding:22px 24px;margin-bottom:16px}
@media (max-width:1280px){#makul-reorder.mk-site>:is(.mk-banner,.mk-hero,.mk-card,section,p.mk-note){margin-inline:24px}}
@media (max-width:600px){#makul-reorder.mk-site>:is(.mk-banner,.mk-hero,.mk-card,section,p.mk-note){margin-inline:20px}#makul-reorder.mk-site>:is(.mk-card,section.mk-card){padding:18px 16px}}
/* 注文の上部「この料理・条件をスタッフへ相談する」のカード：本文とボタンを1行に（狭い画面は2行） */
:is(.mk-root.mk-site,.mk-root.mk-site>.wrap)>section.mk-card:has(>p+button.mk-btn){box-sizing:border-box;max-width:1232px;margin:16px auto 0;padding:14px 18px!important;
  display:flex;align-items:center;justify-content:space-between;gap:10px 20px;flex-wrap:wrap;background:#fffdf7;border:1px solid #e8dcb9}
:is(.mk-root.mk-site,.mk-root.mk-site>.wrap)>section.mk-card:has(>p+button.mk-btn)>p{margin:0;flex:1 1 420px;font-size:12.5px;line-height:1.75;color:#77513a}
:is(.mk-root.mk-site,.mk-root.mk-site>.wrap)>section.mk-card:has(>p+button.mk-btn)>button{flex:0 0 auto}
@media (max-width:1280px){.mk-root.mk-site>section.mk-card:has(>p+button.mk-btn){margin-inline:24px}}
@media (max-width:600px){.mk-root.mk-site>section.mk-card:has(>p+button.mk-btn){margin-inline:20px}
  :is(.mk-root.mk-site,.mk-root.mk-site>.wrap)>section.mk-card:has(>p+button.mk-btn)>button{width:100%}}

/* ---------------------------------------------------------------
   6. 決済の前のオプション：サイズ・飾りのボタンの幅がそろわず、1つだけ次の行に残っていた。写真のない取り皿の枠が大きすぎた。
   --------------------------------------------------------------- */
.mk-root .mk-co-chips{display:flex!important;flex-wrap:wrap;gap:6px}
.mk-root .mk-co-chips .mk-co-choice{flex:1 1 auto;min-width:calc(33.333% - 4px);min-height:44px;padding-inline:10px}
.mk-root .mk-co-types .mk-co-photo-placeholder{aspect-ratio:auto!important;height:clamp(72px,14vw,120px)}

/* ---------------------------------------------------------------
   7. 細部
   --------------------------------------------------------------- */
/* CUSTOM の料理カードの「+50」「+100」：料理名・価格と同じ中央の線に */
.mk-root .assort .dish .dish-foot{display:flex;justify-content:center}
/* 長い日本語の見出しが1文字だけ次の行に残らないように */
.mk-root :is(h1,h2,h3){text-wrap:pretty}
.mk-root .phead h1,.mk-root .mk-hero h1{text-wrap:balance}

/* CUSTOM の料理の一覧（スマホ）：3列では料理名が2行で切れ、詳細の「⌕」が料理名に重なっていた。
   480px以下は2列に。「⌕」は写真の右上に置く（タッチ領域 32px）。 */
@media (max-width:480px){
  .mk-root[data-menu-route="assort"] #menu,.mk-root[data-menu-route="assort"] #menu .grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px 14px!important}
}
.mk-root[data-menu-route="assort"] .d22-dish-detail{top:4px!important;right:4px!important;bottom:auto!important;width:32px!important;height:32px!important;font-size:16px!important;box-shadow:0 1px 4px rgba(60,38,24,.12)}
@media (min-width:601px) and (max-width:1180px){
  .d22-final-sumbar .stepper button{width:28px}
  .d22-final-sumbar .stepper input{width:38px}
}

/* ---------------------------------------------------------------
   8. UI10R（スマホの仕上げ）
   --------------------------------------------------------------- */
/* 8-1 集計バーのお届けエリア：375〜430で長い区域名が「千葉県」などで切れていた。
   ネイティブの select（値・選択肢・操作）はそのまま。選択中の区域名を select の枠内に
   2段で重ねて見せる補助表示（aria-hidden。読み上げは select の選択値のまま）。 */
.ui10r-area-face{display:none}
@media (max-width:600px){
  .d22-final-sumbar .d22-delivery-area select{grid-row:2;grid-column:1}
  .d22-final-sumbar .d22-delivery-area:has(.ui10r-area-face) select{color:transparent!important}
  .d22-final-sumbar .d22-delivery-area select option{color:#3c2618}
  .d22-final-sumbar .ui10r-area-face{grid-row:2;grid-column:1;align-self:center;display:grid;min-width:0;padding:0 22px 0 9px;pointer-events:none;white-space:normal;color:#3c2618;font-size:12px;font-weight:600;line-height:1.2;letter-spacing:0}
  .d22-final-sumbar .ui10r-area-face small{display:block;font-size:10px;font-weight:400;line-height:1.15;color:#88664f}
  .d22-final-sumbar .ui10r-area-face>span{display:block;max-height:2.4em;overflow:hidden;overflow-wrap:anywhere}
  .d22-final-sumbar .ui10r-area-face i{font-style:normal;white-space:nowrap}
  .d22-final-sumbar .d22-delivery-area:has(.ui10r-area-face small) select{height:46px}
}

/* 8-2 INBOX（スマホ）：一覧の下に詳細が並ぶ幅（760px以下）で、選んだ相談の詳細が見つけにくかった。
   行をタップ／キーボードで選んだときだけ詳細の見出しへ移動（inbox-app.js）。詳細の先頭に「一覧に戻る」を追従させる。
   PC（761px以上）は一覧／詳細の2列のまま、この操作部は出さない。 */
.ui10r-back{display:none}
.mk-detail [data-ui10r-detail-head]:focus{outline:none}
.mk-detail [data-ui10r-detail-head]:focus-visible{outline:2px solid var(--bk-deep,#77513a);outline-offset:4px;border-radius:2px}
@media (max-width:760px){
  .mk-detail{scroll-margin-top:56px}
  .mk-list .mk-list-row{scroll-margin-block:64px 16px}
  .ui10r-back{display:flex;position:sticky;top:calc(45px + env(safe-area-inset-top,0px));z-index:6;margin:-6px -4px 10px;padding:6px 4px;background:var(--mk-paper,#fffdf7)}
  .ui10r-back .mk-link{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 14px 0 10px;border:1px solid var(--mk-line,#e0d6c4);border-radius:var(--ui-r,6px);background:#fffdf7;color:var(--bk-dark,#3c2618);font-size:13px;font-weight:600;text-decoration:none}
  .ui10r-back .mk-link::before{content:"";width:7px;height:7px;border-left:2px solid currentColor;border-top:2px solid currentColor;transform:translateY(2px) rotate(45deg)}
}

/* ---------------------------------------------------------------
   9. UI11（文言の仕上げ）
   --------------------------------------------------------------- */
/* 9-1（UI12で版の注記を外したため削除） */

/* ---------------------------------------------------------------
   10. UI12（選ぶ途中の目安・注文シート・スマホの入力・MUU）
   --------------------------------------------------------------- */
/* 10-1 注文シートは「注文へ」を押したあとだけ表示（DOMは残し、進行中の支払・送信・確認があれば常に表示：menu-r3.js） */
#order-form[hidden]{display:none!important}
.ui12-sheet-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;margin:0 0 22px;padding:14px 16px;border:1px solid #e8dcc4;border-radius:var(--ui-r,6px);background:#fffdf7}
.ui12-sheet-head .kicker{display:block;font-size:11px;letter-spacing:.14em;color:#88664f}
.ui12-sheet-what{margin:4px 0 0;font-size:15px;font-weight:600;line-height:1.5;color:#3c2618}
.ui12-sheet-back{min-height:44px;padding-inline:18px}
.ui12-sheet-title:focus{outline:none}
.ui12-sheet-title:focus-visible{outline:2px solid #77513a;outline-offset:4px}
/* 10-2 CHOICE：コースごとの目安（比較用） */
.ui12-compare-hint{margin:12px 0 0!important;font-size:13px!important;line-height:1.7!important;color:#77513a}
.mk-root .pkgs .ui12-plan-budget{order:3}
.ui12-plan-budget{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 10px;margin:6px 0 14px;padding:10px 12px;border:1px solid #e8dcc4;border-radius:var(--ui-r,6px);background:#fffdf7;font-size:12px;line-height:1.5;color:#77513a}
.ui12-plan-budget b{font-family:var(--latin,Arial,sans-serif);font-size:17px;font-weight:600;color:#3c2618}
.ui12-plan-budget small{flex-basis:100%;font-size:11px;color:#88664f}
.ui12-plan-budget.is-loading{color:#88664f}
/* 10-3 追従バー（CHOICE・CUSTOM 共通）。PCは7列。スマホは UI10 の3段（count/people/area・送料/案内・目安/ボタン） */
.ui12-dock .d22-sum-total.ui12-wait b{font-family:var(--jp,sans-serif);font-size:15px!important;font-weight:600;color:#77513a}
.ui12-dock .ui12-sum-plan .ui12-none{font-size:12px;color:#88664f}
.ui12-dock .ui12-sum-plan b:has(.ui12-none):after{opacity:.25}
/* 列：品数(コース)・人数・エリア・お料理・利用料(1名あたり)・送料・目安・ボタン */
.ui12-dock .ui12-dock-area{min-width:0}
.ui12-dock .ui12-dock-area .d22-delivery-area{display:grid;gap:2px;font-size:10px}
@media (min-width:1101px){.ui12-dock .d22-final-sumbar-in{grid-template-columns:minmax(60px,.55fr) 112px minmax(140px,1.2fr) minmax(96px,1fr) minmax(84px,.8fr) minmax(118px,1.05fr) minmax(160px,1.4fr) minmax(140px,1fr)}}
@media (min-width:861px) and (max-width:1100px){
  .ui12-dock .d22-final-sumbar-in{grid-template-columns:60px 108px minmax(120px,1fr) minmax(110px,1fr) minmax(140px,1.3fr) minmax(130px,1.1fr)}
  .ui12-dock .d22-sum-detail{display:none}
}
@media (min-width:601px) and (max-width:860px){
  .ui12-dock .d22-final-sumbar-in{grid-template-columns:56px 120px minmax(0,1fr) minmax(0,1fr)!important;grid-template-areas:"count people area ship" "total total cta cta"}
  .ui12-dock .d22-sum-count{grid-area:count}.ui12-dock .d22-sum-people{grid-area:people}.ui12-dock .ui12-dock-area{grid-area:area}.ui12-dock .d22-sum-shipping{grid-area:ship}
  .ui12-dock .d22-sum-total{grid-area:total}.ui12-dock .d22-sum-continue{grid-area:cta}
}
@media (max-width:600px){
  .ui12-dock .d22-final-sumbar-in{grid-template-columns:minmax(52px,auto) auto minmax(0,1fr)!important;grid-template-areas:"count people area" "ship ship ship" "total total cta"!important}
  .ui12-dock .ui12-dock-area{grid-area:area}
  .ui12-dock .ui12-dock-area .d22-delivery-area{font-size:11px}
  .ui12-dock .d22-sum-shipping{grid-area:ship;display:flex!important;flex-direction:row!important;flex-wrap:wrap;align-items:baseline;gap:0 10px}
  .ui12-dock .d22-sum-shipping>b{white-space:nowrap;font-size:13px}
  .ui12-dock .ui12-ship-label{display:none}
  .ui12-dock .d22-sum-shipping>small{flex:1 1 12em;min-width:0;font-size:12px!important;line-height:1.45;color:#77513a}
  .ui12-dock .d22-sum-total.ui12-wait b{font-size:14px!important}
}
/* 10-4 スマホの入力：iPhone は16px未満の入力欄にフォーカスすると拡大し、その後ページが左右に動く（横揺れの原因）。
   ズームは禁止せず、767px以下の入力欄の文字を16pxにそろえる */
@media (max-width:767px),(hover:none) and (pointer:coarse){
  .mk-root input:not([type=checkbox]):not([type=radio]):not([type=range]),.mk-root select,.mk-root textarea,
  .mk-site input:not([type=checkbox]):not([type=radio]):not([type=range]),.mk-site select,.mk-site textarea,
  .mk-root .d22-final-sumbar .d22-delivery-area select,.mk-root .d22-final-sumbar .stepper input{font-size:16px!important}
}
@media (min-width:861px){.ui12-dock .d22-sum-total b{font-size:clamp(17px,1.55vw,22px);white-space:nowrap}}
/* 10-5 MUU の呼び出し：601px以上でも追従バーの実高＋12pxより下に重ならない（バーがない画面は従来の位置）。
   右端を画面の際に接する（安全領域は枠の内側で確保）。絵だけが、ときどき控えめに動く（押す範囲は動かさない・数回で止まる・動きを減らす設定では動かない） */
.mk-muu-launcher{right:0!important;padding-right:calc(10px + env(safe-area-inset-right,0px))!important}
@media (max-width:600px){
  .mk-muu-launcher{width:calc(56px + env(safe-area-inset-right,0px))!important;padding:4px calc(4px + env(safe-area-inset-right,0px)) 4px 4px!important;border-radius:var(--ui-r,6px) 0 0 var(--ui-r,6px)!important}
}
@media (prefers-reduced-motion:no-preference){
  .mk-muu-launcher img{animation:ui12-muu-peek 9s ease-in-out 4s 5 both;transform-origin:50% 85%}
  .mk-muu-launcher:hover img,.mk-muu-launcher:focus-visible img{animation-play-state:paused}
}
@keyframes ui12-muu-peek{0%,86%,100%{transform:none}89%{transform:translateY(-3px) rotate(-9deg)}93%{transform:translateY(-1px) rotate(7deg)}97%{transform:rotate(-3deg)}}
@media (min-width:601px){
  .mk-muu-launcher{bottom:max(calc(120px + env(safe-area-inset-bottom,0px)),var(--ui10r-muu-bottom,0px))!important}
}
/* 10-6 スマホの箱の内側余白をそろえる（左右の線は本文の20pxに合わせ、内側は16px）。
   上部の相談カードは UI10 の margin-inline 指定が詳細度で負けて画面の際まで広がっていたため、ここで確定させる */
@media (min-width:601px) and (max-width:1280px){:is(.mk-root.mk-site,.mk-root.mk-site>.wrap)>section.mk-card:has(>p+button.mk-btn){margin-inline:24px!important}}
@media (max-width:600px){
  :is(.mk-root.mk-site,.mk-root.mk-site>.wrap)>section.mk-card:has(>p+button.mk-btn){margin-inline:20px!important;padding:16px!important}
  .mk-root .hintbox,.mk-root .tray,.mk-root .mk-final-order-summary,.mk-root .ui12-sheet-head,.mk-root .fsec[aria-label="ログイン（メール）"]{padding-left:16px!important;padding-right:16px!important}
}

/* ---------------------------------------------------------------
   11. UI12-FB01：追従欄でフッターが隠れる
   追従欄（.ui12-dock）の実際の高さ（menu-r3.js が --ui12-dock-h に入れる）だけページの下に余白をとり、
   最下部までスクロールするとフッターの本文・リンクが追従欄の上に出るようにする。注文シート（追従欄なし）は余白を戻す。
   --------------------------------------------------------------- */
.mk-root[data-ui12-stage="select"]{padding-bottom:calc(var(--ui12-dock-h,160px) + 16px)!important}
.mk-root[data-ui12-stage="sheet"]{padding-bottom:24px!important}
.mk-root[data-ui12-stage="select"]>footer{margin-top:40px}
@media (min-width:861px){.mk-root[data-ui12-stage="select"]>footer{margin-top:56px}}
/* 12 UI12：アカウントのログインカード。横向きスマホ（約930px）で長いボタン文言がカードからはみ出さないよう折り返す */
.mk-root .mk-d22-login-card .mk-btn{white-space:normal;max-width:100%;text-align:center}
/* 13 2026-11-19：BACKSPACE の整理（よく使う操作を前に、商品ごとの販売の一時停止） */
.bs-quick{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin-top:16px}
.bs-quick-link{display:flex;flex-direction:column;gap:4px;padding:16px 18px;border:1px solid var(--line,#e6d6bf);border-radius:14px;background:#fffdf8;text-decoration:none;color:inherit}
.bs-quick-link strong{font-size:16px}
.bs-quick-link span{font-size:13px;color:var(--ink-soft,#8a6b55)}
.bs-quick-link:hover{border-color:currentColor}
.bs-advanced>summary{cursor:pointer;list-style:none;padding:4px 0}
.bs-advanced[open]>summary{margin-bottom:16px}
.bs-stop-list{list-style:none;margin:0 0 12px;padding:0}
.bs-stop-row{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line-soft,#efe3d2)}
.bs-stop-row.is-stopped .bs-stop-name strong{text-decoration:line-through;opacity:.7}
.bs-stop-name{display:flex;flex-direction:column;gap:2px;min-width:0}
.bs-pill{display:inline-flex;align-items:center;justify-content:center;min-width:64px;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:700}
.bs-pill.is-on{background:#e7f1e3;color:#3d6b34}
.bs-pill.is-stop{background:#f8e1dc;color:#9b3b2b}
.bs-pill.is-off{background:#efe9e1;color:#8a7a6a}
.bs-stop-btn{min-height:40px;white-space:nowrap}
.bs-stop-cat>summary{cursor:pointer;padding:10px 0;font-weight:700}
@media (max-width:560px){.bs-stop-row{grid-template-columns:1fr auto}.bs-stop-row .bs-stop-btn{grid-column:1/-1}}
/* 14 2026-11-19：枠・背景のあるボタンやリンクの文字・矢印は、上下左右とも中央にそろえる */
.mk-root :is(.mk-btn,.pkg-cta,.d22-sum-continue,.mk-d22-route-cta,.ui12-sheet-back,.mk-d22-entry-cta,button.mk-btn){align-items:center;justify-content:center;text-align:center}
/* 15 2026-11-19：料理の詳細の写真切替（1名分／トレイ入り）。丸い矢印の中の記号と、タブの文字を中央へ */
.mk-root .d22-photo-arrow{display:grid;place-items:center;padding:0;font-size:0;line-height:0}
.mk-root .d22-photo-arrow::before{content:"";display:block;width:9px;height:9px;border-top:2px solid currentColor;border-right:2px solid currentColor;box-sizing:border-box}
.mk-root .d22-photo-arrow.is-next::before{transform:translateX(-2px) rotate(45deg)}
.mk-root .d22-photo-arrow.is-previous::before{transform:translateX(2px) rotate(-135deg)}
.mk-root .d22-photo-tabs button{display:inline-flex;align-items:center;justify-content:center;text-align:center;line-height:1.2}

/* 2026-11-24 段階0：注文の確定の表示と次にやること（色は5色だけ：緑＝確定・完了、黄＝スタッフの作業待ち、青＝お客さん待ち、赤＝期限切れ・取消・お断り・異常、灰＝終わったもの） */
.mk-ostate{display:inline-block;padding:1px 8px;border-radius:999px;border:1px solid currentColor;font-weight:700}
.mk-ostate.is-green,.mk-ostate-box.is-green{color:#2f5d3a}.mk-ostate.is-yellow,.mk-ostate-box.is-yellow{color:#8a5a00}.mk-ostate.is-blue,.mk-ostate-box.is-blue{color:#2b5a87}.mk-ostate.is-red,.mk-ostate-box.is-red{color:#9c3a22}.mk-ostate.is-gray,.mk-ostate-box.is-gray{color:#6b6b6b}
.mk-ostate-box{margin:8px 0 12px;padding:10px 12px;border:1px solid currentColor;border-left-width:4px;border-radius:6px;background:#fff}
.mk-ostate-box p{margin:0;color:#2a1d14}.mk-ostate-box .mk-ostate-t strong{font-size:15px}
.mk-ostate-box.is-green .mk-ostate-t strong{color:#2f5d3a}.mk-ostate-box.is-yellow .mk-ostate-t strong{color:#8a5a00}.mk-ostate-box.is-blue .mk-ostate-t strong{color:#2b5a87}.mk-ostate-box.is-red .mk-ostate-t strong{color:#9c3a22}.mk-ostate-box.is-gray .mk-ostate-t strong{color:#6b6b6b}
.mk-onext,.mk-oreason{display:block}.mk-oreason{color:#8a5a00}
.mk-newband{position:sticky;top:0;z-index:20;display:flex;gap:12px;align-items:center;justify-content:center;padding:8px 12px;background:#2b5a87;color:#fff;font-weight:700}
.mk-newband[hidden]{display:none}.mk-newband .mk-link{color:#fff;text-decoration:underline}
