/* The browser version's few extra pieces, on top of the app's control.css and the Riah kit. */

.grid > [hidden], .panel[hidden], .notice[hidden] { display: none; }

.notice { margin-bottom: 20px; border-color: var(--riah-revise); }
.notice a.riah-button { text-decoration: none; }

/* Download progress: a thin bar under Start, gone once the models are on this computer. */
.dl {
  height: 4px;
  border-radius: 2px;
  background: var(--riah-surface-raised);
  overflow: hidden;
}
.dl[hidden] { display: none; }
.dl > span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--riah-ink);
  transition: width 200ms linear;
}
.progress:empty { display: none; }
.progress { margin: 0; }

/* Sermon notes */
.notes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}
.file-pick { cursor: pointer; }
.notes-said { margin: 0; flex: 1 1 260px; }
.notes:focus-within .file-pick { outline: 2px solid var(--riah-pink); outline-offset: 2px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.linkish {
  background: none;
  border: 0;
  padding: 0;
  min-height: 24px;
  color: var(--riah-body);
  font: 400 var(--riah-text-small)/1.45 var(--riah-font-ui);
  text-decoration: underline;
  cursor: pointer;
}
.linkish[hidden] { display: none; }

.row-start {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 14px;
}
.row-start .hint { margin: 0; flex: 1 1 260px; }

input[type="file"].riah-input { padding: 0.5rem 0.6rem; }
