/* shadcn-admin theme for the Django admin: sa-* page components, the admin shell
   (templates/admin/base.html), and a restyle of Django's stock admin CSS.
   Tokens follow shadcn/ui "zinc"; .dark is toggled on <html> by base.html. */

:root {
    --sa-background: 0 0% 100%;
    --sa-foreground: 240 10% 3.9%;
    --sa-card: 0 0% 100%;
    --sa-primary: 240 5.9% 10%;
    --sa-primary-foreground: 0 0% 98%;
    --sa-secondary: 240 4.8% 95.9%;
    --sa-muted: 240 4.8% 95.9%;
    --sa-muted-foreground: 240 3.8% 46.1%;
    --sa-accent: 240 4.8% 95.9%;
    --sa-destructive: 0 72% 51%;
    --sa-success: 142 71% 35%;
    --sa-border: 240 5.9% 90%;
    --sa-input: 240 5.9% 90%;
    --sa-ring: 240 5.9% 10%;
    --sa-radius: 0.625rem;
}

.dark {
    --sa-background: 240 10% 3.9%;
    --sa-foreground: 0 0% 98%;
    --sa-card: 240 10% 3.9%;
    --sa-primary: 0 0% 98%;
    --sa-primary-foreground: 240 5.9% 10%;
    --sa-secondary: 240 3.7% 15.9%;
    --sa-muted: 240 3.7% 15.9%;
    --sa-muted-foreground: 240 5% 64.9%;
    --sa-accent: 240 3.7% 15.9%;
    --sa-destructive: 0 72% 60%;
    --sa-success: 142 69% 58%;
    --sa-border: 240 3.7% 15.9%;
    --sa-input: 240 3.7% 22%;
    --sa-ring: 240 4.9% 83.9%;
}

/* ── Page ─────────────────────────────────────────────────── */

.sa-page {
    color: hsl(var(--sa-foreground));
    font-size: 0.875rem;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.sa-page--narrow { max-width: 56rem; }
.sa-page--form { max-width: 32rem; }

.sa-page-header { padding-bottom: 1.5rem; border-bottom: 1px solid hsl(var(--sa-border)); }
.sa-page-title { margin: 0; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.025em; line-height: 2rem; }
.sa-page-desc { margin: 0.125rem 0 0; color: hsl(var(--sa-muted-foreground)); }

.sa-section-title { margin: 0 0 1rem; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.015em; }

.sa-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .sa-grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
    .sa-grid--3 { grid-template-columns: repeat(3, 1fr); }
    .sa-grid--main-side { grid-template-columns: 2fr 1fr; align-items: start; }
}
.sa-stack { display: flex; flex-direction: column; gap: 1.5rem; }

/* ── Card ─────────────────────────────────────────────────── */

.sa-card {
    background: hsl(var(--sa-card));
    border: 1px solid hsl(var(--sa-border));
    border-radius: var(--sa-radius);
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
    overflow: hidden;
}
.sa-card--danger { border-color: hsl(var(--sa-destructive) / 0.4); }
.sa-card--selected { box-shadow: 0 0 0 2px hsl(var(--sa-primary)); }
.sa-card--flex { display: flex; flex-direction: column; }
a.sa-card { display: block; color: inherit; text-decoration: none; transition: border-color 0.15s; }
a.sa-card:hover { border-color: hsl(var(--sa-foreground) / 0.3); }

.sa-card-header { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.375rem; }
.sa-card-title { margin: 0; font-size: 1rem; font-weight: 600; line-height: 1; letter-spacing: -0.015em; }
.sa-card--danger .sa-card-title { color: hsl(var(--sa-destructive)); }
.sa-card-desc { margin: 0; color: hsl(var(--sa-muted-foreground)); }
.sa-card-body { padding: 0 1.5rem 1.5rem; }
.sa-card-section { padding: 1.25rem 1.5rem; border-top: 1px solid hsl(var(--sa-border)); }
.sa-card-section--grow { flex: 1; }
.sa-card-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid hsl(var(--sa-border));
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.sa-card-footer--start { justify-content: flex-start; align-items: center; }

/* ── List rows ────────────────────────────────────────────── */

.sa-rows { border-top: 1px solid hsl(var(--sa-border)); }
.sa-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: inherit;
    text-decoration: none;
}
.sa-row + .sa-row { border-top: 1px solid hsl(var(--sa-border)); }
.sa-row--lg { padding: 1.5rem; flex-wrap: wrap; }
a.sa-row:hover { background: hsl(var(--sa-muted) / 0.5); }
.sa-row-main { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.sa-row-title { margin: 0; font-weight: 500; }
.sa-row-desc { margin: 0; color: hsl(var(--sa-muted-foreground)); }

.sa-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: calc(var(--sa-radius) - 2px);
    background: hsl(var(--sa-muted));
    color: hsl(var(--sa-muted-foreground));
}
.sa-icon .material-symbols-outlined { font-size: 1.125rem; }
.sa-icon--primary { background: hsl(var(--sa-primary)); color: hsl(var(--sa-primary-foreground)); }
.sa-icon--lg { width: 3rem; height: 3rem; border-radius: var(--sa-radius); }
.sa-icon--lg .material-symbols-outlined { font-size: 1.5rem; }

.sa-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 4rem;
    height: 4rem;
    border-radius: 9999px;
    background: hsl(var(--sa-muted));
    font-size: 1.25rem;
    font-weight: 600;
}
.sa-profile { display: flex; align-items: center; gap: 1rem; padding: 1.5rem; }
.sa-profile-name { margin: 0; font-size: 1.125rem; font-weight: 600; }
.sa-profile-meta { margin: 0; color: hsl(var(--sa-muted-foreground)); }
.sa-profile-meta--xs { font-size: 0.75rem; margin-top: 0.25rem; }

/* ── Buttons ──────────────────────────────────────────────── */

.sa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 2.25rem;
    padding: 0 1rem;
    border-radius: calc(var(--sa-radius) - 2px);
    border: 1px solid transparent;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s, border-color 0.15s;
    background: hsl(var(--sa-primary));
    color: hsl(var(--sa-primary-foreground));
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.1);
}
.sa-btn:hover { background: hsl(var(--sa-primary) / 0.9); color: hsl(var(--sa-primary-foreground)); }
.sa-btn:focus-visible { outline: 2px solid hsl(var(--sa-ring)); outline-offset: 2px; }
.sa-btn--sm { height: 2rem; padding: 0 0.75rem; }
.sa-btn--xs { height: 1.75rem; padding: 0 0.625rem; font-size: 0.75rem; }
.sa-btn + .sa-btn { margin-left: 0.375rem; }
#result_list td .sa-btn { vertical-align: middle; }
.sa-btn--block { width: 100%; }
.sa-btn--outline {
    background: hsl(var(--sa-background));
    color: hsl(var(--sa-foreground));
    border-color: hsl(var(--sa-input));
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
}
.sa-btn--outline:hover { background: hsl(var(--sa-accent)); color: hsl(var(--sa-foreground)); }
.sa-btn--secondary { background: hsl(var(--sa-secondary)); color: hsl(var(--sa-foreground)); box-shadow: none; cursor: default; }
.sa-btn--secondary:hover { background: hsl(var(--sa-secondary)); color: hsl(var(--sa-foreground)); }
.sa-btn--destructive { background: hsl(var(--sa-destructive)); color: #fff; }
.sa-btn--destructive:hover { background: hsl(var(--sa-destructive) / 0.9); color: #fff; }
.sa-btn--dashed {
    background: transparent;
    color: hsl(var(--sa-muted-foreground));
    border: 1px dashed hsl(var(--sa-border));
    box-shadow: none;
    cursor: default;
}
.sa-btn--dashed:hover { background: transparent; color: hsl(var(--sa-muted-foreground)); }

.sa-link { color: hsl(var(--sa-foreground)); font-weight: 500; text-underline-offset: 4px; }
.sa-link:hover { text-decoration: underline; }
.sa-muted { color: hsl(var(--sa-muted-foreground)); }
.sa-xs { font-size: 0.75rem; }

/* ── Forms ────────────────────────────────────────────────── */

.sa-field { display: flex; flex-direction: column; gap: 0.5rem; }
.sa-fields { display: flex; flex-direction: column; gap: 1.25rem; }
.sa-label { font-size: 0.875rem; font-weight: 500; line-height: 1; }
.sa-input,
.sa-select {
    display: flex;
    width: 100%;
    height: 2.25rem;
    padding: 0.25rem 0.75rem;
    border: 1px solid hsl(var(--sa-input));
    border-radius: calc(var(--sa-radius) - 2px);
    background: transparent;
    color: hsl(var(--sa-foreground));
    font: inherit;
    font-size: 0.875rem;
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
    transition: box-shadow 0.15s;
}
.sa-select option { background: hsl(var(--sa-background)); color: hsl(var(--sa-foreground)); }
.sa-input::placeholder { color: hsl(var(--sa-muted-foreground)); }
.sa-input:focus-visible,
.sa-select:focus-visible { outline: none; box-shadow: 0 0 0 1px hsl(var(--sa-ring)); }
.sa-input--readonly { align-items: center; background: hsl(var(--sa-muted) / 0.5); color: hsl(var(--sa-muted-foreground)); }
.sa-inline { display: flex; align-items: center; gap: 0.75rem; }
.sa-inline > .sa-input { flex: 1; }

.sa-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid hsl(var(--sa-border));
    border-radius: var(--sa-radius);
    cursor: pointer;
    transition: background-color 0.15s;
}
.sa-option:hover { background: hsl(var(--sa-muted) / 0.4); }
.sa-options { display: flex; flex-direction: column; gap: 0.75rem; }

.sa-switch {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    width: 2.25rem;
    height: 1.25rem;
    margin: 0;
    flex-shrink: 0;
    border-radius: 9999px;
    background: hsl(var(--sa-input));
    cursor: pointer;
    transition: background 0.15s;
}
.sa-switch::after {
    content: "";
    position: absolute;
    top: 0.125rem;
    left: 0.125rem;
    width: 1rem;
    height: 1rem;
    border-radius: 9999px;
    background: hsl(var(--sa-background));
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.2);
    transition: transform 0.15s;
}
.sa-switch:checked { background: hsl(var(--sa-primary)); }
.sa-switch:checked::after { transform: translateX(1rem); }
.sa-switch:focus-visible { outline: 2px solid hsl(var(--sa-ring)); outline-offset: 2px; }

/* ── Badges, code, misc ───────────────────────────────────── */

.sa-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.625rem;
    border-radius: calc(var(--sa-radius) - 4px);
    border: 1px solid transparent;
    font-size: 0.75rem;
    font-weight: 600;
    background: hsl(var(--sa-secondary));
    color: hsl(var(--sa-foreground));
    white-space: nowrap;
}
.sa-badge--primary { background: hsl(var(--sa-primary)); color: hsl(var(--sa-primary-foreground)); }
.sa-badge--outline { background: transparent; border-color: hsl(var(--sa-border)); color: hsl(var(--sa-muted-foreground)); }

.sa-code {
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    background: hsl(var(--sa-muted));
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.75rem;
}
.sa-pre {
    margin: 0;
    padding: 1rem;
    overflow-x: auto;
    border: 1px solid hsl(var(--sa-border));
    border-radius: calc(var(--sa-radius) - 2px);
    background: hsl(var(--sa-muted) / 0.5);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.75rem;
    line-height: 1.6;
}
.sa-pre--wrap { white-space: pre-wrap; word-break: break-all; }
.sa-key {
    display: block;
    margin-top: 0.5rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid hsl(var(--sa-border));
    border-radius: calc(var(--sa-radius) - 2px);
    background: hsl(var(--sa-background));
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    word-break: break-all;
    user-select: all;
}
.sa-callout {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 0 1.5rem 1.5rem;
    padding: 1rem;
    border: 1px solid hsl(var(--sa-border));
    border-radius: var(--sa-radius);
    background: hsl(var(--sa-muted) / 0.4);
}
.sa-callout--page { margin: 0; background: hsl(var(--sa-card)); }

.sa-dl { display: grid; grid-template-columns: 4rem 1fr; gap: 0.75rem 1rem; margin: 0; }
.sa-dl dt { color: hsl(var(--sa-muted-foreground)); }
.sa-dl dd { margin: 0; }

.sa-price { margin: 0; }
.sa-price-amount { font-size: 1.875rem; font-weight: 700; letter-spacing: -0.025em; }
.sa-price-interval { margin-left: 0.25rem; color: hsl(var(--sa-muted-foreground)); }
.sa-plan-head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.sa-plan-name { display: flex; align-items: center; gap: 0.5rem; margin: 0; font-weight: 600; }
.sa-plan-name .sa-icon { width: 2rem; height: 2rem; }

.sa-features { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0.625rem; }
.sa-features li { display: flex; align-items: flex-start; gap: 0.5rem; color: hsl(var(--sa-muted-foreground)); }
.sa-features .material-symbols-outlined { font-size: 1rem; color: hsl(var(--sa-success)); }

.sa-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; text-align: center; }
.sa-stat-value { margin: 0; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.025em; }
.sa-stat-label { margin: 0.25rem 0 0; font-size: 0.75rem; color: hsl(var(--sa-muted-foreground)); }

.sa-list { margin: 0; padding: 0; list-style: none; }
.sa-empty { padding: 2rem; text-align: center; color: hsl(var(--sa-muted-foreground)); }
.sa-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ══ Admin shell (templates/admin/base.html) ═════════════════ */

:root { --sa-sidebar-w: 16rem; --sa-sidebar-w-collapsed: 3.5rem; --sa-sidebar: 0 0% 98%; }
.dark { --sa-sidebar: 240 5.9% 6%; }

.material-symbols-outlined {
    font-family: "Material Symbols Outlined";
    font-weight: normal;
    font-style: normal;
    font-size: 1.25rem;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    font-variation-settings: "opsz" 20, "wght" 400;
    user-select: none;
}
.material-symbols-outlined.md-18 { font-size: 18px; }

html, body.sa-admin { height: auto; }
body.sa-admin {
    margin: 0;
    background: hsl(var(--sa-background));
    color: hsl(var(--sa-foreground));
    font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
    font-size: 0.875rem;
    -webkit-font-smoothing: antialiased;
}

#container.sa-app { min-width: 0; height: auto; min-height: 100vh; display: block; }
.sa-shell { min-height: 100vh; display: flex; flex-direction: column; transition: padding-left 0.2s ease; }
.sa-app--sidebar .sa-shell { padding-left: var(--sa-sidebar-w); }

/* Sidebar */
.sa-sidebar {
    position: fixed; top: 0; bottom: 0; left: 0; z-index: 40;
    width: var(--sa-sidebar-w);
    display: flex; flex-direction: column;
    background: hsl(var(--sa-sidebar));
    border-right: 1px solid hsl(var(--sa-border));
    transition: width 0.2s ease, transform 0.2s ease;
}
.sa-brand { display: flex; align-items: center; gap: 0.625rem; padding: 0.875rem 0.75rem; text-decoration: none; color: inherit; }
.sa-brand:link, .sa-brand:visited, .sa-brand:hover { text-decoration: none; color: inherit; }
.sa-brand--inline { padding: 0; }
.sa-brand-mark {
    flex: none; display: inline-flex; align-items: center; justify-content: center;
    width: 2rem; height: 2rem; border-radius: 0.5rem;
    background: hsl(var(--sa-primary)); color: hsl(var(--sa-primary-foreground));
}
.sa-brand-mark .material-symbols-outlined { font-size: 1.125rem; }
.sa-brand-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.sa-brand-name { font-weight: 600; font-size: 0.875rem; color: hsl(var(--sa-foreground)); }
.sa-brand-sub { font-size: 0.75rem; color: hsl(var(--sa-muted-foreground)); }

.sa-sidebar-search { position: relative; margin: 0 0.75rem 0.5rem; }
.sa-sidebar-search .material-symbols-outlined {
    position: absolute; left: 0.5rem; top: 50%; transform: translateY(-50%);
    font-size: 1rem; color: hsl(var(--sa-muted-foreground)); pointer-events: none;
}
.sa-sidebar-search input {
    width: 100%; box-sizing: border-box; height: 2rem; padding: 0 0.5rem 0 1.875rem;
    border: 1px solid hsl(var(--sa-input)); border-radius: 0.375rem;
    background: hsl(var(--sa-background)); color: hsl(var(--sa-foreground)); font: inherit; font-size: 0.8125rem;
}
.sa-sidebar-search input:focus { outline: 2px solid hsl(var(--sa-ring) / 0.3); outline-offset: 0; border-color: hsl(var(--sa-ring)); }

.sa-nav { flex: 1; overflow-y: auto; padding: 0.25rem 0.5rem 1rem; scrollbar-width: thin; scrollbar-color: hsl(var(--sa-border)) transparent; }
.sa-nav-group { margin-bottom: 0.75rem; }
.sa-nav-group ul { list-style: none; margin: 0; padding: 0; }
.sa-nav-group li { list-style: none; padding: 0; }
.sa-nav-label {
    margin: 0; padding: 0.5rem 0.5rem 0.25rem;
    font-size: 0.75rem; font-weight: 500; color: hsl(var(--sa-muted-foreground));
    white-space: nowrap; overflow: hidden;
}
.sa-nav-item {
    display: flex; align-items: center; gap: 0.5rem;
    height: 2rem; padding: 0 0.5rem; border-radius: 0.375rem;
    color: hsl(var(--sa-foreground) / 0.85); text-decoration: none; font-size: 0.875rem;
    white-space: nowrap; overflow: hidden;
}
.sa-nav-item .material-symbols-outlined { font-size: 1.125rem; flex: none; color: hsl(var(--sa-muted-foreground)); }
.sa-nav-item:hover, .sa-nav-item:focus-visible { background: hsl(var(--sa-accent)); color: hsl(var(--sa-foreground)); text-decoration: none; }
.sa-nav-item.is-active { background: hsl(var(--sa-accent)); color: hsl(var(--sa-foreground)); font-weight: 500; }
.sa-nav-item.is-active .material-symbols-outlined { color: hsl(var(--sa-foreground)); }

.sa-sidebar-user {
    display: flex; align-items: center; gap: 0.625rem;
    margin: 0 0.5rem 0.5rem; padding: 0.5rem; border-top: 1px solid hsl(var(--sa-border));
}
.sa-sidebar-user-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.sa-sidebar-user-name { font-weight: 600; font-size: 0.8125rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sa-sidebar-user-mail { font-size: 0.75rem; color: hsl(var(--sa-muted-foreground)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sa-avatar--sm { width: 2rem; height: 2rem; font-size: 0.8125rem; flex: none; }
.sa-sidebar-backdrop { display: none; }

@media (min-width: 1024px) {
    html.sa-collapsed .sa-sidebar { width: var(--sa-sidebar-w-collapsed); }
    html.sa-collapsed .sa-app--sidebar .sa-shell { padding-left: var(--sa-sidebar-w-collapsed); }
    html.sa-collapsed .sa-brand-text,
    html.sa-collapsed .sa-sidebar-search,
    html.sa-collapsed .sa-nav-text,
    html.sa-collapsed .sa-sidebar-user-text { display: none; }
    html.sa-collapsed .sa-nav-label { height: 0; padding: 0; margin-top: 0.5rem; border-top: 1px solid hsl(var(--sa-border)); }
    html.sa-collapsed .sa-nav-item { justify-content: center; padding: 0; }
    html.sa-collapsed .sa-brand { justify-content: center; padding-left: 0; padding-right: 0; }
    html.sa-collapsed .sa-sidebar-user { justify-content: center; padding: 0.5rem 0; }
}
@media (max-width: 1023px) {
    .sa-app--sidebar .sa-shell { padding-left: 0; }
    .sa-sidebar { transform: translateX(-100%); box-shadow: 0 10px 30px rgb(0 0 0 / 0.15); }
    body.sa-sidebar-open .sa-sidebar { transform: none; }
    body.sa-sidebar-open .sa-sidebar-backdrop { display: block; position: fixed; inset: 0; z-index: 35; background: rgb(0 0 0 / 0.4); }
}

/* Topbar */
.sa-topbar {
    position: sticky; top: 0; z-index: 30;
    display: flex; align-items: center; gap: 0.5rem;
    height: 3.5rem; padding: 0 1rem;
    background: hsl(var(--sa-background) / 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid hsl(var(--sa-border));
}
.sa-topbar-sep { width: 1px; height: 1rem; background: hsl(var(--sa-border)); margin: 0 0.25rem; }
.sa-topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 0.5rem; }
.sa-topbar-icons { display: flex; align-items: center; gap: 0.25rem; }
.sa-icon-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.25rem; height: 2.25rem; padding: 0; border: 0; border-radius: 0.375rem;
    background: transparent; color: hsl(var(--sa-foreground)); cursor: pointer; text-decoration: none;
}
.sa-icon-btn:hover { background: hsl(var(--sa-accent)); color: hsl(var(--sa-foreground)); text-decoration: none; }
.sa-icon-btn .material-symbols-outlined { font-size: 1.125rem; }
.sa-theme-dark { display: none !important; }
.dark .sa-theme-dark { display: inline-block !important; }
.dark .sa-theme-light { display: none !important; }

.sa-search-btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    height: 2.25rem; width: 16rem; padding: 0 0.375rem 0 0.75rem;
    border: 1px solid hsl(var(--sa-input)); border-radius: 0.375rem;
    background: hsl(var(--sa-muted) / 0.4); color: hsl(var(--sa-muted-foreground));
    font: inherit; font-size: 0.875rem; cursor: pointer;
}
.sa-search-btn:hover { background: hsl(var(--sa-accent)); }
.sa-search-btn .material-symbols-outlined { font-size: 1rem; }
.sa-search-btn-text { flex: 1; text-align: left; }
.sa-search-btn kbd, .sa-command-input kbd {
    font: 500 0.6875rem/1 ui-monospace, monospace; padding: 0.1875rem 0.375rem;
    border: 1px solid hsl(var(--sa-border)); border-radius: 0.25rem; background: hsl(var(--sa-background));
}
@media (max-width: 767px) {
    .sa-search-btn { width: 2.25rem; padding: 0; justify-content: center; }
    .sa-search-btn-text, .sa-search-btn kbd { display: none; }
}

.sa-breadcrumbs { min-width: 0; overflow: hidden; }
.sa-breadcrumbs .breadcrumbs, .sa-breadcrumbs div.breadcrumbs {
    display: flex; align-items: center; flex-wrap: nowrap; gap: 0.375rem;
    margin: 0; padding: 0; background: none; border: 0; list-style: none;
    color: hsl(var(--sa-muted-foreground)); font-size: 0.875rem; white-space: nowrap;
}
.sa-breadcrumbs .breadcrumbs li { list-style: none; padding: 0; display: inline-flex; align-items: center; gap: 0.375rem; min-width: 0; }
.sa-breadcrumbs .breadcrumbs li + li::before { content: "›"; color: hsl(var(--sa-muted-foreground) / 0.7); }
.sa-breadcrumbs ol.breadcrumbs li::after { content: none; }
.sa-breadcrumbs .breadcrumbs li:last-child { color: hsl(var(--sa-foreground)); overflow: hidden; text-overflow: ellipsis; }
.sa-breadcrumbs .breadcrumbs a { color: hsl(var(--sa-muted-foreground)); text-decoration: none; }
.sa-breadcrumbs .breadcrumbs a:hover { color: hsl(var(--sa-foreground)); }
@media (max-width: 767px) { .sa-breadcrumbs .breadcrumbs li:not(:last-child) { display: none; } .sa-breadcrumbs .breadcrumbs li + li::before { content: none; } }

/* User menu */
.sa-menu { position: relative; }
.sa-menu > summary { list-style: none; cursor: pointer; width: 2rem; height: 2rem; font-size: 0.8125rem; }
.sa-menu > summary::-webkit-details-marker { display: none; }
.sa-menu-panel {
    position: absolute; right: 0; top: calc(100% + 0.5rem); z-index: 50;
    width: 14rem; padding: 0.25rem;
    background: hsl(var(--sa-card)); border: 1px solid hsl(var(--sa-border)); border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}
.sa-menu-head { padding: 0.5rem; border-bottom: 1px solid hsl(var(--sa-border)); margin-bottom: 0.25rem; }
.sa-menu-name { margin: 0; font-weight: 600; font-size: 0.875rem; }
.sa-menu-mail { margin: 0; font-size: 0.75rem; color: hsl(var(--sa-muted-foreground)); overflow: hidden; text-overflow: ellipsis; }
.sa-menu-form { margin: 0; border-top: 1px solid hsl(var(--sa-border)); margin-top: 0.25rem; padding-top: 0.25rem; }
.sa-menu-item {
    display: flex; align-items: center; gap: 0.5rem; width: 100%; box-sizing: border-box;
    padding: 0.375rem 0.5rem; border: 0; border-radius: 0.25rem; background: none;
    color: hsl(var(--sa-foreground)); font: inherit; font-size: 0.875rem; text-align: left; text-decoration: none; cursor: pointer;
}
.sa-menu-item:hover { background: hsl(var(--sa-accent)); color: hsl(var(--sa-foreground)); text-decoration: none; }
.sa-menu-item .material-symbols-outlined { font-size: 1rem; color: hsl(var(--sa-muted-foreground)); }

/* Command palette */
.sa-command[hidden] { display: none; }
.sa-command { position: fixed; inset: 0; z-index: 100; display: flex; justify-content: center; align-items: flex-start; padding-top: 12vh; }
.sa-command-backdrop { position: absolute; inset: 0; background: rgb(0 0 0 / 0.5); }
.sa-command-dialog {
    position: relative; width: min(32rem, calc(100vw - 2rem)); overflow: hidden;
    background: hsl(var(--sa-card)); color: hsl(var(--sa-foreground));
    border: 1px solid hsl(var(--sa-border)); border-radius: 0.75rem;
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}
.sa-command-input { display: flex; align-items: center; gap: 0.5rem; padding: 0 0.75rem; border-bottom: 1px solid hsl(var(--sa-border)); }
.sa-command-input .material-symbols-outlined { font-size: 1.125rem; color: hsl(var(--sa-muted-foreground)); }
.sa-command-input input { flex: 1; height: 3rem; border: 0; outline: 0; background: transparent; color: inherit; font: inherit; font-size: 0.875rem; }
.sa-command-list { max-height: 20rem; overflow-y: auto; padding: 0.25rem; }
.sa-command-group[hidden], .sa-command-item[hidden] { display: none; }
.sa-command-item {
    display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem; border-radius: 0.375rem;
    color: hsl(var(--sa-foreground)); text-decoration: none; font-size: 0.875rem;
}
.sa-command-item .material-symbols-outlined { font-size: 1rem; color: hsl(var(--sa-muted-foreground)); }
.sa-command-item.is-active, .sa-command-item:hover { background: hsl(var(--sa-accent)); color: hsl(var(--sa-foreground)); text-decoration: none; }
.sa-command-empty { padding: 1.5rem; margin: 0; text-align: center; color: hsl(var(--sa-muted-foreground)); }

/* ══ Django admin theme (stock base.css / forms.css / changelists.css) ═══ */

:root {
    --primary: #18181b;
    --secondary: #18181b;
    --accent: #f4f4f5;
    --primary-fg: #fafafa;
    --body-fg: #09090b;
    --body-bg: #ffffff;
    --body-quiet-color: #71717a;
    --body-medium-color: #52525b;
    --body-loud-color: #09090b;
    --header-color: #09090b;
    --header-branding-color: #09090b;
    --header-bg: #ffffff;
    --header-link-color: #09090b;
    --breadcrumbs-fg: #71717a;
    --breadcrumbs-link-fg: #71717a;
    --breadcrumbs-bg: transparent;
    --link-fg: #18181b;
    --link-hover-color: #52525b;
    --link-selected-fg: #18181b;
    --hairline-color: #e4e4e7;
    --border-color: #e4e4e7;
    --error-fg: #dc2626;
    --message-success-bg: #f0fdf4;
    --message-warning-bg: #fffbeb;
    --message-error-bg: #fef2f2;
    --message-info-bg: #f4f4f5;
    --message-debug-bg: #f4f4f5;
    --darkened-bg: #fafafa;
    --selected-bg: #f4f4f5;
    --selected-row: #f4f4f5;
    --button-fg: #fafafa;
    --button-bg: #18181b;
    --button-hover-bg: #27272a;
    --default-button-bg: #18181b;
    --default-button-hover-bg: #27272a;
    --close-button-bg: #f4f4f5;
    --close-button-hover-bg: #e4e4e7;
    --delete-button-bg: #dc2626;
    --delete-button-hover-bg: #b91c1c;
    --object-tools-fg: #fafafa;
    --object-tools-bg: #18181b;
    --object-tools-hover-bg: #27272a;
    --font-family-primary: "Inter", ui-sans-serif, system-ui, sans-serif;
    color-scheme: light;
}
.dark {
    --primary: #fafafa;
    --secondary: #fafafa;
    --accent: #27272a;
    --primary-fg: #18181b;
    --body-fg: #fafafa;
    --body-bg: #09090b;
    --body-quiet-color: #a1a1aa;
    --body-medium-color: #d4d4d8;
    --body-loud-color: #fafafa;
    --header-color: #fafafa;
    --header-branding-color: #fafafa;
    --header-bg: #09090b;
    --header-link-color: #fafafa;
    --breadcrumbs-fg: #a1a1aa;
    --breadcrumbs-link-fg: #a1a1aa;
    --link-fg: #fafafa;
    --link-hover-color: #d4d4d8;
    --link-selected-fg: #fafafa;
    --hairline-color: #27272a;
    --border-color: #27272a;
    --error-fg: #f87171;
    --message-success-bg: #052e16;
    --message-warning-bg: #422006;
    --message-error-bg: #450a0a;
    --message-info-bg: #18181b;
    --message-debug-bg: #18181b;
    --darkened-bg: #18181b;
    --selected-bg: #27272a;
    --selected-row: #27272a;
    --button-fg: #18181b;
    --button-bg: #fafafa;
    --button-hover-bg: #e4e4e7;
    --default-button-bg: #fafafa;
    --default-button-hover-bg: #e4e4e7;
    --close-button-bg: #27272a;
    --close-button-hover-bg: #3f3f46;
    --delete-button-bg: #dc2626;
    --delete-button-hover-bg: #b91c1c;
    --object-tools-fg: #18181b;
    --object-tools-bg: #fafafa;
    --object-tools-hover-bg: #e4e4e7;
    color-scheme: dark;
}

.sa-admin a { text-decoration: none; }
.sa-admin #content a:not([class]):hover { text-decoration: underline; }
.sa-admin #main.main { display: block; flex: 1 0 auto; }
.sa-admin #main > .content { max-width: 100%; }
.sa-admin #content { padding: 1.5rem; }
@media (max-width: 767px) { .sa-admin #content { padding: 1rem; } }
.sa-admin #footer { padding: 0; }

.sa-admin #content h1 { margin: 0 0 0.25rem; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.025em; color: hsl(var(--sa-foreground)); }
.sa-admin #content > .titles-and-tools h2 { margin: 0; font-size: 0.875rem; font-weight: 400; color: hsl(var(--sa-muted-foreground)); }
.sa-admin .titles-and-tools:has(.titles:empty) { display: none; }

.sa-admin .messagelist { margin: 0 1.5rem; padding: 1.5rem 0 0; }
.sa-admin .messagelist li {
    margin: 0 0 0.5rem; padding: 0.75rem 1rem 0.75rem 2.5rem; border: 1px solid hsl(var(--sa-border));
    border-radius: var(--ta-radius-sm, 8px); color: hsl(var(--sa-foreground)); font-size: 0.875rem; background-position: 0.875rem center;
}

/* Buttons */
.sa-admin input[type=submit], .sa-admin input[type=button], .sa-admin .button,
.sa-admin a.button, .sa-admin .submit-row a.deletelink, .sa-admin .submit-row a.closelink {
    height: 2.25rem; padding: 0 1rem; border-radius: 0.375rem; font: 500 0.875rem/2.25rem var(--font-family-primary);
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.05); text-transform: none; letter-spacing: 0;
}
.sa-admin .button.cancel-link, .sa-admin a.closelink, .sa-admin input[type=submit].default ~ input[type=submit]:not(.default) {
    color: hsl(var(--sa-foreground));
}
.sa-admin .submit-row {
    display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
    padding: 0.75rem; margin: 1.5rem 0 0; background: hsl(var(--sa-muted) / 0.5);
    border: 1px solid hsl(var(--sa-border)); border-radius: var(--ta-radius, 10px);
}
.sa-admin .submit-row a.deletelink { margin-left: auto; color: #fff; display: inline-flex; align-items: center; }
.sa-admin .submit-row a.closelink { display: inline-flex; align-items: center; }

.sa-admin .object-tools { margin: 0; padding: 0; display: flex; gap: 0.5rem; float: none; }
.sa-admin #content > .titles-and-tools { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.sa-admin .object-tools li { height: auto; margin: 0; }
.sa-admin .object-tools a:link, .sa-admin .object-tools a:visited {
    display: inline-flex; align-items: center; gap: 0.25rem; height: 2.25rem; padding: 0 1rem;
    border-radius: 0.375rem; font-size: 0.875rem; font-weight: 500; text-transform: none; letter-spacing: 0;
    color: var(--object-tools-fg); background: var(--object-tools-bg);
}
.sa-admin .object-tools a:hover { background: var(--object-tools-hover-bg); }
.sa-admin .object-tools li:not(:last-child) a:link,
.sa-admin .object-tools li:not(:last-child) a:visited {
    color: hsl(var(--sa-foreground)); background: hsl(var(--sa-background)); border: 1px solid hsl(var(--sa-input));
}
.sa-admin .object-tools li:not(:last-child) a:hover { background: hsl(var(--sa-accent)); }
.sa-admin .object-tools a.addlink, .sa-admin .object-tools a.viewsitelink { background-image: none; padding-right: 1rem; }

/* Inputs */
.sa-admin input[type=text], .sa-admin input[type=password], .sa-admin input[type=email], .sa-admin input[type=url],
.sa-admin input[type=number], .sa-admin input[type=tel], .sa-admin input[type=search], .sa-admin input[type=date],
.sa-admin input[type=time], .sa-admin input[type=datetime-local], .sa-admin textarea, .sa-admin select, .sa-admin .vTextField {
    border: 1px solid hsl(var(--sa-input)); border-radius: 0.375rem; padding: 0.375rem 0.625rem;
    background: hsl(var(--sa-background)); color: hsl(var(--sa-foreground)); font-family: var(--font-family-primary); font-size: 0.875rem;
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.03);
}
.sa-admin select { height: 2.25rem; padding-top: 0; padding-bottom: 0; }
.sa-admin input:focus, .sa-admin textarea:focus, .sa-admin select:focus {
    outline: 2px solid hsl(var(--sa-ring) / 0.2); outline-offset: 0; border-color: hsl(var(--sa-ring) / 0.6);
}

/* Fieldsets / modules */
.sa-admin .module, .sa-admin fieldset.module, .sa-admin .inline-group {
    background: hsl(var(--sa-card)); border: 1px solid hsl(var(--sa-border)); border-radius: var(--ta-radius, 10px);
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.04); overflow: hidden; margin-bottom: 1.25rem;
}
.sa-admin .module h2, .sa-admin .module caption, .sa-admin .inline-group h2, .sa-admin fieldset.module > h2,
.sa-admin fieldset .fieldset-heading, .sa-admin details > summary .fieldset-heading {
    background: transparent; color: hsl(var(--sa-foreground)); font-size: 0.875rem; font-weight: 600;
    text-transform: none; letter-spacing: 0; padding: 0.875rem 1rem; border-bottom: 1px solid hsl(var(--sa-border)); margin: 0;
}
.sa-admin .form-row { padding: 0.875rem 1rem; border-bottom: 1px solid hsl(var(--sa-border)); }
.sa-admin fieldset .form-row:last-child { border-bottom: 0; }
.sa-admin .aligned label, .sa-admin .form-row label { color: hsl(var(--sa-foreground)); font-weight: 500; }
.sa-admin .help, .sa-admin p.help, .sa-admin div.help { color: hsl(var(--sa-muted-foreground)); font-size: 0.8125rem; }
.sa-admin .errornote, .sa-admin ul.errorlist li { border-radius: 0.375rem; }
.sa-admin .errornote { border: 1px solid #fecaca; background: #fef2f2; color: #b91c1c; }

/* Changelist */
.sa-admin #changelist { display: flex; gap: 1.25rem; align-items: flex-start; }
.sa-admin #changelist.module { background: none; border: 0; box-shadow: none; overflow: visible; border-radius: 0; }
.sa-admin #changelist .changelist-form-container { flex: 1 1 auto; min-width: 0; }
.sa-admin #changelist #toolbar {
    margin: 0 0 0.75rem; padding: 0; background: transparent; border: 0; color: hsl(var(--sa-foreground));
}
.sa-admin #changelist #toolbar form > div { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.sa-admin #changelist #toolbar form label:not(.sa-cl-search) { display: none; }
.sa-admin #changelist #toolbar form input[type=text], .sa-admin #changelist #searchbar {
    height: 2rem; width: 20rem; max-width: 100%; box-sizing: border-box; margin: 0;
    padding: 0 0.75rem; border-radius: 0.375rem; font-size: 0.8125rem; vertical-align: middle;
}
/* Custom changelist toolbars: icon search input + extra filter select */
.sa-cl-toolbar { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin: 0; }
.sa-cl-search { position: relative; display: block; width: 20rem; max-width: 100%; margin: 0; }
.sa-cl-search .material-symbols-outlined {
    position: absolute; left: 0.625rem; top: 50%; transform: translateY(-50%);
    font-size: 1rem; color: hsl(var(--sa-muted-foreground)); pointer-events: none;
}
.sa-admin #changelist #toolbar .sa-cl-search input#searchbar { width: 100%; padding-left: 2rem; }
.sa-admin #changelist #toolbar select.sa-cl-select {
    height: 2rem; min-width: 11rem; margin: 0; padding: 0 2rem 0 0.75rem; box-sizing: border-box;
    border-radius: 0.375rem; font-size: 0.8125rem;
}
.sa-cl-or { font-size: 0.75rem; color: hsl(var(--sa-muted-foreground)); }
.sa-admin #changelist #toolbar .quiet { color: hsl(var(--sa-muted-foreground)); font-size: 0.8125rem; margin: 0; }

/* Secondary (outline) buttons: changelist Search / Run, filter actions */
.sa-admin #changelist #toolbar form input[type=submit],
.sa-admin #changelist .actions .button,
.sa-admin #changelist .actions button {
    height: 2rem; margin: 0; padding: 0 0.875rem; box-sizing: border-box; vertical-align: middle;
    border: 1px solid hsl(var(--sa-input)); border-radius: 0.375rem;
    background: hsl(var(--sa-background)); color: hsl(var(--sa-foreground));
    font: 500 0.8125rem/1 var(--font-family-primary); cursor: pointer;
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.04);
}
.sa-admin #changelist #toolbar form input[type=submit]:hover,
.sa-admin #changelist .actions .button:hover,
.sa-admin #changelist .actions button:hover { background: hsl(var(--sa-accent)); }
.sa-admin #changelist-filter {
    flex: 0 0 15rem; order: 2; position: static; background: hsl(var(--sa-card));
    border: 1px solid hsl(var(--sa-border)); border-radius: var(--ta-radius, 10px); overflow: hidden;
}
.sa-admin #changelist-filter h2 {
    margin: 0; padding: 0.75rem 1rem; font-size: 0.875rem; font-weight: 600; text-transform: none; letter-spacing: 0;
    background: transparent; color: hsl(var(--sa-foreground)); border-bottom: 1px solid hsl(var(--sa-border));
}
.sa-admin #changelist-filter h3, .sa-admin #changelist-filter summary { font-size: 0.8125rem; font-weight: 600; color: hsl(var(--sa-foreground)); }
.sa-admin #changelist-filter li a { color: hsl(var(--sa-muted-foreground)); }
.sa-admin #changelist-filter li.selected a { color: hsl(var(--sa-foreground)); font-weight: 600; }
.sa-admin #changelist-filter li.selected { border-left-color: hsl(var(--sa-foreground)); }

.sa-admin #changelist .actions {
    display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
    padding: 0.625rem 0.75rem; margin: 0; background: hsl(var(--sa-muted) / 0.5);
    border: 1px solid hsl(var(--sa-border)); border-bottom: 0; border-radius: var(--ta-radius, 10px) var(--ta-radius, 10px) 0 0;
    color: hsl(var(--sa-foreground)); line-height: 1.5;
}
.sa-admin #changelist .actions label { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.8125rem; font-weight: 500; }
.sa-admin #changelist .actions select {
    height: 2rem; margin: 0; padding: 0 2rem 0 0.75rem; border-radius: 0.375rem; font-size: 0.8125rem; vertical-align: middle;
}
.sa-admin #changelist .actions .action-counter,
.sa-admin #changelist .actions .all,
.sa-admin #changelist .actions .question,
.sa-admin #changelist .actions .clear { font-size: 0.8125rem; color: hsl(var(--sa-muted-foreground)); }
.sa-admin #changelist .actions + .results { border-top-left-radius: 0; border-top-right-radius: 0; }

.sa-admin .results {
    overflow-x: auto; background: hsl(var(--sa-card));
    border: 1px solid hsl(var(--sa-border)); border-radius: var(--ta-radius, 10px);
}
.sa-admin #result_list { width: 100%; border-collapse: collapse; border: 0; }
.sa-admin #result_list thead th {
    background: hsl(var(--sa-muted) / 0.5); color: hsl(var(--sa-muted-foreground));
    font-size: 0.8125rem; font-weight: 500; text-transform: none; letter-spacing: 0;
    padding: 0.625rem 0.75rem; border-bottom: 1px solid hsl(var(--sa-border)); border-left: 0; white-space: nowrap;
}
.sa-admin #result_list thead th a:link, .sa-admin #result_list thead th a:visited { color: hsl(var(--sa-muted-foreground)); }
.sa-admin #result_list thead th.sorted { background: hsl(var(--sa-muted)); }
.sa-admin #result_list tbody td, .sa-admin #result_list tbody th {
    padding: 0.625rem 0.75rem; border-bottom: 1px solid hsl(var(--sa-border)); border-top: 0;
    font-size: 0.875rem; color: hsl(var(--sa-foreground)); vertical-align: middle; background: transparent;
}
.sa-admin #result_list tbody tr:hover > td, .sa-admin #result_list tbody tr:hover > th { background: hsl(var(--sa-muted) / 0.5); }
.sa-admin #result_list tbody tr.selected > td, .sa-admin #result_list tbody tr.selected > th { background: hsl(var(--sa-muted)); }
.sa-admin #result_list tbody:last-child tr:last-child > td, .sa-admin #result_list tbody:last-child tr:last-child > th { border-bottom: 0; }
.sa-admin #result_list tbody th a { font-weight: 500; }
.sa-admin #changelist .paginator {
    margin: 0; padding: 0.75rem 0.25rem; border: 0; background: transparent;
    color: hsl(var(--sa-muted-foreground)); font-size: 0.875rem; line-height: 2;
}
.sa-admin .paginator a:link, .sa-admin .paginator a:visited {
    padding: 0.25rem 0.625rem; border-radius: 0.375rem; background: transparent; color: hsl(var(--sa-foreground));
    border: 1px solid hsl(var(--sa-border));
}
.sa-admin .paginator a:hover { background: hsl(var(--sa-accent)); }
.sa-admin .paginator .this-page { padding: 0.25rem 0.625rem; border-radius: 0.375rem; background: hsl(var(--sa-primary)); color: hsl(var(--sa-primary-foreground)); }
.sa-admin .paginator .showall { margin-left: 0.5rem; }

@media (max-width: 1023px) {
    .sa-admin #changelist { flex-direction: column; }
    .sa-admin #changelist-filter { flex-basis: auto; width: 100%; order: 0; }
}

/* Inline tables / generic tables */
.sa-admin table { border-color: hsl(var(--sa-border)); }
.sa-admin td, .sa-admin th { border-bottom-color: hsl(var(--sa-border)); }
.sa-admin thead th, .sa-admin tfoot td { background: hsl(var(--sa-muted) / 0.5); color: hsl(var(--sa-muted-foreground)); }

/* Login page */
body.sa-admin.login { background: hsl(var(--sa-muted) / 0.5); min-height: 100vh; padding-top: 1px; box-sizing: border-box; }
body.login .sa-shell { min-height: auto; }
body.login #container.sa-app {
    width: min(24rem, calc(100vw - 2rem)); margin: 12vh auto 0; min-height: 0;
    background: hsl(var(--sa-card)); border: 1px solid hsl(var(--sa-border)); border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgb(0 0 0 / 0.08); overflow: hidden;
}
body.login .sa-topbar { position: static; justify-content: center; height: 4rem; background: transparent; }
body.login .sa-breadcrumbs { display: none; }
body.login #content { padding: 1.5rem; }
body.login .submit-row { background: transparent; border: 0; padding: 0.5rem 0 0; margin: 0; }
body.login .submit-row input { width: 100%; }
