:root {
    --bg: #f3efe8;
    --paper: #fff;
    --ink: #2b1b18;
    --muted: #7c7069;
    --maroon: #43130f;
    --red: #a72e27;
    --orange: #e37d2a;
    --gold: #d3a24f;
    --line: #e4ddd3;
    --sidebar: #2f1110;
    --sans: 'Manrope', system-ui, sans-serif;
    --display: 'Cinzel', serif
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: var(--sans);
    background: var(--bg);
    color: var(--ink)
}

a {
    text-decoration: none;
    color: inherit
}

button,
input,
textarea,
select {
    font: inherit
}

.admin-shell {
    min-height: 100vh
}

.admin-sidebar {
    position: fixed;
    z-index: 30;
    left: 0;
    top: 0;
    bottom: 0;
    width: 260px;
    background: var(--sidebar);
    color: #f5e9da;
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    overflow-y: auto
}

.admin-brand {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 32px
}

.admin-brand>span {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--orange);
    font-family: 'Noto Serif Devanagari', serif;
    font-size: 1.25rem
}

.admin-brand div {
    display: flex;
    flex-direction: column
}

.admin-brand strong {
    font-family: var(--display);
    letter-spacing: .1em;
    font-size: .9rem
}

.admin-brand small {
    font-size: .57rem;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: #e8a95f;
    margin-top: 4px
}

.admin-sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 3px
}

.admin-sidebar nav a {
    padding: 10px 12px;
    border-radius: 5px;
    font-size: .82rem;
    color: rgba(255, 255, 255, .72)
}

.admin-sidebar nav a:hover,
.admin-sidebar nav a.active {
    background: rgba(255, 255, 255, .08);
    color: #fff
}

.admin-sidebar nav a.active {
    border-left: 2px solid var(--orange)
}

.nav-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nav-group-btn {
    padding: 10px 12px;
    border-radius: 5px;
    font-size: .82rem;
    color: rgba(255, 255, 255, .72);
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: left;
    min-height: 44px;
    transition: background 0.15s ease, color 0.15s ease;
}

.nav-group-btn:hover,
.nav-group-btn.active,
.nav-group.open > .nav-group-btn {
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.nav-group-btn.active {
    border-left: 2px solid var(--orange);
}

.nav-group-lead {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-group-caret {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.nav-group.open .nav-group-caret {
    transform: rotate(180deg);
}

.nav-group.open .nav-group-submenu {
    display: flex;
}

.nav-group-submenu {
    display: none;
    flex-direction: column;
    gap: 3px;
    padding-left: 18px;
    margin-top: 2px;
    margin-bottom: 4px;
}

.nav-group-submenu a {
    padding: 8px 12px;
    font-size: .78rem;
    min-height: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-label {
    font-size: .56rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #df984e;
    margin: 23px 10px 7px
}

.sidebar-bottom {
    margin-top: auto;
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, .1)
}

.sidebar-bottom a,
.sidebar-bottom button {
    color: rgba(255, 255, 255, .67);
    font-size: .75rem;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer
}

.admin-main {
    margin-left: 260px;
    min-height: 100vh
}

.admin-topbar {
    height: 96px;
    background: rgba(255, 255, 255, .86);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    padding: 0 36px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: sticky;
    top: 0;
    z-index: 20
}

.admin-topbar h1 {
    font-size: 1.4rem;
    margin: 3px 0 0
}

.admin-kicker {
    font-size: .55rem;
    letter-spacing: .16em;
    color: var(--orange);
    font-weight: 700
}

.admin-user {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    text-align: right;
    font-size: .76rem
}

.admin-user small {
    color: var(--muted)
}

.admin-menu-toggle {
    display: none;
    border: 1px solid var(--line);
    background: #fff;
    width: 40px;
    height: 40px
}

.admin-content {
    padding: 36px;
    max-width: 1500px;
    margin: auto
}

.notice {
    padding: 14px 16px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: .82rem
}

.notice.success {
    background: #e9f6ec;
    color: #256039;
    border: 1px solid #cce8d3
}

.notice.error {
    background: #fff0ed;
    color: #8f2d27;
    border: 1px solid #f0c7c2
}

.notice ul {
    margin: 6px 0 0
}

.dashboard-intro,
.admin-page-head {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: end;
    margin-bottom: 28px
}

.dashboard-intro h2,
.admin-page-head h2 {
    font-family: var(--display);
    font-size: 1.75rem;
    color: var(--maroon);
    margin: 5px 0
}

.dashboard-intro p,
.admin-page-head p {
    color: var(--muted);
    font-size: .83rem;
    margin: 0
}

.admin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid transparent;
    background: transparent;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .65rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: 3px;
    white-space: nowrap
}

.admin-btn.primary {
    background: var(--red);
    color: #fff
}

.admin-btn.primary:hover {
    background: var(--orange)
}

.admin-btn.ghost {
    border-color: var(--line);
    background: #fff;
    color: var(--ink)
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-bottom: 26px
}

.stat-card {
    background: #fff;
    border: 1px solid var(--line);
    padding: 20px
}

.stat-card span {
    display: block;
    color: var(--muted);
    font-size: .65rem;
    text-transform: uppercase;
    letter-spacing: .09em
}

.stat-card strong {
    font-family: var(--display);
    font-size: 2rem;
    color: var(--maroon);
    display: block;
    margin-top: 5px
}

.admin-two-col {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 20px
}

.panel {
    background: #fff;
    border: 1px solid var(--line);
    padding: 24px;
    border-radius: 3px
}

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px
}

.panel-head h3 {
    margin: 3px 0;
    font-size: 1.1rem
}

.panel-head>a {
    font-size: .7rem;
    color: var(--red)
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px
}

.quick-grid a {
    border: 1px solid var(--line);
    padding: 14px;
    font-size: .78rem;
    background: #faf8f5
}

.quick-grid a:hover {
    border-color: var(--orange)
}

.sync-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    border-top: 1px solid var(--line);
    padding: 13px 0
}

.sync-row strong,
.sync-row small {
    display: block;
    font-size: .73rem
}

.sync-row small {
    color: var(--muted);
    margin-top: 4px
}

.panel-empty {
    padding: 25px;
    text-align: center;
    color: var(--muted);
    font-size: .78rem
}

.table-wrap {
    overflow: auto;
    background: #fff;
    border: 1px solid var(--line)
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 780px
}

.admin-table th {
    text-align: left;
    font-size: .57rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--muted);
    padding: 13px 16px;
    background: #faf8f4;
    border-bottom: 1px solid var(--line)
}

.admin-table td {
    padding: 15px 16px;
    border-bottom: 1px solid var(--line);
    font-size: .78rem;
    vertical-align: middle
}

.admin-table td strong {
    display: block
}

.admin-table td small {
    display: block;
    color: var(--muted);
    font-size: .67rem;
    margin-top: 3px
}

.actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px
}

.actions form {
    display: inline
}

.actions a,
.actions button {
    border: 0;
    background: transparent;
    color: var(--red);
    font-size: .7rem;
    cursor: pointer;
    padding: 3px
}

.status {
    display: inline-flex;
    border-radius: 20px;
    padding: 4px 8px;
    font-size: .59rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 700;
    background: #eee;
    color: #555
}

.status-published,
.status-success {
    background: #e5f5e9;
    color: #2d6a3f
}

.status-draft,
.status-pending {
    background: #f4efe5;
    color: #82672a
}

.status-failed {
    background: #ffebe7;
    color: #a23229
}

.admin-pagination {
    margin-top: 20px
}

.admin-pagination nav>div:first-child {
    display: none
}

.admin-pagination nav>div:last-child {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: .75rem
}

.admin-pagination nav span,
.admin-pagination nav a {
    display: inline-flex;
    padding: 7px 10px;
    background: #fff;
    border: 1px solid var(--line);
    margin: 2px
}

.form-panel {
    padding: 28px
}

.admin-form label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: .68rem;
    font-weight: 700;
    color: #4f413b
}

.admin-form input,
.admin-form textarea,
.admin-form select {
    width: 100%;
    border: 1px solid var(--line);
    background: #fff;
    padding: 11px 12px;
    border-radius: 3px;
    color: var(--ink);
    font-size: .82rem;
    outline: none
}

.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(227, 125, 42, .08)
}

.admin-form textarea {
    resize: vertical;
    line-height: 1.6
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px
}

.span-2 {
    grid-column: 1/-1
}

.check-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 11px !important;
    border: 1px solid var(--line);
    padding: 12px;
    background: #faf8f4
}

.check-card input {
    width: 17px;
    height: 17px
}

.check-card span {
    display: flex;
    flex-direction: column
}

.check-card small {
    font-weight: 400;
    color: var(--muted);
    margin-top: 2px
}

.image-field {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: end
}

.image-field img {
    grid-column: 1/-1;
    width: 170px;
    height: 110px;
    object-fit: cover;
    border: 1px solid var(--line)
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    border-top: 1px solid var(--line);
    margin-top: 28px;
    padding-top: 20px
}

.api-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 18px 20px;
    margin-bottom: 20px;
    border: 1px solid
}

.api-banner.ready {
    background: #edf7ef;
    border-color: #cce5d1
}

.api-banner.optional {
    background: #fff8e9;
    border-color: #ebd8aa
}

.api-banner strong {
    display: block;
    font-size: .82rem
}

.api-banner p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: .73rem
}

.api-banner>span {
    font-size: .57rem;
    letter-spacing: .12em;
    font-weight: 700;
    white-space: nowrap
}

.section-admin-list {
    display: flex;
    flex-direction: column;
    gap: 14px
}

.section-admin-card {
    display: grid;
    grid-template-columns: 54px 1fr auto;
    align-items: center;
    gap: 20px
}

.section-admin-index {
    font-family: var(--display);
    font-size: 1.5rem;
    color: var(--orange)
}

.settings-group {
    border-bottom: 1px solid var(--line);
    padding-bottom: 28px;
    margin-bottom: 28px
}

.settings-group h3 {
    font-family: var(--display);
    font-size: 1rem;
    color: var(--maroon);
    margin: 0 0 18px
}

.login-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 75% 20%, rgba(226, 125, 42, .20), transparent 35%), #2d1110;
    padding: 20px
}

.login-card {
    width: min(460px, 100%);
    background: #fff;
    padding: 44px 42px;
    box-shadow: 0 35px 100px rgba(0, 0, 0, .28)
}

.login-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--maroon);
    font-family: var(--display);
    letter-spacing: .09em
}

.login-logo span {
    width: 39px;
    height: 39px;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    display: grid;
    place-items: center
}

.login-kicker {
    font-size: .56rem;
    letter-spacing: .16em;
    color: var(--orange);
    margin: 28px 0 7px
}

.login-card h1 {
    font-family: var(--display);
    font-size: 1.6rem;
    color: var(--maroon);
    margin: 0 0 9px
}

.login-card>p:not(.login-kicker) {
    color: var(--muted);
    font-size: .79rem
}

.login-card .admin-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 26px
}

.check-row {
    flex-direction: row !important;
    align-items: center
}

.check-row input {
    width: 16px !important
}

.login-back {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: var(--muted);
    font-size: .72rem
}

.devanagari {
    font-family: 'Noto Serif Devanagari', serif
}

@media(max-width:1100px) {
    .stat-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .admin-two-col {
        grid-template-columns: 1fr
    }

    .section-admin-card {
        grid-template-columns: 40px 1fr
    }

    .section-admin-card>.admin-btn {
        grid-column: 2
    }
}

@media(max-width:800px) {
    .admin-sidebar {
        transform: translateX(-100%);
        transition: .2s;
        box-shadow: 20px 0 50px rgba(0, 0, 0, .2)
    }

    .admin-sidebar.open {
        transform: none
    }

    .admin-main {
        margin-left: 0
    }

    .admin-menu-toggle {
        display: block
    }

    .admin-topbar {
        padding: 0 18px
    }

    .admin-content {
        padding: 22px 15px
    }

    .dashboard-intro,
    .admin-page-head {
        align-items: flex-start;
        flex-direction: column
    }

    .stat-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .form-grid,
    .image-field {
        grid-template-columns: 1fr
    }

    .span-2,
    .image-field img {
        grid-column: auto
    }

    .section-admin-card {
        grid-template-columns: 1fr
    }

    .section-admin-index {
        display: none
    }

    .section-admin-card>.admin-btn {
        grid-column: auto
    }

    .login-card {
        padding: 34px 24px
    }
}

@media(max-width:480px) {

    .stat-grid,
    .quick-grid {
        grid-template-columns: 1fr
    }

    .admin-user {
        display: none
    }
}

/* Password Visibility Toggle Button */
.pwd-field-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.pwd-field-wrap input {
    width: 100%;
    padding-right: 48px !important;
}

.pwd-toggle-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #6b1d1d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 5;
    transition: color 0.2s ease, background 0.2s ease;
}

.pwd-toggle-btn:hover {
    color: #e37d2a;
    background: rgba(227, 125, 42, 0.1);
}

.pwd-toggle-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    display: block;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap
}

.pagination-pages {
    display: flex;
    gap: 4px
}

.pagination a,
.pagination span {
    display: inline-flex;
    min-width: 34px;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    padding: 6px 9px;
    border: 1px solid var(--line);
    font-size: .72rem
}

.pagination .current {
    background: var(--red);
    color: #fff;
    border-color: var(--red)
}

.pagination .disabled {
    opacity: .45
}

/* Admin Sidebar Controls & Toggle */
.admin-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 24px;
}

.admin-brand {
    display: flex;
    gap: 12px;
    align-items: center;
    text-decoration: none;
    color: inherit;
    margin-bottom: 0 !important;
}

.admin-brand-img {
    width: 38px;
    height: 38px;
    filter: drop-shadow(0 0 8px rgba(245, 185, 98, 0.6));
    object-fit: contain;
}

.admin-sidebar-toggle-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 0;
}

.admin-sidebar-toggle-btn:hover {
    background: rgba(245, 185, 98, 0.2);
    border-color: #f5b962;
    transform: scale(1.05);
}

.admin-sidebar-toggle-btn * {
    pointer-events: none;
}

.admin-lottie-icon-light svg,
.admin-lottie-icon-dark svg {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
}

.admin-lottie-icon-light svg {
    filter: drop-shadow(0 0 2px rgba(245, 185, 98, 0.4)) !important;
}

.admin-lottie-icon-dark svg {
    filter: brightness(0.7) sepia(1) hue-rotate(-20deg) saturate(2) !important;
}

.admin-menu-toggle {
    display: none !important;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    background: #fff;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.admin-menu-toggle * {
    pointer-events: none;
}

.admin-menu-toggle:hover {
    border-color: var(--orange);
    background: #faf8f5;
    transform: scale(1.04);
}

.admin-sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(19, 4, 1, 0.6);
    backdrop-filter: blur(3px);
    z-index: 25;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.admin-sidebar-overlay.open {
    opacity: 1;
    visibility: visible;
}

.admin-sidebar {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.admin-main {
    transition: margin-left 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Desktop Collapse & Slim Sidebar State */
.admin-shell.collapsed .admin-sidebar {
    width: 72px !important;
    padding: 24px 10px !important;
    transform: none !important;
    overflow-x: hidden;
}

.admin-shell.collapsed .admin-sidebar-toggle-btn {
    display: none !important;
}

.admin-shell.collapsed .admin-main {
    margin-left: 72px !important;
}

.admin-shell.collapsed .admin-brand div,
.admin-shell.collapsed .nav-label,
.admin-shell.collapsed .nav-text {
    display: none !important;
}

.admin-shell.collapsed .admin-brand {
    justify-content: center !important;
    margin-bottom: 20px !important;
}

.admin-shell.collapsed .admin-sidebar-header {
    flex-direction: column !important;
    gap: 12px;
    align-items: center !important;
}

.admin-shell.collapsed .admin-sidebar nav a,
.admin-shell.collapsed .sidebar-bottom a,
.admin-shell.collapsed .sidebar-bottom button {
    justify-content: center !important;
    padding: 12px 0 !important;
}

/* Production-Grade Sidebar Links & Icons */
.admin-sidebar nav a,
.sidebar-bottom a,
.sidebar-bottom button {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 14px !important;
    border-radius: 8px !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.72) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    text-decoration: none !important;
}

.admin-sidebar nav a:hover,
.sidebar-bottom a:hover,
.sidebar-bottom button:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    transform: translateX(3px);
}

.admin-sidebar nav a.active {
    background: rgba(227, 125, 42, 0.16) !important;
    color: #f5b962 !important;
    border-left: 3px solid var(--orange) !important;
    font-weight: 600 !important;
    box-shadow: inset 0 0 12px rgba(227, 125, 42, 0.12);
}

.admin-sidebar .sidebar-icon {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
    stroke: currentColor !important;
    transition: stroke 0.2s ease, transform 0.2s ease !important;
}

.admin-sidebar nav a:hover .sidebar-icon,
.sidebar-bottom a:hover .sidebar-icon,
.sidebar-bottom button:hover .sidebar-icon {
    stroke: #f5b962 !important;
    transform: scale(1.12);
}

.admin-sidebar nav a.active .sidebar-icon {
    stroke: #f5b962 !important;
}

@media (max-width: 800px) {
    .admin-menu-toggle {
        display: inline-flex !important;
    }

    .admin-sidebar {
        transform: translateX(-100%);
        width: 260px !important;
        box-shadow: 20px 0 50px rgba(0, 0, 0, 0.35);
    }

    .admin-sidebar.open {
        transform: translateX(0) !important;
    }

    .admin-main {
        margin-left: 0 !important;
    }
}

/* Custom Branding & Asset Management Section */
.group-desc {
    color: var(--muted);
    font-size: 0.83rem;
    margin: 4px 0 20px;
    line-height: 1.5;
}

.brand-assets-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 14px;
}

.brand-asset-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.brand-asset-card:focus-within,
.brand-asset-card:hover {
    border-color: rgba(227, 125, 42, 0.4);
    box-shadow: 0 6px 20px rgba(67, 19, 15, 0.06);
}

.asset-head {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.asset-badge {
    align-self: flex-start;
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    background: #fdf3e7;
    color: #c76718;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid rgba(227, 125, 42, 0.2);
}

.asset-head h4 {
    font-family: var(--display);
    font-size: 1.05rem;
    color: var(--maroon);
    margin: 4px 0 0;
}

.asset-head p {
    color: var(--muted);
    font-size: 0.76rem;
    margin: 0;
    line-height: 1.4;
}

.asset-preview-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: #230c0a;
    border-radius: 6px;
    border: 1px dashed rgba(245, 185, 98, 0.35);
}

.asset-preview-box {
    width: 100%;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.asset-preview-box img {
    max-height: 56px;
    max-width: 180px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(245, 185, 98, 0.4));
    transition: transform 0.2s ease;
}

.asset-preview-box.favicon-box img {
    max-height: 40px;
    max-width: 40px;
}

.asset-preview-box.mini-box img {
    max-height: 44px;
    max-width: 44px;
}

.preview-label {
    color: #e8a95f;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.asset-inputs {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.field-help {
    color: var(--muted);
    font-weight: 400;
    font-size: 0.68rem;
    margin-top: 2px;
}

@media (max-width: 990px) {
    .brand-assets-grid {
        grid-template-columns: 1fr;
    }
}