.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: absolute;
    display: block;
    width: 8rem;
    height: 8rem;
    inset: 20vh 0 auto 0;
    margin: 0 auto 0 auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}

.admin-page {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.admin-page__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.admin-page__header h1 {
    margin: 0;
    font-size: 1.75rem;
    line-height: 1.2;
}

.admin-page__header p {
    margin: 6px 0 0;
    color: var(--admin-text-muted);
}

.admin-page__eyebrow {
    margin: 0 0 4px !important;
    color: var(--admin-text-subtle);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.admin-card {
    padding: 20px;
    border: 1px solid var(--admin-border);
    border-radius: 8px;
    background: var(--admin-surface);
}

.admin-card h2 {
    margin: 0 0 16px;
    font-size: 1.125rem;
    line-height: 1.3;
}

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

.admin-section-header h2 {
    margin: 0 0 6px;
}

.admin-section-header p {
    margin: 0;
    color: var(--admin-text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
}

.admin-action-row {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 14px;
}

.omc-btn {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    border: 1px solid var(--scale-elevated-6);
    border-radius: 4px;
    padding: 0 14px;
    color: var(--scale-elevated-6);
    background: var(--semantic-bgbase);
    font: inherit;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.omc-btn:hover:not(:disabled) {
    background: var(--surface-3);
}

.omc-btn:focus-visible {
    outline: 2px solid var(--admin-focus);
    outline-offset: 2px;
}

.omc-btn:disabled {
    border-color: var(--surface-5);
    color: var(--admin-text-subtle);
    background: var(--surface-2);
    cursor: not-allowed;
}

.omc-btn--primary {
    border-color: var(--scale-elevated-6);
    color: var(--semantic-bgbase);
    background: var(--scale-elevated-6);
}

.omc-btn--primary:hover:not(:disabled) {
    border-color: #000;
    background: #000;
}

.omc-btn--danger {
    border-color: var(--danger);
    color: var(--danger);
    background: #fff;
}

.omc-btn--danger:hover:not(:disabled) {
    color: #fff;
    background: var(--danger);
}

.admin-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.admin-card__header h2 {
    margin-bottom: 6px;
}

.admin-card__note {
    margin: -6px 0 16px;
    color: var(--admin-text-muted);
    font-size: 0.875rem;
}

.admin-card__header .admin-card__note {
    margin: 0;
}

.theme-preset-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.theme-preset-card {
    display: flex;
    min-height: 176px;
    flex-direction: column;
    gap: 10px;
    border: 1px solid var(--admin-border);
    border-radius: 8px;
    padding: 14px;
    color: var(--admin-text);
    background: #fff;
    text-align: left;
    cursor: pointer;
}

.theme-preset-card:hover {
    border-color: var(--admin-accent);
}

.theme-preset-card--selected {
    border-color: var(--admin-accent);
    box-shadow: 0 0 0 2px rgba(172, 92, 66, 0.2);
}

.theme-preset-card__swatches {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.theme-preset-card__swatches span {
    height: 28px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 6px;
}

.theme-preset-card strong {
    font-size: 1rem;
}

.theme-preset-card small {
    color: var(--admin-text-muted);
    line-height: 1.45;
}

.theme-preset-card em {
    margin-top: auto;
    color: var(--admin-text-subtle);
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
}

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

.form-grid label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--admin-text-muted);
    font-size: 0.8125rem;
    font-weight: 700;
}

.form-grid input,
.form-grid textarea,
.form-grid select {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--admin-border);
    border-radius: 4px;
    padding: 10px 12px;
    color: var(--admin-text);
    background: #fff;
    font: inherit;
    font-size: 0.875rem;
    line-height: 1.45;
    letter-spacing: 0;
    transition: border-color 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.form-grid input,
.form-grid select {
    min-height: 38px;
}

.form-grid textarea {
    min-height: 88px;
    resize: vertical;
}

.form-grid input:hover:not(:disabled):not([readonly]),
.form-grid textarea:hover:not(:disabled):not([readonly]),
.form-grid select:hover:not(:disabled) {
    border-color: var(--scale-elevated-6);
}

.form-grid input:focus,
.form-grid textarea:focus,
.form-grid select:focus {
    border-color: var(--admin-focus);
    box-shadow: 0 0 0 1px var(--admin-focus);
    outline: none;
}

.form-grid input:disabled,
.form-grid input[readonly],
.form-grid textarea:disabled,
.form-grid textarea[readonly],
.form-grid select:disabled {
    color: var(--admin-text-muted);
    background: var(--surface-2);
    cursor: not-allowed;
}

.form-grid__wide {
    grid-column: 1 / -1;
}

.form-grid--colors label {
    display: grid;
    grid-template-columns: 92px 44px 1fr;
    align-items: center;
}

.form-grid--colors input[type="color"] {
    width: 44px;
    height: 34px;
    padding: 2px;
}

.form-grid input[type="checkbox"] {
    width: 20px;
    height: 20px;
    padding: 0;
    min-height: 20px;
    accent-color: var(--scale-elevated-6);
}

.form-grid__checkbox {
    min-height: 38px;
    flex-direction: row !important;
    align-items: center;
    justify-content: flex-start;
    gap: 10px !important;
    padding: 10px 12px;
    border: 1px solid var(--admin-border);
    border-radius: 4px;
    background: #fff;
}

.super-admin-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.super-admin-utility {
    padding: 0;
    overflow: hidden;
}

.super-admin-utility summary,
.super-admin-panel summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    cursor: pointer;
    list-style: none;
}

.super-admin-utility summary {
    align-items: flex-start;
}

.super-admin-utility summary::-webkit-details-marker,
.super-admin-panel summary::-webkit-details-marker {
    display: none;
}

.super-admin-utility summary span,
.super-admin-panel summary span {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.super-admin-utility summary small,
.super-admin-panel summary small {
    color: var(--admin-text-muted);
}

.super-admin-utility__icon {
    position: relative;
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    margin-top: 2px;
    border: 1px solid var(--admin-border);
    border-radius: 999px;
    background: var(--surface-2);
    color: var(--admin-text);
}

.super-admin-utility__icon::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translate(-50%, -62%) rotate(45deg);
    transition: transform 160ms ease;
}

details[open] .super-admin-utility__icon::before {
    transform: translate(-50%, -38%) rotate(-135deg);
}

.super-admin-utility .form-grid,
.super-admin-utility .admin-action-row,
.super-admin-panel-card__body .form-grid,
.super-admin-panel-card__body .admin-action-row,
.super-admin-panel-card__body .super-table {
    padding-left: 20px;
    padding-right: 20px;
}

.super-admin-utility .form-grid,
.super-admin-panel-card__body .form-grid,
.super-admin-panel-card__body .super-table {
    padding-bottom: 18px;
}

.super-admin-list,
.super-table {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.super-admin-list {
    padding: 0;
    overflow: hidden;
}

.super-admin-list__header {
    padding: 18px 20px 12px;
    border-bottom: 1px solid var(--admin-border);
}

.super-admin-list__header h3 {
    margin: 0 0 4px;
}

.super-admin-list__header p {
    margin: 0;
    color: var(--admin-text-muted);
    font-size: 0.875rem;
}

.super-admin-site-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
    padding: 12px;
}

.super-site-card {
    display: flex;
    min-height: 184px;
    flex-direction: column;
    gap: 14px;
    border: 1px solid var(--admin-border);
    border-radius: 8px;
    background: #fff;
    color: var(--admin-text);
    padding: 14px;
    text-align: left;
    cursor: pointer;
    transition: border-color 120ms ease, background 120ms ease, box-shadow 120ms ease;
}

.super-site-card:hover {
    border-color: var(--scale-elevated-6);
    background: var(--surface-2);
}

.super-site-card--active {
    border-color: var(--admin-accent);
    background: #fff8f3;
    box-shadow: inset 3px 0 0 var(--admin-accent);
}

.super-site-card__top,
.super-site-card__footer,
.super-admin-panel-card__toggle,
.super-table__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.super-site-card__top span,
.super-table__row span {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.super-site-card__top small,
.super-table__row small,
.super-site-card__meta,
.super-site-card__footer small,
.super-admin-panel-card__toggle small {
    color: var(--admin-text-muted);
}

.super-site-card__meta,
.super-site-card__metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.875rem;
}

.super-site-card__meta span,
.super-site-card__metrics span {
    border-radius: 999px;
    background: var(--surface-2);
    padding: 4px 10px;
}

.super-site-card__footer {
    margin-top: auto;
    border-top: 1px solid var(--admin-border-soft);
    padding-top: 12px;
}

.super-site-card em {
    flex: 0 0 auto;
    font-style: normal;
    font-weight: 700;
}

.super-site-card__footer strong {
    font-size: 0.875rem;
}

.super-site-dialog::part(control) {
    width: min(1160px, calc(100vw - 24px));
    max-width: 1160px;
    height: min(96vh, 1080px);
    max-height: min(96vh, 1080px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 12px;
}

.super-site-dialog::part(body) {
    padding: 0;
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.super-site-dialog__body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1 1 auto;
    min-height: 0;
    padding: 4px 0 20px;
    max-height: none;
    overflow-y: auto;
    overflow-x: hidden;
}

.super-site-dialog__body-shell {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.admin-dialog::part(control) {
    width: min(1040px, calc(100vw - 24px));
    max-width: 1040px;
    height: min(96vh, 980px);
    max-height: min(96vh, 980px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 12px;
}

.admin-dialog::part(body) {
    padding: 0;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.admin-dialog__body {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    flex-direction: column;
    gap: 14px;
    padding: 4px 20px 18px;
    overflow-y: auto;
    overflow-x: hidden;
}

.admin-dialog__body .form-grid {
    gap: 16px;
}

.admin-dialog__body .form-grid label {
    gap: 8px;
    font-size: 0.84rem;
    line-height: 1.45;
}

.admin-dialog__body .form-grid input,
.admin-dialog__body .form-grid textarea,
.admin-dialog__body .form-grid select {
    min-height: 40px;
    padding-top: 11px;
    padding-bottom: 11px;
}

.admin-dialog__body .form-grid textarea {
    min-height: 96px;
}

.admin-dialog__body .admin-form-message {
    margin: 2px 0 0;
}

.admin-dialog__body .admin-form-field,
.admin-dialog__body .admin-form-submit {
    width: 100%;
}

.admin-dialog__footer {
    flex: 0 0 auto;
    flex-wrap: wrap;
    align-items: center;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--admin-border-soft);
    background: var(--admin-surface);
}

.admin-dialog__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px 16px;
    border-bottom: 1px solid var(--admin-border-soft);
}

.admin-dialog__heading {
    min-width: 0;
}

.admin-dialog__header-actions {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 8px;
    flex: 0 0 auto;
    margin-left: auto;
}

.admin-dialog__icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin-top: 1px;
    border-radius: 999px;
    border: 1px solid var(--admin-border);
    background: linear-gradient(180deg, #f6f3ee, #fff);
    color: var(--admin-text);
}

.admin-dialog__icon > * {
    width: 18px;
    height: 18px;
}

.admin-dialog__heading h3 {
    margin: 0 0 6px;
    color: var(--admin-text);
    font-size: 1.1rem;
    line-height: 1.35;
}

.admin-dialog__heading p {
    margin: 0;
    color: var(--admin-text-muted);
    font-size: 0.875rem;
    line-height: 1.55;
}

.admin-dialog__badge {
    flex: 0 0 auto;
    margin-top: 2px;
}

.admin-dialog__badge--danger {
    background: #fde8e5;
    color: #9a3424;
}

.admin-dialog__badge--warning {
    background: #fff3df;
    color: #8c5a00;
}

.admin-dialog__badge--success {
    background: #e7f5ea;
    color: #2f6b3a;
}

.admin-dialog__badge--info {
    background: #e7f1fb;
    color: #24557e;
}

.confirm-dialog::part(control) {
    width: min(560px, calc(100vw - 24px));
    max-width: 560px;
    height: auto;
    max-height: min(70vh, 420px);
}

.confirm-dialog .admin-dialog__header {
    align-items: center;
}

.confirm-dialog__message {
    margin: 0;
    color: var(--admin-text);
    line-height: 1.7;
    white-space: pre-wrap;
}

.confirm-dialog__icon {
    position: relative;
    color: #9a3424;
}

.confirm-dialog__icon::before {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 999px;
    background: #fde8e5;
}

.confirm-dialog__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 14px;
    border-radius: 2px;
    background: currentColor;
    transform: translate(-50%, -56%);
    box-shadow: 0 6px 0 0 currentColor;
}

.confirm-dialog--danger .admin-dialog__header {
    background: linear-gradient(180deg, #fff7f6, #fff);
}

.confirm-dialog--danger .admin-dialog__badge {
    background: #fde8e5;
    color: #9a3424;
}

.confirm-dialog__confirm--danger::part(control) {
    background: #d95f46;
    border-color: #d95f46;
    color: #fff;
}

.confirm-dialog__confirm--danger:hover::part(control) {
    background: #c94f37;
    border-color: #c94f37;
}

@media (max-width: 720px) {
    .admin-dialog::part(control) {
        width: calc(100vw - 16px);
    }

    .admin-dialog__header {
        flex-wrap: wrap;
    }

    .admin-dialog__header-actions {
        margin-left: 0;
    }
}

.super-site-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.super-site-metric {
    border: 1px solid var(--admin-border);
    border-radius: 8px;
    padding: 14px 16px;
    background: linear-gradient(180deg, #fff, #faf7f4);
}

.super-site-metric small {
    display: block;
    margin-bottom: 6px;
    color: var(--admin-text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
}

.super-site-metric strong {
    display: block;
    word-break: break-word;
    font-size: 1rem;
    line-height: 1.35;
}

.super-form-grid--dense {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.super-admin-panel-card {
    overflow: hidden;
    border: 1px solid var(--admin-border);
    border-radius: 10px;
    background: #fff;
}

.super-admin-panel-card--expanded {
    box-shadow: inset 3px 0 0 var(--admin-accent);
}

.super-admin-panel-card__toggle {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 18px 20px;
    text-align: left;
    cursor: pointer;
}

.super-admin-panel-card__toggle span:first-child {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.super-admin-panel-card__state {
    flex: 0 0 auto;
    position: relative;
    width: 28px;
    height: 28px;
    border: 1px solid var(--admin-border);
    border-radius: 999px;
    background: var(--surface-2);
    color: var(--admin-text);
}

.super-admin-panel-card__state::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translate(-50%, -62%) rotate(45deg);
    transition: transform 160ms ease;
}

.super-admin-panel-card--expanded .super-admin-panel-card__state::before {
    transform: translate(-50%, -38%) rotate(-135deg);
}

.super-admin-panel-card__body {
    border-top: 1px solid var(--admin-border-soft);
    padding-top: 18px;
    padding-bottom: 2px;
}

.status-pill {
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 0.75rem;
}

.status-pill--active {
    background: var(--accent-green-bg);
    color: #4f6136;
}

.status-pill--inactive {
    background: #f3ece8;
    color: #8b5d44;
}

.status-pill--warning {
    background: #fff4db;
    color: #8a5a08;
}

.status-pill--danger {
    background: #fde8e5;
    color: #9a3424;
}

.super-wallet-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.super-wallet-card {
    display: grid;
    gap: 12px;
    border: 1px solid var(--admin-border);
    border-radius: 10px;
    padding: 16px;
    background: linear-gradient(180deg, #fff, #faf7f4);
}

.super-wallet-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.super-wallet-card__top span {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.super-wallet-card__top small,
.super-wallet-card__address,
.super-wallet-card__detail {
    color: var(--admin-text-muted);
    word-break: break-word;
}

.super-wallet-card__metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.super-wallet-card__metrics small {
    display: block;
    margin-bottom: 4px;
    color: var(--admin-text-subtle);
    font-size: 0.75rem;
    text-transform: uppercase;
}

.super-wallet-card__metrics strong {
    display: block;
    word-break: break-word;
}

.super-table__row {
    border: 1px solid var(--admin-border);
    border-radius: 8px;
    padding: 12px;
    background: #fff;
}

@media (max-width: 980px) {
    .theme-preset-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .super-site-metrics,
    .super-form-grid--dense {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .super-wallet-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .super-admin-site-grid,
    .super-site-metrics,
    .super-form-grid--dense,
    .super-wallet-grid {
        grid-template-columns: 1fr;
    }

    .super-site-card__top,
    .super-site-card__footer,
    .super-admin-panel-card__toggle,
    .super-table__row,
    .super-wallet-card__top {
        align-items: flex-start;
        flex-direction: column;
    }

    .super-site-dialog::part(control) {
        width: calc(100vw - 16px);
    }
}

.omc-alert {
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 0.875rem;
}

.omc-alert--success {
    border: 1px solid rgba(65, 128, 78, 0.26);
    color: #315f3a;
    background: #edf6ed;
}

.omc-alert--error {
    border: 1px solid rgba(191, 77, 67, 0.26);
    color: #8f3434;
    background: #f8eeee;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

h1:focus,
h1:focus-visible {
    outline: none;
}

:root {
    --font-family-base: "SF Pro Text", "SF Pro", "SF Pro Display", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
    --semantic-bgbase: #faf9f5;
    --scale-elevated-6: #1f1e1d;
    --surface-0: #ffffff;
    --surface-1: #faf9f5;
    --surface-2: #f5f4ed;
    --surface-3: #f0eee6;
    --surface-5: #d1cfc5;
    --accent-orange: #d97757;
    --accent-green: #788c5d;
    --accent-green-bg: #e8e9de;
    --danger: #bf4d43;
    --danger-bg: #f0e3dc;
    --admin-bg: #faf9f5;
    --admin-surface: #ffffff;
    --admin-surface-alt: #f5f4ed;
    --admin-text: #1f1e1d;
    --admin-text-muted: #73726c;
    --admin-text-subtle: #8d8b84;
    --admin-border: #d1cfc5;
    --admin-border-soft: #f0eee6;
    --admin-focus: #1f1e1d;
    --admin-accent: #d97757;
    --admin-accent-soft: #f9ebe6;
    --admin-shadow: none;
}

html,
body {
    margin: 0;
    background: var(--semantic-bgbase);
    color: var(--admin-text);
    font-family: var(--font-family-base);
}

body {
    min-height: 100vh;
}

a {
    color: inherit;
}

h2 {
    margin: 0 0 1.25rem;
    font-size: 2.25rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
}

h3 {
    color: var(--admin-text);
    letter-spacing: 0;
}

.admin-shell {
    min-height: 100vh;
    padding: 24px 32px;
    box-sizing: border-box;
}

.admin-shell__header {
    position: sticky;
    top: 0;
    z-index: 40;
    margin-bottom: 16px;
}

.admin-shell__header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    padding: 0 20px;
    border: 1px solid var(--admin-border);
    border-radius: 8px;
    background: var(--admin-surface);
    box-shadow: var(--admin-shadow);
}

.admin-shell__brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.admin-shell__brand-logo {
    display: block;
    width: 108px;
    height: 30px;
    object-fit: contain;
}

.admin-shell__brand-copy {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding-left: 12px;
    border-left: 1px solid var(--admin-border);
    color: var(--admin-text-muted);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.admin-shell__logout::part(control) {
    height: 38px;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid var(--scale-elevated-6);
    border-radius: 4px;
    color: var(--scale-elevated-6);
    background: var(--semantic-bgbase);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
}

.admin-shell__body {
    display: grid;
    gap: 16px;
    align-items: start;
}

.admin-shell__body--with-sidebar {
    grid-template-columns: 280px minmax(0, 1fr);
}

.admin-shell__sidebar,
.admin-shell__content {
    min-width: 0;
    border: 1px solid var(--admin-border);
    border-radius: 8px;
    background: var(--admin-surface);
    box-shadow: var(--admin-shadow);
}

.admin-shell__sidebar {
    position: sticky;
    top: 84px;
    overflow: hidden;
}

.admin-shell__sidebar-head {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 18px 14px;
    border-bottom: 1px solid var(--admin-border-soft);
}

.admin-shell__sidebar-eyebrow {
    color: var(--admin-text-subtle);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.6;
}

.admin-shell__content {
    display: block;
    min-height: calc(100vh - 164px);
    padding: 24px;
    overflow: auto;
}

.admin-shell__footer {
    margin-top: 16px;
    padding: 8px 12px;
    color: var(--admin-text-subtle);
    text-align: center;
}

.admin-nav {
    width: 100%;
    background: transparent;
}

.admin-nav::part(positioning-region),
.admin-nav::part(control) {
    background: transparent;
}

fluent-nav-menu {
    background: transparent;
}

fluent-nav-group::part(button),
fluent-nav-link::part(control) {
    min-height: 38px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
}

fluent-nav-group::part(button) {
    margin: 6px 12px 4px;
    color: var(--admin-text);
}

.admin-nav__group--super {
    display: block;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--admin-border-soft);
}

.admin-nav__section-label {
    margin: 8px 12px 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--admin-border-soft);
    color: var(--admin-text-subtle);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

fluent-nav-link::part(control) {
    margin: 2px 12px;
    padding-block: 7px;
    color: var(--admin-text-muted);
}

fluent-nav-link:hover::part(control),
fluent-nav-group:hover::part(button) {
    background: var(--surface-3);
}

fluent-nav-link[aria-current="page"]::part(control),
fluent-nav-link[current]::part(control) {
    background: var(--surface-3);
    color: var(--scale-elevated-6);
    box-shadow: inset 2px 0 0 0 var(--admin-accent);
    font-weight: 600;
}

fluent-card {
    border: 1px solid var(--admin-border-soft);
    border-radius: 8px;
    background: var(--admin-surface);
    box-shadow: none;
}

fluent-card::part(control) {
    border-radius: 8px;
    border-color: var(--admin-border-soft);
    box-shadow: none;
}

fluent-button[appearance="accent"]::part(control) {
    height: 38px;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 4px;
    border: 1px solid var(--scale-elevated-6);
    background: var(--scale-elevated-6);
    color: var(--semantic-bgbase);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: 0;
}

fluent-button[appearance="outline"]::part(control),
fluent-button[appearance="stealth"]::part(control),
fluent-button[appearance="neutral"]::part(control) {
    height: 38px;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 4px;
    border-color: var(--scale-elevated-6);
    background: var(--semantic-bgbase);
    color: var(--scale-elevated-6);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: 0;
}

.admin-table fluent-button,
fluent-data-grid fluent-button,
.admin-table__action-button {
    display: inline-flex;
    width: auto;
    height: 24px;
    min-height: 24px;
    max-height: 24px;
    align-items: center;
    vertical-align: middle;
    line-height: 1;
}

.admin-table fluent-button::part(control),
fluent-data-grid fluent-button::part(control),
.admin-table__action-button::part(control) {
    box-sizing: border-box;
    height: 24px;
    min-height: 24px;
    max-height: 24px;
    padding: 0 7px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.admin-table__action-button--view::part(control) {
    border-color: #d1cfc5;
    background: #faf9f5;
    color: #1f1e1d;
}

.admin-table__action-button--edit::part(control) {
    border-color: #b99156;
    background: #f0e6d8;
    color: #6d4f25;
}

.admin-table__action-button--review::part(control) {
    border-color: #1f1e1d;
    background: #1f1e1d;
    color: #faf9f5;
}

.admin-table__action-button--history::part(control) {
    border-color: #d1cfc5;
    background: #f5f4ed;
    color: #1f1e1d;
}

.admin-table__action-button--approve::part(control),
.admin-table__action-button--activate::part(control) {
    border-color: #788c5d;
    background: #e8e9de;
    color: #4f6136;
}

.admin-table__action-button--reject::part(control),
.admin-table__action-button--deactivate::part(control) {
    border-color: #bf4d43;
    background: #f0e3dc;
    color: #9a332b;
}

.admin-table__action-button--danger::part(control) {
    border-color: #bf4d43;
    background: #bf4d43;
    color: #fffdfa;
}

fluent-text-field::part(root),
fluent-select::part(control),
fluent-text-area::part(control),
fluent-number-field::part(root) {
    min-height: 38px;
    border-color: var(--surface-5);
    border-radius: 4px;
    background: var(--semantic-bgbase);
    color: var(--scale-elevated-6);
}

fluent-text-field:hover::part(root),
fluent-select:hover::part(control),
fluent-text-area:hover::part(control),
fluent-number-field:hover::part(root) {
    border-color: var(--scale-elevated-6);
}

fluent-text-field:focus-within::part(root),
fluent-select:focus-within::part(control),
fluent-text-area:focus-within::part(control),
fluent-number-field:focus-within::part(root) {
    border-color: var(--admin-focus);
    box-shadow: 0 0 0 1px var(--admin-focus);
}

fluent-text-field::part(label),
fluent-select::part(label),
fluent-text-area::part(label),
fluent-number-field::part(label) {
    color: var(--admin-text-muted);
    font-size: 0.8125rem;
    font-weight: 600;
}

fluent-data-grid {
    overflow: auto;
    border: 1px solid var(--admin-border);
    border-radius: 8px;
    background: var(--semantic-bgbase);
    font-size: 14px;
}

fluent-data-grid-row[row-type="header"] {
    background: var(--surface-2);
}

fluent-data-grid-cell {
    color: var(--admin-text-muted);
    font-size: 14px;
    padding: 7px 10px;
    min-height: 38px;
    align-items: center;
    overflow: visible;
}

fluent-data-grid-row[row-type="header"] fluent-data-grid-cell {
    color: var(--admin-text);
    font-weight: 600;
    font-size: 12px;
    padding: 10px 10px;
    white-space: nowrap;
}

fluent-badge::part(control) {
    min-height: 20px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
}

.admin-table fluent-badge,
fluent-data-grid fluent-badge {
    display: inline-flex;
    width: auto;
    height: 18px;
    min-height: 18px;
    max-height: 18px;
    align-items: center;
    vertical-align: middle;
    line-height: 1;
}

.admin-table fluent-badge::part(control),
fluent-data-grid fluent-badge::part(control) {
    box-sizing: border-box;
    height: 18px;
    min-height: 18px;
    max-height: 18px;
    padding: 0 7px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
}

fluent-message-bar {
    border-radius: 8px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table td,
table th {
    padding: 8px 10px;
    border-bottom: 1px solid var(--admin-border-soft);
    text-align: left;
    font-size: 0.8125rem;
}

.admin-empty-state {
    padding: 24px;
    text-align: center;
    color: var(--admin-text-subtle);
    font-size: 0.875rem;
}

.admin-empty-state--compact {
    padding: 12px 24px;
}

.admin-empty-state--flush {
    padding-top: 0;
    padding-bottom: 0;
}

/* FluentDataGrid 컬럼 헤더 텍스트 잘림 방지 */
.column-header .col-title {
    overflow: visible;
}

.column-header .col-title-text {
    overflow: visible !important;
    text-overflow: clip !important;
}

/* FluentDataGrid 데이터 셀 패딩 최적화 (기본값 16px → 8px으로 줄여 가독성 개선) */
td.col-justify-start,
td.col-justify-end,
td.col-justify-center {
    padding-left: 8px !important;
    padding-right: 8px !important;
    font-size: 0.8125rem;
}

@media (max-width: 1080px) {
    .admin-shell {
        padding: 16px;
    }

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

    .admin-shell__sidebar {
        position: static;
    }

    .admin-shell__content {
        min-height: auto;
    }
}

@media (max-width: 720px) {
    .admin-shell {
        padding: 12px;
    }

    .admin-shell__header-inner {
        gap: 12px;
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-shell__brand-copy {
        display: none;
    }

    .admin-shell__content {
        padding: 16px;
    }

    h2 {
        font-size: 1.4rem;
    }
}

.admin-page-header {
    margin-bottom: 18px;
}

.admin-page-header__eyebrow,
.admin-login__eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--admin-text-subtle);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.admin-stats-grid {
    margin-bottom: 24px;
}

.admin-stat-card {
    min-width: 180px;
    flex: 1;
    padding: 18px;
    text-align: left;
}

.admin-stat-card--wide {
    min-width: 220px;
}

.admin-stat-card--accent {
    border-color: var(--accent-orange);
    background: var(--admin-accent-soft);
}

.admin-stat-card--warning {
    border-color: var(--danger);
    background: var(--danger-bg);
}

.admin-stat-card--info {
    border-color: var(--surface-5);
    background: var(--surface-2);
}

.admin-stat-card--success {
    border-color: var(--accent-green);
    background: var(--accent-green-bg);
}

.admin-stat-card--danger {
    border-color: var(--danger);
    background: var(--danger-bg);
}

.admin-stat-card--centered {
    text-align: center;
}

.admin-stat-card__label {
    color: var(--admin-text-muted);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
}

.admin-stat-card__value {
    margin-top: 8px;
    color: var(--admin-text);
    font-size: 36px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
}

.admin-stat-card__value--compact {
    font-size: 1.45rem;
}

.admin-stat-card__value--accent {
    color: var(--scale-elevated-6);
}

.admin-section-card {
    margin-top: 24px;
    padding: 24px;
}

.admin-section-card__title {
    margin: 0 0 16px;
}

.admin-section-card__actions {
    margin-top: 16px;
}

.admin-form-card {
    padding: 24px;
    border: 1px solid var(--admin-border);
    border-radius: 8px;
    background: var(--admin-surface);
    box-shadow: var(--admin-shadow);
    overflow-x: auto;
}

.admin-form-card--narrow {
    width: min(100%, 520px);
}

.admin-form-card--wide {
    width: min(100%, 840px);
}

.admin-form-note {
    margin: 8px 0 0;
    color: var(--admin-text-muted);
    line-height: 1.6;
}

.admin-form-message {
    margin-bottom: 16px;
}

.admin-form-field,
.admin-form-submit {
    width: 100%;
}

.admin-form-toggle {
    padding: 6px 2px;
    border-top: 1px solid var(--admin-border-soft);
    border-bottom: 1px solid var(--admin-border-soft);
}

.admin-backlink {
    margin-bottom: 12px;
}

.admin-toolbar {
    align-items: center;
    margin-bottom: 16px;
}

.admin-detail-grid {
    align-items: stretch;
}

.admin-detail-card {
    min-width: 300px;
    flex: 1;
}

.admin-detail-table {
    border-collapse: collapse;
}

.admin-detail-table td {
    padding: 4px 0;
}

.admin-detail-table__label {
    padding-right: 12px;
    color: var(--admin-text-subtle);
}

.admin-inline-actions {
    margin-top: 12px;
}

.admin-inline-actions--spaced {
    margin-bottom: 16px;
}

.admin-detail-divider {
    margin-bottom: 16px;
}

.admin-subsection-title {
    margin: 0 0 12px;
}

.admin-section-divider {
    margin: 24px 0;
}

.admin-muted-inline {
    color: var(--admin-text-subtle);
}

.admin-table--spaced {
    margin-top: 12px;
}

.admin-tree-card {
    margin-bottom: 24px;
}

.admin-tree-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: calc(var(--admin-tree-depth, 0) * 20px);
}

.admin-tree-caption {
    color: var(--admin-text-muted);
}

.admin-tree-summary {
    color: var(--admin-text-subtle);
    font-size: 0.9rem;
}

.admin-order-section {
    margin-bottom: 16px;
}

.admin-order-section--danger {
    border-color: var(--danger);
    background: var(--danger-bg);
}

.admin-order-card-title {
    margin: 0 0 16px;
}

.admin-order-meta-grid {
    align-items: start;
}

.admin-order-meta-grid--spaced {
    margin-top: 16px;
}

.admin-order-meta-item {
    min-width: 180px;
}

.admin-order-note {
    margin-top: 12px;
    color: var(--admin-text-muted);
    line-height: 1.6;
}

.admin-order-note--tight {
    margin-bottom: 12px;
}

.admin-order-callout {
    margin-bottom: 16px;
    padding: 16px;
    border: 1px solid var(--admin-border-soft);
    border-radius: 8px;
    background: var(--surface-2);
}

.admin-order-detail-line {
    margin-top: 8px;
}

.admin-order-codearea::part(control) {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.admin-order-event-cell {
    display: grid;
    gap: 4px;
}

.admin-order-event-type {
    color: var(--admin-text-subtle);
    font-size: 0.85rem;
}

.admin-order-payload {
    display: grid;
    gap: 6px;
}

.admin-order-payload-text {
    color: var(--admin-text-muted);
    white-space: pre-wrap;
    word-break: break-word;
}

.admin-trend-item {
    padding: 14px 0;
    border-top: 1px solid var(--admin-border-soft);
}

.admin-trend-item:first-child {
    padding-top: 0;
    border-top: 0;
}

.admin-trend-item__header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.admin-trend-item__summary {
    color: var(--admin-text-muted);
    font-size: 0.9rem;
}

.admin-trend-item__bars {
    display: grid;
    gap: 8px;
}

.admin-trend-bar {
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-trend-bar__label {
    width: 48px;
    color: var(--admin-text-muted);
    font-size: 0.82rem;
}

.admin-trend-bar__track {
    flex: 1;
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--admin-surface-alt);
}

.admin-trend-bar__fill {
    height: 100%;
    border-radius: 999px;
}

.admin-trend-bar__fill--orders {
    background: var(--admin-accent);
}

.admin-trend-bar__fill--signups {
    background: #3f8f72;
}

.admin-trend-bar__fill--disputes {
    background: #c35d5d;
}

.admin-filterbar {
    align-items: end;
    margin-bottom: 16px;
    padding: 16px;
    border: 1px solid var(--admin-border);
    border-radius: 8px;
    background: var(--admin-surface);
}

.admin-filterbar__search {
    min-width: 240px;
}

.admin-filterbar__field {
    min-width: 150px;
}

.admin-filterbar__action::part(control) {
    min-width: 92px;
}

.admin-table {
    width: 100%;
}

.admin-empty-state {
    margin-top: 32px;
    color: var(--admin-text-subtle);
    text-align: center;
}

.admin-empty-state--compact {
    margin-top: 12px;
}

.admin-empty-state--flush {
    margin: 0;
}

.admin-login-figma {
    min-height: 100vh;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.admin-login-figma__main {
    width: 440px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.admin-login-figma__card {
    width: 100%;
    border-radius: 16px;
    background: #f9f9f9;
    box-shadow: 1px 4px 16px rgba(15, 15, 14, 0.1);
    padding: 50px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.admin-login-figma__language {
    position: absolute;
    top: 34px;
    right: 42px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.admin-login-figma__language img {
    width: 20px;
    height: 20px;
    opacity: 0.62;
}

.admin-login-figma__language select {
    height: 36px;
    border: 1px solid #141414;
    border-radius: 0;
    background: #f9f9f9;
    color: #141414;
    font: inherit;
    font-size: 18px;
    line-height: 1;
    padding: 0 28px 0 10px;
}

.admin-login-figma__header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 44px;
}

.admin-login-figma__eyebrow {
    margin: 0;
    font-size: 12px;
    line-height: 1.6;
    font-weight: 600;
    color: #727272;
    letter-spacing: 0;
}

.admin-login-figma__title-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-login-figma__logo {
    width: 110px;
    height: auto;
    display: block;
    flex-shrink: 0;
}

.admin-login-figma__title-row h1 {
    margin: 0;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
    color: #141414;
    letter-spacing: -0.01em;
}

.admin-login-figma__description {
    margin: 0;
    font-size: 12px;
    line-height: 1.6;
    font-weight: 400;
    color: #727272;
}

.admin-login-figma__error {
    border: 1px solid rgba(180, 67, 67, 0.18);
    border-radius: 6px;
    color: #8f3434;
    background: rgba(255, 241, 241, 0.92);
    font-size: 14px;
    padding: 10px 12px;
}

.admin-login-figma__fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
}

.admin-login-figma__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.admin-login-figma__field span {
    font-size: 14px;
    line-height: 1.6;
    color: #141414;
}

.admin-login-figma__field input {
    width: 100%;
    height: 48px;
    border-radius: 6px;
    border: 1px solid #cecece;
    background: #f9f9f9;
    padding: 0 12px;
    box-sizing: border-box;
    font: inherit;
    font-size: 18px;
    line-height: 1.6;
    color: #141414;
    box-shadow: 1px 1px 6px rgba(15, 15, 14, 0.01);
}

.admin-login-figma__field input::placeholder {
    color: #727272;
}

.admin-login-figma__field input:focus {
    outline: none;
    border-color: #0f0f0e;
    box-shadow: 0 0 0 3px rgba(15, 15, 14, 0.08);
}

.admin-login-figma__submit {
    margin-top: 12px;
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 6px;
    background: #0f0f0e;
    color: #f5f4ed;
    font: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
}

.admin-login-figma__submit:disabled {
    opacity: 0.55;
    cursor: default;
}

.admin-login-figma__submit-icon {
    width: 20px;
    height: 20px;
    display: block;
    filter: brightness(0) invert(1);
}

.admin-login-figma__footer {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 300;
    color: #727272;
    text-align: center;
}

@media (max-width: 720px) {
    .admin-stat-card {
        min-width: calc(50% - 8px);
    }

    .admin-filterbar {
        padding: 14px;
    }

    .admin-form-card {
        padding: 20px 18px;
    }

    .admin-trend-item__header {
        flex-direction: column;
    }

    .admin-login-figma {
        padding: 20px 12px;
        background: #F9F9F9;
    }

    .admin-login-figma__main {
        gap: 24px;
    }

    .admin-login-figma__card {
        box-shadow: none;
        padding: 42px 24px 32px;
    }

    .admin-login-figma__language {
        top: 18px;
        right: 20px;
    }

    .admin-login-figma__language select {
        height: 34px;
        font-size: 16px;
    }

    .admin-login-figma__header {
        padding-top: 38px;
    }

    .admin-login-figma__title-row {
        flex-wrap: wrap;
        gap: 6px;
    }

    .admin-login-figma__logo {
        width: 92px;
    }

    .admin-login-figma__title-row h1 {
        font-size: 28px;
    }

    .admin-login-figma__submit {
        font-size: 16px;
    }

    .admin-login-figma__footer {
        font-size: 14px;
    }
}
