/* TMS Biz Pages - front end */
:root { --tbp-accent: #1a73e8; --tbp-text: #1f2328; --tbp-muted: #5b6470; --tbp-line: #d9dde3; --tbp-bg: #f4f6f8; --tbp-radius: 12px; }

/* ---------- Review page (built-in) ---------- */
.tbp-review-body { margin: 0; background: var(--tbp-bg); color: var(--tbp-text); font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif; -webkit-font-smoothing: antialiased; }
.tbp-review-card { box-sizing: border-box; max-width: 440px; margin: 0 auto; padding: 28px 20px 40px; min-height: 100vh; background: #fff; }
@media (min-width: 480px) { .tbp-review-card { margin: 32px auto; min-height: 0; border-radius: 16px; box-shadow: 0 1px 3px rgba(0,0,0,.08), 0 8px 24px rgba(0,0,0,.06); padding: 32px 28px 36px; } }
.tbp-review-head { text-align: center; margin-bottom: 12px; }
.tbp-review-logo { width: 88px; height: 88px; object-fit: contain; border-radius: 16px; background: #fff; border: 1px solid var(--tbp-line); }
.tbp-review-name { font-size: 1.4rem; line-height: 1.25; margin: 12px 0 2px; }
.tbp-review-place { margin: 0; color: var(--tbp-muted); font-size: .95rem; }
.tbp-review-lead { text-align: center; margin: 8px 0 20px; color: var(--tbp-muted); }

/* ---------- Review form ---------- */
.tbp-review-form { display: flex; flex-direction: column; gap: 14px; }
.tbp-review-form .tbp-field { display: flex; flex-direction: column; gap: 6px; }
.tbp-review-form label { font-weight: 600; font-size: .95rem; }
.tbp-review-form input[type="tel"], .tbp-review-form input[type="text"], .tbp-review-form textarea { box-sizing: border-box; width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--tbp-line); border-radius: 10px; background: #fff; color: inherit; }
.tbp-review-form input:focus, .tbp-review-form textarea:focus { outline: 2px solid var(--tbp-accent); outline-offset: 1px; border-color: var(--tbp-accent); }
.tbp-review-form .tbp-help { color: var(--tbp-muted); font-size: .85rem; }
.tbp-review-form .tbp-consent { margin: 0; color: var(--tbp-muted); font-size: .85rem; }
.tbp-review-form .tbp-error { margin: 0; color: #b42318; font-size: .9rem; }
.tbp-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.tbp-skip { align-self: center; font-size: 14px; color: inherit; text-decoration: underline; padding: 8px; }
.tbp-notice { background: #fff4e5; border: 1px solid #f5c26b; padding: 10px 12px; border-radius: 8px; font-size: .9rem; }

/* ---------- Buttons ---------- */
.tbp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; box-sizing: border-box; min-height: 48px; padding: 12px 20px; border-radius: 10px; border: 1px solid transparent; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; line-height: 1.2; }
.tbp-btn-primary { background: var(--tbp-accent); color: #fff; width: 100%; font-size: 1.05rem; }
.tbp-btn-primary:disabled { opacity: .6; cursor: default; }
.tbp-btn.is-loading { opacity: .75; }
.tbp-btn svg { width: 20px; height: 20px; flex: none; fill: currentColor; }

/* ---------- Landing widgets ---------- */
.tbp-w-header { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.tbp-w-header img { width: 96px; height: 96px; object-fit: contain; border-radius: 16px; background: #fff; }
.tbp-w-header h1, .tbp-w-header h2 { margin: 0; }
.tbp-w-header .tbp-meta { margin: 0; opacity: .8; }
.tbp-w-about p:last-child { margin-bottom: 0; }
.tbp-w-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tbp-w-buttons .tbp-btn { width: 100%; background: var(--tbp-accent); color: #fff; }
.tbp-w-buttons.tbp-cols-1 { grid-template-columns: 1fr; }
.tbp-w-buttons.tbp-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tbp-w-buttons.tbp-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tbp-w-address address { font-style: normal; margin-bottom: 12px; }
.tbp-hours { width: 100%; border-collapse: collapse; }
.tbp-hours td { padding: 6px 0; border-bottom: 1px solid var(--tbp-line); }
.tbp-hours td:last-child { text-align: right; }
.tbp-hours tr.is-today td { font-weight: 700; }
.tbp-w-social ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tbp-w-social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--tbp-accent); color: #fff; }
.tbp-w-social svg { width: 20px; height: 20px; fill: currentColor; }
.tbp-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 768px) { .tbp-gallery.tbp-gcols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tbp-gallery.tbp-gcols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tbp-gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; display: block; }
.tbp-map iframe { width: 100%; height: 300px; border: 0; border-radius: 12px; display: block; }
.tbp-placeholder { padding: 12px; border: 1px dashed var(--tbp-line); color: var(--tbp-muted); font-size: .9rem; text-align: center; }
.tbp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tbp-btn-rate { background: var(--tbp-accent); color: #fff; }
.tbp-btn-rate:hover, .tbp-w-buttons .tbp-btn:hover { filter: brightness(1.05); color: #fff; }
.tbp-title { margin: 0 0 12px; }

.tbp-w-address table.tbp-hours, .tbp-w-address table.tbp-hours td, .tbp-w-address table.tbp-hours tr { border: 0; background: transparent; }
.tbp-w-address table.tbp-hours td { padding: 8px 0; border-bottom: 1px solid var(--tbp-line); }
.tbp-w-address table.tbp-hours tr:last-child td { border-bottom: 0; }
