/* Sticks and Stones Percussion Suite: the full-screen window. */
#psuite { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; border: 0; border-radius: 0; display: none; flex-direction: column; background: var(--bg); }
#psuite[open] { display: flex; }
#psuite header { display: flex; align-items: baseline; gap: 14px; padding: 10px 64px 6px 18px; border-bottom: 1px solid var(--line); background: var(--panel); }
#psuite header h2 { margin: 0; font-size: 20px; }
#psuite header .sub { color: var(--muted); font-size: 13px; }
#psuite .pbar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 6px 18px; border-bottom: 1px solid var(--line); background: var(--panel); }
#psuite .pbar label { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: var(--muted); }
#psuite .pbar select, #psuite .pbar input[type=number] { font-size: 13px; padding: 3px 5px; }
#psuite .pbar input[type=number] { width: 64px; }
#psuite .pbar .sep { width: 1px; align-self: stretch; background: var(--line); margin: 0 4px; }
#psuite button { font: inherit; font-size: 13px; padding: 4px 9px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--text); cursor: pointer; }
#psuite button:hover { border-color: var(--accent); color: var(--accent); }
#psuite button.on, #psuite button[aria-pressed=true] { background: var(--ink); color: #fff; border-color: var(--ink); }
#psuite button.rec { background: var(--accent); color: #fff; border-color: var(--accent); }
#psuite button.hot { font-weight: 800; }
#psuite button kbd { font-size: 10px; opacity: .6; margin-left: 4px; }
#psuite .pg { font-family: 'MS BravuraFull'; font-size: 22px; line-height: 0; position: relative; top: 4px; }
#repGroup .pg { font-size: 20px; }
#repGroup button { display: inline-flex; align-items: center; gap: 4px; }
#psuite .grp { display: inline-flex; flex-wrap: wrap; gap: 3px; align-items: center; }
#psuite .grp > b { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-right: 3px; }
#psuite .pmain { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 300px; }
#psuite .pstaff { overflow: auto; padding: 10px 14px 40px; }
#psuite .pside { overflow: auto; border-left: 1px solid var(--line); background: var(--panel); padding: 10px 12px; font-size: 13px; }
#psuite .pside h3 { margin: 12px 0 4px; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
#psuite .pside h3:first-child { margin-top: 0; }
#psuite .pstatus { padding: 5px 18px; border-top: 1px solid var(--line); background: var(--panel); font-size: 13px; min-height: 28px; display: flex; gap: 14px; align-items: center; }
#psuite .pstatus .warn { color: var(--accent); font-weight: 700; }
#psuite svg { display: block; background: #fff; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 14px; }
#psuite svg .cur { stroke: var(--accent); stroke-width: 2; }
#psuite svg .pn { cursor: pointer; }
#psuite svg .pn.psel .note, #psuite svg .pn.psel .stem { fill: var(--blue); stroke: var(--blue); }
#psuite svg .pn.psel .note.hollow { fill: none; }
#psuite svg .barhit { fill: transparent; cursor: text; }
#psuite svg .barhit:hover { fill: #c8391f10; }
#psuite svg .rudlabel { font: italic 700 11px Georgia, serif; fill: var(--accent2); }
#psuite svg .barnum { font: 11px sans-serif; fill: var(--muted); }
#psuite .pad { display: flex; flex-wrap: wrap; gap: 6px; }
#psuite .pad button { min-width: 84px; padding: 14px 8px; font-weight: 700; border-radius: 12px; }
#psuite .pad button.cur { outline: 2px solid var(--accent); }
#psuite .rud { display: flex; flex-direction: column; gap: 4px; margin: 4px 0; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
#psuite .rud b { color: var(--accent2); }
#psuite .rud small { color: var(--muted); }
#psuite .rud .row { display: flex; gap: 5px; flex-wrap: wrap; }
#psuite table.map { border-collapse: collapse; width: 100%; font-size: 12px; }
#psuite table.map td, #psuite table.map th { padding: 2px 3px; border-bottom: 1px solid var(--line); text-align: left; }
#psuite table.map select, #psuite table.map input { font-size: 12px; max-width: 110px; }
#psuite .meter { height: 8px; background: var(--line); border-radius: 4px; overflow: hidden; width: 90px; display: inline-block; vertical-align: middle; }
#psuite .meter i { display: block; height: 100%; width: 0; background: var(--accent); }
@media (max-width: 900px) { #psuite .pmain { grid-template-columns: 1fr; } #psuite .pside { border-left: 0; border-top: 1px solid var(--line); } }
