/* Rise Auditions | the Audition Tool (a tool: dense and calm). Copied from
 * the volunteer tool's coord.css.
 * Yellow, Coral, and Pink are status only (DESIGN.md, Status Colors Rule):
 * full is Teal with a check, short is Yellow, empty is Coral. */

body.tool { font-family: var(--font-ui); }
.tool .page { max-width: 1120px; padding-top: 24px; }
.bar select { min-height: 36px; width: auto; max-width: 46vw; padding: .35rem .6rem; font: 500 .85rem/1.2 var(--font-ui); background: rgba(240,250,251,.08); color: var(--cream); border: 1px solid rgba(240,250,251,.3); }
.bar select option { color: var(--ink); background: var(--white); }

.tool h1 { font-size: var(--text-title-phone); line-height: 1.1; }
@media (min-width: 900px) { .tool h1 { font-size: var(--text-title); } }
.tool h2 { font-size: var(--text-section-phone); }
@media (min-width: 900px) { .tool h2 { font-size: var(--text-section); } }

.show-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.show-head h1 { margin-right: 4px; }
.head-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--cream-dark); margin: 24px 0 20px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.tabs button { background: none; border: 0; padding: 12px 14px; font: 600 .875rem/1 var(--font-ui); color: var(--ink-muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--teal); border-bottom-color: var(--teal); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 20px; }
.stat { background: var(--white); border-radius: var(--rounded-card); padding: 16px 18px; box-shadow: 0 2px 16px rgba(0,0,0,.05); }
.stat .n { font: 600 var(--text-numeral)/1 var(--font-display); font-variant-numeric: lining-nums tabular-nums; }
.stat .l { font: .8125rem/1.4 var(--font-ui); color: var(--ink-muted); margin-top: 6px; }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-bottom: 14px; }

.group-panel { background: var(--cream-dark); border: 1px solid var(--line-teal); border-top: 4px solid var(--teal); border-radius: var(--rounded-panel); padding: 16px; margin-bottom: 22px; }
.group-panel.attention { border-top-color: var(--coral); }
.group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 12px; }
.group-head h2 { flex: 0 1 auto; }
.group-head .sub { font: 600 .8rem/1.3 var(--font-ui); letter-spacing: .04em; text-transform: uppercase; color: var(--teal); }
.group-head .grow { flex: 1; }

.bshift { background: var(--white); border-radius: var(--rounded-card); padding: 14px 16px; margin-bottom: 10px; }
.bshift-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.bshift-head .role { font: 600 1.0625rem/1.3 var(--font-ui); }
.bshift-head .time { font: .9rem/1.3 var(--font-ui); color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.bshift-head .grow { flex: 1; }
.bshift .edited { font: .75rem/1 var(--font-ui); color: var(--ink-muted); }

.people { width: 100%; border-collapse: collapse; margin-top: 10px; font: .875rem/1.4 var(--font-ui); }
.people th { text-align: left; font: 600 .7rem/1.2 var(--font-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); background: var(--cream); padding: 6px 8px; }
.people td { padding: 8px; border-top: 1px solid var(--cream-dark); vertical-align: top; }
.people tr.is-cancelled td { color: var(--ink-muted); text-decoration: line-through; }
.people tr.is-cancelled td.acts { text-decoration: none; }
.people td:first-child { min-width: 170px; }
.people .acts { min-width: 240px; }
.people .acts-in { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 6px; }
.people select.move { width: auto; max-width: 190px; min-height: 36px; padding: .3rem .5rem; font-size: .8rem; }
.people a { font-weight: 500; }
.people .hrs { width: 70px; min-height: 32px; padding: .25rem .4rem; font-size: .85rem; }
.people .sub { color: var(--ink-muted); font-size: .8rem; }
.people a[href^="tel"] { white-space: nowrap; }
/* Below a wide laptop the row wraps: name, then contact and status on one
   line, then the actions, so no column is squeezed to one word wide. */
@media (max-width: 1000px) {
  .people thead { display: none; }
  .people, .people tbody { display: block; }
  .people tr { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; border-top: 1px solid var(--cream-dark); padding: 10px 0; }
  .people td { display: block; border: 0; padding: 0; }
  .people td:first-child, .people .acts { flex: 1 1 100%; }
  .people .acts { min-width: 0; padding-top: 6px; }
  .people .acts-in { justify-content: flex-start; }
}

.empty-row { font: .875rem/1.4 var(--font-body); color: var(--ink-soft); margin: 10px 0 0; }
.inline-form { background: var(--cream); border-radius: var(--rounded-card); padding: 14px; margin-top: 12px; }
.inline-form .grid { display: grid; gap: 0 12px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.inline-form .field { margin-bottom: 10px; }
.inline-form input, .inline-form select { min-height: 40px; padding: .45rem .7rem; font-size: .9rem; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

.section { background: var(--white); border-radius: var(--rounded-card); padding: 20px; margin-bottom: 20px; box-shadow: 0 2px 16px rgba(0,0,0,.05); }
.section h2 { margin-bottom: 4px; }
.section > .caption { margin: 0 0 16px; }
.grid2 { display: grid; gap: 0 16px; }
@media (min-width: 700px) { .grid2 { grid-template-columns: 1fr 1fr; } }

.table { width: 100%; border-collapse: collapse; font: .875rem/1.4 var(--font-ui); }
.table th { text-align: left; font: 600 .7rem/1.2 var(--font-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); background: var(--cream-dark); padding: 8px; }
.table td { padding: 6px 8px; border-top: 1px solid var(--cream-dark); vertical-align: middle; }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table tr:hover td { background: var(--cream); }
.table input, .table select { min-height: 38px; padding: .4rem .55rem; font-size: .9rem; }
.table input[type=number] { width: 84px; }
.table .rule { color: var(--ink-muted); font-size: .8rem; }
.table-wrap { overflow-x: auto; }

.savebar { position: sticky; bottom: 0; z-index: 5; background: var(--white); border-top: 2px solid var(--cream-dark); padding: 12px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.savebar .status { font: 600 .85rem/1.3 var(--font-ui); color: var(--ink-muted); }
.problems { margin: 0; padding-left: 18px; }

.signin { max-width: 420px; margin: 40px auto; }
.copy-area { width: 100%; font: .8rem/1.4 var(--font-code); min-height: 72px; }

/* Setup: an offset box with what it counts from beside it, and the shift it
   makes on the show's first date under the role name. */
.table .offset { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.table .example { color: var(--teal); font-weight: 500; }

/* ------------------------------------------------- auditions additions */
.block-panel { background: var(--cream-dark); border: 1px solid var(--line-teal); border-top: 4px solid var(--teal); border-radius: var(--rounded-panel); padding: 14px; margin-bottom: 18px; }
.block-panel.older { border-top-color: var(--deep-indigo); }
.block-panel.attention { border-top-color: var(--coral); }
.day-title { margin: 28px 0 12px; }
.slot-card { background: var(--white); border-radius: var(--rounded-card); padding: 12px 14px; margin-bottom: 8px; }
.slot-card .time { font: 600 1rem/1.3 var(--font-ui); font-variant-numeric: tabular-nums; }
.flag { display: inline-block; font: 600 .68rem/1.3 var(--font-ui); letter-spacing: .06em; text-transform: uppercase; padding: .15rem .5rem; border-radius: var(--rounded-pill); margin-left: 6px; background: var(--tint-yellow); color: var(--ink); vertical-align: 1px; }
.flag.rose { background: var(--tint-rose); color: var(--deep-rose); }
.flag.teal { background: var(--tint-teal); color: var(--teal); }
.stat.group .l strong { color: var(--ink); font-weight: 600; }
.table td .compact { min-width: 0; }
.table input[type=date] { min-width: 140px; }
.table input[type=time] { min-width: 108px; }
.table input.small-num { width: 72px; }
.table select { min-width: 120px; }
.radio-row { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 12px; }
.when-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.invite-link { font: .8rem/1.3 var(--font-code); word-break: break-all; color: var(--ink-soft); }
textarea.info-text { min-height: 84px; }
.table.blocks { min-width: 940px; }
.table.blocks input[type=text] { min-width: 120px; }

/* ------------------------------------------- phase 2: forms and photos */
.who-cell { display: flex; gap: 10px; align-items: flex-start; }
.thumb { width: 36px; height: 45px; border-radius: var(--rounded-control); object-fit: cover; flex: none; background: var(--cream-dark); display: block; }
.thumb.empty { display: inline-block; }
.q-card { background: var(--cream); border-radius: var(--rounded-card); padding: 14px; margin-bottom: 10px; }
.q-card .field { margin-bottom: 10px; }
.q-card textarea { min-height: 72px; }
.q-head { display: flex; gap: 12px; align-items: flex-end; }
.q-head .field { flex: 1; }
.q-head .link { margin-bottom: 22px; }
.sub-h { font: 600 1.0625rem/1.3 var(--font-ui); margin: 18px 0 4px; }
.steps { margin: 0 0 12px; padding-left: 20px; font: .9rem/1.6 var(--font-ui); }
.steps li { margin-bottom: 6px; }
