:root {
    --theme-primary: #171b23;
    --theme-accent: #d4643d;
    --font-family-base: "Inter", "Segoe UI", Arial, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.62;
    --button-radius: 0.65rem;
    --card-radius: 1rem;
    --shadow-strength: 0.26;
    --section-space: 4.5rem;
    --ka-accent: #d7643d;
    --ka-accent-hover: #b94e2c;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    text-rendering: optimizeLegibility;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.btn {
    border-radius: var(--button-radius);
    font-weight: 500;
    transition: all .2s ease;
}

.btn-accent {
    color: #171717;
    border-color: transparent;
    background: linear-gradient(135deg, var(--theme-accent), #ffbe4a);
    box-shadow: 0 12px 30px rgba(245, 158, 11, calc(var(--shadow-strength) + .1));
}

.btn-accent:hover {
    transform: translateY(-1px);
    color: #141414;
    background: linear-gradient(135deg, #ffc14f, #ff9f1f);
}

.content-card {
    background: linear-gradient(180deg, rgba(30, 37, 50, .94), rgba(18, 24, 34, .94));
    border: 1px solid #2f3a4d;
    border-radius: var(--card-radius);
    box-shadow: 0 16px 36px rgba(0, 0, 0, var(--shadow-strength));
}

/* Public layout */
.public-body {
    background: radial-gradient(circle at 0% 0%, #232b38 0%, #131923 44%, #0d1118 100%);
    color: #f6f8fb;
    padding-top: var(--public-header-offset, 84px);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1100;
    backdrop-filter: blur(12px);
}

.top-strip {
    background: rgba(7, 11, 16, .92);
    border-bottom: 1px solid #1d2735;
}

.main-navbar {
    background: rgba(12, 16, 24, .86);
    border-bottom: 1px solid #263245;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .3);
}

.main-navbar .nav-link {
    color: #d5dfec;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link:focus {
    color: #ffffff;
}

.site-main {
    overflow: clip;
}

.site-main > section {
    margin-top: 0;
}

.hero-section {
    position: relative;
    background-color: #10141b;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 1px solid #2a3546;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, var(--hero-overlay, .45));
    backdrop-filter: blur(var(--hero-blur, 1.5px));
}

.hero-home {
    padding-top: var(--section-space);
    padding-bottom: calc(var(--section-space) - .7rem);
}

.min-vh-50 {
    min-height: 52vh;
}

@media (max-width: 767.98px) {
    .min-vh-50 {
        min-height: 42vh;
    }

    .hero-home {
        padding-top: calc(var(--section-space) * .75);
        padding-bottom: calc(var(--section-space) * .55);
    }
}

@media (max-width: 575.98px) {
    .min-vh-50 {
        min-height: 36vh;
    }

    .hero-home {
        padding-top: calc(var(--section-space) * .55);
        padding-bottom: calc(var(--section-space) * .4);
    }
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: .38rem .8rem;
    border-radius: 999px;
    border: 1px solid #3a4c67;
    background: rgba(5, 9, 14, .58);
    color: #d7e0ec;
    font-size: .8rem;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.stats-row .hero-stat {
    background: linear-gradient(180deg, #ffffff, #eef3f9);
    border-radius: .8rem;
    color: #111827;
    text-align: center;
    padding: .8rem .55rem;
    height: 100%;
}

.stats-row .hero-stat strong {
    display: block;
    font-size: 1.2rem;
}

.stats-row .hero-stat span {
    font-size: .78rem;
    color: #4b5563;
}

.interactive-stack {
    display: grid;
    gap: .75rem;
}

.stack-item {
    display: flex;
    justify-content: space-between;
    gap: .7rem;
    align-items: center;
    border-radius: var(--card-radius);
    padding: 1rem 1.1rem;
    text-decoration: none;
    color: #111827;
    background: linear-gradient(180deg, rgba(253, 253, 254, .98), rgba(239, 244, 251, .95));
    border: 1px solid rgba(255, 255, 255, .6);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
    transition: transform .2s ease, box-shadow .2s ease;
}

.stack-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, .26);
}

.stack-item.highlight {
    color: #f8fafc;
    background: linear-gradient(140deg, #131821, #1d2634);
    border-color: #2d3a50;
}

.inner-hero {
    background: radial-gradient(circle at 75% 0%, rgba(245, 158, 11, .2), transparent 40%), #10141b;
    border-bottom: 1px solid #2d384a;
}

.section-light {
    background: linear-gradient(180deg, #141a24 0%, #111722 100%);
    border-top: 1px solid #28364a;
    border-bottom: 1px solid #28364a;
}

.benefit-card {
    height: 100%;
    background: linear-gradient(180deg, rgba(28, 36, 48, .96), rgba(19, 25, 35, .96));
    border: 1px solid #2f3d54;
    border-radius: var(--card-radius);
    padding: 1.15rem;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .2);
}

.benefit-card h3 {
    font-size: 1.06rem;
    margin-bottom: .42rem;
}

.benefit-card p {
    margin: 0;
    color: #9fb0c6;
}

.cta-band {
    background: radial-gradient(circle at center, rgba(245, 158, 11, .16), transparent 54%), #0f151f;
    border-top: 1px solid #2b374b;
    border-bottom: 1px solid #2b374b;
}

.mega-menu {
    width: min(920px, 92vw);
    background: #141b26;
    border: 1px solid #2e3a4f;
    border-radius: .95rem;
}

.mega-menu .dropdown-item {
    border-radius: .55rem;
    color: #d7e1ed;
    padding: .5rem .62rem;
}

.mega-menu .dropdown-item:hover {
    color: #fff;
    background: #1d2736;
}

.menu-highlight {
    background: linear-gradient(180deg, #121821, #0f141c);
    border: 1px solid #2e3a4f;
    border-radius: .85rem;
}

.sticky-panel {
    position: sticky;
    top: 7.1rem;
}

.page-content-scroll {
    max-height: 76vh;
    overflow: auto;
    scrollbar-width: thin;
}

@media (max-width: 1199.98px) {
    .sticky-panel {
        position: static;
    }

    .page-content-scroll {
        max-height: none;
        overflow: visible;
    }
}

@media (max-width: 991.98px) {
    .admin-sidebar {
        position: static;
    }

    .admin-topbar-title {
        font-size: 1.18rem;
    }
}

/* --- EC-MS inspired public overrides --- */
.public-body {
    background: #f3f6fb !important;
    color: #12263a !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overscroll-behavior-x: none;
}

.site-main {
    flex: 1 0 auto;
}

.main-navbar {
    background: #ffffff !important;
    border-bottom: 1px solid #dbe3ef !important;
    box-shadow: 0 6px 16px rgba(21, 38, 61, .08) !important;
    padding-top: .4rem !important;
    padding-bottom: .4rem !important;
}

.main-navbar .navbar-brand,
.main-navbar .nav-link {
    color: #12263a !important;
}

.site-logo {
    display: inline-block;
    width: auto;
    height: 74px;
    max-width: 380px;
    object-fit: contain;
}

.main-navbar-guest .site-logo {
    height: 86px;
    max-width: 460px;
}

.guest-auth-nav {
    gap: 1.05rem;
}

.logged-in-header-nav {
    gap: 1.25rem;
    color: #161a17;
    font-size: 1rem;
    font-weight: 700;
}

.logged-in-email {
    white-space: nowrap;
}

.logged-in-logout {
    color: #d7643d;
    text-decoration: none;
    font-weight: 900;
    white-space: nowrap;
}

.logged-in-logout:hover,
.logged-in-logout:focus {
    color: #b94e2c;
    text-decoration: underline;
}

.notification-bell-button {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #d7643d;
    font-size: 1.45rem;
}

.notification-bell-button:hover,
.notification-bell-button:focus {
    background: #fff0e8;
    color: #b94e2c;
}

.notification-bell-button span {
    position: absolute;
    top: .18rem;
    right: .18rem;
    min-width: 1.1rem;
    height: 1.1rem;
    display: inline-grid;
    place-items: center;
    padding: 0 .25rem;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #bd1717;
    color: #fff;
    font-size: .68rem;
    font-weight: 900;
    line-height: 1;
}

.notification-dropdown-menu {
    width: min(360px, calc(100vw - 2rem));
    border: 1px solid #dbe3df;
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(18, 31, 27, .18);
    padding: .55rem;
}

.notification-dropdown-head {
    display: grid;
    gap: .12rem;
    padding: .7rem .75rem .8rem;
    border-bottom: 1px solid #edf2ef;
    margin-bottom: .35rem;
}

.notification-dropdown-head strong {
    color: #17231f;
}

.notification-dropdown-head span,
.notification-dropdown-empty,
.notification-dropdown-item span {
    color: #62716b;
    font-size: .9rem;
}

.notification-dropdown-item,
.notification-dropdown-all {
    display: grid;
    gap: .18rem;
    padding: .65rem .75rem;
    border-radius: 6px;
    color: #17231f;
    text-decoration: none;
}

.notification-dropdown-item:hover,
.notification-dropdown-item:focus,
.notification-dropdown-all:hover,
.notification-dropdown-all:focus {
    background: #f4f7f5;
    color: #17231f;
}

.notification-dropdown-item strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notification-dropdown-empty {
    padding: .85rem .75rem;
}

.notification-dropdown-all {
    margin-top: .2rem;
    color: #b94e2c;
    font-weight: 900;
    text-align: center;
}

.guest-register-link,
.guest-login-link {
    min-height: 3.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 900;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
}

.guest-register-link {
    border: 3px solid #8d9289;
    color: #b94e2c;
    padding: .55rem 1.7rem;
    background: #fff;
}

.guest-register-link:hover,
.guest-register-link:focus {
    color: #9f3f22;
    border-color: #697066;
    background: #fff6f1;
}

.guest-auth-or {
    display: inline-flex;
    align-items: center;
    min-height: 3.25rem;
    color: #161a17;
    font-weight: 500;
}

.guest-login-link {
    gap: .7rem;
    color: #fff;
    background: #d7643d;
    padding: .65rem 1.85rem;
}

.guest-login-link:hover,
.guest-login-link:focus {
    color: #fff;
    background: #b94e2c;
}

.guest-login-link i {
    font-size: 1.35rem;
    line-height: 1;
}

.main-navbar .nav-link:hover {
    color: #0d6efd !important;
}

.main-navbar .nav-services-dropdown .dropdown-menu {
    min-width: 250px;
    border: 1px solid #dbe3ef;
    box-shadow: 0 10px 22px rgba(16, 33, 56, .12);
}

.main-navbar .nav-services-dropdown .dropdown-item {
    color: #12263a;
    white-space: normal;
}

.main-navbar .nav-services-dropdown .dropdown-item:hover,
.main-navbar .nav-services-dropdown .dropdown-item:focus {
    background: #f1f6ff;
    color: #0a3e74;
}

.main-navbar .container {
    flex-wrap: nowrap;
}

.main-navbar .navbar-brand {
    min-width: 0;
    flex: 1 1 auto;
    margin-right: .6rem;
}

.main-navbar .navbar-brand .navbar-brand-text {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.main-navbar .navbar-toggler {
    flex: 0 0 auto;
}

.mobile-guest-auth-actions {
    display: none;
    align-items: center;
    gap: .55rem;
    margin-left: auto;
}

.mobile-notification-dropdown {
    display: none;
    margin-left: auto;
}

.mobile-header-account-dropdown {
    display: none;
    margin-left: .55rem;
    position: relative;
}

.mobile-header-account-button {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    border: 0;
    background: transparent;
    color: #153e35;
    padding: .1rem 0;
}

.mobile-header-account-button .account-avatar {
    width: 3.25rem;
    height: 3.25rem;
    font-size: 1.25rem;
    box-shadow: 0 8px 18px rgba(21, 62, 53, .16);
}

.mobile-header-account-button::after {
    border-top-color: #153e35;
    border-top-width: .38em;
    border-right-width: .38em;
    border-left-width: .38em;
}

.mobile-header-account-menu {
    width: min(86vw, 340px);
    margin-top: .75rem;
}

.mobile-guest-auth-link {
    width: 3rem;
    height: 3rem;
    display: inline-grid;
    place-items: center;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1.35rem;
    line-height: 1;
}

.mobile-guest-auth-register {
    border: 1px solid #d0d7d2;
    background: #fff;
    color: #b94e2c;
}

.mobile-guest-auth-login {
    background: #d7643d;
    color: #fff;
    box-shadow: 0 10px 24px rgba(124, 48, 24, .18);
}

.mobile-guest-auth-link:hover,
.mobile-guest-auth-link:focus {
    transform: translateY(-1px);
}

.mobile-app-nav {
    display: none;
}

.ka-login-modal[hidden] {
    display: none !important;
}

.ka-login-modal {
    position: fixed;
    inset: 0;
    z-index: 1090;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.ka-login-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 31, 27, .48);
    backdrop-filter: blur(2px);
}

.ka-login-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 460px);
    max-height: calc(100vh - 2rem);
    overflow: auto;
    background: #fff;
    border: 1px solid #dbe3df;
    border-radius: 16px;
    padding: 1.2rem;
    box-shadow: 0 24px 70px rgba(18, 31, 27, .28);
}

.ka-login-modal-close {
    position: absolute;
    top: .75rem;
    right: .75rem;
    width: 2.35rem;
    height: 2.35rem;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: #f4f7f5;
    color: #17231f;
    font-size: 1rem;
}

.ka-login-modal-close:hover,
.ka-login-modal-close:focus {
    background: #fff0e8;
    color: #b94e2c;
}

.ka-login-modal-head {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .85rem;
    align-items: start;
    padding-right: 2.25rem;
}

.ka-login-modal-icon {
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #fff0e8;
    color: #d7643d;
    font-size: 1.35rem;
}

.ka-login-modal-head h2 {
    margin: 0;
    color: #17231f;
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: 0;
}

.ka-login-modal-head p {
    margin: .25rem 0 0;
    color: #62716b;
    line-height: 1.45;
}

.ka-login-modal-form {
    display: grid;
    gap: .85rem;
    margin-top: 1.1rem;
}

.ka-login-modal-field label {
    display: block;
    margin-bottom: .35rem;
    color: #17231f;
    font-weight: 800;
}

.ka-login-modal-field .form-control {
    min-height: 3rem;
    border-color: #d0d7d2;
    border-radius: 10px;
}

.ka-login-modal-field .form-control:focus {
    border-color: #d7643d;
    box-shadow: 0 0 0 .2rem rgba(215, 100, 61, .18);
}

.ka-login-modal-submit {
    min-height: 3.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    border-radius: 999px;
    font-weight: 900;
}

.ka-login-modal-foot {
    display: flex;
    gap: .45rem;
    align-items: center;
    justify-content: center;
    color: #62716b;
    font-weight: 700;
}

.ka-login-modal-foot a {
    color: #b94e2c;
    font-weight: 900;
}

body.ka-login-modal-open {
    overflow: hidden;
}

body.ka-login-modal-open .mobile-app-nav {
    display: none !important;
}

.mobile-app-nav-icon-wrap {
    position: relative;
    display: inline-grid;
    place-items: center;
}

.mobile-app-nav-badge {
    position: absolute;
    top: -.45rem;
    right: -.65rem;
    min-width: 1.05rem;
    height: 1.05rem;
    padding: 0 .28rem;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: #d63d2d;
    color: #fff;
    border: 2px solid rgba(18, 62, 53, .98);
    font-size: .62rem;
    font-weight: 900;
    line-height: 1;
}

body.modal-open .mobile-app-nav,
body.builder-active .mobile-app-nav {
    display: none !important;
}

@media (max-width: 767.98px) {
    body.public-body {
        padding-bottom: calc(5.35rem + env(safe-area-inset-bottom));
    }

    .ka-login-modal {
        align-items: end;
        place-items: end center;
        padding: .65rem;
        padding-bottom: calc(.65rem + env(safe-area-inset-bottom));
    }

    .ka-login-modal-dialog {
        width: 100%;
        max-height: calc(100vh - var(--public-header-offset, 96px) - 1rem);
        border-radius: 16px 16px 12px 12px;
        padding: 1rem;
    }

    .ka-login-modal-head {
        gap: .7rem;
    }

    .ka-login-modal-icon {
        width: 2.65rem;
        height: 2.65rem;
    }

    .ka-login-modal-head h2 {
        font-size: 1.45rem;
    }

    .ka-login-modal-head p {
        font-size: .95rem;
    }

    .main-navbar .navbar-brand {
        gap: .45rem !important;
        max-width: calc(100% - 4.15rem);
    }

    .main-navbar .navbar-brand .navbar-brand-text {
        font-size: clamp(.98rem, 3.8vw, 1.25rem);
        white-space: normal;
        line-height: 1.08;
        overflow: hidden;
        text-overflow: unset;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .main-navbar .site-logo {
        height: 52px;
        max-width: 280px;
    }

    .main-navbar-guest .site-logo {
        height: 52px;
        max-width: 280px;
    }

    .main-navbar .navbar-toggler {
        display: none !important;
        padding: .42rem .56rem;
    }

    .mobile-header-account-dropdown {
        display: block;
    }

    .mobile-notification-dropdown {
        display: block;
    }

    .mobile-notification-dropdown .notification-bell-button {
        background: #fff5ee;
        width: 2.55rem;
        height: 2.55rem;
        font-size: 1.15rem;
    }

    .mobile-notification-dropdown .notification-dropdown-menu {
        position: fixed !important;
        top: calc(var(--public-header-offset, 96px) + .35rem) !important;
        right: .55rem !important;
        left: .55rem !important;
        transform: none !important;
        width: auto;
        min-width: 0;
        max-height: calc(100vh - var(--public-header-offset, 96px) - 1rem);
        overflow-y: auto;
    }

    .notification-dropdown-menu {
        padding: .45rem;
    }

    .notification-dropdown-head {
        padding: .55rem .6rem .65rem;
    }

    .notification-dropdown-item,
    .notification-dropdown-all {
        padding: .6rem .65rem;
    }

    .notification-dropdown-item strong {
        overflow: visible;
        text-overflow: unset;
        white-space: normal;
    }

    .notification-dropdown-head span,
    .notification-dropdown-empty,
    .notification-dropdown-item span {
        font-size: .84rem;
        line-height: 1.3;
    }

    .logged-in-header-nav {
        gap: .75rem;
        font-size: .95rem;
    }

    .main-navbar-guest .navbar-brand {
        max-width: calc(100% - 7.1rem);
    }

    .main-navbar:not(.main-navbar-guest) .navbar-brand {
        max-width: calc(100% - 7.8rem);
    }

    .mobile-guest-auth-actions {
        display: inline-flex;
    }

    .mobile-app-nav {
        position: fixed;
        left: .7rem;
        right: .7rem;
        bottom: calc(.6rem + env(safe-area-inset-bottom));
        z-index: 1040;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        align-items: center;
        gap: .18rem;
        min-height: 4.2rem;
        padding: .42rem;
        border: 1px solid rgba(255, 255, 255, .18);
        border-radius: 999px;
        background: rgba(18, 62, 53, .96);
        box-shadow: 0 16px 35px rgba(13, 28, 23, .28);
        -webkit-backdrop-filter: blur(16px);
        backdrop-filter: blur(16px);
    }

    .mobile-app-nav-item {
        position: relative;
        min-width: 0;
        min-height: 3.35rem;
        padding: .36rem .25rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: .14rem;
        border-radius: 999px;
        color: rgba(255, 255, 255, .78);
        text-decoration: none;
        font-size: .68rem;
        font-weight: 800;
        line-height: 1.05;
        transition: background-color .18s ease, color .18s ease, transform .18s ease;
    }

    .mobile-app-nav-item i {
        font-size: 1.28rem;
        line-height: 1;
    }

    .mobile-app-nav-item span:last-child {
        max-width: 100%;
        overflow: hidden;
        overflow-wrap: anywhere;
        text-align: center;
        white-space: normal;
    }

    .mobile-app-nav-item:hover,
    .mobile-app-nav-item:focus,
    .mobile-app-nav-item.active {
        color: #fff;
        background: rgba(215, 100, 61, .88);
    }

    .mobile-app-nav-create {
        color: #fff4df;
    }

    .mobile-app-nav-create i {
        font-size: 1.36rem;
    }

    .mobile-app-nav-create.active,
    .mobile-app-nav-create:hover,
    .mobile-app-nav-create:focus {
        background: #f6c347;
        color: #17231f;
        box-shadow: 0 8px 18px rgba(246, 195, 71, .24);
    }
}

@media (max-width: 420px) {
    .main-navbar .navbar-brand {
        align-items: flex-start !important;
    }

    .main-navbar .navbar-brand .navbar-brand-text {
        font-size: clamp(.82rem, 3.7vw, 1rem);
        line-height: 1.05;
        margin-top: .02rem;
    }

    .main-navbar .site-logo {
        height: 44px;
        max-width: min(225px, calc(100vw - 6.1rem));
    }

    .main-navbar-guest .site-logo {
        height: 44px;
        max-width: 225px;
    }

    .mobile-header-account-button .account-avatar {
        width: 2.65rem;
        height: 2.65rem;
        font-size: 1rem;
    }

    .mobile-notification-dropdown .notification-bell-button {
        width: 2.45rem;
        height: 2.45rem;
    }
}

.offcanvas {
    background: #ffffff;
    color: #12263a;
    z-index: 1300;
}

.offcanvas-backdrop {
    z-index: 1290;
}

.hero-home {
    min-height: var(--hero-min-height, 52vh);
    height: var(--hero-height, auto);
    padding-top: 4.8rem !important;
    padding-bottom: 4.2rem !important;
    border-bottom: 0 !important;
}

.hero-home.has-custom-hero-height .min-vh-50 {
    min-height: 100% !important;
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
}

.hero-home .hero-overlay {
    background: linear-gradient(90deg, rgba(16, 27, 43, .72) 0%, rgba(16, 27, 43, .48) 38%, rgba(16, 27, 43, .18) 100%) !important;
}

.hero-home .display-4,
.hero-home .text-hero-sub {
    color: #ffffff !important;
}

.hero-home .btn-outline-primary {
    background: #ffffff !important;
    border-color: #ffffff !important;
    color: #0f2742 !important;
    opacity: 1 !important;
}

.hero-home .btn-outline-primary:hover,
.hero-home .btn-outline-primary:focus {
    background: #f4f8ff !important;
    border-color: #f4f8ff !important;
    color: #0b2138 !important;
}

.section-white {
    background: #ffffff;
    border-top: 1px solid #e8eef7;
    border-bottom: 1px solid #e8eef7;
}

.section-soft {
    background: #eef3fa;
    border-top: 1px solid #e0e8f3;
    border-bottom: 1px solid #e0e8f3;
}

.section-white .text-secondary,
.section-soft .text-secondary {
    color: #4d6480 !important;
}

#kontaktformular,
#kontaktdaten {
    scroll-margin-top: 110px;
}

.contact-business-card {
    border-radius: 1rem !important;
    overflow: hidden;
}

.contact-business-card-head {
    padding: 1.15rem 1.35rem 1rem;
    background: linear-gradient(145deg, #ffffff 0%, #f4f8ff 100%);
    border-bottom: 1px solid #dde7f4;
}

.contact-business-card-kicker {
    font-size: .78rem;
    letter-spacing: .03em;
    color: #48627d;
    text-transform: uppercase;
    margin-bottom: .35rem;
}

.contact-business-card-body {
    padding: 1.15rem 1.35rem .85rem;
}

.contact-business-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem 1.1rem;
}

.contact-business-card-item {
    background: #f8fbff;
    border: 1px solid #dde8f5;
    border-radius: .7rem;
    padding: .55rem .7rem;
}

.contact-business-card-item-full {
    grid-column: 1 / -1;
}

.contact-business-card-actions {
    padding: .95rem 1.35rem 1.2rem;
    border-top: 1px dashed #d9e4f2;
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}

@media (max-width: 767.98px) {
    .contact-business-card-grid {
        grid-template-columns: 1fr;
    }

    .contact-business-card-actions .btn {
        width: 100%;
    }
}

.public-body .form-control,
.public-body .form-select,
.public-body .form-control:focus,
.public-body .form-select:focus {
    background: #ffffff;
    color: #102a44;
    border-color: #c9d8eb;
    box-shadow: none;
}

.public-body .form-control::placeholder {
    color: #6d839a;
}

.public-body .form-label {
    color: #17314f;
    font-weight: 500;
}

.section-head .h2 {
    font-weight: 700;
    color: #0f2742;
}

.service-card,
.shop-card,
.blog-card {
    background: #ffffff;
    border: 1px solid #dbe5f2;
    border-radius: .95rem;
    padding: 1.15rem;
    height: 100%;
    box-shadow: 0 10px 20px rgba(13, 38, 69, .08);
}

.service-card h3,
.shop-card h3,
.blog-card h3 {
    font-size: 1.1rem;
    margin-bottom: .5rem;
    color: #0f2742;
}

.service-card p,
.shop-card p,
.blog-card p {
    color: #54667d;
    margin-bottom: .85rem;
}

.service-card a,
.shop-card a,
.blog-card a {
    text-decoration: none;
    font-weight: 600;
    color: #0d6efd;
}

.service-card.has-service-hero {
    position: relative;
    overflow: hidden;
    border-color: rgba(206, 220, 237, .7);
    background: #112338;
}

.service-card.has-service-hero::before {
    content: "";
    position: absolute;
    inset: -8px;
    background-image: var(--service-card-bg-image);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: blur(var(--service-card-bg-blur, 0px));
    transform: scale(1.04);
    z-index: 0;
}

.service-card.has-service-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(12, 23, 37, var(--service-card-overlay, .38));
    z-index: 1;
}

.service-card.has-service-hero h3,
.service-card.has-service-hero p,
.service-card.has-service-hero a {
    position: relative;
    z-index: 2;
    color: #f3f8ff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}

.service-card.has-service-hero p {
    color: rgba(237, 244, 252, .92);
}

.service-card.has-service-hero .builder-card-tools {
    position: relative;
    z-index: 3;
    color: rgba(235, 243, 252, .92);
    border-bottom-color: rgba(229, 238, 249, .45);
}

.cta-band {
    background: linear-gradient(180deg, #ffffff 0%, #f3f7fc 100%) !important;
    border-top: 1px solid #dbe5f2 !important;
    border-bottom: 1px solid #dbe5f2 !important;
}

.content-card-light {
    background: #ffffff !important;
    border: 1px solid #dbe5f2 !important;
    color: #1a2f46 !important;
    box-shadow: 0 12px 24px rgba(13, 38, 69, .08) !important;
}

.site-footer {
    background: #ffffff;
    border-top: 1px solid #dedbd5;
    color: #222725;
    margin-top: auto;
}

.site-footer .text-muted,
.site-footer small {
    color: #6f736e !important;
}

.site-footer .footer-main-row {
    row-gap: 1.6rem !important;
    --bs-gutter-x: 2.1rem;
}

.site-footer .footer-title {
    font-size: 1.02rem;
    font-weight: 700;
    color: #151918;
    letter-spacing: .005em;
    margin-bottom: .2rem;
}

.site-footer .footer-subtitle {
    color: #6f736e;
    font-size: .88rem;
    line-height: 1.4;
}

.site-footer .footer-note {
    color: #6f736e;
    font-size: .8rem;
    line-height: 1.5;
    max-width: 46ch;
}

.site-footer .footer-section-head {
    color: #151918;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
    margin-bottom: .45rem;
}

.site-footer .footer-list {
    display: grid;
    gap: .34rem;
    color: #4d544f;
    font-size: .84rem;
    line-height: 1.38;
}

.site-footer .footer-list i {
    color: #d7643d;
}

.site-footer .footer-label {
    color: #6f736e;
    font-weight: 600;
    margin-right: .2rem;
}

.site-footer .footer-meta-value {
    margin-top: .1rem;
    color: #4d544f;
    font-size: .83rem;
    font-weight: 600;
    letter-spacing: .01em;
}

.site-footer .footer-legal-meta {
    margin-top: .55rem;
    padding-top: .5rem;
    border-top: 1px dashed #dedbd5;
    display: grid;
    gap: .2rem;
    color: #4d544f;
    font-size: .79rem;
}

.site-footer .footer-links {
    display: grid;
    gap: .34rem;
}

.site-footer .footer-links a {
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    width: fit-content;
    color: #4d544f;
    text-decoration: none;
    font-size: .8rem;
    line-height: 1.35;
    transition: color .2s ease;
}

.site-footer .footer-links a:hover {
    color: #b94e2c;
}

.site-footer .footer-bottom {
    border-top: 1px solid #dedbd5;
    color: #6f736e;
    font-size: .8rem;
}

.site-footer .footer-service-link {
    display: grid;
    grid-template-columns: 1.05rem minmax(0, 1fr);
    column-gap: .5rem;
    align-items: start;
    color: #4d544f;
    text-decoration: none;
    font-size: .8rem;
    line-height: 1.35;
    transition: color .2s ease;
}

.site-footer .footer-service-link i {
    color: #d7643d;
    width: 1.05rem;
    text-align: center;
    margin-top: .05rem;
}

.site-footer .footer-service-link-text {
    overflow-wrap: anywhere;
}

.site-footer .footer-service-link:hover {
    color: #b94e2c;
}

.site-footer .footer-service-link:hover i {
    color: #b94e2c;
}

.site-footer .footer-social-list {
    display: grid;
    gap: .4rem;
}

.site-footer .footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: #4d544f;
    text-decoration: none;
    font-size: .8rem;
    transition: color .2s ease;
}

.site-footer .footer-social-link i {
    width: 1.05rem;
    text-align: center;
    color: #d7643d;
}

.site-footer .footer-social-link:hover {
    color: #b94e2c;
}

.site-footer .footer-social-link:hover i {
    color: #b94e2c;
}

@media (max-width: 991.98px) {
    .site-footer .footer-main-row {
        --bs-gutter-x: 1.4rem;
    }

}

@media (min-width: 1200px) {
    .site-footer .footer-marketplace-col {
        padding-left: 3.1rem;
    }

    .site-footer .footer-legal-col {
        padding-left: 1.2rem;
    }

    .site-footer .footer-social-col {
        padding-left: 0;
        margin-left: -1rem;
    }
}

.hero-page {
    position: relative;
    background-color: #10141b;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.inner-hero.hero-page {
    min-height: var(--inner-hero-min-height, auto);
    height: var(--inner-hero-height, auto);
    display: flex;
    align-items: center;
    border-bottom: 1px solid #d5e1f1;
}

.inner-hero.hero-page.has-custom-hero-height {
    padding-top: 1.15rem !important;
    padding-bottom: 1.15rem !important;
}

.inner-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(95deg, rgba(12, 28, 47, .78) 0%, rgba(12, 28, 47, .58) 45%, rgba(12, 28, 47, .34) 100%);
}

.inner-hero.hero-page .container {
    position: relative;
    z-index: 1;
    width: 100%;
}

.admin-table-pager {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
    flex-wrap: wrap;
}

.site-builder-toolbar {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1080;
    display: flex;
    gap: .35rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: min(92vw, 470px);
    padding: .45rem;
    border-radius: 1rem;
    border: 1px solid rgba(18, 39, 66, .22);
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 8px 18px rgba(12, 28, 47, .14);
    backdrop-filter: blur(10px);
}

.builder-toolbar-main,
.builder-toolbar-secondary {
    display: inline-flex;
    flex-wrap: wrap;
    gap: .35rem;
    justify-content: flex-end;
}

@media (max-width: 575.98px) {
    .site-builder-toolbar {
        right: .5rem;
        bottom: 5.1rem;
        max-width: calc(100vw - 1rem);
        padding: .45rem;
    }

    .builder-toolbar-main,
    .builder-toolbar-secondary {
        width: 100%;
        justify-content: flex-end;
    }

    .site-builder-toolbar.is-collapsed {
        right: .5rem;
        bottom: .8rem;
    }
}

.site-builder-toolbar.is-collapsed {
    max-width: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.site-builder-toolbar.is-collapsed .builder-toolbar-item {
    display: none !important;
}

.site-builder-toolbar.is-collapsed #builderCollapseBtn {
    width: 38px;
    height: 38px;
    min-width: 38px;
    padding: 0;
    border-radius: 999px;
    background: rgba(15, 39, 66, .72);
    border: 1px solid rgba(219, 229, 242, .6);
    color: #f3f8ff;
    box-shadow: 0 8px 18px rgba(12, 28, 47, .2);
}

.site-builder-toolbar .btn-dark {
    background: #16243a;
    border-color: #203758;
    color: #f2f7ff;
    --bs-btn-padding-y: .3rem;
    --bs-btn-padding-x: .58rem;
    --bs-btn-font-size: .82rem;
}

.site-builder-toolbar .btn-dark:hover {
    background: #1d3150;
    border-color: #294468;
}

.site-builder-toolbar .btn-accent {
    --bs-btn-padding-y: .3rem;
    --bs-btn-padding-x: .62rem;
    --bs-btn-font-size: .82rem;
}

.builder-toolbar-hint {
    display: inline-flex;
    align-items: center;
    padding: .2rem .35rem;
    border-radius: .35rem;
    font-size: .72rem;
    color: #355272;
    background: rgba(237, 244, 255, .9);
}

.builder-card-tools {
    display: none;
    justify-content: space-between;
    align-items: center;
    font-size: .78rem;
    color: #5a6f87;
    margin-bottom: .5rem;
    padding-bottom: .4rem;
    border-bottom: 1px dashed #c9d6e6;
}

.builder-drag-handle {
    cursor: grab;
    user-select: none;
    font-weight: 700;
}

.builder-service-wrap.dragging .service-card {
    opacity: .65;
}

.builder-mode .builder-edit[data-setting] {
    outline: 2px dashed #4d8df6;
    outline-offset: 2px;
    border-radius: .35rem;
    padding: .1rem .22rem;
    background: rgba(77, 141, 246, .08);
}

.builder-mode.builder-move-all-enabled .builder-edit[data-setting],
.builder-mode.builder-move-all-enabled .builder-page-edit[data-page-field] {
    cursor: move;
}

.builder-mode .builder-grab-focus {
    outline: 2px solid rgba(255, 77, 79, .55);
    outline-offset: 2px;
}

.builder-mode .builder-page-edit[data-page-field] {
    outline: 2px dashed #22a06b;
    outline-offset: 2px;
    border-radius: .35rem;
    padding: .1rem .22rem;
    background: rgba(34, 160, 107, .08);
}

.builder-mode .builder-page-html.builder-page-html-editing {
    min-height: 120px;
    display: block;
}

.builder-mode .builder-page-link[data-page-field] {
    outline: 2px dashed #d4643d;
    outline-offset: 2px;
    border-radius: .3rem;
}

.builder-mode .builder-link[data-setting] {
    outline: 2px dashed #d4643d;
    outline-offset: 2px;
    border-radius: .3rem;
}

.builder-mode .builder-card-tools {
    display: flex;
}

.builder-mode .builder-service-wrap {
    cursor: move;
}

.builder-mode .service-hidden .service-card {
    opacity: .35;
    filter: grayscale(.2);
}

.builder-movable {
    position: relative;
    transition: transform .12s ease;
}

.builder-move-handle {
    display: none;
    position: absolute;
    right: 0;
    top: -1.2rem;
    z-index: 3;
    border: 1px dashed #9fb7d8;
    background: rgba(237, 244, 255, .95);
    color: #15406e;
    border-radius: .4rem;
    font-size: .72rem;
    line-height: 1;
    padding: .28rem .45rem;
    cursor: move;
}

.builder-mode .builder-movable .builder-move-handle {
    display: inline-flex;
}

.builder-mode .builder-movable.builder-movable-enabled {
    outline: 1px dashed rgba(77, 141, 246, .45);
    outline-offset: 6px;
}

.builder-mode .builder-movable.is-dragging-block {
    transition: none;
    opacity: .92;
}

.builder-guide-line {
    position: fixed;
    z-index: 1200;
    pointer-events: none;
    opacity: 0;
    transition: opacity .12s ease;
}

.builder-guide-line.show {
    opacity: 1;
}

.builder-guide-x {
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: rgba(255, 77, 79, .92);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .45);
}

.builder-guide-y {
    left: 0;
    right: 0;
    top: 50%;
    height: 2px;
    background: rgba(255, 77, 79, .92);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .45);
}

.builder-distance-label {
    position: fixed;
    z-index: 1201;
    transform: translate(-50%, -50%);
    font-size: .68rem;
    font-weight: 600;
    line-height: 1;
    padding: .2rem .35rem;
    border-radius: .35rem;
    color: #fff;
    background: rgba(15, 39, 66, .92);
    border: 1px solid rgba(255, 255, 255, .28);
    pointer-events: none;
    opacity: 0;
    transition: opacity .12s ease;
}

.builder-distance-label.show {
    opacity: 1;
}

.builder-grid-overlay {
    position: fixed;
    inset: 0;
    z-index: 1195;
    pointer-events: none;
    opacity: 0;
    transition: opacity .12s ease;
    background-image:
        repeating-linear-gradient(to right, rgba(15, 39, 66, .06) 0, rgba(15, 39, 66, .06) 1px, transparent 1px, transparent 12px),
        repeating-linear-gradient(to bottom, rgba(15, 39, 66, .06) 0, rgba(15, 39, 66, .06) 1px, transparent 1px, transparent 12px);
}

.builder-grid-overlay.show {
    opacity: 1;
}

.builder-context-menu {
    position: fixed;
    z-index: 1300;
    min-width: 180px;
    padding: .25rem 0;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: .4rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
    display: none;
}
.builder-context-menu[aria-hidden="false"] {
    display: block;
}
.builder-context-menu-item {
    display: flex;
    align-items: center;
    width: 100%;
    padding: .4rem .75rem;
    border: 0;
    background: 0;
    font-size: .9rem;
    color: #212529;
    text-align: left;
    cursor: pointer;
    white-space: nowrap;
}
.builder-context-menu-item:hover {
    background: #f0f4f8;
}

.builder-format-bar {
    position: absolute;
    z-index: 1100;
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem .5rem;
    background: #1a2f46;
    border-radius: .4rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .25);
}
.builder-format-bar .form-select,
.builder-format-bar .form-control {
    font-size: .8rem;
    padding: .2rem .5rem;
    min-height: auto;
    background: #fff;
    border-color: #2f3a4d;
}
.builder-format-bar label {
    font-size: .75rem;
    color: #c4d4e6;
    margin: 0 .25rem 0 0;
}

.cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 1090;
    display: none;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .2s ease, transform .2s ease;
}

.cookie-banner.show {
    opacity: 1;
    transform: translateY(0);
}

.cookie-banner-inner {
    max-width: 860px;
    margin: 0 auto;
    border-radius: .9rem;
    background: rgba(16, 27, 43, .96);
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: 0 14px 28px rgba(4, 10, 18, .32);
    color: #e8f1ff;
    padding: 1rem 1.1rem;
}

.cookie-banner-inner p {
    color: #d6e4f8;
}

@media (max-width: 575.98px) {
    .cookie-banner {
        left: .6rem;
        right: .6rem;
        bottom: .6rem;
    }
}

/* --- Admin an Public-Design angepasst --- */
.admin-body {
    background: #f3f6fb !important;
    color: #12263a !important;
}

.admin-shell {
    padding-right: 0;
    padding-left: 0;
}

.admin-sidebar {
    background: linear-gradient(180deg, #ffffff, #f6f9fe) !important;
    border-right: 1px solid #dbe5f2 !important;
    box-shadow: 8px 0 18px rgba(13, 38, 69, .05);
    scrollbar-width: thin;
}

.admin-sidebar::after {
    display: none;
}

.admin-brand {
    display: grid;
    gap: .2rem;
}

.admin-brand-kicker {
    color: #5e7289 !important;
}

.admin-brand-title {
    color: #0f2742 !important;
}

.admin-brand-sub {
    color: #5e7289 !important;
}

.admin-nav-link {
    color: #214160 !important;
    border: 1px solid #dbe5f2 !important;
    background: #ffffff !important;
    border-radius: .7rem;
    padding: .58rem .72rem;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    min-height: 2.75rem;
    width: 100%;
}

.admin-nav-link.active,
.admin-nav-link:hover {
    color: #0d6efd !important;
    background: #edf4ff !important;
    border-color: #c9dbf5 !important;
}

.admin-nav-icon {
    width: 1rem;
    text-align: center;
    opacity: .9;
}

.admin-nav-link-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.45rem;
    height: 1.45rem;
    margin-left: auto;
    padding: 0 .42rem;
    border-radius: 999px;
    background: #d85b36;
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 .45rem 1rem rgba(216, 91, 54, .22);
}

.admin-nav-link.active .admin-nav-badge,
.admin-nav-link:hover .admin-nav-badge {
    background: #0f2742;
    color: #fff;
}

.admin-nav-group {
    display: grid;
    gap: .45rem;
}

.admin-nav-group + .admin-nav-group {
    margin-top: .75rem;
}

.admin-nav-group-title {
    padding: 0 .25rem;
    color: #6a7e94;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.admin-nav-group-links {
    display: grid;
    gap: .45rem;
}

.admin-main {
    overflow-x: clip;
    min-width: 0;
}

@media (min-width: 992px) {
    .admin-sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        width: 25%;
        max-width: 25%;
        height: 100vh;
        height: 100dvh;
        max-height: 100vh;
        max-height: 100dvh;
        overflow-y: auto;
        overscroll-behavior: contain;
        z-index: 1020;
    }

    .admin-main {
        flex: 0 0 75%;
        max-width: 75%;
        margin-left: 25%;
    }
}

@media (min-width: 1400px) {
    .admin-sidebar {
        width: 16.66666667%;
        max-width: 16.66666667%;
    }

    .admin-main {
        flex-basis: 83.33333333%;
        max-width: 83.33333333%;
        margin-left: 16.66666667%;
    }
}

.admin-topbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: .8rem;
    position: sticky;
    top: 0;
    z-index: 1040;
    padding: .25rem 0;
    background: rgba(243, 246, 251, .9);
    backdrop-filter: blur(8px);
}

.admin-topbar-title {
    color: #0f2742;
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
}

.admin-topbar-sub {
    color: #58708a;
    font-size: .92rem;
}

.admin-topbar-meta .badge {
    background: #e9f1fc !important;
    color: #17314f !important;
    border-color: #cddff6 !important;
}

.admin-body .content-card,
.admin-body .stat-card {
    background: #ffffff !important;
    border: 1px solid #dbe5f2 !important;
    color: #1a2f46 !important;
    box-shadow: 0 12px 24px rgba(13, 38, 69, .08) !important;
    backdrop-filter: none !important;
}

.admin-body .stat-card {
    border-radius: .85rem;
}

.admin-body .form-control,
.admin-body .form-select,
.admin-body .form-control:focus,
.admin-body .form-select:focus {
    background: #ffffff !important;
    color: #1a2f46 !important;
    border-color: #cedcf0 !important;
    box-shadow: none !important;
}

.admin-body .form-control::placeholder {
    color: #7a8fa6 !important;
}

.admin-body .form-check-input {
    background-color: #ffffff;
    border-color: #b9cee9;
}

.admin-body .form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.admin-body .table {
    border-color: #dbe5f2 !important;
}

.admin-body .table-dark {
    --bs-table-bg: #ffffff;
    --bs-table-striped-bg: #f7faff;
    --bs-table-hover-bg: #eef4fd;
    --bs-table-color: #1a2f46;
    --bs-table-hover-color: #12263a;
    --bs-table-active-bg: #e4eefc;
    --bs-table-active-color: #0f2742;
    --bs-table-border-color: #dbe5f2;
}

.admin-body .table > :not(caption) > * > * {
    color: #1a2f46;
    padding: .82rem .75rem;
    vertical-align: middle;
}

.admin-body .table-hover > tbody > tr:hover > * {
    color: #102a44 !important;
    background-color: #eaf2ff !important;
}

.admin-body .table tbody tr.table-active > * {
    color: #0f2742 !important;
    background-color: #deebff !important;
}

.admin-body .modal-content {
    background: #ffffff !important;
    color: #1a2f46 !important;
    border: 1px solid #dbe5f2 !important;
    box-shadow: 0 16px 30px rgba(13, 38, 69, .13) !important;
}

.admin-body .ecs-ui-modal-content .modal-header {
    border-bottom: 1px solid #dbe5f2;
}

.admin-body .ecs-ui-modal-content .modal-footer {
    border-top: 1px solid #dbe5f2;
}

.admin-body .ecs-ui-modal-content .modal-title {
    color: #0f2742;
}

.acl-permission-group {
    display: grid;
    gap: .55rem;
    padding: .75rem;
    border: 1px solid #dbe5f2;
    border-radius: 8px;
    background: #f8fbff;
}

.acl-permission-group h6 {
    margin: 0;
    color: #0f2742;
    font-size: .86rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.acl-permission-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: .75rem;
    align-items: center;
    padding: .65rem;
    border: 1px solid #e1e9f4;
    border-radius: 8px;
    background: #ffffff;
}

.acl-permission-check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
}

.acl-permission-check {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .55rem;
    align-items: flex-start;
    margin: 0;
    padding: .65rem;
    border: 1px solid #e1e9f4;
    border-radius: 8px;
    background: #ffffff;
    cursor: pointer;
}

.acl-permission-check strong,
.acl-permission-check small {
    display: block;
}

.acl-permission-check small {
    color: #64758b;
    line-height: 1.35;
}

.admin-access-modal-dialog {
    height: calc(100dvh - 2rem);
    max-height: calc(100dvh - 2rem);
}

.admin-access-modal-dialog .modal-content {
    display: flex;
    height: 100%;
    max-height: 100%;
    overflow: hidden;
}

.admin-access-modal-dialog form {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    flex-direction: column;
}

.admin-access-modal-dialog .modal-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.admin-access-modal-dialog .modal-footer {
    position: sticky;
    bottom: 0;
    z-index: 3;
    flex: 0 0 auto;
    border-top: 1px solid #dbe5f2;
    background: #ffffff;
    box-shadow: 0 -10px 22px rgba(13, 38, 69, .08);
}

.ecs-plain-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(15, 24, 35, 0.42);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.ecs-plain-modal-card {
    width: min(560px, 100%);
    background: #ffffff;
    border: 1px solid #dbe5f2;
    border-radius: 1rem;
    box-shadow: 0 16px 30px rgba(13, 38, 69, .16);
    color: #1a2f46;
}

.ecs-plain-modal-header,
.ecs-plain-modal-body,
.ecs-plain-modal-footer {
    padding: 1rem 1.25rem;
}

.ecs-plain-modal-header {
    border-bottom: 1px solid #dbe5f2;
}

.ecs-plain-modal-footer {
    border-top: 1px solid #dbe5f2;
    display: flex;
    justify-content: flex-end;
    gap: .5rem;
}

.admin-body .chip {
    border-color: #cdddf3;
    background: #edf4ff;
    color: #15406e;
}

.admin-body .btn-outline-light {
    color: #0d6efd;
    border-color: #b9d1f3;
    background: #ffffff;
}

.admin-body .btn-outline-light:hover {
    color: #0b5ed7;
    border-color: #9ec0ee;
    background: #edf4ff;
}

.admin-body .btn-outline-warning {
    color: #8a5a00;
    border-color: #e7bd5d;
    background: #fffdf5;
}

.admin-body .btn-outline-warning:hover,
.admin-body .btn-outline-warning:focus {
    color: #5f3c00;
    border-color: #d9a93a;
    background: #ffe9b8;
}

.admin-body .btn-outline-info {
    color: #0b4f70;
    border-color: #79c0dc;
    background: #f3fbff;
}

.admin-body .btn-outline-info:hover,
.admin-body .btn-outline-info:focus {
    color: #06344a;
    border-color: #58a8c8;
    background: #cfefff;
}

.admin-body .btn-outline-danger {
    color: #8f1f2d;
    border-color: #e5a3ab;
    background: #fff6f7;
}

.admin-body .btn-outline-danger:hover,
.admin-body .btn-outline-danger:focus {
    color: #651320;
    border-color: #d67884;
    background: #ffdce1;
}

.admin-body .is-focused-by-link {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.2) !important;
}

.admin-body .btn:focus-visible,
.admin-body .form-control:focus-visible,
.admin-body .form-select:focus-visible,
.public-body .btn:focus-visible,
.public-body .form-control:focus-visible,
.public-body .form-select:focus-visible,
.public-body a:focus-visible,
.admin-body a:focus-visible {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}

.admin-body .text-secondary,
.admin-body .text-muted {
    color: #5d738b !important;
}

.admin-body .table thead th {
    font-size: .82rem;
    letter-spacing: .02em;
    color: #4f6882;
    white-space: nowrap;
}

.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

.admin-actions .btn {
    --bs-btn-padding-y: .25rem;
    --bs-btn-padding-x: .5rem;
    --bs-btn-font-size: .78rem;
}

.admin-table-actions-col {
    min-width: 320px;
}

.admin-actions.admin-actions-icons .btn {
    display: inline-flex;
    align-items: center;
    gap: .2rem;
    white-space: nowrap;
}

.admin-actions.admin-actions-icons .btn i {
    font-size: .85rem;
}

.admin-actions.admin-actions-icons .admin-icon-btn {
    width: 2.15rem;
    height: 2.15rem;
    min-width: 2.15rem;
    padding: 0;
    justify-content: center;
}

.admin-actions.admin-actions-icons .admin-icon-btn i {
    font-size: 1rem;
    line-height: 1;
}

.admin-user-table,
.admin-role-table {
    table-layout: auto;
    border-collapse: separate;
    border-spacing: 0;
}

.admin-user-table tbody tr > td,
.admin-role-table tbody tr > td {
    border-bottom: 1px solid #dbe5f2 !important;
}

.admin-user-table tbody tr:last-child > td,
.admin-role-table tbody tr:last-child > td {
    border-bottom-color: transparent !important;
}

.settings-tabs {
    flex-wrap: wrap;
    gap: .35rem .5rem;
    overflow-x: visible;
    overflow-y: visible;
    scrollbar-width: thin;
    padding-bottom: .25rem;
}

.settings-tabs .nav-link {
    white-space: nowrap;
}

.settings-overview-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.settings-search-wrap {
    position: relative;
    flex: 0 1 420px;
}

.settings-search-wrap i {
    position: absolute;
    top: 50%;
    left: .9rem;
    color: #60778f;
    transform: translateY(-50%);
    pointer-events: none;
}

.settings-search-wrap .form-control {
    padding-left: 2.45rem;
}

.settings-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: .85rem;
}

.settings-overview-card {
    display: grid;
    gap: .35rem;
    width: 100%;
    min-height: 8.6rem;
    padding: 1rem;
    color: #132b44;
    text-align: left;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid #dbe5f2;
    border-radius: .85rem;
    box-shadow: none;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.settings-overview-card:hover,
.settings-overview-card:focus-visible {
    border-color: #d76439;
    box-shadow: 0 12px 24px rgba(215, 100, 57, .14);
    transform: translateY(-1px);
}

.settings-overview-card i {
    color: #d76439;
    font-size: 1.35rem;
}

.settings-overview-card strong {
    font-size: 1rem;
}

.settings-overview-card span {
    color: #60778f;
    font-size: .88rem;
    line-height: 1.35;
}

.settings-search-empty {
    margin-top: 1rem;
    padding: 1rem;
    color: #60778f;
    background: #f8fbff;
    border: 1px dashed #dbe5f2;
    border-radius: .85rem;
}

.settings-group-card {
    border: 1px solid #dbe5f2;
    border-radius: .85rem;
    padding: .95rem;
    background: #f9fbff;
}

.settings-group-title {
    color: #0f2742;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .75rem;
}

.settings-subtabs {
    display: flex;
    flex-wrap: wrap;
    gap: .2rem .35rem;
    overflow-x: visible;
    overflow-y: visible;
    border-bottom: 1px solid rgba(13, 110, 253, .15);
    margin-bottom: 1rem;
}

.settings-subtabs .nav-link {
    color: #6b7280;
    font-size: 0.9rem;
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    padding: 0.4rem 0.9rem;
}

.settings-subtabs .nav-link:hover {
    color: #0d6efd;
}

.settings-subtabs .nav-link.active {
    color: #0d6efd;
    font-weight: 600;
    background: transparent;
    border-bottom-color: #0d6efd;
}

.settings-subtab-content {
    min-height: 1px;
}

.settings-subtab-content > .tab-pane {
    overflow: visible;
}

.admin-tabs-shell {
    overflow: hidden;
}

.admin-subtabs {
    gap: .35rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: .6rem;
    scrollbar-width: thin;
}

.admin-subtabs .nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 2.55rem;
    white-space: nowrap;
}

.admin-category-tab-content {
    padding-top: .35rem;
}

.admin-overview-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .75rem;
}

.admin-overview-tile {
    border: 1px solid #dbe5f2;
    border-radius: .85rem;
    background: #f8fbff;
    padding: .85rem .95rem;
    min-height: 5rem;
}

.admin-overview-tile span {
    display: block;
    color: #5f7893;
    font-weight: 700;
    font-size: .86rem;
    margin-bottom: .25rem;
}

.admin-overview-tile strong {
    color: #102943;
    font-size: 1.65rem;
    line-height: 1;
}

.admin-category-overview-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(20rem, .9fr);
    gap: 1rem;
}

.admin-category-panel {
    border: 1px solid #dbe5f2;
    border-radius: .9rem;
    background: #ffffff;
    padding: 1rem;
}

.admin-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .85rem;
}

.admin-divider {
    border-color: #dbe5f2;
    margin: 1.35rem 0;
    opacity: 1;
}

.admin-category-tree,
.admin-compact-list {
    display: grid;
    gap: .65rem;
    margin-top: .85rem;
}

.admin-category-tree-item,
.admin-compact-row {
    border: 1px solid #e4edf7;
    border-radius: .75rem;
    background: #fbfdff;
    padding: .75rem;
}

.admin-category-tree-main,
.admin-compact-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .7rem;
}

.admin-category-icon {
    display: inline-grid;
    place-items: center;
    width: 2.3rem;
    height: 2.3rem;
    border-radius: .7rem;
    color: #0d6efd;
    background: #eaf3ff;
}

.admin-category-tree-main strong,
.admin-compact-row strong {
    display: block;
    color: #102943;
    line-height: 1.2;
}

.admin-category-tree-main small,
.admin-compact-row small {
    display: block;
    color: #6b8198;
    font-size: .84rem;
    margin-top: .12rem;
}

.admin-category-children {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: .65rem;
    padding-left: 3rem;
}

.admin-category-children span {
    border: 1px solid #dbe5f2;
    border-radius: 999px;
    background: #ffffff;
    color: #415d77;
    font-weight: 700;
    font-size: .8rem;
    padding: .18rem .55rem;
}

.admin-empty-state {
    border: 1px dashed #c8d8ea;
    border-radius: .75rem;
    color: #66809a;
    background: #f8fbff;
    padding: 1rem;
}

.admin-tab-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.admin-user-detail-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.admin-user-score-card {
    display: grid;
    grid-template-columns: minmax(130px, 180px) minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    border: 1px solid #dbe5f2;
    border-left: .45rem solid #7d8b98;
    border-radius: .9rem;
    background: #f8fbff;
    padding: 1rem;
}

.admin-user-score-good {
    border-left-color: #178a4b;
}

.admin-user-score-warning {
    border-left-color: #f4a62a;
}

.admin-user-score-danger {
    border-left-color: #dc3545;
}

.admin-user-score-value {
    color: #102943;
    font-size: clamp(1.55rem, 2vw, 2.15rem);
    font-weight: 900;
    line-height: 1.05;
}

.admin-user-profile-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .75rem;
}

.admin-user-info-card {
    min-width: 0;
    border: 1px solid #dbe5f2;
    border-radius: .85rem;
    background: #ffffff;
    padding: .9rem 1rem;
}

.admin-user-info-card span {
    display: block;
    margin-bottom: .35rem;
    color: #607991;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.admin-user-info-card strong,
.admin-user-info-card small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-user-info-card strong {
    color: #102943;
    font-size: 1rem;
}

.admin-user-info-card small {
    margin-top: .2rem;
    color: #607991;
    font-weight: 700;
}

.admin-user-info-card-wide {
    grid-column: span 2;
}

.admin-user-detail-stats {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: .75rem;
}

.admin-user-signal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

.admin-user-signal {
    display: grid;
    gap: .2rem;
    min-width: 0;
    border: 1px solid #dbe5f2;
    border-radius: .8rem;
    background: #ffffff;
    padding: .9rem;
}

.admin-user-signal.is-warning {
    border-color: #ffd08a;
    background: #fff8ed;
}

.admin-user-signal span {
    color: #607991;
    font-size: .82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.admin-user-signal strong {
    color: #102943;
    font-size: 1.05rem;
}

.admin-user-signal small {
    color: #607991;
    font-weight: 700;
}

.admin-user-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: .75rem;
}

.admin-user-media-section {
    display: grid;
    gap: .75rem;
}

.admin-user-media-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: .5rem;
}

.admin-user-media-section-head h6 {
    margin: 0;
    font-weight: 800;
    color: #102943;
}

.admin-user-media-section-head span {
    color: #607991;
    font-size: .83rem;
    font-weight: 700;
}

.admin-user-media-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: .75rem;
    align-items: center;
    border: 1px solid #dbe5f2;
    border-radius: .75rem;
    background: #f8fbff;
    padding: .7rem;
}

.admin-user-media-card.is-current {
    border-color: rgba(25, 135, 84, .28);
    background: #f4fbf7;
}

.admin-user-media-thumb {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    overflow: hidden;
    border: 1px solid #dbe5f2;
    border-radius: .6rem;
    background: #eef4fb;
    color: #5f7893;
}

.admin-user-media-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-media-scope-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .85rem;
}

.admin-media-scope-card {
    display: grid;
    gap: .6rem;
    padding: .95rem;
    border: 1px solid #dfe7e3;
    border-radius: 8px;
    background: #fbfdfc;
}

.admin-media-scope-card > div:first-child {
    display: flex;
    align-items: center;
    gap: .55rem;
    color: #163c34;
    font-weight: 900;
}

.admin-media-scope-card > div:first-child i {
    display: inline-grid;
    place-items: center;
    width: 32px;
    aspect-ratio: 1;
    border-radius: 8px;
    background: #e8f2ef;
    color: #0d4b3f;
}

.admin-media-scope-card p {
    margin: 0;
    color: #667085;
    font-size: .88rem;
    line-height: 1.35;
}

.admin-media-scope-card dl {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .45rem;
    margin: 0;
}

.admin-media-scope-card dl div {
    min-width: 0;
    padding: .45rem;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #eef2f0;
}

.admin-media-scope-card dt,
.admin-media-scope-card dd {
    margin: 0;
}

.admin-media-scope-card dt {
    color: #7a8782;
    font-size: .72rem;
    font-weight: 800;
}

.admin-media-scope-card dd {
    color: #17231f;
    font-weight: 900;
    font-size: .9rem;
}

.admin-media-scope-card small {
    color: #47564f;
    font-weight: 800;
}

.admin-media-preview-button {
    display: inline-grid;
    place-items: center;
    width: 4.5rem;
    height: 4.5rem;
    padding: .2rem;
    border: 1px solid #dbe5f2;
    border-radius: .5rem;
    background: #fff;
    cursor: zoom-in;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.admin-media-preview-button:hover,
.admin-media-preview-button:focus-visible {
    border-color: var(--admin-accent, #f9a51a);
    box-shadow: 0 .5rem 1.2rem rgba(18, 38, 58, .14);
    transform: translateY(-1px);
}

.admin-media-preview-button img {
    width: 100%;
    height: 100%;
    border-radius: .35rem;
    object-fit: cover;
}

.admin-media-preview-modal .modal-body {
    display: grid;
    place-items: center;
    min-height: 22rem;
    background: #f4f7fb;
}

.admin-media-preview-large {
    max-width: 100%;
    max-height: min(72vh, 48rem);
    border-radius: .65rem;
    object-fit: contain;
    box-shadow: 0 1rem 2.5rem rgba(18, 38, 58, .18);
}

@media (max-width: 991.98px) {
    .admin-media-scope-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .admin-media-scope-grid {
        grid-template-columns: 1fr;
    }

    .admin-media-scope-card dl {
        grid-template-columns: 1fr;
    }
}

.admin-user-media-body {
    display: grid;
    gap: .15rem;
    min-width: 0;
}

.admin-user-media-body strong,
.admin-user-media-body code {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-user-media-body strong {
    color: #102943;
    line-height: 1.2;
}

.admin-user-media-body span {
    color: #607991;
    font-size: .83rem;
    font-weight: 700;
}

.admin-user-media-body code {
    color: #415d77;
    font-size: .76rem;
}

.admin-user-media-delete {
    justify-self: flex-start;
    margin-top: .35rem;
    white-space: normal;
}

.admin-compact-form {
    border: 1px solid #e4edf7;
    border-radius: .9rem;
    background: #f8fbff;
    padding: .95rem;
}

.media-picker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: .75rem;
}

.media-picker-item {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    text-align: left;
    border: 1px solid #dbe5f2;
    border-radius: .65rem;
    background: #fff;
    color: #14324f;
    padding: .5rem;
}

.media-picker-item:hover {
    border-color: #a8c3ea;
    background: #f6faff;
}

.media-picker-thumb {
    width: 100%;
    height: 110px;
    border-radius: .45rem;
    object-fit: cover;
    border: 1px solid #dbe5f2;
    background: #f4f8ff;
}

.media-picker-thumb.media-picker-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #6b839e;
}

.media-picker-caption {
    font-size: .82rem;
    line-height: 1.3;
    color: #3d5876;
    word-break: break-word;
}

.settings-service-accordion .accordion-item {
    border: 1px solid #dbe5f2;
    border-radius: .7rem;
    overflow: hidden;
}

.settings-service-accordion .accordion-item + .accordion-item {
    margin-top: .5rem;
}

.settings-service-accordion .accordion-button {
    background: #ffffff;
    color: #12304c;
    font-weight: 600;
}

.settings-service-accordion .accordion-button:not(.collapsed) {
    background: #edf4ff;
    color: #0d3e73;
}

.settings-service-accordion .accordion-body {
    background: #ffffff;
}

.page-tree-item {
    display: flex;
    align-items: center;
    gap: .4rem;
    min-height: 2rem;
}

.page-tree-depth-1 {
    padding-left: 1rem;
}

.page-tree-branch {
    color: #7a8fa6;
    font-weight: 700;
}

.page-tree-title {
    font-weight: 600;
    color: #14324f;
}

.admin-page-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1rem;
}

.admin-page-title {
    margin: 0;
    color: #0f2742;
    font-size: 1.2rem;
    font-weight: 700;
}

.admin-page-sub {
    margin: .15rem 0 0;
    color: #60778f;
    font-size: .9rem;
}

.admin-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.admin-section-card {
    padding: 1rem 1.15rem;
}

.admin-section-title {
    color: #0f2742;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .75rem;
}

.admin-listings-table {
    --bs-table-bg: #fff;
    --bs-table-striped-bg: #f8fafc;
    --bs-table-hover-bg: #f4f8fc;
    --bs-table-color: #12263a;
    color: #12263a;
}

.admin-listings-table thead th {
    color: #4f6780;
    font-size: .82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.admin-listing-cell {
    display: flex;
    align-items: center;
    gap: .85rem;
    min-width: 17rem;
}

.admin-listing-thumb {
    flex: 0 0 auto;
    width: 4.4rem;
    height: 3.3rem;
    border: 1px solid #dbe5f2;
    border-radius: .55rem;
    object-fit: cover;
    background: #f4f7fb;
}

.admin-listing-thumb-empty {
    display: grid;
    place-items: center;
    color: #60778f;
    font-weight: 800;
}

.admin-listing-title {
    color: #102a44;
    font-weight: 800;
    text-decoration: none;
}

.admin-listing-title:hover,
.admin-listing-title:focus {
    color: #0d6efd;
    text-decoration: underline;
}

.admin-listing-meta {
    color: #60778f;
    font-size: .84rem;
}

.admin-listing-flag {
    color: #9b4b10;
    font-size: .8rem;
    font-weight: 700;
    margin-top: .15rem;
}

.admin-status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 1.65rem;
    padding: .25rem .55rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 800;
    white-space: nowrap;
}

.admin-status-success {
    background: #dff4e9;
    color: #16613c;
}

.admin-status-warning {
    background: #fff3cd;
    color: #7a4b00;
}

.admin-status-danger {
    background: #f8d7da;
    color: #842029;
}

.admin-status-muted {
    background: #edf2f7;
    color: #52677c;
}

.admin-review-modal {
    color: #12263a;
}

.admin-review-image {
    width: 100%;
    min-height: 18rem;
    max-height: 32rem;
    border: 1px solid #dbe5f2;
    border-radius: .75rem;
    object-fit: contain;
    background: #f4f7fb;
}

.admin-review-gallery {
    display: grid;
    gap: .8rem;
}

.admin-review-image-status {
    display: flex;
    justify-content: flex-end;
    margin-top: -.35rem;
}

.admin-review-image-status span {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: .35rem .65rem;
    border: 1px solid #dbe5f2;
    border-radius: 999px;
    background: #fff;
    color: #52677c;
    font-size: .82rem;
    font-weight: 800;
}

.admin-review-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(5rem, 1fr));
    gap: .55rem;
}

.admin-review-thumb-button {
    position: relative;
    padding: .2rem;
    border: 2px solid #dbe5f2;
    border-radius: .55rem;
    background: #fff;
}

.admin-review-thumb-button.is-active {
    border-color: var(--admin-accent, #f9a51a);
    box-shadow: 0 0 0 .18rem rgba(249, 165, 26, .16);
}

.admin-review-thumb-button img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: .35rem;
    object-fit: cover;
}

.admin-review-thumb-button span {
    position: absolute;
    right: .35rem;
    bottom: .35rem;
    padding: .1rem .35rem;
    border-radius: 999px;
    background: rgba(18, 38, 58, .84);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
}

.admin-review-image-checklist {
    display: grid;
    gap: .45rem;
    padding: .75rem;
    border: 1px solid #dbe5f2;
    border-radius: .65rem;
    background: #f8fafc;
}

.admin-review-image-checklist label {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0;
    color: #334155;
    font-size: .9rem;
    font-weight: 750;
}

.admin-review-image-checklist input {
    width: 1rem;
    height: 1rem;
}

.admin-review-image-checklist input:checked + span {
    color: #16613c;
}

.admin-review-modal button:disabled {
    cursor: not-allowed;
}

.admin-review-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

.admin-review-facts > div {
    padding: .8rem;
    border: 1px solid #dbe5f2;
    border-radius: .65rem;
    background: #f8fafc;
}

.admin-review-facts span {
    display: block;
    color: #60778f;
    font-size: .78rem;
}

.admin-review-description {
    max-height: 18rem;
    overflow: auto;
    padding: .85rem;
    border: 1px solid #dbe5f2;
    border-radius: .65rem;
    background: #fff;
}

.admin-reject-panel {
    padding: 1rem;
    border-top: 1px solid #dbe5f2;
    background: #fff8f8;
}

.admin-reject-form {
    display: grid;
    gap: .85rem;
}

.admin-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .85rem;
}

.admin-dashboard-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .85rem;
    min-height: 6.15rem;
    padding: 1rem;
}

.admin-dashboard-stat.has-attention {
    border-color: #f4c56e !important;
    box-shadow: 0 14px 28px rgba(190, 94, 48, .11) !important;
}

.admin-dashboard-stat-icon,
.admin-dashboard-task-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: .7rem;
    background: #eef5ff;
    color: #24537c;
}

.admin-dashboard-stat.has-attention .admin-dashboard-stat-icon,
.admin-dashboard-task.is-warning .admin-dashboard-task-icon {
    background: #fff1dc;
    color: #be5e30;
}

.admin-dashboard-task-grid,
.admin-dashboard-system-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem;
}

.admin-dashboard-task {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .85rem;
    padding: .9rem;
    border: 1px solid #dbe5f2;
    border-left: .28rem solid #88a5c4;
    border-radius: .85rem;
    background: #fbfdff;
    color: #1a2f46;
    text-decoration: none;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.admin-dashboard-task:hover,
.admin-dashboard-task:focus {
    color: #0f2742;
    border-color: #bfd1e6;
    box-shadow: 0 12px 24px rgba(13, 38, 69, .08);
    transform: translateY(-1px);
}

.admin-dashboard-task.is-warning {
    border-left-color: #d86038;
}

.admin-dashboard-task.is-ok {
    border-left-color: #3f9f73;
}

.admin-dashboard-task-body {
    display: grid;
    gap: .15rem;
    min-width: 0;
}

.admin-dashboard-task-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
}

.admin-dashboard-task-value {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1;
}

.admin-dashboard-task-text,
.admin-dashboard-task-sub {
    color: #60778f;
    font-size: .88rem;
    line-height: 1.35;
}

.admin-dashboard-task-action {
    color: #0d6efd;
    font-size: .84rem;
    font-weight: 700;
    white-space: nowrap;
}

.admin-mobile-bar {
    position: sticky;
    top: 0;
    z-index: 1065;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .7rem .9rem;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid #dbe5f2;
    box-shadow: 0 8px 20px rgba(13, 38, 69, .08);
    backdrop-filter: blur(10px);
    min-height: 4.25rem;
}

.admin-mobile-brand {
    display: grid;
    gap: .05rem;
    min-width: 0;
    color: #0f2742;
    text-decoration: none;
}

.admin-mobile-brand span {
    font-weight: 800;
    line-height: 1.1;
    font-size: 1rem;
}

.admin-mobile-brand small {
    color: #60778f;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid #cbd8e8;
    border-radius: .75rem;
    background: #ffffff;
    color: #0f2742;
    box-shadow: 0 8px 18px rgba(13, 38, 69, .08);
}

.admin-mobile-menu-btn i {
    font-size: 1.45rem;
    line-height: 1;
}

.admin-offcanvas {
    width: min(23rem, 90vw) !important;
    background: #f8fbff;
}

.admin-offcanvas .offcanvas-header {
    align-items: center;
    border-bottom: 1px solid #dbe5f2;
    background: #ffffff;
    padding: 1rem;
}

.admin-offcanvas .offcanvas-body {
    padding: 1rem;
}

.admin-offcanvas .admin-nav-link {
    width: 100%;
    border-radius: .85rem;
    padding: .72rem .8rem;
    min-height: 3rem;
    font-size: .96rem;
}

.admin-offcanvas .admin-nav-logout {
    margin-top: 1rem !important;
    color: #b42318 !important;
    border-color: #f3c2bd !important;
    background: #fff7f6 !important;
}

@media (max-width: 991.98px) {
    .admin-body {
        background: #f5f7fb !important;
        font-size: 15px;
    }

    .admin-main {
        padding: 1rem !important;
    }

    .admin-topbar {
        position: static;
        margin-bottom: 1rem !important;
        padding: .85rem .95rem;
        border: 1px solid #dbe5f2;
        border-radius: .9rem;
        background: #ffffff;
        box-shadow: 0 10px 22px rgba(13, 38, 69, .07);
    }

    .admin-topbar-title {
        font-size: 1.12rem;
    }

    .admin-topbar-sub {
        font-size: .84rem;
    }

    .admin-topbar-meta {
        display: none;
    }

    .admin-page-head {
        align-items: flex-start;
        flex-direction: column;
        gap: .65rem;
    }

    .admin-page-title {
        font-size: 1.18rem;
    }

    .admin-page-actions {
        width: 100%;
    }

    .admin-page-actions .btn,
    .admin-actions .btn {
        min-height: 2.35rem;
    }

    .admin-page-actions .btn {
        flex: 1 1 12rem;
    }

    .admin-content-wrap > .content-card:first-child,
    .admin-content-wrap > form:first-child > .content-card:first-child {
        margin-top: 0;
    }

    .admin-section-card {
        padding: .9rem !important;
        border-radius: .9rem !important;
    }

    .admin-dashboard-stats,
    .admin-dashboard-task-grid,
    .admin-dashboard-system-grid {
        grid-template-columns: 1fr;
    }

    .admin-dashboard-stat {
        min-height: 5.2rem;
    }

    .admin-dashboard-task {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .admin-dashboard-task-action {
        grid-column: 2;
        white-space: normal;
    }

    .admin-table-actions-col {
        min-width: 12rem;
    }

    .admin-actions {
        gap: .45rem;
    }

    .admin-actions.admin-actions-icons {
        flex-wrap: nowrap;
    }

    .admin-actions.admin-actions-icons .admin-icon-btn {
        width: 2.45rem;
        height: 2.45rem;
        min-width: 2.45rem;
    }

    .admin-body .table-responsive {
        border: 1px solid #dbe5f2;
        border-radius: .85rem;
        background: #ffffff;
        scrollbar-width: thin;
    }

    .admin-body .table {
        min-width: 720px;
        margin-bottom: 0;
    }

    .settings-tabs {
        flex-wrap: nowrap;
        gap: .35rem;
        overflow-x: auto;
        overflow-y: hidden;
        margin-right: -.9rem;
        margin-left: -.9rem;
        padding-right: .9rem;
        padding-left: .9rem;
    }

    .settings-subtabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        margin-right: -.9rem;
        margin-left: -.9rem;
        padding-right: .9rem;
        padding-left: .9rem;
        scrollbar-width: thin;
    }

    .settings-tabs .nav-link {
        border-radius: 999px;
        border: 1px solid #dbe5f2;
        background: #ffffff;
    }

    .settings-overview-head {
        flex-direction: column;
    }

    .settings-search-wrap {
        flex: auto;
        width: 100%;
    }

    .settings-overview-grid {
        grid-template-columns: 1fr;
    }

    .settings-overview-card {
        min-height: 0;
    }

    .settings-group-card {
        padding: .85rem;
    }

    .admin-subtabs {
        margin-right: -.9rem;
        margin-left: -.9rem;
        padding-right: .9rem;
        padding-left: .9rem;
    }

    .admin-tab-head,
    .admin-user-detail-header,
    .admin-user-score-card {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .admin-user-detail-header .text-end {
        text-align: left !important;
    }

    .admin-user-detail-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-user-profile-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-user-info-card-wide {
        grid-column: span 2;
    }

    .admin-user-signal-grid {
        grid-template-columns: 1fr;
    }

    .admin-overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-category-overview-layout {
        grid-template-columns: 1fr;
    }

    .admin-category-panel,
    .admin-compact-form {
        padding: .85rem;
    }

    .admin-category-children {
        padding-left: 0;
    }
}

@media (max-width: 575.98px) {
    .admin-main {
        padding: .75rem !important;
    }

    .admin-tabs-shell {
        padding: .75rem !important;
    }

    .admin-overview-grid {
        grid-template-columns: 1fr;
        gap: .55rem;
    }

    .admin-user-detail-stats {
        grid-template-columns: 1fr;
    }

    .admin-user-profile-grid {
        grid-template-columns: 1fr;
    }

    .admin-user-info-card-wide {
        grid-column: auto;
    }

    .admin-overview-tile {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 3.65rem;
        padding: .7rem .85rem;
    }

    .admin-overview-tile span {
        margin-bottom: 0;
    }

    .admin-overview-tile strong {
        font-size: 1.35rem;
    }

    .admin-category-tree-main,
    .admin-compact-row {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .admin-category-tree-main .badge,
    .admin-compact-row .badge {
        grid-column: 2;
        justify-self: start;
    }

    .admin-mobile-bar {
        padding: .62rem .75rem;
        min-height: 3.9rem;
    }

    .admin-mobile-brand {
        max-width: calc(100vw - 4.8rem);
    }

    .admin-topbar {
        display: grid;
        gap: .55rem;
        padding: .75rem;
    }

    .admin-topbar-title {
        font-size: 1.35rem;
    }

    .admin-topbar-sub {
        font-size: .94rem;
    }

    .admin-topbar-meta {
        justify-content: flex-start;
    }

    .admin-offcanvas .admin-nav-group {
        margin-bottom: .95rem;
    }

    .admin-offcanvas .admin-nav-group-title {
        margin: 0 0 .35rem;
        color: #60778f;
        font-size: .76rem;
        font-weight: 850;
        letter-spacing: .04em;
        text-transform: uppercase;
    }

    .admin-section-card {
        padding: .75rem !important;
    }

    .admin-page-actions .btn,
    .admin-actions .btn {
        flex: 1 1 100%;
        justify-content: center;
    }

    .admin-actions.admin-actions-icons .btn {
        flex: 0 0 auto;
    }

    .admin-table-pager {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-access-modal-dialog {
        width: calc(100vw - 1rem);
        height: calc(100dvh - 1rem);
        max-height: calc(100dvh - 1rem);
        margin: .5rem auto;
    }

    .admin-access-modal-dialog .modal-header,
    .admin-access-modal-dialog .modal-body,
    .admin-access-modal-dialog .modal-footer {
        padding: .85rem;
    }

    .acl-permission-row {
        grid-template-columns: 1fr;
        gap: .5rem;
    }

    .acl-permission-row select {
        width: 100%;
    }

    .acl-permission-check-grid {
        grid-template-columns: 1fr;
    }
}

.legal-editor-wrap {
    border: 1px solid #d5deea;
    border-radius: .6rem;
    overflow: hidden;
    background: #fff;
}

.legal-editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    align-items: center;
    padding: .5rem;
    border-bottom: 1px solid #e2e9f2;
    background: #f7f9fc;
}

.legal-editor-toolbar .btn {
    min-width: 2rem;
    padding: .2rem .45rem;
}

.legal-editor-toolbar .btn.is-active {
    background: #1f5db8;
    border-color: #1f5db8;
    color: #fff;
}

.legal-editor-toolbar .legal-editor-size {
    width: auto;
    min-width: 8.3rem;
}

.legal-editor-toolbar .legal-editor-line-height {
    width: auto;
    min-width: 8.5rem;
}

.legal-editor-body {
    min-height: 380px;
    padding: .85rem .9rem;
    color: #10273f;
    line-height: 1.55;
    outline: none;
}

.legal-editor-body:focus {
    box-shadow: inset 0 0 0 2px rgba(32, 93, 186, .14);
}

.legal-editor-body h2,
.legal-editor-body h3,
.legal-editor-body h4 {
    color: #0f2742;
    margin-top: 1rem;
}

.maintenance-admin-hint {
    position: relative;
    z-index: 2;
    background: #d4643d;
    color: #1f1f23;
    font-size: .88rem;
    font-weight: 600;
    padding: .46rem 0;
    border-bottom: 1px solid rgba(14, 24, 40, .14);
}

.maintenance-admin-hint .btn {
    border-color: rgba(20, 27, 39, .45);
    color: #1f1f23;
}

.maintenance-admin-hint .btn:hover {
    background: rgba(16, 32, 54, .1);
    color: #101f33;
}

.notice-layout {
    background: #f5f7fb;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

.notice-header {
    background: #ffffff;
    border-bottom: 1px solid #dce4ee;
}

.notice-layout main {
    flex: 1 0 auto;
    display: flex;
    align-items: center;
}

.notice-maintenance-section {
    width: 100%;
    padding: clamp(2rem, 4vw, 3.5rem) 0;
}

.notice-maintenance-card {
    max-width: 840px;
    margin: 0 auto;
}

.notice-footer {
    border-top: 1px solid #dce4ee;
    background: #ffffff;
}

.notice-legal-link {
    color: #2a4766;
    text-decoration: none;
    font-size: .88rem;
}

.notice-legal-link:hover {
    color: #10273f;
    text-decoration: underline;
}

@media (max-width: 575.98px) {
    .notice-maintenance-card .h2 {
        font-size: clamp(1.35rem, 6vw, 1.75rem);
    }
}

.ka-hero {
    position: relative;
    min-height: 460px;
    background: linear-gradient(135deg, #153e35, #315c4f);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: #fff;
}

.ka-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 34, 29, var(--hero-overlay, .42));
}

.ka-hero-inner {
    position: relative;
    padding-block: 5rem;
}

.ka-hero-copy {
    max-width: 760px;
}

.ka-hero-title {
    font-size: clamp(2.35rem, 6vw, 4.5rem);
    line-height: 1.04;
    font-weight: 800;
    margin-bottom: 1rem;
}

.ka-hero-subtitle {
    max-width: 680px;
    font-size: 1.2rem;
    color: rgba(255,255,255,.88);
    margin-bottom: 1.5rem;
}

.ka-search {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto;
    gap: .75rem;
    max-width: 940px;
    padding: .75rem;
    background: rgba(255,255,255,.96);
    border-radius: 8px;
    box-shadow: 0 18px 40px rgba(0,0,0,.18);
}

.ka-search-compact {
    margin-top: 1.25rem;
    box-shadow: none;
    border: 1px solid #dbe3df;
}

.ka-search-field {
    display: flex;
    align-items: center;
    gap: .65rem;
    min-height: 52px;
    border: 1px solid #dbe3df;
    border-radius: 6px;
    padding-inline: .9rem;
    color: #5b6a64;
    background: #fff;
}

.ka-search-field input {
    border: 0;
    outline: 0;
    min-width: 0;
    width: 100%;
    font: inherit;
    color: #17231f;
}

.public-body .alert {
    border-radius: 8px;
    border-width: 1px;
    box-shadow: 0 10px 26px rgba(20, 39, 34, .06);
}

.public-body .alert-success {
    color: #153e35;
    border-color: #b7dacd;
    background: #edf8f3;
}

.public-body .text-success {
    color: #d7643d !important;
}

.public-body .alert-warning {
    color: #6f4a00;
    border-color: #ffe2a3;
    background: #fff8e8;
}

.public-body .alert-danger {
    color: #8a1f17;
    border-color: #f2b9b4;
    background: #fff0ef;
}

.public-body .alert-info {
    color: #194466;
    border-color: #b9d8f0;
    background: #eef7ff;
}

.ka-section {
    padding: 4rem 0;
}

.ka-section-muted {
    background: #f4f7f5;
}

.ka-section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.ka-section-head h2,
.ka-page-title h1,
.ka-detail-text h1 {
    font-weight: 800;
    color: #17231f;
}

.ka-section-head p,
.ka-page-title p {
    margin: .25rem 0 0;
    color: #62716b;
}

.ka-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: .75rem;
}

.ka-category {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-height: 72px;
    padding: 1rem;
    border: 1px solid #dbe3df;
    border-radius: 8px;
    color: #17231f;
    text-decoration: none;
    background: #fff;
}

.ka-category i {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #d4643d;
    color: #153e35;
}

.ka-listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1rem;
}

.ka-listing-card {
    background: #fff;
    border: 1px solid #dbe3df;
    border-radius: 8px;
    overflow: hidden;
}

.ka-listing-image {
    display: block;
    aspect-ratio: 4 / 3;
    background: #e9efec;
}

.ka-listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ka-listing-image span,
.ka-gallery-empty {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #81918b;
    font-size: 2rem;
}

.ka-listing-body {
    padding: 1rem;
}

.ka-price,
.ka-detail-price {
    font-weight: 800;
    color: #153e35;
}

.ka-listing-body h3 {
    font-size: 1.02rem;
    line-height: 1.3;
    margin: .35rem 0;
}

.ka-listing-body a {
    color: #17231f;
    text-decoration: none;
}

.ka-meta {
    color: #62716b;
    font-size: .92rem;
}

.ka-page-title {
    background: #f4f7f5;
    padding: 3rem 0;
}

.home-market {
    position: relative;
    min-height: 100vh;
    background: #f2f0ed;
    color: #151918;
}

.global-search-band {
    background: #d7643d;
    border-bottom: 1px solid rgba(124, 48, 24, .18);
}

.global-search-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.8rem;
    align-items: center;
    padding-block: 1.05rem;
}

.global-search-form {
    display: grid;
    grid-template-columns: minmax(220px, 1.5fr) minmax(180px, .9fr) minmax(180px, .9fr) auto;
    align-items: center;
    max-width: 920px;
    min-height: 58px;
    overflow: hidden;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(124, 48, 24, .14);
}

.global-search-form label {
    display: flex;
    align-items: center;
    gap: .65rem;
    min-width: 0;
    min-height: 58px;
    margin: 0;
    padding: 0 1rem;
    border-right: 1px solid #d9d7d2;
    color: #6e736f;
}

.global-search-form input,
.global-search-form select {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #171b19;
    font: inherit;
    font-weight: 700;
}

.global-search-form select {
    appearance: none;
    color: #6e736f;
}

.global-search-form button {
    min-height: 46px;
    margin-right: .4rem;
    padding: 0 1.45rem;
    border: 0;
    border-radius: 999px;
    background: #8f351d;
    color: #fff;
    font-weight: 900;
}

.global-quick-nav {
    display: flex;
    align-items: center;
    gap: 1.45rem;
    white-space: nowrap;
}

.global-quick-nav > a {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: #fff;
    text-decoration: none;
    font-weight: 900;
}

.global-quick-nav > a i {
    font-size: 1.45rem;
}

.global-account-dropdown {
    position: relative;
}

.global-account-menu-button {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    border: 0;
    background: transparent;
    color: #fff;
    padding: 0;
}

.global-account-menu-button .account-avatar {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
    background: #153e35;
}

.global-account-menu-button::after {
    margin-left: .15rem;
    color: #fff;
    border-top-width: .38em;
    border-right-width: .38em;
    border-left-width: .38em;
}

.global-account-menu-button:hover .account-avatar,
.global-account-menu-button:focus .account-avatar {
    background: #0e332b;
}

.global-account-dropdown .account-dropdown-menu {
    margin-top: .75rem;
}

.home-market-wrap {
    padding-block: 1.65rem 3.4rem;
}

.home-hero-board {
    position: relative;
    min-height: clamp(220px, 28vw, 430px);
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
    overflow: hidden;
    background: #fff;
    background-size: cover;
    background-position: center;
}

.home-hero-board::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,.8), rgba(255,255,255,.08) 45%, rgba(0,0,0,.28));
    opacity: 0;
}

.home-hero-board[style*="background-image"]::after {
    opacity: 1;
}

.home-hero-placeholder {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: #b9b6af;
    font-size: clamp(1.7rem, 4vw, 3rem);
    font-weight: 900;
}

.home-hero-placeholder img {
    width: min(340px, 48vw);
    max-height: 110px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .32;
}

.home-hero-copy {
    position: relative;
    z-index: 1;
    justify-self: start;
    max-width: 680px;
    padding: clamp(1.4rem, 4vw, 3rem);
    color: #fff;
    text-shadow: 0 4px 18px rgba(0, 0, 0, .36);
}

.home-hero-copy h1 {
    margin: 0;
    font-size: clamp(2rem, 4.8vw, 4rem);
    line-height: 1.05;
    font-weight: 900;
}

.home-hero-copy p {
    max-width: 520px;
    margin: .75rem 0 0;
    color: rgba(255,255,255,.92);
    font-weight: 800;
}

.home-market-grid {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.home-category-panel,
.home-showcase-panel,
.home-recommend-panel,
.home-city-panel {
    background: #fff;
}

.home-category-panel {
    position: sticky;
    top: 106px;
    padding: 1rem;
}

.home-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .95rem;
}

.home-panel-head h2 {
    margin: 0;
    color: #151918;
    font-size: 1.25rem;
    font-weight: 900;
}

.home-panel-head a {
    color: #b94e2c;
    text-decoration: none;
    font-weight: 800;
}

.home-category-list {
    display: grid;
}

.home-category-list a {
    display: grid;
    grid-template-columns: 1.4rem minmax(0, 1fr) auto;
    gap: .55rem;
    align-items: baseline;
    padding: .72rem 0;
    border-bottom: 1px solid #dedbd5;
    color: #222725;
    text-decoration: none;
}

.home-category-list a:last-child {
    border-bottom: 0;
}

.home-category-list i {
    color: #b94e2c;
}

.home-category-list span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 850;
}

.home-category-list small {
    color: #b94e2c;
    font-weight: 800;
}

.home-listing-main {
    display: grid;
    gap: 1rem;
}

.home-showcase-panel,
.home-recommend-panel,
.home-city-panel {
    padding: 1rem;
}

.home-carousel-actions {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
}

.home-carousel-actions button {
    display: inline-grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 2px solid #8c8f87;
    border-radius: 999px;
    background: #fff;
    color: #b94e2c;
    font-size: 1.25rem;
}

.home-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(170px, 1fr);
    gap: .75rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: .15rem .15rem .4rem;
}

.home-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.home-listing-card {
    min-width: 0;
    scroll-snap-align: start;
    background: #fff;
}

.home-listing-card-compact {
    width: 180px;
}

.home-listing-image {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 5px;
    background: #e9e6e0;
    color: #87908b;
    text-decoration: none;
}

.home-listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .16s ease;
}

.home-listing-image:hover img {
    transform: scale(1.025);
}

.home-listing-image em {
    position: absolute;
    right: .45rem;
    top: .45rem;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    min-width: 2rem;
    padding: .18rem .42rem;
    border-radius: 999px;
    background: rgba(255,255,255,.86);
    color: #151918;
    font-style: normal;
    font-size: .86rem;
    font-weight: 900;
}

.home-listing-body {
    display: grid;
    gap: .12rem;
    padding-top: .45rem;
}

.home-listing-body span {
    overflow: hidden;
    color: #7a7e78;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .92rem;
    font-weight: 700;
}

.home-listing-body h3 {
    min-height: 2.55em;
    margin: 0;
    overflow: hidden;
    color: #111513;
    font-size: 1.02rem;
    line-height: 1.25;
    font-weight: 850;
}

.home-listing-body h3 a {
    color: inherit;
    text-decoration: none;
}

.home-listing-body strong {
    color: #b94e2c;
    font-size: 1.12rem;
    font-weight: 900;
}

.home-more-row {
    display: flex;
    justify-content: center;
    padding-top: 1.35rem;
}

.home-more-row .btn {
    border-radius: 999px;
    padding-inline: 1.45rem;
    font-weight: 900;
}

.home-city-panel {
    padding-top: 1.25rem;
}

.home-city-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .45rem 1.25rem;
}

.home-city-list a {
    color: #2d2f2d;
    text-decoration: none;
    font-weight: 700;
}

.home-city-list a:hover {
    color: #b94e2c;
    text-decoration: underline;
}

.home-top-link {
    position: fixed;
    right: 1.5rem;
    bottom: 1.2rem;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .75rem 1.1rem;
    border-radius: 999px;
    background: #d7643d;
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    box-shadow: 0 16px 34px rgba(124, 48, 24, .22);
}

.ka-detail-page {
    padding: 2.25rem 0 4rem;
    background: #f3f1ee;
}

.ka-breadcrumbs {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: 1rem;
    color: #b94e2c;
    font-weight: 800;
}

.ka-breadcrumbs a {
    color: #b94e2c;
    text-decoration: none;
}

.ka-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 1.25rem;
    align-items: start;
}

.ka-detail-main {
    display: grid;
    gap: 1rem;
}

.ka-detail-gallery {
    position: relative;
    min-height: 460px;
    overflow: hidden;
    background: #dfddd8;
}

.ka-gallery-stage {
    display: grid;
    place-items: center;
    width: 100%;
    height: min(62vw, 620px);
    min-height: 460px;
    padding: 0;
    border: 0;
    background: linear-gradient(90deg, #d7d4ce 0, #f1efeb 18%, #f1efeb 82%, #d7d4ce 100%);
    cursor: zoom-in;
}

.ka-gallery-stage img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.ka-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 64px;
    border: 0;
    border-radius: 6px;
    background: rgba(20, 25, 23, .7);
    color: #fff;
    font-size: 1.7rem;
}

.ka-gallery-prev {
    left: .75rem;
}

.ka-gallery-next {
    right: .75rem;
}

.ka-gallery-count {
    position: absolute;
    right: .75rem;
    bottom: .75rem;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .35rem .55rem;
    border-radius: 6px;
    background: rgba(20, 25, 23, .82);
    color: #fff;
    font-weight: 800;
}

.ka-gallery-thumbs {
    display: flex;
    gap: .55rem;
    overflow-x: auto;
    padding: .2rem .1rem .45rem;
}

.ka-gallery-thumbs button {
    width: 92px;
    height: 70px;
    flex: 0 0 auto;
    padding: 0;
    overflow: hidden;
    border: 3px solid transparent;
    border-radius: 8px;
    background: #fff;
}

.ka-gallery-thumbs button.active {
    border-color: #76b900;
}

.ka-gallery-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ka-detail-summary,
.ka-detail-facts,
.ka-detail-description,
.ka-detail-message,
.ka-seller-card,
.ka-review-card,
.ka-listing-id-card {
    padding: 1.45rem;
    background: #fff;
    border: 1px solid #e0ded9;
    border-radius: 0;
}

.ka-detail-summary h1 {
    margin: 0 0 .75rem;
    color: #171b19;
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    line-height: 1.15;
    font-weight: 900;
}

.ka-detail-price-line {
    display: flex;
    align-items: baseline;
    gap: .7rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.ka-detail-price-line strong {
    color: #b94e2c;
    font-size: clamp(1.55rem, 3vw, 2rem);
    font-weight: 900;
}

.ka-detail-price-line span,
.ka-detail-meta-row {
    color: #6f736e;
    font-weight: 800;
}

.ka-detail-meta-row,
.ka-related-meta {
    display: flex;
    align-items: center;
    gap: .8rem;
    flex-wrap: wrap;
}

.ka-detail-meta-row span,
.ka-related-meta span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.ka-detail-facts {
    display: grid;
    gap: 0;
    padding: 0;
}

.ka-detail-facts div {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 1rem;
    padding: 1.1rem 1.45rem;
    border-bottom: 1px solid #eeeae4;
}

.ka-detail-facts div:last-child {
    border-bottom: 0;
}

.ka-detail-facts strong {
    color: #171b19;
}

.ka-detail-facts span {
    color: #6f736e;
}

.ka-detail-description h2,
.ka-detail-message h2,
.ka-related-head h2 {
    margin: 0 0 1rem;
    color: #171b19;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    font-weight: 900;
}

.ka-detail-description p {
    margin: 0;
    color: #171b19;
    font-size: 1.06rem;
    line-height: 1.65;
}

.ka-detail-message-form {
    display: grid;
    gap: 1.15rem;
    padding-top: .25rem;
    border-top: 1px solid #dedbd4;
}

.ka-detail-message-form .alert {
    margin: 0;
}

.ka-message-row {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.ka-message-row > label,
.ka-message-row > span {
    padding-top: .55rem;
    color: #111714;
    font-weight: 800;
}

.ka-message-row .form-control,
.ka-message-row .form-select {
    min-height: 52px;
    border: 2px solid #a7a7a0;
    border-radius: 8px;
    color: #171b19;
    font-weight: 650;
}

.ka-message-field textarea {
    min-height: 170px;
    resize: vertical;
}

.ka-message-compact-row {
    margin-top: -.45rem;
}

.ka-message-checkbox-row {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    width: fit-content;
    margin: 0;
    color: #171b19;
    font-weight: 800;
}

.ka-message-checkbox-row .form-check-input,
.ka-detail-privacy .form-check-input {
    width: 1.4rem;
    height: 1.4rem;
    margin: 0;
    border: 2px solid #9fa39d;
}

.ka-message-location-fields {
    display: grid;
    grid-template-columns: minmax(110px, 170px) minmax(0, 1fr);
    gap: .75rem;
}

.ka-message-profile-name {
    min-height: 50px;
    display: flex;
    align-items: center;
    padding: .75rem 1rem;
    border-radius: 8px;
    background: #f4f2ee;
    color: #171b19;
    font-weight: 800;
}

.ka-message-write-modal {
    position: fixed;
    inset: 0;
    z-index: 1085;
    display: grid;
    align-items: start;
    justify-items: center;
    padding: 1.75rem 1rem;
    overflow-y: auto;
    background: rgba(20, 23, 20, .56);
}

.ka-message-write-modal[hidden] {
    display: none;
}

.ka-message-write-dialog {
    position: relative;
    width: min(100%, 980px);
    padding: clamp(1.25rem, 3vw, 2rem);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(15, 20, 18, .28);
}

.ka-message-write-dialog h2 {
    margin: 0 3rem 1.25rem 0;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #dedbd4;
    color: #111714;
    font-size: clamp(1.65rem, 3vw, 2.2rem);
    font-weight: 900;
}

.ka-message-write-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    display: inline-grid;
    place-items: center;
    width: 2.8rem;
    height: 2.8rem;
    border: 0;
    background: transparent;
    color: #383c38;
    font-size: 1.8rem;
}

.ka-message-write-listing {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 680px;
    margin: 0 auto 1.5rem;
}

.ka-message-write-avatar {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 74px;
    height: 74px;
    border-radius: 999px;
    background: #d9d7d0;
    color: #17201d;
    font-size: 1.85rem;
    font-weight: 900;
}

.ka-message-write-listing strong,
.ka-message-write-listing span {
    display: block;
}

.ka-message-write-listing strong {
    color: #242822;
    font-size: 1.1rem;
    font-weight: 900;
}

.ka-message-write-listing span {
    margin-top: .25rem;
    color: #74766f;
    font-weight: 700;
}

.ka-detail-message-form-modal {
    max-width: 860px;
    margin: 0 auto;
}

.ka-message-confirmation-modal {
    position: fixed;
    inset: 0;
    z-index: 1090;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(12, 22, 30, .62);
}

.ka-message-confirmation-dialog {
    position: relative;
    width: min(100%, 520px);
    border: 1px solid #f0d1b9;
    border-radius: 10px;
    background: #ffffff;
    color: #17201d;
    box-shadow: 0 28px 90px rgba(14, 27, 38, .28);
    padding: clamp(1.35rem, 4vw, 2rem);
    text-align: center;
}

.ka-message-confirmation-close {
    position: absolute;
    top: .75rem;
    right: .75rem;
    display: inline-grid;
    place-items: center;
    width: 2.35rem;
    height: 2.35rem;
    border: 1px solid #e1ddd6;
    border-radius: 999px;
    background: #fff;
    color: #4f5550;
}

.ka-message-confirmation-icon {
    display: inline-grid;
    place-items: center;
    width: 4.5rem;
    height: 4.5rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: #fce8de;
    color: #d75f38;
    font-size: 2rem;
}

.ka-message-confirmation-icon.warning {
    background: #fff4dc;
    color: #a66a10;
}

.ka-message-confirmation-dialog h2 {
    margin: 0 0 .6rem;
    font-weight: 900;
    color: #17201d;
}

.ka-message-confirmation-dialog p {
    margin: 0 auto 1.35rem;
    max-width: 34rem;
    color: #5f6964;
    font-weight: 700;
    line-height: 1.55;
}

.ka-message-confirmation-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem;
}

.ka-detail-contact-identity,
.ka-detail-contact-locked {
    grid-column: 1 / -1;
    display: flex;
    gap: .8rem;
    align-items: flex-start;
    padding: .9rem 1rem;
    border: 1px solid #dbe3df;
    border-radius: 8px;
    background: #f7faf8;
    color: #31423d;
}

.ka-detail-contact-identity i,
.ka-detail-contact-locked i {
    color: #153e35;
    font-size: 1.25rem;
}

.ka-detail-contact-locked {
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.ka-detail-contact-locked p {
    margin: .1rem 0 0;
    color: #62716b;
}

.ka-detail-contact-actions {
    display: flex;
    gap: .55rem;
    flex-wrap: wrap;
}

.ka-message-info {
    display: grid;
    gap: .75rem;
    color: #171b19;
}

.ka-message-info p {
    margin: 0;
    line-height: 1.45;
}

.ka-message-info a {
    color: #b94e2c;
    font-weight: 800;
}

.ka-detail-privacy {
    margin: 0;
}

.ka-message-actions {
    display: flex;
    justify-content: flex-end;
}

.ka-message-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    justify-self: end;
    border-radius: 999px;
    padding: .95rem 1.7rem;
    font-weight: 900;
}

.ka-detail-sidebar {
    position: sticky;
    top: 108px;
    display: grid;
    gap: .85rem;
}

.ka-sidebar-action {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 48px;
    border-radius: 999px;
    font-weight: 900;
}

.ka-detail-status-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: .28rem .6rem;
    border-radius: 999px;
    background: #fff3d6;
    color: #8a5200;
    font-style: normal;
    font-weight: 900;
}

.ka-seller-card {
    display: grid;
    gap: 1rem;
}

.ka-seller-head {
    display: flex;
    align-items: center;
    gap: .85rem;
}

.ka-seller-head > span {
    width: 48px;
    height: 48px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: #d7d5d0;
    color: #171b19;
    font-weight: 900;
}

.ka-seller-head div {
    display: grid;
    gap: .1rem;
}

.ka-seller-head a {
    color: #b94e2c;
    text-decoration: none;
}

.ka-seller-head a:hover {
    text-decoration: underline;
}

.ka-seller-head small,
.ka-seller-card li {
    color: #6f736e;
}

.ka-seller-badges,
.seller-profile-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.ka-seller-badges span,
.seller-profile-badges span {
    display: inline-flex;
    align-items: center;
    gap: .32rem;
    width: fit-content;
    padding: .26rem .48rem;
    border-radius: 5px;
    background: #e9dcff;
    color: #432171;
    font-size: .9rem;
    font-weight: 800;
}

.ka-seller-card ul {
    display: grid;
    gap: .55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ka-seller-card li {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: 700;
}

.ka-seller-footer {
    padding-top: .8rem;
    border-top: 1px solid #e4e0d8;
}

.ka-seller-footer a {
    color: #b94e2c;
    font-weight: 900;
    text-decoration: none;
}

.ka-seller-follow-form {
    display: grid;
    gap: .45rem;
}

.ka-seller-follow-form small,
.ka-seller-follow-note,
.ka-seller-follow-count {
    color: #6f736e;
    font-size: .9rem;
    font-weight: 750;
}

.ka-seller-follow-count {
    margin: -.35rem 0 0;
}

.ka-owner-listing-card {
    display: grid;
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid #e4e0d8;
    background: #fff;
}

.ka-owner-listing-card h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 950;
}

.ka-owner-listing-card dl {
    display: grid;
    gap: .25rem;
    margin: 0;
}

.ka-owner-listing-card dl div {
    display: grid;
    grid-template-columns: minmax(90px, 1fr) auto;
    gap: 1rem;
    align-items: baseline;
}

.ka-owner-listing-card dt,
.ka-owner-listing-card dd {
    margin: 0;
}

.ka-owner-listing-card dt {
    color: #171b19;
    font-weight: 800;
}

.ka-owner-listing-card dd {
    color: #171b19;
    font-size: 1.2rem;
    font-weight: 900;
}

.ka-owner-status {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    width: fit-content;
    padding: .4rem .65rem;
    border-radius: 999px;
    background: #eef7f2;
    color: #174d3f;
    font-weight: 850;
}

.ka-owner-status-reserved,
.account-status-reserved {
    background: #fff3d6;
    color: #8a5200;
}

.ka-owner-status-paused,
.ka-owner-status-pending {
    background: #eef2f7;
    color: #526071;
}

.ka-owner-status-deleted {
    background: #fff1f1;
    color: #b42318;
}

.ka-owner-actions {
    display: grid;
    gap: .55rem;
}

.ka-owner-actions a,
.ka-owner-actions button {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    width: fit-content;
    border: 0;
    background: transparent;
    color: #b94e2c;
    padding: .15rem 0;
    font: inherit;
    font-weight: 900;
    text-align: left;
    text-decoration: none;
}

.ka-owner-actions button:not(:disabled) {
    cursor: pointer;
}

.ka-owner-actions a:hover,
.ka-owner-actions button:not(:disabled):hover {
    text-decoration: underline;
}

.ka-owner-actions button:disabled {
    color: #8b8f89;
    cursor: not-allowed;
}

.ka-owner-actions .danger {
    color: #c2410c;
}

.ka-owner-hint {
    display: flex;
    gap: .45rem;
    margin: 0;
    color: #6f736e;
    font-size: .92rem;
    font-weight: 750;
}

.ka-listing-id-card {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: #6f736e;
}

.ka-listing-id-card strong {
    color: #171b19;
}

.ka-review-card {
    display: grid;
    gap: .9rem;
}

.ka-review-card h2,
.seller-review-panel h2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 900;
}

.ka-review-card p,
.seller-review-panel p {
    margin: 0;
    color: #6f736e;
    font-weight: 700;
}

.ka-review-form,
.seller-review-form {
    display: grid;
    gap: .75rem;
}

.ka-review-form label,
.seller-review-form label {
    display: grid;
    gap: .35rem;
}

.ka-review-form label > span,
.seller-review-form label > span {
    color: #39413d;
    font-size: .9rem;
    font-weight: 900;
}

.ka-review-readonly {
    display: grid;
    gap: .65rem;
    padding: .8rem;
    border: 1px solid #efd4aa;
    border-radius: 8px;
    background: #fff8eb;
}

.ka-review-readonly strong {
    color: #9a3412;
    font-weight: 900;
}

.ka-review-values {
    display: grid;
    gap: .35rem;
    color: #39413d;
    font-weight: 750;
}

.ka-review-readonly small,
.ka-review-form small {
    color: #6f736e;
    font-weight: 750;
}

.sale-sign-page {
    background: #f3f1ed;
}

.sale-sign-toolbar {
    display: flex;
    justify-content: flex-end;
    gap: .75rem;
    margin-bottom: 1rem;
}

.sale-sign-sheet {
    display: grid;
    gap: 1.4rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    border: 1px solid #d9d4ca;
    background: #fff;
}

.sale-sign-head {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 1.4rem;
    align-items: center;
}

.sale-sign-head img,
.sale-sign-head > span {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #f3f1ed;
}

.sale-sign-head > span {
    display: grid;
    place-items: center;
    color: #8b8f89;
    font-size: 2.5rem;
}

.sale-sign-head p {
    margin: 0 0 .35rem;
    color: #6f736e;
    font-weight: 900;
    text-transform: uppercase;
}

.sale-sign-head h1 {
    margin: 0 0 .7rem;
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.05;
}

.sale-sign-head strong {
    color: #b94e2c;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 950;
}

.sale-sign-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: #555d58;
    font-weight: 850;
}

.sale-sign-meta span {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.sale-sign-url {
    display: grid;
    gap: .35rem;
    padding: 1rem;
    background: #fff7ed;
    color: #3d2a1d;
}

.sale-sign-url span {
    font-weight: 800;
}

.sale-sign-url strong {
    word-break: break-all;
}

.sale-sign-note {
    margin: 0;
    color: #555d58;
    font-weight: 850;
}

@media print {
    .top-strip,
    .site-header,
    .site-searchbar,
    .site-footer,
    .sale-sign-toolbar,
    .floating-tools,
    .cookie-banner {
        display: none !important;
    }

    .sale-sign-page {
        padding: 0;
        background: #fff;
    }

    .sale-sign-sheet {
        max-width: none;
        min-height: 90vh;
        border: 0;
        padding: 0;
    }
}

.ka-related-section {
    margin-top: 2.2rem;
}

.ka-related-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.ka-related-head a {
    color: #b94e2c;
    font-weight: 800;
    text-decoration: none;
}

.ka-related-list {
    display: grid;
    gap: .8rem;
}

.ka-related-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #ddd9d2;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(28, 27, 24, .08);
}

.ka-related-thumb {
    position: relative;
    aspect-ratio: 4 / 3;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 6px;
    background: #e9e6e0;
    color: #87908b;
    font-size: 2rem;
}

.ka-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ka-related-thumb span {
    position: absolute;
    right: .45rem;
    bottom: .45rem;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .25rem .4rem;
    border-radius: 5px;
    background: rgba(20, 25, 23, .82);
    color: #fff;
    font-size: .86rem;
    font-weight: 900;
}

.ka-related-body {
    display: grid;
    align-content: start;
    gap: .35rem;
}

.ka-related-body h3 {
    margin: 0;
    font-size: 1.22rem;
    line-height: 1.25;
    font-weight: 900;
}

.ka-related-body h3 a {
    color: #171b19;
    text-decoration: none;
}

.ka-related-body p {
    margin: 0;
    color: #343837;
}

.ka-related-body strong {
    color: #b94e2c;
    font-size: 1.2rem;
}

.ka-related-meta {
    color: #8a8d88;
    font-weight: 800;
}

.seller-profile-page {
    background: #f4f2ee;
    min-height: 70vh;
    padding-bottom: 3rem;
}

.seller-profile-shell {
    display: grid;
    gap: 1.2rem;
    padding-top: 2rem;
}

.seller-profile-card,
.seller-profile-summary-card,
.seller-profile-hero,
.seller-listing-row,
.seller-review-panel {
    background: #fff;
    border: 1px solid #dedbd4;
    border-radius: 6px;
}

.seller-profile-summary-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(190px, auto);
    align-items: center;
    gap: 1.4rem;
    padding: 1.45rem 1.65rem;
}

.seller-profile-summary-avatar {
    width: 116px;
    height: 116px;
    overflow: hidden;
    border-radius: 999px;
    background: #d7d5d0;
    flex: 0 0 auto;
}

.seller-profile-summary-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.seller-profile-summary-avatar span {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #17231e;
    font-size: 2.7rem;
    font-weight: 900;
}

.seller-profile-summary-main {
    display: grid;
    gap: .9rem;
}

.seller-profile-summary-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
}

.seller-profile-summary-head h1 {
    margin: 0;
    color: #171b19;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
    font-weight: 900;
}

.seller-profile-summary-head p {
    margin: .45rem 0 0;
    color: #343837;
    font-size: 1.05rem;
    font-weight: 750;
}

.seller-profile-trust-score {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: .25rem;
    padding: .45rem .65rem;
    border: 1px solid #dedbd4;
    border-radius: 6px;
    color: #b94e2c;
    background: #fffaf5;
    white-space: nowrap;
    font-size: .92rem;
    font-weight: 900;
}

.seller-profile-facts {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem 1.3rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.seller-profile-facts li {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: #565d59;
    font-weight: 750;
}

.seller-profile-summary-actions {
    display: grid;
    gap: .45rem;
    justify-items: stretch;
}

.seller-profile-card {
    align-self: start;
    display: grid;
    gap: 1rem;
    padding: 1.4rem;
}

.seller-profile-avatar {
    width: 86px;
    height: 86px;
    overflow: hidden;
    border-radius: 999px;
    background: #d7d5d0;
}

.seller-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.seller-profile-avatar span {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #16241d;
    font-size: 2.1rem;
    font-weight: 900;
}

.seller-profile-card h1 {
    margin: 0;
    color: #182620;
    font-size: 1.45rem;
    font-weight: 900;
}

.seller-profile-card ul {
    display: grid;
    gap: .55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.seller-profile-card li {
    display: flex;
    align-items: start;
    gap: .55rem;
    color: #565d59;
    font-weight: 750;
}

.seller-profile-badges {
    display: grid;
}

.seller-profile-badges small,
.ka-seller-badges small {
    align-self: center;
    color: #6f736e;
    font-size: .9rem;
    font-weight: 800;
}

.seller-profile-follow-form {
    display: grid;
    gap: .45rem;
}

.seller-profile-follow-form .btn,
.seller-profile-follow-login {
    justify-content: center;
    border-radius: 999px;
    font-weight: 900;
}

.seller-profile-follow-form small,
.seller-profile-follow-note,
.seller-profile-follow-count {
    color: #6f736e;
    font-size: .9rem;
    font-weight: 750;
}

.seller-profile-follow-count {
    margin: -.35rem 0 0;
}

.seller-profile-main {
    display: grid;
    gap: 1rem;
}

.seller-profile-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.4rem;
}

.seller-profile-hero h2 {
    margin: 0;
    color: #182620;
    font-size: 1.45rem;
    font-weight: 900;
}

.seller-profile-hero p {
    margin: .15rem 0 0;
    color: #6f736e;
    font-weight: 700;
}

.seller-listings {
    display: grid;
    gap: .75rem;
}

.seller-listing-row {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem;
}

.seller-listing-image {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 6px;
    background: #e8e5df;
    color: #87908b;
    font-size: 2rem;
}

.seller-listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.seller-listing-image span {
    position: absolute;
    right: .45rem;
    bottom: .45rem;
    min-width: 1.6rem;
    padding: .18rem .4rem;
    border-radius: 5px;
    background: rgba(18, 21, 20, .82);
    color: #fff;
    text-align: center;
    font-size: .9rem;
    font-weight: 900;
}

.seller-listing-body {
    display: grid;
    align-content: start;
    gap: .42rem;
}

.seller-listing-meta {
    display: flex;
    justify-content: space-between;
    gap: .8rem;
    color: #858984;
    font-weight: 800;
}

.seller-listing-meta span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.seller-listing-body h3 {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.22;
    font-weight: 900;
}

.seller-listing-body h3 a {
    color: #101714;
    text-decoration: none;
}

.seller-listing-body p {
    margin: 0;
    color: #333936;
}

.seller-listing-body strong {
    color: #b94e2c;
    font-size: 1.25rem;
}

.seller-review-panel {
    display: grid;
    gap: 1rem;
    padding: 1.25rem 1.4rem;
}

.seller-review-form {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.seller-review-comment,
.seller-review-form button {
    grid-column: 1 / -1;
}

.account-message-actions {
    margin-top: .75rem;
}

.ka-detail-lightbox[hidden] {
    display: none;
}

.ka-detail-lightbox {
    position: fixed;
    z-index: 1080;
    inset: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    padding: clamp(1rem, 4vw, 3rem);
    background: rgba(8, 18, 28, .88);
}

.ka-detail-lightbox img {
    max-width: 100%;
    max-height: 86vh;
    justify-self: center;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .38);
}

.ka-detail-lightbox-close,
.ka-detail-lightbox-nav {
    display: inline-grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #14251f;
    box-shadow: 0 14px 32px rgba(0, 0, 0, .24);
}

.ka-detail-lightbox-close {
    position: fixed;
    top: 1rem;
    right: 1rem;
    width: 2.75rem;
    height: 2.75rem;
}

.ka-detail-lightbox-nav {
    width: 3rem;
    height: 3rem;
    font-size: 1.35rem;
}

.ka-detail-lightbox > span {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    padding: .35rem .6rem;
    border-radius: 6px;
    background: rgba(255,255,255,.92);
    color: #14251f;
    font-weight: 900;
}

.account-menu-button {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    border: 0;
    background: transparent;
    color: #17231f;
    font-weight: 700;
    padding: .25rem .35rem;
}

.account-avatar {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #153e35;
    color: #fff;
    font-weight: 800;
    overflow: hidden;
    flex: 0 0 auto;
}

.account-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.account-avatar-lg {
    width: 76px;
    height: 76px;
    font-size: 1.8rem;
}

.account-avatar-xl {
    width: 132px;
    height: 132px;
    font-size: 3rem;
}

.account-dropdown-menu {
    min-width: 280px;
    border: 1px solid #dbe3df;
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(18, 31, 27, .18);
    padding: .55rem;
}

.account-dropdown-head {
    display: grid;
    gap: .15rem;
    padding: .65rem .75rem .75rem;
    border-bottom: 1px solid #edf2ef;
    margin-bottom: .35rem;
}

.account-dropdown-head span {
    color: #62716b;
    font-size: .88rem;
    overflow-wrap: anywhere;
}

.account-dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    border-radius: 6px;
    padding: .55rem .65rem;
}

.mobile-account-card {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .85rem;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 8px;
    color: #fff;
    background: rgba(255,255,255,.06);
}

.mobile-account-card div {
    display: grid;
}

.mobile-account-card span:not(.account-avatar) {
    color: rgba(255,255,255,.7);
    font-size: .88rem;
    overflow-wrap: anywhere;
}

.account-hero {
    background: #f4f7f5;
    padding: 3rem 0;
}

.account-hero-inner,
.account-profile-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.account-profile-summary {
    justify-content: flex-start;
}

.account-profile-summary h1 {
    margin: 0;
    color: #17231f;
    font-weight: 800;
}

.account-profile-summary p {
    margin: .25rem 0 0;
    color: #62716b;
}

.account-section {
    background: #f5f7fb;
}

.account-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.account-sidebar {
    position: sticky;
    top: 108px;
    display: grid;
    gap: .35rem;
    padding: .75rem;
    border: 1px solid #dbe3df;
    border-radius: 8px;
    background: #fff;
}

.account-sidebar a {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .7rem .75rem;
    border-radius: 6px;
    color: #17231f;
    text-decoration: none;
    font-weight: 700;
}

.account-sidebar a:hover {
    background: #f4f7f5;
}

.account-sidebar a.active {
    background: #eef3ef;
    color: #102f28;
    box-shadow: inset 3px 0 0 #ffc247;
}

.account-sidebar-danger {
    color: #b42318 !important;
}

.account-main {
    display: grid;
    gap: 1rem;
}

.account-metrics {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .75rem;
}

.account-metrics div,
.account-panel {
    border: 1px solid #dbe3df;
    border-radius: 8px;
    background: #fff;
}

.account-metrics div {
    display: grid;
    gap: .15rem;
    padding: 1rem;
}

.account-metrics strong {
    color: #153e35;
    font-size: 1.6rem;
    line-height: 1;
}

.account-metrics span {
    color: #62716b;
    font-size: .9rem;
}

.account-panel {
    padding: 1.1rem;
}

.account-panel[hidden] {
    display: none !important;
}

.account-overview-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .85rem;
    margin-top: 1rem;
}

.account-overview-card {
    display: grid;
    gap: .25rem;
    min-height: 150px;
    padding: 1rem;
    border: 1px solid #dbe3df;
    border-radius: 8px;
    color: #17231f;
    background: #fbfcfb;
    text-decoration: none;
}

.account-overview-card:hover {
    border-color: #ffc247;
    color: #17231f;
    background: #fffaf0;
}

.account-overview-card i {
    color: #153e35;
    font-size: 1.35rem;
}

.account-overview-card strong {
    font-size: 1.05rem;
}

.account-overview-card span {
    color: #62716b;
}

.account-panel-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: start;
    margin-bottom: 1rem;
}

.account-panel-head h2 {
    margin: 0;
    color: #17231f;
    font-weight: 800;
}

.account-panel-head p {
    margin: .25rem 0 0;
    color: #62716b;
}

.account-email-subtabs {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1rem;
    padding-bottom: .85rem;
    border-bottom: 1px solid #edf2ef;
}

.account-email-subtabs button {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 42px;
    padding: .55rem .85rem;
    border: 1px solid #dbe3df;
    border-radius: 999px;
    background: #fff;
    color: #34443f;
    font-weight: 800;
}

.account-email-subtabs button.active,
.account-email-subtabs button:hover {
    border-color: var(--ka-accent);
    background: #fff7ed;
    color: #17231f;
}

.account-watchlist-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
    margin-bottom: 1rem;
}

.account-watchlist-summary div {
    display: grid;
    gap: .15rem;
    padding: .9rem 1rem;
    border: 1px solid #dbe3df;
    border-radius: 8px;
    background: #fbfcfb;
}

.account-watchlist-summary strong {
    color: #153e35;
    font-size: 1.5rem;
    line-height: 1;
}

.account-watchlist-summary span {
    color: #62716b;
    font-size: .9rem;
    font-weight: 750;
}

.account-watchlist-tabs button span {
    display: inline-grid;
    place-items: center;
    min-width: 1.55rem;
    min-height: 1.55rem;
    padding: 0 .4rem;
    border-radius: 999px;
    background: #f2f4f3;
    color: #40504b;
    font-size: .85rem;
}

.account-watchlist-tabs button.active span,
.account-watchlist-tabs button:hover span {
    background: #ffd99a;
    color: #17231f;
}

.account-watchlist-panel {
    display: grid;
    gap: .75rem;
}

.account-watchlist-panel[hidden] {
    display: none !important;
}

.account-email-panel {
    display: grid;
    gap: 1rem;
}

.account-email-panel[hidden] {
    display: none !important;
}

.account-email-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

.account-toggle-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .75rem;
    align-items: start;
    min-height: 96px;
    padding: .9rem;
    border: 1px solid #dbe3df;
    border-radius: 8px;
    background: #fbfcfb;
    cursor: pointer;
}

.account-toggle-card:hover {
    border-color: var(--ka-accent);
    background: #fffaf0;
}

.account-toggle-card input[type="checkbox"] {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: .18rem;
    accent-color: var(--ka-accent);
}

.account-toggle-card strong,
.account-toggle-card small {
    display: block;
}

.account-toggle-card strong {
    color: #17231f;
    font-weight: 900;
}

.account-toggle-card small,
.account-field-help {
    color: #62716b;
    line-height: 1.45;
}

.account-setting-note {
    padding: .85rem 1rem;
    border: 1px solid #dbe3df;
    border-radius: 8px;
    background: #f8faf9;
    color: #40504b;
}

.account-setting-note strong {
    color: #17231f;
}

.account-setting-note-warning {
    border-color: #f6d58b;
    background: #fff7df;
    color: #7a4c00;
}

.account-email-actions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #edf2ef;
}

.account-subsection-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin: 1.1rem 0 .65rem;
    padding-top: .9rem;
    border-top: 1px solid #edf2ef;
}

.account-subsection-head:first-of-type {
    margin-top: .25rem;
    padding-top: 0;
    border-top: 0;
}

.account-subsection-head h3 {
    margin: 0;
    color: #17231f;
    font-size: 1.05rem;
    font-weight: 900;
}

.account-subsection-head span {
    color: #62716b;
    font-weight: 800;
}

.account-listings,
.account-message-list {
    display: grid;
    gap: .75rem;
}

.account-listing-row {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: .75rem;
    border: 1px solid #edf2ef;
    border-radius: 8px;
}

.account-listing-thumb {
    aspect-ratio: 4 / 3;
    border-radius: 7px;
    overflow: hidden;
    background: #e9efec;
    text-decoration: none;
}

.account-listing-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.account-listing-thumb span {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #81918b;
    font-size: 1.6rem;
}

.account-seller-thumb {
    width: 76px;
    aspect-ratio: 1;
    border-radius: 999px;
    justify-self: center;
}

.account-seller-thumb span {
    background: #0d4b3f;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 900;
}

.account-followed-row {
    grid-template-columns: 96px minmax(0, 1fr) auto;
}

.account-follow-notify-form {
    margin: 0;
}

.account-follow-notify-toggle {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 32px;
    padding: .25rem .65rem;
    border: 1px solid #d8e3df;
    border-radius: 999px;
    background: #fff;
    color: #26443a;
    font-size: .86rem;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
}

.account-follow-notify-toggle input {
    width: 1rem;
    height: 1rem;
    accent-color: #0d4b3f;
}

.account-listing-info h3 {
    margin: .25rem 0;
    font-size: 1.05rem;
}

.account-listing-info a {
    color: #17231f;
    text-decoration: none;
}

.account-listing-info p {
    margin: 0;
    color: #62716b;
    font-size: .92rem;
}

.account-limit-note,
.account-listing-stats {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .45rem .85rem;
    color: #65736e;
    font-size: .88rem;
}

.account-limit-note {
    margin-bottom: .85rem;
    padding: .7rem .85rem;
    border: 1px solid #edf2ef;
    border-radius: 8px;
    background: #f8faf9;
    font-weight: 700;
}

.account-limit-note i,
.account-listing-stats i {
    margin-right: .28rem;
    color: var(--ka-accent);
}

.account-listing-stats {
    margin-top: .35rem;
}

.account-status {
    display: inline-flex;
    width: max-content;
    padding: .2rem .45rem;
    border-radius: 999px;
    background: #edf2ef;
    color: #153e35;
    font-size: .78rem;
    font-weight: 800;
}

.account-status-pending {
    background: #fff7df;
    color: #8a5a00;
}

.account-status-reserved {
    background: #fff3d6;
    color: #8a5200;
}

.account-status-draft {
    background: #eaf3ff;
    color: #24517f;
}

.account-status-paused,
.account-status-deleted {
    background: #f1f3f5;
    color: #667085;
}

.account-listing-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .45rem;
    flex-wrap: wrap;
}

.account-message {
    display: grid;
    gap: .25rem;
    padding: .85rem;
    border: 1px solid #edf2ef;
    border-radius: 8px;
}

.account-message span,
.account-message p {
    color: #62716b;
}

.account-message p {
    margin: .25rem 0;
}

.account-inbox-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.account-inbox-head h2 {
    margin: 0;
    color: #17231f;
    font-weight: 850;
}

.account-inbox {
    display: grid;
    grid-template-columns: minmax(280px, 38%) minmax(0, 1fr);
    min-height: 620px;
    border: 1px solid #dce5e0;
    border-radius: 8px;
    overflow: hidden;
    background: #f6f4ef;
}

.account-inbox-list {
    border-right: 1px solid #dce5e0;
    background: #fff;
    overflow: auto;
}

.account-inbox-item {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: .85rem;
    width: 100%;
    padding: 1rem;
    border: 0;
    border-bottom: 1px solid #ece8df;
    border-left: 4px solid transparent;
    background: #fff;
    text-align: left;
    color: #17231f;
    cursor: pointer;
}

.account-inbox-item:hover,
.account-inbox-item.active {
    background: #f7f6f1;
}

.account-inbox-item.active {
    border-left-color: var(--theme-accent);
}

.account-inbox-item.is-unread {
    background: #fffaf4;
    border-left-color: #d7643d;
}

.account-inbox-item.is-unread .account-inbox-meta strong,
.account-inbox-item.is-unread .account-inbox-summary b {
    color: #9a3412;
}

.account-inbox-avatar,
.account-thread-avatar,
.account-chat-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 999px;
    background: #dfddd8;
    color: #153e35;
    font-weight: 850;
}

.account-inbox-avatar {
    width: 56px;
    height: 56px;
}

.account-inbox-avatar img,
.account-thread-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.account-inbox-summary {
    min-width: 0;
}

.account-inbox-meta {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    color: #4b5551;
}

.account-inbox-meta strong,
.account-inbox-meta time,
.account-inbox-summary b,
.account-inbox-summary em {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-inbox-meta strong {
    font-weight: 750;
}

.account-inbox-meta time {
    flex: 0 0 auto;
    font-size: .86rem;
}

.account-inbox-summary b {
    margin-top: .2rem;
    color: #17231f;
    font-weight: 850;
}

.account-inbox-summary em {
    margin-top: .2rem;
    color: #4f5d57;
    font-style: normal;
}

.account-inbox-unread {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: .45rem;
    padding: .16rem .45rem;
    border-radius: 999px;
    background: #d7643d;
    color: #fff;
    font-size: .74rem;
    font-weight: 900;
}

.account-inbox-thread {
    min-width: 0;
    background: #f4f2ed;
}

.account-thread-panel {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    min-height: 620px;
}

.account-thread-panel[hidden] {
    display: none;
}

.account-thread-header {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    gap: .85rem;
    align-items: center;
    padding: .85rem 1rem;
    border-bottom: 1px solid #dcd7cf;
    background: #fff;
}

.account-thread-avatar {
    width: 54px;
    height: 54px;
}

.account-thread-header strong,
.account-thread-header span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-thread-header strong {
    color: #9a3412;
    font-weight: 850;
}

.account-thread-header span {
    color: #6a746f;
}

.account-thread-header a {
    color: #9a3412;
    font-weight: 800;
    text-decoration: none;
}

.account-thread-tools {
    display: flex;
    align-items: center;
    gap: .65rem;
}

.account-thread-more {
    position: relative;
}

.account-thread-more-button {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 44px;
    padding: .6rem 1.05rem;
    border: 0;
    border-radius: 999px;
    background: #fff3dd;
    color: #9a3412;
    font-weight: 850;
}

.account-thread-menu {
    position: absolute;
    top: calc(100% + .55rem);
    right: 0;
    z-index: 20;
    min-width: 220px;
    overflow: hidden;
    border: 1px solid #d4d2ca;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 38px rgba(23, 35, 31, .16);
}

.account-thread-menu[hidden] {
    display: none;
}

.account-thread-menu form {
    margin: 0;
}

.account-thread-menu button {
    display: block;
    width: 100%;
    padding: .9rem 1rem;
    border: 0;
    border-bottom: 1px solid #e6e2da;
    background: #fff;
    color: #17231f;
    text-align: left;
    font-weight: 850;
}

.account-thread-menu button:last-child {
    border-bottom: 0;
}

.account-thread-menu button:hover {
    background: #f7f6f1;
}

.account-thread-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 0;
    padding: 1.2rem;
    overflow: auto;
}

.account-thread-safety-card {
    display: grid;
    gap: .25rem;
    padding: .9rem 1rem;
    border: 1px solid #d6d1c8;
    border-radius: 8px;
    background: #fff;
    color: #17231f;
}

.account-thread-safety-card strong {
    font-weight: 850;
}

.account-thread-safety-card span {
    color: #6e7772;
}

.account-thread-safety-card p {
    margin: .45rem 0 0;
    padding: .55rem .65rem;
    border-radius: 7px;
    background: #fff3dd;
    color: #24331f;
}

.account-thread-empty {
    max-width: 34rem;
    padding: .9rem 1rem;
    border: 1px dashed #d6d1c8;
    border-radius: 8px;
    background: #faf9f5;
    color: #45524d;
}

.account-thread-empty strong {
    display: block;
    color: #17231f;
}

.account-thread-empty p {
    margin: .35rem 0 0;
}

.account-thread-safety-brand strong {
    color: #9a3412;
}

.account-thread-review {
    display: grid;
    gap: .65rem;
    margin: 0 1.2rem 1rem;
    padding: .9rem 1rem;
    border: 1px solid #efd4aa;
    border-radius: 8px;
    background: #fff8eb;
    color: #17231f;
}

.account-thread-review > strong {
    color: #9a3412;
    font-weight: 900;
}

.account-thread-review p {
    margin: 0;
    color: #66736d;
    font-weight: 700;
}

.account-thread-review-values,
.account-thread-review-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .65rem;
}

.account-thread-review-values span {
    padding: .55rem .65rem;
    border: 1px solid #f1dcc0;
    border-radius: 7px;
    background: #fff;
    color: #39413d;
    font-weight: 750;
}

.account-thread-review blockquote {
    margin: 0;
    padding: .7rem .85rem;
    border-left: 4px solid #d85d3d;
    border-radius: 7px;
    background: #fff;
}

.account-thread-review-form {
    display: grid;
    gap: .75rem;
}

.account-thread-review-form label {
    display: grid;
    gap: .35rem;
}

.account-thread-review-form label > span {
    color: #39413d;
    font-size: .9rem;
    font-weight: 900;
}

.account-chat-day {
    align-self: center;
    color: #6e7772;
    font-size: .9rem;
    font-weight: 700;
}

.account-chat-row {
    display: flex;
    gap: .65rem;
    align-items: flex-end;
    max-width: 78%;
}

.account-chat-row-outgoing {
    align-self: flex-end;
    justify-content: flex-end;
}

.account-chat-avatar {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
}

.account-chat-bubble {
    padding: .85rem 1rem;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 0 rgba(23, 35, 31, .04);
    color: #17231f;
}

.account-chat-row-outgoing .account-chat-bubble {
    background: #ffe2ac;
}

.account-chat-attachments {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-top: .55rem;
}

.account-chat-attachment {
    width: 104px;
    height: 82px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    background: #efece5;
    cursor: zoom-in;
}

.account-chat-attachment img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.account-chat-row time {
    display: block;
    margin-top: .25rem;
    color: #6e7772;
    font-size: .85rem;
}

.account-thread-composer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .75rem;
    align-items: center;
    margin: .9rem;
    padding: .65rem;
    border: 1px solid #ddd8cf;
    border-radius: 8px;
    background: #fff;
}

.account-thread-reply-form {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    gap: .75rem;
    align-items: center;
    min-width: 0;
    margin: 0;
}

.account-thread-icon,
.account-thread-send {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
}

.account-thread-icon {
    background: transparent;
    color: #9a3412;
    cursor: pointer;
}

.account-thread-icon input {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    opacity: 0;
    pointer-events: none;
}

.account-thread-icon.is-disabled {
    color: #9aa39e;
    cursor: not-allowed;
}

.account-thread-composer input {
    min-width: 0;
    border: 0;
    outline: 0;
    color: #17231f;
}

.account-thread-send {
    background: #ffe2ac;
    color: #9a3412;
}

.account-thread-send:disabled {
    background: #eef1ec;
    color: #9aa39e;
}

.account-thread-composer .account-message-actions {
    margin: 0;
}

.account-thread-migration-note {
    color: #8a5a00;
    font-size: .84rem;
    font-weight: 800;
}

.account-thread-file-note {
    grid-column: 2 / -1;
    color: #8a5a00;
    font-size: .86rem;
    font-weight: 800;
}

.account-attachment-lightbox[hidden] {
    display: none;
}

.account-attachment-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 2rem;
    background: rgba(13, 20, 28, .88);
}

.account-attachment-lightbox img {
    max-width: min(96vw, 1200px);
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 22px 55px rgba(0, 0, 0, .35);
}

.account-attachment-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #17231f;
}

.account-profile-grid {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 1.25rem;
}

.account-avatar-upload {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    align-items: center;
    text-align: center;
    padding: 1rem;
    border: 1px dashed #cbd8d1;
    border-radius: 8px;
}

.account-avatar-upload small {
    color: #62716b;
}

.account-visibility-settings {
    display: grid;
    gap: 1rem;
    margin-top: .4rem;
    padding: 1rem;
    border: 1px solid #dbe3df;
    border-radius: 8px;
    background: #f9fbfa;
}

.account-visibility-head h3 {
    margin: 0 0 .25rem;
    font-size: 1.05rem;
}

.account-visibility-head p {
    margin: 0;
    color: #5f6f68;
}

.account-visibility-settings fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.account-visibility-settings legend {
    margin-bottom: .55rem;
    float: none;
    color: #17231f;
    font-size: .95rem;
    font-weight: 800;
}

.account-choice-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .65rem;
}

.account-choice {
    position: relative;
    display: block;
    margin: 0;
    cursor: pointer;
}

.account-choice input {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

.account-choice span {
    display: grid;
    min-height: 86px;
    align-content: start;
    gap: .25rem;
    padding: .75rem .85rem;
    border: 1px solid #d5dfda;
    border-radius: 8px;
    background: #fff;
    transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}

.account-choice strong {
    color: #17231f;
    font-weight: 800;
}

.account-choice small {
    color: #6a7972;
}

.account-choice input:checked + span {
    border-color: #ffc247;
    background: #fff8e9;
    box-shadow: inset 4px 0 0 #ffc247;
}

.account-choice input:focus-visible + span {
    outline: 3px solid rgba(255, 194, 71, .35);
    outline-offset: 2px;
}

.account-data-export-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.25rem;
    padding: 1rem;
    border: 1px solid #dbe3df;
    border-radius: 8px;
    background: #f9fbfa;
}

.account-data-export-card h3 {
    margin: 0 0 .35rem;
    font-size: 1.05rem;
}

.account-data-export-card p {
    margin: 0 0 .35rem;
    color: #4d5f58;
}

.account-data-export-card small {
    color: #718078;
}

.account-data-export-card .btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}

.account-edit-image-strip {
    display: flex;
    gap: .5rem;
    overflow-x: auto;
    padding-bottom: .15rem;
}

.account-edit-image-strip img {
    width: 86px;
    height: 64px;
    object-fit: cover;
    border-radius: 7px;
    border: 1px solid #dbe3df;
    background: #e9efec;
    flex: 0 0 auto;
}

@media (max-width: 991.98px) {
    .account-hero {
        padding: 1.05rem 0 1.15rem;
    }

    .account-hero-inner {
        align-items: stretch;
        flex-direction: column;
        gap: .75rem;
    }

    .account-profile-summary {
        align-items: center;
        gap: .7rem;
    }

    .account-profile-summary h1 {
        font-size: clamp(1.45rem, 6.6vw, 2.15rem);
        line-height: 1.05;
    }

    .account-profile-summary p {
        max-width: 100%;
        font-size: .93rem;
        line-height: 1.3;
        overflow-wrap: anywhere;
    }

    .account-profile-summary .account-avatar-lg {
        width: 54px;
        height: 54px;
        font-size: 1.25rem;
    }

    .account-hero-inner > .btn {
        align-self: flex-start;
        min-height: 40px;
        padding: .5rem .8rem;
        font-size: .95rem;
    }

    .account-layout,
    .account-profile-grid {
        grid-template-columns: 1fr;
    }

    .account-sidebar {
        position: static;
        display: flex;
        gap: .4rem;
        overflow-x: auto;
        padding: .45rem;
        border-radius: 8px;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    .account-sidebar a {
        flex: 0 0 auto;
        min-height: 38px;
        padding: .5rem .65rem;
        white-space: nowrap;
        border: 1px solid transparent;
        background: #fff;
        font-size: .9rem;
    }

    .account-sidebar a.active {
        box-shadow: none;
        border-color: #ffc247;
        background: #fff8e9;
    }

    .account-sidebar-danger {
        margin-left: .15rem;
    }

    .account-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .5rem;
    }

    .account-metrics div {
        padding: .7rem .75rem;
    }

    .account-metrics strong {
        font-size: 1.25rem;
    }

    .account-metrics span {
        font-size: .82rem;
        line-height: 1.25;
    }

    .account-panel {
        padding: .95rem;
    }

    .account-panel-head {
        margin-bottom: .75rem;
    }

    .account-panel-head h2 {
        font-size: 1.35rem;
        line-height: 1.1;
    }

    .account-panel-head p {
        font-size: .92rem;
        line-height: 1.35;
    }

    .account-overview-actions {
        gap: .55rem;
        margin-top: .75rem;
    }

    .account-overview-card {
        min-height: 96px;
        padding: .8rem;
    }

    .account-overview-card i {
        font-size: 1.1rem;
    }

    .account-overview-card strong {
        font-size: .98rem;
        line-height: 1.2;
    }

    .account-overview-card span {
        font-size: .82rem;
        line-height: 1.3;
    }

    .account-overview-actions {
        grid-template-columns: 1fr;
    }

    .account-limit-note,
    .account-listing-stats {
        align-items: flex-start;
        flex-direction: column;
    }

    .account-data-export-card {
        align-items: stretch;
        flex-direction: column;
    }

    .account-choice-grid {
        grid-template-columns: 1fr;
    }

    .account-email-grid {
        grid-template-columns: 1fr;
    }

    .account-choice span {
        min-height: auto;
    }

    .account-listing-row {
        grid-template-columns: 92px minmax(0, 1fr);
    }

    .account-listing-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .account-inbox {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .account-inbox-list {
        max-height: 340px;
        border-right: 0;
        border-bottom: 1px solid #dce5e0;
    }

    .account-thread-panel {
        min-height: 520px;
    }

    .account-thread-composer {
        grid-template-columns: 1fr;
    }

    .account-thread-reply-form {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .account-thread-file-note {
        grid-column: 1 / -1;
        padding-left: .25rem;
    }

    .account-thread-composer .account-message-actions {
        justify-self: end;
    }
}

@media (max-width: 575.98px) {
    body.public-body {
        padding-bottom: calc(4.85rem + env(safe-area-inset-bottom));
    }

    .mobile-app-nav {
        left: .45rem;
        right: .45rem;
        bottom: calc(.45rem + env(safe-area-inset-bottom));
        min-height: 3.85rem;
        padding: .34rem;
        gap: .1rem;
    }

    .mobile-app-nav-item {
        min-height: 3.05rem;
        padding: .28rem .16rem;
        gap: .08rem;
        font-size: .61rem;
    }

    .mobile-app-nav-item i {
        font-size: 1.13rem;
    }

    .mobile-app-nav-create i {
        font-size: 1.2rem;
    }

    .account-hero {
        padding: .55rem 0 .6rem;
    }

    .account-profile-summary {
        align-items: flex-start;
        gap: .55rem;
    }

    .account-profile-summary h1 {
        font-size: 1.24rem;
    }

    .account-profile-summary p {
        margin-top: .05rem;
        font-size: .78rem;
        line-height: 1.2;
    }

    .account-profile-summary .account-avatar-lg {
        width: 40px;
        height: 40px;
        font-size: .95rem;
    }

    .account-hero-inner > .btn {
        width: 100%;
        justify-content: center;
        min-height: 36px;
        padding: .38rem .65rem;
        font-size: .84rem;
    }

    .account-section {
        padding-top: .75rem;
        padding-bottom: 1.25rem;
    }

    .account-section .container {
        padding-left: .65rem;
        padding-right: .65rem;
    }

    .account-sidebar {
        display: flex;
        gap: .35rem;
        overflow-x: auto;
        padding: .3rem;
    }

    .account-sidebar a {
        min-height: 34px;
        width: auto;
        padding: .4rem .52rem;
        white-space: nowrap;
        font-size: .78rem;
        line-height: 1.1;
    }

    .account-sidebar a i {
        flex: 0 0 auto;
    }

    .account-sidebar a.active {
        box-shadow: inset 3px 0 0 #d7643d;
        border-color: #f0c8b9;
        background: #fff3ed;
    }

    .account-panel {
        padding: .68rem;
    }

    .account-panel-head h2 {
        font-size: 1.08rem;
    }

    .account-panel-head p {
        font-size: .8rem;
    }

    .account-metrics {
        gap: .38rem;
    }

    .account-metrics div {
        padding: .55rem .58rem;
    }

    .account-metrics strong {
        font-size: 1.08rem;
    }

    .account-metrics span {
        font-size: .74rem;
    }

    .account-overview-actions {
        gap: .42rem;
    }

    .account-overview-card {
        min-height: auto;
        padding: .62rem;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        column-gap: .55rem;
    }

    .account-overview-card i {
        grid-row: span 2;
        font-size: 1rem;
    }

    .account-overview-card strong {
        font-size: .9rem;
    }

    .account-overview-card span {
        font-size: .74rem;
    }

    .account-email-subtabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .account-email-subtabs button {
        justify-content: center;
        min-height: 46px;
        padding: .55rem .6rem;
        font-size: .9rem;
    }

    .account-watchlist-summary {
        grid-template-columns: 1fr;
    }

    .account-toggle-card {
        min-height: auto;
        padding: .65rem;
        gap: .55rem;
    }

    .account-listings,
    .account-message-list {
        gap: .5rem;
    }

    .account-listing-row {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: .62rem;
        padding: .58rem;
    }

    .account-listing-info h3 {
        font-size: .92rem;
        line-height: 1.2;
    }

    .account-listing-info p,
    .account-listing-stats {
        font-size: .78rem;
    }

    .account-listing-actions {
        gap: .35rem;
    }

    .account-listing-actions .btn {
        padding: .34rem .52rem;
        font-size: .76rem;
    }

    .account-profile-grid {
        gap: .7rem;
    }

    .account-avatar-upload {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        gap: .6rem;
        align-items: center;
        padding: .68rem;
        text-align: left;
    }

    .account-avatar-upload .account-avatar-xl {
        width: 56px;
        height: 56px;
        font-size: 1.25rem;
        grid-row: span 2;
    }

    .account-avatar-upload small {
        font-size: .74rem;
        line-height: 1.25;
    }

    .account-visibility-settings,
    .account-data-export-card,
    .account-setting-note {
        padding: .68rem;
    }

    .account-choice span {
        padding: .58rem .62rem;
    }

    .account-choice small {
        font-size: .74rem;
    }

    .account-inbox-item {
        grid-template-columns: 46px minmax(0, 1fr);
        padding: .85rem;
    }

    .account-inbox-avatar {
        width: 46px;
        height: 46px;
    }

    .account-thread-header {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .account-thread-tools {
        grid-column: 2;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .account-thread-menu {
        right: auto;
        left: 0;
    }

    .account-thread-avatar {
        width: 44px;
        height: 44px;
    }

    .account-chat-row {
        max-width: 92%;
    }

    .account-chat-attachment {
        width: 86px;
        height: 72px;
    }
}

.ka-market-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 1.5rem;
}

.ka-filter {
    display: flex;
    flex-direction: column;
    gap: .45rem;
}

.ka-filter h2 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: .35rem;
}

.ka-filter a {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .65rem .75rem;
    border-radius: 6px;
    color: #22342e;
    text-decoration: none;
}

.ka-filter a.active,
.ka-filter a:hover {
    background: #e9efec;
}

.ka-result-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    color: #62716b;
}

.ka-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 1.5rem;
    align-items: start;
}

.ka-detail-main,
.ka-contact-box,
.ka-form-wrap,
.ka-auth-wrap {
    background: #fff;
    border: 1px solid #dbe3df;
    border-radius: 8px;
}

.ka-gallery {
    display: grid;
    gap: .75rem;
    padding: .75rem;
    background: #f4f7f5;
    border-radius: 8px 8px 0 0;
}

.ka-gallery img {
    width: 100%;
    max-height: 720px;
    object-fit: contain;
    background: #fff;
    border-radius: 6px;
}

.ka-detail-text,
.ka-contact-box,
.ka-form-wrap,
.ka-auth-wrap {
    padding: 1.5rem;
}

.ka-detail-page .ka-detail-main {
    background: transparent;
    border: 0;
    border-radius: 0;
}

.ka-back-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: #42675b;
    text-decoration: none;
    margin-bottom: .75rem;
}

.ka-form {
    max-width: 980px;
}

.listing-compose-page {
    background: #f3f2ef;
    color: #151918;
}

.listing-compose-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 2.8rem;
    padding-bottom: 2.1rem;
}

.listing-compose-head h1 {
    margin: 0;
    font-size: clamp(2rem, 3vw, 3.25rem);
    font-weight: 900;
    letter-spacing: 0;
}

.listing-compose-head p {
    max-width: 760px;
    margin: .5rem 0 0;
    color: #61706c;
    font-size: 1.08rem;
    font-weight: 600;
}

.listing-compose-info-strip {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem .9rem;
    margin-top: .9rem;
    color: #52625d;
    font-size: .95rem;
    font-weight: 750;
}

.listing-compose-info-strip span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .45rem .65rem;
    border: 1px solid #ddd8d0;
    border-radius: 8px;
    background: #fff;
}

.listing-compose-info-strip i {
    color: var(--ka-accent);
}

.listing-compose-band {
    padding: 0 0 3.5rem;
}

.listing-compose-notice {
    max-width: 1180px;
    margin: 0 auto 1rem;
}

.listing-compose-form {
    max-width: 1180px;
    margin: 0 auto;
    background: #fff;
    border-left: 1px solid #dedbd5;
    border-right: 1px solid #dedbd5;
}

.listing-compose-card {
    padding: 2rem 1.35rem 2.25rem;
    border-bottom: 1px solid #dedbd5;
}

.listing-compose-card h2 {
    margin: 0 0 1.3rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #dedbd5;
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 0;
}

.listing-compose-row {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr) 280px;
    gap: 1.75rem;
    align-items: center;
    margin-top: 1.1rem;
}

.listing-compose-row-top {
    align-items: start;
}

.listing-compose-label {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: #202423;
}

.listing-compose-control .form-control,
.listing-compose-control .form-select {
    border-color: #b9b9b3;
    border-radius: 8px;
    color: #181c1b;
    background-color: #fff;
}

.listing-compose-control .form-control:focus,
.listing-compose-control .form-select:focus {
    border-color: #d7643d;
    box-shadow: 0 0 0 .2rem rgba(215, 100, 61, .18);
}

.listing-compose-tip {
    margin: 0;
    color: #7b7d78;
    font-size: .96rem;
    font-style: italic;
    font-weight: 650;
    line-height: 1.35;
}

.listing-choice-group {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.listing-choice-group label {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
}

.listing-choice-group input,
.listing-checkbox input {
    width: 1.25rem;
    height: 1.25rem;
    accent-color: var(--ka-accent);
}

.listing-category-fields-card {
    margin-top: 1.35rem;
    padding-top: 1.35rem;
    border-top: 1px dashed #dedbd5;
}

.listing-category-fields-card[hidden],
.listing-category-field-group[hidden] {
    display: none !important;
}

.listing-category-fields-card h3 {
    margin: 0 0 .8rem;
    color: #202423;
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: 0;
}

.listing-category-checkbox {
    margin-top: .3rem;
}

.listing-price-grid {
    display: grid;
    grid-template-columns: minmax(160px, 240px) minmax(220px, 1fr);
    gap: 1rem;
}

.listing-price-input {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: .65rem;
}

.listing-price-input span {
    font-weight: 800;
}

.listing-location-grid {
    display: grid;
    grid-template-columns: minmax(120px, 170px) minmax(0, 1fr);
    gap: 1rem;
    align-items: end;
}

.listing-mini-label {
    display: block;
    margin: 0 0 .25rem .15rem;
    color: #7b7d78;
    font-size: .88rem;
    font-weight: 800;
}

.listing-char-count {
    margin-top: .35rem;
    color: #464b49;
    text-align: right;
    font-weight: 800;
}

.listing-dropzone {
    position: relative;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .2rem;
    padding: 1.5rem;
    border: 2px dashed #a8aaa4;
    border-radius: 8px;
    background: #fdfdfc;
    color: #171b19;
    text-align: center;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.listing-dropzone:hover,
.listing-dropzone.is-dragging {
    border-color: var(--ka-accent);
    background: color-mix(in srgb, var(--ka-accent) 11%, white);
    transform: translateY(-1px);
}

.listing-dropzone.is-invalid {
    border-color: #b54708;
    background: #fff7ed;
}

.listing-dropzone.is-invalid + .invalid-feedback {
    display: block;
}

.listing-price-grid > .invalid-feedback,
.listing-location-grid > .invalid-feedback {
    grid-column: 1 / -1;
}

.listing-dropzone i {
    color: #69716d;
    font-size: 1.65rem;
}

.listing-dropzone strong {
    font-size: 1.25rem;
    font-weight: 900;
}

.listing-dropzone span {
    color: #70736f;
    font-size: 1.05rem;
    font-weight: 700;
}

.listing-dropzone input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.listing-upload-feedback {
    margin-top: .55rem;
    padding: .65rem .8rem;
    border: 1px solid #dbe3dc;
    border-radius: 8px;
    background: #f8faf8;
    color: #17342d;
    font-size: .95rem;
    font-weight: 800;
    line-height: 1.35;
}

.listing-upload-feedback[hidden] {
    display: none;
}

.listing-upload-feedback.is-error {
    border-color: #fecdca;
    background: #fff1f0;
    color: #b42318;
}

.listing-upload-feedback.is-info {
    border-color: #fedf89;
    background: #fffbeb;
    color: #7a2e0e;
}

.listing-upload-feedback.is-success {
    border-color: #abefc6;
    background: #ecfdf3;
    color: #067647;
}

.listing-sort-hint {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: .7rem;
    color: #343837;
    font-weight: 700;
}

.listing-image-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
    gap: .85rem;
    margin-top: 1rem;
}

.listing-image-item {
    position: relative;
    display: grid;
    grid-template-rows: 112px auto;
    gap: .45rem;
    padding: .55rem;
    border: 1px solid #d5d9d3;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(18, 38, 58, .08);
}

.listing-image-item.is-dragging {
    opacity: .65;
}

.listing-image-preview-button {
    position: relative;
    display: block;
    width: 100%;
    height: 112px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 6px;
    background: #eef2ef;
    cursor: zoom-in;
}

.listing-image-preview-button img {
    width: 100%;
    height: 112px;
    object-fit: cover;
    transition: transform .18s ease, filter .18s ease;
}

.listing-image-preview-button span {
    position: absolute;
    inset: auto .45rem .45rem auto;
    display: inline-grid;
    place-items: center;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .9);
    color: #17342d;
    box-shadow: 0 5px 14px rgba(0, 0, 0, .16);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .16s ease, transform .16s ease;
}

.listing-image-preview-button:hover img,
.listing-image-preview-button:focus-visible img {
    filter: brightness(.88);
    transform: scale(1.025);
}

.listing-image-preview-button:hover span,
.listing-image-preview-button:focus-visible span {
    opacity: 1;
    transform: translateY(0);
}

.listing-image-drag,
.listing-image-menu-toggle {
    position: absolute;
    display: inline-grid;
    place-items: center;
    width: 1.9rem;
    height: 1.9rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: #14251f;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}

.listing-image-drag {
    top: .85rem;
    left: .85rem;
    cursor: grab;
    opacity: .94;
}

.listing-image-menu-toggle {
    top: .85rem;
    right: .85rem;
    font-size: 1.15rem;
}

.listing-image-actions {
    position: absolute;
    z-index: 3;
    top: 3rem;
    right: .65rem;
    min-width: 10.25rem;
    padding: .35rem;
    border: 1px solid #dbe2dd;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 32px rgba(18, 38, 58, .18);
}

.listing-image-action {
    display: flex;
    align-items: center;
    gap: .45rem;
    width: 100%;
    padding: .45rem .55rem;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #14251f;
    font-weight: 800;
    text-align: left;
}

.listing-image-action:hover,
.listing-image-action:focus-visible {
    background: #f1f5f2;
}

.listing-image-action.listing-image-remove {
    color: #b42318;
}

.listing-image-item.is-rotating .listing-image-preview-button img {
    opacity: .55;
}

.listing-form-field-alert {
    margin: 0 0 1rem;
    padding: .8rem 1rem;
    border: 1px solid #ffd899;
    border-radius: 8px;
    background: #fff8e6;
    color: #7a4b00;
    font-weight: 700;
}

.listing-image-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    min-height: 2rem;
    margin: 0;
    color: #17342d;
    font-size: .9rem;
    font-weight: 800;
    cursor: pointer;
}

.listing-image-primary input {
    accent-color: #d4643d;
}

.listing-image-lightbox[hidden] {
    display: none;
}

.listing-image-lightbox {
    position: fixed;
    z-index: 1080;
    inset: 0;
    display: grid;
    place-items: center;
    padding: clamp(1rem, 4vw, 3rem);
    background: rgba(8, 18, 28, .82);
}

.listing-image-lightbox img {
    max-width: min(100%, 1200px);
    max-height: 86vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .38);
}

.listing-image-lightbox-close {
    position: fixed;
    top: 1rem;
    right: 1rem;
    display: inline-grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #14251f;
    font-size: 1.15rem;
    box-shadow: 0 14px 32px rgba(0, 0, 0, .24);
}

body.listing-lightbox-open {
    overflow: hidden;
}

body.ka-message-confirmation-open {
    overflow: hidden;
}

body.ka-message-modal-open {
    overflow: hidden;
}

.listing-publish-box {
    display: grid;
    gap: 1.15rem;
    color: #202423;
    font-size: 1.02rem;
}

.listing-publish-box p {
    margin: 0;
}

.listing-publish-box a {
    color: #b94e2c;
    font-weight: 800;
}

@media (max-width: 700px) {
    .listing-dropzone {
        min-height: 118px;
        padding: 1rem;
    }

    .listing-dropzone strong {
        font-size: 1.05rem;
    }

    .listing-dropzone span {
        font-size: .92rem;
    }
}

.listing-checkbox {
    display: flex;
    gap: .7rem;
    align-items: flex-start;
    max-width: 860px;
    cursor: pointer;
}

.listing-submit-bar {
    display: flex;
    gap: .85rem;
    flex-wrap: wrap;
    margin-top: 1.75rem;
}

.listing-submit-bar .btn {
    border-radius: 999px;
    padding-left: 1.55rem;
    padding-right: 1.55rem;
    font-weight: 900;
}

.listing-submit-bar .btn-accent {
    background: var(--ka-accent);
    color: #17231f;
    border-color: var(--ka-accent);
    box-shadow: none;
}

.listing-submit-bar .btn-accent:hover {
    background: var(--ka-accent-hover);
    color: #17231f;
}

.listing-preview-box {
    margin-top: 1.4rem;
    padding: 1rem;
    border: 1px solid #d7ded7;
    border-radius: 8px;
    background: #f8faf8;
}

.listing-preview-box strong {
    color: #b94e2c;
    text-transform: uppercase;
    font-size: .78rem;
    letter-spacing: 0;
}

.listing-preview-box h3 {
    margin: .35rem 0 .2rem;
    font-size: 1.2rem;
    font-weight: 900;
}

.listing-preview-meta {
    margin: 0 0 .45rem;
    color: #596662;
    font-weight: 800;
}

.listing-preview-description {
    margin: 0;
    color: #2c3431;
    white-space: pre-wrap;
}

.ka-auth-wrap {
    max-width: 760px;
}

@media (max-width: 767.98px) {
    .ka-page-title {
        padding: 1.5rem 0 1.15rem;
    }

    .ka-page-title h1 {
        margin-bottom: .35rem;
        font-size: clamp(2rem, 9vw, 2.55rem);
        line-height: 1.05;
    }

    .ka-page-title p {
        max-width: 34rem;
        font-size: 1rem;
        line-height: 1.35;
    }

    .ka-section {
        padding: 1.4rem 0 2.25rem;
    }

    .ka-auth-wrap {
        padding: 1.25rem;
    }

    .ka-auth-wrap .row {
        --bs-gutter-y: 1rem;
    }
}

@media (max-width: 575.98px) {
    .ka-page-title {
        padding: .95rem 0 .75rem;
    }

    .ka-page-title h1 {
        margin-bottom: .2rem;
        font-size: 1.55rem;
        line-height: 1.08;
    }

    .ka-page-title p {
        font-size: .9rem;
        line-height: 1.3;
    }

    .ka-section {
        padding: .9rem 0 1.35rem;
    }

    .ka-auth-wrap {
        padding: .9rem;
    }
}

.ka-empty {
    padding: 2rem;
    background: #fff;
    border: 1px solid #dbe3df;
    border-radius: 8px;
    color: #62716b;
}

.ka-empty-state,
.ka-status-card {
    display: grid;
    justify-items: start;
    gap: .65rem;
    padding: 2rem;
    border: 1px solid #dbe3df;
    border-radius: 8px;
    background: #ffffff;
    color: #17231f;
    box-shadow: 0 14px 34px rgba(20, 39, 34, .08);
}

.ka-empty-state-wide {
    grid-column: 1 / -1;
}

.ka-empty-state > i,
.ka-status-card > i {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #fff3cf;
    color: #153e35;
    font-size: 1.35rem;
}

.ka-empty-state h2,
.ka-status-card h1 {
    margin: .25rem 0 0;
    color: #17231f;
    font-size: clamp(1.35rem, 2vw, 2rem);
    font-weight: 850;
    letter-spacing: 0;
}

.ka-empty-state p,
.ka-status-card p {
    max-width: 680px;
    margin: 0;
    color: #62716b;
}

.ka-empty-actions {
    display: flex;
    gap: .65rem;
    flex-wrap: wrap;
    margin-top: .45rem;
}

.ka-status-section {
    background: #f5f7fb;
}

.ka-status-card {
    max-width: 760px;
    margin: 0 auto;
}

.ka-status-code {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: .25rem .75rem;
    border: 1px solid #dbe3df;
    border-radius: 999px;
    color: #42675b;
    background: #f4f7f5;
    font-size: .82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

@media (max-width: 575.98px) {
    .ka-empty,
    .ka-empty-state,
    .ka-status-card {
        padding: 1rem;
    }

    .ka-empty-state,
    .ka-status-card {
        gap: .45rem;
        box-shadow: 0 8px 20px rgba(20, 39, 34, .06);
    }

    .ka-empty-state > i,
    .ka-status-card > i {
        width: 40px;
        height: 40px;
        font-size: 1.05rem;
    }

    .ka-empty-state h2,
    .ka-status-card h1 {
        margin-top: .1rem;
        font-size: 1.25rem;
        line-height: 1.12;
    }

    .ka-empty-state p,
    .ka-status-card p {
        font-size: .92rem;
        line-height: 1.35;
    }

    .ka-empty-actions {
        gap: .45rem;
        margin-top: .25rem;
    }
}

@media (max-width: 991.98px) {
    .global-search-inner,
    .home-market-grid {
        grid-template-columns: 1fr;
    }

    .global-search-form {
        grid-template-columns: 1fr 1fr;
        max-width: none;
        border-radius: 14px;
    }

    .global-search-keyword {
        grid-column: 1 / -1;
    }

    .global-search-form button {
        grid-column: 1 / -1;
        margin: 0 .55rem .55rem;
    }

    .global-quick-nav {
        justify-content: center;
    }

    .global-quick-nav .global-account-dropdown {
        display: none;
    }

    .home-category-panel {
        position: static;
    }

    .home-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-city-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ka-detail-grid {
        grid-template-columns: 1fr;
    }

    .ka-detail-sidebar {
        position: static;
    }

    .ka-detail-gallery,
    .ka-gallery-stage {
        min-height: 320px;
    }

    .ka-gallery-stage {
        height: min(78vw, 520px);
    }

    .listing-compose-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .listing-compose-info-strip {
        flex-direction: column;
        gap: .45rem;
    }

    .listing-compose-row {
        grid-template-columns: 1fr;
        gap: .65rem;
        margin-top: 1.35rem;
    }

    .listing-compose-card {
        padding: 1.5rem 1rem;
    }

    .listing-price-grid,
    .listing-location-grid {
        grid-template-columns: 1fr;
    }

    .listing-compose-tip:empty {
        display: none;
    }

    .ka-search,
    .ka-market-layout,
    .ka-detail-layout {
        grid-template-columns: 1fr;
    }

    .seller-profile-summary-card {
        grid-template-columns: auto minmax(0, 1fr);
        align-items: start;
    }

    .seller-profile-summary-actions {
        grid-column: 1 / -1;
    }

    .seller-listing-row {
        grid-template-columns: 190px minmax(0, 1fr);
    }

    .ka-section-head {
        align-items: start;
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    .global-search-inner {
        gap: .8rem;
        padding-block: .85rem;
    }

    .global-search-form {
        grid-template-columns: 1fr;
    }

    .global-search-form label {
        min-height: 50px;
        border-right: 0;
        border-bottom: 1px solid #e1ded8;
    }

    .global-search-form label:last-of-type {
        border-bottom: 0;
    }

    .global-quick-nav {
        display: none;
    }

    .home-market-wrap {
        padding-block: 1rem 2.25rem;
    }

    .home-hero-board {
        min-height: 210px;
    }

    .home-hero-placeholder img {
        width: min(260px, 72vw);
    }

    .home-category-panel,
    .home-showcase-panel,
    .home-recommend-panel,
    .home-city-panel {
        padding: .9rem;
    }

    .home-panel-head {
        align-items: flex-start;
        flex-direction: column;
        gap: .35rem;
    }

    .home-carousel-actions {
        width: 100%;
        justify-content: space-between;
    }

    .home-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .85rem;
    }

    .home-listing-card-compact {
        width: 168px;
    }

    .home-city-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-top-link {
        right: .8rem;
        bottom: .8rem;
        padding: .65rem .9rem;
    }

    .ka-detail-page {
        padding: 1rem 0 2.25rem;
    }

    .ka-breadcrumbs {
        font-size: .92rem;
        overflow-x: auto;
        white-space: nowrap;
    }

    .ka-detail-gallery,
    .ka-gallery-stage {
        min-height: 260px;
    }

    .ka-gallery-stage {
        height: min(88vw, 430px);
    }

    .ka-gallery-nav {
        width: 38px;
        height: 52px;
        font-size: 1.35rem;
    }

    .ka-gallery-prev {
        left: .45rem;
    }

    .ka-gallery-next {
        right: .45rem;
    }

    .ka-detail-summary,
    .ka-detail-description,
    .ka-detail-message,
    .ka-seller-card,
    .ka-review-card,
    .ka-listing-id-card {
        padding: 1rem;
    }

    .ka-detail-facts div {
        grid-template-columns: 1fr;
        gap: .25rem;
        padding: 1rem;
    }

    .ka-detail-message-form,
    .ka-related-card {
        grid-template-columns: 1fr;
    }

    .ka-message-row {
        grid-template-columns: 1fr;
        gap: .35rem;
    }

    .ka-message-row > label,
    .ka-message-row > span {
        padding-top: 0;
    }

    .ka-message-location-fields {
        grid-template-columns: 1fr;
    }

    .ka-message-checkbox-row {
        width: 100%;
    }

    .ka-message-write-modal {
        padding: .5rem;
    }

    .ka-message-write-dialog {
        min-height: calc(100vh - 1rem);
        padding: 1rem;
        border-radius: 8px;
    }

    .ka-message-write-listing {
        align-items: flex-start;
        margin-bottom: 1rem;
    }

    .ka-message-write-avatar {
        width: 56px;
        height: 56px;
        font-size: 1.35rem;
    }

    .ka-message-actions {
        justify-content: stretch;
    }

    .ka-message-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .ka-related-thumb {
        max-width: 240px;
    }

    .ka-detail-lightbox {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .ka-detail-lightbox-nav {
        position: fixed;
        top: 50%;
        transform: translateY(-50%);
    }

    .ka-detail-lightbox-prev {
        left: .65rem;
    }

    .ka-detail-lightbox-next {
        right: .65rem;
    }

    .seller-profile-shell {
        gap: 1rem;
        padding-top: 1rem;
    }

    .seller-profile-summary-card {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .seller-profile-summary-avatar {
        width: 86px;
        height: 86px;
    }

    .seller-profile-summary-avatar span {
        font-size: 2.1rem;
    }

    .seller-profile-summary-head {
        align-items: flex-start;
        flex-direction: column;
        gap: .65rem;
    }

    .seller-profile-trust-score {
        white-space: normal;
    }

    .seller-profile-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .seller-listing-row,
    .seller-review-form {
        grid-template-columns: 1fr;
    }

    .account-thread-review {
        margin: 0 .75rem 1rem;
    }

    .account-thread-review-values,
    .account-thread-review-fields {
        grid-template-columns: 1fr;
    }

    .seller-listing-image {
        max-width: 260px;
    }

    .seller-listing-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: .3rem;
    }
}
