:root {
    --admin-accent: #8b1032;
    --admin-accent-soft: rgba(139, 16, 50, 0.12);
    --admin-panel-border: rgba(31, 24, 21, 0.12);
}

body {
    font-family: "Inter", system-ui, sans-serif;
    background: #f6f5f3;
    margin: 0;
    color: #2c2c2c;
}

.stack {
    display: grid;
    gap: 1rem;
}

.admin-shell {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    background: #1f2937;
    color: #fff;
    padding: 2rem 1.25rem;
}

.admin-sidebar h1 {
    margin: 0 0 1.5rem;
    font-size: 1.25rem;
}

.admin-sidebar nav {
    display: grid;
    gap: 0.75rem;
}

.admin-sidebar a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    padding: 0.45rem 0.6rem;
    border-radius: 8px;
    font-weight: 500;
}

.admin-sidebar a:hover,
.admin-sidebar a:focus {
    background: rgba(255, 255, 255, 0.12);
}

.admin-main {
    padding: 2rem;
}

.flash-stack {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.flash {
    padding: 0.8rem 1rem;
    border-radius: 12px;
    font-weight: 500;
}

.flash-success {
    background: rgba(22, 163, 74, 0.12);
    color: #166534;
}

.flash-error {
    background: rgba(220, 38, 38, 0.12);
    color: #991b1b;
}

.flash-warning {
    background: rgba(234, 179, 8, 0.18);
    color: #854d0e;
}

.admin-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 12px 30px rgb(15 23 42 / 0.08);
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.table th,
.table td {
    text-align: left;
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.table th {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
}

.actions {
    display: flex;
    gap: 0.5rem;
}

form label {
    font-weight: 600;
    display: block;
    margin-bottom: 0.3rem;
}

fieldset small {
    display: block;
    margin-top: 0.35rem;
    color: rgba(31, 24, 21, 0.6);
    font-size: 0.85rem;
}

form input,
form textarea,
form select {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border-radius: 10px;
    border: 1px solid rgba(31, 41, 55, 0.2);
    font-family: inherit;
    font-size: 1rem;
    background: #fff;
}

form textarea {
    min-height: 120px;
    resize: vertical;
}

form .row {
    display: grid;
    gap: 1rem;
}

form .row.two {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.media-upload-form {
    display: grid;
    gap: 1rem;
}

.media-upload-preview {
    position: relative;
    min-height: 220px;
    max-height: 320px;
    border: 1px dashed rgba(31, 41, 55, 0.35);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(229, 231, 235, 0.35);
    padding: 0.75rem;
}

.media-upload-preview span {
    color: #6b7280;
    text-align: center;
    padding: 1rem;
}

.media-upload-preview img {
    display: block;
    width: 100%;
    max-height: 280px;
    object-fit: contain;
}

.media-item {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    background: #f9fafb;
    padding: 1rem;
    border-radius: 12px;
}

.media-item img {
    border-radius: 10px;
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: cover;
}

.media-meta {
    display: grid;
    gap: 0.6rem;
}

.media-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.brand-section {
    margin-top: 2.4rem;
    padding: 1.6rem;
    border-radius: 18px;
    border: 1px solid rgba(31, 41, 55, 0.08);
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    display: grid;
    gap: 1.2rem;
}

.brand-section:first-of-type {
    margin-top: 0;
}

.brand-section__header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.brand-section__title {
    margin: 0;
    font-size: 1.25rem;
}

.brand-section__summary {
    margin: 0.35rem 0 0;
    color: #4b5563;
    font-size: 0.95rem;
    max-width: 520px;
}

.brand-section__grid {
    display: grid;
    gap: 1rem;
}

.brand-section__grid .row {
    margin: 0;
}

.brand-section--effects {
    margin-top: 0.5rem;
}

.brand-effects {
    display: grid;
    gap: clamp(1.2rem, 3vw, 1.8rem);
}

@media (min-width: 1080px) {
    .brand-effects {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.effect-card {
    background: #fff;
    border: 1px solid var(--admin-panel-border, rgba(31, 24, 21, 0.12));
    border-radius: 22px;
    padding: clamp(1.4rem, 3vw, 1.95rem);
    display: grid;
    gap: 1.25rem;
    box-shadow: 0 20px 48px rgba(18, 14, 11, 0.08);
}

.effect-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.2rem;
}

.effect-card__header h3 {
    margin: 0;
    font-size: 1.22rem;
    font-weight: 600;
    color: #2f1b14;
}

.effect-card__header p {
    margin: 0.35rem 0 0;
    font-size: 0.95rem;
    color: #6b7280;
    max-width: 34ch;
}

.effect-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.effect-preset,
.effect-reset {
    border: 1px solid rgba(139, 16, 50, 0.18);
    background: rgba(139, 16, 50, 0.08);
    color: #8b1032;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.effect-preset:hover,
.effect-preset:focus-visible,
.effect-reset:hover,
.effect-reset:focus-visible {
    background: rgba(139, 16, 50, 0.16);
    border-color: rgba(139, 16, 50, 0.32);
    outline: none;
    transform: translateY(-1px);
}

.effect-reset {
    background: rgba(31, 41, 55, 0.06);
    border-color: rgba(31, 41, 55, 0.14);
    color: #374151;
}

.effect-reset:hover,
.effect-reset:focus-visible {
    background: rgba(31, 41, 55, 0.12);
    border-color: rgba(31, 41, 55, 0.2);
}

.effect-advice {
    display: grid;
    gap: 0.35rem;
    margin: 0.4rem 0 0.8rem;
}

.effect-warning,
.effect-note {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.4;
    padding: 0.55rem 0.75rem;
    border-radius: 10px;
    border: 1px solid rgba(139, 16, 50, 0.22);
    background: rgba(139, 16, 50, 0.08);
    color: #6b0f2e;
}

.effect-warning[hidden] {
    display: none;
}

.effect-note {
    border-color: rgba(31, 41, 55, 0.16);
    background: rgba(31, 41, 55, 0.06);
    color: #374151;
}

.effect-switch-small {
    margin-top: 0.35rem;
    align-self: flex-start;
}

.effect-switch-small input {
    width: 40px;
    height: 22px;
}

.effect-switch-small input::after {
    width: 18px;
    height: 18px;
}

.switch {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
}

.switch input {
    appearance: none;
    width: 48px;
    height: 26px;
    border-radius: 16px;
    background: rgba(148, 163, 184, 0.5);
    position: relative;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.switch input::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 12px rgba(31, 24, 21, 0.18);
    transition: transform 0.2s ease;
}

.switch input:checked {
    background: var(--admin-accent, #8b1032);
    box-shadow: 0 0 0 2px rgba(139, 16, 50, 0.1);
}

.switch input:checked::after {
    transform: translateX(22px);
}

.switch input:focus-visible {
    outline: 2px solid var(--admin-accent, #8b1032);
    outline-offset: 2px;
}

.switch--inline {
    margin-top: 0.75rem;
}

.switch span {
    font-size: 0.95rem;
}

.effect-panel {
    display: grid;
    gap: 1.35rem;
}

.effect-panel__group {
    display: grid;
    gap: 0.6rem;
}

.effect-panel__label {
    font-size: 0.92rem;
    font-weight: 600;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.effect-variant {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.effect-variant__option {
    position: relative;
}

.effect-variant__option input {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

.effect-variant__option span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(55, 65, 81, 0.18);
    background: #f9fafb;
    color: #374151;
    font-size: 0.95rem;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.effect-variant__option input:checked + span {
    background: var(--admin-accent, #8b1032);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 16px 28px rgba(139, 16, 50, 0.2);
}

.effect-panel__grid {
    display: grid;
    gap: 1rem;
}

.effect-panel__grid--two {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.effect-panel__grid--three {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.effect-panel__grid--full {
    grid-template-columns: minmax(0, 1fr);
}

.effect-field {
    display: grid;
    gap: 0.45rem;
    font-size: 0.95rem;
}

.effect-field span {
    font-weight: 600;
    color: #3f3f46;
}

.effect-field__readonly {
    background: #f3f4f6;
    color: #6b7280;
    border-color: rgba(107, 114, 128, 0.35);
}

.effect-field input,
.effect-field select {
    font: inherit;
    padding: 0.6rem 0.75rem;
    border-radius: 12px;
    border: 1px solid rgba(55, 65, 81, 0.2);
    background: #fff;
    color: #1f2937;
}

.effect-field input:focus,
.effect-field select:focus {
    outline: 2px solid var(--admin-accent, #8b1032);
    outline-offset: 2px;
}

.effect-field--range .effect-hint {
    margin-top: 0.2rem;
}

.effect-range {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.effect-range--compact {
    gap: 0.65rem;
}

.effect-range input[type="range"] {
    flex: 1;
    accent-color: var(--admin-accent, #8b1032);
}

.effect-value {
    min-width: 48px;
    text-align: right;
    font-weight: 600;
    font-size: 0.9rem;
    color: #6b7280;
}

.effect-panel__subgroup {
    display: grid;
    gap: 0.9rem;
    padding-top: 0.4rem;
}

.effect-subpanel,
.effect-panel__subpanel {
    background: #f9f5f3;
    border-radius: 18px;
    padding: 1rem 1.3rem;
    border: 1px solid rgba(139, 16, 50, 0.08);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.35);
}

.effect-panel__subpanel h4 {
    margin: 0 0 0.4rem;
    font-size: 1rem;
    color: #2d1b13;
}

.effect-hint {
    font-size: 0.85rem;
    color: #6b7280;
}

.effect-panel code {
    font-family: "Fira Code", "SFMono-Regular", monospace;
    font-size: 0.82rem;
    background: rgba(31, 24, 21, 0.08);
    padding: 0.1rem 0.35rem;
    border-radius: 6px;
}

.effect-panel input[readonly] {
    background: rgba(241, 245, 249, 0.75);
    cursor: not-allowed;
}

.effect-panel .is-readonly {
    opacity: 0.7;
}

.brand-hint {
    margin: 0;
}

.brand-hint__summary {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(31, 41, 55, 0.16);
    background: #f9fafb;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    color: #1f2937;
}

.brand-hint__summary::-webkit-details-marker {
    display: none;
}

.brand-hint[open] .brand-hint__summary {
    border-color: rgba(139, 16, 50, 0.32);
    background: rgba(139, 16, 50, 0.08);
    color: #8b1032;
}

.brand-hint__body {
    margin-top: 0.9rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.1rem;
    border-radius: 16px;
    border: 1px dashed rgba(31, 41, 55, 0.18);
    background: #f8fafc;
}

.brand-preview-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(31, 41, 55, 0.14);
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.brand-preview-icon svg {
    width: 28px;
    height: auto;
}

.brand-hint__body figure {
    margin: 0;
    display: grid;
    gap: 0.6rem;
    align-items: start;
}

.brand-hint__body svg {
    width: 140px;
    height: auto;
    border-radius: 14px;
    border: 1px solid rgba(31, 41, 55, 0.12);
    background: #fff;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
}

.brand-hint__body figcaption {
    font-size: 0.85rem;
    color: #4b5563;
    max-width: 260px;
}

@media (max-width: 720px) {
    .brand-section {
        padding: 1.3rem;
    }

    .brand-hint__body {
        flex-direction: column;
        align-items: flex-start;
    }

    .brand-hint__body figure {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .brand-hint__body figcaption {
        max-width: 100%;
    }

    .brand-metric > summary {
        flex-direction: column;
        align-items: flex-start;
    }

    .brand-metric__controls {
        grid-template-columns: 1fr;
    }
}

.brand-thumb {
    display: block;
    max-width: 180px;
    border-radius: 12px;
    margin-top: 0.6rem;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
}

.align-end {
    align-items: end;
}

.brand-metrics-grid {
    display: grid;
    gap: 1rem;
}

.brand-metric {
    border: 1px solid rgba(31, 41, 55, 0.1);
    border-radius: 16px;
    background: #f9fafb;
    padding: 0.9rem 1.1rem;
}

.brand-metric > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.brand-metric > summary::-webkit-details-marker {
    display: none;
}

.brand-metric[open] {
    background: #fff;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.brand-metric__body {
    margin-top: 1rem;
    display: grid;
    gap: 1rem;
}

.brand-metric__controls {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.brand-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    background: rgba(31, 41, 55, 0.12);
    color: #1f2937;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.brand-tag--active {
    background: rgba(139, 16, 50, 0.18);
    color: #8b1032;
}

.hero-slide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
}

.hero-slide-card {
    display: grid;
    gap: 0.9rem;
    background: #f9fafb;
    border-radius: 16px;
    padding: 1rem;
    border: 1px solid rgba(31, 41, 55, 0.08);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.hero-slide-card__media {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
}

.hero-slide-card__media img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.hero-slide-card__badge {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
}

.hero-slide-card__body h3 {
    margin: 0;
    font-size: 1.05rem;
}

.hero-slide-card__body p {
    margin: 0.35rem 0 0;
    color: #4b5563;
    font-size: 0.95rem;
}

.hero-slide-card__actions {
    display: flex;
    justify-content: flex-end;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-top: 1.2rem;
}

.gallery-grid label,
.gallery-grid figure:not(.media-item) {
    display: grid;
    gap: 0.6rem;
    padding: 0.8rem;
    border-radius: 14px;
    background: #f9fafb;
    border: 1px solid rgba(31, 41, 55, 0.08);
    box-shadow: 0 8px 22px rgb(15 23 42 / 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-grid label:hover,
.gallery-grid label:focus-within,
.gallery-grid figure:not(.media-item):hover,
.gallery-grid figure:not(.media-item):focus-within {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgb(15 23 42 / 0.12);
}

.gallery-grid input[type="checkbox"],
.gallery-grid input[type="radio"] {
    justify-self: flex-start;
}

.gallery-grid label img,
.gallery-grid figure:not(.media-item) img {
    width: 100%;
    aspect-ratio: 4 / 3;
    max-height: 180px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 26px rgb(15 23 42 / 0.12);
}

.gallery-grid-compact {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.85rem;
}

.gallery-grid-compact img {
    max-height: 140px;
}

.detail-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.detail-gallery figure {
    margin: 0;
    background: #f9fafb;
    border-radius: 12px;
    padding: 0.75rem;
    display: grid;
    gap: 0.5rem;
    justify-items: center;
}

.detail-gallery img {
    width: 100%;
    max-height: 150px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgb(15 23 42 / 0.12);
}

.detail-gallery form,
.detail-gallery .btn-admin {
    width: 100%;
}

.badge-admin {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: #1f2937;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.confirm-panel {
    margin: 1.5rem 0;
    background: #f9fafb;
    border-radius: 16px;
    padding: 1.5rem;
    display: grid;
    gap: 1rem;
}

.confirm-panel header {
    font-size: 1.1rem;
}

.confirm-preview {
    max-height: 220px;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.confirm-preview img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.meta-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.6rem;
}

.meta-list li {
    display: grid;
    grid-template-columns: minmax(130px, auto) 1fr;
    gap: 0.75rem;
    font-size: 0.95rem;
    align-items: center;
}

.meta-label {
    color: #6b7280;
    font-weight: 600;
}

.meta-value {
    color: #1f2937;
}

.button-bar {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.btn-admin {
    background: #1f2937;
    color: #fff;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}

.btn-admin.secondary {
    background: #e5e7eb;
    color: #111827;
}

.btn-admin.danger {
    background: #dc2626;
    color: #fff;
}

.checkbox-inline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.checkbox-inline--spaced {
    margin-top: 1.9rem;
    gap: 0.6rem;
}

.brand-note {
    margin: 0.35rem 0 0;
    font-size: 0.9rem;
    color: #6b7280;
}

.login-wrapper {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: linear-gradient(140deg, #fef3c7, #fde68a);
}

.login-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgb(0 0 0 / 0.12);
    width: min(420px, 92vw);
}

.login-card h2 {
    margin-top: 0;
}

.alert-error {
    background: rgba(220, 38, 38, 0.12);
    color: #991b1b;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    background: rgba(99, 102, 241, 0.12);
    color: #3730a3;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-muted {
    background: rgba(107, 114, 128, 0.16);
    color: #374151;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.summary-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.25rem;
    box-shadow: 0 12px 22px rgb(0 0 0 / 0.08);
}

.summary-card strong {
    display: block;
    font-size: 2rem;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.checkbox-grid {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.checkbox-grid label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
}

.fieldset-split {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.fieldset-heading {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.fieldset-hint {
    margin: 0 0 1rem;
    font-size: 0.85rem;
    color: rgba(44, 44, 44, 0.65);
}

.checkbox-inline-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-inline-group input[type="checkbox"] {
    margin: 0;
}

.checkbox-hint {
    font-size: 0.75rem;
    color: rgba(44, 44, 44, 0.55);
}

input[type="color"] {
    height: 42px;
    padding: 0;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reset-block {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(31, 41, 55, 0.12);
}

.password-fieldset {
    margin-top: 1.5rem;
    border: 1px solid rgba(31, 41, 55, 0.12);
    padding: 1rem;
    border-radius: 12px;
}

.password-fieldset legend {
    font-weight: 600;
    padding: 0 0.5rem;
}

.password-fieldset .hint {
    margin-top: 0;
    font-size: 0.85rem;
    color: #6b7280;
}

.checkbox-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}
