:root {
  --bg: #f4f1ee; --surface: #fff; --ink: #221c24; --muted: #7a7180; --line: #e7e1e4;
  --brand: #4a2545; --brand-soft: #f3e9f1; --accent: #d9534a; --ok: #1f8a5f; --ok-soft: #e4f4ec; --warn: #b7791f; --warn-soft: #fbf1dc;
  --radius: 14px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 15px/1.6 -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", "Yu Gothic UI", sans-serif; -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
input, select { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }

.topbar { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; padding: 10px 16px; background: var(--brand); color: #fff; }
.topbar-title { font-weight: 700; }
.badge-fake { margin-left: 10px; padding: 2px 8px; border-radius: 99px; background: rgba(255,255,255,.18); font-size: 12px; font-weight: 500; }
.mode-switch { display: flex; background: rgba(255,255,255,.14); border-radius: 99px; padding: 3px; }
.mode-switch button { padding: 5px 14px; border-radius: 99px; font-size: 13px; color: #fff; }
.mode-switch button.on { background: #fff; color: var(--brand); font-weight: 700; }

.stage { display: grid; gap: 24px; padding: 16px; justify-content: center; align-items: start; }

/* お客様の画面 */
.phone { display: flex; flex-direction: column; width: min(390px, 100vw - 32px); height: min(820px, 100vh - 32px); min-height: 560px; background: var(--surface); border-radius: 28px; box-shadow: 0 12px 40px rgba(34,28,36,.16); overflow: hidden; border: 1px solid var(--line); }
.phone-status { display: flex; justify-content: space-between; padding: 8px 18px 4px; font-size: 12px; color: var(--muted); }
.screen { flex: 1; overflow-y: auto; padding: 0 16px 20px; }
.tabbar { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); background: #fff; }
.tabbar button { padding: 8px 0 10px; font-size: 11px; color: var(--muted); display: grid; gap: 2px; justify-items: center; position: relative; }
.tabbar button.on { color: var(--brand); font-weight: 700; }
.tabbar svg { width: 22px; height: 22px; }
.dot { position: absolute; top: 6px; right: calc(50% - 16px); min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px; background: var(--accent); color: #fff; font-size: 10px; line-height: 16px; }

.page-head { display: flex; align-items: center; gap: 8px; padding: 10px 0 12px; position: sticky; top: 0; background: #fff; z-index: 2; }
.page-head h1 { font-size: 18px; flex: 1; }
.back { width: 32px; height: 32px; border-radius: 99px; background: var(--bg); font-size: 18px; }
.section-title { display: flex; justify-content: space-between; align-items: baseline; margin: 20px 0 8px; font-size: 15px; font-weight: 700; }
.section-title small { font-weight: 400; color: var(--muted); font-size: 11px; }
.link { color: var(--brand); font-size: 13px; text-decoration: underline; }
.muted { color: var(--muted); font-size: 12px; }

.member-card { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: var(--radius); background: linear-gradient(135deg, var(--brand), #7a3c63); color: #fff; }
.member-card b { font-size: 20px; }
.member-card .muted { color: rgba(255,255,255,.75); }
.next-booking { margin-top: 10px; padding: 12px 14px; border-radius: var(--radius); background: var(--ok-soft); color: var(--ok); font-size: 13px; font-weight: 700; }

.hscroll { display: flex; gap: 10px; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 6px; scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }
.mini { flex: 0 0 96px; text-align: left; }
.mini .avatar { width: 96px; height: 120px; }
.mini b { display: block; font-size: 13px; margin-top: 4px; }
.avatar { display: block; border-radius: 12px; overflow: hidden; background: var(--bg); }
.avatar.round { border-radius: 99px; }

.status { display: inline-block; padding: 1px 8px; border-radius: 99px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.status.now { background: var(--ok-soft); color: var(--ok); }
.status.busy { background: var(--warn-soft); color: var(--warn); }
.status.later, .status.off, .status.closed { background: var(--bg); color: var(--muted); }
.tag { display: inline-block; padding: 1px 8px; margin: 2px 4px 0 0; border-radius: 99px; background: var(--brand-soft); color: var(--brand); font-size: 11px; }
.tag.new { background: var(--accent); color: #fff; }
.tag.ai { background: #e8eefc; color: #2c4fa3; }

.row { display: flex; gap: 12px; align-items: center; width: 100%; padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; }
.row .avatar { width: 52px; height: 52px; flex: none; }
.row .grow { flex: 1; min-width: 0; }
.row .time { font-size: 12px; color: var(--muted); white-space: nowrap; }

.post { padding: 12px 0; border-bottom: 1px solid var(--line); }
.post-head { display: flex; gap: 10px; align-items: center; }
.post-head .avatar { width: 36px; height: 36px; }
.post-img { margin-top: 8px; height: 150px; border-radius: 12px; display: grid; place-items: center; color: rgba(255,255,255,.9); font-size: 12px; }
.post-actions { display: flex; gap: 16px; margin-top: 8px; font-size: 13px; color: var(--muted); }
.post-actions button.liked { color: var(--accent); font-weight: 700; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }
.chip { padding: 5px 12px; border-radius: 99px; border: 1px solid var(--line); background: #fff; font-size: 13px; }
.chip.on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 700; }
.chip:disabled { opacity: .35; cursor: default; }
.field-label { margin-top: 12px; font-size: 12px; color: var(--muted); font-weight: 700; }
.search-input { width: 100%; padding: 10px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--bg); }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.card { text-align: left; }
.card .avatar { width: 100%; aspect-ratio: 4 / 5; }
.card b { display: block; margin-top: 6px; }

.profile { display: flex; gap: 14px; }
.profile .avatar { width: 120px; height: 150px; flex: none; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; font-size: 11px; }
.week div { padding: 6px 0; border-radius: 8px; background: var(--bg); color: var(--muted); }
.week div.on { background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.actions { display: flex; gap: 8px; margin-top: 14px; }
.btn { flex: 1; padding: 12px; border-radius: 12px; background: var(--brand); color: #fff; font-weight: 700; text-align: center; }
.btn.ghost { background: var(--brand-soft); color: var(--brand); }
.btn.small { flex: none; padding: 6px 12px; font-size: 13px; border-radius: 99px; }
.btn:disabled { opacity: .4; cursor: default; }

.steps { display: flex; gap: 4px; margin-bottom: 12px; }
.steps span { flex: 1; height: 4px; border-radius: 4px; background: var(--line); }
.steps span.on { background: var(--brand); }
.option { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; margin-top: 8px; border-radius: 12px; border: 1px solid var(--line); text-align: left; }
.option.on { border-color: var(--brand); background: var(--brand-soft); }
.option small { display: block; color: var(--muted); font-size: 11px; }
.bill { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--bg); }
.bill div { display: flex; justify-content: space-between; font-size: 13px; padding: 2px 0; }
.bill .total { margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 17px; font-weight: 700; }
.done { text-align: center; padding: 28px 0 8px; }
.done .check { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 99px; background: var(--ok-soft); color: var(--ok); font-size: 32px; line-height: 64px; }
.notice { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--bg); font-size: 12px; color: var(--muted); }

.chat { display: flex; flex-direction: column; gap: 8px; padding-bottom: 8px; }
.bubble { max-width: 80%; padding: 8px 12px; border-radius: 16px; background: var(--bg); align-self: flex-start; font-size: 14px; }
.bubble.me { background: var(--brand); color: #fff; align-self: flex-end; }
.bubble small { display: block; font-size: 10px; opacity: .6; margin-top: 2px; }
.bubble.typing { color: var(--muted); font-style: italic; }
.composer { display: flex; gap: 8px; padding: 8px 16px; border-top: 1px solid var(--line); }
.composer input { flex: 1; padding: 9px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--bg); min-width: 0; }
.quick { display: flex; gap: 6px; overflow-x: auto; padding: 8px 16px 0; scrollbar-width: none; }
.quick .chip { white-space: nowrap; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); padding: 10px 18px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 13px; z-index: 10; }

/* 店舗の画面 */
.ops { width: min(640px, 100vw - 32px); }
.ops h2 { font-size: 17px; margin-bottom: 4px; }
.ops h3 { font-size: 14px; margin: 22px 0 8px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 12px; }
@media (min-width: 560px) { .kpis { grid-template-columns: repeat(4, 1fr); } }
.kpi b { display: block; font-size: 24px; color: var(--brand); line-height: 1.3; }
.kpi span { font-size: 12px; font-weight: 700; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 140px; padding-top: 18px; }
.bars div { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; height: 100%; font-size: 11px; color: var(--muted); }
.bars i { display: block; flex: none; width: 100%; border-radius: 6px 6px 0 0; background: var(--brand); opacity: .35; }
.bars div:last-child i { opacity: 1; }
.bars em { font-style: normal; font-weight: 700; color: var(--ink); }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 11px; color: var(--muted); }
.queue-item { padding: 12px 0; border-bottom: 1px solid var(--line); }
.queue-item:last-child { border-bottom: 0; }
.draft { margin: 6px 0; padding: 8px 10px; border-left: 3px solid var(--brand); background: var(--brand-soft); font-size: 13px; }
.log { max-height: 220px; overflow-y: auto; font-size: 12px; }
.log div { padding: 5px 0; border-bottom: 1px dashed var(--line); }
.log time { color: var(--muted); margin-right: 8px; }
.log .fresh { animation: flash 1.6s ease-out; }
@keyframes flash { from { background: var(--ok-soft); } to { background: transparent; } }
.empty { padding: 28px 0; text-align: center; color: var(--muted); font-size: 13px; }

/* ---- 構造を組み直した分(ヘッダー・ドロワー・ダイアログ・カード・時間割) ---- */
.phone { position: relative; }
.app-header { display: flex; align-items: center; gap: 6px; padding: 4px 10px 8px; border-bottom: 1px solid var(--line); }
.hd-btn { position: relative; width: 34px; height: 34px; flex: none; border-radius: 99px; font-size: 20px; }
button.hd-btn { background: var(--bg); }
.hd-btn .dot { top: -2px; right: -2px; }
.logo { font-weight: 800; color: var(--brand); font-size: 13px; white-space: nowrap; }
.hd-title { flex: 1; min-width: 0; text-align: center; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.screen { padding-top: 12px; }
.dot.static { position: static; display: inline-block; text-align: center; }

.overlay { position: absolute; inset: 0; z-index: 5; background: rgba(34,28,36,.45); display: flex; align-items: flex-end; justify-content: center; }
.overlay[hidden] { display: none; }
.dialog-box { position: relative; width: 100%; max-height: 86%; overflow-y: auto; padding: 20px 16px 16px; background: #fff; border-radius: 20px 20px 0 0; }
.dialog-box:not(.sheet) { align-self: center; width: calc(100% - 40px); border-radius: 20px; }
.dialog-box h2 { font-size: 16px; margin-bottom: 8px; padding-right: 30px; }
.dialog-x { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 99px; background: var(--bg); font-size: 18px; }
#drawer { justify-content: flex-end; align-items: stretch; }
.drawer-box { position: relative; width: 82%; padding: 46px 16px 16px; background: #fff; overflow-y: auto; }

.lead { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.crumbs { font-size: 11px; color: var(--muted); margin-bottom: 8px; }
.place-bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: var(--brand-soft); font-size: 13px; }
.section-title span:first-child { flex: 1; }
.end { padding: 10px 0; text-align: center; font-size: 12px; color: var(--muted); }
.more { display: block; width: 100%; padding: 10px; margin-top: 4px; border: 1px solid var(--line); border-radius: 12px; font-size: 13px; color: var(--brand); }
.info { width: 18px; height: 18px; border-radius: 99px; background: var(--bg); color: var(--muted); font-size: 11px; line-height: 18px; vertical-align: middle; }
.btn.wide { display: block; width: 100%; margin-top: 10px; }
.stars { color: #d79a1e; letter-spacing: 1px; }

.cast-card { padding: 12px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: var(--radius); }
.cc-top { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.icon-btn { padding: 2px 10px; border-radius: 99px; border: 1px solid var(--line); font-size: 13px; color: var(--muted); position: relative; }
.icon-btn.on { color: var(--accent); border-color: var(--accent); }
.icon-btn.off { opacity: .45; }
.icon-btn.off s { position: absolute; inset: 0; background: linear-gradient(to top right, transparent 46%, currentColor 46%, currentColor 54%, transparent 54%); }
.badge { padding: 2px 8px; border-radius: 99px; font-size: 11px; font-weight: 700; }
.badge.match { background: var(--brand); color: #fff; }
.badge.reliable { background: var(--ok-soft); color: var(--ok); }
.cc-new { margin-top: 6px; font-size: 12px; color: var(--muted); }
.cc-body { display: flex; gap: 12px; margin-top: 8px; }
.cc-photo .avatar { width: 96px; height: 120px; }
.cc-facts { flex: 1; min-width: 0; font-size: 13px; }
.cc-name { display: block; font-size: 16px; }
.cc-next { color: var(--ok); font-weight: 700; font-size: 13px; }
.rank { font-weight: 800; color: var(--brand); margin-bottom: 4px; }
.band { margin-top: 8px; padding: 6px 10px; border-radius: 8px; background: var(--warn-soft); color: var(--warn); font-size: 12px; font-weight: 700; }
.avatar.hidden-img { display: block; background: repeating-linear-gradient(45deg, var(--bg), var(--bg) 6px, var(--line) 6px, var(--line) 12px); }
.avatar.user-av { display: grid; place-items: center; width: 44px; height: 44px; background: var(--brand-soft); color: var(--brand); font-weight: 700; flex: none; }
.row.plain { cursor: default; }
.row .avatar.round { width: 44px; height: 44px; }

.cal, .tt { overflow-x: auto; margin-top: 10px; border: 1px solid var(--line); border-radius: 10px; }
.cal table, .tt table { width: max-content; font-size: 10px; text-align: center; }
.cal th, .cal td, .tt th, .tt td { padding: 3px 4px; min-width: 38px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; line-height: 1.3; color: var(--ink); }
.cal tbody th, .tt tbody th, .tt thead th:first-child, .cal thead th:first-child { position: sticky; left: 0; min-width: 34px; background: #fff; z-index: 1; }
.cal td.open { background: var(--ok-soft); color: var(--ok); font-weight: 700; }
.cal td.full { background: var(--bg); color: var(--muted); }
.tt { max-height: 360px; overflow-y: auto; }
.tt thead th, .tt thead td { position: sticky; top: 0; background: #fff; z-index: 2; }
.tt thead tr.cond td, .tt thead tr.cond th { position: static; background: var(--bg); color: var(--muted); }
.tt td { padding: 0; height: 22px; }
.tt td.ng, .tt td.lock { color: var(--line); }
.slot { display: block; width: 100%; height: 22px; font-weight: 700; }
.slot.sok, .legend .sok { color: var(--ok); }
.slot.sbest, .legend .sbest { color: var(--accent); }
.slot.sfar, .legend .sfar { color: var(--warn); }
.slot:hover { background: var(--brand-soft); }
.legend { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 8px 0; font-size: 11px; color: var(--muted); }
.notice.warn { background: var(--warn-soft); color: var(--warn); }

.hscroll .mini { flex: 0 0 104px; display: grid; gap: 2px; font-size: 11px; }
.mini .avatar { width: 104px; height: 128px; }
.thumb { flex: 0 0 110px; height: 110px; border-radius: 12px; color: #fff; font-size: 12px; font-weight: 700; padding: 8px; text-align: left; }
.tile { text-align: left; display: grid; gap: 2px; font-size: 12px; }
.tile .avatar { width: 100%; aspect-ratio: 4 / 5; }
.cond3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 10px 0; }
.cond3 button { padding: 8px; border: 1px solid var(--line); border-radius: 12px; font-size: 12px; text-align: left; overflow: hidden; }
.cond3 small { display: block; color: var(--muted); font-size: 10px; }
.toolbar { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.grow { flex: 1; }
.count { margin: 8px 0; font-size: 13px; font-weight: 700; }
.check { display: flex; align-items: center; gap: 8px; width: 100%; padding: 6px 0; font-size: 13px; text-align: left; }
.check i { display: grid; place-items: center; width: 20px; height: 20px; flex: none; border: 1.5px solid var(--muted); border-radius: 5px; font-style: normal; font-size: 13px; }
.check.on i { background: var(--brand); border-color: var(--brand); color: #fff; }
.slider { display: grid; grid-template-columns: 76px 1fr 84px; align-items: center; gap: 8px; font-size: 12px; margin: 4px 0; }
.slider input { width: 100%; accent-color: var(--brand); }
.slider b { text-align: right; font-size: 12px; }
.sticky-foot { position: sticky; bottom: -20px; margin: 16px -16px -20px; padding: 10px 16px 14px; background: #fff; border-top: 1px solid var(--line); font-size: 13px; }
.sticky-foot .actions { margin-top: 8px; }

.tabs { display: flex; gap: 4px; margin: 10px 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs button { padding: 8px 10px; font-size: 13px; color: var(--muted); white-space: nowrap; border-bottom: 2px solid transparent; }
.tabs button.on { color: var(--brand); font-weight: 700; border-color: var(--brand); }
.acc { border-bottom: 1px solid var(--line); }
.acc summary { padding: 12px 0; font-weight: 700; font-size: 14px; cursor: pointer; }
.acc-body { padding-bottom: 12px; font-size: 13px; }
.mini-table { width: 100%; font-size: 13px; margin: 6px 0; }
.mini-table th { width: 38%; font-size: 12px; color: var(--muted); font-weight: 500; }
.limited { padding: 18px; text-align: center; letter-spacing: 6px; font-weight: 800; color: var(--muted); background: var(--bg); border-radius: 10px; }
.bar-row { display: grid; grid-template-columns: 90px 1fr 30px; gap: 8px; align-items: center; font-size: 12px; margin: 4px 0; }
.bar-row i { display: block; height: 8px; border-radius: 8px; background: var(--brand); }
.memo, .text { width: 100%; margin-top: 6px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); }
.memo { min-height: 80px; resize: vertical; font: inherit; }

.review, .user-card, .hotel { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.review .row, .user-card .row { border-bottom: 0; padding: 0 0 6px; }
.score { margin: 4px 0; }
.score b { font-size: 18px; color: var(--brand); }
.review-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.tag.pr { background: var(--ink); color: #fff; }
.stats { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 6px; font-size: 12px; color: var(--muted); }
.stats b { color: var(--ink); }
.hotel .actions, .review .actions { margin-top: 8px; }
.post-main { display: block; width: 100%; text-align: left; margin-top: 6px; }
.stamp { padding: 14px 8px; border: 2px dashed var(--line); border-radius: 12px; text-align: center; font-size: 12px; color: var(--muted); }
.stamp.on { border: 2px solid var(--brand); color: var(--brand); font-weight: 700; background: var(--brand-soft); }
.mc-right { display: grid; gap: 6px; align-content: start; }
.mc-right .btn { background: rgba(255,255,255,.2); }
.check-mark { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 99px; background: var(--ok-soft); color: var(--ok); font-size: 32px; line-height: 64px; }
.flow { display: flex; gap: 4px; list-style: none; padding: 0; margin: 12px 0; font-size: 10px; text-align: center; }
.flow li { flex: 1; padding: 6px 2px; border-radius: 8px; background: var(--bg); color: var(--muted); }
.flow li.on { background: var(--brand); color: #fff; font-weight: 700; }
.option:disabled { opacity: .4; cursor: default; }
.composer-wrap { border-top: 1px solid var(--line); }
.composer { border-top: 0; }

/* ---- 店舗管理(admin.html) ---- */
.topbar #clock { font-size: 13px; opacity: .8; }
.admin-main { max-width: 1180px; margin: 0 auto; padding: 16px; }
.admin-main h3 { font-size: 14px; margin: 22px 0 8px; }
.admin-main .kpis { grid-template-columns: repeat(2, 1fr); }
.admin-grid { display: grid; gap: 0 24px; }
@media (min-width: 720px) { .admin-main .kpis { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 980px) { .admin-grid { grid-template-columns: 1.1fr 1fr; align-items: start; } .admin-main .log { max-height: 420px; } }
@media (max-width: 520px) { .stage { padding: 0; } .phone { width: 100vw; height: 100dvh; min-height: 0; border-radius: 0; border: 0; } }

/* ---- 画像 ---- */
img.avatar { object-fit: cover; object-position: center 20%; }
img.post-img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.thumb { display: flex; align-items: flex-end; background-color: var(--muted); background-size: cover; background-position: center; }

/* ---- 見た目の調整: 丸い色付きラベルをやめ、文字と罫線で見せる ---- */
.status { padding: 0; border-radius: 0; background: none !important; font-size: 12px; font-weight: 500; }
.status::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: currentColor; vertical-align: 1px; }
.status.now { color: var(--ok); }
.status.busy { color: var(--ink); }
.status.busy::before { background: var(--warn); }
.status.later, .status.off, .status.closed { color: var(--muted); }
.tag { padding: 0; margin: 0 10px 0 0; border-radius: 0; background: none; color: var(--muted); font-size: 12px; }
.tag.new { background: none; color: var(--accent); font-weight: 700; letter-spacing: .04em; }
.tag.pr { padding: 0 4px; border: 1px solid var(--ink); background: none; color: var(--ink); font-size: 10px; }
.tag.ai { background: none; color: var(--muted); }
.badge { padding: 0; border-radius: 0; font-size: 12px; font-weight: 500; }
.badge.match { background: none; color: var(--brand); font-weight: 700; }
.badge.reliable { background: none; color: var(--ok); }
.band { margin-top: 10px; padding: 8px 0 0; border-top: 1px solid var(--line); border-radius: 0; background: none; color: var(--accent); font-size: 12px; font-weight: 500; }
.notice { margin-top: 12px; padding: 2px 0 2px 10px; border-left: 2px solid var(--line); border-radius: 0; background: none; color: var(--muted); }
.notice.warn { border-left-color: var(--warn); background: none; color: var(--ink); }
.place-bar { padding: 8px 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; }
.cc-next { color: var(--ink); font-weight: 500; }
.rank { color: var(--ink); }
.chip { padding: 5px 10px; border-radius: 6px; }
.chip.on { background: #fff; border-color: var(--brand); color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.btn { border-radius: 8px; }
.btn.small { border-radius: 6px; }
.btn.ghost { background: #fff; color: var(--brand); box-shadow: inset 0 0 0 1px var(--line); }
.icon-btn { padding: 2px 8px; border-radius: 6px; }
.option { border-radius: 8px; }
.option.on { background: #fff; box-shadow: inset 0 0 0 1px var(--brand); }
.cast-card { border-radius: 8px; }
.more { border-radius: 8px; }
.cond3 button { border-radius: 8px; }
.search-input { border-radius: 8px; }
.bill, .draft, .limited, .memo, .text { border-radius: 6px; }
.cal td.open { background: none; }
.dot, .dot.static { border-radius: 8px; }
.stamp, .stamp.on { border-radius: 8px; }
.flow li { border-radius: 4px; }
.mc-right .btn { box-shadow: none; color: #fff; }
.composer input { border-radius: 8px; }
.bubble { border-radius: 10px; }

/* ---- 店舗管理: 余白とアイコン ---- */
.ic { width: 18px; height: 18px; flex: none; color: var(--brand); }
.kpi > span:first-child { display: flex; align-items: center; gap: 6px; }
td.job { white-space: nowrap; }
td.job .ic { margin-right: 6px; vertical-align: -4px; }
.admin-main .panel { padding: 16px 18px; }
.queue-item { padding: 18px 0; }
.queue-item:first-child { padding-top: 4px; }
.queue-item:last-child { padding-bottom: 4px; }
.q-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.q-body { margin-top: 8px; }
.queue-item .draft { margin: 10px 0 14px; padding: 10px 12px; }
.q-actions { display: flex; gap: 10px; }

/* ---- 再来店の導線 ---- */
.member-strip { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; text-align: left; }
.member-strip b { font-size: 17px; color: var(--brand); }
.member-strip .muted { flex: 1; text-align: right; }
.funnel { display: grid; grid-template-columns: 170px 1fr 64px 44px; align-items: center; gap: 10px; padding: 8px 0; font-size: 13px; }
.funnel i { display: block; height: 10px; border-radius: 2px; background: var(--brand); }
.funnel b { text-align: right; }
.funnel em { font-style: normal; color: var(--muted); font-size: 12px; text-align: right; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.trio span { display: block; font-size: 12px; color: var(--muted); }
.trio b { font-size: 22px; color: var(--brand); }
@media (max-width: 520px) { .funnel { grid-template-columns: 1fr 64px 44px; } .funnel span { grid-column: 1 / -1; } }

/* ---- 区画ごとの余白 ---- */
.section-title { margin: 40px 0 14px; }
.screen > .section-title:first-child { margin-top: 8px; }
.field-label { margin: 22px 0 8px; }
.dialog-box .field-label:first-of-type { margin-top: 12px; }
.cast-card { margin-bottom: 16px; padding: 14px; }
.hscroll { padding-bottom: 4px; }
.tabs { margin: 0 0 14px; }
.screen > .tabs:first-child { margin-top: 0; }
.more { margin-top: 12px; }
.bill { margin-top: 24px; }
.screen > .btn.wide, .screen > .actions { margin-top: 18px; }
.screen > .notice { margin-top: 18px; }
.screen > .check { margin-top: 10px; }
.screen > .mini-table { margin: 16px 0; }
.cond3 { margin: 14px 0; }
.toolbar { margin: 4px 0 10px; }
.count { margin: 14px 0; }
.legend { margin: 14px 0; }
.cal, .tt { margin-top: 14px; }
.member-strip { margin-top: 8px; }
.review, .user-card, .hotel, .post { padding: 16px 0; }
.acc summary { padding: 16px 0; }
textarea.memo { display: block; }
