.rest-choices {
  --rest-paper:#fffdf6; --rest-ink:#304c3b; --rest-soft:#eff3e9; --rest-edge:#ccd8c8; --rest-accent:#2c6b51; --rest-picked:#dfecdd;
  width:min(100%,28rem); min-width:0; margin:0; padding:14px; box-sizing:border-box;
  text-align:left; border:1px solid var(--rest-edge); border-radius:17px; background:var(--rest-paper); color:var(--rest-ink);
}
.rest-choices h3 { font-size:1.04rem; line-height:1.45; margin:0 0 10px; color:inherit; }
.rest-options { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; }
.rest-options button, #focusRoom .rest-options button {
  min-width:0; min-height:58px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px;
  padding:6px 3px; border:1px solid var(--rest-edge); border-radius:12px; background:var(--rest-soft); color:var(--rest-ink);
  font-family:inherit; font-size:.98rem; line-height:1.35; font-weight:650; cursor:pointer;
}
.rest-options button > svg { display:block; flex:none; stroke-width:2.25; }
.rest-choices .rest-game-entry, #focusRoom .rest-choices .rest-game-entry {
  display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:44px; width:100%; margin-top:8px;
  padding:6px 10px; font-family:inherit; font-size:.95rem; font-weight:650; cursor:pointer; color:var(--rest-ink);
  background:var(--rest-paper); border:1px solid var(--rest-edge); border-radius:12px;
}
.rest-choices .rest-game-entry[hidden], #focusRoom .rest-choices .rest-game-entry[hidden] { display:none; }
.rest-choices button[data-rest-choice][aria-pressed=true], #focusRoom .rest-choices button[data-rest-choice][aria-pressed=true] {
  background:var(--rest-picked); border-color:var(--rest-accent); box-shadow:inset 0 0 0 1px var(--rest-accent);
}
.rest-choices button[data-rest-choice]:focus-visible,.rest-choices summary:focus-visible { outline:3px solid var(--rest-accent); outline-offset:2px; }
.rest-choices .rest-content:not(:empty) { margin-top:12px; }
.rest-content > * { min-width:0; max-width:100%; }
.rest-content :is(video,audio) { max-width:100%; }
.rest-choices :is(.rest-other,.rest-book details) > summary {
  color:var(--rest-accent); cursor:pointer; min-height:44px; width:fit-content; max-width:100%; padding:10px 2px;
  box-sizing:border-box; font-size:.92rem; line-height:1.55; font-weight:600;
}
.rest-other { margin:5px 0 -6px; }
.rest-other[open] { margin-bottom:0; }
.rest-system-clock { border-top:1px solid var(--rest-edge); margin-top:6px; }
.rest-system-clock summary { padding:10px 0; min-height:44px; box-sizing:border-box; color:var(--rest-accent); cursor:pointer; font-size:.92rem; font-weight:600; }
.rest-system-clock p, #focusRoom .rest-system-clock p { margin:6px 0 2px; font-size:.9rem; color:inherit; }
.rest-system-clock strong { font-size:1rem; }
.rest-clock-setup ol { margin:0 0 8px; padding-left:1.4em; font-size:.9rem; line-height:1.6; }
.rest-system-clock a { display:inline-flex; min-height:44px; align-items:center; padding:0 12px; background:var(--rest-soft); color:var(--rest-accent); border-radius:9px; font-weight:650; }
.rest-system-clock a[aria-disabled] { opacity:.65; }
.rest-system-clock small { display:block; margin-top:4px; line-height:1.5; }
.rest-choices .coach-idea { border:0; border-radius:10px; padding:8px 12px 0; width:100%; background:var(--rest-soft); color:var(--rest-ink); }
.rest-choices .rest-book > p, .rest-choices .rest-book article p { margin:0; max-width:none; font-size:1rem; line-height:1.75; color:inherit; }
.rest-book article { padding:11px 13px; border-radius:10px; background:var(--rest-soft); overflow-wrap:anywhere; }
.rest-book article h4 { font-family:inherit; font-size:1.02rem; font-weight:700; line-height:1.5; margin:0 0 6px; color:var(--rest-ink); }
.rest-choices .rest-book article p + p { margin-top:6px; }
@media(prefers-color-scheme:dark) {
  .rest-choices { --rest-paper:#29382e; --rest-ink:#e0edde; --rest-soft:#324337; --rest-edge:#506750; --rest-accent:#b7ddbb; --rest-picked:#3e5544; }
}
@media(prefers-reduced-motion:no-preference) {
  .rest-options button { transition:background-color 120ms ease-out,transform 120ms var(--camp-soft-ease,ease-out); }
  .rest-options button:active { transform:scale(.97); }
  .rest-content > *, .rest-book details[open] article { animation:camp-fade-in 140ms ease-out; }
}
@media(forced-colors:active) { .rest-options button[aria-pressed=true] { outline:2px solid Highlight; } }

.rest-apps { padding:12px; margin-bottom:12px; border:1px solid var(--rest-edge); border-radius:12px; }
.rest-apps h4 { margin:0 0 8px; font-size:1rem; }
.rest-app-links { display:flex; flex-wrap:wrap; gap:6px; }
.rest-app-links a, .rest-save-app { display:inline-flex; align-items:center; min-height:44px; padding:4px 12px; border-radius:9px; color:var(--rest-accent); background:var(--rest-soft); text-decoration:none; font-weight:600; }
.rest-apps summary { padding:8px 0; cursor:pointer; }
.rest-apps label,.rest-apps small { display:block; margin-bottom:6px; }
.rest-apps input { display:block; width:100%; box-sizing:border-box; padding:8px; font:inherit; }
.rest-apps p { margin:6px 0 0; font-size:.9rem; }
