/* App shell: sidebar, main column, views. */
.app {
  display: flex;
  min-height: 100vh;
}
aside {
  width: 232px;
  padding: 20px 14px;
  border-right: 1px solid var(--line);
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 700;
  margin-bottom: 14px;
}
.logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--acc);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}
nav a {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  border-radius: 10px;
  color: var(--mut);
  text-decoration: none;
  min-height: 44px;
}
nav a.on {
  background: var(--acc2);
  color: var(--acc);
  font-weight: 600;
}
.user {
  margin-top: auto;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}
.av {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--acc2);
  color: var(--acc);
  display: grid;
  place-items: center;
  font-weight: 700;
}
main {
  flex: 1;
  min-width: 0;
  padding: 24px;
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
}
.date, .mut {
  color: var(--mut);
  font-size: 13px;
}
h1 {
  margin: 2px 0 4px;
  font-size: 26px;
}
h2 {
  font-size: 17px;
  margin: 0;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  margin-top: 16px;
}
.row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.grow {
  flex: 1;
  min-width: 0;
}
aside {
  transition: width .2s ease;
}
.sbtn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--card);
  cursor: pointer;
  margin-left: auto;
  display: grid;
  place-items: center;
  flex: none;
  color: var(--mut);
}
body.sb-min aside {
  width: 68px;
  padding: 20px 10px;
  align-items: center;
}
body.sb-min .lbl, body.sb-min .utxt, body.sb-min .bt {
  display: none;
}
body.sb-min .brand {
  flex-direction: column;
  gap: 10px;
}
body.sb-min nav a {
  justify-content: center;
  padding: 11px 0;
  width: 44px;
}
@media(prefers-reduced-motion:reduce) {
  aside {
    transition: none;
  }
}
.tabs {
  display: none;
}
.fab {
  display: none;
}
section.view {
  display: none;
}
section.view.on {
  display: block;
}
