/* All Areas Band: only what this app adds to the suite's look (ui/app.css, then ui/dash.css, both copied from
   packages/ui). The dashboard look in Band pink (Angus, 27 Oct 2026: the apps look like Tour's dark dashboard; the
   pass colour is a small accent: the main button, the live dot). Printing stays black on white. */

/* ---------- the All Areas Home and the basics every app carries ---------- */
:root{--aa:#C0362D}
.aa-home{display:inline-flex;align-items:center;gap:7px;min-height:40px;color:var(--text);font-weight:600;text-decoration:none;white-space:nowrap}
.aa-mark{background:var(--aa);color:#fff;border-radius:4px;padding:.15rem .45rem .1rem;font:400 .72rem/1.2 "Saira Stencil One","Arial Narrow",Impact,sans-serif;letter-spacing:.04em;text-transform:uppercase}
.aa-home:focus-visible{outline:3px solid var(--focus);outline-offset:2px;border-radius:4px}
.page:focus{outline:none}
.crumbs{font-size:.9rem;color:var(--text-2)}
.actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.note{border-radius:8px;border:1px solid var(--line);padding:12px 16px;background:var(--panel)}
.note p{margin:0}
.note p + p{margin-top:6px}
.note.ok{background:var(--ok-bg);border-color:transparent}
.note.warn{background:var(--warn-bg);border-color:transparent}
.note.bad{background:var(--bad-bg);border-color:transparent}
.grid{display:grid;gap:12px}
.grid.tight{gap:6px}
.grid.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:720px){.grid.cols-3,.grid.cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:480px){.grid.cols-2,.grid.cols-3,.grid.cols-4{grid-template-columns:minmax(0,1fr)}}
.gate .panel-body{display:grid;gap:14px;max-width:460px}
.gate form{display:grid;gap:12px}
.gate .links{display:flex;flex-wrap:wrap;gap:4px 12px;margin-left:-.4rem}
.aa-signin{display:grid;gap:10px}.aa-signin-list{display:grid;gap:8px}.aa-signin-btn{display:flex;align-items:center;width:100%;justify-content:center;gap:.6em}
.aa-signin-btn svg{flex:none}.aa-signin-or{margin:0;color:var(--text-2);font-size:.9rem}
.check{display:flex;align-items:center;gap:8px;font-weight:400}
.check input{width:18px;height:18px;min-height:0;margin:0;accent-color:var(--brand)}
.row{display:flex;flex-wrap:wrap;gap:8px;align-items:end}
.row > label{flex:1 1 10rem}
.right{margin-left:auto}
.num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.nowrap{white-space:nowrap}
.mono{font-family:var(--mono)}
.danger{color:var(--bad)}
button.danger{background:var(--bad-bg);color:var(--bad);border:1px solid transparent}
.chips{display:flex;flex-wrap:wrap;gap:6px}
.dot{display:inline-block;width:8px;height:8px;border-radius:4px;background:var(--text-4);vertical-align:middle;margin-right:6px}
.dot.ok{background:var(--ok)}.dot.warn{background:var(--warn)}.dot.bad{background:var(--bad)}
.tabs{display:flex;gap:2px;border-bottom:1px solid var(--line);margin-bottom:-2px;overflow-x:auto}
.tabs a{padding:8px 12px;color:var(--text-2);text-decoration:none;font-size:13px;border-bottom:2px solid transparent;white-space:nowrap}
.tabs a[aria-current]{color:var(--text);border-bottom-color:var(--accent-text)}
.empty{padding:22px 14px;color:var(--text-3);text-align:center}
table.list td.act{width:1%;white-space:nowrap;text-align:right}
table.list input,table.list select{min-height:30px;padding:3px 6px}

/* ---------- Band's own bits ---------- */
.cols2{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:18px;align-items:start}
.span2{grid-column:span 2}
@media (max-width:480px){.span2{grid-column:auto}}
.end{text-align:right;justify-self:end}
ul.plain{list-style:none;margin:0 0 10px;padding:0;display:grid;gap:6px}
.pre{white-space:pre-wrap;margin:0}
.sub{display:block}
.small{font-size:12px}
.menu a .out{margin-left:auto;color:var(--text-4);font-size:12px}
.menu a.sub{padding-left:36px}
.menu a.sub svg{display:none}
input.short{width:5.5rem}
table.songs input{width:100%}
table.songs input.short{width:5.5rem}
tr.gone td{color:var(--text-4);text-decoration:line-through;text-decoration-color:var(--line-3)}
tr.gone td .tag{text-decoration:none}
.tile .v.bad{color:var(--bad)}
.moves{display:inline-flex;gap:2px;white-space:nowrap}
button.link.danger{color:var(--bad)}
ul.alerts li a{color:inherit}
details.panel > summary{cursor:pointer;list-style:none;border-radius:8px}
details.panel[open] > summary{border-radius:8px 8px 0 0}
details.panel > summary::-webkit-details-marker{display:none}
fieldset{border:0;margin:0;padding:0}
fieldset legend{font-size:13px;font-weight:500;color:var(--text-2);margin-bottom:6px;padding:0}
fieldset.row{gap:4px 16px;align-items:center}
dialog .ask,dialog form{display:grid;gap:12px;min-width:min(420px,80vw)}

/* ---------- what prints: the stage setlist, big enough to read from the floor ---------- */
.sheets{display:none}
@media print{
  body[data-print="sheets"] .shell,body[data-print="sheets"] .toast{display:none}
  body[data-print="sheets"] .sheets{display:block;color:#000;background:#fff}
  .stage{padding:8mm;font-family:"Arial Narrow",Arial,sans-serif}
  .stage h1{font-size:20pt;margin:0 0 4mm;color:#000}
  .stage ol{margin:0;padding:0;list-style:none}
  .stage li{font-size:var(--fs,30pt);line-height:1.15;font-weight:700;padding:1.5mm 0;border-bottom:.5pt solid #bbb;display:flex;justify-content:space-between;gap:6mm}
  .stage li small{font-size:.5em;font-weight:600;color:#333;white-space:nowrap}
  .stage .seg{font-size:.45em;color:#555}
}

/* ---------- front of house: now playing (live.html) ---------- */
.live-page{max-width:760px;margin:0 auto}
.now{background:var(--brand);color:var(--brand-ink);border-radius:8px;padding:16px 18px}
.now .lbl{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;opacity:.85}
.now .big{font-size:34px;line-height:1.1;font-weight:600;margin:4px 0}
.now .facts,.now .notes{font-weight:500}
.now .notes{margin-top:6px}
.next{margin:0;color:var(--text-2)}
ol.foh{list-style:none;margin:0;padding:0;display:grid;gap:4px}
ol.foh button{width:100%;display:grid;grid-template-columns:2rem 1fr auto;gap:10px;align-items:center;text-align:left;background:var(--panel);color:var(--text);border:1px solid var(--line);min-height:48px;padding:6px 12px;font-weight:400}
ol.foh button .t{display:grid}
ol.foh li.cur button{border-color:var(--accent-text);background:var(--hover)}
ol.foh li.done button b{text-decoration:line-through;color:var(--text-3)}
#app{display:grid;gap:14px}

/* A set on a phone: one compact block per song (number, title, then key · length · start on one line), not one field
   per line. */
@media (max-width:720px){
  table.setrows tr{display:grid;grid-template-columns:2rem minmax(0,1fr) auto auto auto;gap:2px 10px;padding:8px 12px;align-items:baseline}
  table.setrows td{display:block;width:auto;padding:0!important;background:none!important}
  table.setrows td[data-label]::before{display:none}
  table.setrows td[data-label="#"]{grid-row:span 3;text-align:left;color:var(--text-3)}
  table.setrows td[data-label="Song"]{grid-column:2/-1}
  table.setrows td[data-label="Key"]{grid-column:2}
  table.setrows td[data-label="Notes"],table.setrows td[data-label="Segue"],table.setrows td[data-label=""]{grid-column:2/-1}
  table.setrows td[data-label="Notes"] input{width:100%}
}
