/* Shared shell, loaded after page styles. Geometry never depends on page titles. */
html { font-size: 14px; scrollbar-gutter: stable; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
.smt-site-header, .smt-site-header * { box-sizing: border-box; }
.smt-site-header { position: sticky; top: 0; z-index: 1030; flex: 0 0 auto; width: 100%; height: 64px; background: #fff; border-bottom: 1px solid #dce5df; box-shadow: 0 2px 10px #173b2510; color: #243b2e; font: 14px/1.4 system-ui, -apple-system, "Segoe UI", sans-serif; }
.smt-site-bar { width: 100%; max-width: 1680px; height: 64px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 24px; }
.smt-site-brand { flex: 0 0 180px; display: inline-flex; align-items: center; gap: 9px; color: #294536; font-size: 12px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.smt-site-mark { display: inline-flex; align-items: center; justify-content: center; height: 32px; padding: 0 9px; border-radius: 7px; color: #fff; background: #198754; font-size: 14px; font-weight: 750; letter-spacing: .02em; }
.smt-site-links { flex: 1; display: flex; align-items: center; gap: 6px; min-width: 0; }
.smt-site-links > a { min-height: 40px; min-width: 112px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 8px 12px; border-radius: 8px; font-size: 14px; font-weight: 550; text-decoration: none; color: #52645a; white-space: nowrap; }
.smt-site-links > a:hover, .smt-site-links > a[aria-current] { background: #eaf5ee; color: #146c43; }
.smt-site-links > a:first-child { flex: 0 0 148px; }
.smt-site-count { flex: 0 0 36px; width: 36px; display: inline-flex; justify-content: center; }
.smt-site-count--placeholder { visibility: hidden; }
.smt-site-count > .bg-success { display: inline-flex; align-items: center; justify-content: center; min-width: 23px; padding: 2px 5px; border-radius: 5px; color: #fff; font-size: 11px; line-height: 16px; }
.smt-site-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; min-width: 0; }
.smt-site-profile, .smt-site-icon, .smt-site-toggle, .smt-site-push { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 40px; border: 1px solid #dce5df; background: #fff; border-radius: 8px; color: #52645a; text-decoration: none; font: inherit; }
.smt-site-profile { width: 180px; justify-content: flex-start; padding: 0 12px; }
.smt-site-profile > span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.smt-site-icon, .smt-site-toggle, .smt-site-push { width: 40px; flex: 0 0 40px; }
.smt-site-actions i { flex-shrink: 0; font-size: 18px; }
.smt-site-actions a:hover, .smt-site-actions button:hover, .smt-site-profile[aria-current] { background: #eaf5ee; border-color: #aacdb7; color: #146c43; }
.smt-site-push { color: #146c43; background: #eaf5ee; }
.smt-site-push > span { display: none; }
.smt-site-push.header__push_button--warning { background: #fff3cd; border-color: #e8cc77; color: #725810; }
.smt-site-toggle { display: none; }
.smt-site-guest { font-size: 13px; color: #718078; }
.smt-site-header a:focus-visible, .smt-site-header button:focus-visible { outline: 3px solid #19875466; outline-offset: 2px; }
.smt-skip-link { position: fixed; top: -80px; left: 16px; z-index: 1100; padding: 12px; background: #fff; color: #146c43; border-radius: 8px; }
.smt-skip-link:focus { top: 8px; }
.smt-site-page .smt-settings-main { min-width: 0; padding: 24px 20px 40px; }
.smt-site-page .smt-settings-card, .smt-site-page .smt-settings-breadcrumb, .smt-site-page .smt-alert, .smt-page-heading { width: min(960px, 100%); }
.smt-page-heading { margin: 0 auto 20px; }
.smt-page-heading h1 { margin: 0; font-size: 24px; font-weight: 700; line-height: 1.3; color: #294536; }
.smt-site-page .smt-settings-breadcrumb { margin-bottom: 16px; }
.smt-order-filters-page .smt-order-filters-wrap, .smt-order-filters-page .smt-settings-breadcrumb, .smt-order-filters-page .smt-page-heading { width: min(1200px, 100%); }
.smt-notifications-page .smt-notifications-wrap, .smt-notifications-page .smt-settings-breadcrumb, .smt-notifications-page .smt-page-heading { width: min(1440px, 100%); }
.smt-archive-page .smt-archive-wrap { width: min(1200px, 100%); }
.smt-archive-page .smt-archive-wrap .smt-settings-card, .smt-archive-page .smt-archive-wrap .smt-settings-breadcrumb { width: 100%; max-width: none; margin-left: 0; margin-right: 0; }
.smt-archive-page .smt-archive-title, .smt-archive-page .smt-archive-subtitle, .smt-archive-page .breadcrumb-item { overflow-wrap: anywhere; }
.smt-site-page .smt-settings-shell { min-height: 100dvh; }
.smt-site-page .smt-settings-shell > .smt-site-header { flex-shrink: 0; }
.smt-site-page .smt-auth-shell { min-height: calc(100dvh - 64px); }
.smt-auctions-page #smt-preloader { inset: 64px 0 0; min-height: calc(100dvh - 64px); z-index: 1000; }
.smt-site-page .smt-order-filters-wrap > .smt-settings-card, .smt-site-page .smt-notifications-wrap > .smt-settings-card { width: 100%; max-width: none; margin-left: 0; margin-right: 0; }
@media (max-width: 1039.98px) {
    .smt-site-bar { gap: 12px; padding: 0 16px; }
    .smt-site-brand { flex-basis: auto; }
    .smt-site-links { display: none; position: absolute; top: 64px; left: 0; right: 0; padding: 12px 16px; background: #fff; border-bottom: 1px solid #dce5df; box-shadow: 0 10px 18px #173b2514; }
    .smt-site-header[data-open="true"] .smt-site-links { display: grid; gap: 4px; }
    .smt-site-links > a { justify-content: flex-start; min-height: 44px; }
    .smt-site-toggle { display: inline-flex; }
    .smt-site-profile { width: 40px; padding: 0; justify-content: center; }
    .smt-site-profile > span { display: none; }
}
@media (max-width: 480px) {
    .smt-site-bar { padding: 0 12px; gap: 8px; }
    .smt-site-brand > span:last-child { display: none; }
    .smt-site-actions { gap: 6px; }
    .smt-site-page .smt-settings-main { padding: 20px 12px 32px; }
    .smt-page-heading h1 { font-size: 21px; }
    .smt-archive-page .smt-archive-hero, .smt-archive-page .smt-archive-section { padding: 18px; }
}
