#aigoma-kitchen-app{position:relative;z-index:99999;font-family:-apple-system,BlinkMacSystemFont,"Noto Sans JP",sans-serif;max-width:1100px;margin:0 auto;padding:12px;color:#111;background:#fff;isolation:isolate}
.ak-head{display:flex;justify-content:space-between;align-items:center;gap:12px;position:sticky;top:0;background:#fff;padding:10px 0;z-index:100000}
.ak-tabs{display:flex;gap:8px}
.ak-tabs button,.ak-panel button{border:1px solid #bbb;background:#fff;border-radius:10px;padding:10px 16px;font-size:16px}
.ak-tabs button,.ak-tabs button.on,.ak-tabs .on,.ak-tabs .seatbtn{background:#fff!important;color:#111!important;border:1px solid #bbb!important;font-weight:600!important;box-shadow:none!important}
.ak-tabs button:focus,.ak-tabs button:active{background:#fff!important;color:#111!important;border:1px solid #bbb!important;box-shadow:none!important}
.ak-view-title{display:flex;justify-content:space-between;align-items:center;font-size:26px;font-weight:800;margin:8px 0 12px}.ak-view-title span{font-size:14px;color:#666}
.ak-orders{display:flex;flex-direction:column;gap:12px}.ak-order{border:0!important;border-radius:0;background:#fff}
.ak-order-head{display:flex;justify-content:flex-start;gap:8px;padding:3px 7px!important;min-height:0;align-items:center;background:#f1f1f1}.ak-order-head .seat-label{font-size:11px;line-height:1.1;font-weight:600;white-space:nowrap}.ak-order-head .time-label{font-size:8px;line-height:1;color:#999;font-weight:400;white-space:nowrap}
#aigoma-kitchen-app .ak-item{
  display:grid;
  grid-template-columns:1fr auto;
  box-sizing:border-box!important;
  border:2px solid var(--cat-color,#b8b8b8)!important;
  border-radius:8px!important;
  background:var(--cat-bg,#f3f3f3)!important;
  margin:0;
  overflow:hidden!important;
}

/* 商品名ボタン自体には枠を持たせない。カテゴリー色の枠は親.ak-itemだけに表示する。 */
#aigoma-kitchen-app .ak-item > .item-main,
#aigoma-kitchen-app .ak-item > .item-main:hover,
#aigoma-kitchen-app .ak-item > .item-main:focus,
#aigoma-kitchen-app .ak-item > .item-main:focus-visible,
#aigoma-kitchen-app .ak-item > .item-main:active,
#aigoma-kitchen-app .ak-item > .item-main:visited,
#aigoma-kitchen-app .ak-item > .item-main:disabled,
#aigoma-kitchen-app .ak-item > .item-main[aria-disabled="true"]{
  -webkit-appearance:none!important;
  appearance:none!important;
  box-sizing:border-box!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  background:var(--cat-bg,#f3f3f3)!important;
  color:var(--cat-text,#111)!important;
  -webkit-text-fill-color:var(--cat-text,#111)!important;
  opacity:1!important;
  filter:none!important;
  text-align:left;
  margin:0!important;
  padding:15px 12px;
  display:grid;
  gap:5px;
  cursor:pointer;
  font:inherit;
}

#aigoma-kitchen-app .ak-item .name,
#aigoma-kitchen-app .ak-item.is-component-cooked .name{
  font-size:20px!important;
  font-weight:700!important;
  line-height:1.25;
  opacity:1!important;
  color:var(--cat-text,#111)!important;
  -webkit-text-fill-color:var(--cat-text,#111)!important;
  filter:none!important;
}


/* 調理・数量変更によるオレンジ色の枠は使わず、常にカテゴリー色の枠を維持する。 */
#aigoma-kitchen-app .ak-item.is-cooked,
#aigoma-kitchen-app .ak-item.is-partial,
#aigoma-kitchen-app .ak-item.is-served{
  box-shadow:none!important;
  opacity:1!important;
}

.cat-おつまみ{--cat-color:#e6b94a}.cat-刺身{--cat-color:#4f9bd8}.cat-焼き物{--cat-color:#e97852}.cat-揚げ物{--cat-color:#d9a62e}.cat-一品{--cat-color:#69a95c}.cat-小鉢{--cat-color:#9870c7}.cat-ドリンク{--cat-color:#49a69b}.cat-デザート{--cat-color:#d96b9a}.cat-uncategorized{--cat-color:#b8b8b8}

/* ホール担当も塗りつぶしはカテゴリー色。厨房担当は白背景。 */
#aigoma-kitchen-app .ak-item.is-hall-owned > .item-main{
  background:var(--cat-bg,#f3f3f3)!important;
}

#aigoma-kitchen-app .ak-item .item-main .name{
  opacity:1!important;
  color:var(--cat-text,#111)!important;
  -webkit-text-fill-color:var(--cat-text,#111)!important;
}
.empty{padding:40px;text-align:center;color:#777}
.ak-modal{position:fixed!important;inset:0!important;background:rgba(0,0,0,.55);z-index:100001!important;overflow:auto;padding:20px}
.ak-panel{background:#fff;max-width:700px;margin:20px auto;border-radius:16px;padding:16px}.ak-panel-head{display:flex;justify-content:space-between;align-items:center}.ak-panel-actions{display:flex;gap:8px;align-items:center}.ak-panel-actions #showSales{background:#edf7e8;border-color:#9bc67e;color:#365f2f;font-weight:800}
.ak-seats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:15px 0}.ak-seats button{min-height:70px;font-size:20px;font-weight:700}
.ak-seats button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}.ak-seats button .seat-elapsed{min-height:1.2em;color:#555;font-size:14px;font-weight:600;line-height:1.2}
.ak-panel-actions #combineSeats{background:#f4edff;border-color:#9677bf;color:#51376f;font-weight:800}
.combined-picker{padding:14px 0 22px}.combined-picker h2{margin:8px 0}.combined-picker p{font-size:17px}.combined-seat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.combined-seat-grid label{display:flex;align-items:center;justify-content:center;gap:6px;min-height:76px;border:2px solid #c8c8c8;border-radius:12px;font-size:19px;font-weight:700}.combined-seat-grid label:has(input:checked){border-color:#8e70b9;background:#f4edff}.combined-seat-grid input{width:22px;height:22px;accent-color:#75549f}.combined-picker #combinedContinue,.combined-picker #combinedBack{width:100%;min-height:66px;font-size:20px;font-weight:700}.combined-picker #combinedContinue:disabled{opacity:.45}.combined-bill #combinedBack{margin:8px 0 18px;padding:12px}.combined-seat-items{padding:12px 4px;border-bottom:1px solid #ccc}.combined-seat-items h3{margin:0 0 8px;font-size:22px}.combined-seat-items div{padding:5px 0;font-size:18px;overflow-wrap:anywhere}@media(max-width:540px){.ak-panel-head{align-items:flex-start;gap:8px}.ak-panel-actions{flex-wrap:wrap;justify-content:flex-end}.combined-seat-grid{grid-template-columns:repeat(2,1fr)}}
.billrow{display:flex!important;justify-content:space-between;width:100%;padding:12px 0;border:0;border-bottom:1px solid #ddd;background:#fff;cursor:pointer;text-align:left;font:inherit}.billtotal{font-size:24px;font-weight:700;text-align:right;padding:18px 0}
.billrow{align-items:center;gap:10px}.bill-delete{flex-shrink:0;padding:8px 12px!important;border:1px solid #c62828!important;border-radius:6px!important;background:#fff!important;color:#c62828!important;font-size:15px!important;font-weight:700!important;cursor:pointer!important}
.addform{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px}.add-types{display:flex;gap:6px;width:100%}.add-type{flex:1}.add-type.on{background:#111;color:#fff}.addform #addName{flex:1 1 220px}.addform #addQty{width:80px}.addform #addPrice{width:110px}.addform #addDept{width:100px}.addform #addBtn{width:80px}
.unit-field{position:relative;display:inline-flex;align-items:center}.unit-field input{padding-right:28px!important}.unit-field span{position:absolute;right:9px;color:#aaa;pointer-events:none;font-size:14px}
.bill-controls{position:fixed!important;left:50%!important;bottom:18px!important;transform:translateX(-50%)!important;width:min(680px,calc(100% - 32px))!important;z-index:100004!important;margin-top:10px;padding:12px;border:2px solid #222;border-radius:10px;background:#f8f8f8;box-shadow:0 8px 30px rgba(0,0,0,.25)}
.bill-control-buttons{display:flex;gap:8px;margin-top:10px}.bill-control-buttons button{min-width:64px;font-size:20px;font-weight:700}.bill-control-buttons .danger{background:#d32f2f!important;color:#fff!important;border-color:#b71c1c!important}.bill-control-buttons .confirm{background:#111;color:#fff}
@media(max-width:700px){.ak-head{align-items:flex-start;flex-direction:column}.ak-tabs{width:100%}.ak-tabs button{flex:1}.addform #addName{flex-basis:100%}.addform #addQty,.addform #addPrice,.addform #addDept,.addform #addBtn{width:auto;flex:1}}

/* 親カードだけが枠を描画する。厨房・ホール・disabled状態で同じ外寸と枠線にする。 */
#aigoma-kitchen-app .ak-item > button.item-main,
#aigoma-kitchen-app .ak-item > button.item-main:hover,
#aigoma-kitchen-app .ak-item > button.item-main:focus,
#aigoma-kitchen-app .ak-item > button.item-main:focus-visible,
#aigoma-kitchen-app .ak-item > button.item-main:active,
#aigoma-kitchen-app .ak-item > button.item-main:visited,
#aigoma-kitchen-app .ak-item > button.item-main:disabled,
#aigoma-kitchen-app .ak-item > button.item-main[aria-disabled="true"] {
  box-sizing:border-box!important;
  border:0!important;
  outline:none!important;
  box-shadow:none!important;
}

/* v1.2.29: 席番のみ表示。時間を削除し、商品名をさらに大きく。 */
#aigoma-kitchen-app .ak-item > .item-main{
  grid-template-columns:auto minmax(0,1fr) !important;
  grid-template-rows:1fr !important;
  align-items:center !important;
  column-gap:10px !important;
  padding:10px 12px !important;
}
#aigoma-kitchen-app .ak-item .item-meta{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  min-width:28px !important;
  line-height:1 !important;
  white-space:nowrap !important;
}
#aigoma-kitchen-app .ak-item .item-meta .seat-label{
  font-size:12px !important;
  line-height:1.1 !important;
  font-weight:700 !important;
}
#aigoma-kitchen-app .ak-item .name{
  font-size:28px !important;
  line-height:1.2 !important;
  min-width:0 !important;
}


/* 注文画面と同じカテゴリー配色。余計な灰色を使わず、商品カードも淡いカテゴリー色で統一。 */
#aigoma-kitchen-app .ak-item,
#aigoma-kitchen-app .ak-item > .item-main,
#aigoma-kitchen-app .ak-item > .item-main:hover,
#aigoma-kitchen-app .ak-item > .item-main:focus,
#aigoma-kitchen-app .ak-item > .item-main:focus-visible,
#aigoma-kitchen-app .ak-item > .item-main:active,
#aigoma-kitchen-app .ak-item > .item-main:disabled{
  background:var(--cat-bg,#f3f3f3)!important;
}
#aigoma-kitchen-app .ak-item{border:2px solid var(--cat-color,#cfcfcf)!important}
#aigoma-kitchen-app .ak-item.is-setmeal-main{border:3px solid #111!important}
#aigoma-kitchen-app .ak-item.is-hall-owned > .item-main{background:var(--cat-bg,#f3f3f3)!important}
#aigoma-kitchen-app button.leave-seat,
#aigoma-kitchen-app button.leave-seat:hover,
#aigoma-kitchen-app button.leave-seat:focus,
#aigoma-kitchen-app button.leave-seat:focus-visible,
#aigoma-kitchen-app button.leave-seat:active{background:#d9534f!important;background-color:#d9534f!important;color:#fff!important;border-color:#d9534f!important;box-shadow:none!important;opacity:1!important;filter:none!important}

/* お客様に見せる会計画面用 */
#aigoma-kitchen-app .bill-total-large{
  margin:20px 0 16px!important;
  padding:18px 12px!important;
  border:3px solid #222!important;
  border-radius:12px!important;
  background:#fff!important;
  text-align:center!important;
  font-size:30px!important;
  font-weight:800!important;
  line-height:1.25!important;
}
#aigoma-kitchen-app .bill-total-large strong{
  display:block!important;
  margin-top:6px!important;
  font-size:52px!important;
  line-height:1.1!important;
  letter-spacing:.02em!important;
}
#aigoma-kitchen-app #ak-checkout-alert{
  display:none;
  position:sticky!important;
  top:0!important;
  z-index:100003!important;
  width:100%!important;
  box-sizing:border-box!important;
  margin:0 0 16px!important;
  padding:18px 20px!important;
  border:4px solid #b71c1c!important;
  border-radius:12px!important;
  background:#ffebee!important;
  color:#8b0000!important;
  text-align:center!important;
  font-size:28px!important;
  font-weight:900!important;
  line-height:1.35!important;
  cursor:pointer!important;
  box-shadow:0 4px 14px rgba(183,28,28,.3)!important;
}
#aigoma-kitchen-app #ak-checkout-alert.show{display:block!important}
#aigoma-kitchen-app #ak-checkout-alert>strong{
  display:block!important;
  margin-bottom:8px!important;
}
#aigoma-kitchen-app #ak-checkout-alert .ak-checkout-chip{
  display:block!important;
  width:100%!important;
  box-sizing:border-box!important;
  margin:8px 0 0!important;
  padding:10px 12px!important;
  border:2px solid #d9534f!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#8b0000!important;
  text-align:center!important;
}
@keyframes ak-checkout-pulse{from{background:#ffebee}to{background:#ffcdd2}}
#aigoma-kitchen-app #ak-checkout-alert.in-seat-modal{
  position:sticky!important;
  top:0!important;
  z-index:100005!important;
  width:min(700px,100%)!important;
  margin:0 auto 10px!important;
  flex:0 0 auto!important;
}
@media(max-width:700px){
  #aigoma-kitchen-app .bill-total-large{font-size:26px!important}
  #aigoma-kitchen-app .bill-total-large strong{font-size:44px!important}
  #aigoma-kitchen-app #ak-checkout-alert{font-size:23px!important;padding:16px 12px!important}
}

/* v1.5.87: 座席履歴では、定食本体と選択小鉢を一つの枠にまとめる。 */
#aigoma-kitchen-app .bill-setmeal-history{
  overflow:hidden;
  margin:10px 0;
  border:2px solid #b9b9b9;
  border-radius:16px;
  background:#fff;
}
#aigoma-kitchen-app .bill-setmeal-history .billrow,
#aigoma-kitchen-app .bill-setmeal-history .bill-unit{
  margin:0!important;
  border:0!important;
  border-bottom:1px solid #d8d8d8!important;
  border-radius:0!important;
}
#aigoma-kitchen-app .bill-setmeal-history > :last-child{
  border-bottom:0!important;
}
#aigoma-kitchen-app .bill-setmeal-history .bill-setmeal-side{
  padding-left:22px!important;
  background:#f6f6f6!important;
}
#aigoma-kitchen-app .bill-setmeal-history.bill-setmeal-compact .billrow,
#aigoma-kitchen-app .bill-setmeal-history.bill-setmeal-compact .bill-unit{
  min-height:70px;
  padding:14px 16px!important;
}
#aigoma-kitchen-app .bill-setmeal-history.bill-setmeal-compact .bill-unit-name,
#aigoma-kitchen-app .bill-setmeal-history.bill-setmeal-compact .billrow > span:first-child{
  line-height:1.65;
}

/* v1.5.89: 会計時に確認する預かり金額とお釣りを大きく表示。 */
#aigoma-kitchen-app .cash-panel label{
  font-size:40px!important;
  line-height:1.35!important;
}
#aigoma-kitchen-app #changeAmount{
  min-height:54px!important;
  font-size:40px!important;
  line-height:1.35!important;
}

/* v1.2.42: 定食から分かれた小鉢。定食名を小さく添え、小鉢名を大きく表示する。 */
#aigoma-kitchen-app .ak-item .name .setmeal-label{
  display:block!important;
  font-size:13px!important;
  font-weight:600!important;
  line-height:1.3!important;
  color:#555!important;
  -webkit-text-fill-color:#555!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  margin-bottom:2px!important;
}
#aigoma-kitchen-app .ak-item .pending-total{
  display:inline-block!important;
  margin-left:.35em!important;
  padding:.08em .38em!important;
  border:2px solid currentColor!important;
  border-radius:.35em!important;
  font-size:.62em!important;
  font-weight:800!important;
  line-height:1.25!important;
  white-space:nowrap!important;
  vertical-align:middle!important;
}

/* v1.2.43: 定食グループ（メイン＋ごはんの量＋小鉢）を1枚のカードにまとめて表示。
   行をタップすると、その行だけが消える（advance/completeは行ごと）。 */
#aigoma-kitchen-app .ak-item.setmeal-group{
  display:flex!important;
  flex-direction:column!important;
  grid-template-columns:none!important;
  overflow:hidden!important;
}
#aigoma-kitchen-app .ak-item.setmeal-group .group-row{
  -webkit-appearance:none!important;
  appearance:none!important;
  box-sizing:border-box!important;
  width:100%;
  border:0!important;
  border-bottom:1px solid rgba(0,0,0,.15)!important;
  border-radius:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
  color:var(--cat-text,#111)!important;
  -webkit-text-fill-color:var(--cat-text,#111)!important;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  align-items:center!important;
  column-gap:10px!important;
  text-align:left!important;
  font:inherit;
  padding:12px 12px;
  cursor:pointer;
}
#aigoma-kitchen-app .ak-item.setmeal-group .group-row:last-child{border-bottom:0!important}
#aigoma-kitchen-app .ak-item.setmeal-group .group-row.group-main{background:rgba(0,0,0,.05)!important}
#aigoma-kitchen-app .ak-item.setmeal-group .group-row .row-name{
  font-size:20px!important;
  font-weight:700!important;
  line-height:1.3!important;
  min-width:0;
}
#aigoma-kitchen-app .ak-item.setmeal-group .group-row.group-main .row-name{font-size:24px!important}
#aigoma-kitchen-app .ak-item.setmeal-group .group-row .item-meta{
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
  min-width:28px!important;line-height:1!important;white-space:nowrap!important;
}
#aigoma-kitchen-app .ak-item.setmeal-group .group-row .item-meta .seat-label{font-size:12px!important;font-weight:700!important;line-height:1.1!important}

/* v1.5.77: 席番号を商品名と同じ大きさにし、支配者担当を左端の黄色い印で強調。 */
#aigoma-kitchen-app .ak-item .item-meta .seat-label{
  font-size:28px!important;
  line-height:1.2!important;
  font-weight:700!important;
}
#aigoma-kitchen-app .ak-item.setmeal-group .group-row.group-main .item-meta .seat-label{
  font-size:24px!important;
  line-height:1.2!important;
}
#aigoma-kitchen-app .ak-item.is-hall-owned{
  position:relative!important;
  padding-left:36px!important;
}
#aigoma-kitchen-app .ak-item.is-hall-owned::before{
  content:'支';
  position:absolute;
  z-index:2;
  left:0;
  top:0;
  bottom:0;
  width:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f4cf57;
  color:#111;
  font-size:18px;
  font-weight:900;
  line-height:1;
  border-right:2px solid #c49c21;
  box-sizing:border-box;
  pointer-events:none;
}

/* v1.5.0: 座席表の商品タップ編集 */
#aigoma-kitchen-app .billrow{appearance:none!important;-webkit-appearance:none!important;align-items:center!important;gap:10px!important;color:#111!important;font:inherit!important;cursor:pointer!important;border-bottom:1px solid #ddd!important;text-align:left!important}
#aigoma-kitchen-app .billrow-qty{font-weight:700;white-space:nowrap}
#aigoma-kitchen-app .ak-bill-edit-modal{z-index:100006!important}
#aigoma-kitchen-app .ak-bill-calc{width:min(420px,100%);max-height:95vh;overflow-y:auto;background:#fff;border-radius:18px 18px 0 0;padding:14px;box-sizing:border-box}
#aigoma-kitchen-app .ak-bill-calc-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
#aigoma-kitchen-app .ak-bill-calc-head #billCalcClose{background:#edf7e8!important;border:1px solid #9bc67e!important;color:#47713a!important;font-weight:700;border-radius:9px;padding:7px 12px}
#aigoma-kitchen-app .ak-bill-calc-display{height:58px;border:1px solid #ccc;border-radius:10px;font-size:30px;text-align:center;line-height:58px;margin-bottom:10px;background:#fafafa}
#aigoma-kitchen-app .ak-bill-calc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
#aigoma-kitchen-app .ak-bill-calc-grid button{height:54px;font-size:22px;border:1px solid #bbb;background:#fff;border-radius:9px}
#aigoma-kitchen-app .ak-bill-calc-actions{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;margin-top:10px}
#aigoma-kitchen-app .ak-bill-calc-actions button{height:48px;font-size:17px;border:1px solid #bbb;background:#fff;border-radius:9px;font-weight:700}
#aigoma-kitchen-app .ak-bill-calc-actions .danger{background:#fff0f0!important;border-color:#d9534f!important;color:#a12622!important}
#aigoma-kitchen-app .ak-bill-calc-actions .unprepared{background:#fff4cf!important;border-color:#e7c25c!important;color:#7a5a00!important}
#aigoma-kitchen-app .ak-bill-side-restore{display:grid;gap:8px;margin-top:14px;max-height:35vh;overflow:auto}
#aigoma-kitchen-app .ak-bill-side-restore button{min-height:48px;padding:8px;border:1px solid #d58aab;border-radius:9px;background:#fff0f4;color:#713b4c;font-size:16px;text-align:left}
#aigoma-kitchen-app .ak-bill-calc-actions #billCalcPlus{background:#e2f5fb!important;color:#0d6680!important;border-color:#63b9d3!important}
#aigoma-kitchen-app .ak-bill-calc-actions .confirm{background:#fff4cf!important;color:#7a5a00!important;border-color:#e7c25c!important}

/* v1.5.5: 会計依頼はタップすると通知から消える */
#aigoma-kitchen-app .ak-checkout-chip{border:0;background:transparent;color:inherit;font:inherit;font-weight:700;cursor:pointer;padding:2px 6px;border-radius:8px;}
#aigoma-kitchen-app .ak-checkout-chip:active{opacity:.6;}

/* v1.5.64: ランチ個別会計と支払方法 */
#aigoma-kitchen-app .bill-payment{padding-bottom:0!important}
#aigoma-kitchen-app .individual-checkout{
  display:block;width:100%;margin:8px 0 16px;padding:13px 12px;
  border:2px solid #8f75b5;border-radius:10px;background:#eee8f8;color:#563d78;
  font-size:20px;font-weight:800;
}
#aigoma-kitchen-app .individual-checkout.on{background:#563d78;color:#fff}
#aigoma-kitchen-app .bill-unit{
  display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:8px;
  min-height:54px;padding:8px 10px;border-bottom:1px solid #ddd;background:#fff;
}
#aigoma-kitchen-app .bill-unit-check{width:25px;height:25px;margin:0}
#aigoma-kitchen-app .bill-unit-name{font-size:18px;line-height:1.4}
#aigoma-kitchen-app .bill-unit-price{font-size:17px;white-space:nowrap}
#aigoma-kitchen-app .bill-unit-data{display:none}
#aigoma-kitchen-app .bill-unit.is-paid{
  grid-template-columns:minmax(0,1fr) auto;color:#aaa;background:#f6f6f6;
}
#aigoma-kitchen-app .billrow.is-paid{color:#aaa!important;background:#f6f6f6!important;cursor:default!important}
#aigoma-kitchen-app .cash-panel{
  display:grid!important;grid-template-columns:1fr!important;gap:7px!important;margin-top:18px!important;
}
#aigoma-kitchen-app .cash-panel label{display:block!important;font-size:20px!important}
#aigoma-kitchen-app .cash-panel input{display:block!important;width:100%!important;box-sizing:border-box!important;margin:0!important}
#aigoma-kitchen-app #changeAmount{font-size:20px!important;min-height:30px!important}
#aigoma-kitchen-app .payment-buttons{
  display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:22px;
}
#aigoma-kitchen-app .payment-buttons button{
  min-height:58px;border:2px solid #555;border-radius:10px;background:#fff;
  color:#111;font-size:19px;font-weight:800;
}
#aigoma-kitchen-app .payment-buttons button[data-pay-method="cash"]{background:#fff4cf;border-color:#e7c25c;color:#6e5200}
#aigoma-kitchen-app .payment-buttons button[data-pay-method="qr"]{background:#edf7e8;border-color:#9bc67e;color:#47713a}
#aigoma-kitchen-app .payment-buttons button[data-pay-method="card"]{background:#e2f5fb;border-color:#63b9d3;color:#0d6680}
#aigoma-kitchen-app .payment-print-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:24px 0 4px}
#aigoma-kitchen-app .payment-print-actions button{min-height:62px;border:2px solid #63b9d3;border-radius:10px;background:#e2f5fb;color:#0d6680;font-size:21px;font-weight:700}
#aigoma-kitchen-app .leave-gap{height:3.2em}
#aigoma-kitchen-app .add-gap{height:1.6em}
#aigoma-kitchen-app .leave-seat{display:block!important;width:100%!important}

/* 厨房は赤、ホールは黄色。文字は黒で統一する。 */
#aigoma-kitchen-app .ak-tabs button[data-tab="kitchen"]{
  border:2px solid #d9534f!important;
  color:#111!important;
  background:#fde5e5!important;
}
#aigoma-kitchen-app .ak-tabs button[data-tab="hall"]{
  border:2px solid #e7c25c!important;
  color:#111!important;
  background:#fff4cf!important;
}
#aigoma-kitchen-app .ak-tabs button[data-tab="kitchen"].on{
  background:#fde5e5!important;
  color:#111!important;
  box-shadow:0 0 0 2px #f1b2af!important;
}
#aigoma-kitchen-app .ak-tabs button[data-tab="hall"].on{
  background:#fff4cf!important;
  color:#111!important;
  box-shadow:0 0 0 2px #f1da8d!important;
}
#aigoma-kitchen-app .ak-tabs .seatbtn{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  border:2px solid #63b9d3!important;
  color:#111!important;
  background:#e2f5fb!important;
  font-weight:800!important;
}
#aigoma-kitchen-app .ak-tabs .seatbtn .role-icon-seat{
  width:30px!important;
  height:30px!important;
  flex:0 0 30px!important;
}
#aigoma-kitchen-app .ak-tabs .seatbtn:active,
#aigoma-kitchen-app .ak-tabs .seatbtn:focus-visible{
  box-shadow:0 0 0 2px #a9dce9!important;
}
#aigoma-kitchen-app .ak-tabs button[data-tab]{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
}
#aigoma-kitchen-app .role-icon{
  display:inline-flex!important;
  width:30px!important;
  height:30px!important;
  flex:0 0 30px!important;
}
#aigoma-kitchen-app .role-icon img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
}
#aigoma-kitchen-app .role-icon-seal{width:38px!important;flex-basis:38px!important}
#aigoma-kitchen-app .role-text{color:#111!important}
#aigoma-kitchen-app .ak-view-title .ak-view-role{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  color:#111!important;
  font-size:26px!important;
}
#aigoma-kitchen-app .ak-view-title .ak-view-role .role-icon{
  width:36px!important;
  height:36px!important;
  flex-basis:36px!important;
}
#aigoma-kitchen-app .ak-view-title .ak-view-role .role-icon-seal{
  width:46px!important;
  flex-basis:46px!important;
}
#aigoma-kitchen-app:has(.ak-tabs button[data-tab="kitchen"].on) .ak-view-title{
  color:#111!important;
  border-bottom:4px solid #d9534f!important;
  padding-bottom:7px!important;
}
#aigoma-kitchen-app:has(.ak-tabs button[data-tab="hall"].on) .ak-view-title{
  color:#111!important;
  border-bottom:4px solid #e7c25c!important;
  padding-bottom:7px!important;
}
#aigoma-kitchen-app .bill-bottom-space{height:1.6em}

/* v1.5.72: 当日の売り上げ集計 */
#aigoma-kitchen-app .sales-loading{padding:48px 12px;text-align:center;color:#666;font-size:18px}
#aigoma-kitchen-app .sales-summary{margin:22px 0 8px;padding:20px;border:2px solid #222;border-radius:16px;background:#fff;color:#111}
#aigoma-kitchen-app .sales-date{text-align:right;color:#666;font-size:14px}
#aigoma-kitchen-app .sales-summary h2{margin:2px 0 18px;text-align:center;font-size:25px}
#aigoma-kitchen-app .sales-total{display:grid;grid-template-columns:1fr auto;gap:3px 12px;align-items:end;padding:18px;border:3px solid #222;border-radius:14px}
#aigoma-kitchen-app .sales-total span{font-size:20px;font-weight:800}
#aigoma-kitchen-app .sales-total strong{font-size:36px;line-height:1;text-align:right}
#aigoma-kitchen-app .sales-total small{grid-column:1/-1;text-align:right;color:#555;font-size:15px}
#aigoma-kitchen-app .sales-methods{display:grid;gap:10px;margin-top:18px}
#aigoma-kitchen-app .sales-row{display:grid;grid-template-columns:1fr auto auto;gap:12px;align-items:center;padding:14px;border:2px solid;border-radius:12px;color:#111}
#aigoma-kitchen-app .sales-row b{font-size:19px}.sales-row span{font-size:16px}.sales-row strong{min-width:110px;text-align:right;font-size:20px}
#aigoma-kitchen-app .sales-cash{background:#fff4cf;border-color:#e7c25c}
#aigoma-kitchen-app .sales-qr{background:#edf7e8;border-color:#9bc67e}
#aigoma-kitchen-app .sales-card{background:#e2f5fb;border-color:#63b9d3}
#aigoma-kitchen-app .sales-note{margin:16px 2px 0;color:#666;font-size:13px;line-height:1.6}
@media(max-width:480px){#aigoma-kitchen-app .sales-summary{padding:14px}#aigoma-kitchen-app .sales-row{grid-template-columns:1fr auto;gap:4px 10px}#aigoma-kitchen-app .sales-row strong{grid-column:1/-1;text-align:right}#aigoma-kitchen-app .sales-total strong{font-size:31px}}

/* v1.5.54: サイト名が出るブラウザ標準警告を使わない専用確認画面 */
.ak-custom-dialog{position:fixed;inset:0;z-index:100020;background:rgba(0,0,0,.58);display:flex;align-items:flex-end;justify-content:center;padding:0}
.ak-custom-dialog-box{box-sizing:border-box;width:min(700px,100%);background:#fff;border-radius:18px 18px 0 0;padding:24px 20px calc(20px + env(safe-area-inset-bottom));box-shadow:0 -8px 30px rgba(0,0,0,.2)}
.ak-custom-dialog-message{font-size:22px;font-weight:700;line-height:1.55;white-space:pre-wrap}
.ak-custom-dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}
.ak-custom-dialog-actions button{min-width:120px;min-height:48px;border:1px solid #9bc67e;border-radius:10px;background:#edf7e8;color:#47713a;font-size:17px;font-weight:700}
.ak-custom-dialog-actions button.confirm{background:#fff4cf;border-color:#e7c25c;color:#7a5a00}
.ak-auto-close-dialog{align-items:center!important;padding:20px!important}
.ak-auto-close-dialog .ak-custom-dialog-box{width:min(520px,100%)!important;border-radius:18px!important;padding:34px 24px!important;text-align:center!important}

/* v1.5.78: 預かり金額テンキー、手入力欄の大型化。 */
#aigoma-kitchen-app .ak-cash-calc{
  box-sizing:border-box;
  width:min(440px,100%);
  margin:auto auto 0;
  padding:16px;
  border-radius:18px 18px 0 0;
  background:#fff;
}
#aigoma-kitchen-app .ak-cash-calc-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;font-size:20px}
#aigoma-kitchen-app .ak-cash-calc-head button{min-height:44px;padding:7px 14px;border:1px solid #9bc67e;border-radius:9px;background:#edf7e8;color:#47713a;font-size:16px;font-weight:700}
#aigoma-kitchen-app .ak-cash-calc-display{height:68px;margin-bottom:10px;border:2px solid #222;border-radius:10px;background:#fafafa;text-align:right;padding:0 14px;box-sizing:border-box;font-size:32px;font-weight:800;line-height:64px}
#aigoma-kitchen-app .ak-cash-calc-change{margin:4px 0 12px;font-size:28px;font-weight:800;text-align:center}
#aigoma-kitchen-app .ak-cash-pay{display:block;width:100%;min-height:62px;margin-top:12px;border:2px solid #e7c25c;border-radius:12px;background:#fff4cf;color:#6e5200;font-size:25px;font-weight:800}
#aigoma-kitchen-app .ak-cash-pay:disabled{opacity:.45}
#aigoma-kitchen-app .ak-cash-calc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}
#aigoma-kitchen-app .ak-cash-calc-grid button{height:62px;border:1px solid #bbb;border-radius:10px;background:#fff;font-size:25px;font-weight:700}
#aigoma-kitchen-app .ak-cash-calc-actions{display:grid;grid-template-columns:1fr 2fr;gap:9px;margin-top:10px}
#aigoma-kitchen-app .ak-cash-calc-actions.ak-cash-payment{grid-template-columns:1fr}
#aigoma-kitchen-app .ak-cash-calc-actions button{height:56px;border:1px solid #bbb;border-radius:10px;background:#fff;font-size:20px;font-weight:800}
#aigoma-kitchen-app .ak-cash-calc-actions .confirm{background:#fff4cf;border-color:#e7c25c;color:#6e5200}
#aigoma-kitchen-app #cashReceived{cursor:pointer;background:#fff!important}

#aigoma-kitchen-app .addform{gap:14px!important;margin-top:20px!important}
#aigoma-kitchen-app .add-types{gap:10px!important}
#aigoma-kitchen-app .add-types .add-type{min-height:82px!important;padding:12px 8px!important;font-size:27px!important;font-weight:700!important;border-radius:12px!important}
#aigoma-kitchen-app .addform #addName{flex-basis:100%!important;min-height:76px!important;padding:10px 14px!important;box-sizing:border-box!important;font-size:27px!important}
#aigoma-kitchen-app .addform .unit-field{flex:1 1 calc(50% - 7px)!important}
#aigoma-kitchen-app .addform #addQty,
#aigoma-kitchen-app .addform #addPrice{width:100%!important;min-height:76px!important;padding:10px 42px 10px 14px!important;box-sizing:border-box!important;font-size:27px!important}
#aigoma-kitchen-app .addform .unit-field span{right:14px!important;font-size:22px!important}
#aigoma-kitchen-app .addform #addDept,
#aigoma-kitchen-app .addform #addBtn{flex:1 1 calc(50% - 7px)!important;width:auto!important;min-height:76px!important;padding:10px!important;box-sizing:border-box!important;font-size:27px!important;border-radius:12px!important}

/* v1.5.79: 合計の見出しはそのまま、金額だけを従来の2倍にする。 */
#aigoma-kitchen-app .bill-total-large strong,
#aigoma-kitchen-app #billTotalValue{
  font-size:104px!important;
  line-height:1!important;
}
@media(max-width:700px){
  #aigoma-kitchen-app .bill-total-large strong,
  #aigoma-kitchen-app #billTotalValue{font-size:88px!important}
}

/* v1.5.90: 必ず最後に適用し、「お預かり金額」「お釣り」を従来の2倍にする。 */
#aigoma-kitchen-app .bill-payment .cash-panel > label{
  font-size:40px!important;
  line-height:1.35!important;
}
#aigoma-kitchen-app .bill-payment .cash-panel > #changeAmount{
  min-height:54px!important;
  font-size:40px!important;
  line-height:1.35!important;
}
#aigoma-kitchen-app .bill-payment .cash-panel > #cashReceived{
  min-height:82px!important;
  padding:10px 16px!important;
  font-size:40px!important;
  line-height:1.35!important;
}

/* v1.5.100: タブレットでは預かり金額の見出しと入力欄を横一列にする。 */
@media (min-width:701px){
  #aigoma-kitchen-app .bill-payment .cash-panel{
    grid-template-columns:max-content minmax(260px,1fr)!important;
    align-items:center!important;
    column-gap:20px!important;
  }
  #aigoma-kitchen-app .bill-payment .cash-panel > label{
    margin:0!important;
    white-space:nowrap!important;
  }
  #aigoma-kitchen-app .bill-payment .cash-panel > #cashReceived{
    width:100%!important;
    min-width:0!important;
  }
  #aigoma-kitchen-app .bill-payment .cash-panel > #changeAmount{
    grid-column:1 / -1!important;
  }
}

/* v1.5.153: 会計テンキーを中央に置き、お釣りの金額を大きくする。 */
#aigoma-kitchen-app .ak-bill-edit-modal.is-cash-keypad{
  display:flex!important;align-items:center!important;justify-content:center!important;
  padding:12px!important;overflow:hidden!important;
}
#aigoma-kitchen-app .ak-bill-edit-modal.is-cash-keypad .ak-cash-calc{
  flex:0 1 440px;margin:auto!important;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);
  overflow-y:auto;overscroll-behavior:contain;border-radius:18px!important;
}
#aigoma-kitchen-app .ak-bill-edit-modal.is-cash-keypad .ak-cash-calc-change{
  font-size:64px!important;line-height:1.15!important;overflow-wrap:anywhere;
}

/* v1.5.157: 会計後の退店確認に印刷操作を並べる。 */
.ak-payment-finish .ak-custom-dialog-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.ak-payment-finish .ak-custom-dialog-actions button{min-width:0;width:100%}

/* v1.5.159: 定食の一口ドリンクは小鉢と同じ独立行で表示する。 */
#aigoma-kitchen-app .ak-item.cat-セットドリンク.is-hall-owned{padding-left:0!important}
#aigoma-kitchen-app .ak-item.cat-セットドリンク.is-hall-owned::before{display:none!important}

/* v1.5.167: 注文モニターの文字を1.5倍にする。 */
#aigoma-kitchen-app .ak-head > div:first-child{font-size:24px!important}
#aigoma-kitchen-app .ak-tabs button{font-size:24px!important}
#aigoma-kitchen-app .ak-view-title{font-size:39px!important}
#aigoma-kitchen-app .ak-view-title span{font-size:21px!important}
#aigoma-kitchen-app .ak-view-title .ak-view-role{font-size:39px!important}
#aigoma-kitchen-app .ak-item .name,
#aigoma-kitchen-app .ak-item.is-component-cooked .name,
#aigoma-kitchen-app .ak-item .item-meta .seat-label{font-size:42px!important}
#aigoma-kitchen-app .ak-item .name{overflow-wrap:anywhere!important}
#aigoma-kitchen-app .ak-item .name .setmeal-label{font-size:19.5px!important}
#aigoma-kitchen-app .ak-item.is-hall-owned::before{font-size:27px}
#aigoma-kitchen-app .ak-item.setmeal-group .group-row{font-size:30px!important}
#aigoma-kitchen-app .ak-item.setmeal-group .group-row.group-main .row-name,
#aigoma-kitchen-app .ak-item.setmeal-group .group-row.group-main .item-meta .seat-label{font-size:36px!important}
#aigoma-kitchen-app .ak-item.setmeal-group .group-row .item-meta .seat-label{font-size:18px!important}
#aigoma-kitchen-app .ak-orders > .empty{font-size:24px!important}

/* Native, prepared print links keep printing attached to the user's tap. */
.ak-custom-dialog-actions a.ak-direct-receipt,#aigoma-kitchen-app .payment-print-actions a.ak-direct-receipt{box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-height:48px;min-width:120px;padding:8px 14px;border:1px solid #9bc67e;border-radius:10px;background:#edf7e8;color:#47713a;font-size:17px;font-weight:700;text-decoration:none;cursor:pointer}
.ak-payment-finish .ak-custom-dialog-actions a.ak-direct-receipt{min-width:0;width:100%}
#aigoma-kitchen-app .payment-print-actions a.ak-direct-receipt{min-height:62px;border:2px solid #63b9d3;background:#e2f5fb;color:#0d6680;font-size:21px}
a.ak-direct-receipt[aria-disabled="true"]{opacity:.5;cursor:wait}

/* v1.5.194: 支配者担当は席番号の黄色い背景で表示する。 */
#aigoma-kitchen-app .ak-item.is-hall-owned{padding-left:0!important}
#aigoma-kitchen-app .ak-item.is-hall-owned::before{content:none!important;display:none!important}
#aigoma-kitchen-app .ak-item.is-hall-owned .item-meta .seat-label{display:inline-block;background:#f4cf57!important;color:#111!important;border-radius:6px;padding:2px 6px;box-sizing:border-box}

/* v1.5.199: meal side dishes show their product's assigned role. */
#aigoma-kitchen-app .ak-item.is-kitchen-side-owned .item-meta .seat-label{display:inline-block;background:#d9534f!important;color:#111!important;border:1px solid #d9534f;border-radius:6px;padding:2px 6px;box-sizing:border-box}

/* v1.5.201: retain the cash handover amounts until departure. */
.ak-paid-cash{padding:12px 14px;margin:12px 0;border:1px solid #e7c25c;border-radius:10px;background:#fff4cf;color:#222;font-size:20px;line-height:1.7;text-align:left}
.ak-paid-cash>div{display:flex;justify-content:space-between;gap:16px}.ak-paid-cash strong{white-space:nowrap}
#aigoma-kitchen-app .cash-panel[hidden]{display:none!important}

/* v1.5.215: cash amounts at three times their previous size. */
#aigoma-kitchen-app #cashReceived,
#aigoma-kitchen-app .bill-payment .cash-panel > #cashReceived{font-size:120px!important;height:auto!important;min-height:160px!important;line-height:1.15!important;max-width:100%;box-sizing:border-box}
#aigoma-kitchen-app #changeAmount{font-size:20px!important}
#aigoma-kitchen-app #changeAmount .ak-cash-change-value{display:block;font-size:120px!important;line-height:1.15;overflow-wrap:anywhere}
#aigoma-kitchen-app .ak-bill-edit-modal.is-cash-keypad:has(.ak-cash-amounts-large) .ak-cash-calc{flex-basis:1000px;width:100%;min-width:0}
#aigoma-kitchen-app .ak-cash-amounts-large .ak-cash-calc-display{font-size:96px!important;line-height:1.15!important;height:auto;min-height:120px;padding:10px 14px;overflow-wrap:anywhere}
#aigoma-kitchen-app .ak-bill-edit-modal.is-cash-keypad .ak-cash-amounts-large .ak-cash-calc-change{font-size:28px!important}
#aigoma-kitchen-app .ak-cash-amounts-large .ak-cash-change-value{display:block;font-size:192px!important;line-height:1.15;overflow-wrap:anywhere}
.ak-paid-cash>div{flex-wrap:wrap;align-items:baseline}
.ak-paid-cash strong{font-size:60px;line-height:1.2;white-space:normal;overflow-wrap:anywhere;max-width:100%}

/* Fill the chef/manager button height with the role artwork. */
#aigoma-kitchen-app .ak-tabs button[data-tab]{
  padding:0 10px 0 2px!important;
  min-height:54px!important;
  gap:4px!important;
}
#aigoma-kitchen-app .ak-tabs button[data-tab] .role-icon{
  width:50px!important;height:50px!important;flex:0 0 50px!important;
}
#aigoma-kitchen-app .ak-view-title .ak-view-role .role-icon{
  width:50px!important;height:50px!important;flex:0 0 50px!important;
}
