:root {
    --app-bg: #f4f6f8;
    --surface: #ffffff;
    --surface-strong: #ffffff;
    --surface-soft: #eceaf5;
    --text-main: #1b2430;
    --text-soft: #5c6673;
    --line-soft: #d7dee6;
    --brand: #403070;
    --brand-strong: #33265b;
    --brand-soft: #eceaf5;
    --secondary-tech: #2c4a68;
    --accent: #ff7a1a;
    --accent-strong: #e66b12;
    --success: #178a55;
    --warning: #c57a00;
    --danger: #c73939;
    --nav-bg: rgba(27, 36, 48, 0.96);
    --shadow-soft: 0 20px 50px rgba(39, 52, 67, 0.1);
}

html,
body {
    background:
        radial-gradient(circle at top left, rgba(64, 48, 112, 0.08) 0, rgba(64, 48, 112, 0) 34%),
        linear-gradient(180deg, #f7f8fb 0%, var(--app-bg) 100%);
    color: var(--text-main);
}

body {
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

main > .container {
    padding: 110px 15px 40px;
}

.landing-shell {
    max-width: 1180px;
}

.app-navbar {
    background: var(--nav-bg);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.2);
}

.app-navbar .container {
    gap: 1rem;
}

.app-navbar .navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.app-navbar__logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    padding: 0.2rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.96);
}

.app-navbar__brand-text {
    font-size: 1rem;
}

.app-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.app-nav__icon {
    width: 14px;
    height: 14px;
    display: inline-block;
    background-color: currentColor;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;
    mask-size: contain;
    -webkit-mask-size: contain;
    opacity: 0.92;
}

.app-nav__icon--home {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3.2 4 9.6V20a1 1 0 0 0 1 1h4.8a1 1 0 0 0 1-1v-4.2h2.4V20a1 1 0 0 0 1 1H19a1 1 0 0 0 1-1V9.6l-8-6.4Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3.2 4 9.6V20a1 1 0 0 0 1 1h4.8a1 1 0 0 0 1-1v-4.2h2.4V20a1 1 0 0 0 1 1H19a1 1 0 0 0 1-1V9.6l-8-6.4Z'/%3E%3C/svg%3E");
}

.app-nav__icon--contact {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 5.5A2.5 2.5 0 0 1 6.5 3h11A2.5 2.5 0 0 1 20 5.5v7A2.5 2.5 0 0 1 17.5 15H10l-4.5 4v-4H6.5A2.5 2.5 0 0 1 4 12.5v-7Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 5.5A2.5 2.5 0 0 1 6.5 3h11A2.5 2.5 0 0 1 20 5.5v7A2.5 2.5 0 0 1 17.5 15H10l-4.5 4v-4H6.5A2.5 2.5 0 0 1 4 12.5v-7Z'/%3E%3C/svg%3E");
}

.app-nav__icon--login {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10 4a1 1 0 0 1 1 1v3a1 1 0 1 1-2 0V6H6v12h3v-2a1 1 0 1 1 2 0v3a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h5Zm4.293 4.293a1 1 0 0 1 1.414 0l3.999 4a1 1 0 0 1 0 1.414l-4 4a1 1 0 0 1-1.413-1.414L16.586 14H9a1 1 0 1 1 0-2h7.586l-2.293-2.293a1 1 0 0 1 0-1.414Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10 4a1 1 0 0 1 1 1v3a1 1 0 1 1-2 0V6H6v12h3v-2a1 1 0 1 1 2 0v3a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h5Zm4.293 4.293a1 1 0 0 1 1.414 0l3.999 4a1 1 0 0 1 0 1.414l-4 4a1 1 0 0 1-1.413-1.414L16.586 14H9a1 1 0 1 1 0-2h7.586l-2.293-2.293a1 1 0 0 1 0-1.414Z'/%3E%3C/svg%3E");
}

.btn-sim-icon--send::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3.4 20.4 21 12 3.4 3.6 3 10l12 2-12 2z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3.4 20.4 21 12 3.4 3.6 3 10l12 2-12 2z'/%3E%3C/svg%3E");
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.form-group {
    margin-bottom: 1rem;
}

.landing-hero {
    display: grid;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
    padding: 0.75rem 0 1rem;
}

.landing-hero--commercial {
    padding-bottom: 1.5rem;
}

.landing-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.landing-title {
    max-width: 720px;
    margin: 1rem 0;
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.landing-lead {
    max-width: 680px;
    margin-bottom: 1.5rem;
    font-size: 1.08rem;
    line-height: 1.8;
    color: var(--text-soft);
}

.landing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.landing-metrics {
    display: grid;
    gap: 1rem;
    margin-top: 1.75rem;
}

.landing-metrics__item {
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--line-soft);
    box-shadow: var(--shadow-soft);
}

.landing-metrics__item strong {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--brand);
    font-size: 1.25rem;
    font-weight: 800;
}

.landing-metrics__item span {
    color: var(--text-soft);
    line-height: 1.6;
}

.btn-landing-primary,
.btn-landing-secondary {
    padding: 0.9rem 1.4rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
}

.btn-landing-primary {
    background: var(--brand);
    border: 1px solid var(--brand);
    color: #fff;
}

.btn-landing-primary:hover,
.btn-landing-primary:focus {
    background: var(--brand-strong);
    border-color: var(--brand-strong);
    color: #fff;
}

.btn-landing-secondary {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--line-soft);
    color: var(--text-main);
}

.btn-landing-secondary:hover,
.btn-landing-secondary:focus {
    color: var(--text-main);
    background: #fff;
}

.landing-panel__card,
.landing-card,
.landing-checklist {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--line-soft);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(6px);
}

.landing-panel__card {
    padding: 1.5rem;
    border-radius: 28px;
    position: relative;
    overflow: hidden;
}

.landing-panel__card--dashboard {
    display: grid;
    gap: 1rem;
}

.landing-panel__card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--brand) 0%, var(--accent) 100%);
}

.landing-panel__logo-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 160px;
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 22px;
    background:
        linear-gradient(145deg, rgba(64, 48, 112, 0.08), rgba(44, 74, 104, 0.06)),
        #f8f9fc;
    border: 1px solid rgba(64, 48, 112, 0.08);
}

.landing-panel__logo {
    width: min(100%, 240px);
    height: auto;
    object-fit: contain;
}

.landing-panel__eyebrow {
    margin-bottom: 0.85rem;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.landing-panel__list {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--text-soft);
    line-height: 1.8;
}

.landing-status-grid {
    display: grid;
    gap: 0.85rem;
}

.landing-status-card {
    padding: 1rem;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--line-soft);
}

.landing-status-card strong {
    display: block;
    margin: 0.7rem 0 0.35rem;
    color: var(--text-main);
    font-size: 1rem;
}

.landing-status-card p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.6;
}

.landing-section {
    margin: 2rem 0;
}

.landing-section--soft {
    margin-bottom: 3rem;
}

.landing-section__header {
    max-width: 760px;
    margin-bottom: 1.5rem;
}

.landing-section__eyebrow {
    display: inline-flex;
    margin-bottom: 0.75rem;
    color: var(--secondary-tech);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.landing-card {
    height: 100%;
    padding: 1.6rem;
    border-radius: 24px;
}

.landing-card h3,
.landing-feature h3 {
    margin-bottom: 0.8rem;
    color: var(--text-main);
    font-size: 1.15rem;
    font-weight: 700;
}

.landing-card h2,
.landing-section__title {
    margin-bottom: 0.85rem;
    font-size: 1.35rem;
    font-weight: 700;
}

.landing-card p,
.landing-section__text {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.8;
}

.landing-checklist {
    display: grid;
    gap: 0.8rem;
    padding: 1.25rem;
    border-radius: 24px;
}

.landing-checklist__item {
    padding: 0.95rem 1rem;
    border-radius: 16px;
    background: var(--surface);
    color: var(--text-main);
    border: 1px solid rgba(64, 48, 112, 0.08);
    font-weight: 600;
}

.landing-flow {
    display: grid;
    gap: 1rem;
    padding: 1.5rem;
}

.landing-flow__step {
    position: relative;
    padding: 1rem 1rem 1rem 1.15rem;
    border-left: 4px solid var(--brand);
    border-radius: 0 16px 16px 0;
    background: linear-gradient(90deg, rgba(64, 48, 112, 0.06), rgba(255, 255, 255, 0.88));
}

.landing-flow__step strong {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--brand);
}

.landing-flow__step span {
    color: var(--text-soft);
    line-height: 1.6;
}

.landing-feature,
.landing-benefit,
.landing-compare,
.landing-cta__content {
    padding: 1.5rem;
}

.landing-feature p,
.landing-benefit p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.7;
}

.landing-benefit strong {
    display: block;
    margin-bottom: 0.7rem;
    color: var(--text-main);
    font-size: 1.05rem;
}

.landing-compare__list {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--text-soft);
    line-height: 1.9;
}

.landing-cta {
    margin-top: 2.5rem;
    margin-bottom: 3rem;
}

.landing-cta__content {
    background:
        radial-gradient(circle at top right, rgba(255, 122, 26, 0.12) 0, rgba(255, 122, 26, 0) 30%),
        linear-gradient(135deg, rgba(64, 48, 112, 0.06) 0, rgba(255, 255, 255, 0.95) 70%);
}

.error-shell {
    display: grid;
    place-items: center;
    min-height: calc(100vh - 250px);
    padding: 0.5rem 0 2rem;
}

.error-card {
    width: min(100%, 760px);
    padding: 2rem;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--line-soft);
    box-shadow: var(--shadow-soft);
}

.error-card__code {
    margin: 1rem 0 0.45rem;
    color: var(--accent);
    font-size: clamp(3rem, 10vw, 5.2rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.error-card__title {
    margin: 0 0 0.9rem;
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.05;
}

.error-card__message {
    margin-bottom: 1rem;
    color: var(--text-main);
    font-size: 1.05rem;
    line-height: 1.8;
}

.error-card__notes {
    display: grid;
    gap: 0.65rem;
    margin-bottom: 1.4rem;
}

.error-card__notes p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.75;
}

.error-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.auth-shell {
    padding: 1rem 0 2rem;
}

.auth-panel {
    height: 100%;
    padding: 1.75rem;
    border-radius: 28px;
    border: 1px solid var(--line-soft);
    box-shadow: var(--shadow-soft);
}

.auth-panel--intro {
    background:
        radial-gradient(circle at top left, rgba(64, 48, 112, 0.12) 0, rgba(64, 48, 112, 0) 38%),
        linear-gradient(160deg, rgba(255, 255, 255, 0.96) 0, rgba(236, 234, 245, 0.78) 100%);
}

.auth-panel--form {
    background: rgba(255, 255, 255, 0.94);
}

.auth-title {
    margin: 0.2rem 0 1rem;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.05;
    font-weight: 800;
}

.auth-lead {
    margin: 0 0 1.4rem;
    color: var(--text-soft);
    line-height: 1.8;
    font-size: 1.04rem;
}

.auth-points {
    display: grid;
    gap: 0.85rem;
}

.auth-visual {
    margin-bottom: 1.25rem;
    padding: 1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(64, 48, 112, 0.08);
}

.auth-visual__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

.auth-points__item {
    padding: 0.95rem 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(64, 48, 112, 0.1);
    color: var(--text-main);
    font-weight: 600;
}

.auth-card-header {
    margin-bottom: 1.2rem;
}

.auth-card-header h2 {
    margin-bottom: 0.45rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.auth-card-header p,
.auth-note {
    color: var(--text-soft);
    line-height: 1.7;
}

.auth-form .mb-3 {
    margin-bottom: 1rem !important;
}

.auth-label {
    margin-bottom: 0.45rem;
    font-weight: 700;
    color: var(--text-main);
}

.auth-input {
    min-height: 52px;
    border-radius: 14px;
    border: 1px solid var(--line-soft);
    padding: 0.85rem 1rem;
    box-shadow: none;
}

.auth-input:focus {
    border-color: rgba(64, 48, 112, 0.35);
    box-shadow: 0 0 0 0.2rem rgba(64, 48, 112, 0.12);
}

.auth-check {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    margin-top: 0.25rem;
}

.auth-check .form-check-input {
    margin-top: 0.25rem;
}

.auth-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.25rem;
}

.auth-submit,
.auth-passkey {
    min-height: 44px;
}

.auth-passkey {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.68rem 1rem;
    border-radius: 10px;
    border: 1px dashed rgba(64, 48, 112, 0.3);
    background: rgba(236, 234, 245, 0.55);
    color: var(--brand);
    font-size: 0.95rem;
    font-weight: 700;
}

.auth-passkey__icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    flex: 0 0 auto;
}

.auth-passkey:disabled {
    opacity: 1;
    cursor: not-allowed;
}

.auth-note {
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line-soft);
}

.auth-note--compact {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
}

.auth-note--error {
    color: var(--danger);
}

.auth-note--success {
    color: var(--success);
}

.btn-sim-primary,
.btn-sim-accent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0.68rem 1rem;
    border-radius: 10px;
    border: 1px solid transparent;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-sim-icon::before {
    content: "";
    width: 15px;
    height: 15px;
    display: inline-block;
    background-color: currentColor;
    flex: 0 0 auto;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;
    mask-size: contain;
    -webkit-mask-size: contain;
}

.btn-sim-icon--demo::before,
.btn-sim-icon--chat::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 5.5A2.5 2.5 0 0 1 6.5 3h11A2.5 2.5 0 0 1 20 5.5v7A2.5 2.5 0 0 1 17.5 15H10l-4.5 4v-4H6.5A2.5 2.5 0 0 1 4 12.5v-7Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 5.5A2.5 2.5 0 0 1 6.5 3h11A2.5 2.5 0 0 1 20 5.5v7A2.5 2.5 0 0 1 17.5 15H10l-4.5 4v-4H6.5A2.5 2.5 0 0 1 4 12.5v-7Z'/%3E%3C/svg%3E");
}

.btn-sim-icon--home::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3.2 4 9.6V20a1 1 0 0 0 1 1h4.8a1 1 0 0 0 1-1v-4.2h2.4V20a1 1 0 0 0 1 1H19a1 1 0 0 0 1-1V9.6l-8-6.4Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3.2 4 9.6V20a1 1 0 0 0 1 1h4.8a1 1 0 0 0 1-1v-4.2h2.4V20a1 1 0 0 0 1 1H19a1 1 0 0 0 1-1V9.6l-8-6.4Z'/%3E%3C/svg%3E");
}

.btn-sim-icon--more::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 4a1 1 0 0 1 1 1v6.586l2.293-2.293a1 1 0 1 1 1.414 1.414l-4 4a1 1 0 0 1-1.414 0l-4-4a1 1 0 0 1 1.414-1.414L11 11.586V5a1 1 0 0 1 1-1Zm-7 14a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 4a1 1 0 0 1 1 1v6.586l2.293-2.293a1 1 0 1 1 1.414 1.414l-4 4a1 1 0 0 1-1.414 0l-4-4a1 1 0 0 1 1.414-1.414L11 11.586V5a1 1 0 0 1 1-1Zm-7 14a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Z'/%3E%3C/svg%3E");
}

.btn-sim-icon--login::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10 4a1 1 0 0 1 1 1v3a1 1 0 1 1-2 0V6H6v12h3v-2a1 1 0 1 1 2 0v3a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h5Zm4.293 4.293a1 1 0 0 1 1.414 0l3.999 4a1 1 0 0 1 0 1.414l-4 4a1 1 0 0 1-1.413-1.414L16.586 14H9a1 1 0 1 1 0-2h7.586l-2.293-2.293a1 1 0 0 1 0-1.414Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10 4a1 1 0 0 1 1 1v3a1 1 0 1 1-2 0V6H6v12h3v-2a1 1 0 1 1 2 0v3a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h5Zm4.293 4.293a1 1 0 0 1 1.414 0l3.999 4a1 1 0 0 1 0 1.414l-4 4a1 1 0 0 1-1.413-1.414L16.586 14H9a1 1 0 1 1 0-2h7.586l-2.293-2.293a1 1 0 0 1 0-1.414Z'/%3E%3C/svg%3E");
}

.btn-sim-primary {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.btn-sim-primary:hover,
.btn-sim-primary:focus {
    background: var(--brand-strong);
    border-color: var(--brand-strong);
    color: #fff;
    transform: translateY(-1px);
}

.btn-sim-accent {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.btn-sim-accent:hover,
.btn-sim-accent:focus {
    background: var(--accent-strong);
    border-color: var(--accent-strong);
    color: #fff;
    transform: translateY(-1px);
}

.sim-card {
    background: var(--surface);
    border: 1px solid var(--line-soft);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.sim-badge-active,
.sim-badge-pending,
.sim-badge-neutral,
.sim-badge-critical {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
}

.sim-badge-active {
    background: rgba(23, 138, 85, 0.12);
    color: var(--success);
}

.sim-badge-pending {
    background: rgba(197, 122, 0, 0.12);
    color: var(--warning);
}

.sim-badge-neutral {
    background: rgba(44, 74, 104, 0.12);
    color: var(--secondary-tech);
}

.sim-badge-critical {
    background: rgba(199, 57, 57, 0.12);
    color: var(--danger);
}

.sim-alert {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem 1.15rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(27, 36, 48, 0.1);
}

.sim-alert::before {
    content: "";
    width: 18px;
    height: 18px;
    margin-top: 0.1rem;
    flex: 0 0 auto;
    background-color: currentColor;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;
    mask-size: contain;
    -webkit-mask-size: contain;
}

.sim-alert .btn-close {
    margin-left: auto;
    margin-top: 0.1rem;
    opacity: 0.62;
}

.sim-alert .btn-close:hover,
.sim-alert .btn-close:focus {
    opacity: 1;
    box-shadow: none;
}

.sim-alert-success {
    color: var(--success);
    background: rgba(23, 138, 85, 0.1);
    border-color: rgba(23, 138, 85, 0.18);
}

.sim-alert-success::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9.55 16.6 5.8 12.85a1 1 0 0 1 1.4-1.42l2.35 2.36 7.25-7.26a1 1 0 1 1 1.41 1.42l-7.96 7.96a1 1 0 0 1-1.4 0Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9.55 16.6 5.8 12.85a1 1 0 0 1 1.4-1.42l2.35 2.36 7.25-7.26a1 1 0 1 1 1.41 1.42l-7.96 7.96a1 1 0 0 1-1.4 0Z'/%3E%3C/svg%3E");
}

.sim-alert-danger,
.sim-alert-error {
    color: var(--danger);
    background: rgba(199, 57, 57, 0.1);
    border-color: rgba(199, 57, 57, 0.18);
}

.sim-alert-danger::before,
.sim-alert-error::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3.8 2.9 19.2A1.25 1.25 0 0 0 3.98 21h16.04a1.25 1.25 0 0 0 1.08-1.8L12 3.8Zm0 5.2a1 1 0 0 1 1 1v4.2a1 1 0 1 1-2 0V10a1 1 0 0 1 1-1Zm0 8.2a1.15 1.15 0 1 1 0-2.3 1.15 1.15 0 0 1 0 2.3Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3.8 2.9 19.2A1.25 1.25 0 0 0 3.98 21h16.04a1.25 1.25 0 0 0 1.08-1.8L12 3.8Zm0 5.2a1 1 0 0 1 1 1v4.2a1 1 0 1 1-2 0V10a1 1 0 0 1 1-1Zm0 8.2a1.15 1.15 0 1 1 0-2.3 1.15 1.15 0 0 1 0 2.3Z'/%3E%3C/svg%3E");
}

.sim-alert-warning {
    color: var(--warning);
    background: rgba(197, 122, 0, 0.1);
    border-color: rgba(197, 122, 0, 0.18);
}

.sim-alert-warning::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3.8 2.9 19.2A1.25 1.25 0 0 0 3.98 21h16.04a1.25 1.25 0 0 0 1.08-1.8L12 3.8Zm0 5.2a1 1 0 0 1 1 1v3.7a1 1 0 1 1-2 0V10a1 1 0 0 1 1-1Zm0 7.3a1.15 1.15 0 1 1 0-2.3 1.15 1.15 0 0 1 0 2.3Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3.8 2.9 19.2A1.25 1.25 0 0 0 3.98 21h16.04a1.25 1.25 0 0 0 1.08-1.8L12 3.8Zm0 5.2a1 1 0 0 1 1 1v3.7a1 1 0 1 1-2 0V10a1 1 0 0 1 1-1Zm0 7.3a1.15 1.15 0 1 1 0-2.3 1.15 1.15 0 0 1 0 2.3Z'/%3E%3C/svg%3E");
}

.sim-alert-info {
    color: var(--secondary-tech);
    background: rgba(44, 74, 104, 0.1);
    border-color: rgba(44, 74, 104, 0.18);
}

.sim-alert-info::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3.5A8.5 8.5 0 1 0 12 20.5 8.5 8.5 0 0 0 12 3.5Zm0 3a1.15 1.15 0 1 1 0 2.3 1.15 1.15 0 0 1 0-2.3Zm1 10.25h-2v-6h2v6Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3.5A8.5 8.5 0 1 0 12 20.5 8.5 8.5 0 0 0 12 3.5Zm0 3a1.15 1.15 0 1 1 0 2.3 1.15 1.15 0 0 1 0-2.3Zm1 10.25h-2v-6h2v6Z'/%3E%3C/svg%3E");
}

.sim-toast-stack {
    position: fixed;
    top: 5.25rem;
    right: 1.25rem;
    z-index: 1150;
    display: grid;
    gap: 0.8rem;
    width: min(360px, calc(100vw - 2rem));
}

.sim-toast {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
    gap: 0.85rem;
    padding: 1rem 1rem 0.95rem;
    border-radius: 18px;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.18);
    backdrop-filter: blur(8px);
    animation: sim-toast-enter 0.22s ease;
}

.sim-toast--leaving {
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.sim-toast__icon {
    width: 18px;
    height: 18px;
    margin-top: 0.15rem;
    background-color: currentColor;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;
    mask-size: contain;
    -webkit-mask-size: contain;
}

.sim-toast__content {
    display: grid;
    gap: 0.15rem;
}

.sim-toast__content strong {
    font-size: 0.95rem;
    line-height: 1.2;
}

.sim-toast__content span {
    color: var(--text-soft);
    line-height: 1.55;
    font-size: 0.92rem;
}

.sim-toast__close {
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: currentColor;
    opacity: 0.55;
    transition: opacity 0.2s ease, background-color 0.2s ease;
}

.sim-toast__close::before {
    content: "";
    display: block;
    width: 14px;
    height: 14px;
    margin: 0 auto;
    background-color: currentColor;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m6.7 5.3 5.3 5.3 5.3-5.3a1 1 0 1 1 1.4 1.4L13.4 12l5.3 5.3a1 1 0 0 1-1.4 1.4L12 13.4l-5.3 5.3a1 1 0 0 1-1.4-1.4l5.3-5.3-5.3-5.3a1 1 0 0 1 1.4-1.4Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m6.7 5.3 5.3 5.3 5.3-5.3a1 1 0 1 1 1.4 1.4L13.4 12l5.3 5.3a1 1 0 0 1-1.4 1.4L12 13.4l-5.3 5.3a1 1 0 0 1-1.4-1.4l5.3-5.3-5.3-5.3a1 1 0 0 1 1.4-1.4Z'/%3E%3C/svg%3E");
}

.sim-toast__close:hover,
.sim-toast__close:focus {
    opacity: 1;
    background: rgba(27, 36, 48, 0.06);
}

.sim-toast--success {
    color: var(--success);
    border-color: rgba(23, 138, 85, 0.16);
}

.sim-toast--success .sim-toast__icon {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9.55 16.6 5.8 12.85a1 1 0 0 1 1.4-1.42l2.35 2.36 7.25-7.26a1 1 0 1 1 1.41 1.42l-7.96 7.96a1 1 0 0 1-1.4 0Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9.55 16.6 5.8 12.85a1 1 0 0 1 1.4-1.42l2.35 2.36 7.25-7.26a1 1 0 1 1 1.41 1.42l-7.96 7.96a1 1 0 0 1-1.4 0Z'/%3E%3C/svg%3E");
}

.sim-toast--error {
    color: var(--danger);
    border-color: rgba(199, 57, 57, 0.16);
}

.sim-toast--error .sim-toast__icon {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3.8 2.9 19.2A1.25 1.25 0 0 0 3.98 21h16.04a1.25 1.25 0 0 0 1.08-1.8L12 3.8Zm0 5.2a1 1 0 0 1 1 1v4.2a1 1 0 1 1-2 0V10a1 1 0 0 1 1-1Zm0 8.2a1.15 1.15 0 1 1 0-2.3 1.15 1.15 0 0 1 0 2.3Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3.8 2.9 19.2A1.25 1.25 0 0 0 3.98 21h16.04a1.25 1.25 0 0 0 1.08-1.8L12 3.8Zm0 5.2a1 1 0 0 1 1 1v4.2a1 1 0 1 1-2 0V10a1 1 0 0 1 1-1Zm0 8.2a1.15 1.15 0 1 1 0-2.3 1.15 1.15 0 0 1 0 2.3Z'/%3E%3C/svg%3E");
}

.sim-toast--info {
    color: var(--secondary-tech);
    border-color: rgba(44, 74, 104, 0.16);
}

.sim-toast--info .sim-toast__icon {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3.5A8.5 8.5 0 1 0 12 20.5 8.5 8.5 0 0 0 12 3.5Zm0 3a1.15 1.15 0 1 1 0 2.3 1.15 1.15 0 0 1 0-2.3Zm1 10.25h-2v-6h2v6Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3.5A8.5 8.5 0 1 0 12 20.5 8.5 8.5 0 0 0 12 3.5Zm0 3a1.15 1.15 0 1 1 0 2.3 1.15 1.15 0 0 1 0-2.3Zm1 10.25h-2v-6h2v6Z'/%3E%3C/svg%3E");
}

.sim-toast--notification {
    color: var(--primary);
    border-color: rgba(64, 48, 112, 0.18);
    background: #fff;
}

.sim-toast--notification .sim-toast__icon {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M5 9a7 7 0 1 1 14 0v4.586l1.707 1.707A1 1 0 0 1 20 17h-4.05a2 2 0 1 1-3.9 0H4a1 1 0 0 1-.707-1.707L5 13.586V9Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M5 9a7 7 0 1 1 14 0v4.586l1.707 1.707A1 1 0 0 1 20 17h-4.05a2 2 0 1 1-3.9 0H4a1 1 0 0 1-.707-1.707L5 13.586V9Z'/%3E%3C/svg%3E");
}

.sim-toast__body-link {
    display: contents;
    color: inherit;
    text-decoration: none;
}

.sim-toast__body-link .sim-toast__content {
    cursor: pointer;
}

.sim-toast__body-link:hover .sim-toast__content strong,
.sim-toast__body-link:focus .sim-toast__content strong {
    text-decoration: underline;
}

.sim-main-footer {
    background: rgba(255, 255, 255, 0.88);
    border-top: 1px solid var(--line-soft);
    color: var(--text-soft);
}

@keyframes sim-toast-enter {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sim-main-footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
}

.sim-main-footer__left,
.sim-main-footer__right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.sim-main-footer__left strong {
    color: var(--text-main);
}

.sim-main-footer__dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
}

.sim-main-footer__right {
    justify-content: flex-end;
}

.sim-main-footer__logo {
    height: 26px;
    width: auto;
    display: block;
}

.admin-body {
    margin: 0;
    background: #eef2f7;
    color: var(--text-main);
}

.admin-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    position: relative;
    transition: grid-template-columns 0.24s ease;
}

.admin-shell__overlay {
    position: fixed;
    inset: 0;
    z-index: 998;
    border: 0;
    background: rgba(12, 18, 28, 0.42);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.admin-shell--sidebar-collapsed {
    grid-template-columns: 92px minmax(0, 1fr);
}

.admin-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem 1.2rem;
    background: linear-gradient(180deg, #202a37 0%, #18202b 100%);
    color: #fff;
    transition: padding 0.24s ease, transform 0.24s ease;
    z-index: 999;
}

.admin-sidebar__brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.6rem 0.4rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-sidebar__brand strong,
.admin-sidebar__brand span {
    display: block;
}

.admin-sidebar__brand span {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.88rem;
}

.admin-shell--sidebar-collapsed .admin-sidebar__brand {
    justify-content: center;
    padding-inline: 0;
}

.admin-shell--sidebar-collapsed .admin-sidebar__brand > div {
    display: none;
}

.admin-sidebar__logo {
    width: 46px;
    height: 46px;
    object-fit: contain;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.96);
    padding: 0.25rem;
}

.admin-sidebar__nav {
    display: grid;
    gap: 0.45rem;
}

.admin-shell--sidebar-collapsed .admin-sidebar__nav {
    justify-items: center;
}

.admin-nav__item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.82rem 0.95rem;
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.admin-nav__item::before {
    content: "";
    width: 16px;
    height: 16px;
    display: inline-block;
    flex: 0 0 auto;
    background-color: currentColor;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;
    mask-size: contain;
    -webkit-mask-size: contain;
}

.admin-nav__item[href$="/site/home"]::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3.2 4 9.6V20a1 1 0 0 0 1 1h4.8a1 1 0 0 0 1-1v-4.2h2.4V20a1 1 0 0 0 1 1H19a1 1 0 0 0 1-1V9.6l-8-6.4Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3.2 4 9.6V20a1 1 0 0 0 1 1h4.8a1 1 0 0 0 1-1v-4.2h2.4V20a1 1 0 0 0 1 1H19a1 1 0 0 0 1-1V9.6l-8-6.4Z'/%3E%3C/svg%3E");
}

.admin-nav__item:nth-child(2)::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm0 2c-4.418 0-8 2.239-8 5a1 1 0 1 0 2 0c0-1.296 2.537-3 6-3s6 1.704 6 3a1 1 0 1 0 2 0c0-2.761-3.582-5-8-5Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm0 2c-4.418 0-8 2.239-8 5a1 1 0 1 0 2 0c0-1.296 2.537-3 6-3s6 1.704 6 3a1 1 0 1 0 2 0c0-2.761-3.582-5-8-5Z'/%3E%3C/svg%3E");
}

.admin-nav__item:nth-child(3)::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 4a7 7 0 0 0-7 7v4.2a2.8 2.8 0 0 0 1.445 2.453L11 20.1a2 2 0 0 0 2 0l4.555-2.447A2.8 2.8 0 0 0 19 15.2V11a7 7 0 0 0-7-7Zm0 2a5 5 0 0 1 5 5v4.2a.8.8 0 0 1-.414.701L12 18.353 7.414 15.9A.8.8 0 0 1 7 15.2V11a5 5 0 0 1 5-5Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 4a7 7 0 0 0-7 7v4.2a2.8 2.8 0 0 0 1.445 2.453L11 20.1a2 2 0 0 0 2 0l4.555-2.447A2.8 2.8 0 0 0 19 15.2V11a7 7 0 0 0-7-7Zm0 2a5 5 0 0 1 5 5v4.2a.8.8 0 0 1-.414.701L12 18.353 7.414 15.9A.8.8 0 0 1 7 15.2V11a5 5 0 0 1 5-5Z'/%3E%3C/svg%3E");
}

.admin-nav__item:nth-child(4)::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 4a2 2 0 0 0-2 2v3h14V6a2 2 0 0 0-2-2H7Zm12 7H5v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-7Zm-9 2h4a1 1 0 1 1 0 2h-4a1 1 0 1 1 0-2Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 4a2 2 0 0 0-2 2v3h14V6a2 2 0 0 0-2-2H7Zm12 7H5v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-7Zm-9 2h4a1 1 0 1 1 0 2h-4a1 1 0 1 1 0-2Z'/%3E%3C/svg%3E");
}

.admin-nav__item:nth-child(5)::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6 5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h1.5v-2.5A2.5 2.5 0 0 1 10 14h4a2.5 2.5 0 0 1 2.5 2.5V19H18a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2H6Zm3 4a1 1 0 0 1 1-1h4a1 1 0 1 1 0 2h-4a1 1 0 0 1-1-1Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6 5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h1.5v-2.5A2.5 2.5 0 0 1 10 14h4a2.5 2.5 0 0 1 2.5 2.5V19H18a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2H6Zm3 4a1 1 0 0 1 1-1h4a1 1 0 1 1 0 2h-4a1 1 0 0 1-1-1Z'/%3E%3C/svg%3E");
}

.admin-nav__item:nth-child(6)::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 4a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3H7Zm1.5 4h7a1 1 0 1 1 0 2h-7a1 1 0 1 1 0-2Zm0 4h4.5a1 1 0 1 1 0 2H8.5a1 1 0 1 1 0-2Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 4a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3H7Zm1.5 4h7a1 1 0 1 1 0 2h-7a1 1 0 1 1 0-2Zm0 4h4.5a1 1 0 1 1 0 2H8.5a1 1 0 1 1 0-2Z'/%3E%3C/svg%3E");
}

.admin-nav__item:nth-child(7)::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M13 3a7 7 0 1 0 5.293 11.586l2.56 2.56a1 1 0 0 0 1.414-1.414l-2.56-2.56A7 7 0 0 0 13 3Zm0 2a5 5 0 1 1 0 10 5 5 0 0 1 0-10Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M13 3a7 7 0 1 0 5.293 11.586l2.56 2.56a1 1 0 0 0 1.414-1.414l-2.56-2.56A7 7 0 0 0 13 3Zm0 2a5 5 0 1 1 0 10 5 5 0 0 1 0-10Z'/%3E%3C/svg%3E");
}

.admin-nav__item:nth-child(8)::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3 4 7v4c0 5.2 3.4 9.98 8 11 4.6-1.02 8-5.8 8-11V7l-8-4Zm-3.5 8.5h7a1 1 0 1 1 0 2h-7a1 1 0 1 1 0-2Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3 4 7v4c0 5.2 3.4 9.98 8 11 4.6-1.02 8-5.8 8-11V7l-8-4Zm-3.5 8.5h7a1 1 0 1 1 0 2h-7a1 1 0 1 1 0-2Z'/%3E%3C/svg%3E");
}

.admin-nav__item:nth-child(9)::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M5 19a1 1 0 0 1-1-1V9a1 1 0 0 1 2 0v8h2v-5a1 1 0 0 1 2 0v5h2v-8a1 1 0 0 1 2 0v8h2v-11a1 1 0 0 1 2 0v12a1 1 0 0 1-1 1H5Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M5 19a1 1 0 0 1-1-1V9a1 1 0 0 1 2 0v8h2v-5a1 1 0 0 1 2 0v5h2v-8a1 1 0 0 1 2 0v8h2v-11a1 1 0 0 1 2 0v12a1 1 0 0 1-1 1H5Z'/%3E%3C/svg%3E");
}

.admin-nav__item:hover,
.admin-nav__item:focus,
.admin-nav__item--active {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transform: translateX(2px);
}

.admin-shell--sidebar-collapsed .admin-nav__item {
    justify-content: center;
    width: 56px;
    padding-inline: 0;
    font-size: 0;
}

.admin-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.35rem 1.5rem;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--line-soft);
}

.admin-topbar__heading {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.admin-menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.28rem;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line-soft);
    border-radius: 14px;
    background: var(--surface);
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.admin-menu-toggle:hover,
.admin-menu-toggle:focus {
    border-color: rgba(64, 48, 112, 0.24);
    background: #fff;
}

.admin-menu-toggle span {
    width: 18px;
    height: 2px;
    margin: 0 auto;
    border-radius: 999px;
    background: var(--brand);
}

.admin-topbar__eyebrow {
    margin: 0 0 0.2rem;
    color: var(--secondary-tech);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-topbar__title {
    margin: 0;
    font-size: 1.65rem;
    font-weight: 800;
}

.admin-topbar__actions {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.admin-topbar__quick-action {
    white-space: nowrap;
}

.admin-user-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.9rem;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--line-soft);
    color: var(--text-main);
    text-decoration: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.admin-notification-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--line-soft);
    background: var(--surface);
    color: var(--brand);
    text-decoration: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.admin-notification-link:hover,
.admin-notification-link:focus {
    border-color: rgba(64, 48, 112, 0.24);
    background: #fff;
    color: var(--brand);
    transform: translateY(-1px);
}

.admin-notification-link__icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    background-color: currentColor;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 4a7 7 0 0 0-7 7v4.2a2.8 2.8 0 0 0 1.445 2.453L11 20.1a2 2 0 0 0 2 0l4.555-2.447A2.8 2.8 0 0 0 19 15.2V11a7 7 0 0 0-7-7Zm0 2a5 5 0 0 1 5 5v4.2a.8.8 0 0 1-.414.701L12 18.353 7.414 15.9A.8.8 0 0 1 7 15.2V11a5 5 0 0 1 5-5Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 4a7 7 0 0 0-7 7v4.2a2.8 2.8 0 0 0 1.445 2.453L11 20.1a2 2 0 0 0 2 0l4.555-2.447A2.8 2.8 0 0 0 19 15.2V11a7 7 0 0 0-7-7Zm0 2a5 5 0 0 1 5 5v4.2a.8.8 0 0 1-.414.701L12 18.353 7.414 15.9A.8.8 0 0 1 7 15.2V11a5 5 0 0 1 5-5Z'/%3E%3C/svg%3E");
}

.admin-notification-link__count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 0.2rem;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}

.admin-notification-link__count--hidden {
    display: none;
}

.admin-install-app {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    white-space: nowrap;
}

.admin-install-app--hidden {
    display: none;
}

.admin-enable-push {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    white-space: nowrap;
}

.admin-enable-push--hidden {
    display: none;
}

.admin-enable-push__icon {
    width: 15px;
    height: 15px;
    display: inline-block;
    flex: 0 0 auto;
    background-color: currentColor;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M5.268 4.246a1 1 0 1 0-1.536 1.28C4.637 6.638 5 7.78 5 9v4.586l-1.707 1.707A1 1 0 0 0 4 17h6.05a2 2 0 1 0 3.9 0H20a1 1 0 0 0 .707-1.707L19 13.586V11a1 1 0 1 0-2 0v3a1 1 0 0 1-.293.707L15 16.414V13a1 1 0 1 0-2 0v3.586l-1.414-1.414A1 1 0 0 1 11 14.414V9c0-1.633-.5-3.153-1.364-4.414a1 1 0 1 0-1.664 1.11A5.017 5.017 0 0 1 9 9v4.586l-.793.793A1 1 0 0 0 9 16h4.17a1 1 0 0 0-.17-.586V9a6.978 6.978 0 0 0-1.732-4.617ZM17 9a1 1 0 0 1 1-1 5 5 0 0 1 0-10 1 1 0 1 1 0 2 3 3 0 0 0 0 6 1 1 0 0 1-1 1Zm1-7a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M5.268 4.246a1 1 0 1 0-1.536 1.28C4.637 6.638 5 7.78 5 9v4.586l-1.707 1.707A1 1 0 0 0 4 17h6.05a2 2 0 1 0 3.9 0H20a1 1 0 0 0 .707-1.707L19 13.586V11a1 1 0 1 0-2 0v3a1 1 0 0 1-.293.707L15 16.414V13a1 1 0 1 0-2 0v3.586l-1.414-1.414A1 1 0 0 1 11 14.414V9c0-1.633-.5-3.153-1.364-4.414a1 1 0 1 0-1.664 1.11A5.017 5.017 0 0 1 9 9v4.586l-.793.793A1 1 0 0 0 9 16h4.17a1 1 0 0 0-.17-.586V9a6.978 6.978 0 0 0-1.732-4.617ZM17 9a1 1 0 0 1 1-1 5 5 0 0 1 0-10 1 1 0 1 1 0 2 3 3 0 0 0 0 6 1 1 0 0 1-1 1Zm1-7a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z'/%3E%3C/svg%3E");
}

.admin-install-app__icon {
    width: 15px;
    height: 15px;
    display: inline-block;
    flex: 0 0 auto;
    background-color: currentColor;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3a1 1 0 0 1 1 1v8.586l2.293-2.293a1 1 0 1 1 1.414 1.414l-4 4a1 1 0 0 1-1.414 0l-4-4a1 1 0 0 1 1.414-1.414L11 12.586V4a1 1 0 0 1 1-1Zm-6 14a1 1 0 0 1 1 1v1h10v-1a1 1 0 1 1 2 0v2a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1v-2a1 1 0 0 1 1-1Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3a1 1 0 0 1 1 1v8.586l2.293-2.293a1 1 0 1 1 1.414 1.414l-4 4a1 1 0 0 1-1.414 0l-4-4a1 1 0 0 1 1.414-1.414L11 12.586V4a1 1 0 0 1 1-1Zm-6 14a1 1 0 0 1 1 1v1h10v-1a1 1 0 1 1 2 0v2a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1v-2a1 1 0 0 1 1-1Z'/%3E%3C/svg%3E");
}

.admin-user-chip:hover,
.admin-user-chip:focus {
    border-color: rgba(64, 48, 112, 0.24);
    background: #fff;
    color: var(--text-main);
    transform: translateY(-1px);
}

.admin-user-chip__icon {
    width: 18px;
    height: 18px;
    display: inline-block;
    flex: 0 0 auto;
    background-color: var(--brand);
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm0 2c-4.418 0-8 2.239-8 5a1 1 0 1 0 2 0c0-1.296 2.537-3 6-3s6 1.704 6 3a1 1 0 1 0 2 0c0-2.761-3.582-5-8-5Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm0 2c-4.418 0-8 2.239-8 5a1 1 0 1 0 2 0c0-1.296 2.537-3 6-3s6 1.704 6 3a1 1 0 1 0 2 0c0-2.761-3.582-5-8-5Z'/%3E%3C/svg%3E");
}

.admin-user-chip__text {
    display: flex;
    align-items: center;
}

.admin-user-chip__text strong {
    font-size: 0.96rem;
}

.admin-content {
    padding: 1.5rem;
    flex: 1;
}

.admin-footer {
    margin: 0 1.5rem 1.5rem;
    border-radius: 18px;
    flex-shrink: 0;
}

.admin-logout {
    width: 42px;
    min-width: 42px;
    padding: 0;
    border-radius: 12px;
}

.admin-logout::before {
    content: "";
    width: 16px;
    height: 16px;
    display: inline-block;
    background-color: currentColor;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10 4a1 1 0 0 1 1 1v3a1 1 0 1 1-2 0V6H6v12h3v-2a1 1 0 1 1 2 0v3a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h5Zm4.293 4.293a1 1 0 0 1 1.414 0l3.999 4a1 1 0 0 1 0 1.414l-4 4a1 1 0 0 1-1.413-1.414L16.586 14H9a1 1 0 1 1 0-2h7.586l-2.293-2.293a1 1 0 0 1 0-1.414Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10 4a1 1 0 0 1 1 1v3a1 1 0 1 1-2 0V6H6v12h3v-2a1 1 0 1 1 2 0v3a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h5Zm4.293 4.293a1 1 0 0 1 1.414 0l3.999 4a1 1 0 0 1 0 1.414l-4 4a1 1 0 0 1-1.413-1.414L16.586 14H9a1 1 0 1 1 0-2h7.586l-2.293-2.293a1 1 0 0 1 0-1.414Z'/%3E%3C/svg%3E");
}

.admin-body--locked {
    overflow: hidden;
}

.admin-lock-screen {
    position: fixed;
    inset: 0;
    z-index: 1250;
    display: grid;
    place-items: center;
    padding: 1rem;
    background:
        radial-gradient(circle at top right, rgba(255, 122, 26, 0.16) 0, rgba(255, 122, 26, 0) 26%),
        rgba(18, 24, 34, 0.56);
    backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.admin-lock-screen--active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.admin-lock-screen__panel {
    width: min(100%, 460px);
    padding: 1.6rem;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.64);
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.26);
}

.admin-lock-screen__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--brand);
    font-weight: 800;
}

.admin-lock-screen__logo {
    width: 40px;
    height: 40px;
    padding: 0.18rem;
    border-radius: 12px;
    background: #fff;
    object-fit: contain;
}

.admin-lock-screen__panel h2 {
    margin: 1rem 0 0.8rem;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.08;
}

.admin-lock-screen__panel p {
    color: var(--text-soft);
    line-height: 1.75;
}

.admin-lock-screen__form {
    display: grid;
    gap: 0.85rem;
    margin-top: 1.25rem;
}

.admin-lock-screen__footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}

.admin-home {
    display: grid;
    gap: 1.5rem;
}

.admin-home__hero {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.6rem;
}

.admin-home__title {
    margin: 0.35rem 0 0.85rem;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.08;
}

.admin-home__text {
    max-width: 760px;
    margin: 0;
    color: var(--text-soft);
    line-height: 1.8;
}

.admin-home__hero-meta {
    display: grid;
    gap: 0.8rem;
    min-width: 220px;
}

.admin-metric-card,
.admin-stat-card,
.admin-block {
    padding: 1.4rem;
}

.admin-metric-card {
    border-radius: 18px;
    background: rgba(64, 48, 112, 0.05);
    border: 1px solid rgba(64, 48, 112, 0.08);
}

.admin-metric-card strong {
    display: block;
    margin-bottom: 0.25rem;
}

.admin-metric-card span,
.admin-stat-card p,
.admin-link-card span,
.admin-status-list {
    color: var(--text-soft);
}

.admin-stat-card h3,
.admin-block h3 {
    margin: 0.85rem 0 0.55rem;
    font-size: 1.12rem;
    font-weight: 700;
}

.admin-stat-card p {
    margin: 0;
    line-height: 1.7;
}

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

.admin-link-card {
    display: block;
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid var(--line-soft);
    background: rgba(255, 255, 255, 0.82);
    text-decoration: none;
}

.admin-link-card--static {
    cursor: default;
}

.admin-link-card strong {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--text-main);
}

.admin-hub-card {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1.4rem;
}

.admin-hub-card__eyebrow {
    margin: 0;
    color: var(--secondary-tech);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-hub-card h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
}

.admin-hub-card p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.75;
}

.admin-hub-card__action {
    margin-top: auto;
    align-self: flex-start;
}

.admin-hub-card__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.admin-hub-card__icon {
    width: 2rem;
    height: 2rem;
    color: var(--primary);
    flex-shrink: 0;
}

.admin-hub-card__icon svg {
    width: 100%;
    height: 100%;
}

.admin-status-list {
    margin: 0;
    padding-left: 1.2rem;
    line-height: 1.9;
}

/* === Cabecera de lista (breadcrumb + acción) === */
.admin-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
}

.admin-list-header .landing-section__eyebrow {
    display: block;
    margin-bottom: 0.2rem;
}

/* === Barra de búsqueda === */
.admin-search-bar {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.admin-search-bar .form-control {
    flex: 1;
    min-width: 200px;
}

/* === Tabla base === */
.sim-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.93rem;
}

.sim-table thead th {
    padding: 0.65rem 0.9rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-soft);
    border-bottom: 2px solid var(--line-soft);
    white-space: nowrap;
}

.sim-table tbody tr {
    border-bottom: 1px solid var(--line-soft);
    transition: background 0.15s;
}

.sim-table tbody tr:last-child {
    border-bottom: none;
}

.sim-table tbody tr:hover {
    background: var(--primary-soft);
}

.sim-table td {
    padding: 0.75rem 0.9rem;
    vertical-align: middle;
    color: var(--text-main);
}

.sim-table__actions {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    flex-wrap: wrap;
}

.btn-sim-sm {
    padding: 0.3rem 0.75rem;
    font-size: 0.82rem;
    border-radius: 6px;
}

.btn-sim-danger {
    background: var(--error);
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: opacity 0.15s;
}

.btn-sim-danger:hover {
    opacity: 0.85;
}

/* === Tabla responsive — vista card en móvil === */
@media (max-width: 640px) {
    .sim-table thead {
        display: none;
    }

    .sim-table tbody tr {
        display: block;
        border: 1px solid var(--line-soft);
        border-radius: 12px;
        padding: 0.75rem 1rem;
        margin-bottom: 0.75rem;
        background: var(--surface);
    }

    .sim-table tbody tr:hover {
        background: var(--primary-soft);
    }

    .sim-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.5rem;
        padding: 0.35rem 0;
        border: none;
        font-size: 0.9rem;
    }

    .sim-table td::before {
        content: attr(data-label);
        font-weight: 600;
        font-size: 0.78rem;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: var(--text-soft);
        white-space: nowrap;
        flex-shrink: 0;
    }

    .sim-table__actions {
        justify-content: flex-end;
    }
}

/* === Paginación === */
.admin-pagination {
    display: flex;
    justify-content: center;
    margin-top: 1.25rem;
}

/* === Estado vacío === */
.admin-empty-state {
    text-align: center;
    padding: 2.5rem 1rem;
    color: var(--text-soft);
}

.admin-section-page {
    gap: 1.25rem;
}

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

.admin-profile__item {
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid var(--line-soft);
    background: rgba(255, 255, 255, 0.82);
}

.admin-profile__item span {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--text-soft);
    font-size: 0.9rem;
}

.admin-profile__item strong {
    color: var(--text-main);
    font-size: 1rem;
}

.admin-profile__section {
    padding: 1.4rem;
}

.admin-profile__section h3 {
    margin-bottom: 1rem;
}

.admin-profile__actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}

.admin-profile__actions--start {
    justify-content: flex-start;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.admin-table-list {
    display: grid;
    gap: 0.9rem;
}

.admin-table-list__item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid var(--line-soft);
    background: rgba(255, 255, 255, 0.82);
}

.admin-table-list__meta {
    display: grid;
    gap: 0.25rem;
}

.admin-table-list__meta strong {
    color: var(--text-main);
}

.admin-table-list__meta span {
    color: var(--text-soft);
    line-height: 1.6;
}

.admin-table-list__actions {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    flex-wrap: wrap;
}

.admin-link-inline {
    color: var(--brand);
    font-weight: 700;
    text-decoration: none;
}

.admin-notification-page {
    display: grid;
    gap: 1.5rem;
}

.admin-notification-card {
    padding: 1.25rem;
}

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

.admin-notification-card__header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.admin-notification-card__body {
    color: var(--text-soft);
    line-height: 1.8;
}

.admin-empty-state {
    padding: 1.2rem;
    border-radius: 16px;
    border: 1px dashed var(--line-soft);
    color: var(--text-soft);
    background: rgba(255, 255, 255, 0.72);
}

.is-loading {
    opacity: 0.8;
    pointer-events: none;
}

@media (min-width: 992px) {
    .landing-hero {
        grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.8fr);
        padding-top: 0.5rem;
    }

    .landing-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    main > .container {
        padding-top: 95px;
    }

    .landing-title {
        font-size: 2.4rem;
    }

    .sim-main-footer__inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .sim-main-footer__left,
    .sim-main-footer__right {
        justify-content: center;
        width: 100%;
    }

    .sim-main-footer__left {
        flex-direction: column;
        gap: 0.45rem;
    }

    .sim-main-footer__dot {
        display: none;
    }

    .landing-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .auth-actions {
        flex-direction: column;
    }
}

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

    .admin-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(82vw, 300px);
        max-width: 300px;
        padding-bottom: 1rem;
        transform: translateX(-100%);
        box-shadow: 0 18px 48px rgba(7, 13, 24, 0.28);
    }

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

    .admin-shell--sidebar-open .admin-shell__overlay {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .admin-topbar,
    .admin-home__hero {
        flex-direction: column;
    }

    .admin-topbar {
        align-items: stretch;
    }

    .admin-topbar__heading,
    .admin-topbar__actions {
        width: 100%;
    }

    .admin-topbar__actions {
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .admin-topbar__quick-action {
        flex: 1 1 100%;
        justify-content: center;
    }

    .admin-install-app,
    .admin-enable-push {
        width: 100%;
        min-height: 44px;
    }

    .admin-lock-screen__footer,
    .admin-lock-screen .auth-actions {
        justify-content: stretch;
    }

    .admin-lock-screen .auth-actions {
        flex-direction: column;
    }

    .admin-content {
        padding: 1rem;
        flex: 1;
    }

    .admin-footer {
        margin: 0 1rem 1rem;
        flex-shrink: 0;
    }

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

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

    .admin-table-list__item,
    .admin-notification-card__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .sim-role-selector {
        grid-template-columns: 1fr;
    }

    .sim-perms-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   Permisos — selector de roles y permisos finos
   ============================================================ */

.admin-assign-user-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 14px;
    background: var(--surface-2, #f4f6f8);
    margin-bottom: 1.75rem;
}

.admin-assign-user-info > div {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.admin-assign-user-info strong {
    font-size: 1rem;
    color: var(--text-main);
}

.admin-assign-user-info span:not([class]) {
    font-size: 0.85rem;
    color: var(--text-soft);
}

.admin-form-section {
    margin-bottom: 1.75rem;
}

.admin-form-section__title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.admin-form-section__hint {
    font-size: 0.85rem;
    color: var(--text-soft);
    margin-bottom: 1rem;
}

/* Selector de rol */
.sim-role-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
    margin-bottom: 0.5rem;
}

.sim-role-card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1rem 1.1rem;
    border: 2px solid var(--line-soft);
    border-radius: 14px;
    cursor: pointer;
    transition: border-color 0.18s, background 0.18s;
    user-select: none;
}

.sim-role-card input[type="radio"] {
    display: none;
}

.sim-role-card:has(input:checked) {
    border-color: var(--primary);
    background: rgba(64, 48, 112, 0.04);
}

.sim-role-card--danger:has(input:checked) {
    border-color: var(--danger, #e53e3e);
    background: rgba(229, 62, 62, 0.04);
}

.sim-role-card__name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

.sim-role-card__desc {
    font-size: 0.78rem;
    color: var(--text-soft);
    line-height: 1.4;
}

/* Grid de permisos finos */
.sim-perms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.6rem;
}

.sim-perm-check {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--line-soft);
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--text-main);
    transition: border-color 0.15s, background 0.15s;
    user-select: none;
}

.sim-perm-check:has(input:checked) {
    border-color: var(--primary);
    background: rgba(64, 48, 112, 0.04);
}

.sim-perm-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    accent-color: var(--primary);
}

/* Etiquetas en la tabla de permisos */
.admin-perms-inherited {
    font-size: 0.8rem;
    color: var(--text-soft);
    font-style: italic;
}

.admin-perms-count {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
}

.admin-perms-none {
    color: var(--text-soft);
}

/* Acciones del formulario */
.admin-form-actions {
    display: flex;
    gap: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--line-soft);
    margin-top: 1.5rem;
}

/* ============================================================
   Correo — layout y componentes
   ============================================================ */

.admin-mail-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1.25rem;
    align-items: start;
}

.admin-mail-recipients {
    position: sticky;
    top: 1rem;
}

.admin-mail-user-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    max-height: 420px;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.admin-mail-user-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--line-soft);
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    user-select: none;
}

.admin-mail-user-item:has(input:checked) {
    border-color: var(--primary);
    background: rgba(64, 48, 112, 0.04);
}

.admin-mail-user-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    accent-color: var(--primary);
}

.admin-mail-user-item__info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.admin-mail-user-item__info strong {
    font-size: 0.85rem;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-mail-user-item__info span {
    font-size: 0.75rem;
    color: var(--text-soft);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-mail-compose {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* ==============================================
   MÓDULO MANTENIMIENTO
   ============================================== */

/* KPIs del dashboard */
.mtto-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.mtto-kpi-grid--six {
    grid-template-columns: repeat(6, 1fr);
}
.mtto-kpi {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-height: 124px;
}
.mtto-kpi__value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand);
    line-height: 1;
}
.mtto-kpi--warning  .mtto-kpi__value { color: var(--warning); }
.mtto-kpi--accent   .mtto-kpi__value { color: var(--accent); }
.mtto-kpi--primary  .mtto-kpi__value { color: var(--brand); }
.mtto-kpi--danger   .mtto-kpi__value { color: var(--danger); }
.mtto-kpi__label {
    font-size: 0.8rem;
    color: var(--text-soft);
}

.mtto-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.9fr);
    gap: 1.25rem;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1.5rem 1.75rem;
    background:
        radial-gradient(circle at top right, rgba(255, 122, 26, 0.12), transparent 34%),
        linear-gradient(135deg, rgba(64, 48, 112, 0.05), rgba(255, 255, 255, 0.98));
}
.mtto-hero__eyebrow {
    display: inline-flex;
    margin-bottom: 0.55rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand);
}
.mtto-hero__title {
    margin: 0;
    font-size: clamp(1.45rem, 2vw, 2.05rem);
    line-height: 1.08;
    color: var(--text-main);
}
.mtto-hero__copy {
    margin: 0.85rem 0 0;
    max-width: 65ch;
    color: var(--text-soft);
}
.mtto-hero__actions {
    display: grid;
    gap: 0.75rem;
    justify-items: stretch;
}

.mtto-alert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.mtto-mini-alert {
    display: grid;
    gap: 0.35rem;
    padding: 1rem 1.15rem;
    border: 1px solid rgba(64, 48, 112, 0.08);
}
.mtto-mini-alert__label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-soft);
}
.mtto-mini-alert__value {
    font-size: 1.6rem;
    line-height: 1;
    color: var(--brand);
}
.mtto-mini-alert__hint {
    color: var(--text-soft);
    font-size: 0.88rem;
}
.mtto-mini-alert--warning .mtto-mini-alert__value { color: var(--warning); }
.mtto-mini-alert--accent .mtto-mini-alert__value { color: var(--accent); }
.mtto-mini-alert--danger .mtto-mini-alert__value { color: var(--danger); }

.mtto-shortcuts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.mtto-shortcut {
    display: grid;
    gap: 0.45rem;
    min-height: 140px;
    padding: 1.15rem 1.2rem;
    border: 1px solid rgba(64, 48, 112, 0.08);
    text-decoration: none;
    color: inherit;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.mtto-shortcut:hover {
    transform: translateY(-2px);
    border-color: rgba(64, 48, 112, 0.16);
    box-shadow: 0 16px 34px rgba(34, 34, 68, 0.08);
}
.mtto-shortcut__title {
    font-weight: 700;
    color: var(--brand);
}
.mtto-shortcut__text {
    color: var(--text-soft);
    font-size: 0.9rem;
}

/* Dashboard 2-column grid */
.mtto-dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

/* Filtros */
.mtto-filtros {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

/* Detail grid (activo detail + OT detail) */
.mtto-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

/* Definition list for detail views */
.mtto-detail-dl {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0.5rem 1.25rem;
    font-size: 0.9rem;
}
.mtto-detail-dl dt {
    color: var(--text-soft);
    font-weight: 500;
    white-space: nowrap;
}
.mtto-detail-dl dd {
    margin: 0;
    color: var(--text-main);
}

/* Timeline for historial */
.mtto-timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.mtto-timeline__item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}
.mtto-timeline__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--brand);
    flex-shrink: 0;
    margin-top: 4px;
}
.mtto-timeline__item p {
    margin: 0.2rem 0 0;
    font-size: 0.85rem;
    color: var(--text-soft);
}
.mtto-timeline__item small {
    font-size: 0.75rem;
    color: var(--text-soft);
}

/* Admin block header (title + link) */
.admin-block-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}
.admin-block-header__link {
    font-size: 0.82rem;
    color: var(--brand);
    text-decoration: none;
}
.admin-block-header__link:hover { text-decoration: underline; }

/* Checklist execution layout */
.mtto-ejecutar-layout {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.mtto-exec-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.mtto-exec-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem 1rem;
    padding: 0.75rem;
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    background: var(--app-bg);
    align-items: center;
}
.mtto-exec-item__desc {
    grid-column: 1 / -1;
}
.mtto-exec-item__opciones {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}
.mtto-exec-item__comentario {
    grid-column: 1 / -1;
}
.mtto-exec-radio {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
    font-size: 0.85rem;
}

/* Checklist item row (create form) */
.mtto-checklist-item-row {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.5rem;
}

/* Table row alert (stock bajo) */
.mtto-row-alert {
    background: rgba(199, 57, 57, 0.04);
}

.mtto-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.8rem;
}
.mtto-list__item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.9rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(64, 48, 112, 0.08);
}
.mtto-list__item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}
.mtto-list__meta {
    display: block;
    margin-top: 0.25rem;
    color: var(--text-soft);
    font-size: 0.86rem;
}

/* Form card */
.admin-form-card {
    padding: 1.5rem 2rem;
}
.admin-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.5rem;
}
.admin-form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.admin-form-inline-action {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
}
.admin-inline-action-btn {
    white-space: nowrap;
    min-height: 44px;
}
.maintenance-quick-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.maintenance-quick-modal--active {
    display: flex;
}
.maintenance-quick-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(16, 24, 40, 0.54);
}
.maintenance-quick-modal__panel {
    position: relative;
    width: min(620px, 100%);
    max-height: min(760px, 92vh);
    overflow: auto;
    background: var(--surface, #fff);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(16, 24, 40, 0.32);
    padding: 1.25rem;
}
.maintenance-quick-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}
.maintenance-quick-modal__header h3 {
    margin: 0;
    font-size: 1.05rem;
}
.maintenance-quick-modal__close {
    border: 0;
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
    min-width: 44px;
    min-height: 44px;
}
.maintenance-quick-modal__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.maintenance-quick-modal__feedback {
    color: var(--error);
    font-size: 0.88rem;
    margin-top: 0.85rem;
}
.admin-form-group--full { grid-column: 1 / -1; }
.admin-form-actions { display: flex; gap: 0.75rem; align-items: center; margin-top: 1.5rem; }
.auth-required { color: var(--error); }

/* Admin list header */
.admin-list-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.admin-list-header__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* btn-sm variant */
.btn-sm {
    padding: 0.3rem 0.85rem;
    font-size: 0.82rem;
    min-height: 44px;
}

.contact-page {
    padding: 3rem 0 4.5rem;
}

.contact-page__hero {
    max-width: 760px;
    margin-bottom: 2rem;
}

.contact-page__hero h1 {
    margin: 0.75rem 0 1rem;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.02;
    font-weight: 800;
    color: var(--text-main);
}

.contact-page__hero p {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.8;
    color: var(--text-soft);
}

.contact-card {
    padding: 1.6rem;
    border-radius: 28px;
}

.contact-card h2 {
    margin: 1rem 0 0.85rem;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.08;
    color: var(--text-main);
}

.contact-card p {
    color: var(--text-soft);
    line-height: 1.8;
}

.contact-card--success {
    max-width: 780px;
}

.contact-card__list {
    display: grid;
    gap: 1rem;
    margin-top: 1.4rem;
}

.contact-card__item {
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(64, 48, 112, 0.05);
    border: 1px solid rgba(64, 48, 112, 0.08);
}

.contact-card__item strong {
    display: block;
    margin-bottom: 0.28rem;
    color: var(--text-main);
}

.contact-card__item span {
    color: var(--text-soft);
    line-height: 1.6;
}

.contact-form .form-group,
.contact-form .mb-3 {
    margin-bottom: 0;
}

.auth-textarea {
    min-height: 160px;
    resize: vertical;
}

.contact-form__captcha {
    display: grid;
    grid-template-columns: minmax(160px, 190px) 1fr;
    gap: 1rem;
    align-items: center;
}

.contact-form__captcha-image {
    padding: 0.8rem;
    border-radius: 18px;
    background: rgba(64, 48, 112, 0.05);
    border: 1px solid rgba(64, 48, 112, 0.08);
    text-align: center;
}

.contact-form__captcha-image img {
    max-width: 100%;
    height: auto;
}

.contact-form__actions {
    margin-top: 1.4rem;
}

@media (max-width: 768px) {
    .mtto-hero            { grid-template-columns: 1fr; padding: 1.2rem; }
    .mtto-kpi-grid,
    .mtto-kpi-grid--six   { grid-template-columns: 1fr 1fr; }
    .mtto-alert-grid      { grid-template-columns: 1fr; }
    .mtto-shortcuts-grid  { grid-template-columns: 1fr 1fr; }
    .mtto-dashboard-grid  { grid-template-columns: 1fr; }
    .mtto-detail-grid     { grid-template-columns: 1fr; }
    .admin-form-grid      { grid-template-columns: 1fr; }
    .maintenance-quick-modal__body { grid-template-columns: 1fr; }
    .admin-form-inline-action { grid-template-columns: 1fr; }
    .admin-form-group--full { grid-column: 1; }
    .mtto-exec-item       { grid-template-columns: 1fr; }
    .contact-form__captcha { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .mtto-hero__actions,
    .mtto-hero__actions .btn-sim-primary,
    .mtto-hero__actions .btn-sim-accent {
        width: 100%;
    }

    .mtto-shortcuts-grid,
    .mtto-kpi-grid,
    .mtto-kpi-grid--six {
        grid-template-columns: 1fr;
    }

    .mtto-shortcut {
        min-height: auto;
    }

    .mtto-list__item {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .admin-mail-recipients {
        position: static;
    }

    .admin-mail-user-list {
        max-height: 260px;
    }
}
