:root {
	--bg: #f2f6fc;
	--surface: #ffffff;
	--surface-alt: #e8f0fa;
	--primary: #14509b;
	--primary-hover: #0e3d78;
	--primary-soft: #d9e6f6;
	--primary-bg: #f2f7fd;
	--border: #cfe0f2;
	--border-strong: #a9c6e8;
	--text: #1a202c;
	--text-muted: #6c757d;
	--shadow: 0 1px 2px rgba(20, 80, 155, 0.05), 0 4px 12px rgba(20, 80, 155, 0.04);
	--radius: 6px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; margin: 0; }
body {
	font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI", "Meiryo", "Segoe UI", sans-serif;
	background: var(--bg);
	color: var(--text);
	font-size: 14px;
	line-height: 1.55;
}
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--primary-soft); padding: 1px 5px; border-radius: 3px; font-size: 12px; color: var(--primary); }

/* Login */
.login-screen {
	min-height: 100vh;
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, #eef5fc 0%, #d9e6f6 100%);
}
.login-card {
	background: var(--surface);
	width: 380px;
	max-width: calc(100vw - 32px);
	padding: 36px 32px 28px;
	border-radius: 8px;
	box-shadow: 0 8px 32px rgba(20, 80, 155, 0.12);
	border-top: 4px solid var(--primary);
}
.brand-large { font-size: 22px; margin-bottom: 4px; }
.brand-large .brand-logo { width: 36px; height: 36px; font-size: 14px; }
.login-card .sub { color: var(--text-muted); font-size: 12px; margin: 0 0 24px; }
.login-card .hint { font-size: 11px; color: var(--text-muted); text-align: center; margin: 14px 0 0; }
.btn-block { width: 100%; padding: 10px; font-size: 14px; }

/* Forms */
label { display: block; font-size: 12px; font-weight: 600; color: #4a5568; margin-bottom: 6px; }
input, select, textarea {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: #fff;
	font-size: 14px;
	font-family: inherit;
	color: var(--text);
	outline: none;
	transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 90px; resize: vertical; }
input:focus, select:focus, textarea:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(20, 80, 155, 0.12);
}

button {
	background: var(--primary);
	color: #fff;
	border: none;
	padding: 8px 16px;
	border-radius: var(--radius);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
	transition: background .15s, color .15s, border-color .15s;
}
button:hover { background: var(--primary-hover); }
button.ghost { background: transparent; color: var(--primary); border: 1px solid var(--border); }
button.ghost:hover { background: var(--primary-soft); }
button.danger { background: #fff; color: var(--primary); border: 1px solid var(--border); }
button.danger:hover { background: var(--primary-soft); }
button.sm { padding: 4px 10px; font-size: 12px; }

.form-row { margin-bottom: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.form-grid .full { grid-column: 1 / -1; }
.form-error { background: var(--primary-soft); color: var(--primary); padding: 8px 12px; border-radius: var(--radius); font-size: 12px; margin-bottom: 12px; }

/* Layout */
.app { display: grid; grid-template-rows: 56px 1fr; height: 100vh; }
header.topbar {
	background: var(--surface);
	border-bottom: 1px solid var(--border);
	padding: 0 20px;
	display: flex;
	align-items: center;
	gap: 18px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--primary); font-size: 16px; letter-spacing: -.2px; }
.brand-logo { width: 28px; height: 28px; background: var(--primary); border-radius: 4px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 11px; letter-spacing: 0; }
nav.tabs { display: flex; gap: 4px; margin-left: 8px; }
nav.tabs button {
	background: transparent;
	color: var(--text-muted);
	font-weight: 500;
	border-radius: 4px;
	padding: 6px 14px;
}
nav.tabs button.active { background: var(--primary-soft); color: var(--primary); }
nav.tabs button:hover:not(.active) { background: var(--surface-alt); color: var(--text); }
/* 口座番号ディープリンク（?account=...）での単独表示（スクリーンポップ） */
body.standalone nav.tabs { display: none; }
.user-pill { margin-left: auto; display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--text-muted); }
.user-pill .ghost { padding: 4px 12px; font-size: 12px; }

main.content { overflow: auto; padding: 20px; }

/* Cards */
.card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 18px 20px;
	box-shadow: var(--shadow);
	margin-bottom: 16px;
}
.card-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 10px; }
.card-toolbar h2 { margin: 0; font-size: 15px; color: var(--primary); }
.section-title { font-size: 13px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; margin: 18px 0 10px; }

/* Tables */
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--border); }
thead th {
	background: var(--primary-bg);
	color: var(--primary);
	font-weight: 600;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .04em;
	position: sticky;
	top: 0;
}
tbody tr { cursor: pointer; }
tbody tr:hover { background: var(--primary-bg); }
tbody tr.selected { background: var(--primary-soft); }
td.num { text-align: right; font-variant-numeric: tabular-nums; }

/* Split layout */
.split { display: grid; grid-template-columns: minmax(380px, 1fr) minmax(420px, 1.3fr); gap: 18px; align-items: start; }
.split > .col { min-width: 0; }
.detail-empty { padding: 60px 20px; text-align: center; color: var(--text-muted); font-size: 13px; background: var(--surface); border: 1px dashed var(--border); border-radius: 8px; }

/* Badges */
.badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; line-height: 1.6; }
.badge.diamond  { background: #fef0d4; color: #8a5a06; }
.badge.premier  { background: #e9d8fd; color: #553c9a; }
.badge.sapphire { background: #ccecff; color: #1f5d8d; }
.badge.crystal  { background: #d6f0e1; color: #1f6e3f; }
.badge.regular  { background: #edf0f3; color: #4a5568; }
.badge.confirmed { background: #d6f0e1; color: #1f6e3f; }
.badge.completed { background: #d6f0e1; color: #1f6e3f; }
.badge.cancelled { background: #fde0e2; color: #c1272d; }
.badge.pending   { background: #fef0d4; color: #8a5a06; }
.badge.greeting  { background: #d9e6f6; color: #14509b; }
.badge.message   { background: #d6e4f5; color: #2b4f7c; }
.badge.campaign  { background: #fef0d4; color: #8a5a06; }

/* Sub-tabs */
.subtabs { display: flex; gap: 0; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.subtabs button {
	background: transparent;
	color: var(--text-muted);
	padding: 8px 14px;
	border-radius: 0;
	border-bottom: 2px solid transparent;
	font-weight: 500;
	font-size: 13px;
}
.subtabs button.active { color: var(--primary); border-bottom-color: var(--primary); }
.subtabs button:hover:not(.active) { color: var(--text); }

/* Detail rows */
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 8px 16px; font-size: 13px; margin: 0; }
.kv dt { color: var(--text-muted); font-weight: 500; }
.kv dd { margin: 0; color: var(--text); }
.kv dd.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

.miles-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-bottom: 4px; }
.miles-card { background: var(--primary-bg); border: 1px solid var(--border); border-radius: 6px; padding: 12px 14px; }
.miles-card .label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; }
.miles-card .value { font-size: 22px; font-weight: 700; color: var(--primary); margin-top: 2px; font-variant-numeric: tabular-nums; }
.miles-card .unit { font-size: 12px; color: var(--text-muted); margin-left: 4px; }

/* Modal */
.memo-cell { max-width: 220px; font-size: 12px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 次のアクション（優先度） */
.badge.prio-high { background: #fde0e2; color: #b3121a; }
.badge.prio-medium { background: #fff2d6; color: #9a6a00; }
.badge.prio-low { background: #e8eaed; color: #55606e; }
.nba-cell { max-width: 240px; }
.nba-cell .nba-label { font-size: 12px; font-weight: 600; display: inline-block; vertical-align: middle; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 170px; }

.nba-banner { border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; margin-bottom: 14px; border-left: 4px solid var(--text-muted); background: var(--surface); display: flex; align-items: center; gap: 16px; }
.nba-banner-main { flex: 1; min-width: 0; }
.nba-actions { display: flex; gap: 8px; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; }
.nba-act-btn { display: inline-flex; flex-direction: column; align-items: center; gap: 3px; width: 58px; padding: 8px 4px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text); cursor: pointer; font-size: 11px; font-weight: 600; line-height: 1; transition: background .12s, border-color .12s, transform .05s; }
.nba-act-btn:hover { background: var(--primary-bg, #f4f5f7); }
.nba-act-btn:active { transform: translateY(1px); }
.nba-act-btn svg { display: block; }
.nba-act-btn.act-phone { color: #1f9d55; }
.nba-act-btn.act-sms { color: #2b7de9; }
.nba-act-btn.act-line { color: #06c755; }
.nba-act-btn.act-mail { color: #55606e; }
.nba-act-btn span { color: var(--text); }
@media (max-width: 640px) { .nba-banner { flex-direction: column; align-items: stretch; } .nba-actions { justify-content: flex-start; } }
.prio-summary { display: flex; gap: 6px; }

/* 取引明細カード */
.tx-line { display: flex; align-items: center; gap: 10px; margin: 8px 0 4px; font-size: 12px; color: var(--text-muted); flex-wrap: wrap; }
.tx-line .tx-branch { margin-left: auto; }
.tx-line .tx-card-no { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.tx-line .tx-pay { background: var(--primary-soft); color: var(--primary); border-radius: 999px; padding: 1px 8px; font-weight: 600; }
.tx-counterparty { font-size: 14px; font-weight: 600; color: var(--text); }
.tx-memo { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.tx-amounts { display: flex; flex-direction: column; gap: 2px; }
.tx-amount { font-variant-numeric: tabular-nums; }
.tx-amount.tx-in { color: #1f7a44; }
.tx-amount.tx-out { color: var(--text); }
.tx-balance { font-size: 11px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
td.num.tx-in { color: #1f7a44; }
td.num.tx-out { color: var(--text); }
.nba-table tbody tr { cursor: pointer; }
.nba-table td .nba-actions { flex-wrap: nowrap; justify-content: flex-start; }
.nba-banner.prio-high { border-left-color: #c1272d; background: #fdeff0; }
.nba-banner.prio-medium { border-left-color: #d99a00; background: #fff8ea; }
.nba-banner.prio-low { border-left-color: #8b95a3; background: #f4f5f7; }
.nba-banner-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.nba-banner-title { font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--text-muted); }
.nba-banner-action { font-size: 15px; font-weight: 700; }
.nba-banner-detail { font-size: 12px; color: var(--text-muted); margin-top: 2px; line-height: 1.55; }

.contact-cell { max-width: 320px; }
.contact-cell .c-subject { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 320px; }
.contact-cell .c-detail { font-size: 11px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 320px; }
.contact-cell .c-meta { font-size: 11px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 320px; }
.contact-link { cursor: pointer; border-radius: 6px; padding: 4px 6px; margin: -4px -6px; transition: background .12s; }
.contact-link:hover { background: var(--primary-bg, rgba(20,80,155,.06)); }
.contact-link:hover .c-subject { text-decoration: underline; }
.contact-link .c-transcript-hint { color: var(--primary); text-decoration: none; }
.link-btn { background: none; border: none; padding: 2px 0; margin-top: 4px; color: var(--primary); font-size: 12px; font-weight: 600; cursor: pointer; }
.link-btn:hover { text-decoration: underline; }

/* 会話トランスクリプション モーダル */
.modal.modal-lg { width: 760px; }
.transcript-summary { background: var(--primary-bg, #fdeff0); border: 1px solid var(--border); border-left: 4px solid var(--primary); border-radius: 8px; padding: 12px 14px; margin-bottom: 12px; }
.transcript-summary .ts-label { font-size: 11px; font-weight: 700; color: var(--primary); letter-spacing: .04em; margin-bottom: 4px; }
.transcript-summary .ts-text { font-size: 13px; line-height: 1.6; white-space: pre-wrap; }
.transcript-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 14px; }
.transcript-chat { display: flex; flex-direction: column; gap: 10px; }
.chat-row { display: flex; flex-direction: column; max-width: 78%; }
.chat-row.customer { align-self: flex-start; align-items: flex-start; }
.chat-row.agent { align-self: flex-end; align-items: flex-end; }
.chat-meta { font-size: 10px; color: var(--text-muted); margin: 0 4px 2px; }
.chat-bubble { padding: 8px 12px; border-radius: 14px; font-size: 13px; line-height: 1.55; white-space: pre-wrap; word-break: break-word; }
.chat-row.customer .chat-bubble { background: var(--surface-alt, #eef0f3); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.chat-row.agent .chat-bubble { background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }

.detail-overlay { position: fixed; inset: 0; background: rgba(26, 32, 44, 0.5); display: grid; justify-items: center; align-items: start; z-index: 45; padding: 40px 24px 24px; overflow: auto; }
.detail-popup { width: min(1000px, 100%); height: calc(100vh - 64px); overflow: auto; box-shadow: 0 20px 60px rgba(0,0,0,.3); border-radius: 8px; }
.detail-popup .card { margin: 0; min-height: 100%; }

.modal-overlay { position: fixed; inset: 0; background: rgba(26, 32, 44, 0.45); display: grid; place-items: center; z-index: 50; padding: 20px; }
.modal {
	background: var(--surface);
	border-radius: 8px;
	width: 600px;
	max-width: 100%;
	max-height: 88vh;
	display: flex;
	flex-direction: column;
	box-shadow: 0 16px 48px rgba(0,0,0,.22);
	border-top: 4px solid var(--primary);
	overflow: hidden;
}
.modal form { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.modal h3 { margin: 0; padding: 16px 22px; border-bottom: 1px solid var(--border); font-size: 15px; color: var(--primary); flex-shrink: 0; }
.modal .body { padding: 18px 22px; overflow: auto; flex: 1; min-height: 0; }
.modal .footer { padding: 12px 22px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 8px; background: var(--primary-bg); flex-shrink: 0; }

/* Personalization */
.perso-list { display: flex; flex-direction: column; gap: 10px; }
.perso-item { border: 1px solid var(--border); border-radius: 6px; padding: 12px 14px; background: var(--surface); }
.perso-header { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; }
.perso-title { font-weight: 600; font-size: 14px; color: var(--text); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.perso-content { font-size: 13px; color: var(--text); white-space: pre-wrap; margin-top: 4px; }
.perso-meta { font-size: 11px; color: var(--text-muted); margin-top: 8px; display: flex; gap: 12px; }
.perso-actions { display: flex; gap: 6px; }

/* Booking */
.booking-list { display: flex; flex-direction: column; gap: 12px; }
.booking-card { border: 1px solid var(--border); border-radius: 8px; padding: 14px 16px; background: var(--surface); }
.booking-header { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.booking-pnr { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; color: var(--primary); font-size: 14px; letter-spacing: .04em; }
.booking-meta { font-size: 11px; color: var(--text-muted); }
.itinerary { padding: 10px 0; }
.itinerary + .itinerary { border-top: 1px dashed var(--border); }
.itinerary-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.segment { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; padding: 6px 0; }
.segment .iata { font-size: 18px; font-weight: 700; color: var(--text); }
.segment .city-time { font-size: 11px; color: var(--text-muted); }
.segment .arrow { color: var(--primary); font-size: 18px; }
.segment-meta { font-size: 11px; color: var(--text-muted); margin-top: 4px; display: flex; flex-wrap: wrap; gap: 12px; }
.flight-no { font-weight: 600; color: var(--primary); }
.booking-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); }
.price { font-weight: 700; font-size: 15px; color: var(--text); font-variant-numeric: tabular-nums; }
.price .currency { font-size: 11px; color: var(--text-muted); margin-right: 4px; font-weight: 500; }

/* Empty */
.empty { text-align: center; padding: 32px 20px; color: var(--text-muted); font-size: 13px; }

/* Search */
.search-row { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; }
.search-row input { flex: 1; }

/* Customer summary header */
.customer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.customer-head .name { font-size: 18px; font-weight: 700; color: var(--text); }
.customer-head .name-kana { font-size: 12px; color: var(--text-muted); }
.customer-head .acct { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.customer-head .head-actions { display: flex; gap: 6px; }

/* AI agent view */
.agent-card .form-row { margin-bottom: 18px; }
.agent-card label { font-size: 13px; font-weight: 600; color: var(--primary); margin-bottom: 8px; display: block; }
.agent-ta { font-family: ui-monospace, SFMono-Regular, Menlo, "Hiragino Sans", monospace; font-size: 12.5px; line-height: 1.65; resize: vertical; }

/* Test view */
.test-grid { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.3fr); gap: 22px; }
.test-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; background: var(--primary-bg); border: 1px solid var(--border); border-radius: 6px; padding: 10px 12px; overflow-x: auto; white-space: pre-wrap; word-break: break-all; margin: 0 0 14px; line-height: 1.5; color: var(--text); }
.test-response { max-height: 480px; overflow: auto; word-break: normal; white-space: pre; }
.test-summary { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 6px; background: var(--primary-bg); border: 1px solid var(--border); margin-bottom: 10px; font-size: 13px; }
.test-summary.ok { background: #e8f5ee; border-color: #b9e0c8; }
.test-summary.fail { background: #fef0d4; border-color: #f3d590; }
@media (max-width: 980px) { .test-grid { grid-template-columns: 1fr; } }

/* 口座振替スケジュール 停止行 */
tr.flight-cancelled { background: #fdf1f1; }
tr.flight-cancelled .flight-no { text-decoration: line-through; color: var(--text-muted); }

/* 取引の振替対応バナー */
.disruption-banner { background: #fdeff0; border: 1px solid #f3c2c5; border-left: 4px solid #c1272d; border-radius: 8px; padding: 10px 12px; margin: 10px 0; }
.disruption-banner.resolved { background: #eef7f0; border-color: #bfe2c9; border-left-color: #1f9d55; }
.disruption-head { font-size: 12px; font-weight: 700; color: #c1272d; margin-bottom: 3px; }
.disruption-banner.resolved .disruption-head { color: #1f7a44; }
.disruption-body { font-size: 12px; line-height: 1.55; margin-bottom: 8px; }
.disruption-banner button { background: var(--primary); color: #fff; border: none; border-radius: 6px; padding: 6px 12px; font-size: 12px; font-weight: 600; cursor: pointer; }
.disruption-banner button:hover { background: var(--primary-hover); }
.booking-card.has-disruption { border-color: #f3c2c5; }

/* 代替日程の選択 */
.alt-list { display: flex; flex-direction: column; gap: 8px; }
.alt-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; cursor: pointer; }
.alt-row input[type="radio"] { flex: 0 0 16px; width: 16px; height: 16px; margin: 0; }
.alt-row:hover { background: var(--primary-bg); }
.alt-row:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
.alt-row .alt-no { font-weight: 700; font-variant-numeric: tabular-nums; }
.alt-row .alt-route { font-weight: 600; }
.alt-row .alt-time { color: var(--text-muted); font-size: 12px; margin-left: auto; }
.alt-row .alt-ac { font-size: 11px; color: var(--text-muted); }

/* MCP 画面 */
.mcp-conn dt { color: var(--text-muted); }
.mcp-conn code { font-size: 12px; }
.mcp-pre { background: #1e1e24; color: #e6e6e6; border-radius: 8px; padding: 12px; font-size: 12px; line-height: 1.5; overflow: auto; max-height: 320px; white-space: pre; }
.mcp-pre.result { background: #0f2a18; color: #d7f5df; }
.mcp-io { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.mcp-io label { display: block; font-size: 11px; color: var(--text-muted); margin-bottom: 4px; }
@media (max-width: 720px) { .mcp-io { grid-template-columns: 1fr; } }
.mcp-tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.mcp-tool { border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; background: var(--surface); }
.mcp-tool-name code { font-size: 13px; font-weight: 700; color: var(--primary); }
.mcp-tool-desc { font-size: 11px; color: var(--text-muted); margin: 4px 0 6px; line-height: 1.5; }
.mcp-params { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.mcp-params li { font-size: 11px; }
.mcp-params code { font-size: 11px; background: var(--primary-bg); padding: 1px 4px; border-radius: 4px; }
.mcp-params .req { color: #c1272d; font-weight: 700; margin: 0 4px 0 2px; }
.mcp-params .pdesc { color: var(--text-muted); margin-left: 6px; }

@media (max-width: 980px) {
	.split { grid-template-columns: 1fr; }
	.miles-grid { grid-template-columns: 1fr; }
	.form-grid { grid-template-columns: 1fr; }
}
