/* SHOWS (shows.py, Kenyon 2026-10-17): Ideal Sales' look under its own name, both venues.
   Only what's new or different from portal.css, coord.css and sales.css lives here. */

/* Both venues: Event Planner's red Ideal / blue Olympic tags (Ideal Sales went black). */
body.shows .vtag.ideal { background: #BD2035; border-color: #BD2035; color: #fff; }
body.shows .vtag.oly { background: #3E5D88; border-color: #3E5D88; color: #fff; }

/* THE PIPELINE: seven stages and "Every show". */
.stats.pipe { grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 10px; }
.stats.pipe .stat { padding: 12px 10px; }
.stats.pipe .sk { line-height: 1.25; }
.stats.pipe .stat.hot .sd { color: #F0566B; font-weight: 700; }
@media (max-width: 1100px) { .stats.pipe { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .stats.pipe { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dlist { margin-bottom: 30px; }

/* TIME IN STAGE, red past the stage's limit. */
.instage.late { color: var(--accent); font-weight: 700; }
.lname .supn { font: 400 13px/1 "Lato", system-ui, sans-serif; color: var(--ink-2); text-transform: none; letter-spacing: 0; }
.flag { display: block; font-size: 13px; margin-top: 3px; color: var(--ink-2); }
.flag.stop { color: var(--accent); font-weight: 700; }
.flag.warn { color: #8A5A00; }

/* THE SHOW PAGE */
.back { margin: 0 0 14px; }
.back a { text-decoration: none; font-weight: 700; }
.showhead { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 18px; align-items: start;
            border-bottom: 3px solid var(--ink); padding-bottom: 18px; margin-bottom: 18px; }
.sh-date { display: flex; flex-direction: column; align-items: center; line-height: 1.05; }
.sh-date .d { font: 500 38px/1 "Oswald", Impact, sans-serif; }
.sh-date .m, .sh-date .w, .sh-date .y { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); }
.sh-main h1 { margin: 0 0 4px; }
.sh-with { margin: 0 0 6px; font-size: 17px; }
.sh-stage { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.stagepill { font-weight: 700; }
.pill.late { border-color: var(--accent); color: var(--accent); }
.pill.okp { border-color: var(--ok); color: var(--ok); }
.pill.small { font-size: 12px; padding: 0 8px; }
.flags { list-style: none; margin: 0 0 18px; padding: 12px 16px; border-left: 4px solid var(--accent); background: #FBEDEE; }
.flags .flag { font-size: 15px; margin: 2px 0; }
.sections { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .sections { grid-template-columns: 1fr; } .showhead { grid-template-columns: 60px minmax(0, 1fr); }
  .sh-stage { grid-column: 1 / -1; align-items: flex-start; text-align: left; } }
.sec h2 { margin-top: 0; }
.sec h3 { margin: 18px 0 6px; font-size: 16px; }
.kvs { margin: 0; }
.kv { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 10px; padding: 5px 0; border-bottom: 1px solid var(--line); }
.kv dt { color: var(--ink-2); font-size: 14px; }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.checks { list-style: none; margin: 12px 0; padding: 0; }
.checks li { padding: 4px 0 4px 26px; position: relative; color: var(--ink-2); }
.checks li::before { content: "○"; position: absolute; left: 2px; }
.checks li.ok { color: var(--ink); }
.checks li.ok::before { content: "✓"; color: var(--ok); font-weight: 700; }
.checks li.paused { color: var(--accent); font-weight: 700; }
.checks li.paused::before { content: "‖"; }
.checks a { margin-left: 6px; font-size: 14px; }
.docs { list-style: none; margin: 0; padding: 0; }
.docs li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.docs li .small { display: block; margin-top: 2px; }
.soon { margin-top: 14px; font-style: italic; }
.flags.calm { border-left-color: #C9A227; background: #FBF6E6; }
/* On a phone the In stage column folds away; the time in stage moves under the name. */
.instage-m { display: none; font-size: 13px; color: var(--ink-2); margin-top: 3px; }
.instage-m.late { color: var(--accent); font-weight: 700; }
@media (max-width: 640px) { .instage-m { display: block; } }

/* STAGE HEADINGS IN A BOX (Kenyon, 2026-10-17): no underline, no column header row. */
.stagebox { display: flex; justify-content: space-between; align-items: center; gap: 12px;
            margin: 0 0 6px; padding: 12px 18px; background: var(--wash); border: 1px solid var(--line);
            border-radius: 6px; font-size: 16px; }
.stagebox .ltotal { background: var(--ink); color: #fff; border-radius: 999px; padding: 1px 10px;
                    font-size: 13px; font-weight: 700; }
.qsec.stuckgrp { border-top: 0; margin-bottom: 6px; }
.stuckgrp .qlabel { padding-top: 8px; }
.instage { display: flex; flex-direction: column; }
.instage .cap { font-size: 12px; color: var(--ink-2); font-weight: 400; }

/* DAYS OUT UNDER THE DATE (Kenyon, 2026-10-17); the card's details take the rest of the width. */
body.shows .srow { grid-template-columns: 76px minmax(0, 1fr) 96px; }
.ldate .dout { margin-top: 6px; font-size: 11px; font-weight: 700; line-height: 1.2; text-align: center;
               color: var(--ink); white-space: nowrap; }
@media (max-width: 640px) { body.shows .srow { grid-template-columns: 74px minmax(0, 1fr); } }

/* IN ADVANCING on the show page */
.sh-stage .stagepill + .stagepill { margin-top: 2px; }
.advstate { margin: 0 0 12px; }

/* DEPOSIT DUE (Kenyon, 2026-10-17): a tag beside the act's name, red once overdue. */
.deptag { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 1px 8px; border-radius: 999px;
          border: 1px solid #8A5A00; color: #8A5A00; font: 700 11px/1.5 "Lato", system-ui, sans-serif;
          text-transform: uppercase; letter-spacing: .05em; }
.deptag.late { background: var(--accent); border-color: var(--accent); color: #fff; }
.depform { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 12px; align-items: end; margin-top: 8px; }
.depform label { font-size: 13px; color: var(--ink-2); display: flex; flex-direction: column; gap: 4px; }
.depform input { font: inherit; font-size: 16px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 4px; min-width: 0; }
.depform .depgo { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 640px) { .depform { grid-template-columns: 1fr; } }
.late-text { color: var(--accent); }
.depedit { margin-top: 8px; }
.depedit summary { cursor: pointer; }
