:root {
    --toastify-color-light: #fff;
    --toastify-color-dark: #121212;
    --toastify-color-info: #3498db;
    --toastify-color-success: #07bc0c;
    --toastify-color-warning: #f1c40f;
    --toastify-color-error: hsl(6, 78%, 57%);
    --toastify-color-transparent: rgba(255, 255, 255, .7);
    --toastify-icon-color-info: var(--toastify-color-info);
    --toastify-icon-color-success: var(--toastify-color-success);
    --toastify-icon-color-warning: var(--toastify-color-warning);
    --toastify-icon-color-error: var(--toastify-color-error);
    --toastify-container-width: fit-content;
    --toastify-toast-width: 320px;
    --toastify-toast-offset: 16px;
    --toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));
    --toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));
    --toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));
    --toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));
    --toastify-toast-background: #fff;
    --toastify-toast-padding: 14px;
    --toastify-toast-min-height: 64px;
    --toastify-toast-max-height: 800px;
    --toastify-toast-bd-radius: 6px;
    --toastify-toast-shadow: 0px 4px 12px rgba(0, 0, 0, .1);
    --toastify-font-family: sans-serif;
    --toastify-z-index: 9999;
    --toastify-text-color-light: #757575;
    --toastify-text-color-dark: #fff;
    --toastify-text-color-info: #fff;
    --toastify-text-color-success: #fff;
    --toastify-text-color-warning: #fff;
    --toastify-text-color-error: #fff;
    --toastify-spinner-color: #616161;
    --toastify-spinner-color-empty-area: #e0e0e0;
    --toastify-color-progress-light: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);
    --toastify-color-progress-dark: #bb86fc;
    --toastify-color-progress-info: var(--toastify-color-info);
    --toastify-color-progress-success: var(--toastify-color-success);
    --toastify-color-progress-warning: var(--toastify-color-warning);
    --toastify-color-progress-error: var(--toastify-color-error);
    --toastify-color-progress-bgo: .2
}

.Toastify__toast-container {
    z-index: var(--toastify-z-index);
    -webkit-transform: translate3d(0, 0, var(--toastify-z-index));
    position: fixed;
    width: var(--toastify-container-width);
    box-sizing: border-box;
    color: #fff;
    display: flex;
    flex-direction: column
}

.Toastify__toast-container--top-left {
    top: var(--toastify-toast-top);
    left: var(--toastify-toast-left)
}

.Toastify__toast-container--top-center {
    top: var(--toastify-toast-top);
    left: 50%;
    transform: translate(-50%);
    align-items: center
}

.Toastify__toast-container--top-right {
    top: var(--toastify-toast-top);
    right: var(--toastify-toast-right);
    align-items: end
}

.Toastify__toast-container--bottom-left {
    bottom: var(--toastify-toast-bottom);
    left: var(--toastify-toast-left)
}

.Toastify__toast-container--bottom-center {
    bottom: var(--toastify-toast-bottom);
    left: 50%;
    transform: translate(-50%);
    align-items: center
}

.Toastify__toast-container--bottom-right {
    bottom: var(--toastify-toast-bottom);
    right: var(--toastify-toast-right);
    align-items: end
}

.Toastify__toast {
    --y: 0px;
    position: relative;
    touch-action: none;
    width: var(--toastify-toast-width);
    min-height: var(--toastify-toast-min-height);
    box-sizing: border-box;
    margin-bottom: 1rem;
    padding: var(--toastify-toast-padding);
    border-radius: var(--toastify-toast-bd-radius);
    box-shadow: var(--toastify-toast-shadow);
    max-height: var(--toastify-toast-max-height);
    font-family: var(--toastify-font-family);
    z-index: 0;
    display: flex;
    flex: 1 auto;
    align-items: center;
    word-break: break-word
}

@media only screen and (max-width: 480px) {
    .Toastify__toast-container {
        width: 100vw;
        left: env(safe-area-inset-left);
        margin: 0
    }

    .Toastify__toast-container--top-left,
    .Toastify__toast-container--top-center,
    .Toastify__toast-container--top-right {
        top: env(safe-area-inset-top);
        transform: translate(0)
    }

    .Toastify__toast-container--bottom-left,
    .Toastify__toast-container--bottom-center,
    .Toastify__toast-container--bottom-right {
        bottom: env(safe-area-inset-bottom);
        transform: translate(0)
    }

    .Toastify__toast-container--rtl {
        right: env(safe-area-inset-right);
        left: initial
    }

    .Toastify__toast {
        --toastify-toast-width: 100%;
        margin-bottom: 0;
        border-radius: 0
    }
}

.Toastify__toast-container[data-stacked=true] {
    width: var(--toastify-toast-width)
}

@media only screen and (max-width: 480px) {
    .Toastify__toast-container[data-stacked=true] {
        width: 100vw
    }
}

.Toastify__toast--stacked {
    position: absolute;
    width: 100%;
    transform: translate3d(0, var(--y), 0) scale(var(--s));
    transition: transform .3s
}

.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body,
.Toastify__toast--stacked[data-collapsed] .Toastify__close-button {
    transition: opacity .1s
}

.Toastify__toast--stacked[data-collapsed=false] {
    overflow: visible
}

.Toastify__toast--stacked[data-collapsed=true]:not(:last-child)>* {
    opacity: 0
}

.Toastify__toast--stacked:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: calc(var(--g) * 1px);
    bottom: 100%
}

.Toastify__toast--stacked[data-pos=top] {
    top: 0
}

.Toastify__toast--stacked[data-pos=bot] {
    bottom: 0
}

.Toastify__toast--stacked[data-pos=bot].Toastify__toast--stacked:before {
    transform-origin: top
}

.Toastify__toast--stacked[data-pos=top].Toastify__toast--stacked:before {
    transform-origin: bottom
}

.Toastify__toast--stacked:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    transform: scaleY(3);
    z-index: -1
}

.Toastify__toast--rtl {
    direction: rtl
}

.Toastify__toast--close-on-click {
    cursor: pointer
}

.Toastify__toast-icon {
    margin-inline-end: 10px;
    width: 22px;
    flex-shrink: 0;
    display: flex
}

.Toastify--animate {
    animation-fill-mode: both;
    animation-duration: .5s
}

.Toastify--animate-icon {
    animation-fill-mode: both;
    animation-duration: .3s
}

.Toastify__toast-theme--dark {
    background: var(--toastify-color-dark);
    color: var(--toastify-text-color-dark)
}

.Toastify__toast-theme--light,
.Toastify__toast-theme--colored.Toastify__toast--default {
    background: var(--toastify-color-light);
    color: var(--toastify-text-color-light)
}

.Toastify__toast-theme--colored.Toastify__toast--info {
    color: var(--toastify-text-color-info);
    background: var(--toastify-color-info)
}

.Toastify__toast-theme--colored.Toastify__toast--success {
    color: var(--toastify-text-color-success);
    background: var(--toastify-color-success)
}

.Toastify__toast-theme--colored.Toastify__toast--warning {
    color: var(--toastify-text-color-warning);
    background: var(--toastify-color-warning)
}

.Toastify__toast-theme--colored.Toastify__toast--error {
    color: var(--toastify-text-color-error);
    background: var(--toastify-color-error)
}

.Toastify__progress-bar-theme--light {
    background: var(--toastify-color-progress-light)
}

.Toastify__progress-bar-theme--dark {
    background: var(--toastify-color-progress-dark)
}

.Toastify__progress-bar--info {
    background: var(--toastify-color-progress-info)
}

.Toastify__progress-bar--success {
    background: var(--toastify-color-progress-success)
}

.Toastify__progress-bar--warning {
    background: var(--toastify-color-progress-warning)
}

.Toastify__progress-bar--error {
    background: var(--toastify-color-progress-error)
}

.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,
.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,
.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,
.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error {
    background: var(--toastify-color-transparent)
}

.Toastify__close-button {
    color: #fff;
    position: absolute;
    top: 6px;
    right: 6px;
    background: transparent;
    outline: none;
    border: none;
    padding: 0;
    cursor: pointer;
    opacity: .7;
    transition: .3s ease;
    z-index: 1
}

.Toastify__toast--rtl .Toastify__close-button {
    left: 6px;
    right: unset
}

.Toastify__close-button--light {
    color: #000;
    opacity: .3
}

.Toastify__close-button>svg {
    fill: currentColor;
    height: 16px;
    width: 14px
}

.Toastify__close-button:hover,
.Toastify__close-button:focus {
    opacity: 1
}

@keyframes Toastify__trackProgress {
    0% {
        transform: scaleX(1)
    }

    to {
        transform: scaleX(0)
    }
}

.Toastify__progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: .7;
    transform-origin: left
}

.Toastify__progress-bar--animated {
    animation: Toastify__trackProgress linear 1 forwards
}

.Toastify__progress-bar--controlled {
    transition: transform .2s
}

.Toastify__progress-bar--rtl {
    right: 0;
    left: initial;
    transform-origin: right;
    border-bottom-left-radius: initial
}

.Toastify__progress-bar--wrp {
    position: absolute;
    overflow: hidden;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    border-bottom-left-radius: var(--toastify-toast-bd-radius);
    border-bottom-right-radius: var(--toastify-toast-bd-radius)
}

.Toastify__progress-bar--wrp[data-hidden=true] {
    opacity: 0
}

.Toastify__progress-bar--bg {
    opacity: var(--toastify-color-progress-bgo);
    width: 100%;
    height: 100%
}

.Toastify__spinner {
    width: 20px;
    height: 20px;
    box-sizing: border-box;
    border: 2px solid;
    border-radius: 100%;
    border-color: var(--toastify-spinner-color-empty-area);
    border-right-color: var(--toastify-spinner-color);
    animation: Toastify__spin .65s linear infinite
}

@keyframes Toastify__bounceInRight {

    0%,
    60%,
    75%,
    90%,
    to {
        animation-timing-function: cubic-bezier(.215, .61, .355, 1)
    }

    0% {
        opacity: 0;
        transform: translate3d(3000px, 0, 0)
    }

    60% {
        opacity: 1;
        transform: translate3d(-25px, 0, 0)
    }

    75% {
        transform: translate3d(10px, 0, 0)
    }

    90% {
        transform: translate3d(-5px, 0, 0)
    }

    to {
        transform: none
    }
}

@keyframes Toastify__bounceOutRight {
    20% {
        opacity: 1;
        transform: translate3d(-20px, var(--y), 0)
    }

    to {
        opacity: 0;
        transform: translate3d(2000px, var(--y), 0)
    }
}

@keyframes Toastify__bounceInLeft {

    0%,
    60%,
    75%,
    90%,
    to {
        animation-timing-function: cubic-bezier(.215, .61, .355, 1)
    }

    0% {
        opacity: 0;
        transform: translate3d(-3000px, 0, 0)
    }

    60% {
        opacity: 1;
        transform: translate3d(25px, 0, 0)
    }

    75% {
        transform: translate3d(-10px, 0, 0)
    }

    90% {
        transform: translate3d(5px, 0, 0)
    }

    to {
        transform: none
    }
}

@keyframes Toastify__bounceOutLeft {
    20% {
        opacity: 1;
        transform: translate3d(20px, var(--y), 0)
    }

    to {
        opacity: 0;
        transform: translate3d(-2000px, var(--y), 0)
    }
}

@keyframes Toastify__bounceInUp {

    0%,
    60%,
    75%,
    90%,
    to {
        animation-timing-function: cubic-bezier(.215, .61, .355, 1)
    }

    0% {
        opacity: 0;
        transform: translate3d(0, 3000px, 0)
    }

    60% {
        opacity: 1;
        transform: translate3d(0, -20px, 0)
    }

    75% {
        transform: translate3d(0, 10px, 0)
    }

    90% {
        transform: translate3d(0, -5px, 0)
    }

    to {
        transform: translateZ(0)
    }
}

@keyframes Toastify__bounceOutUp {
    20% {
        transform: translate3d(0, calc(var(--y) - 10px), 0)
    }

    40%,
    45% {
        opacity: 1;
        transform: translate3d(0, calc(var(--y) + 20px), 0)
    }

    to {
        opacity: 0;
        transform: translate3d(0, -2000px, 0)
    }
}

@keyframes Toastify__bounceInDown {

    0%,
    60%,
    75%,
    90%,
    to {
        animation-timing-function: cubic-bezier(.215, .61, .355, 1)
    }

    0% {
        opacity: 0;
        transform: translate3d(0, -3000px, 0)
    }

    60% {
        opacity: 1;
        transform: translate3d(0, 25px, 0)
    }

    75% {
        transform: translate3d(0, -10px, 0)
    }

    90% {
        transform: translate3d(0, 5px, 0)
    }

    to {
        transform: none
    }
}

@keyframes Toastify__bounceOutDown {
    20% {
        transform: translate3d(0, calc(var(--y) - 10px), 0)
    }

    40%,
    45% {
        opacity: 1;
        transform: translate3d(0, calc(var(--y) + 20px), 0)
    }

    to {
        opacity: 0;
        transform: translate3d(0, 2000px, 0)
    }
}

.Toastify__bounce-enter--top-left,
.Toastify__bounce-enter--bottom-left {
    animation-name: Toastify__bounceInLeft
}

.Toastify__bounce-enter--top-right,
.Toastify__bounce-enter--bottom-right {
    animation-name: Toastify__bounceInRight
}

.Toastify__bounce-enter--top-center {
    animation-name: Toastify__bounceInDown
}

.Toastify__bounce-enter--bottom-center {
    animation-name: Toastify__bounceInUp
}

.Toastify__bounce-exit--top-left,
.Toastify__bounce-exit--bottom-left {
    animation-name: Toastify__bounceOutLeft
}

.Toastify__bounce-exit--top-right,
.Toastify__bounce-exit--bottom-right {
    animation-name: Toastify__bounceOutRight
}

.Toastify__bounce-exit--top-center {
    animation-name: Toastify__bounceOutUp
}

.Toastify__bounce-exit--bottom-center {
    animation-name: Toastify__bounceOutDown
}

@keyframes Toastify__zoomIn {
    0% {
        opacity: 0;
        transform: scale3d(.3, .3, .3)
    }

    50% {
        opacity: 1
    }
}

@keyframes Toastify__zoomOut {
    0% {
        opacity: 1
    }

    50% {
        opacity: 0;
        transform: translate3d(0, var(--y), 0) scale3d(.3, .3, .3)
    }

    to {
        opacity: 0
    }
}

.Toastify__zoom-enter {
    animation-name: Toastify__zoomIn
}

.Toastify__zoom-exit {
    animation-name: Toastify__zoomOut
}

@keyframes Toastify__flipIn {
    0% {
        transform: perspective(400px) rotateX(90deg);
        animation-timing-function: ease-in;
        opacity: 0
    }

    40% {
        transform: perspective(400px) rotateX(-20deg);
        animation-timing-function: ease-in
    }

    60% {
        transform: perspective(400px) rotateX(10deg);
        opacity: 1
    }

    80% {
        transform: perspective(400px) rotateX(-5deg)
    }

    to {
        transform: perspective(400px)
    }
}

@keyframes Toastify__flipOut {
    0% {
        transform: translate3d(0, var(--y), 0) perspective(400px)
    }

    30% {
        transform: translate3d(0, var(--y), 0) perspective(400px) rotateX(-20deg);
        opacity: 1
    }

    to {
        transform: translate3d(0, var(--y), 0) perspective(400px) rotateX(90deg);
        opacity: 0
    }
}

.Toastify__flip-enter {
    animation-name: Toastify__flipIn
}

.Toastify__flip-exit {
    animation-name: Toastify__flipOut
}

@keyframes Toastify__slideInRight {
    0% {
        transform: translate3d(110%, 0, 0);
        visibility: visible
    }

    to {
        transform: translate3d(0, var(--y), 0)
    }
}

@keyframes Toastify__slideInLeft {
    0% {
        transform: translate3d(-110%, 0, 0);
        visibility: visible
    }

    to {
        transform: translate3d(0, var(--y), 0)
    }
}

@keyframes Toastify__slideInUp {
    0% {
        transform: translate3d(0, 110%, 0);
        visibility: visible
    }

    to {
        transform: translate3d(0, var(--y), 0)
    }
}

@keyframes Toastify__slideInDown {
    0% {
        transform: translate3d(0, -110%, 0);
        visibility: visible
    }

    to {
        transform: translate3d(0, var(--y), 0)
    }
}

@keyframes Toastify__slideOutRight {
    0% {
        transform: translate3d(0, var(--y), 0)
    }

    to {
        visibility: hidden;
        transform: translate3d(110%, var(--y), 0)
    }
}

@keyframes Toastify__slideOutLeft {
    0% {
        transform: translate3d(0, var(--y), 0)
    }

    to {
        visibility: hidden;
        transform: translate3d(-110%, var(--y), 0)
    }
}

@keyframes Toastify__slideOutDown {
    0% {
        transform: translate3d(0, var(--y), 0)
    }

    to {
        visibility: hidden;
        transform: translate3d(0, 500px, 0)
    }
}

@keyframes Toastify__slideOutUp {
    0% {
        transform: translate3d(0, var(--y), 0)
    }

    to {
        visibility: hidden;
        transform: translate3d(0, -500px, 0)
    }
}

.Toastify__slide-enter--top-left,
.Toastify__slide-enter--bottom-left {
    animation-name: Toastify__slideInLeft
}

.Toastify__slide-enter--top-right,
.Toastify__slide-enter--bottom-right {
    animation-name: Toastify__slideInRight
}

.Toastify__slide-enter--top-center {
    animation-name: Toastify__slideInDown
}

.Toastify__slide-enter--bottom-center {
    animation-name: Toastify__slideInUp
}

.Toastify__slide-exit--top-left,
.Toastify__slide-exit--bottom-left {
    animation-name: Toastify__slideOutLeft;
    animation-timing-function: ease-in;
    animation-duration: .3s
}

.Toastify__slide-exit--top-right,
.Toastify__slide-exit--bottom-right {
    animation-name: Toastify__slideOutRight;
    animation-timing-function: ease-in;
    animation-duration: .3s
}

.Toastify__slide-exit--top-center {
    animation-name: Toastify__slideOutUp;
    animation-timing-function: ease-in;
    animation-duration: .3s
}

.Toastify__slide-exit--bottom-center {
    animation-name: Toastify__slideOutDown;
    animation-timing-function: ease-in;
    animation-duration: .3s
}

@keyframes Toastify__spin {
    0% {
        transform: rotate(0)
    }

    to {
        transform: rotate(360deg)
    }
}

:root {
    --brand: #1f7a6d;
    --accent: #d97a34;
    --ink: #17201d;
    --muted: #66736f;
    --line: #dbe4e0;
    --surface: #ffffff;
    --soft: #f4f7f6;
    --danger: #c2413a;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
    color: var(--ink);
    background: var(--soft)
}

* {
    box-sizing: border-box
}

body {
    margin: 0
}

a {
    color: var(--brand)
}

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

button {
    border: 0;
    cursor: pointer
}

.app-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 260px 1fr;
    transition: grid-template-columns .18s ease
}

.app-shell.sidebar-collapsed {
    grid-template-columns: 84px 1fr
}

.sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 20px;
    background: #434b49;
    color: #eef7f4;
    z-index: 4;
    overflow: hidden
}

.brand-block {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, .12)
}

.brand-block strong,
.brand-block span {
    display: block
}

.brand-block span {
    color: #9fb3ad;
    font-size: 13px;
    margin-top: 3px
}

.brand-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--brand);
    color: #fff;
    font-weight: 800
}

nav {
    display: grid;
    gap: 8px;
    margin-top: 22px
}

nav button,
.topbar-actions button,
.list-tools button,
.save-button,
.mode-tabs a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 8px;
    color: inherit
}

nav button {
    justify-content: flex-start;
    padding: 0 12px;
    background: transparent;
    color: #c9d8d4;
    width: 100%
}

nav button.active,
nav button:hover {
    background: #ffffff1a;
    color: #fff
}

.nav-group {
    display: grid;
    gap: 6px
}

.nav-parent .chevron {
    margin-left: auto;
    transition: transform .18s ease
}

.nav-group.is-open .chevron {
    transform: rotate(180deg)
}

.subnav {
    display: none;
    gap: 6px;
    padding-left: 27px
}

.nav-group.is-open .subnav {
    display: grid
}

.subnav button {
    min-height: 36px;
    padding-left: 12px;
    font-size: 14px;
    color: #9fb3ad
}

.subnav button.active,
.subnav button:hover {
    color: #fff;
    background: #ffffff14
}

.sidebar-collapsed .sidebar {
    padding-inline: 16px
}

.sidebar-collapsed .brand-copy,
.sidebar-collapsed nav button span,
.sidebar-collapsed .chevron,
.sidebar-collapsed .subnav {
    display: none
}

.sidebar-collapsed .brand-block {
    justify-content: center
}

.sidebar-collapsed nav button {
    justify-content: center;
    padding: 0
}

.topbar {
    height: 72px;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    gap: 20px
}

.topbar-left {
    display: flex;
    align-items: center
}

.topbar p,
.section-heading span,
td span,
.activity-row span,
.settings-preview p {
    color: var(--muted)
}

.topbar p,
.topbar h1,
.section-heading h2,
.settings-preview h3 {
    margin: 0
}

.topbar h1 {
    font-size: 28px;
    line-height: 1.15
}

.topbar-actions,
.list-tools,
.row-actions,
.mode-tabs {
    display: flex;
    align-items: center;
    gap: 8px
}

.topbar-actions button,
.list-tools button,
.save-button {
    padding: 0 14px;
    background: var(--brand);
    color: #fff
}

.topbar-actions button:last-child {
    background: var(--accent)
}

.sidebar-toggle {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .2s
}

.sidebar-toggle:hover {
    background: #f5f5f5
}

.topbar-center {
    flex: 1;
    display: flex;
    justify-content: center
}

.mode-tabs {
    width: fit-content;
    margin-bottom: 16px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fbfa
}

.mode-tabs a {
    text-decoration: none;
    padding: 0 14px;
    color: var(--muted);
    background: transparent
}

.mode-tabs a.active,
.mode-tabs a:hover {
    color: #fff;
    background: var(--brand)
}

.icon-button {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    background: #ecf2f0;
    color: var(--ink)
}

.icon-button.danger {
    color: var(--danger)
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    gap: 14px
}

.stat-card,
.activity-panel,
.content-area,
.settings-panel,
.editor-main,
.editor-side,
.settings-form,
.settings-preview {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px
}

.auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(320px, .9fr) minmax(340px, 1.1fr);
    align-items: center;
    gap: 28px;
    padding: 28px;
    background: linear-gradient(135deg, #15211e, #1f7a6d 52%, #f4f7f6 52%)
}

.auth-visual {
    color: #fff;
    max-width: 520px;
    padding: 22px
}

.auth-logo {
    width: 62px;
    height: 62px;
    background: var(--accent)
}

.auth-visual h1 {
    margin: 20px 0 10px;
    font-size: 42px;
    line-height: 1.05
}

.auth-visual p {
    margin: 0;
    max-width: 420px;
    color: #dce8e4;
    line-height: 1.6
}

.auth-card {
    width: min(440px, 100%);
    justify-self: center;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 50px #15211e2e
}

.auth-card p,
.auth-card h2 {
    margin: 0
}

.auth-card p {
    color: var(--brand);
    font-weight: 800
}

.auth-card h2 {
    margin-top: 6px;
    margin-bottom: 20px;
    font-size: 28px
}

.auth-card form {
    display: grid;
    gap: 4px
}

.auth-card>span {
    display: block;
    margin-top: 16px;
    color: var(--muted);
    text-align: center
}

.stat-card {
    min-height: 132px;
    display: grid;
    align-content: space-between;
    padding: 18px
}

.stat-card svg {
    color: var(--brand)
}

.stat-card span {
    color: var(--muted)
}

.stat-card strong {
    font-size: 32px
}

.activity-panel {
    grid-column: 1 / -1;
    padding: 18px
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px
}

.section-heading.compact {
    margin-bottom: 12px
}

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

.activity-row strong,
.activity-row span {
    display: block
}

.content-area,
.settings-panel {
    padding: 18px
}

.search-box {
    width: 100%;
    max-width: 520px;
    height: 44px;
    background: #fff;
    border: 1px solid #dcdfe4;
    border-radius: 12px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 10px
}

.search-icon {
    color: #8b8b8b
}

.search-box input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 15px;
    background: transparent;
    color: #333
}

.table-wrap {
    overflow-x: auto
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 16px
}

.notification-btn {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer
}

.notification-btn:hover {
    background: #f5f5f5
}

.admin-profile {
    height: 44px;
    padding: 0 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    background: #fff
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #c2410c;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center
}

table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse
}

th,
td {
    padding: 14px 12px;
    text-align: left;
    border-top: 1px solid var(--line)
}

th {
    color: var(--muted);
    font-size: 13px
}

td strong,
td span {
    display: block
}

.badge {
    width: fit-content;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700
}

.badge.published {
    color: #13614d;
    background: #daf3ea
}

.badge.draft {
    color: #79551a;
    background: #fff1d6
}

.editor-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 16px
}

.editor-main,
.editor-side,
.settings-form,
.settings-preview {
    padding: 18px
}

label {
    display: grid;
    gap: 7px;
    margin-bottom: 14px;
    color: #34403d;
    font-weight: 700
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 11px 12px;
    color: var(--ink);
    background: #fff
}

textarea {
    resize: vertical
}

.seo-box {
    padding: 14px;
    margin: 4px 0 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fbfa
}

.seo-box h3 {
    margin: 0 0 12px;
    font-size: 16px
}

.page-section-builder {
    display: grid;
    gap: 14px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line)
}

.page-section-builder .section-heading button {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 12px;
    border-radius: 8px;
    color: #fff;
    background: var(--brand)
}

.page-section-item {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fbfa
}

.page-section-item h3 {
    margin: 0;
    font-size: 16px
}

.content-editor {
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: #fff
}

.ckeditor-wrap {
    color: var(--ink)
}

.ckeditor-wrap .ck.ck-editor {
    border-radius: 8px
}

.ckeditor-wrap .ck.ck-toolbar {
    border-color: var(--line);
    border-radius: 8px 8px 0 0;
    background: #f8fbfa
}

.ckeditor-wrap .ck.ck-editor__main>.ck-editor__editable {
    min-height: 260px;
    border-color: var(--line);
    border-radius: 0 0 8px 8px;
    box-shadow: none
}

.ckeditor-wrap .ck.ck-editor__main>.ck-editor__editable:focus {
    border-color: var(--brand)
}

.content-editor textarea {
    border: 0;
    border-radius: 0;
    min-height: 230px
}

.editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px;
    border-bottom: 1px solid var(--line);
    background: #f8fbfa
}

.editor-toolbar button {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line)
}

.editor-toolbar button:hover {
    color: var(--brand);
    border-color: var(--brand)
}

.editor-preview {
    padding: 12px;
    border-top: 1px solid var(--line);
    background: #fbfdfc
}

.editor-preview strong {
    display: block;
    margin-bottom: 8px
}

.editor-preview h2,
.editor-preview p {
    margin: 0 0 10px
}

.editor-preview a {
    color: var(--brand)
}

.save-button {
    width: 100%
}

.settings-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 16px
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

.upload-field {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px;
    border: 1px dashed var(--brand);
    border-radius: 8px;
    color: var(--brand);
    background: #f7fbfa
}

.upload-field input {
    display: none
}

.clear-favicon {
    min-height: 42px;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 8px;
    color: var(--danger);
    background: #fff0ef
}

.settings-preview {
    display: grid;
    justify-items: center;
    align-content: center;
    text-align: center
}

.preview-icon {
    width: 74px;
    height: 74px;
    font-size: 24px
}

.preview-bar {
    width: 100%;
    max-width: 190px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 12px
}

.preview-bar span {
    height: 12px;
    border-radius: 999px
}

.settings-preview img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    margin-top: 18px
}

.settings-preview small {
    color: var(--muted);
    margin-top: 10px
}

.empty-state {
    margin: 22px 0 4px;
    color: var(--muted);
    text-align: center
}

.scrim {
    display: none
}

@media (max-width: 980px) {
    .auth-shell {
        grid-template-columns: 1fr;
        background: #f4f7f6
    }

    .auth-visual {
        color: var(--ink);
        padding: 8px 0 0
    }

    .auth-visual p {
        color: var(--muted)
    }

    .app-shell,
    .app-shell.sidebar-collapsed {
        grid-template-columns: 1fr
    }

    .sidebar {
        position: fixed;
        left: 0;
        transform: translate(-105%);
        width: 280px;
        transition: transform .18s ease
    }

    .sidebar.is-open {
        transform: translate(0)
    }

    .scrim {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        display: block;
        background: #0a14116b;
        z-index: 3
    }

    main {
        padding: 18px
    }

    .sidebar-collapsed .brand-copy,
    .sidebar-collapsed nav button span,
    .sidebar-collapsed .chevron {
        display: inline
    }

    .sidebar-collapsed .subnav {
        display: none
    }

    .sidebar-collapsed .nav-group.is-open .subnav {
        display: grid
    }

    .sidebar-collapsed nav button {
        justify-content: flex-start;
        padding: 0 12px
    }

    .topbar {
        align-items: flex-start
    }

    .dashboard-grid {
        grid-template-columns: repeat(2, minmax(150px, 1fr))
    }

    .editor-grid,
    .settings-grid {
        grid-template-columns: 1fr
    }
}

@media (max-width: 640px) {
    main {
        padding: 14px
    }

    .topbar,
    .section-heading,
    .activity-row {
        align-items: stretch;
        flex-direction: column
    }

    .topbar-actions,
    .list-tools,
    .mode-tabs {
        width: 100%;
        flex-wrap: wrap
    }

    .topbar-actions button,
    .list-tools button,
    .mode-tabs a,
    .search-box {
        flex: 1 1 150px
    }

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

.page-content {
    padding: 28px;
    background: #f4f7f6;
    min-height: calc(100vh - 70px)
}

.page-header {
    margin-bottom: 22px
}

.page-header h1 {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    color: #26332f
}

.page-header p {
    margin: 6px 0 0;
    color: #6f7d78;
    font-size: 14px
}

.edit-form {
    background: #fff;
    border: 1px solid #e2e8e6;
    border-radius: 8px;
    padding: 26px;
    box-shadow: 0 8px 24px #1f2d2914
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 22px
}

.form-grid label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #34433f;
    font-size: 14px;
    font-weight: 600
}

.form-grid input,
.form-grid select {
    height: 44px;
    border: 1px solid #d7dfdc;
    border-radius: 6px;
    padding: 0 13px;
    background: #fbfdfc;
    color: #26332f;
    font-size: 14px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease
}

.form-grid input:focus,
.form-grid select:focus {
    border-color: #3e6259;
    background: #fff;
    box-shadow: 0 0 0 3px #3e625924
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid #edf1ef
}

.form-actions button {
    min-width: 150px;
    height: 44px;
    border: 0;
    border-radius: 6px;
    background: #dd1f1f;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease
}

.form-actions button:hover {
    background: #bb0606;
    transform: translateY(-1px)
}

.form-actions button:disabled {
    opacity: .65;
    cursor: not-allowed;
    transform: none
}

.msg {
    margin: 0 0 18px;
    padding: 12px 14px;
    border-radius: 6px;
    background: #ecf7f2;
    border: 1px solid #cde9dc;
    color: #245243;
    font-size: 14px;
    font-weight: 600
}

@media (max-width: 768px) {

    .page-content,
    .edit-form {
        padding: 18px
    }

    .form-grid {
        grid-template-columns: 1fr
    }

    .form-actions {
        justify-content: stretch
    }

    .form-actions button {
        width: 100%
    }
}

.image-upload-wrapper {
    margin-bottom: 20px
}

.image-upload-wrapper h4 {
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 600
}

.image-preview-box {
    position: relative;
    width: fit-content;
    margin-bottom: 12px
}

.preview-image {
    width: 140px;
    height: 80px;
    object-fit: contain;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 6px;
    background: #fff
}

.favicon-preview {
    width: 70px;
    height: 70px
}

.remove-image-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 22px;
    height: 22px;
    border: none;
    border-radius: 50%;
    background: #ef4444;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer
}

.upload-field {
    border: 1px dashed #ef4444;
    color: #ef4444;
    padding: 14px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer
}

.global-loader {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff
}

.loader-circle {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center
}

.loader-circle:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 50%;
    border: 5px solid #e5e5e5;
    border-top: 5px solid #e54d59;
    animation: rotateLoader 1s linear infinite
}

.global-loader-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    z-index: 2;
    animation: logoPulse 1s ease-in-out infinite
}

@keyframes rotateLoader {
    to {
        transform: rotate(360deg)
    }
}

@keyframes logoPulse {
    0% {
        transform: scale(.95);
        opacity: .7
    }

    50% {
        transform: scale(1.08);
        opacity: 1
    }

    to {
        transform: scale(.95);
        opacity: .7
    }
}



.pc_banner_left_text1 h1 {
    font-size: 52px;
    font-weight: 900;
    color: white !important;
}