/* The browser app's own screens (setup, progress, app bar). Colours and type come
   from viewer.css's tokens so the two read as one app, in light and dark mode. */
.setup, .progress { max-width: 720px; margin: 0 auto; padding: 36px 20px 24px; }
.brand { font-size: 34px; font-weight: 800; letter-spacing: .2px; }
.brand span { color: var(--accent); }
.brand.small { font-size: 20px; margin-bottom: 18px; }
.tagline { color: var(--muted); margin: 6px 0 26px; font-size: 16px; }
.step { background: var(--panel); border: 1px solid var(--border); border-radius: 12px;
  padding: 18px 20px; margin-bottom: 16px; box-shadow: var(--shadow); }
.step h2 { margin: 0 0 8px; font-size: 17px; display: flex; align-items: center; gap: 10px; }
.step .num { width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #00252e;
  font-size: 13px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.step.go { background: none; border: 0; box-shadow: none; padding: 4px 0; display: flex;
  align-items: center; gap: 14px; flex-wrap: wrap; }
.help { color: var(--muted); font-size: 13.5px; margin: 0 0 12px; }
.howto { color: var(--muted); font-size: 13.5px; margin: -4px 0 12px; padding-left: 22px; }
.howto li { margin: 2px 0; }
.howto b { color: var(--text); }
.help a, .note a, .attrib a, .privacy a { color: var(--accent); }
.row { display: flex; gap: 8px; flex-wrap: wrap; }
.row input { flex: 1 1 240px; min-width: 0; background: var(--bg); color: var(--text);
  border: 1px solid var(--border); border-radius: 8px; padding: 9px 11px; font: inherit; font-size: 14px; }
.row input:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
.btn { background: var(--panel); color: var(--text); border: 1px solid var(--border); border-radius: 8px;
  padding: 9px 15px; font: inherit; font-size: 14px; cursor: pointer; }
.btn:hover:not(:disabled) { border-color: var(--accent); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #00252e; font-weight: 650; }
.btn.primary:hover:not(:disabled) { filter: brightness(1.08); }
.btn.big { font-size: 16px; padding: 11px 28px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn:focus-visible, .linkish:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.note { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.note.ok { color: var(--personal); }
.note.bad { color: #e5484d; }
.note .lnk { background: none; border: 0; padding: 0; color: var(--accent); cursor: pointer; font: inherit; }
.drop { border: 1.5px dashed var(--border); border-radius: 10px; padding: 16px; display: flex;
  gap: 10px; align-items: center; flex-wrap: wrap; }
.drop.over { border-color: var(--accent); background: var(--panel2); }
.drophint { color: var(--muted); font-size: 13px; }
.memberlist, .skiplist { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.memberlist li { display: flex; align-items: center; gap: 10px; background: var(--panel2);
  border-radius: 8px; padding: 8px 10px; font-size: 14px; }
.memberlist .who { font-weight: 650; }
.memberlist .counts { color: var(--muted); font-size: 12.5px; }
.memberlist .file { color: var(--muted); font-size: 11.5px; margin-left: auto; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; max-width: 40%; }
.memberlist .drop-member { background: none; border: 0; color: var(--muted); cursor: pointer;
  font-size: 16px; line-height: 1; padding: 2px 4px; }
.memberlist .drop-member:hover { color: #e5484d; }
.memberlist li.off { opacity: .5; }
.memberlist li.off .who { text-decoration: line-through; }
.skiplist li { font-size: 12.5px; color: #e5484d; }
.privacy { color: var(--muted); font-size: 12.5px; margin: 18px 0 0; }
.pbar { height: 8px; background: var(--panel2); border-radius: 6px; overflow: hidden; margin: 14px 0 10px; }
.pfill { height: 100%; width: 0; background: var(--accent); border-radius: 6px; transition: width .3s ease; }
.pphase { font-variant-numeric: tabular-nums; margin: 0 0 14px; }
.progress h2 { font-size: 19px; margin: 0; }
.appbar { display: flex; align-items: center; gap: 12px; padding: 10px 22px 0; flex-wrap: wrap;
  justify-content: flex-end; font-size: 12.5px; color: var(--muted); }
.appbar .appnote { margin-right: auto; }
.unres summary { cursor: pointer; }
.unres ul { margin: 6px 0; padding-left: 18px; max-height: 200px; overflow: auto; }
.setup-foot { max-width: 720px; margin: 0 auto; }
body.viewing .setup-foot { display: none; }
@media (max-width: 520px) {
  .setup, .progress { padding: 22px 16px; }
  .brand { font-size: 28px; }
  .memberlist .file { display: none; }
  .appbar { padding: 10px 16px 0; }
}
