/* tc-public.css - the TableCurrent public site (tablecurrent.com, also served on ordering.appwt.com).
   🔭🔭🔭🔭 Q.U.E.S.T. 🔭🔭🔭🔭 for 🔬🔬🔬🔬 M.O.R.R.I.S. 🔬🔬🔬🔬, key quest-build-tablecurrent-1125, 2026-11-25.
   Ported from the TableCurrent package in Tony's 2026-11-25 04:05 tasklist (public/assets/site.css): paper #FBF8F0,
   ink #183B32, evergreen #126453, pale lime #D8EBAA, rule #DCE5D9. The package's pure white is #FFFDF8 here.
   LOADED ONLY BY PUBLIC PAGES: _public.php's ord_public_meta() links it, and only the marketing pages, the legal pages,
   business facts and the blog call that. The operator console, the kitchen screen and the guest storefront never load
   it, so they look exactly as before. Light theme, one rule set, no prefers-color-scheme switch. */

/* ---- 1. the app's own variables, remapped to the light theme on public pages (app.css stays untouched) ---- */
body.console{--black:#FBF8F0;--charcoal:#FFFDF8;--charcoal-2:#F2EFE4;--gold:#126453;--gold-soft:#126453;--pearl:#183B32;--muted:#4B6157;
  background:#FBF8F0;color:#183B32;font-family:Arial,Helvetica,sans-serif;line-height:1.55}
html,body{max-width:100%;overflow-x:hidden}
html{background:#FBF8F0}
body.console a{color:#126453}
body.console a:focus-visible,body.console button:focus-visible,body.console input:focus-visible,body.console summary:focus-visible{outline:3px solid #B05226;outline-offset:4px}
body.console .card{background:#FFFDF8;border:1px solid #DCE5D9;color:#183B32}
body.console .btn-primary,body.console a.btn-primary{background:#126453;color:#FBF8F0;border-color:#126453}
body.console .btn-ghost,body.console a.btn-ghost{background:transparent;color:#126453;border-color:#126453}
body.console h1,body.console h2,body.console h3{color:#183B32}
/* legal pages (_legal.php) and business facts */
body.console .legal-doc,body.console .legal-doc p,body.console .legal-doc li{color:#2C4A40}
body.console .legal-doc h1,body.console .legal-doc h2,body.console .legal-doc h3,body.console .legal-doc strong{color:#183B32}
body.console .lede,body.console .meta{color:#4B6157}
body.console .bf th{color:#126453}
body.console .bf th,body.console .bf td{border-color:#DCE5D9}
body.console table{border-color:#DCE5D9}
/* the blog (blog/_blog.php sets dark-theme variables in its own <style>; this selector outranks it) */
html body .shift-blog{--sb-ink:#2C4A40;--sb-head:#183B32;--sb-soft:#4B6157;--sb-link:#126453;--sb-accent:#126453;--sb-card:#FFFDF8;--sb-line:#DCE5D9}

/* ---- 2. shell: header, menu, footer ---- */
.tc-skip{position:absolute;left:-9999px;top:8px;z-index:1000;background:#183B32;color:#FBF8F0;padding:10px 14px;border-radius:6px}
.tc-skip:focus{left:10px}
.tc-wrap{max-width:1200px;margin:0 auto;padding:0 38px}
.tc-top{background:#FBF8F0;border-bottom:1px solid #DCE5D9;position:relative;z-index:60}
.tc-bar{display:flex;align-items:center;gap:22px;min-height:88px}
.tc-brand{display:inline-flex;flex-direction:column;text-decoration:none;line-height:1;color:#183B32;min-height:44px;justify-content:center}
body.console a.tc-brand{color:#183B32}
.tc-brand b{font-size:25px;font-weight:800;letter-spacing:-.04em}
.tc-brand small{font-size:9px;font-weight:700;letter-spacing:.34em;color:#126453;margin-top:5px;padding-left:1px}
.tc-nav{display:flex;align-items:center;gap:4px;margin-left:auto;flex-wrap:nowrap}
.tc-nav a{color:#183B32;text-decoration:none;font-weight:700;font-size:14px;padding:10px 9px;border-radius:6px;min-height:44px;display:inline-flex;align-items:center;white-space:nowrap}
body.console .tc-nav a{color:#183B32}
.tc-nav a:hover{background:#E8EFDF}
.tc-nav a[aria-current="page"]{color:#126453;box-shadow:inset 0 -2px 0 #126453}
body.console .tc-nav a[aria-current="page"]{color:#126453}
.tc-acct{display:flex;gap:10px;align-items:center}
.tc-acct .tc-signin{color:#183B32;font-weight:700;font-size:14px;text-decoration:none;padding:10px 6px;min-height:44px;display:inline-flex;align-items:center;white-space:nowrap}
body.console .tc-acct .tc-signin{color:#183B32}
.tc-menu{display:none;margin-left:auto}
.tc-menu>summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:8px 14px;border:1px solid #126453;border-radius:6px;color:#126453;font-weight:700}
.tc-menu>summary::-webkit-details-marker{display:none}
.tc-menu__bars,.tc-menu__bars::before,.tc-menu__bars::after{display:block;width:18px;height:2px;background:#126453;position:relative;content:""}
.tc-menu__bars::before{position:absolute;top:-6px}.tc-menu__bars::after{position:absolute;top:6px}
.tc-menu__panel{position:absolute;left:0;right:0;top:100%;background:#FBF8F0;border-bottom:1px solid #DCE5D9;padding:8px 22px 18px;display:flex;flex-direction:column;max-height:calc(100vh - 80px);overflow-y:auto;box-shadow:0 12px 24px rgba(24,59,50,.12)}
.tc-menu__panel a{color:#183B32;text-decoration:none;font-weight:700;font-size:17px;padding:11px 4px;min-height:44px;display:flex;align-items:center;border-bottom:1px solid #DCE5D9}
body.console .tc-menu__panel a{color:#183B32}
.tc-menu__panel a[aria-current="page"]{color:#126453}
.tc-menu__acct{display:flex;gap:10px;flex-wrap:wrap;padding-top:14px}
.tc-menu__acct a{border-bottom:0 !important}
@media (max-width:1080px){.tc-nav,.tc-acct{display:none}.tc-menu{display:block}}
.tc-foot{border-top:1px solid #DCE5D9;padding:34px 0 96px;font-size:14px;color:#2C4A40;background:#FBF8F0}
.tc-foot p{margin:0 0 10px}
.tc-foot__links{display:flex;gap:6px 16px;flex-wrap:wrap;margin:14px 0}
.tc-foot__links a,.tc-foot p a{color:#126453;display:inline-flex;align-items:center;min-height:32px}
body.console .tc-foot__links a,body.console .tc-foot p a{color:#126453}
.tc-foot .tc-copy{color:#4B6157;font-size:13px;margin-top:12px}

/* ---- 3. buttons ---- */
.tc-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 21px;border-radius:8px;background:#126453;color:#FBF8F0;text-decoration:none;font-weight:700;border:1px solid #126453;font-size:16px;line-height:1.2;text-align:center}
body.console a.tc-btn{color:#FBF8F0}
.tc-btn:hover{background:#0E5143;border-color:#0E5143}
.tc-btn--alt{background:transparent;color:#126453}
body.console a.tc-btn--alt{color:#126453}
.tc-btn--alt:hover{background:#E8EFDF}
.tc-btn--sm{min-height:44px;padding:8px 16px;font-size:15px}
.tc-btn--lime{background:#D8EBAA;border-color:#D8EBAA;color:#183B32}
body.console a.tc-btn--lime{color:#183B32}
.tc-btn--lime:hover{background:#C9E08F;border-color:#C9E08F}

/* ---- 4. page parts ---- */
.tc-main{display:block}
.tc-hero{padding:68px 0 60px;display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.tc-eyebrow{font-weight:700;font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:#126453;margin:0 0 14px}
.tc-h1{font-size:clamp(40px,5vw,72px);line-height:1.02;letter-spacing:-.047em;margin:0 0 18px;color:#183B32}
.tc-inner .tc-h1{font-size:clamp(36px,5vw,58px)}
.tc-lead{font-size:19px;color:#38584D;max-width:560px;margin:0 0 6px}
.tc-actions{display:flex;gap:12px;flex-wrap:wrap;margin:25px 0 15px}
.tc-micro{font-size:13px;color:#38584D;margin:0}
.tc-visual{background:#184B3E;border-radius:24px;min-height:400px;padding:28px;position:relative;overflow:hidden;color:#FBF8F0}
.tc-visual::before{content:"";position:absolute;width:500px;height:500px;border:1px solid #76A48B;border-radius:50%;top:80px;left:220px;opacity:.5}
.tc-visual__label{position:relative;font-size:12px;letter-spacing:.09em;text-transform:uppercase;margin:0 0 18px;color:#FBF8F0}
.tc-panel{position:relative;background:#FFFDF8;color:#183B32;border-radius:13px;padding:18px;box-shadow:0 14px 32px rgba(8,43,37,.44)}
.tc-panel h3{font-size:15px;margin:0 0 10px;color:#183B32}
.tc-flow{list-style:none;margin:0 0 16px;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.tc-flow li{border:1px solid #DCE5D9;border-top:4px solid #126453;border-radius:6px;padding:8px 6px;font-size:12px;font-weight:700;text-align:center;overflow-wrap:anywhere}
.tc-flow li:nth-child(1){border-top-color:#CA744A}.tc-flow li:nth-child(4){border-top-color:#B49E58}
.tc-chips{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.tc-chips li{background:#E5F1D7;color:#24543A;border-radius:20px;padding:4px 11px;font-size:12.5px;font-weight:700}
.tc-panel__foot{position:relative;margin:16px 0 0;font-size:13px;color:#FBF8F0}
.tc-panel__foot a{color:#D8EBAA;font-weight:700}
body.console .tc-panel__foot a{color:#D8EBAA}
.tc-strip{background:#E8EFDF;padding:20px 0}
.tc-strip ul{list-style:none;margin:0 auto;display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;font-weight:700;font-size:14px}
.tc-section{padding:55px 0}
.tc-section h2,.tc-h2{font-size:clamp(28px,3vw,44px);line-height:1.12;letter-spacing:-.034em;margin:0 0 15px;color:#183B32}
.tc-section h3{font-size:22px;line-height:1.25;margin:0 0 10px;color:#183B32}
.tc-section p{margin:0 0 15px;color:#2C4A40}
.tc-sub{font-size:18px;color:#38584D;max-width:760px}
.tc-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:22px}
.tc-cards--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.tc-card{padding:27px;border:1px solid #DCE5D9;border-radius:16px;background:#FFFDF8;min-width:0}
.tc-card .tc-num{color:#126453;font-size:13px;letter-spacing:.08em;font-weight:700;text-transform:uppercase;margin:0 0 10px}
.tc-card p{color:#2C4A40}
.tc-card a{font-weight:700;color:#126453}
.tc-card ul{margin:0;padding-left:20px;color:#2C4A40}
.tc-card li{margin:0 0 6px}
.tc-cta{background:#183B32;color:#FFF4DF;padding:40px;border-radius:18px;margin:10px 0 48px}
.tc-cta h2{color:#FFF4DF;font-size:clamp(28px,3vw,42px);letter-spacing:-.03em;margin:0 0 12px}
body.console .tc-cta h2{color:#FFF4DF}
.tc-cta p{color:#FFF4DF;margin:0 0 20px}
.tc-cta .tc-actions{margin:0}
.tc-inner{padding:60px 0 20px;max-width:880px}
.tc-crumbs{font-size:14px;color:#4B6157;margin:0 0 14px}
.tc-crumbs a{color:#126453}
.tc-faq details{border-bottom:1px solid #DCE5D9;padding:16px 0}
.tc-faq summary{cursor:pointer;font-weight:700;font-size:17px;color:#183B32;min-height:32px;display:flex;align-items:center}
.tc-faq details p{margin:10px 0 0;color:#2C4A40}
.tc-steps{list-style:none;padding:0;margin:22px 0 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.tc-steps li{padding:24px;border:1px solid #DCE5D9;border-radius:16px;background:#FFFDF8}
.tc-steps b{display:block;color:#126453;font-size:13px;letter-spacing:.08em;text-transform:uppercase;margin:0 0 8px}
.tc-steps h3{margin:0 0 8px}
.tc-note{border-left:4px solid #126453;background:#E8EFDF;padding:15px 20px;border-radius:0 10px 10px 0;margin:20px 0;color:#2C4A40}
.tc-contact{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:22px}

/* ---- 4b. contrast repairs (🔬🔬🔬🔬 M.O.R.R.I.S. 🔬🔬🔬🔬, key tablecurrent-com-build-1125, 2026-11-25) ----
   Section 1 remaps the app's color variables to the light theme on body.console. The shared cookie banner keeps its dark
   #111111 background (set in _widgets.php), so it inherited evergreen text on near-black: title 1.54:1, policy links
   2.67:1 (Chrome contrast scan). The banner gets its original palette back (app.css :root values), scoped to the banner
   only. The skip link lost its cream ink to "body.console a" (higher specificity): 1.74:1 when focused. */
#appwt-cookie-consent{--black:#0A0A0A;--charcoal:#1A1A1A;--charcoal-2:#222222;--gold:#C4A052;--gold-soft:#d9bd7d;--pearl:#FAFAFA;--muted:#A3B5CC}
body.console #appwt-cookie-consent .appwt-consent-title{color:#FAFAFA}
body.console #appwt-cookie-consent a,body.console #appwt-cookie-consent a.appwt-consent-link{color:#C4A052}
body.console a.tc-skip{color:#FBF8F0}
/* app.css ".console nav{display:flex}" (0,1,1) outranked ".tc-nav{display:none}" (0,1,0), so under 1080px the desktop nav
   stayed visible as a wrapped column over the header next to the Menu button (seen in Chrome at 390). */
@media (max-width:1080px){body.console .tc-nav,body.console .tc-acct{display:none}}
/* The same app.css rule centred the mobile menu links and set flex-wrap:wrap, so on a short screen the column could wrap
   sideways instead of scrolling. Full-width rows, one column, scrolls inside its max-height. */
body.console .tc-menu__panel{align-items:stretch;flex-wrap:nowrap;gap:0}
body.console .tc-menu__panel>a{font-size:17px;padding:11px 4px;border-radius:0}

/* ---- 5. small screens ---- */
@media (max-width:900px){.tc-hero{grid-template-columns:1fr;padding:44px 0 32px;gap:26px}.tc-cards--3,.tc-contact{grid-template-columns:1fr 1fr}}
@media (max-width:760px){
  .tc-wrap{padding:0 22px}.tc-bar{min-height:76px}
  .tc-h1{letter-spacing:-.03em}.tc-lead{font-size:17px}
  .tc-visual{min-height:0;padding:20px}.tc-visual::before{left:120px}
  .tc-flow{grid-template-columns:repeat(3,minmax(0,1fr))}
  .tc-cards,.tc-cards--3,.tc-steps,.tc-contact{grid-template-columns:1fr}
  .tc-section{padding:38px 0}
  .tc-strip ul{display:grid;grid-template-columns:1fr 1fr;font-size:13px}
  .tc-cta{padding:25px}
}
@media (max-width:480px){.tc-actions .tc-btn{width:100%}}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto !important;transition:none !important;animation:none !important}}
@media print{.tc-top,.tc-foot,.tc-cta{display:none !important}}

/* ---- 6. floating widget rail clearance on phones (💡💡💡💡 N.O.V.E.L. 💡💡💡💡 for 🔬🔬🔬🔬 M.O.R.R.I.S. 🔬🔬🔬🔬, key
   novel-tc-overlap-1125, 2026-11-25) ----
   At 768px and below the PART 105 rail (_widgets.php) is two columns of 44px circles, 15px in from each side edge, so it
   covers x 15-59 and (width-59)-(width-15) near the bottom of the screen. The page gutter is 22px. Measured at 390 with
   document.elementFromPoint: the accessibility button sat on the contact "Call" button, the chat and translate buttons
   on reservations "See a sample booking page", and in the first seconds the chat button sat on ordering "Explore the
   sample menu", reservations "Request a demo" and an FAQ row. The rail itself is not moved.
   (a) A button is never wider than the gap between the two columns and sits centered in its container (every
       container here has equal side padding), so its edges stay 66px from both sides at any scroll position (6px clear
       of the circles and their shadow). A desktop window this narrow can carry a 15px scrollbar that 100vw counts,
       hence 148px for a fine pointer.
   (b) cage-widget.js injects "#cage-widget-container.bottom-left{bottom:130px!important;left:12px!important}" at 768px
       and below. That selector outranks the rail's own "#cage-widget-container" rule, so until the rail's re-pin script
       runs (2.7s after load) the chat button sat 59px higher than the rail places it, over the hero buttons, and then
       jumped. The same rule with body.console in front holds the rail's own position from the first paint. */
@media (max-width:768px){
  body.console .tc-main .tc-btn{max-width:calc(100vw - 132px)}
  body.console .tc-main .tc-actions{justify-content:center}
  body.console .tc-main .tc-card .tc-btn{display:flex;width:fit-content;margin-left:auto;margin-right:auto}
  body.console #cage-widget-container.bottom-left{bottom:calc(71px + var(--appwt-rail-offset,0px))!important;left:15px!important}
}
@media (max-width:768px) and (pointer:fine){body.console .tc-main .tc-btn{max-width:calc(100vw - 148px)}}
