.app-shell {
  display: none;
  width: 100%;
  align-items: stretch;
  min-height: calc(100vh - 3rem);
  gap: 0;
}
.app-shell.show {
  display: flex;
}
#sidebar-root {
  flex-shrink: 0;
  width: 220px;
}
.admin-sidebar {
  position: sticky;
  top: 1.5rem;
  height: calc(100vh - 3rem);
  max-height: calc(100vh - 3rem);
  display: flex;
  flex-direction: column;
  padding: 1rem 0.85rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  border-left: 3px solid var(--gold);
}
.sb-brand {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.35rem 0.65rem 1rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.65rem;
}
.sb-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.65rem 0.65rem;
  border-radius: 8px;
  color: var(--snow);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}
.sb-link svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  opacity: 0.85;
}
.sb-link:hover {
  background: rgba(240, 165, 0, 0.08);
  color: var(--gold2);
}
.sb-link.active {
  background: rgba(240, 165, 0, 0.14);
  color: var(--gold);
}
.sb-spacer {
  flex: 1;
  min-height: 1rem;
}
.sb-signout {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 0.65rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--fog);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.sb-signout svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sb-signout:hover {
  border-color: rgba(240, 165, 0, 0.35);
  color: var(--gold2);
}
.main-pane {
  flex: 1;
  min-width: 0;
  padding: 0 0 2rem 1.25rem;
}
.quotes-page-head {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.quotes-page-head h1 {
  font-size: clamp(1.2rem, 3vw, 1.45rem);
  font-weight: 800;
  margin: 0.25rem 0 0.35rem;
}
.quotes-page-head .sub {
  font-size: 0.82rem;
  color: var(--fog);
  margin: 0;
}
.quotes-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: none;
}
.quotes-loading,
.quotes-empty {
  font-size: 0.82rem;
  color: var(--fog);
  padding: 0.5rem 0;
}
.quote-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  border-left: 3px solid var(--gold);
  padding: 0.9rem 1rem;
  font-size: 0.82rem;
  line-height: 1.45;
}
.quote-card header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  color: var(--fog);
}
.quote-card header strong {
  color: var(--gold2);
  font-weight: 700;
}
.quote-card .q-row {
  margin: 0.2rem 0;
  color: var(--snow);
}
.quote-card .q-row span {
  color: var(--fog);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 0.15rem;
}
.quote-card .q-msg {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--line);
  color: var(--fog);
  white-space: pre-wrap;
  word-break: break-word;
}
