/* show.css · cutpile.com build 8, SHOW (2026-10-14): the visualizer's place on the page, the integrations, the screens.
   Every class is .sh- so nothing meets index.php's own rules. Tokens are index.php's (walnut, paper, oak, the spectrum). */

/* ---------- #see: the room the app runs, on the page's paper */
.sh-see{padding-bottom:0}
.sh-see .sec-h{margin-bottom:1.6rem}
.sh-hv{--hv-paper:var(--paper,#f7f4ee);--hv-line:var(--line-l,#e3dccf);--hv-ring:#F7972A;border-bottom:0}
.sh-hv .hv-band{border-top:1px solid var(--line-l,#e3dccf)}
.sh-hv .hv-ask{margin:.55rem 0 0;font-size:.98rem;line-height:1.45;color:var(--ink,#241c15);max-width:34ch}
.sh-hv .hv-pa{min-height:0}
.sh-do{display:flex;flex-wrap:wrap;align-items:center;gap:.45rem;margin-top:1.1rem}
.sh-do .hv-mono{flex-basis:100%;color:var(--label,#5f513f);margin-bottom:.1rem}
.sh-do button{appearance:none;border:1px solid var(--line-b,rgba(36,28,21,.18));background:#fff;color:var(--ink,#241c15);border-radius:999px;
  padding:.55rem .95rem;min-height:40px;font:600 .88rem/1 var(--fb,'Instrument Sans',system-ui,sans-serif);cursor:pointer;
  display:inline-flex;align-items:center;gap:.45rem;transition:border-color .15s,background .15s}
.sh-do[data-wait]{visibility:hidden}
.sh-do button::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--s1,#F7972A);flex:none}
.sh-do button[data-do=light]::before{background:var(--s3,#32B2E1)}
.sh-do button[data-do=floor]::before{background:var(--s4,#296EB2)}
@media (hover:hover){.sh-do button:hover{border-color:var(--ink,#241c15)}}
.sh-do button:active{background:var(--paper-2,#efe9df)}
.sh-fine{margin-top:1.1rem;font-size:.8rem;line-height:1.5;color:var(--muted,#6b5c49);max-width:40ch}
@media (max-width:1023px){.sh-do .hv-mono{flex-basis:auto;margin:0 .3rem 0 0}.sh-fine{max-width:60ch}}
/* Try it right under the room where the room takes the whole width (CPCOM, 2026-10-14): show.js moves the row into the band
   and marks the band .sh-band-do; these areas are room.css's own for the same widths with "try" added after the room and
   its light row (staging/cutpile-com/SHOW/build_hv8.py stops if room.css's areas change, so the two cannot drift apart). */
@media (max-width:1023px){
  .sh-hv .hv-band.sh-band-do{grid-template-areas:"stage" "try" "rack" "spec"}
  .sh-hv .hv-band > .sh-do{grid-area:try;margin:0;padding:.9rem 24px .2rem;gap:.5rem}
}
@media (max-width:639px){
  .sh-hv .hv-band.sh-band-do{grid-template-areas:"stage" "lightm" "try" "rack" "spec"}
  .sh-hv .hv-band > .sh-do{padding:.55rem 16px .15rem;gap:.45rem}
  .sh-hv .hv-band > .sh-do button{min-height:44px;padding:.55rem .9rem}
}

/* the photoreal sheet, the kept list */
.sh-real-list{display:grid;gap:8px;margin-top:12px}
.sh-real-k{display:grid;grid-template-columns:72px minmax(0,1fr);gap:12px;align-items:center;width:100%;text-align:left;border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.06);color:#f6efe4;border-radius:10px;padding:6px 10px 6px 6px;cursor:pointer;font:inherit;min-height:56px}
.sh-real-k img{width:72px;height:48px;object-fit:cover;border-radius:6px;display:block}
.sh-real-k b{display:block;font:600 .92rem/1.2 var(--hv-sans,'Instrument Sans',system-ui,sans-serif)}
.sh-real-k small{display:block;font-size:.76rem;line-height:1.3;color:#d8cbb9;margin-top:2px}
@media (hover:hover){.sh-real-k:hover{background:rgba(255,255,255,.12)}}
.hv-real-vb .go{white-space:nowrap}
/* the heart saves to a store's Your floors; cutpile.com has none */
.sh-hv .hv-fav{display:none!important}

/* ---------- works with: the strip under the hero (on walnut), each mark on its own white chip so no mark meets a ground
   that fights it; one row that scrolls inside itself on a phone */
.sh-strip{flex:1;min-width:0;display:flex;flex-wrap:wrap;gap:7px;list-style:none;margin:0;padding:0}
.sh-strip li{display:flex;align-items:center;gap:7px;height:38px;padding:0 11px;background:#fff;border-radius:9px;flex:none}
.sh-strip .sh-ty{font:600 .84rem/1 var(--fb,'Instrument Sans',system-ui,sans-serif);color:#2b2620;white-space:nowrap}
.sh-strip .sh-gl{width:20px;height:20px}
.sh-strip .sh-wd{height:18px;width:auto}
.sh-strip .sh-wd-quickbooks{height:24px}.sh-strip .sh-wd-linkedin{height:17px}.sh-strip .sh-wd-elevenlabs{height:13px}.sh-strip .sh-wd-twilio{height:19px}
@media (max-width:860px){
  .sh-strip{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-inline:calc(-1 * var(--gut,16px));padding-inline:var(--gut,16px);
    -webkit-mask-image:linear-gradient(90deg,transparent,#000 var(--gut,16px),#000 calc(100% - 28px),transparent);mask-image:linear-gradient(90deg,transparent,#000 var(--gut,16px),#000 calc(100% - 28px),transparent)}
  .sh-strip::-webkit-scrollbar{display:none}
  .works .in > .sh-strip{flex-basis:100%;order:2}
}

/* ---------- works with: the wall */
.sh-wall{columns:3 300px;column-gap:20px}
.sh-wg{break-inside:avoid;display:inline-block;width:100%;margin:0 0 20px;background:#fff;border:1px solid var(--line-l,#e3dccf);border-radius:14px;padding:18px 18px 8px}
.sh-wg > .ey{margin-bottom:6px}
.sh-wg ul{list-style:none;margin:0;padding:0}
.sh-w{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;padding:12px 0;border-top:1px solid var(--line-l,#e3dccf)}
.sh-wg ul > li:first-child{border-top:0}
.sh-wm{display:flex;align-items:center;gap:9px;min-height:30px}
.sh-wm .sh-ty{font:700 1.06rem/1.15 var(--fd,'Bricolage Grotesque',system-ui,sans-serif);letter-spacing:-.01em;color:var(--ink,#241c15)}
.sh-wm .sh-gl{width:26px;height:26px;flex:none}
.sh-wm .sh-wd{height:24px;width:auto;max-width:200px}
.sh-wm .sh-wd-quickbooks{height:32px}.sh-wm .sh-wd-elevenlabs{height:17px}.sh-wm .sh-wd-linkedin{height:23px}.sh-wm .sh-wd-twilio{height:25px}
.sh-wd-t{font-size:.9rem;line-height:1.45;color:var(--muted,#6b5c49)}
/* a service that waits on its owner's approval says so beside its name, in plain words (awaits.json) */
.sh-await{margin-left:auto;flex:none;font:500 .66rem/1 var(--fm,'IBM Plex Mono',ui-monospace,monospace);letter-spacing:.08em;text-transform:uppercase;
  color:var(--label,#5f513f);border:1px solid var(--line-b,rgba(36,28,21,.18));border-radius:999px;padding:5px 8px;white-space:nowrap}
.sh-wg .is-bare{padding:9px 0}
.sh-wnote{padding:10px 0 12px;font-size:.9rem;line-height:1.45;color:var(--muted,#6b5c49);border-top:1px solid var(--line-l,#e3dccf)}
.sh-wfine{margin-top:6px;font-size:.78rem;line-height:1.5;color:var(--muted,#6b5c49);max-width:70ch}

/* ---------- #screens: the back of house, real screens with invented records */
.sh-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 18px}
.sh-tabs button{appearance:none;border:1px solid var(--line-d,rgba(244,236,224,.14));background:transparent;color:var(--on-dark-2,#c9bcaa);border-radius:999px;
  padding:.55rem 1rem;min-height:40px;font:600 .9rem/1 var(--fb,'Instrument Sans',system-ui,sans-serif);cursor:pointer}
.sh-tabs button[aria-selected=true]{background:var(--on-dark,#f4ece0);color:var(--walnut,#2b211a);border-color:var(--on-dark,#f4ece0)}
@media (hover:hover){.sh-tabs button:not([aria-selected=true]):hover{color:#fff;border-color:rgba(244,236,224,.4)}}
.sh-pane{margin:0 0 28px}
.sh-js .sh-pane{display:none;margin:0}.sh-js .sh-pane.on{display:block}
.sh-frame{position:relative;border-radius:14px;overflow:hidden;background:#1a1410;box-shadow:0 30px 70px rgba(0,0,0,.42),0 0 0 1px rgba(244,236,224,.12)}
.sh-bar{display:flex;gap:6px;align-items:center;height:28px;padding:0 12px;background:#120e0b}
.sh-bar i{width:9px;height:9px;border-radius:50%;background:rgba(244,236,224,.22)}
.sh-frame img{display:block;width:100%;height:auto}
.sh-pane figcaption{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:.4rem 2rem;margin-top:18px;align-items:baseline}
.sh-pane figcaption b{font:700 1.15rem/1.25 var(--fd,'Bricolage Grotesque',system-ui,sans-serif);color:#fff}
.sh-pane figcaption span{font-size:.98rem;line-height:1.55;color:var(--on-dark-2,#c9bcaa)}
.sh-pane.is-phone{display:grid;grid-template-columns:auto minmax(0,1fr);gap:40px;align-items:center}
.sh-js .sh-pane.is-phone{display:none}.sh-js .sh-pane.is-phone.on{display:grid}
.sh-frame-phone{width:min(330px,80vw);border-radius:38px;border:9px solid #0f0b08;box-shadow:0 30px 70px rgba(0,0,0,.45),0 0 0 1px rgba(244,236,224,.14)}
.sh-pane.is-phone figcaption{grid-template-columns:minmax(0,1fr);max-width:40ch}
@media (max-width:760px){
  .sh-tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-inline:calc(-1 * var(--gut,16px));padding-inline:var(--gut,16px)}
  .sh-tabs::-webkit-scrollbar{display:none}
  .sh-tabs button{flex:none}
  .sh-frame{border-radius:10px}.sh-bar{height:20px}.sh-bar i{width:7px;height:7px}
  .sh-pane figcaption{grid-template-columns:minmax(0,1fr)}
  .sh-pane.is-phone,.sh-js .sh-pane.is-phone.on{grid-template-columns:minmax(0,1fr);justify-items:center;gap:22px}
  .sh-frame-phone{width:min(280px,76vw);border-radius:32px;border-width:7px}
}
.sh-zoom{display:block;color:inherit}
/* a phone shows the middle of a desktop screen (the work, not the side bars), larger; a tap opens the whole picture */
@media (max-width:760px){
  .sh-pane:not(.is-phone) .sh-zoom{overflow:hidden;aspect-ratio:880/900}
  .sh-pane:not(.is-phone) .sh-zoom img{width:163.64%;max-width:none;margin-left:-27.27%}
  .sh-pane.is-wide .sh-zoom{aspect-ratio:1200/900}
  .sh-pane.is-wide .sh-zoom img{width:120%;margin-left:-20%}
}

/* 2026-10-23: under 640 px the visualizer's six floor tabs (Hardwood to Stains) cannot fit one row and cannot shrink below
   their words, so the page was 502 px wide on a 390 px phone. Two rows of three instead. */
@media (max-width:639px){
  .sh-hv .hv-kinds{flex-wrap:wrap;row-gap:3px}
  .sh-hv .hv-kinds button{flex:1 1 calc(33.333% - 2px);min-width:0}
}
