/* Shared kit for Galvor product mockup slides (beyond/extra/*.html).
   Slides are 1600x900 and use the deck's tokens: --ink --ink2 --ink3 --line --soft --v --vs --b --bs --g --gs --f --fm --fs.
   Every mockup sits in an .app window so all of them read as one product. Sample data only. */
.xs { gap: 30px; }
.xs .lead { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.xs .lead h2 { font-size: 46px; max-width: 1000px; }
.xs .lead .sub { font-size: 22px; max-width: 460px; text-align: right; }
.xs .sample { font: 500 13px var(--fm); letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); padding: 4px 10px; border: 1px solid var(--line); border-radius: 99px; }

/* app window */
.app { flex: 1 1 auto; min-height: 0; border: 1px solid var(--line); border-radius: 20px; background: #fff; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 24px 60px rgba(13,20,17,.08), 0 2px 6px rgba(13,20,17,.04); }
.app-bar { height: 46px; flex: none; display: flex; align-items: center; gap: 14px; padding: 0 18px; border-bottom: 1px solid var(--line); background: #FAFAF9; font-size: 15px; color: var(--ink3); }
.app-bar .dots { display: flex; gap: 7px; } .app-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: #E3E5E2; }
.app-bar .crumb b { color: var(--ink); font-weight: 600; }
.app-bar .logo { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.app-bar .logo i { width: 18px; height: 18px; border-radius: 5px; background: var(--v); }
.app-body { flex: 1; min-height: 0; display: flex; }
.app-side { width: 210px; flex: none; border-right: 1px solid var(--line); padding: 18px 12px; display: flex; flex-direction: column; gap: 4px; background: #FCFCFB; font-size: 15px; }
.app-side a { padding: 9px 12px; border-radius: 9px; color: var(--ink2); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.app-side a.on { background: var(--vs); color: var(--v); font-weight: 600; }
.app-side .grp { font: 500 11px var(--fm); letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); padding: 12px 12px 4px; }
.app-main { flex: 1; min-width: 0; padding: 22px 26px; display: flex; flex-direction: column; gap: 16px; overflow: hidden; }

/* building blocks */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 99px; font-size: 14px; font-weight: 500; background: var(--soft); color: var(--ink2); border: 1px solid var(--line); white-space: nowrap; }
.chip.v { background: var(--vs); color: var(--v); border-color: transparent; }
.chip.g { background: var(--gs); color: var(--g); border-color: transparent; }
.chip.r { background: var(--bs); color: var(--b); border-color: transparent; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.panel { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; background: #fff; display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.panel.tint { background: var(--soft); }
.panel h4 { margin: 0; font-size: 17px; font-weight: 650; }
.panel .k { font: 500 12px var(--fm); letter-spacing: .09em; text-transform: uppercase; color: var(--ink3); }
.big { font-size: 40px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.muted { color: var(--ink3); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; } .grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

/* table */
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th { font: 500 12px var(--fm); letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr.on td { background: var(--vs); }
.who { display: flex; align-items: center; gap: 10px; } .who img, .who .av { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: #E9E6F2; flex: none; }
.who b { font-weight: 600; display: block; } .who span { font-size: 13px; color: var(--ink3); }

/* bars and meters */
.hbar { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.hbar .tr { flex: 1; height: 10px; border-radius: 5px; background: #ECEEEB; overflow: hidden; } .hbar .tr i { display: block; height: 100%; border-radius: 5px; background: var(--v); }
.hbar .tr i.r { background: var(--b); } .hbar .tr i.g { background: var(--g); } .hbar .tr i.m { background: #B9BFBB; }
.score { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 16px; background: conic-gradient(var(--v) calc(var(--s) * 1%), #ECEEEB 0); position: relative; }
.score::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #fff; } .score b { position: relative; z-index: 1; }

/* phone / reel frame with overlay tags */
.phone { position: relative; width: 250px; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: #222; flex: none; box-shadow: 0 10px 30px rgba(13,20,17,.18); }
.phone img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pin { position: absolute; display: flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 8px; background: rgba(255,255,255,.95); font-size: 13px; font-weight: 600; box-shadow: 0 4px 14px rgba(0,0,0,.18); white-space: nowrap; }
.pin::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--v); }
/* video timeline */
.tline { display: flex; height: 34px; border-radius: 8px; overflow: hidden; font-size: 12px; font-weight: 600; }
.tline span { display: flex; align-items: center; padding: 0 8px; color: #fff; background: var(--v); border-right: 2px solid #fff; white-space: nowrap; overflow: hidden; }
.tline span.b2 { background: #9F6CF2; } .tline span.b3 { background: #C4A5F7; color: var(--ink); } .tline span.b4 { background: #E4D6FB; color: var(--ink); }
.ticks { display: flex; justify-content: space-between; font: 12px var(--fm); color: var(--ink3); }

/* chat */
.msg { max-width: 78%; padding: 12px 16px; border-radius: 14px; font-size: 16px; line-height: 1.45; }
.msg.me { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.msg.ai { align-self: flex-start; background: var(--soft); border-bottom-left-radius: 4px; }
.cite { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 6px; background: var(--vs); color: var(--v); font: 600 11px var(--fm); vertical-align: 2px; }

/* flow diagram */
.flow { display: flex; align-items: stretch; gap: 0; }
.flow .st { flex: 1; border: 1px solid var(--line); border-radius: 16px; padding: 18px; background: #fff; display: flex; flex-direction: column; gap: 8px; }
.flow .ar { width: 34px; flex: none; display: grid; place-items: center; color: var(--ink3); font-size: 22px; }
.flow .st .n { font: 600 13px var(--fm); color: var(--v); }
.flow .st h4 { margin: 0; font-size: 20px; } .flow .st p { margin: 0; font-size: 15px; line-height: 1.4; color: var(--ink2); }
