.public-document { margin: 0; background: #fff; }
.public-account-label-short { display: none; }
html.app-dark .public-document { background: #101820; }
.site-shell {
    display: flex;
    width: 100%;
    min-height: 100vh;
    flex-direction: column;
    margin: 0 auto;
    overflow: hidden;
    background: #fff;
    color: #152538;
    color-scheme: light;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}
.site-shell, .site-shell *, .site-shell *::before, .site-shell *::after { box-sizing: border-box; }
.site-shell a { color: inherit; }
.site-shell a:hover { color: #e86626; }
.site-shell a:active { color: #c95119; }
html.app-dark .site-shell { background: #101820; color: #f4f7fb; color-scheme: dark; }
.site-main { flex: 1 0 auto; }
.guest-static-shell { width: 100%; }
.guest-static-main { width: 100%; }
.site-header, .site-footer { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.site-header { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { color: #e86626; font-size: 1.55rem; font-weight: 850; letter-spacing: -.055em; text-decoration: none; }
.brand img { display: block; width: auto; height: 34px; }
.brand-dark { display: none !important; }
html.app-dark .brand-light { display: none !important; }
html.app-dark .brand-dark { display: block !important; }
.site-header__actions, .site-footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 26px; }
.site-header__actions a, .site-footer nav a { color: #314458; font-size: .95rem; font-weight: 650; text-decoration: none; }
.site-header__actions a:hover, .site-footer nav a:hover { color: #e86626; }
.site-header__actions .button { color: #fff; }
.site-header__actions .button:hover { color: #fff; }
.site-shell .button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 13px 22px; border: 0; border-radius: 9px; background: #e86626; color: #fff; font-size: .98rem; font-weight: 780; text-decoration: none; transition: background-color .18s ease, transform .18s ease; }
.site-shell .button:hover { background: #c95119; transform: translateY(-1px); }
.site-shell .button-small { min-height: 42px; padding: 10px 16px; }
.public-login-prompt { width: min(28rem, calc(100% - 32px)); padding: 1.75rem; border: 1px solid #dce4ec; border-radius: 1rem; background: #fff; color: #152538; box-shadow: 0 24px 80px #0c1b2b40; }
.public-login-prompt::backdrop { background: #0c1b2bcc; }
.public-login-prompt h2 { margin: 0 2rem .5rem 0; font-size: 1.35rem; }
.public-login-prompt p { color: #526477; line-height: 1.6; }
.public-login-prompt__close { position: absolute; top: .65rem; right: .75rem; width: 2rem; height: 2rem; border: 0; border-radius: 50%; background: transparent; color: inherit; font-size: 1.5rem; cursor: pointer; }
.public-login-prompt__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 1rem; margin-top: 1.25rem; }
.public-login-prompt__actions > a:first-child { color: #314458; font-weight: 650; text-decoration: none; }
html.app-dark .public-login-prompt { border-color: #415366; background: #1b2936; color: #f4f7fb; }
html.app-dark .public-login-prompt p, html.app-dark .public-login-prompt__actions > a:first-child { color: #bdcad7; }
.site-main { min-height: 35vh; }
.site-footer { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; padding: 28px 0 38px; border-top: 1px solid #e4eaf0; }
.site-footer__content { display: grid; width: 100%; justify-items: stretch; gap: 20px; }
.site-footer nav { justify-content: flex-end; gap: 14px 24px; }
.site-footer nav a { font-size: .86rem; font-weight: 550; }
.site-footer__preferences { display: flex; align-items: flex-end; flex-direction: column; gap: 6px; }
.public-language-switcher, .public-theme-switcher { display: grid; grid-template-columns: 5.5rem auto; align-items: center; justify-items: end; gap: 8px; color: #526477; font-size: .88rem; }
.public-language-switcher__label, .public-footer-control-label { font-weight: 650; }
.public-language-switcher__buttons, .public-theme-switcher__buttons { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.public-language-switcher form { display: inline-flex; margin: 0; }
.public-language-switcher button, .public-theme-switcher button { padding: 5px 9px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: #314458; cursor: pointer; font: inherit; }
.public-theme-switcher button { display: inline-grid; width: 2rem; height: 2rem; place-items: center; padding: .35rem; }
.public-theme-switcher svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.public-language-switcher button:hover:not(:disabled), .public-theme-switcher button:hover { border-color: #e2eaf0; color: #c95119; }
.public-language-switcher button:disabled, .public-theme-switcher button[aria-pressed="true"] { border-color: #e2eaf0; background: #f4f8fb; color: #152538; cursor: default; font-weight: 700; }
html.app-dark .site-footer { border-color: #344454; }
html.app-dark .site-header__actions a, html.app-dark .site-footer nav a { color: #d7e0ea; }
html.app-dark .public-theme-switcher, html.app-dark .public-language-switcher { color: #b9c7d5; }
html.app-dark .public-theme-switcher button, html.app-dark .public-language-switcher button { color: #e5edf5; }
html.app-dark .public-language-switcher button:disabled, html.app-dark .public-theme-switcher button[aria-pressed="true"] { border-color: #415366; background: #263747; color: #fff; }
html.app-dark .public-info, html.app-dark .marketplace-page, html.app-dark .public-marketplace { color: #e5edf5; }
html.app-dark .public-info a, html.app-dark .marketplace-page a, html.app-dark .public-marketplace a { color: #ffad7a; }
html.app-dark .public-info__lead, html.app-dark .public-info__post time { color: #bdcad7; }
html.app-dark .public-info__post, html.app-dark .public-marketplace__card, html.app-dark .marketplace-card, html.app-dark .marketplace-empty { border-color: #344454; background: #1b2936; }

@media (max-width: 680px) {
    .site-header, .site-footer { width: min(100% - 36px, 560px); }
    .site-header { min-height: 74px; gap: 10px; }
    .site-header .brand { flex: 0 0 auto; }
    .site-header .brand img { width: 100px; height: auto; }
    .site-header__actions { flex-wrap: nowrap; gap: 10px; }
    .site-header__actions a { display: inline-flex; align-items: center; min-height: 44px; font-size: .75rem; white-space: nowrap; }
    .site-header .public-account-label-full { display: none; }
    .site-header .public-account-label-short { display: inline; }
    .site-shell .site-header__actions .button-small { padding: 8px; font-size: .75rem; }
    .site-footer { align-items: flex-start; flex-direction: column; }
    .site-footer__content { justify-items: stretch; }
    .site-footer nav { justify-content: flex-start; gap: 14px 20px; }
    .site-footer__preferences { align-items: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
    .site-shell *, .site-shell *::before, .site-shell *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
