.thb-app{--wine:#34465c;--gold:#c39a55;--ink:#302820;--line:#e4d8c9;font-family:Arial,sans-serif;color:var(--ink);max-width:1600px;margin:0 auto;background:#fbf8f3;border:1px solid #e7ddd0;border-radius:18px;overflow:hidden;box-shadow:0 12px 34px rgba(54,35,19,.12)}
.thb-app *{box-sizing:border-box}
.thb-hero{position:relative;width:100%;background:#38261c;overflow:hidden;border-bottom:5px solid var(--gold)}
.thb-hero img{display:block!important;width:100%!important;max-width:none!important;height:auto!important;aspect-ratio:2170/548;object-fit:cover;object-position:center center;margin:0!important;padding:0!important}
.thb-toolbar{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;padding:14px;background:linear-gradient(110deg,#211d19,#34271e 55%,#211d19);border-bottom:2px solid var(--gold)}
.thb-count-label{display:flex;align-items:center;gap:9px;font-size:15px;color:#fff}.thb-count-label span{font-size:25px;color:#d7ad61}
.thb-count-control{display:flex;align-items:center;gap:5px}
.thb-count-control button{width:37px;height:37px;border:0;border-radius:8px;background:var(--wine);color:#fff;font-size:24px;cursor:pointer}
.thb-count-control input{width:58px;height:37px;border:1px solid #d7cabb;border-radius:8px;text-align:center;font-size:17px;font-weight:800;color:var(--ink)}
.thb-action{border:0;border-radius:8px;padding:10px 14px;background:#76685d;color:#fff;font-size:12px;font-weight:700;cursor:pointer;transition:.18s}
.thb-action:hover,.thb-submit:hover{filter:brightness(1.08);transform:translateY(-1px)}
.thb-add{background:#a46a32}.thb-save{background:#6d4b3a}.thb-print{background:#3e6652}.thb-reset{background:#82786e}
.thb-section-heading{display:flex;align-items:center;gap:12px;padding:18px 20px 10px}
.thb-section-heading>span{display:flex;align-items:center;justify-content:center;flex:0 0 38px;height:38px;border-radius:50%;background:var(--wine);color:#fff;font-weight:800;border:2px solid #d9b779}
.thb-section-heading h2{margin:0;color:#4c2c24;font-family:Georgia,serif;font-size:21px}
.thb-section-heading p{margin:4px 0 0;color:#7c6d61;font-size:12px}
.thb-guest-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;padding:10px 14px 18px}
.thb-guest-card{position:relative;min-width:0;padding:11px;border:1px solid color-mix(in srgb,var(--accent),white 55%);border-radius:12px;background:linear-gradient(180deg,var(--tint),#fff 28%);box-shadow:0 3px 10px #50351c0b}
.thb-card-head{display:flex;align-items:center;gap:9px;margin:0 26px 11px 0}
.thb-number{display:inline-flex;align-items:center;justify-content:center;width:35px;height:35px;border-radius:50%;background:var(--accent);color:#fff;font-size:17px;font-weight:800;box-shadow:0 3px 7px #0002}
.thb-card-head strong{display:block;color:#3c3028;font-size:14px}.thb-card-head small{display:block;color:#8b7a6b;font-size:10px;margin-top:2px}
.thb-remove{position:absolute;right:8px;top:8px;width:23px;height:23px;border:0;border-radius:50%;background:#fff;color:#a52d35;font-size:17px;cursor:pointer;box-shadow:0 1px 4px #0002}
.thb-label{display:block;margin:8px 0;color:#59483b;font-size:11px;font-weight:800}
.thb-label input,.thb-label select,.thb-label textarea{display:block;width:100%;min-width:0;margin-top:4px;padding:8px 8px;border:1px solid #d8cdbf;border-radius:7px;background:#fff;color:#382f28;font:normal 12px Arial,sans-serif}
.thb-label textarea{resize:vertical;min-height:48px}
.thb-booking-details{margin:0 14px 14px;padding:0 0 15px;background:#fff;border:1px solid #e5d8c9;border-radius:13px;box-shadow:0 3px 12px #513c2508}
.thb-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:8px 20px 18px}
.thb-detail-grid label{display:block;color:#5d493b;font-size:12px;font-weight:800}
.thb-detail-grid input,.thb-detail-grid select,.thb-detail-grid textarea{display:block;width:100%;margin-top:5px;padding:10px;border:1px solid #d9cdbf;border-radius:8px;background:#fff;color:#382f28;font:normal 13px Arial,sans-serif}
.thb-detail-grid .thb-wide{grid-column:1/-1}
.thb-submit-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 20px}
.thb-submit-note{max-width:560px;color:#7a6b5e;font-size:11px;line-height:1.5}
.thb-submit{border:1px solid #e0c17f;border-radius:9px;padding:13px 20px;background:linear-gradient(135deg,#465f7b,#253448);color:#fff;font-size:14px;font-weight:800;cursor:pointer;box-shadow:0 4px 10px #4c1c2528}
.thb-submit span{margin-left:12px;color:#f3d58e;font-size:18px}
.thb-summary{display:flex;align-items:stretch;justify-content:space-around;gap:6px;flex-wrap:wrap;margin:0 14px 14px;padding:12px;background:#fff;border:1px solid #ddc9ad;border-radius:12px}
.thb-summary>div{min-width:100px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3px 12px;border-left:1px solid #eee3d6}
.thb-summary>div:first-child{border-left:0}.thb-summary strong{font-size:22px;color:var(--wine)}.thb-summary span{font-size:10px;color:#75665a;text-align:center}
.thb-notice{min-height:0;text-align:center;color:#47724e;font-size:12px}.thb-notice:not(:empty){padding:0 12px 12px}
.thb-empty{grid-column:1/-1;padding:30px 14px;text-align:center;background:#fff;border:1px dashed #d5c4b1;border-radius:10px;color:#88786a}
.thb-status{margin:14px;padding:13px 16px;border-radius:9px;font-size:13px;font-weight:700}
.thb-status-success{background:#edf7ee;border:1px solid #b9d8bd;color:#245b31}.thb-status-error{background:#fff1ef;border:1px solid #e8b9b2;color:#963b32}
@media(max-width:1100px){.thb-guest-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.thb-hero img{aspect-ratio:1.65/1}.thb-guest-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:8px}.thb-toolbar{gap:7px;padding:10px}.thb-count-label{width:100%;justify-content:center}.thb-action{flex:1 1 40%;padding:10px 7px}.thb-detail-grid{grid-template-columns:1fr;padding:8px 12px 15px}.thb-detail-grid .thb-wide{grid-column:auto}.thb-submit-row{align-items:stretch;flex-direction:column;padding:0 12px}.thb-submit{width:100%}.thb-section-heading{padding:14px 12px 8px}.thb-section-heading h2{font-size:18px}.thb-summary>div{min-width:70px;padding:4px 6px}.thb-guest-card{padding:8px}.thb-label input,.thb-label select,.thb-label textarea{font-size:11px}}
@media print{body *{visibility:hidden!important}.thb-app,.thb-app *{visibility:visible!important}.thb-app{position:absolute;left:0;top:0;width:100%;max-width:none;box-shadow:none;border:0}.thb-toolbar,.thb-remove,.thb-submit,.thb-notice{display:none!important}.thb-guest-cards{grid-template-columns:repeat(5,1fr)}.thb-guest-card{break-inside:avoid}.thb-hero img{max-height:220px;object-fit:cover}}

/* v1.2.0 — guests are revealed from the centre of the pub scene as the guest count increases. */
.thb-hero{position:relative;isolation:isolate}
.thb-room-overlay{position:absolute;inset:0;z-index:3;pointer-events:none;overflow:hidden}
.thb-seat-cover{position:absolute;left:0;bottom:0;width:9.8%;height:57%;background-image:url('images/pub-wood-panel.jpg');background-size:cover;background-position:center;border:1px solid rgba(75,42,20,.7);border-bottom:0;border-radius:8px 8px 0 0;box-shadow:0 -3px 9px rgba(28,13,5,.2);transform:translateY(0);transition:transform .65s cubic-bezier(.2,.8,.2,1),opacity .3s;opacity:1}
.thb-seat-cover.is-open{transform:translateY(110%);opacity:0}
.thb-room-name{position:absolute;z-index:4;bottom:2%;width:9.1%;min-height:12%;display:flex;align-items:center;justify-content:center;padding:3px 5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:2px solid #e7c47e;border-radius:8px;background:linear-gradient(135deg,#3c2518,#21140e);color:#fff7e7;font-family:Georgia,serif;font-size:clamp(9px,.95vw,17px);font-weight:700;text-shadow:0 1px 2px #000;box-shadow:0 3px 8px rgba(0,0,0,.35);animation:thb-guest-pop .48s ease both}
@keyframes thb-guest-pop{from{opacity:0;transform:translateY(14px) scale(.94)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:650px){.thb-seat-cover{height:54%;width:9.8%}.thb-room-name{font-size:8px;padding:2px 1px;border-width:1px;bottom:2%;min-height:12%}}

/* v1.2.1 — clean empty pub scene; reveal individual guest portraits only when added. */
.thb-hero img{aspect-ratio:2170/388;object-fit:cover;object-position:center center}
.thb-room-overlay{position:absolute;inset:0;z-index:3;pointer-events:none;overflow:hidden}
.thb-guest-figure{position:absolute;bottom:0;width:10.8%;height:66%;display:flex;align-items:flex-end;justify-content:center;z-index:3;animation:thb-guest-pop .55s cubic-bezier(.2,.8,.2,1) both}
.thb-guest-figure img{display:block;width:100%;height:100%;object-fit:contain;object-position:center bottom;aspect-ratio:auto;filter:drop-shadow(0 2px 3px rgba(0,0,0,.18))}
.thb-room-name{bottom:2%;width:9.1%;min-height:12%;z-index:5}
@media(max-width:650px){.thb-guest-figure{width:10.8%;height:64%}.thb-room-name{width:9.1%;font-size:7px;bottom:2%;min-height:12%}}

/* v1.2.4 — Dish hover preview opens to the left so it stays inside the booking layout. */
.thb-menu-field>span{display:block;margin-bottom:4px}
.thb-menu-wrap{position:relative}
.thb-menu-trigger{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:36px;padding:8px 10px;border:1px solid #d8cdbf;border-radius:7px;background:#fff;color:#382f28;font:normal 12px Arial,sans-serif;text-align:left;cursor:pointer}
.thb-chevron{color:#8b6a45;font-size:15px}
.thb-menu-list{display:none;position:absolute;left:0;top:calc(100% + 4px);z-index:1000;width:min(100%,310px);max-height:260px;overflow-y:auto;padding:5px;background:#fff;border:1px solid #d8c6ad;border-radius:10px;box-shadow:0 12px 28px rgba(40,25,12,.24)}
.thb-menu-wrap.is-open .thb-menu-list{display:block}
.thb-menu-option{display:flex;align-items:center;gap:9px;width:100%;min-height:44px;padding:5px 7px;border:0;border-radius:7px;background:#fff;color:#382f28;font:normal 12px Arial,sans-serif;text-align:left;cursor:pointer}
.thb-menu-option:hover,.thb-menu-option:focus{background:#f6ecdc;color:#34465c;outline:0}
.thb-menu-option img,.thb-option-placeholder{display:flex;align-items:center;justify-content:center;flex:0 0 48px;width:48px;height:38px;object-fit:cover;border-radius:5px;background:#f2e9dc}
.thb-option-placeholder{font-size:20px}
.thb-dish-preview{display:none;position:absolute;z-index:1010;left:auto;right:calc(100% + 10px);top:0;width:220px;padding:7px;border:1px solid #d7b978;border-radius:11px;background:#fffaf1;box-shadow:0 12px 28px rgba(40,25,12,.28);pointer-events:none}
.thb-dish-preview.is-visible{display:block}
.thb-dish-preview img{display:none;width:100%;height:145px;object-fit:cover;border-radius:7px}
.thb-dish-preview.has-image img{display:block}
.thb-dish-preview-caption{padding:7px 4px 3px;color:#5b3027;font-family:Georgia,serif;font-size:14px;font-weight:700;text-align:center}
.thb-selected-dish{display:flex;align-items:center;gap:9px;min-height:58px;margin-top:6px;padding:6px;border:1px solid #eadfce;border-radius:8px;background:#fffaf2}.thb-selected-dish-image{position:relative;display:flex;align-items:center;justify-content:center;flex:0 0 64px;width:64px;height:52px;overflow:hidden;border-radius:6px;background:#f0e6d8}.thb-selected-dish-image img{display:none;width:100%;height:100%;object-fit:cover}.thb-selected-dish-image span{font-size:22px}.thb-selected-dish-copy{display:flex;flex-direction:column;gap:3px;min-width:0}.thb-selected-dish-copy strong{color:#5d2634;font-family:Georgia,serif;font-size:12px;line-height:1.25}.thb-selected-dish-copy span{color:#72522f;font-size:11px;font-weight:700}.thb-selected-dish-copy small{color:#75685d;font-size:10px;line-height:1.25}.thb-manager-menu .thb-menu-field{margin:10px 0 13px}.thb-manager-menu .thb-menu-field>span{font-weight:700;color:#34465c;font-size:12px}
.thb-no-menu-items{padding:12px;color:#85766a;font-size:11px}
@media(max-width:700px){.thb-dish-preview{left:auto;right:0;top:calc(100% + 5px);width:190px}.thb-dish-preview img{height:115px}.thb-menu-list{width:100%}}
@media print{.thb-menu-list,.thb-dish-preview{display:none!important}}


/* v1.2.6 — preserve the complete pub photograph, including the ceiling.
   Use the image's natural 2170:548 ratio instead of the earlier cropped 2170:388 frame. */
.thb-hero{height:auto!important;min-height:0!important}
.thb-hero>img{display:block;width:100%;height:auto!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center top!important}
@media(max-width:700px){.thb-hero>img{height:auto!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center top!important}}
@media print{.thb-hero>img{max-height:none!important;height:auto!important;object-fit:contain!important}}

/* v1.2.7 — taller pub artwork with the complete vaulted ceiling and rafters. */
.thb-hero{height:auto!important;overflow:hidden}
.thb-hero>img{width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center top!important}


/* v1.2.8 — normalize guest portraits to Guest 6's consistent displayed height.
   Preserve each transparent PNG's natural aspect ratio instead of stretching
   every portrait to the same fixed width. */
.thb-guest-figure{width:10.8%;height:66%;overflow:visible}
.thb-guest-figure img{width:auto!important;height:100%!important;max-width:none!important;max-height:100%!important;object-fit:contain!important;object-position:center bottom!important;flex:0 0 auto}
@media(max-width:650px){.thb-guest-figure{width:10.8%;height:64%;overflow:visible}.thb-guest-figure img{width:auto!important;height:100%!important;max-width:none!important;max-height:100%!important}}


/* v1.2.9 — use a cache-busted full-height pub image and reserve its true 1907:825 frame. */
.thb-app .thb-hero{position:relative!important;display:block!important;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:1907/825!important;overflow:hidden!important}
.thb-app .thb-hero>img{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;min-height:100%!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center top!important}
.thb-app .thb-guest-figure{height:38%!important}
.thb-app .thb-room-name{min-height:7%!important}
.thb-app .thb-seat-cover{height:30%!important}
@media(max-width:700px){.thb-app .thb-hero{aspect-ratio:1907/825!important}.thb-app .thb-guest-figure{height:38%!important}.thb-app .thb-room-name{min-height:7%!important}.thb-app .thb-seat-cover{height:30%!important}}
@media print{.thb-app .thb-hero{aspect-ratio:1907/825!important}.thb-app .thb-hero>img{position:absolute!important;height:100%!important}}


/* v1.3.0 — reduce portrait height while retaining uniform sizing and full pub ceiling. */
.thb-app .thb-guest-figure{height:25%!important}
.thb-app .thb-guest-figure img{height:100%!important;width:auto!important;max-height:100%!important;object-fit:contain!important;object-position:center bottom!important}
@media(max-width:700px){.thb-app .thb-guest-figure{height:25%!important}.thb-app .thb-guest-figure img{height:100%!important;width:auto!important;max-height:100%!important}}


/* v1.3.1 — lower guest name labels to the bottom edge of the pub scene. */
.thb-app .thb-room-name{bottom:0!important;transform:translateY(0)!important}
@media(max-width:700px){.thb-app .thb-room-name{bottom:0!important}}

/* v1.4.0 — additional guest rows in the oak-panelled pub snug. */
.thb-extra-rows{display:flex;flex-direction:column;gap:0;background:#241711}
.thb-extra-row{position:relative;display:grid;grid-template-columns:repeat(10,minmax(0,1fr));align-items:end;gap:5px;min-height:178px;padding:10px 8px 7px;overflow:hidden;background-image:linear-gradient(180deg,rgba(28,13,7,.04) 0%,rgba(28,13,7,.12) 48%,rgba(30,8,14,.28) 100%),url('images/three-horseshoes-pub-full-ceiling-v129.jpg');background-size:cover;background-position:center 48%;border-top:3px solid #c49a55;border-bottom:3px solid #9b713c;box-shadow:inset 0 8px 12px #12090588,inset 0 -5px 8px #12090588}
.thb-extra-row:before{content:"";position:absolute;left:0;right:0;bottom:8px;height:38%;z-index:0;background:linear-gradient(180deg,#6d2735,#451522 70%,#2d1018);border-top:3px solid #a76b45;border-bottom:5px solid #9a713e;box-shadow:inset 0 5px 8px #ffffff16,inset 0 -7px 9px #0008}
.thb-extra-row:after{content:"";position:absolute;left:0;right:0;top:0;height:5px;background:linear-gradient(90deg,#8e6335,#e0bd76,#8e6335);z-index:1}
.thb-extra-guest{position:relative;z-index:2;min-width:0;height:160px;display:flex;align-items:flex-end;justify-content:center}
.thb-extra-guest img{display:block;max-width:100%;width:auto;height:150px;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 2px 3px #0008)}
.thb-extra-name{position:absolute;bottom:0;left:50%;transform:translateX(-50%);width:96%;min-height:29px;display:flex;align-items:center;justify-content:center;padding:3px 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:2px solid #e7c47e;border-radius:8px;background:linear-gradient(135deg,#3c2518,#21140e);color:#fff7e7;font-family:Georgia,serif;font-size:clamp(9px,.9vw,15px);font-weight:700;text-shadow:0 1px 2px #000;box-shadow:0 3px 8px #0006}
@media(max-width:700px){.thb-extra-row{grid-template-columns:repeat(5,minmax(0,1fr));row-gap:6px;padding:9px 6px}.thb-extra-guest{height:132px}.thb-extra-guest img{height:100px}.thb-extra-name{font-size:10px;min-height:25px}}
@media(max-width:420px){.thb-extra-row{grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;padding:6px 3px}.thb-extra-guest{height:112px}.thb-extra-guest img{height:96px}.thb-extra-name{font-size:8px;min-height:22px;padding:2px}}
@media print{.thb-extra-row{break-inside:avoid}.thb-extra-guest{height:150px}.thb-extra-guest img{height:125px}}

/* v1.4.1 gender selection test controls and no-repeat portrait placeholders */
.thb-app .thb-gender-field{display:flex;align-items:center;gap:16px;flex-wrap:wrap;border:1px solid #d9c7b3;border-radius:9px;padding:9px 12px;margin:10px 0;background:#fffaf4}
.thb-app .thb-gender-field legend{font-weight:700;padding:0 5px;color:#34465c}
.thb-app .thb-gender-field label{display:inline-flex;align-items:center;gap:6px;font-weight:500;cursor:pointer}
.thb-app .thb-gender-field input[type=radio]{accent-color:#34465c;width:16px;height:16px}
.thb-app .thb-portrait-placeholder{width:100%;height:100%;min-height:90px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#684333,#2d211c);color:#f4d58b;font-size:30px;border-radius:8px}
.thb-app .thb-no-portrait{background:rgba(60,35,25,.2)}


/* v1.4.6 — snug portraits are normalised to a consistent face scale and shared display frame. */
.thb-app .thb-extra-guest{align-items:flex-end!important}
.thb-app .thb-extra-guest img{height:150px!important;width:auto!important;max-width:100%!important;object-fit:contain!important;object-position:center bottom!important;flex:0 0 auto}
@media(max-width:700px){.thb-app .thb-extra-guest img{height:100px!important}}
@media(max-width:420px){.thb-app .thb-extra-guest img{height:96px!important}}

/* v1.4.7 — guest 11–50 PNGs have been alpha-trimmed and re-padded to a common visible height. */
.thb-app .thb-extra-guest img{height:150px!important;width:auto!important;object-fit:contain!important;object-position:center bottom!important}
@media(max-width:700px){.thb-app .thb-extra-guest img{height:100px!important}}
@media(max-width:420px){.thb-app .thb-extra-guest img{height:96px!important}}

/* v1.4.9 — streamlined guest manager and burgundy/gold navigation */
.thb-topnav{display:flex;align-items:stretch;justify-content:space-between;gap:12px;background:linear-gradient(100deg,#253448,#465f7b 48%,#253448);color:#fff3d4;border-bottom:3px solid #d4ad64;min-height:66px}.thb-brand{display:flex;align-items:center;gap:12px;padding:7px 18px;min-width:290px}.thb-brand-horseshoes{font-size:27px;color:#f0d078;letter-spacing:-7px;white-space:nowrap}.thb-brand-name{font-family:Georgia,serif;font-size:25px;font-weight:bold;color:#f2d27b;white-space:nowrap}.thb-brand-name small{display:block;text-align:center;font-size:10px;letter-spacing:3px;color:#f9e8bf}.thb-nav-actions{display:flex;align-items:stretch}.thb-nav-actions button{min-width:68px;padding:8px 10px;border:0;border-left:1px solid #ffffff24;background:transparent;color:#fff1d4;font-size:19px;cursor:pointer}.thb-nav-actions button span{display:block;font-size:11px;font-weight:700;margin-top:3px}.thb-nav-actions button:hover,.thb-nav-actions button.is-active{background:#526c88;color:#fff}.thb-guest-manager-wrap{padding:0 14px 16px}.thb-guest-picker{display:flex;align-items:center;gap:9px;padding:12px;border:1px solid #dfcdb7;border-radius:10px;background:#f7efe5}.thb-guest-picker strong{color:#34465c;margin-right:8px}.thb-guest-picker select{min-width:220px;max-width:55%;height:38px;border:1px solid #cbbba8;border-radius:7px;background:#fff;padding:0 10px}.thb-guest-picker>button:not(.thb-action){width:34px;height:36px;border:0;border-radius:7px;background:#34465c;color:white;font-size:25px;cursor:pointer}.thb-guest-manager{border:1px solid #d9c6ae;border-radius:11px;overflow:visible;background:#fffaf4;box-shadow:0 4px 14px #38231612}.thb-manager-title{display:flex;justify-content:space-between;align-items:center;padding:10px 14px;background:linear-gradient(90deg,#34465c,#465f7b);color:white;border-radius:10px 10px 0 0}.thb-manager-title span{font-size:12px;opacity:.9}.thb-manager-grid{display:grid;grid-template-columns:1.05fr 1.15fr 1fr;gap:12px;padding:12px}.thb-manager-person,.thb-manager-menu,.thb-manager-diet{min-width:0;padding:10px;border:1px solid #e1d3c4;border-radius:9px;background:#fff}.thb-manager-person{display:grid;grid-template-columns:82px 1fr;gap:8px 12px;align-content:start}.thb-manager-portrait{grid-row:span 2;width:82px;height:106px;display:flex;align-items:flex-end;justify-content:center;overflow:hidden;background:linear-gradient(145deg,#78523e,#302019);border-radius:7px}.thb-manager-portrait img{height:100%;width:auto;max-width:100%;object-fit:contain;object-position:center bottom}.thb-manager-person .thb-label{margin:0}.thb-manager-person input[type=text]{width:100%;min-height:34px}.thb-manager-menu>strong,.thb-manager-diet>strong{display:block;color:#34465c;font-size:14px;margin:0 0 10px}.thb-manager-menu .thb-menu-field{margin:8px 0}.thb-manager-diet label{display:flex;align-items:center;gap:7px;margin:7px 0;font-size:12px;color:#302820}.thb-manager-diet input[type=checkbox]{accent-color:#34465c}.thb-diet-other input[type=text]{min-width:0;flex:1;width:100px;padding:5px;border:1px solid #d8cabb;border-radius:5px}.thb-manager-footer{display:flex;justify-content:space-between;align-items:center;padding:8px 13px;border-top:1px solid #e5d8c8;color:#78685b;font-size:11px}.thb-manager-footer .thb-remove{position:static;border:0;background:#f3e5e1;color:#34465c;border-radius:6px;padding:6px 10px;cursor:pointer}.thb-guest-cards{display:block;padding:10px 0}.thb-manager-menu .thb-menu-list{max-height:220px}.thb-summary{scroll-margin-top:15px}.thb-guest-manager-wrap{scroll-margin-top:12px}
@media(max-width:900px){.thb-topnav{flex-direction:column}.thb-brand{justify-content:center}.thb-nav-actions{justify-content:space-around;flex-wrap:wrap}.thb-nav-actions button{flex:1;min-width:62px}.thb-manager-grid{grid-template-columns:1fr 1fr}.thb-manager-person{grid-column:1/-1}}@media(max-width:560px){.thb-brand-name{font-size:20px}.thb-brand{min-width:0}.thb-nav-actions button{min-width:0;padding:7px 4px;font-size:16px}.thb-nav-actions button span{font-size:9px}.thb-manager-grid{grid-template-columns:1fr}.thb-manager-person{grid-column:auto}.thb-guest-picker{flex-wrap:wrap}.thb-guest-picker select{flex:1;min-width:140px;max-width:none}.thb-manager-person{grid-template-columns:72px 1fr}.thb-manager-portrait{width:72px;height:96px}}
@media print{.thb-topnav,.thb-guest-picker{display:none!important}}
/* v1.4.9 navigation is the primary action bar; keep the compact guest counter below the room preview. */
.thb-app .thb-toolbar>.thb-add,.thb-app .thb-toolbar>.thb-reset,.thb-app .thb-toolbar>.thb-save,.thb-app .thb-toolbar>.thb-print{display:none!important}

/* v1.5.0 — editable event title displayed over the pub photograph */
.thb-app .thb-event-title-overlay{position:absolute;z-index:6;top:5.5%;left:50%;transform:translateX(-50%);max-width:88%;padding:0;opacity:0;pointer-events:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-family:Georgia,serif;font-size:clamp(16px,2.2vw,34px);font-weight:700;letter-spacing:.02em;color:#f6d98e;text-shadow:0 2px 4px #160b07,0 0 10px #160b07;text-align:center}
.thb-app .thb-event-title-overlay.has-title{opacity:1;padding:7px 22px;border:1px solid #d8b56d;border-radius:8px;background:linear-gradient(110deg,rgba(55,19,23,.94),rgba(112,32,47,.92),rgba(55,19,23,.94));box-shadow:0 3px 12px #160b0780}
.thb-app .thb-event-title-input{font-weight:600}
@media(max-width:600px){.thb-app .thb-event-title-overlay{top:4%;font-size:clamp(12px,3.5vw,20px);max-width:92%;padding:5px 10px}}
@media print{.thb-app .thb-event-title-overlay.has-title{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

/* v1.5.3 — keep Remove Guest inside the guest details panel */
.thb-app .thb-guest-manager .thb-manager-footer{
  position:relative;display:flex;align-items:center;justify-content:space-between;
  gap:12px;box-sizing:border-box;width:100%;max-width:100%;min-width:0;
  padding:10px 14px;overflow:hidden;
}
.thb-app .thb-guest-manager .thb-manager-footer .thb-remove{
  position:relative;inset:auto;right:auto;top:auto;left:auto;
  display:inline-flex;align-items:center;justify-content:center;
  flex:0 0 auto;max-width:100%;white-space:nowrap;margin-left:auto;
}
@media(max-width:480px){
  .thb-app .thb-guest-manager .thb-manager-footer{flex-wrap:wrap}
  .thb-app .thb-guest-manager .thb-manager-footer .thb-remove{margin-left:0}
}

/* v1.5.4 — explicitly anchor the full Remove Guest control inside the footer */
.thb-app .thb-guest-manager .thb-manager-footer{
  position:relative!important;
  display:block!important;
  box-sizing:border-box!important;
  width:100%!important;
  min-height:46px!important;
  padding:10px 150px 10px 14px!important;
  overflow:hidden!important;
}
.thb-app .thb-guest-manager .thb-manager-footer>span{
  display:inline-block!important;
  max-width:calc(100% - 150px)!important;
}
.thb-app .thb-guest-manager .thb-manager-footer>.thb-remove{
  position:absolute!important;
  top:50%!important;
  right:18px!important;
  left:auto!important;
  bottom:auto!important;
  transform:translateY(-50%)!important;
  display:inline-flex!important;
  width:auto!important;
  max-width:calc(100% - 36px)!important;
  height:auto!important;
  min-height:30px!important;
  padding:6px 12px!important;
  margin:0!important;
  white-space:nowrap!important;
  box-sizing:border-box!important;
  border:1px solid #d8b56d!important;
  border-radius:6px!important;
  background:#f3e5e1!important;
  color:#34465c!important;
  font-size:13px!important;
  line-height:1.2!important;
  z-index:2!important;
}
@media(max-width:480px){
 .thb-app .thb-guest-manager .thb-manager-footer{padding-right:130px!important}
 .thb-app .thb-guest-manager .thb-manager-footer>.thb-remove{right:10px!important;font-size:12px!important}
}

/* v1.5.5 menu pricing and booking cost display */
.thb-option-price{margin-left:auto;color:#8b5a2b;font-weight:700;white-space:nowrap}
.thb-guest-cost{margin:10px 14px;padding:10px 14px;text-align:right;border-top:1px solid #ead8c4;color:#79263a;font-weight:600}
.thb-guest-cost strong{font-size:18px;margin-left:8px}
.thb-cost-summary{border-left:1px solid #d9c2a5;padding-left:18px}
.thb-cost-summary strong{color:#79263a}
/* v1.5.7 guest allergen declaration and menu cross-check */
.thb-allergen-panel{margin:0 12px 12px;padding:13px 15px;border:1px solid #e3c9a9;border-radius:9px;background:#fff8ed}.thb-allergen-panel>strong{display:block;color:#7b2638;font-size:15px;margin-bottom:4px}.thb-allergen-panel>p{margin:0 0 10px;color:#6d5a4c;font-size:12px}.thb-allergen-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px 12px}.thb-allergen-options label,.thb-allergen-none{display:flex;align-items:center;gap:7px;font-size:12px;color:#302820}.thb-allergen-panel input[type=checkbox]{accent-color:#34465c}.thb-allergen-none{margin-top:12px;font-weight:700}.thb-allergen-notes{display:block;margin-top:10px;font-size:12px;font-weight:700;color:#5d2835}.thb-allergen-notes textarea{display:block;width:100%;margin-top:5px;padding:8px;border:1px solid #d8cabb;border-radius:6px;background:#fff}.thb-allergen-warning{margin-top:10px;padding:8px 10px;border-radius:6px;background:#f1eee8;color:#665647;font-size:12px;line-height:1.5}.thb-allergen-warning.has-conflict{background:#fff0ef;border:1px solid #d88c8c;color:#8b1e2d;font-weight:700}@media(max-width:700px){.thb-allergen-options{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* v2.0.0-beta26 — fill the complete pub scene frame without side letterboxing.
   The header image is intentionally cropped slightly top/bottom to fill the wide
   seating scene; guest overlays remain anchored to the same 1907:825 frame. */
.thb-app .thb-hero{
  width:100%!important;
  aspect-ratio:1907/825!important;
  overflow:hidden!important;
  background:transparent!important;
}
.thb-app .thb-hero>img{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-width:100%!important;
  min-height:100%!important;
  max-width:none!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  object-fit:cover!important;
  object-position:center center!important;
  margin:0!important;
  padding:0!important;
}
@media(max-width:700px){
  .thb-app .thb-hero{aspect-ratio:1907/825!important}
  .thb-app .thb-hero>img{object-fit:cover!important;object-position:center center!important}
}

/* Beta 40: compact guest requirement summary and allergen modal */
.thb-app .thb-guest-requirements-summary{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:5px;margin-top:2px;min-height:20px}.thb-app .thb-requirement-chip{display:inline-flex;align-items:center;padding:4px 8px;border-radius:20px;background:#f7e9df;border:1px solid #dfc3a8;color:#702638;font-size:11px;font-weight:700}.thb-app .thb-requirements-empty{font-size:11px;color:#88796d}.thb-app .thb-allergen-open{grid-column:1/-1;width:100%;border:0;border-radius:7px;background:#34465c;color:#fff;padding:10px 12px;font-weight:700;cursor:pointer;text-align:center}.thb-app .thb-allergen-open:hover{background:#465f7b}.thb-app .thb-allergen-panel{display:none}.thb-app .thb-allergen-panel.is-open{display:block;position:fixed;z-index:100000;left:50%;top:50%;transform:translate(-50%,-50%);width:min(680px,calc(100vw - 30px));max-height:calc(100vh - 40px);overflow:auto;margin:0;padding:18px;background:#fffaf4;border:2px solid #b88a52;border-radius:12px;box-shadow:0 0 0 100vmax rgba(25,14,10,.62),0 18px 55px rgba(0,0,0,.35)}.thb-app .thb-allergen-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.thb-app .thb-allergen-panel-heading>strong{margin:0}.thb-app .thb-allergen-close{width:32px;height:32px;border:0;border-radius:50%;background:#34465c;color:white;font-size:24px;line-height:1;cursor:pointer;flex:0 0 auto}

/* Beta 41: dietary choices sit beneath the guest allergen button; menu courses use two columns */
.thb-app .thb-manager-grid{grid-template-columns:minmax(245px,.78fr) minmax(0,2fr)!important;align-items:start}
.thb-app .thb-manager-person{grid-column:auto!important;grid-template-columns:82px minmax(0,1fr);align-content:start}
.thb-app .thb-manager-person .thb-guest-requirements-summary,.thb-app .thb-manager-person .thb-allergen-open,.thb-app .thb-manager-person .thb-manager-diet{grid-column:1/-1}
.thb-app .thb-manager-person .thb-manager-diet{margin-top:2px;padding:10px 11px;background:#fffaf5;border:1px solid #ead9c7;border-radius:8px}
.thb-app .thb-manager-person .thb-manager-diet>strong{margin-bottom:8px}
.thb-app .thb-manager-person .thb-manager-diet label{display:flex;align-items:center;gap:7px;margin:7px 0;font-size:12px}
.thb-app .thb-manager-menu{min-width:0}
.thb-app .thb-menu-course-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;align-items:start}
.thb-app .thb-menu-course-grid .thb-menu-field{min-width:0;margin:4px 0 10px}
.thb-app .thb-menu-course-grid .thb-selected-dish{min-width:0}
@media(max-width:760px){.thb-app .thb-manager-grid{grid-template-columns:1fr!important}.thb-app .thb-manager-person{grid-column:auto!important}.thb-app .thb-menu-course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.thb-app .thb-menu-course-grid{grid-template-columns:1fr}}

/* Beta 43: booking-wide shortcuts beside each guest menu heading */
.thb-app .thb-menu-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:0 0 10px}
.thb-app .thb-menu-heading>strong{display:block;color:#34465c;font-size:14px;margin:0}
.thb-app .thb-booking-shortcuts{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}
.thb-app .thb-booking-shortcut{border:1px solid #9a682f;border-radius:7px;background:linear-gradient(135deg,#9a642b,#b17b3c);color:#fff;padding:7px 11px;font-size:12px;font-weight:700;cursor:pointer;white-space:nowrap}
.thb-app .thb-booking-shortcut:hover{background:#7d2638;border-color:#7d2638}
@media(max-width:560px){.thb-app .thb-menu-heading{align-items:flex-start}.thb-app .thb-booking-shortcuts{width:100%;justify-content:flex-start}.thb-app .thb-booking-shortcut{flex:1 1 auto}}

/* Beta 45: booking-wide shortcuts share the guest picker row, after Add Guest */
.thb-app .thb-guest-picker{flex-wrap:wrap}
.thb-app .thb-booking-shortcuts-global{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin:0 0 0 auto;padding:0 0 0 10px}
@media(max-width:760px){.thb-app .thb-booking-shortcuts-global{margin-left:auto}}
@media(max-width:560px){.thb-app .thb-booking-shortcuts-global{width:100%;justify-content:stretch;margin:4px 0 0;padding:0}.thb-app .thb-booking-shortcuts-global .thb-booking-shortcut{flex:1 1 140px}}


/* Beta 48: keep booking fields inside the form while positioning the modal at the top of the viewport */
.thb-booking-modal{display:none;position:fixed;inset:0;z-index:2147483000;align-items:flex-start;justify-content:center;padding:18px 18px 18px;box-sizing:border-box;overflow-y:auto;overscroll-behavior:contain}
.thb-booking-modal.is-open{display:flex}
.thb-booking-modal-backdrop{position:absolute;inset:0;background:rgba(30,18,16,.66);backdrop-filter:blur(2px)}
.thb-booking-modal-dialog{position:relative;z-index:1;width:min(920px,calc(100vw - 36px));max-height:calc(100vh - 36px);max-height:calc(100dvh - 36px);overflow-y:auto;overscroll-behavior:contain;background:#fffaf5;border:1px solid #d9b98e;border-radius:14px;box-shadow:0 24px 80px rgba(0,0,0,.35);padding:22px;box-sizing:border-box;margin:0 auto}
.thb-booking-modal-close{position:sticky;top:0;float:right;z-index:3;width:36px;height:36px;border:0;border-radius:50%;background:#7b2735;color:#fff;font-size:25px;line-height:1;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.18)}
.thb-booking-modal-content{clear:both}
.thb-booking-modal-content>.thb-wine-preorder,.thb-booking-modal-content>.thb-booking-details{display:block!important;margin:0!important;max-height:none}
@media(max-width:600px){.thb-booking-modal{padding:8px}.thb-booking-modal-dialog{width:100%;max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px);padding:14px;border-radius:10px}}


/* Beta 51: booking-wide shortcuts beside the booking menu selector */
.thb-app .thb-menu-choice-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.thb-app .thb-menu-choice-row>.thb-selected-menu{flex:0 1 480px;min-width:260px}
.thb-app .thb-menu-choice-row .thb-booking-shortcuts-global{display:flex;align-items:center;justify-content:flex-start;gap:8px;flex:0 0 auto;margin:0;padding:0}
@media(max-width:760px){.thb-app .thb-menu-choice-row{align-items:stretch}.thb-app .thb-menu-choice-row>.thb-selected-menu{flex:1 1 100%;max-width:100%!important}.thb-app .thb-menu-choice-row .thb-booking-shortcuts-global{flex-wrap:wrap}.thb-app .thb-menu-choice-row .thb-booking-shortcut{flex:1 1 auto}}


/* Beta 52: prevent booking-detail fields overlapping and right-align menu shortcuts */
.thb-app .thb-booking-modal .thb-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
.thb-app .thb-booking-modal .thb-detail-grid>*{min-width:0;max-width:100%;box-sizing:border-box;}
.thb-app .thb-booking-modal .thb-detail-grid input,
.thb-app .thb-booking-modal .thb-detail-grid select,
.thb-app .thb-booking-modal .thb-detail-grid textarea{display:block;width:100%;max-width:100%;min-width:0;box-sizing:border-box;}
.thb-app .thb-menu-choice-row .thb-booking-shortcuts-global{margin-left:auto;justify-content:flex-end;}
@media(max-width:760px){
 .thb-app .thb-menu-choice-row .thb-booking-shortcuts-global{margin-left:0;justify-content:flex-start;}
}
@media(max-width:600px){
 .thb-app .thb-booking-modal .thb-detail-grid{grid-template-columns:minmax(0,1fr);}
}


/* Beta 53: constrain booking detail controls to their own grid columns.
   The popup is moved to the document body, so these selectors intentionally
   do not depend on the .thb-app ancestor. */
.thb-booking-modal .thb-detail-grid{
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  min-width:0;
}
.thb-booking-modal .thb-detail-grid > *{
  min-width:0 !important;
  max-width:100% !important;
  box-sizing:border-box !important;
}
.thb-booking-modal .thb-detail-grid label{
  min-width:0;
  max-width:100%;
  box-sizing:border-box;
}
.thb-booking-modal .thb-detail-grid input,
.thb-booking-modal .thb-detail-grid select,
.thb-booking-modal .thb-detail-grid textarea{
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
  box-sizing:border-box !important;
}
@media(max-width:600px){
  .thb-booking-modal .thb-detail-grid{grid-template-columns:minmax(0,1fr) !important;}
}

/* Customer quote save dialog */
.thb-quote-modal{position:fixed;inset:0;z-index:1000000;display:flex;align-items:center;justify-content:center;padding:20px;font-family:inherit}
.thb-quote-backdrop{position:absolute;inset:0;background:rgba(25,16,14,.68)}
.thb-quote-dialog{position:relative;width:min(100%,460px);max-height:90vh;overflow:auto;padding:28px;background:#fffaf4;border:1px solid #dfc8a7;border-radius:15px;box-shadow:0 20px 70px #0005;color:#302820}
.thb-quote-dialog h2{margin:0 34px 8px 0;color:#702438;font-family:Georgia,serif;font-size:25px}
.thb-quote-dialog p{margin:0 0 18px;color:#6e6258;font-size:14px;line-height:1.55}
.thb-quote-dialog label{display:block;margin:13px 0;color:#5c2634;font-size:13px;font-weight:700}
.thb-quote-dialog input{display:block;box-sizing:border-box;width:100%;margin-top:6px;padding:12px;border:1px solid #d8c8bd;border-radius:7px;background:#fff;font:inherit;color:#302820}
.thb-quote-close{position:absolute;top:12px;right:14px;border:0;background:transparent;color:#702438;font-size:28px;cursor:pointer}
.thb-quote-submit{width:100%;margin-top:12px;padding:13px 16px;border:0;border-radius:8px;background:#7b2638;color:#fff;font-weight:700;cursor:pointer}
.thb-quote-submit:disabled{opacity:.65;cursor:wait}
.thb-quote-feedback{min-height:20px;margin-top:10px;color:#315b48;font-size:13px;line-height:1.45}
@media(max-width:600px){.thb-quote-dialog{padding:22px 18px}}

/* Beta 55: place customer quote saving directly beneath the Wine and Booking Details shortcuts. */
.thb-app .thb-booking-shortcuts-global{flex-direction:column;align-items:stretch;gap:7px}
.thb-app .thb-booking-shortcut-row{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.thb-app .thb-booking-shortcuts-global>.thb-save-quote{align-self:flex-end;min-width:170px;text-align:center;background:linear-gradient(135deg,#6d4b3a,#8a5c43);border-color:#6d4b3a}
.thb-app .thb-booking-shortcuts-global>.thb-save-quote:hover{background:#7d2638;border-color:#7d2638}
@media(max-width:560px){.thb-app .thb-booking-shortcuts-global{width:100%;align-items:stretch}.thb-app .thb-booking-shortcut-row{width:100%;justify-content:stretch}.thb-app .thb-booking-shortcut-row .thb-booking-shortcut{flex:1 1 140px}.thb-app .thb-booking-shortcuts-global>.thb-save-quote{align-self:stretch;width:100%}}


/* Beta 71: visual tidy-up for the staff quotes and daily operations dashboard.
   Presentation-only changes: booking, quote, pricing and email logic are untouched. */
.thb-quotes-dashboard{
  width:min(100% - 28px,1280px)!important;
  margin:28px auto!important;
  color:#302923!important;
}
.thb-quotes-dashboard > div:first-child{
  background:linear-gradient(120deg,#642235 0%,#7b3045 58%,#89543f 100%)!important;
  padding:25px 30px!important;
  border-radius:14px 14px 0 0!important;
  box-shadow:0 8px 22px rgba(49,27,30,.12);
}
.thb-quotes-dashboard > div:first-child h2{
  font-family:inherit!important;
  font-size:clamp(23px,3vw,29px)!important;
  letter-spacing:-.35px;
}
.thb-quotes-dashboard > div:nth-child(2){
  padding:24px!important;
  border:1px solid #e7ddd5!important;
  border-radius:0 0 14px 14px!important;
  box-shadow:0 12px 32px rgba(50,34,25,.055)!important;
}
.thb-quotes-dashboard .thb-quote-stats > div{
  min-height:82px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  transition:transform .16s ease,box-shadow .16s ease;
}
.thb-quotes-dashboard .thb-quote-stats > div:hover{
  transform:translateY(-2px);
  box-shadow:0 7px 16px rgba(45,28,20,.07);
}
.thb-quotes-dashboard .thb-quotes-search,
.thb-quotes-dashboard .thb-quotes-filter{
  min-height:44px;
  background:#fff;
  color:#302923;
  font:inherit;
  border:1px solid #d9ccc3!important;
  border-radius:8px!important;
  padding:10px 13px!important;
  box-shadow:0 1px 2px rgba(30,20,15,.025);
}
.thb-quotes-dashboard .thb-quotes-search:focus,
.thb-quotes-dashboard .thb-quotes-filter:focus,
.thb-quotes-dashboard input[type=date]:focus{
  outline:3px solid rgba(123,38,56,.14);
  border-color:#7b2638!important;
}
.thb-quotes-dashboard .thb-quotes-table{
  border-collapse:separate!important;
  border-spacing:0!important;
  border:1px solid #e9e0da;
  border-radius:10px;
  overflow:hidden;
}
.thb-quotes-dashboard .thb-quotes-table thead th{
  padding:13px 12px!important;
  background:#f6f0eb!important;
  color:#642235!important;
  font-size:11px!important;
  font-weight:800!important;
  letter-spacing:.055em;
  text-transform:uppercase;
  border-bottom:1px solid #e5d9d1!important;
}
.thb-quotes-dashboard .thb-quotes-table thead th[role=button]{
  cursor:pointer;
}
.thb-quotes-dashboard .thb-quotes-table thead th[role=button]:hover{
  background:#eee3dc!important;
}
.thb-quotes-dashboard .thb-quotes-table thead th[role=button]:focus-visible{
  outline:3px solid rgba(123,38,56,.3);
  outline-offset:-3px;
}
.thb-quotes-dashboard .thb-quotes-table tbody td{
  padding:12px!important;
  border-bottom:1px solid #f0e9e4!important;
  vertical-align:middle;
}
.thb-quotes-dashboard .thb-quotes-table tbody tr:last-child td{border-bottom:0!important}
.thb-quotes-dashboard .thb-quotes-table tbody tr:hover{background:#fcf9f6!important}
.thb-quotes-dashboard .thb-quotes-table a{
  color:#702438;
  font-weight:700;
  text-decoration:none;
}
.thb-quotes-dashboard .thb-quotes-table a:hover{text-decoration:underline}
.thb-quotes-dashboard #thb-daily-operations{
  margin-top:28px!important;
  padding:22px!important;
  background:#f8f5f1!important;
  border:1px solid #e7ddd5!important;
  border-radius:12px!important;
}
.thb-quotes-dashboard #thb-daily-operations h3{
  font-family:inherit!important;
  letter-spacing:-.2px;
}
.thb-quotes-dashboard #thb-daily-operations input[type=date]{
  min-height:40px;
  font:inherit;
}
.thb-quotes-dashboard #thb-daily-operations button{
  transition:filter .15s ease,transform .15s ease;
}
.thb-quotes-dashboard #thb-daily-operations button:hover{
  filter:brightness(1.08);
  transform:translateY(-1px);
}
.thb-quotes-dashboard .thb-daily-ops-print{
  box-shadow:0 2px 8px rgba(50,34,25,.035);
}
.thb-quotes-dashboard .thb-daily-ops-print table th{
  white-space:nowrap;
}
.thb-quotes-dashboard .thb-daily-ops-print table tbody tr:nth-child(even){
  background:#fcfaf8;
}
@media(max-width:700px){
  .thb-quotes-dashboard{width:calc(100% - 20px)!important;margin:14px auto!important}
  .thb-quotes-dashboard > div:first-child{padding:20px!important}
  .thb-quotes-dashboard > div:nth-child(2){padding:14px!important}
  .thb-quotes-dashboard #thb-daily-operations{padding:14px!important}
  .thb-quotes-dashboard .thb-quotes-table{min-width:660px!important}
}
@media print{
  .thb-quotes-dashboard > div:first-child,
  .thb-quotes-dashboard .thb-quote-stats,
  .thb-quotes-dashboard .thb-quotes-search,
  .thb-quotes-dashboard .thb-quotes-filter{print-color-adjust:exact}
}


/* Beta 73 — light oak snug wall above the burgundy guest seating.
   The main burgundy pub banner and original first-row scene are unchanged. */
.thb-app .thb-extra-row{
  background-image:url('images/thb-light-oak-snug-wall.jpg')!important;
  background-size:100% 100%!important;
  background-position:center center!important;
  border-top:3px solid #c49a55!important;
  border-bottom:3px solid #9b713c!important;
  box-shadow:inset 0 5px 10px rgba(70,43,20,.12)!important;
}
.thb-app .thb-extra-row:after{
  background:linear-gradient(90deg,#9b713c,#e0bd76,#9b713c)!important;
}


/* Beta 77 — enlarge guests 11–40 to match the unchanged first-row portrait scale. */
.thb-app .thb-extra-row{min-height:228px!important}
.thb-app .thb-extra-guest{height:210px!important}
.thb-app .thb-extra-guest img{
  height:200px!important;
  width:auto!important;
  max-width:100%!important;
  object-fit:contain!important;
  object-position:center bottom!important;
}
@media(max-width:700px){
  .thb-app .thb-extra-row{min-height:168px!important}
  .thb-app .thb-extra-guest{height:150px!important}
  .thb-app .thb-extra-guest img{height:133px!important}
}
@media(max-width:420px){
  .thb-app .thb-extra-row{min-height:163px!important}
  .thb-app .thb-extra-guest{height:145px!important}
  .thb-app .thb-extra-guest img{height:128px!important}
}
@media print{
  .thb-app .thb-extra-row{min-height:228px!important}
  .thb-app .thb-extra-guest{height:210px!important}
  .thb-app .thb-extra-guest img{height:200px!important}
}


/* Beta 78 — restore first-row portraits to the same visible height as Guest 12.
   Guests 1–10 only; additional rows and their oak setting remain unchanged. */
.thb-app .thb-hero .thb-guest-figure{height:45%!important}
.thb-app .thb-hero .thb-guest-figure img{
  height:100%!important;
  width:auto!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center bottom!important;
}
@media(max-width:700px){
  .thb-app .thb-hero .thb-guest-figure{height:45%!important}
  .thb-app .thb-hero .thb-guest-figure img{height:100%!important;width:auto!important;max-height:100%!important}
}


/* Beta 80 — correct first-row overflow and match the visible portrait scale of Guest 12.
   Keep all ten first-row guests inside their own slots; do not alter the snug rows. */
.thb-app .thb-hero .thb-guest-figure{
  height:31%!important;
  width:10.8%!important;
  overflow:hidden!important;
}
.thb-app .thb-hero .thb-guest-figure img{
  height:100%!important;
  width:auto!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center bottom!important;
}
@media(max-width:700px){
  .thb-app .thb-hero .thb-guest-figure{height:31%!important;width:10.8%!important}
  .thb-app .thb-hero .thb-guest-figure img{height:100%!important;width:auto!important;max-width:100%!important;max-height:100%!important}
}


/* Beta 82 — restore the additional-row panel height and enlarge the guest portrait only.
   Row 1 styles are not modified. */
.thb-app .thb-extra-row{
  min-height:228px!important;
  height:228px!important;
  padding-top:10px!important;
  padding-bottom:7px!important;
}
.thb-app .thb-extra-guest{
  height:210px!important;
  min-height:210px!important;
  align-items:flex-end!important;
  overflow:visible!important;
}
.thb-app .thb-extra-guest img{
  display:block!important;
  height:220px!important;
  min-height:220px!important;
  max-height:none!important;
  width:auto!important;
  max-width:100%!important;
  object-fit:contain!important;
  object-position:center bottom!important;
  flex:0 0 auto!important;
}
@media(max-width:700px){
  .thb-app .thb-extra-row{min-height:168px!important;height:168px!important}
  .thb-app .thb-extra-guest{height:150px!important;min-height:150px!important}
  .thb-app .thb-extra-guest img{height:160px!important;min-height:160px!important}
}
@media(max-width:420px){
  .thb-app .thb-extra-row{min-height:163px!important;height:163px!important}
  .thb-app .thb-extra-guest{height:145px!important;min-height:145px!important}
  .thb-app .thb-extra-guest img{height:150px!important;min-height:150px!important}
}
@media print{
  .thb-app .thb-extra-row{min-height:228px!important;height:228px!important}
  .thb-app .thb-extra-guest{height:210px!important;min-height:210px!important}
  .thb-app .thb-extra-guest img{height:220px!important;min-height:220px!important}
}


/* Beta 83 — match the visible portrait size of Row 1.
   The issue was max-width:100% shrinking each portrait to its narrow grid cell.
   Keep the row/panel height and Row 1 completely unchanged. */
.thb-app .thb-extra-row .thb-extra-guest{
  overflow:visible!important;
  align-items:flex-end!important;
}
.thb-app .thb-extra-row .thb-extra-guest img{
  display:block!important;
  width:auto!important;
  height:150px!important;
  min-height:150px!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center bottom!important;
  flex:0 0 auto!important;
  position:relative!important;
  z-index:3!important;
}
.thb-app .thb-extra-row .thb-extra-name{
  z-index:5!important;
}
@media(max-width:700px){
  .thb-app .thb-extra-row .thb-extra-guest img{
    width:auto!important;
    height:100px!important;
    min-height:100px!important;
    max-width:none!important;
    max-height:none!important;
  }
}
@media(max-width:420px){
  .thb-app .thb-extra-row .thb-extra-guest img{
    height:96px!important;
    min-height:96px!important;
  }
}


/* Beta 84 — live food and guest totals inside the Booking Details popup. */
.thb-app .thb-booking-details-summary{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:0;
  margin:0 0 18px;
  padding:12px 8px;
  background:#fff;
  border:1px solid #e7cda9;
  border-radius:12px;
  box-shadow:0 2px 8px rgba(65,39,20,.05);
}
.thb-app .thb-booking-details-summary>div{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  min-width:0;padding:3px 8px;text-align:center;
  border-right:1px solid #eadfce;
}
.thb-app .thb-booking-details-summary>div:last-child{border-right:0}
.thb-app .thb-booking-details-summary strong{
  color:#7d2038;font-size:21px;font-weight:500;line-height:1.25;
}
.thb-app .thb-booking-details-summary span{
  margin-top:4px;color:#806d62;font-size:10px;line-height:1.3;
}
@media(max-width:600px){
 .thb-app .thb-booking-details-summary{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:10px}
 .thb-app .thb-booking-details-summary>div:nth-child(3){border-right:0}
 .thb-app .thb-booking-details-summary>div:nth-child(4){border-right:1px solid #eadfce}
 .thb-app .thb-booking-details-summary>div:last-child{grid-column:span 2}
}


/* Beta 85 — place the live totals at the bottom of Booking Details,
   styled to match the summary strip on the main booking form. */
.thb-app .thb-booking-details-summary{
  display:flex!important;
  align-items:stretch;
  justify-content:space-around;
  gap:6px;
  flex-wrap:wrap;
  margin:16px 0 2px!important;
  padding:12px!important;
  background:#fff;
  border:1px solid #ddc9ad;
  border-radius:12px;
  box-shadow:none;
}
.thb-app .thb-booking-details-summary>div{
  flex:1 1 100px;
  min-width:100px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:3px 12px;
  border-right:0;
  border-left:1px solid #eee3d6;
}
.thb-app .thb-booking-details-summary>div:first-child{border-left:0}
.thb-app .thb-booking-details-summary strong{
  color:var(--wine);
  font-size:22px;
  font-weight:500;
  line-height:1.25;
}
.thb-app .thb-booking-details-summary span{
  margin-top:4px;
  color:#75665a;
  font-size:10px;
  text-align:center;
  line-height:1.3;
}
@media(max-width:600px){
 .thb-app .thb-booking-details-summary{gap:4px;padding:9px!important}
 .thb-app .thb-booking-details-summary>div{flex:1 1 28%;min-width:70px;padding:4px 5px}
 .thb-app .thb-booking-details-summary>div:nth-child(4){border-left:0}
 .thb-app .thb-booking-details-summary strong{font-size:18px}
}


/* Beta 86 — booking-details totals styled to match the main booking-form summary strip.
   Three balanced tiles on the first line, two centred tiles on the second. */
.thb-app .thb-booking-details-summary{
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  align-items:stretch;
  gap:0!important;
  margin:18px 0 2px!important;
  padding:12px 8px!important;
  background:#fff!important;
  border:1px solid #e4c7a5!important;
  border-radius:13px!important;
  box-shadow:0 5px 16px rgba(67,42,25,.045)!important;
}
.thb-app .thb-booking-details-summary>div{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  padding:5px 10px!important;
  border:0!important;
  border-left:1px solid #eee3d6!important;
  background:transparent!important;
}
.thb-app .thb-booking-details-summary>div:nth-child(1),
.thb-app .thb-booking-details-summary>div:nth-child(4){border-left:0!important}
.thb-app .thb-booking-details-summary>div:nth-child(1),
.thb-app .thb-booking-details-summary>div:nth-child(2),
.thb-app .thb-booking-details-summary>div:nth-child(3){grid-column:span 2}
.thb-app .thb-booking-details-summary>div:nth-child(4){grid-column:2 / span 2}
.thb-app .thb-booking-details-summary>div:nth-child(5){grid-column:4 / span 2}
.thb-app .thb-booking-details-summary strong{
  display:block;
  color:#8b1837!important;
  font-size:22px!important;
  font-weight:500!important;
  line-height:1.25!important;
}
.thb-app .thb-booking-details-summary span{
  display:block;
  margin-top:5px!important;
  color:#806d62!important;
  font-size:10px!important;
  line-height:1.3!important;
  text-align:center!important;
}
@media(max-width:600px){
 .thb-app .thb-booking-details-summary{
   grid-template-columns:repeat(4,minmax(0,1fr))!important;
   row-gap:8px!important;
   padding:10px 6px!important;
 }
 .thb-app .thb-booking-details-summary>div{padding:5px 4px!important}
 .thb-app .thb-booking-details-summary>div:nth-child(1),
 .thb-app .thb-booking-details-summary>div:nth-child(2){grid-column:span 2}
 .thb-app .thb-booking-details-summary>div:nth-child(3){grid-column:1 / span 2}
 .thb-app .thb-booking-details-summary>div:nth-child(4){grid-column:3 / span 2}
 .thb-app .thb-booking-details-summary>div:nth-child(5){grid-column:2 / span 2}
 .thb-app .thb-booking-details-summary>div:nth-child(1),
 .thb-app .thb-booking-details-summary>div:nth-child(3),
 .thb-app .thb-booking-details-summary>div:nth-child(5){border-left:0!important}
 .thb-app .thb-booking-details-summary strong{font-size:19px!important}
}


/* Beta 87 — modal-safe totals styling.
   The booking-details panel is moved into a body-level modal, so these selectors
   intentionally do not depend on .thb-app being an ancestor. */
.thb-booking-modal .thb-booking-details-summary,
.thb-booking-modal-content .thb-booking-details-summary{
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  align-items:stretch!important;
  gap:0!important;
  margin:18px 0 2px!important;
  padding:12px 8px!important;
  background:#fff!important;
  border:1px solid #e4c7a5!important;
  border-radius:13px!important;
  box-shadow:0 5px 16px rgba(67,42,25,.045)!important;
  width:100%!important;
  box-sizing:border-box!important;
}
.thb-booking-modal .thb-booking-details-summary>div,
.thb-booking-modal-content .thb-booking-details-summary>div{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  padding:5px 10px!important;
  border:0!important;
  border-left:1px solid #eee3d6!important;
  background:transparent!important;
  box-sizing:border-box!important;
}
.thb-booking-modal .thb-booking-details-summary>div:nth-child(1),
.thb-booking-modal .thb-booking-details-summary>div:nth-child(4),
.thb-booking-modal-content .thb-booking-details-summary>div:nth-child(1),
.thb-booking-modal-content .thb-booking-details-summary>div:nth-child(4){border-left:0!important}
.thb-booking-modal .thb-booking-details-summary>div:nth-child(-n+3),
.thb-booking-modal-content .thb-booking-details-summary>div:nth-child(-n+3){grid-column:span 2}
.thb-booking-modal .thb-booking-details-summary>div:nth-child(4),
.thb-booking-modal-content .thb-booking-details-summary>div:nth-child(4){grid-column:2 / span 2}
.thb-booking-modal .thb-booking-details-summary>div:nth-child(5),
.thb-booking-modal-content .thb-booking-details-summary>div:nth-child(5){grid-column:4 / span 2}
.thb-booking-modal .thb-booking-details-summary strong,
.thb-booking-modal-content .thb-booking-details-summary strong{
  display:block!important;color:#8b1837!important;font-size:22px!important;
  font-weight:500!important;line-height:1.25!important;
}
.thb-booking-modal .thb-booking-details-summary span,
.thb-booking-modal-content .thb-booking-details-summary span{
  display:block!important;margin-top:5px!important;color:#806d62!important;
  font-size:10px!important;line-height:1.3!important;text-align:center!important;
}
@media(max-width:600px){
 .thb-booking-modal .thb-booking-details-summary,
 .thb-booking-modal-content .thb-booking-details-summary{
   grid-template-columns:repeat(4,minmax(0,1fr))!important;row-gap:8px!important;padding:10px 6px!important;
 }
 .thb-booking-modal .thb-booking-details-summary>div,
 .thb-booking-modal-content .thb-booking-details-summary>div{padding:5px 4px!important}
 .thb-booking-modal .thb-booking-details-summary>div:nth-child(1),
 .thb-booking-modal .thb-booking-details-summary>div:nth-child(2),
 .thb-booking-modal-content .thb-booking-details-summary>div:nth-child(1),
 .thb-booking-modal-content .thb-booking-details-summary>div:nth-child(2){grid-column:span 2}
 .thb-booking-modal .thb-booking-details-summary>div:nth-child(3),
 .thb-booking-modal-content .thb-booking-details-summary>div:nth-child(3){grid-column:1 / span 2}
 .thb-booking-modal .thb-booking-details-summary>div:nth-child(4),
 .thb-booking-modal-content .thb-booking-details-summary>div:nth-child(4){grid-column:3 / span 2}
 .thb-booking-modal .thb-booking-details-summary>div:nth-child(5),
 .thb-booking-modal-content .thb-booking-details-summary>div:nth-child(5){grid-column:2 / span 2}
 .thb-booking-modal .thb-booking-details-summary strong,
 .thb-booking-modal-content .thb-booking-details-summary strong{font-size:19px!important}
}


/* Beta 88 — compact five-column totals strip: all five items on one row. */
.thb-booking-modal .thb-booking-details-summary,
.thb-booking-modal-content .thb-booking-details-summary{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  align-items:stretch!important;
  gap:0!important;
  margin:14px 0 2px!important;
  padding:9px 5px!important;
  width:100%!important;
  box-sizing:border-box!important;
}
.thb-booking-modal .thb-booking-details-summary>div,
.thb-booking-modal-content .thb-booking-details-summary>div{
  grid-column:auto!important;
  min-width:0!important;
  padding:3px 4px!important;
  border:0!important;
  border-left:1px solid #eee3d6!important;
}
.thb-booking-modal .thb-booking-details-summary>div:first-child,
.thb-booking-modal-content .thb-booking-details-summary>div:first-child{
  border-left:0!important;
}
.thb-booking-modal .thb-booking-details-summary strong,
.thb-booking-modal-content .thb-booking-details-summary strong{
  font-size:19px!important;
  line-height:1.15!important;
  white-space:nowrap!important;
}
.thb-booking-modal .thb-booking-details-summary span,
.thb-booking-modal-content .thb-booking-details-summary span{
  margin-top:4px!important;
  font-size:9px!important;
  line-height:1.2!important;
  white-space:normal!important;
}
@media(max-width:600px){
 .thb-booking-modal .thb-booking-details-summary,
 .thb-booking-modal-content .thb-booking-details-summary{
   grid-template-columns:repeat(5,minmax(0,1fr))!important;
   padding:8px 2px!important;
 }
 .thb-booking-modal .thb-booking-details-summary>div,
 .thb-booking-modal-content .thb-booking-details-summary>div{padding:3px 2px!important}
 .thb-booking-modal .thb-booking-details-summary strong,
 .thb-booking-modal-content .thb-booking-details-summary strong{font-size:16px!important}
 .thb-booking-modal .thb-booking-details-summary span,
 .thb-booking-modal-content .thb-booking-details-summary span{font-size:8px!important}
}


/* Beta 89 — customer-confirmed quote lock state */
.thb-app.is-quote-locked .thb-form input:not([type=hidden]),
.thb-app.is-quote-locked .thb-form select,
.thb-app.is-quote-locked .thb-form textarea,
.thb-app.is-quote-locked .thb-form button,
.thb-app.is-quote-locked .thb-nav-actions [data-nav=reset],
.thb-app.is-quote-locked .thb-nav-actions [data-nav=save]{
  opacity:.62!important;
  cursor:not-allowed!important;
}
.thb-app.is-quote-locked .thb-confirm-selections-form{display:none!important}
.thb-app .thb-customer-quote-confirmed{box-shadow:0 5px 18px rgba(40,93,57,.06)}


/* Beta 99.9 — customer-style preview of the currently selected booking menu. */
.thb-app .thb-menu-choice-row>.thb-selected-menu{height:40px;box-sizing:border-box;}
.thb-app .thb-view-selected-menu{white-space:nowrap;align-self:center;height:40px;min-height:40px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;padding:0 11px;margin:0;position:static;top:auto;}
@media(max-width:760px){.thb-app .thb-view-selected-menu{align-self:stretch;}}
.thb-booking-modal-content>.thb-menu-preview-panel{display:block!important;margin:0!important;}
.thb-menu-preview-panel{color:#342820;background:#fffdf9;border:1px solid #d9c7b4;border-radius:8px;overflow:hidden;font-family:Georgia,'Times New Roman',serif;}
.thb-menu-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 30px;background:#35251e;color:#fff8ee;border-bottom:5px solid #8b5a3a;}
.thb-menu-preview-heading>div>span{font-size:10px;letter-spacing:2px;color:#dfc49f;font-family:Arial,sans-serif;font-weight:700;}
.thb-menu-preview-heading h2{margin:5px 0 2px;color:#fff8ee;font:normal 30px/1.15 Georgia,serif;}
.thb-menu-preview-heading p{margin:5px 0 0;color:#e4d5c5;font:12px Arial,sans-serif;}
.thb-menu-preview-flourish{font-size:34px;color:#d4b27c;}
.thb-menu-preview-course{padding:17px 22px 5px;break-inside:avoid;}
.thb-menu-preview-course h3{margin:0 0 10px;padding:7px 11px;color:#fff;background:#34465c;font:normal 18px Georgia,serif;border-left:4px solid #a77a45;}
.thb-menu-preview-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:26px;}
.thb-menu-preview-item{padding:8px 2px 9px;border-bottom:1px dotted #b9a38d;break-inside:avoid;}
.thb-menu-preview-item-top{display:flex;justify-content:space-between;align-items:baseline;gap:12px;}
.thb-menu-preview-item-top strong{font-size:14px;color:#38271e;}
.thb-menu-preview-item-top span{font-size:12px;white-space:nowrap;color:#5b3825;}
.thb-menu-preview-item p{margin:4px 0 0;color:#6c5a4b;font-size:12px;line-height:1.4;font-style:italic;}
.thb-menu-preview-item small{display:block;margin-top:4px;color:#8a4a38;font:10px/1.35 Arial,sans-serif;}
.thb-menu-preview-footnote{margin:15px 22px 20px;padding-top:10px;border-top:1px solid #d9c7b4;color:#806b59;font-size:11px;font-style:italic;text-align:center;}
.thb-menu-preview-empty{padding:24px;text-align:center;color:#75675b;}
@media(max-width:640px){.thb-menu-preview-heading{padding:18px}.thb-menu-preview-heading h2{font-size:24px}.thb-menu-preview-course{padding:13px 14px 4px}.thb-menu-preview-items{grid-template-columns:1fr}.thb-menu-preview-item-top strong{font-size:13px}}

/* Beta 100.5: final direct alignment for selected-menu preview button. */
.thb-app .thb-menu-choice-row>.thb-view-selected-menu{position:relative!important;top:16px!important;align-self:flex-start!important;margin:0!important;height:40px!important;min-height:40px!important;box-sizing:border-box!important;}

/* Beta 102.0: shared slate-blue visual theme across customer-facing screens. */
.thb-app{--wine:#34465c;}
.thb-app .thb-topnav{background:linear-gradient(100deg,#253448,#465f7b 48%,#253448);}
.thb-app .thb-nav-actions button:hover,.thb-app .thb-nav-actions button.is-active{background:#526c88;color:#fff;}
.thb-app .thb-manager-title{background:linear-gradient(90deg,#34465c,#526c88);}
.thb-app .thb-submit{background:linear-gradient(135deg,#465f7b,#253448);border-color:#8fa4bb;}
.thb-app .thb-menu-preview-course h3{background:#34465c;}
.thb-app .thb-menu-preview-heading{background:#253448;border-bottom-color:#8fa4bb;}
.thb-app .thb-menu-option:hover,.thb-app .thb-menu-option:focus{background:#edf2f7;color:#34465c;}
.thb-app input:focus-visible,.thb-app select:focus-visible,.thb-app button:focus-visible{outline:2px solid #526c88;outline-offset:2px;}


/* Beta 102.1 — requested booking screen accent buttons and Event label only. */
.thb-app .thb-event-title-overlay.has-title{
  background:linear-gradient(110deg,rgba(37,52,72,.97),rgba(52,70,92,.97),rgba(37,52,72,.97))!important;
  border-color:#d8b56d!important;
  color:#f6d98e!important;
}
.thb-app .thb-menu-choice-row .thb-booking-shortcut:not(.thb-save-quote){
  background:#34465c!important;
  border-color:#34465c!important;
  color:#fff!important;
}
.thb-app .thb-menu-choice-row .thb-booking-shortcut:not(.thb-save-quote):hover{
  background:#253448!important;
  border-color:#253448!important;
}
.thb-app .thb-booking-shortcuts-global>.thb-save-quote{
  background:#292d33!important;
  border-color:#292d33!important;
  color:#fff!important;
}
.thb-app .thb-booking-shortcuts-global>.thb-save-quote:hover{
  background:#171a1e!important;
  border-color:#171a1e!important;
}


/* Beta 102.2 — pale blue booking panels and aligned menu shortcuts. */
.thb-app .thb-menu-choice-with-shortcuts{
  background:#eaf3fc!important;border-color:#b5d0ea!important;
}
.thb-app .thb-menu-choice-with-shortcuts>label{color:#34465c!important;}
.thb-app .thb-menu-choice-with-shortcuts>p{color:#52677e!important;}
.thb-app .thb-guest-manager-wrap{background:#eaf3fc;border-radius:10px;}
.thb-app .thb-guest-picker{background:#dceaf7;border-color:#b5d0ea;}
.thb-app .thb-guest-manager{background:#eaf3fc;border-color:#b5d0ea;}
.thb-app .thb-manager-person,.thb-app .thb-manager-menu,.thb-app .thb-manager-diet{border-color:#c6d9ea;}
.thb-app .thb-manager-footer{border-color:#b5d0ea;}
.thb-app .thb-menu-choice-row{
  display:grid;grid-template-columns:minmax(220px,480px) max-content minmax(0,1fr);
  align-items:start;column-gap:12px;row-gap:10px;
}
.thb-app .thb-menu-choice-row>.thb-selected-menu{
  min-width:0;width:100%!important;max-width:none!important;height:40px;
}
.thb-app .thb-menu-choice-row>.thb-view-selected-menu{
  position:static!important;top:auto!important;align-self:start!important;
  height:40px!important;min-height:40px!important;margin:0!important;
}
.thb-app .thb-menu-choice-row .thb-booking-shortcuts-global{
  min-width:0;margin:0!important;padding:0!important;display:flex;
  flex-direction:column;align-items:stretch;gap:8px;
}
.thb-app .thb-menu-choice-row .thb-booking-shortcut-row{
  display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-end;gap:8px;
}
.thb-app .thb-menu-choice-row .thb-booking-shortcut-row>.thb-booking-shortcut,
.thb-app .thb-menu-choice-row .thb-booking-shortcuts-global>.thb-save-quote{
  height:40px!important;min-height:40px!important;box-sizing:border-box!important;
  display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;
  padding:0 12px!important;
}
.thb-app .thb-menu-choice-row .thb-booking-shortcuts-global>.thb-save-quote{
  align-self:flex-end;min-width:170px;
}
@media(max-width:1100px){
 .thb-app .thb-menu-choice-row{grid-template-columns:minmax(220px,1fr) max-content;}
 .thb-app .thb-menu-choice-row .thb-booking-shortcuts-global{grid-column:1/-1;align-items:flex-end;}
}
@media(max-width:650px){
 .thb-app .thb-menu-choice-row{grid-template-columns:minmax(0,1fr);}
 .thb-app .thb-menu-choice-row>.thb-view-selected-menu{justify-self:start;}
 .thb-app .thb-menu-choice-row .thb-booking-shortcuts-global{grid-column:1;align-items:stretch;width:100%;}
 .thb-app .thb-menu-choice-row .thb-booking-shortcut-row{flex-wrap:wrap;justify-content:stretch;}
 .thb-app .thb-menu-choice-row .thb-booking-shortcut-row>.thb-booking-shortcut{flex:1 1 145px;}
 .thb-app .thb-menu-choice-row .thb-booking-shortcuts-global>.thb-save-quote{align-self:stretch;}
}

/* Beta 102.3: increase horizontal separation between header icon and pub title.
   Desktop spacing ~3/4 inch (19mm); preserve compact mobile navigation. */
@media (min-width: 901px) {
  .thb-app .thb-topnav .thb-brand-name { margin-left: 19mm; }
  .thb-app .thb-topnav .thb-brand { min-width: 0; }
}

/* Beta 102.4: ice-blue outer form background; keep all five summary cells white. */
.thb-app{background:#eaf3fc;}
.thb-app .thb-summary{background:#fff;}

/* Beta 105.29.11: scroll inside the quotes panel, sized to 15 visible rows by JavaScript. */
.thb-quotes-dashboard .thb-quotes-scroll{
  max-height:850px;
  overflow-y:auto;
  overflow-x:auto;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
  border:1px solid #e4e8ee;
  border-radius:12px;
}
.thb-quotes-dashboard .thb-quotes-scroll .thb-quotes-table{
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  overflow:visible!important;
}
.thb-quotes-dashboard .thb-quotes-scroll .thb-quotes-table thead th{
  position:sticky;
  top:0;
  z-index:2;
  background:#eef1f5!important;
}
@media(max-width:767px){.thb-quotes-dashboard .thb-quotes-scroll{max-height:700px;}}

/* Beta 104.0: Daily Operations visual refresh; preserves dashboard and print behaviours. */
.thb-quotes-dashboard #thb-daily-operations{
  margin-top:20px!important; padding:22px!important;
  background:#eaf3fc!important; border:1px solid #b5d0ea!important;
  border-radius:12px!important; box-shadow:0 3px 14px rgba(52,70,92,.055);
}
.thb-quotes-dashboard #thb-daily-operations input[type=date]{
  min-height:40px; border:1px solid #b5d0ea!important;
  color:#34465c; background:#fff;
}
.thb-quotes-dashboard #thb-daily-operations form button{min-height:40px;}
.thb-quotes-dashboard #thb-daily-operations > div:nth-of-type(2) > div{
  border-color:#b5d0ea!important; box-shadow:0 1px 5px rgba(52,70,92,.045);
}
.thb-quotes-dashboard #thb-daily-operations > div:nth-of-type(2) > div:nth-child(1){background:#f4f9ff!important;}
.thb-quotes-dashboard #thb-daily-operations > div:nth-of-type(2) > div:nth-child(2){background:#f2f8ff!important;}
.thb-quotes-dashboard #thb-daily-operations > div:nth-of-type(2) > div:nth-child(3){background:#eff9f1!important;border-color:#b9dec4!important;}
.thb-quotes-dashboard #thb-daily-operations > div:nth-of-type(2) > div:nth-child(4){background:#fff7eb!important;border-color:#edd7b0!important;}
.thb-quotes-dashboard .thb-daily-ops-print{
  border-color:#b5d0ea!important; box-shadow:0 2px 8px rgba(52,70,92,.045);
}
.thb-quotes-dashboard .thb-daily-ops-print table th{background:#eaf3fc!important;border-color:#b5d0ea!important;}
.thb-quotes-dashboard .thb-daily-ops-print table tbody tr:nth-child(even){background:#f5f9fe;}
@media(max-width:700px){.thb-quotes-dashboard #thb-daily-operations{padding:14px!important;}}

/* Beta 105.12: separate fixed event service charge and estimated total. */
.thb-app .thb-service-breakdown{margin:10px 14px 14px;padding:12px 16px;border:1px solid #b5d0ea;border-radius:10px;background:#fff;color:#34465c}
.thb-app .thb-service-breakdown[hidden]{display:none!important}
.thb-app .thb-service-line{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:5px 0;font-size:14px}
.thb-app .thb-service-line strong{white-space:nowrap;font-size:16px}
.thb-app .thb-service-band{font-size:12px;color:#64748b}
.thb-app .thb-service-grand{border-top:1px solid #d9e5f0;margin-top:7px;padding-top:11px;font-weight:700}
.thb-app .thb-service-grand strong{font-size:20px}

/* Beta 105.15: fixed-price menu notice */
.thb-set-pricing-note{margin:6px 0 14px;padding:10px 12px;border-radius:7px;background:#eaf3fc;border:1px solid #b5d0ea;color:#34465c;font-size:13px;line-height:1.5}

/* Beta 105.19: menu-aware calendar */
.thb-calendar-native-date{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;overflow:hidden!important}
.thb-smart-calendar{display:block;max-width:360px;margin-top:9px;padding:14px;background:#fff;border:1px solid #b5d0ea;border-radius:12px;box-shadow:0 2px 8px rgba(52,70,92,.07)}
.thb-calendar-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;color:#34465c}
.thb-calendar-toolbar button{width:34px;height:34px;border:1px solid #b5d0ea;border-radius:7px;background:#eaf3fc;color:#34465c;font-size:24px;cursor:pointer}
.thb-calendar-toolbar button:disabled{opacity:.3;cursor:default}
.thb-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.thb-calendar-weekday{text-align:center;font-size:11px;color:#66788c;font-weight:700;padding:5px 0}
.thb-calendar-grid button{min-height:36px;border:1px solid #b5d0ea;border-radius:6px;background:#eaf3fc;color:#34465c;font-weight:700;cursor:pointer}
.thb-calendar-grid button:hover:not(:disabled){background:#d1e5f8}
.thb-calendar-grid button:disabled{background:#f0f1f3;border-color:#e8e9ec;color:#b3b7bd;cursor:not-allowed}
.thb-calendar-grid button.is-selected{background:#34465c;color:white;border-color:#34465c}
.thb-calendar-grid button:focus-visible{outline:3px solid #ff4d00;outline-offset:2px}
.thb-calendar-key{display:flex;flex-wrap:wrap;gap:12px;margin-top:10px;font-size:11px;color:#66788c}
.thb-calendar-key span:first-child{color:#34465c}
.thb-calendar-help{font-size:12px;color:#66788c;margin:10px 0 0}

/* Beta 105.29 — customer journey, visible booking details and actions */
.thb-journey{margin:16px 16px 6px;padding:19px 22px;background:#f0f4f8;border:1px solid #dbe4ee;border-radius:12px;color:#34465c}
.thb-journey>strong{font-size:20px;display:block;margin-bottom:12px}
.thb-journey-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.thb-journey-steps span{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:650;line-height:1.4;background:#fff;border-radius:8px;padding:10px}
.thb-journey-steps b{display:inline-grid;place-items:center;flex:0 0 27px;height:27px;border-radius:50%;background:#34465c;color:#fff}
.thb-journey p{margin:12px 0 0;font-size:13px;line-height:1.5}
.thb-single-screen .thb-booking-details{display:block!important;margin:20px 0;padding:20px;background:#f7f9fc;border:1px solid #dbe4ee;border-radius:12px}
.thb-customer-actions{margin:22px 0;padding:22px;background:#f4f7fa;border:1px solid #dbe4ee;border-radius:12px;color:#34465c}
.thb-customer-actions h2{font-size:21px;margin:0 0 6px}.thb-customer-actions p{margin:0 0 15px;font-size:14px}
.thb-customer-action-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.thb-customer-action-buttons button{cursor:pointer;border:0;border-radius:9px;padding:18px 12px;font-size:19px;font-weight:700;line-height:1.4;text-align:center}
.thb-customer-action-buttons small{display:block;font-size:12px;font-weight:400;margin-top:5px}
.thb-main-save{background:#e4ebf3;color:#34465c}.thb-main-submit{background:#34465c;color:#fff}
.thb-customer-action-buttons button:focus-visible{outline:3px solid #f18b2e;outline-offset:3px}
.thb-customer-status{margin-top:12px;font-size:13px}
.thb-single-screen .thb-confirm-selections-form{display:none}
@media(max-width:700px){.thb-journey-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.thb-customer-action-buttons{grid-template-columns:1fr}.thb-journey{margin:10px 0;padding:14px}}

/* Beta 105.29.1: one visible quotation summary and one set of customer actions.
   Retain hidden legacy controls in DOM for existing booking submission/total calculations. */
.thb-app .thb-booking-details .thb-submit-row,
.thb-app .thb-booking-details .thb-booking-details-summary,
.thb-app .thb-booking-details .thb-service-breakdown,
.thb-app .thb-form > .thb-summary,
.thb-app .thb-form > .thb-service-breakdown {display:none!important;}
.thb-app .thb-customer-actions{margin:12px 14px 18px;padding:18px 20px;}
.thb-app .thb-customer-quote-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0 0 14px;margin:0 0 16px;border-bottom:1px solid #dce4ed;font-size:20px;font-weight:700;color:#34465c;}
.thb-app .thb-customer-quote-total{font-size:24px;font-variant-numeric:tabular-nums;}
@media(max-width:600px){.thb-app .thb-customer-actions{margin:10px 8px;padding:14px}.thb-app .thb-customer-quote-heading{font-size:17px}.thb-app .thb-customer-quote-total{font-size:21px}}

/* Beta 105.29.2: one visible Save Draft action; retain original hidden trigger for AJAX. */
.thb-single-screen .thb-booking-shortcuts-global>.thb-save-quote{display:none!important}
.thb-single-screen .thb-booking-shortcuts-global{align-items:center;justify-content:flex-end}
.thb-single-screen .thb-booking-shortcut-row{justify-content:flex-end}

/* Beta 105.29.57.86: compact print action in selected-menu preview heading. */
.thb-menu-preview-heading-actions{display:flex;align-items:center;gap:15px;flex-shrink:0}
.thb-app .thb-menu-preview-print{appearance:none;background:#eaf3fc;color:#34465c;border:1px solid #c7d6e5;border-radius:5px;padding:9px 13px;font:700 12px Arial,sans-serif;cursor:pointer;white-space:nowrap}
.thb-app .thb-menu-preview-print:hover{background:#fff;color:#26384d}
@media(max-width:640px){.thb-menu-preview-heading-actions{gap:6px}.thb-app .thb-menu-preview-print{padding:8px;font-size:11px}}
