.admin-shell { --admin-font: var(--app-font); --font-serif: var(--admin-font); font-family: var(--admin-font); background: #f5f6f8; color: #35434d; }
.admin-content { min-width: 0; }
.admin-workspace-bar { display: flex; align-items: center; justify-content: flex-end; gap: 1rem; padding: 1.1rem 2rem; background: #ffffffed; border-bottom: 1px solid #e2e7eb; }
.admin-workspace-label { display: block; color: #8d744c; font-size: .6rem; font-weight: 700; letter-spacing: .2em; }
.admin-workspace-title { display: block; margin-top: .2rem; font-size: .8rem; color: #657581; }
.admin-store-link { display: inline-flex; align-items: center; gap: .5rem; border: 1px solid #dce3e8; border-radius: 10px; padding: .6rem .85rem; font-size: .75rem; background: white; }
.admin-store-link .material-symbols-outlined { font-size: 18px; }
.admin-shell .admin-sidebar { border-right-color: #e2e7eb; box-shadow: 4px 0 24px #35434d04; }
.admin-brand { padding-bottom: 1.5rem; border-bottom: 1px solid #e8ecef; margin-bottom: 1.5rem; }
.admin-nav-label { padding: 0 1rem .75rem; font-size: .65rem; letter-spacing: .15em; text-transform: uppercase; color: #71808b; }
.admin-nav-link { min-height: 46px; }
.admin-nav-link[aria-current="page"] { background: #35434d; box-shadow: 0 4px 10px #35434d1a; color: white; }
.admin-nav-link .material-symbols-outlined { font-size: 20px; }
.admin-page-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; padding-bottom: .5rem; }
.admin-page-heading h1 { font-family: var(--admin-font); font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -.035em; color: #35434d; line-height: 1.2; }
.admin-page-heading p:not(.admin-eyebrow) { font-size: .875rem; color: #657581; margin-top: .7rem; line-height: 1.7; }
.admin-eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .65rem; color: #8d744c; margin-bottom: .6rem; }
.admin-primary-action { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; background: #35434d; color: white; padding: .8rem 1rem; border-radius: 12px; font-size: .8rem; }
.admin-primary-action:hover { background: #485e6d; }
.admin-shell .insight-card { border-top: 3px solid #c7b18d; }
.admin-shell table { font-size: .825rem; }
.admin-shell thead { background: #f1f4f6; color: #536571; }
.admin-shell th { white-space: nowrap; font-size: .65rem; letter-spacing: .08em; }
.admin-shell td { vertical-align: middle; }
.admin-shell tbody tr:hover { background: #f8fafb; }
.admin-shell .overflow-x-auto { overscroll-behavior-x: contain; }
.admin-shell :is(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="hidden"]), select, textarea) { max-width: 100%; min-height: 42px; }
.admin-shell :is(input, select, textarea, trix-editor):focus { outline: 2px solid #748a9c; outline-offset: 2px; }
.admin-shell :is(a, button, label[for="menu-admin"]):focus-visible { outline: 2px solid #9b7c47; outline-offset: 4px; }
.admin-shell button, .admin-shell input[type="submit"] { min-height: 40px; }
.admin-skip-link { position: fixed; top: -100px; left: 1rem; z-index: 100; background: #35434d; color: white; padding: .8rem 1rem; border-radius: 8px; }
.admin-skip-link:focus { top: 1rem; }
@media (max-width: 767px) {
  .admin-workspace-bar { padding: .8rem 1rem; }
  .admin-workspace-label { display: none; }
  .admin-page-heading { align-items: flex-start; }
  .admin-shell .insight-card { padding: 1.1rem; }
  .admin-shell td, .admin-shell th { padding-left: 1rem; padding-right: 1rem; }
  .admin-shell table { min-width: 600px; }
  .admin-shell .admin-sidebar { width: min(280px, 85vw); }
}
@media (prefers-reduced-motion: reduce) {
  .admin-shell *, .admin-shell *::before, .admin-shell *::after { transition: none !important; scroll-behavior: auto !important; }
}

.admin-shell .font-serif, .admin-shell .insight-panel-heading h2, .admin-shell .notes-upload-group legend { font-family: var(--admin-font); }
.admin-shell :is(input, button, select, textarea) { font-family: inherit; }
