@charset "UTF-8";
/* TrilùTable · Prenota un tavolo (public booking page, prefix pb-). Warm and bright: this is what guests see. */
:root { color-scheme: light; --pb-ink: #241b15; --pb-muted: #6f655d; --pb-paper: #f6f2ec; --pb-white: #fffdf9; --pb-line: #e6ddd2; --pb-orange: #ff833f; --pb-orange-deep: #c4581d; --pb-orange-ink: #9a4a21; --pb-dark: #141210; --pb-radius: 18px; font-family: "Segoe UI", Inter, Arial, sans-serif; font-synthesis: none; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-width: 320px; background: var(--pb-paper); color: var(--pb-ink); font-size: 15px; line-height: 1.5; }
button, input, textarea, select { font: inherit; color: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -.035em; line-height: 1.12; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #b64b10; outline-offset: 3px; }
.pb-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.pb-skip { position: absolute; top: 8px; left: 8px; z-index: 20; transform: translateY(-160%); padding: 12px 18px; border-radius: 8px; background: var(--pb-orange); color: #241509; text-decoration: none; font-weight: 600; }
.pb-skip:focus { transform: none; }
.pb-muted { color: var(--pb-muted); }
.pb-eyebrow { display: block; margin-bottom: 8px; font-size: 10px; font-weight: 700; letter-spacing: .16em; color: var(--pb-orange-ink); }

/* Header */
.pb-header { background: var(--pb-dark); color: #f6f1ea; border-bottom: 1px solid #2c2620; }
.pb-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1180px; min-height: 66px; margin: 0 auto; padding: 12px 16px; }
.pb-venue { display: flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; }
.pb-monogram { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border: 1px solid #6b452c; border-radius: 10px; background: #34261c; color: #ffb486; font: italic 17px Georgia, "Times New Roman", serif; }
.pb-venue-copy { display: flex; flex-direction: column; min-width: 0; }
.pb-venue-copy strong { font-size: 15px; font-weight: 650; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pb-venue-copy small { font-size: 11px; color: #b4aa9f; }
.pb-header-caption { flex-shrink: 0; font-size: 11px; color: #c9b9a8; padding: 7px 11px; border: 1px solid #4a3d31; border-radius: 999px; }

/* Page */
.pb-page { max-width: 1180px; margin: 0 auto; padding: 18px 16px 0; outline: none; }
.pb-notice { margin-bottom: 14px; padding: 13px 15px; border: 1px solid #d6dcca; border-radius: 12px; background: #eef4e8; color: #415b30; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.pb-notice-warning { background: #fff2df; border-color: #e4c9a3; color: #795124; }
.pb-error { margin: 12px 0 0; padding: 12px 14px; border: 1px solid #e9bfa9; border-radius: 10px; background: #fff0e8; color: #8d3e20; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }

/* Loading / unavailable */
.pb-state { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 58vh; max-width: 560px; margin: 0 auto; padding: 36px 8px; text-align: center; }
.pb-state h1 { font-size: 30px; margin: 16px 0 12px; }
.pb-state p { max-width: 400px; color: var(--pb-muted); margin: 0 0 22px; line-height: 1.7; }
.pb-state-symbol { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 18px; border-radius: 16px; background: #f0e4d5; color: var(--pb-orange-ink); font: italic 30px Georgia, serif; }
.pb-state-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pb-spinner { display: block; width: 30px; height: 30px; border-radius: 50%; border: 2px solid #ddd2c4; border-top-color: #a75c30; animation: pb-spin 1s linear infinite; }
@keyframes pb-spin { to { transform: rotate(360deg); } }

/* Hero */
.pb-hero { position: relative; overflow: hidden; display: flex; min-height: 220px; margin-bottom: 18px; padding: 28px 22px; border-radius: var(--pb-radius); background: radial-gradient(120% 90% at 100% 0%, #3a2414 0%, transparent 55%), var(--pb-dark); color: #f7f2ea; }
.pb-hero-copy { position: relative; z-index: 1; max-width: 640px; min-width: 0; }
.pb-hero .pb-eyebrow { color: #e7a57e; }
.pb-hero h1 { font-size: clamp(32px, 8.5vw, 52px); font-weight: 650; margin: 10px 0 6px; overflow-wrap: anywhere; }
.pb-hero-accent { margin: 0 0 16px; font: italic 400 clamp(21px, 5.4vw, 28px) Georgia, "Times New Roman", serif; color: #ffa36b; }
.pb-hero-meta { margin: 0; font-size: 13px; color: #c9bfb3; line-height: 1.7; overflow-wrap: anywhere; }
.pb-hero-meta a { color: #ffd2b3; font-weight: 600; text-decoration: none; border-bottom: 1px solid #ffd2b366; }
.pb-hero-note { margin: 14px 0 0; padding: 11px 14px; max-width: 560px; border: 1px solid #4b3a2c; border-radius: 12px; background: #221b15; color: #ead9c8; font-size: 13px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.pb-hero-art { position: absolute; right: -90px; top: 50%; width: 240px; height: 240px; transform: translateY(-50%); opacity: .45; pointer-events: none; }
.pb-plate { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border: 1px solid #6b5a44; border-radius: 50%; }
.pb-plate-outer { width: 220px; height: 220px; }
.pb-plate-inner { width: 160px; height: 160px; border-color: #4a3d2f; }
.pb-plate-glow { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid #ff9a5c; box-shadow: 0 0 40px #ff833f55, inset 0 0 18px #ff833f33; }

.pb-returning { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 16px; padding: 14px 16px; border: 1px solid #f0c7a7; border-radius: 14px; background: #fff4ea; }
.pb-returning div { display: flex; flex-direction: column; min-width: 0; }
.pb-returning strong { font-size: 14px; }
.pb-returning span { font-size: 12.5px; color: var(--pb-muted); }
.pb-contact-only { padding: 24px 20px; border: 1px solid var(--pb-line); border-radius: var(--pb-radius); background: var(--pb-white); }
.pb-contact-only h2 { font-size: 24px; margin: 0 0 10px; }
.pb-contact-only p { color: var(--pb-muted); margin: 0 0 18px; }
.pb-contact-links { display: flex; flex-wrap: wrap; gap: 8px; }

/* Buttons */
.pb-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 11px 16px; border: 1px solid transparent; border-radius: 11px; font-size: 14px; font-weight: 650; line-height: 1.3; text-align: center; text-decoration: none; transition: background .15s, border-color .15s, transform .15s; }
.pb-button:active:not(:disabled) { transform: translateY(1px); }
.pb-button:disabled { opacity: .5; }
.pb-button-primary { background: var(--pb-orange); border-color: #ed7937; color: #291a12; }
.pb-button-primary:hover:not(:disabled) { background: #ff985d; }
.pb-button-quiet { background: transparent; border-color: #d8cdbf; color: var(--pb-ink); }
.pb-button-quiet:hover:not(:disabled) { background: #efe8de; }
.pb-button-whatsapp { background: #25d366; border-color: #1fbf5b; color: #06210f; }
.pb-button-whatsapp:hover { background: #4be083; }
.pb-button-danger { background: #b9401c; border-color: #a5391a; color: #fff; }
.pb-button-danger:hover:not(:disabled) { background: #a5391a; }
.pb-button-danger-quiet { background: transparent; border-color: #e3b7a3; color: #9b3a1b; }
.pb-button-danger-quiet:hover { background: #fbebe3; }
.pb-button-full { width: 100%; justify-content: space-between; margin-top: 14px; min-height: 54px; font-size: 15px; }
.pb-text-button, .pb-text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 0; border: 0; background: none; color: var(--pb-orange-ink); font-size: 13px; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }

/* Booking layout */
.pb-layout { display: grid; gap: 16px; }
.pb-layout.is-locked .pb-steps { opacity: .72; }
.pb-steps { display: grid; gap: 16px; min-width: 0; }
.pb-step { min-width: 0; margin: 0; padding: 20px 18px; border: 1px solid var(--pb-line); border-radius: var(--pb-radius); background: var(--pb-white); }
.pb-step-head, .pb-summary-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.pb-step-head h2, .pb-summary-head h2 { font-size: 21px; margin: 4px 0 4px; }
.pb-step-head p { margin: 0; font-size: 13px; color: var(--pb-muted); }
.pb-step-number { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: #fff0e4; border: 1px solid #f3c39f; color: var(--pb-orange-deep); font: italic 600 20px Georgia, "Times New Roman", serif; }
.pb-label { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 650; }

.pb-people-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 10px; }
.pb-people-row .pb-label { margin: 0; }
.pb-stepper { display: flex; align-items: center; gap: 14px; }
.pb-stepper-button { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid #d8cdbf; border-radius: 50%; background: #fbf8f3; color: var(--pb-ink); font-size: 26px; line-height: 1; }
.pb-stepper-button:hover:not(:disabled) { border-color: var(--pb-orange); background: #fff2e7; }
.pb-stepper-button:disabled { opacity: .4; }
.pb-people-value { display: flex; flex-direction: column; align-items: center; min-width: 72px; }
.pb-people-value strong { font-size: 40px; line-height: 1; letter-spacing: -.05em; font-weight: 650; font-variant-numeric: tabular-nums; }
.pb-people-value span { font-size: 12px; color: var(--pb-muted); }
.pb-group-note { margin: 4px 0 16px; padding: 11px 13px; border-radius: 10px; background: #f5efe7; color: #5f5248; font-size: 13px; line-height: 1.6; }
.pb-group-note.is-highlighted { background: #fff0e4; border: 1px solid #f3c39f; color: #7a3d18; }
.pb-group-note a { color: var(--pb-orange-ink); font-weight: 650; }
.pb-dates { display: grid; grid-template-columns: repeat(7, minmax(64px, 1fr)); gap: 8px; overflow-x: auto; margin: 0 -18px 12px; padding: 2px 18px 6px; scrollbar-width: thin; scroll-snap-type: x proximity; }
.pb-date { display: flex; flex-direction: column; align-items: center; gap: 1px; min-height: 78px; padding: 9px 6px; border: 1px solid #dfd5c8; border-radius: 14px; background: #fbf8f3; scroll-snap-align: start; }
.pb-date span { font-size: 11.5px; color: var(--pb-muted); font-weight: 600; }
.pb-date strong { font-size: 24px; line-height: 1.15; font-weight: 650; letter-spacing: -.03em; }
.pb-date small { font-size: 11px; color: var(--pb-muted); }
.pb-date[aria-pressed="true"] { border-color: var(--pb-ink); background: var(--pb-ink); color: var(--pb-white); }
.pb-date[aria-pressed="true"] span, .pb-date[aria-pressed="true"] small { color: #e8dccf; }
.pb-date:hover:not(:disabled):not([aria-pressed="true"]) { border-color: #b9a58f; }
.pb-date.is-closed { opacity: .5; background: transparent; }
.pb-other-date { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 14px; padding: 10px 14px; border: 1px dashed #d8cdbf; border-radius: 12px; font-size: 13px; color: var(--pb-muted); }
.pb-other-date.is-active { border-style: solid; border-color: var(--pb-ink); color: var(--pb-ink); }
.pb-other-date input { min-height: 44px; padding: 8px 10px; border: 1px solid #d9d0c4; border-radius: 9px; background: #fff; color: var(--pb-ink); font-size: 15px; }

.pb-services { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 14px; scrollbar-width: none; }
.pb-services::-webkit-scrollbar { display: none; }
.pb-service { display: flex; flex-direction: column; align-items: flex-start; flex: 1 0 auto; min-width: 128px; min-height: 56px; padding: 9px 14px; border: 1px solid #dfd5c8; border-radius: 12px; background: #fbf8f3; text-align: left; }
.pb-service strong { font-size: 14px; }
.pb-service small { font-size: 11.5px; color: var(--pb-muted); }
.pb-service[aria-pressed="true"] { border-color: var(--pb-orange); background: #fff0e4; box-shadow: inset 0 0 0 1px var(--pb-orange); }
.pb-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.pb-slot { min-height: 48px; padding: 8px 4px; border: 1px solid #dfd5c8; border-radius: 11px; background: #fbf8f3; font-size: 15px; font-weight: 650; font-variant-numeric: tabular-nums; }
.pb-slot:hover:not(:disabled) { border-color: var(--pb-orange); background: #fff2e7; }
.pb-slot[aria-pressed="true"] { border-color: var(--pb-orange); background: var(--pb-orange); color: #291a12; box-shadow: 0 6px 18px #ff833f40; }
.pb-slot.is-off { background: transparent; border-style: dashed; color: #b2a699; text-decoration: line-through; font-weight: 500; }
.pb-slot-skeleton { display: block; min-height: 48px; border-radius: 11px; background: linear-gradient(90deg, #efe8de 0%, #f8f3ec 50%, #efe8de 100%); background-size: 200% 100%; animation: pb-shimmer 1.2s ease-in-out infinite; }
@keyframes pb-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.pb-slot-message { margin: 0 0 12px; padding: 12px 14px; border-radius: 12px; background: #f5efe7; color: #5f5248; font-size: 13.5px; line-height: 1.6; }
.pb-slot-message p { margin: 0 0 10px; }
.pb-slot-message strong { color: var(--pb-ink); }
.pb-slot-message .pb-button { margin: 0 8px 8px 0; }
.pb-slot-message.is-warning { background: #fff2df; color: #795124; }
.pb-slot-message.is-error { background: #fff0e8; color: #8d3e20; }
.pb-slot-message a { color: var(--pb-orange-ink); font-weight: 650; }

.pb-field-row { display: grid; gap: 0 12px; }
.pb-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; font-size: 13px; font-weight: 650; min-width: 0; }
.pb-field-label { display: block; }
.pb-field input, .pb-field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #d9d0c4; border-radius: 11px; background: #fff; color: var(--pb-ink); font-size: 16px; font-weight: 400; }
.pb-field textarea { resize: vertical; min-height: 92px; line-height: 1.5; }
.pb-field input:focus, .pb-field textarea:focus { border-color: var(--pb-orange); outline: 3px solid #ff833f33; outline-offset: 0; }
.pb-required { color: var(--pb-orange-deep); }
.pb-optional { font-weight: 400; color: var(--pb-muted); }
.pb-counter { align-self: flex-end; font-size: 11px; font-weight: 400; color: var(--pb-muted); }
.pb-areas { margin: 0 0 16px; padding: 0; border: 0; min-width: 0; }
.pb-areas legend { padding: 0; margin-bottom: 9px; font-size: 13px; font-weight: 650; }
.pb-area-options { display: flex; flex-wrap: wrap; gap: 8px; }
.pb-area { position: relative; display: inline-flex; }
.pb-area input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pb-area span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 15px; border: 1px solid #dfd5c8; border-radius: 999px; background: #fbf8f3; font-size: 14px; cursor: pointer; }
.pb-area input:checked + span { border-color: var(--pb-ink); background: var(--pb-ink); color: var(--pb-white); }
.pb-area input:focus-visible + span { outline: 3px solid #b64b10; outline-offset: 3px; }
.pb-privacy { margin: 0; font-size: 12px; color: var(--pb-muted); line-height: 1.6; padding-left: 12px; border-left: 2px solid #e4c3a5; }

.pb-summary { align-self: start; padding: 20px 18px; border: 1px solid #2b241e; border-radius: var(--pb-radius); background: var(--pb-dark); color: #f6f1ea; }
.pb-summary .pb-eyebrow { color: #e7a57e; margin-bottom: 2px; }
.pb-summary .pb-step-number { background: #34261c; border-color: #6b452c; color: #ffb486; }
.pb-summary-list { display: grid; gap: 0; margin: 0 0 6px; }
.pb-summary-list div { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid #2e2721; font-size: 14px; }
.pb-summary-list dt { color: #b4aa9f; }
.pb-summary-list dd { margin: 0; font-weight: 650; text-align: right; overflow-wrap: anywhere; min-width: 0; }
.pb-summary .pb-muted { color: #ffb486; font-weight: 500; }
.pb-summary .pb-notice-warning { margin: 14px 0 0; }
.pb-summary .pb-error { background: #3d221a; border-color: #7a3f2c; color: #ffcdb8; }
.pb-summary .pb-text-button { color: #ffb486; }
.pb-summary-foot { margin: 12px 0 0; font-size: 12px; color: #b4aa9f; line-height: 1.6; }

/* Status view */
.pb-status-hero { position: relative; overflow: hidden; margin-bottom: 16px; padding: 24px 20px; border-radius: var(--pb-radius); background: var(--pb-dark); color: #f7f2ea; }
.pb-status-hero .pb-spinner { margin-bottom: 14px; border-color: #4a3d31; border-top-color: #ffb486; }
.pb-status-top { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; }
.pb-status-hero .pb-eyebrow { color: #e7a57e; overflow-wrap: anywhere; }
.pb-status-hero h1 { font-size: clamp(28px, 7.5vw, 44px); font-weight: 650; margin: 12px 0 8px; overflow-wrap: anywhere; }
.pb-number { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400; color: #ffa36b; white-space: nowrap; }
.pb-status-copy { margin: 0 0 18px; max-width: 560px; font-size: 15px; color: #d6cbbf; line-height: 1.6; }
.pb-status-when { display: flex; align-items: center; gap: 16px; padding-top: 16px; border-top: 1px solid #ffffff1f; }
.pb-status-when strong { font-size: 44px; line-height: 1; letter-spacing: -.05em; font-weight: 650; font-variant-numeric: tabular-nums; }
.pb-status-when span { font-size: 14px; color: #d6cbbf; line-height: 1.45; }
.pb-tone-confirmed { background: radial-gradient(120% 90% at 100% 0%, #1f3a26 0%, transparent 60%), #121a14; }
.pb-tone-arrived { background: radial-gradient(120% 90% at 100% 0%, #1b2a44 0%, transparent 60%), #10141c; }
.pb-tone-pending { background: radial-gradient(120% 90% at 100% 0%, #3a2414 0%, transparent 60%), var(--pb-dark); }
.pb-tone-cancelled, .pb-tone-no_show { background: radial-gradient(120% 90% at 100% 0%, #3b1f1a 0%, transparent 60%), #171211; }
.pb-tone-completed { background: #1a1816; }
.pb-pill { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; padding: 7px 12px; border-radius: 999px; border: 1px solid #6a4126; background: #3a2416; color: #ffb27f; font-size: 12px; font-weight: 700; }
.pb-pill i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pb-pill-confirmed { background: #1d3324; border-color: #35583f; color: #a7d8b4; }
.pb-pill-arrived { background: #1b2a44; border-color: #2d4570; color: #a9c6ff; }
.pb-pill-completed { background: #26231f; border-color: #3d3832; color: #cfc4b8; }
.pb-pill-cancelled, .pb-pill-no_show { background: #3b221f; border-color: #6a3a33; color: #f4b3a7; }
.pb-status-grid { display: grid; gap: 16px; }
.pb-card { min-width: 0; padding: 20px 18px; border: 1px solid var(--pb-line); border-radius: var(--pb-radius); background: var(--pb-white); }
.pb-card h2 { font-size: 20px; margin: 0 0 14px; overflow-wrap: anywhere; }
.pb-detail-list { display: grid; margin: 0 0 14px; }
.pb-detail-list div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid #efe7dd; font-size: 14px; }
.pb-detail-list dt { color: var(--pb-muted); flex-shrink: 0; }
.pb-detail-list dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; min-width: 0; white-space: pre-wrap; }
.pb-address { margin: 0 0 14px; font-size: 13px; color: var(--pb-muted); }
.pb-actions { display: grid; gap: 8px; }
.pb-actions .pb-button { width: 100%; }
.pb-keep-link { margin: 14px 0 0; font-size: 12px; color: var(--pb-muted); line-height: 1.6; }
.pb-details-empty { padding: 4px 0; }
.pb-chat { display: flex; flex-direction: column; }
.pb-chat-head { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 12px; }
.pb-chat-head h2 { margin: 0; }
.pb-sync { font-size: 11.5px; color: var(--pb-muted); }
.pb-sync.is-error { color: #9b5426; }
.pb-thread { flex: 1; min-height: 160px; max-height: 420px; overflow-y: auto; margin: 0 -6px 12px; padding: 12px 6px; border-radius: 12px; background: #f8f4ee; overscroll-behavior: contain; }
.pb-messages { display: flex; flex-direction: column; gap: 10px; list-style: none; margin: 0; padding: 0 6px; }
.pb-msg { display: flex; flex-direction: column; gap: 3px; max-width: 86%; padding: 10px 13px 8px; border-radius: 16px; border: 1px solid transparent; }
.pb-msg p { margin: 0; font-size: 14.5px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.pb-msg time { align-self: flex-end; font-size: 11px; color: #8b7f74; }
.pb-msg-author { font-size: 11.5px; font-weight: 700; }
.pb-msg-mine { align-self: flex-end; background: #ffe7d6; border-color: #f3c39f; border-top-right-radius: 5px; }
.pb-msg-mine .pb-msg-author { color: var(--pb-orange-ink); }
.pb-msg-venue { align-self: flex-start; background: #fff; border-color: #e3d9cd; border-top-left-radius: 5px; }
.pb-msg-venue .pb-msg-author { color: #5f5248; }
.pb-msg-system { align-self: center; max-width: 92%; text-align: center; }
.pb-msg-system span { display: inline-block; padding: 6px 12px; border-radius: 999px; background: #e5f0de; color: #3f6b3a; font-size: 12px; font-weight: 600; line-height: 1.45; }
.pb-msg-system.is-cancel span { background: #fbe7df; color: #8d3e20; }
.pb-thread-empty { margin: 0; padding: 28px 12px; text-align: center; color: var(--pb-muted); font-size: 13.5px; }
.pb-chat-form { display: flex; align-items: flex-end; gap: 8px; }
.pb-chat-form textarea { flex: 1; min-width: 0; min-height: 50px; max-height: 160px; padding: 12px 14px; border: 1px solid #d9d0c4; border-radius: 12px; background: #fff; color: var(--pb-ink); font-size: 16px; line-height: 1.45; resize: vertical; }
.pb-chat-form textarea:focus { border-color: var(--pb-orange); outline: 3px solid #ff833f33; outline-offset: 0; }
.pb-chat-form .pb-button { min-height: 50px; flex-shrink: 0; }
.pb-chat-foot { margin: 10px 0 0; font-size: 12px; color: var(--pb-muted); }
.pb-status-links { margin: 14px 0 0; text-align: center; }

/* Dialog */
.pb-dialog { width: min(440px, calc(100% - 28px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid #d8cdbf; border-radius: 20px; background: var(--pb-white); color: var(--pb-ink); box-shadow: 0 25px 100px #0004; overflow: auto; }
.pb-dialog::backdrop { background: #160e09bf; backdrop-filter: blur(4px); }
.pb-dialog-body { padding: 26px 22px 8px; }
.pb-dialog-body h2 { font-size: 26px; margin: 0 0 10px; }
.pb-dialog-body p { color: var(--pb-muted); line-height: 1.6; }
.pb-dialog-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; padding: 16px 22px 20px; border-top: 1px solid var(--pb-line); background: #f7f2eb; }

/* Footer */
.pb-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; margin-top: 36px; padding: 22px 0 calc(26px + env(safe-area-inset-bottom)); border-top: 1px solid #e2d9cd; font-size: 12px; color: #8a7f74; }
.pb-powered { display: inline-flex; align-items: center; gap: 7px; }
.pb-powered img { width: 18px; height: 18px; }
.pb-powered strong { color: #5f5248; font-weight: 650; }

/* Larger screens */
@media (min-width: 600px) {
  .pb-page { padding: 24px 24px 0; }
  .pb-header-inner { padding: 12px 24px; }
  .pb-hero { padding: 36px 34px; min-height: 250px; }
  .pb-hero-art { right: -20px; opacity: .8; }
  .pb-step, .pb-card, .pb-summary { padding: 24px; }
  .pb-dates { margin: 0 0 12px; padding: 2px 0 6px; }
  .pb-field-row { grid-template-columns: 1fr 1fr; }
  .pb-actions { grid-template-columns: 1fr 1fr; }
  .pb-status-hero { padding: 30px 32px; }
}
@media (min-width: 960px) {
  .pb-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
  .pb-summary { position: sticky; top: 20px; }
  .pb-status-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; align-items: start; }
  .pb-actions { grid-template-columns: 1fr; }
  .pb-hero-art { right: 6%; }
  .pb-thread { max-height: 460px; }
}
@media (max-width: 380px) {
  .pb-header-caption { display: none; }
  .pb-page { padding: 14px 14px 0; }
  .pb-hero { padding: 24px 18px; }
  .pb-step, .pb-card, .pb-summary { padding: 18px 14px; }
  .pb-dates { margin: 0 -14px 12px; padding: 2px 14px 6px; grid-template-columns: repeat(7, 62px); }
  .pb-stepper { gap: 10px; }
  .pb-slots { grid-template-columns: repeat(auto-fill, minmax(68px, 1fr)); }
  .pb-status-when strong { font-size: 38px; }
  .pb-chat-form { flex-direction: column; align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
