/* ============================================================================
   mockups.css — light-themed mini replicas of the real Roster Builder UI,
   embedded inside the dark landing page as live product imagery.
   All selectors are scoped under .mock so they never touch the marketing shell.
   ============================================================================ */
.mock { font-family: 'DM Sans', system-ui, sans-serif; color: #1a2332; background: #f2f4f7;
  width: 100%; height: 100%; text-align: left; -webkit-font-smoothing: antialiased; }
.mock * { box-sizing: border-box; }

/* avatars (stand-ins for the app's name-hashed oklch avatars) */
.av { border-radius: 50%; display: grid; place-items: center; font-weight: 700; flex-shrink: 0; }
.av-a { background: oklch(88% 0.08 20);  color: oklch(35% 0.12 20); }
.av-b { background: oklch(88% 0.08 150); color: oklch(35% 0.12 150); }
.av-c { background: oklch(88% 0.08 260); color: oklch(35% 0.12 260); }
.av-d { background: oklch(88% 0.08 320); color: oklch(35% 0.12 320); }
.av-e { background: oklch(88% 0.08 90);  color: oklch(35% 0.12 90); }
.av-f { background: oklch(88% 0.08 200); color: oklch(35% 0.12 200); }

/* night pills — exact app palette */
.npill { font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 5px; line-height: 1.5; white-space: nowrap; }
.npill.Mon { background: #e3f0ff; color: #1565c0; }
.npill.Tue { background: #fff3e0; color: #e65100; }
.npill.Wed { background: #e8f5e9; color: #2e7d32; }
.npill.Thu { background: #f3e5f5; color: #7b1fa2; }
.npill.Fri { background: #fce4ec; color: #c62828; }

/* day group header */
.day-hdr { display: flex; align-items: center; gap: 10px; margin: 2px 0 12px; }
.day-tag { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 6px; letter-spacing: 0.3px; }
.day-tag.Mon { background: #e3f0ff; color: #1565c0; } .day-tag.Tue { background: #fff3e0; color: #e65100; }
.day-tag.Wed { background: #e8f5e9; color: #2e7d32; } .day-tag.Thu { background: #f3e5f5; color: #7b1fa2; }
.day-tag.Fri { background: #fce4ec; color: #c62828; }
.day-hdr .n { font-size: 12px; color: #b0b9c6; } .day-hdr .ln { flex: 1; height: 1px; background: #e8eaef; }

/* team card */
.tcard { background: #fff; border: 1px solid #e8eaef; border-radius: 12px; box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
.tcard.sel { border-color: #0d3d26; box-shadow: 0 4px 24px rgba(13,61,38,0.12); }
.tcard-top { padding: 14px 15px 12px; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.tc-left { display: flex; gap: 10px; align-items: flex-start; min-width: 0; }
.tc-left .av { width: 38px; height: 38px; font-size: 13px; }
.tc-team { font-size: 13px; font-weight: 700; color: #1a2332; display: flex; align-items: center; gap: 6px; }
.tc-team .warn { color: #e05555; font-size: 11px; font-weight: 500; }
.tc-coach { font-size: 12px; color: #4a5568; margin-top: 2px; }
.tc-coach .t { color: #9aa3b0; font-size: 11px; }
.tc-right { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; flex-shrink: 0; }
.tc-right .nights { display: flex; gap: 4px; }
.tc-count { font-size: 11px; color: #9aa3b0; font-weight: 500; }
.tc-foot { padding: 6px 15px 10px; text-align: center; color: #b0b9c6; font-size: 11px; font-weight: 500; }
.tcard.sel .tc-foot { color: #0d3d26; }

/* roster mini grid */
.rgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* app shell (sidebar + content) for the larger preview */
.appshell { display: flex; height: 100%; min-height: 460px; position: relative; }
.side { width: 184px; background: #0d1f2d; flex-shrink: 0; padding: 16px 12px; display: flex; flex-direction: column; gap: 14px; }
.side-brand { display: flex; align-items: center; gap: 9px; }
.side-brand .logo { width: 28px; height: 28px; border-radius: 7px; background: #2ecc71; display: grid; place-items: center; color: #06231a; font-weight: 800; font-size: 13px; }
.side-brand .t1 { font-size: 12px; font-weight: 700; color: #fff; } .side-brand .t2 { font-size: 9px; color: rgba(255,255,255,0.4); }
.side-stats { display: flex; gap: 7px; }
.side-stat { flex: 1; background: rgba(255,255,255,0.06); border-radius: 6px; padding: 7px 9px; }
.side-stat .v { font-size: 15px; font-weight: 700; color: #fff; } .side-stat .l { font-size: 9px; color: rgba(255,255,255,0.4); }
.side-lbl { font-size: 9px; font-weight: 700; color: rgba(255,255,255,0.25); letter-spacing: 1px; text-transform: uppercase; padding: 2px 8px; }
.side-item { padding: 8px 9px; border-radius: 7px; display: flex; justify-content: space-between; align-items: center; }
.side-item .nm { font-size: 12px; color: rgba(255,255,255,0.8); white-space: nowrap; } .side-item .ct { font-size: 10px; color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.06); border-radius: 4px; padding: 1px 6px; }
.side-item.on { background: rgba(46,204,113,0.15); border: 1px solid rgba(46,204,113,0.2); }
.side-item.on .nm { color: #2ecc71; font-weight: 600; } .side-item.on .ct { color: #2ecc71; background: rgba(46,204,113,0.12); }
.content { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.topbar { height: 50px; background: #fff; border-bottom: 1px solid #e8eaef; display: flex; align-items: center; gap: 12px; padding: 0 18px; flex-shrink: 0; }
.topbar .title { font-size: 14px; font-weight: 700; white-space: nowrap; } .topbar .sub { font-size: 11px; color: #9aa3b0; white-space: nowrap; }
.topbar .spacer { flex: 1; }
.search { display: flex; align-items: center; gap: 6px; background: #f7f8fa; border: 1px solid #e8eaef; border-radius: 8px; padding: 5px 10px; width: 150px; font-size: 11px; color: #9aa3b0; }
.pill-btn { font-size: 11px; font-weight: 600; padding: 6px 11px; border-radius: 8px; border: 1px solid #0d3d26; color: #0d3d26; }
.statbar { height: 36px; background: #fff; border-bottom: 1px solid #e8eaef; display: flex; align-items: center; gap: 20px; padding: 0 18px; flex-shrink: 0; }
.statbar .s { display: flex; gap: 5px; align-items: baseline; } .statbar .s .v { font-size: 14px; font-weight: 700; } .statbar .s .l { font-size: 11px; color: #9aa3b0; } .statbar .s .v.warn { color: #e05555; }
.canvas { flex: 1; overflow: hidden; padding: 18px; background: #f2f4f7; }

/* ---- field sort pitch ---------------------------------------------------- */
.fcard { background: #fff; border: 1px solid #e8eaef; border-radius: 13px; box-shadow: 0 1px 4px rgba(0,0,0,0.05); overflow: hidden; }
.fcard + .fcard { margin-top: 12px; }
.fcard-hd { padding: 11px 15px; border-bottom: 1px solid #f0f2f5; display: flex; align-items: center; gap: 9px; }
.fcard-hd .nm { font-size: 14px; font-weight: 700; }
.loc { font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 5px; letter-spacing: 0.4px; }
.loc.NORTH { background: #e3f0ff; color: #1565c0; } .loc.SOUTH { background: #fff3e0; color: #e65100; } .loc.EITHER { background: #eef7ee; color: #2e7d32; }
.fcard-hd .shared { margin-left: auto; font-size: 10.5px; font-weight: 700; color: #0d3d26; background: #e7f3ec; padding: 2px 8px; border-radius: 5px; }
.fcard-bd { padding: 12px 15px 14px; }
.slot-lbl { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
.slot-lbl .s1 { font-family: 'DM Mono', monospace; font-size: 10px; font-weight: 600; color: #6b7a8d; }
.slot-lbl .s2 { font-family: 'DM Mono', monospace; font-size: 10px; color: #9aa3b0; }
.slot-lbl .sh { font-size: 10px; font-weight: 700; color: #0d3d26; background: #e7f3ec; padding: 1px 6px; border-radius: 4px; }
.pitch { position: relative; border-radius: 10px; padding: 10px; min-height: 72px; display: flex; gap: 8px;
  background: linear-gradient(170deg, #3f9d63, #2f8a52); box-shadow: inset 0 0 0 2px rgba(255,255,255,0.35); }
.pitch + .slot-lbl { margin-top: 10px; }
.pitch::before { content: ""; position: absolute; left: 50%; top: 8px; bottom: 8px; width: 2px; transform: translateX(-1px); background: rgba(255,255,255,0.3); }
.pitch::after { content: ""; position: absolute; left: 50%; top: 50%; width: 28px; height: 28px; border: 2px solid rgba(255,255,255,0.3); border-radius: 50%; transform: translate(-50%,-50%); }
.zone { position: relative; z-index: 1; flex: 1 1 0; min-width: 0; background: #fff; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); overflow: hidden; border-top: 4px solid var(--dv, #888); }
.zone .zb { padding: 7px 9px 8px; }
.zone .z-div { font-size: 11.5px; font-weight: 700; color: #1a2332; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zone .z-meta { font-size: 10px; color: #6b7a8d; margin-top: 2px; display: flex; justify-content: space-between; }
.zone .fmt { font-family: 'DM Mono', monospace; font-size: 9px; background: #eef0f4; color: #6b7a8d; padding: 1px 4px; border-radius: 3px; }
.zone-open { position: relative; z-index: 1; flex: 1 1 0; min-width: 0; border-radius: 8px; border: 1.5px dashed rgba(255,255,255,0.55);
  display: grid; place-items: center; color: rgba(255,255,255,0.9); font-size: 11px; font-weight: 600; }
.tray { background: #fff7ed; border: 1.5px dashed #f0cfa0; border-radius: 12px; padding: 11px 14px; margin-bottom: 12px; }
.tray-hd { display: flex; align-items: center; gap: 8px; }
.tray-hd .t { font-size: 12.5px; font-weight: 700; color: #b06a10; } .tray-hd .c { font-size: 10px; font-weight: 700; color: #fff; background: #e08c1a; border-radius: 9px; padding: 1px 7px; }
.tray-chips { display: flex; gap: 7px; margin-top: 9px; }
.tchip { background: #fff; border: 1px solid #e8eaef; border-radius: 8px; padding: 6px 9px; border-top: 3px solid var(--dv, #888); box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.tchip .d { font-size: 11px; font-weight: 700; } .tchip .m { font-size: 10px; color: #9aa3b0; }

/* ---- requests table ------------------------------------------------------ */
.rq { background: #fff; border: 1px solid #e8eaef; border-radius: 13px; overflow: hidden; }
.rq-hd, .rq-row { display: grid; grid-template-columns: 1.5fr 1.5fr 0.9fr; gap: 10px; align-items: center; padding: 11px 16px; }
.rq-hd { background: #f7f8fa; border-bottom: 1px solid #e8eaef; }
.rq-hd span { font-size: 10px; font-weight: 700; color: #9aa3b0; letter-spacing: 0.5px; text-transform: uppercase; }
.rq-row { border-bottom: 1px solid #f0f2f5; }
.rq-row:last-child { border-bottom: none; }
.rq-person { display: flex; align-items: center; gap: 8px; min-width: 0; }
.rq-person .av { width: 26px; height: 26px; font-size: 10px; }
.rq-person .nm { font-size: 12.5px; font-weight: 500; color: #1a2332; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rq-person.req .nm { color: #4a5568; font-weight: 400; }
.badge { font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: 20px; display: inline-flex; align-items: center; gap: 5px; }
.badge.ok { background: rgba(46,204,113,0.15); color: #1f9e57; } .badge.ok::before { content: "✓"; }
.badge.warn { background: #fff3e0; color: #e65100; } .badge.warn::before { content: "!"; }
.badge.no { background: #fdeaea; color: #d14343; } .badge.no::before { content: "×"; }

/* ---- team drawer (pop-out showing a team + its players) ------------------ */
.tdrawer-bk { position: absolute; inset: 0; background: rgba(0,0,0,0.08); z-index: 4; }
.tdrawer { position: absolute; top: 0; right: 0; bottom: 0; width: 304px; z-index: 5;
  background: #fff; border-left: 1px solid #e8eaef; box-shadow: -8px 0 32px rgba(0,0,0,0.12);
  display: flex; flex-direction: column; }
.tdrawer-hd { padding: 16px 18px 13px; border-bottom: 1px solid #f0f2f5; flex-shrink: 0; }
.tdrawer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.tdrawer-top .av { width: 40px; height: 40px; font-size: 14px; }
.tdrawer-id { display: flex; gap: 11px; align-items: center; min-width: 0; }
.td-id { font-size: 15px; font-weight: 700; color: #1a2332; }
.td-coach { font-size: 12px; color: #6b7a8d; margin-top: 2px; }
.td-coach .t { color: #9aa3b0; }
.td-close { width: 26px; height: 26px; border-radius: 50%; border: 1px solid #e8eaef; background: #f7f8fa;
  color: #6b7a8d; display: grid; place-items: center; font-size: 15px; flex-shrink: 0; }
.td-meta { margin-top: 11px; display: flex; gap: 8px; align-items: center; }
.td-meta .n { font-size: 11.5px; color: #9aa3b0; }
.tdrawer-bd { flex: 1; overflow: hidden; padding: 5px 18px 16px; }
.prow { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid #f0f2f5; }
.prow:last-child { border-bottom: none; }
.prow .av { width: 28px; height: 28px; font-size: 10px; }
.prow .pn { flex: 1; min-width: 0; font-size: 12.5px; font-weight: 500; color: #1a2332; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prow .pg { font-size: 11px; color: #9aa3b0; font-weight: 500; }
.prow .pnights { display: flex; gap: 3px; }
