/* tablescape.vip landing pages and planning guides (/banquet-hall-software/, /guides/..., /es/...): what they add to compare.css, which
   they also link. Long-form reading, worked tables, a calculator, a floor-plan figure, the copyable templates and the grouped footer.
   marketing/build.mjs copies it to dist. */

/* breadcrumbs */
.crumbs{font-size:13px;color:var(--muted);padding-top:22px}
.crumbs ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:4px 8px}
.crumbs li+li::before{content:"/";margin-right:8px;color:var(--line-2)}
.crumbs a{text-decoration:none}
.crumbs a:hover{color:var(--ink)}
.hero.tight{padding-top:clamp(20px,4vw,40px)}

/* long-form reading */
.read{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:clamp(28px,5vw,64px);align-items:start}
@media(max-width:980px){.read{grid-template-columns:1fr}}
.toc{position:sticky;top:90px;border-left:1px solid var(--line-2);padding:4px 0 4px 18px;display:grid;gap:10px;font-size:14px}
.toc b{font:600 11px/1 var(--body);letter-spacing:.2em;text-transform:uppercase;color:var(--gold)}
.toc a{text-decoration:none;color:var(--muted)}
.toc a:hover{color:var(--ink)}
@media(max-width:980px){.toc{display:none}}
.prose{display:grid;gap:18px;max-width:72ch;font-size:16.5px;line-height:1.7}
.prose h2{font-size:clamp(28px,3.6vw,40px);line-height:1.1;margin-top:clamp(26px,4vw,44px);scroll-margin-top:90px}
.prose h3{font-size:clamp(21px,2.4vw,25px);line-height:1.2;margin-top:10px}
.prose ul,.prose ol{padding-left:1.25em;display:grid;gap:8px}
.prose li::marker{color:var(--gold)}
.prose strong,.prose b{font-weight:600}
.prose .note{border-left:2px solid var(--gold);padding:4px 0 4px 16px;color:var(--muted);font-size:15.5px}
.prose .note b{color:var(--ink)}
.prose code,.mono{font:500 .9em var(--mono)}

/* worked numbers */
.figures{border:1px solid var(--line);border-radius:14px;overflow-x:auto;-webkit-overflow-scrolling:touch;background:var(--bg)}
.figures table{width:100%;border-collapse:collapse;font-size:14.5px;min-width:480px}
.figures.narrow table{min-width:0}
.figures caption{text-align:left;padding:13px 16px;font-size:13px;color:var(--muted);caption-side:bottom;border-top:1px solid var(--line)}
.figures th,.figures td{text-align:left;vertical-align:top;padding:11px 16px;border-bottom:1px solid var(--line)}
.figures thead th{background:var(--bg-2);font:600 11.5px/1.3 var(--body);letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.figures tbody tr:last-child th,.figures tbody tr:last-child td{border-bottom:0}
.figures td.n,.figures th.n{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.figures tr.total th,.figures tr.total td{border-top:1px solid var(--line-2);font-weight:600;color:var(--ink)}
.figures tbody th{font-weight:600}
.figures td{color:var(--muted)}
.figures td.n{color:var(--ink)}

/* a wide table that stacks on phones: the first cell on the left, the rest under each other beside it */
@media(max-width:640px){
  .figures.stack table{min-width:0}
  .figures.stack thead{display:none}
  .figures.stack tbody tr{display:grid;grid-template-columns:68px minmax(0,1fr);gap:3px 12px;padding:14px 16px;border-bottom:1px solid var(--line)}
  .figures.stack tbody tr:last-child{border-bottom:0}
  .figures.stack tbody tr>*{border:0;padding:0;text-align:left}
  .figures.stack tbody tr>*:not(:first-child){grid-column:2}
  .figures.stack tbody tr>:first-child{grid-row:1/span 4}
  .figures.stack td.n{white-space:normal}
  .figures.stack tbody tr>:nth-child(4){font-size:12.5px;color:var(--muted)}
}

/* the calculators */
.calc{border:1px solid var(--gold);border-radius:18px;padding:clamp(18px,3vw,28px);display:grid;gap:18px;background:linear-gradient(180deg,color-mix(in srgb,var(--gold) 6%,var(--bg)),var(--bg) 80%)}
.calc h3{font-size:clamp(22px,2.6vw,28px)}
.calc .fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px 16px}
.calc label{display:grid;gap:6px;font-size:13px;color:var(--muted)}
.calc input,.calc select{font:500 16px var(--body);color:var(--ink);background:var(--bg-2);border:1px solid var(--line-2);border-radius:10px;padding:10px 12px;min-height:44px;width:100%}
.calc input:focus,.calc select:focus{outline:2px solid var(--gold);outline-offset:1px;border-color:var(--gold)}
.calc .out{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1px;background:var(--line);border:1px solid var(--line);border-radius:12px;overflow:hidden}
.calc .out div{background:var(--bg);padding:14px 16px;display:grid;gap:4px}
.calc .out span{font-size:12.5px;color:var(--muted)}
.calc .out b{font:400 26px/1.1 var(--display);font-variant-numeric:tabular-nums}
.calc .why{font-size:13.5px;color:var(--muted)}

/* a drawn floor plan */
.plan-fig{margin:0;border:1px solid var(--line);border-radius:14px;background:var(--bg-2);padding:clamp(10px,2vw,18px);display:grid;gap:10px}
.plan-fig svg{width:100%;height:auto;display:block}
.plan-fig figcaption{font-size:13px;color:var(--muted)}

/* copyable and downloadable templates */
.tpl{border:1px solid var(--line-2);border-radius:14px;background:var(--bg);overflow:hidden}
.tpl-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border-bottom:1px solid var(--line);background:var(--bg-2)}
.tpl-bar b{font:600 12px/1.3 var(--body);letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.tpl-bar .acts{display:flex;flex-wrap:wrap;gap:8px}
.tpl-bar .btn{min-height:40px;padding:8px 16px;font-size:13.5px}
.tpl pre{margin:0;padding:16px 18px;font:400 13.5px/1.6 var(--mono);color:var(--ink);white-space:pre-wrap;overflow-wrap:anywhere;max-height:520px;overflow:auto}
.copied{font-size:13px;color:var(--ok);min-width:60px}

/* a sample document set like paper (the BEO) */
.sheet{background:#fffdf9;color:#231c20;border-radius:6px;padding:clamp(18px,3vw,34px);font:14px/1.5 var(--body);box-shadow:0 30px 60px -40px rgba(0,0,0,.7);display:grid;gap:16px}
.sheet h3{font:400 24px/1.15 var(--display)}
.sheet .meta{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px 18px;font-size:13px;border-block:1px solid rgba(35,28,32,.15);padding-block:12px}
.sheet .meta span{display:block;color:#6f6266;font-size:11px;letter-spacing:.08em;text-transform:uppercase}
.sheet h4{font:600 11.5px/1.2 var(--body);letter-spacing:.12em;text-transform:uppercase;color:#80601f;margin:0;border-bottom:1px solid rgba(35,28,32,.15);padding-bottom:6px}
.sheet table{width:100%;border-collapse:collapse;font-size:13px}
.sheet td,.sheet th{text-align:left;padding:5px 8px 5px 0;vertical-align:top;border-bottom:1px solid rgba(35,28,32,.08)}
.sheet th{font-weight:600;width:34%}
.sheet .two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px}
@media(max-width:640px){.sheet .two{grid-template-columns:1fr}}
.sheet .sign{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;font-size:12px;color:#6f6266;padding-top:18px}
.sheet .sign span{border-top:1px solid rgba(35,28,32,.4);padding-top:6px}

/* "how Tablescape handles this" aside at the end of a guide */
.inapp{border:1px solid var(--line-2);border-radius:14px;padding:clamp(18px,3vw,26px);display:grid;gap:10px}
.inapp .eyebrow{display:block}
.inapp p{color:var(--muted);font-size:15.5px}
.inapp a{color:var(--gold)}

/* feature rows on the landing pages: text beside a numbered detail list, never a grid of identical cards */
.rows{display:grid;border-top:1px solid var(--line)}
.row{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(16px,4vw,56px);padding-block:clamp(26px,4vw,40px);border-bottom:1px solid var(--line)}
.row h3{font-size:clamp(24px,2.8vw,32px);line-height:1.12}
.row .k{font:500 12px/1.4 var(--mono);color:var(--gold);letter-spacing:.03em;display:block;margin-bottom:10px}
.row p{color:var(--muted);font-size:15.5px}
.row .body{display:grid;gap:12px;align-content:start}
.row .body p b{color:var(--ink);font-weight:600}
@media(max-width:760px){.row{grid-template-columns:1fr}}

/* the photo band */
.shot{margin:0;border-radius:16px;overflow:hidden;border:1px solid var(--line);background:var(--bg-2)}
.shot img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.shot figcaption{font-size:13px;color:var(--muted);padding:10px 14px}

/* the guides list */
.glist{display:grid;border-top:1px solid var(--line)}
.glist a{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 24px;padding:22px 0;border-bottom:1px solid var(--line);text-decoration:none}
.glist a:hover h3{color:var(--gold)}
.glist h3{font-size:clamp(22px,2.6vw,28px);line-height:1.15}
.glist p{color:var(--muted);font-size:15px;grid-column:1}
.glist span{font:500 12px var(--mono);color:var(--muted);align-self:center;grid-row:1/3;grid-column:2}
@media(max-width:600px){.glist a{grid-template-columns:1fr}.glist span{grid-row:auto;grid-column:1}}

/* grouped footer */
.foot-cols{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 28px}
.foot-cols b{display:block;font:600 11px/1 var(--body);letter-spacing:.18em;text-transform:uppercase;color:var(--gold);margin-bottom:12px}
.foot-cols a{display:block;text-decoration:none;padding-block:5px}
.foot-cols a:hover{color:var(--ink)}
.foot-cols a[aria-current="page"]{color:var(--ink)}
@media(max-width:900px){.foot-cols{grid-template-columns:repeat(2,minmax(0,1fr))}}

@media print{
  .nav,footer,.crumbs,.toc,.ctas,.offer,.tpl-bar,.calc,#faq,#more{display:none!important}
  body{background:#fff;color:#000}
  .sheet{box-shadow:none;padding:0}
}
