/* Owner Studio navigation and workspace directory */
body {
  color-scheme: dark;
  background: #0b1015;
  color: #ecf2f6;
}
body > header,
body > main {
  width: min(100% - 2 * clamp(16px, 4vw, 60px), 1180px);
  max-width: none;
  padding-inline: 0;
}
body > header {
  min-height: 68px;
  padding-block: 10px;
  border-color: #2a353e;
}
body > header img { width: 160px; }
#logout,
#refresh {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #394650;
  border-radius: 8px;
  background: #141d24;
  color: #dce6ed;
  font-size: .88rem;
  font-weight: 550;
}
#logout:hover,
#refresh:hover { background: #202c36; color: white; }
body > main { padding-block: 0 clamp(40px, 7vw, 88px); }
.studio-switcher {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 15px;
  border-bottom: 1px solid #2a353e;
}
.studio-switcher h1 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -.035em;
}
.studio-switcher nav[aria-label] {
  display: flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid #283640;
  border-radius: 11px;
  background: #101820;
}
.studio-switcher nav[aria-label] button {
  min-height: 38px;
  padding: 7px 15px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: #b9c6d0;
  font-size: .88rem;
  font-weight: 550;
}
.studio-switcher nav[aria-label] button:hover { color: white; background: #202d37; }
.studio-switcher nav[aria-label] button[aria-pressed="true"] {
  background: #273744;
  border-color: #3a5061;
  color: #e1f2ff;
}
#controls :focus-visible,
#logout:focus-visible {
  outline: 2px solid #a9daf6;
  outline-offset: 3px;
}
.workspace-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: clamp(24px, 3.4vw, 46px) 0 20px;
}
.workspace-heading h2,
#controls :is(#tasks, #agenda, #colors) h2,
#selected-name {
  margin: 0;
  color: #f0f4f6;
  font: 500 clamp(32px, 3.8vw, 51px)/1.1 Georgia, "Times New Roman", serif;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}
#workspace-count {
  margin: 7px 0 0;
  color: #acbbc7;
  font-size: .9rem;
  font-variant-numeric: tabular-nums;
}
#controls :is(#tasks, #agenda, #colors, #editor) {
  padding-block: clamp(24px, 3.4vw, 46px) 28px;
}
#tasks .task-tools,
#agenda .desk-filters { margin-top: 20px; }
#selected-name { margin-block: 18px; }
.workspace-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 25%);
  gap: 12px;
  margin: 0 0 22px;
  padding: 14px 16px 16px;
  border: 1px solid #2d3943;
  border-radius: 12px;
  background: #10171d;
}
.workspace-filters label { min-width: 0; color: #c8d5df; font-size: .84rem; font-weight: 550; }
.workspace-filters :is(input, select) {
  height: 42px;
  margin-top: 5px;
  border: 1px solid #3a4854;
  border-radius: 7px;
  background: #0d141a;
  font-size: .925rem;
  font-weight: 400;
}
.workspace-filters input::placeholder { color: #93a3b0; }
.workspace-search-wrap { display: block; position: relative; }
.workspace-search-wrap input { padding-inline-start: 36px; }
.workspace-search-wrap::before,
.workspace-search-wrap::after {
  content: "";
  position: absolute;
  z-index: 1;
  pointer-events: none;
}
.workspace-search-wrap::before {
  left: 13px;
  top: 13px;
  width: 10px;
  height: 10px;
  border: 1.5px solid #a6b8c6;
  border-radius: 50%;
}
.workspace-search-wrap::after {
  left: 23px;
  top: 25px;
  width: 6px;
  height: 1.5px;
  background: #a6b8c6;
  transform: rotate(45deg);
}
@media (max-width: 700px) {
  .studio-switcher { display: block; padding-block: 14px; }
  .studio-switcher h1 { margin-bottom: 12px; }
  .studio-switcher nav[aria-label] { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); }
  .studio-switcher nav[aria-label] button { min-height: 44px; padding-inline: 3px; line-height: 1.25; }
}
@media (max-width: 520px) {
  .workspace-filters { grid-template-columns: 1fr; gap: 10px; padding: 12px; }
  body > header { min-height: 58px; }
  body > header img { width: 140px; }
  .studio-switcher nav[aria-label] button { font-size: .8rem; }
}
.studio-skip { position: fixed; left: 16px; top: 8px; z-index: 100; transform: translateY(-160%); background: #d9edfb; color: #142332; padding: 9px 16px; border-radius: 6px; }
.studio-skip:focus { transform: none; }
