/* LCA Studios — the workspace app (V186, s68; decisions 504, 511).
 *
 * The app's own pages (ws/app.html, ws/404.html) on top of css/style.css:
 * the same colours, font and buttons as lcastudios.ca, but none of the film
 * site's bar, chat or search. This is the foundation's plain frame; the
 * shell (the switcher, the two-level sidebar, the workspace's bell) replaces
 * the bar in the next build. Desktop and iPad first, the phone usable.
 */

body.ws { display: flex; flex-direction: column; min-height: 100svh; }

.ws-bar {
  display: flex; align-items: center; gap: 0.9rem;
  height: 3.25rem; padding: 0 1.25rem;
  background: var(--bar); border-bottom: 1px solid var(--rule);
  position: sticky; top: 0; z-index: 10;
}
.ws-bar__mark { font-weight: 500; letter-spacing: 0.04em; text-decoration: none; white-space: nowrap; }
.ws-bar__name {
  color: var(--ink-soft); padding-left: 0.9rem; border-left: 1px solid var(--rule);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
}
.ws-bar__space { flex: 1; }
.ws-bar__who { color: var(--ink-soft); font-size: 0.875rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; max-width: 16rem; }
.ws-bar__link { font-size: 0.875rem; color: var(--ink-soft); text-decoration: none; white-space: nowrap; }
.ws-bar__link:hover { color: var(--link-hover); }
.ws-bar__button { font: inherit; font-size: 0.875rem; background: none; border: 0; padding: 0; cursor: pointer; }

.ws-main {
  flex: 1; width: 100%; max-width: 44rem; margin: 0 auto;
  padding: 3rem 1.25rem; display: flex; flex-direction: column; gap: 1.25rem;
}
.ws-card {
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-lg);
  padding: 1.75rem 1.75rem 1.5rem;
}
.ws-title { margin: 0 0 0.6rem; font-size: 1.6rem; font-weight: 500; line-height: 1.25; overflow-wrap: anywhere; }
.ws-note { margin: 0 0 0.9rem; color: var(--ink-soft); }
.ws-actions { margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; }
.ws-actions .form__button { display: inline-block; text-decoration: none; }
.ws-actions .form__button:hover { color: var(--on-action); }
.ws-link { color: var(--ink-soft); }

.ws-facts { display: grid; grid-template-columns: max-content 1fr; gap: 0.45rem 1.25rem; margin: 0.4rem 0 1.1rem; }
.ws-facts dt { color: var(--ink-soft); }
.ws-facts dd { margin: 0; overflow-wrap: anywhere; }

.ws-list { list-style: none; margin: 0.6rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.ws-list__item {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 0.8rem 1rem; border: 1px solid var(--rule); border-radius: var(--radius);
  text-decoration: none;
}
.ws-list__item:hover { border-color: var(--link-hover); color: var(--ink); }
.ws-list__name { font-weight: 500; overflow-wrap: anywhere; }
.ws-list__tier { color: var(--ink-soft); font-size: 0.875rem; white-space: nowrap; }

.ws-foot {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; justify-content: center;
  padding: 1.25rem; border-top: 1px solid var(--rule); font-size: 0.8125rem;
}
.ws-foot a { color: var(--ink-soft); text-decoration: none; }
.ws-foot a:hover { color: var(--link-hover); }

@media (max-width: 40rem) {
  .ws-bar { gap: 0.7rem; padding: 0 0.9rem; }
  .ws-bar__who { display: none; }
  .ws-main { padding: 1.5rem 0.9rem; }
  .ws-card { padding: 1.25rem; }
  .ws-facts { grid-template-columns: 1fr; gap: 0.1rem; }
  .ws-facts dd { margin-bottom: 0.5rem; }
}
