
:root {
    --ag-blue: #007AFF;
    --ag-blue-hover: #0066d6;
    --ag-blue-strong: #0062cc;
    --ag-blue-strong-hover: #0055b3;
    --ag-blue-deep: #00408a;
    --ag-blue-tint: #e8f0fe;
    --ag-blue-tint-hover: #dbe7fd;
    --ag-focus-ring: rgba(0, 122, 255, 0.18);

    --ag-text: #1c1c1e;
    --ag-text-2: #6c6c70;
    --ag-chevron: #c7c7cc;
    --ag-hairline: #f2f2f7;
    --ag-border: #e2e2e7;
    --ag-track: #e9e9ee;

    --ag-body: #f8f9fa;
    --ag-canvas: #f5f7fa;
    --ag-surface: #fff;
    --ag-row-hover: #f9fafc;
    --ag-auth-bg: #e9eef5;

    --ag-success: #1f7a3a;
    --ag-success-bg: #e8f7ec;
    --ag-danger: #b3261e;
    --ag-danger-hover: #9a1f19;
    --ag-danger-bg: #fdecec;
    --ag-alert-bg: #fff3f2;
    --ag-pending: #8a5a00;
    --ag-pending-bg: #fff4e0;

    --ag-sidebar-bg: #040b14;
    --ag-sidebar-text: #a8a9b4;
    --ag-sidebar-icon: #6f7180;
    --ag-sidebar-ring: #2c2f3f;
    --ag-sidebar-active: rgba(0, 122, 255, 0.16);

    --ag-radius-sm: 8px;
    --ag-radius: 10px;
    --ag-radius-card: 12px;
    --ag-radius-canvas: 15px;
    --ag-radius-auth: 20px;

    --ag-shadow-card: 0 1px 3px rgba(0, 0, 0, 0.08);
    --ag-shadow-lift: 0 4px 14px rgba(0, 0, 0, 0.08);
    --ag-shadow-canvas: 0 8px 30px rgba(0, 0, 0, 0.1);
    --ag-shadow-float: 0 3px 10px rgba(0, 122, 255, 0.3);
    --ag-shadow-toast: 0 6px 24px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.08);

    --ag-font: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --ag-sidebar-w: 300px;
    --ag-topbar-h: 56px;

    --profile-top-gap: 32px;
    --profile-top-gap-tablet: 24px;
    --profile-top-gap-mobile: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
body.ag-portal {
    margin: 0;
    min-height: 100vh;
    background: var(--ag-body);
    color: var(--ag-text);
    font-family: var(--ag-font);
    font-size: 1rem;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
.ag-portal [hidden] { display: none !important; }
:where(.ag-portal) :where(h1, h2, h3, h4, p) { margin: 0; }
:where(.ag-portal) a { color: var(--ag-blue-strong); }
:where(.ag-portal) img { max-width: 100%; height: auto; }
.ag-portal :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
    outline: 2px solid var(--ag-blue);
    outline-offset: 2px;
}
.ag-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.ag-skip {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 10001;
    padding: 10px 16px;
    border-radius: var(--ag-radius);
    background: var(--ag-surface);
    box-shadow: var(--ag-shadow-lift);
    font-weight: 600;
    transform: translateY(-160%);
    transition: transform 0.15s ease;
}
.ag-skip:focus { transform: none; }

.ag-sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 9997;
    display: flex;
    flex-direction: column;
    width: var(--ag-sidebar-w);
    padding: 0 15px 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--ag-sidebar-bg);
}
.ag-sidebar-profile {
    padding: 32px 10px 8px;
    text-align: center;
}
.ag-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto;
    border: 4px solid var(--ag-sidebar-ring);
    border-radius: 50%;
    overflow: hidden;
    background: var(--ag-blue);
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.ag-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.ag-sidebar-name {
    margin: 14px 0 2px;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
    overflow-wrap: anywhere;
}
.ag-sidebar-role {
    font-size: 0.85rem;
    color: var(--ag-sidebar-text);
}
.ag-nav { padding: 24px 0 0; }
.ag-nav ul { margin: 0; padding: 0; list-style: none; }
.ag-nav form { margin: 0; }
.ag-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    margin: 0 0 6px;
    padding: 10px 15px;
    border: 0;
    border-radius: var(--ag-radius);
    background: none;
    color: var(--ag-sidebar-text);
    font: inherit;
    font-size: 15px;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
}
.ag-portal .ag-nav-link { color: var(--ag-sidebar-text); }
.ag-nav-link i {
    width: 26px;
    font-size: 1.15rem;
    text-align: center;
    color: var(--ag-sidebar-icon);
    transition: color 0.2s ease;
}
.ag-portal .ag-nav-link:hover,
.ag-portal .ag-nav-link:focus-visible { color: #fff; text-decoration: none; }
.ag-nav-link:hover i,
.ag-nav-link:focus-visible i { color: var(--ag-blue); }
.ag-portal .ag-nav-link[aria-current] { background: var(--ag-sidebar-active); color: #fff; }
.ag-nav-link[aria-current] i { color: var(--ag-blue); }
.ag-portal .ag-nav-link:focus-visible { outline-offset: -2px; }
.ag-nav-sep {
    margin: 12px 0;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ag-nav-toggle {
    position: fixed;
    top: calc((var(--ag-topbar-h) - 44px) / 2);
    right: 14px;
    z-index: 9998;
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--ag-blue);
    box-shadow: var(--ag-shadow-float);
    color: #fff;
    font-size: 1.15rem;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.2);
    transition: background 0.15s ease, transform 0.1s ease;
}
.ag-nav-toggle:hover { background: var(--ag-blue-hover); }
.ag-nav-toggle:active { transform: scale(0.92); }
.ag-scrim {
    position: fixed;
    inset: 0;
    z-index: 9996;
    background: rgba(4, 11, 20, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
@media (max-width: 1199px) {
    .ag-sidebar {
        visibility: hidden;
        transform: translateX(-100%);
        transition: transform 0.3s ease, visibility 0s linear 0.3s;
    }
    .ag-nav-open .ag-sidebar {
        visibility: visible;
        transform: none;
        box-shadow: 0 0 40px rgba(0, 0, 0, 0.35);
        transition: transform 0.3s ease, visibility 0s;
    }
    .ag-nav-toggle { display: flex; }
    .ag-nav-open .ag-scrim { opacity: 1; pointer-events: auto; }
    body.ag-nav-open { overflow: hidden; }
}
@media (min-width: 1200px) {
    .ag-shell { margin-left: var(--ag-sidebar-w); }
    .ag-scrim { display: none; }
}

.ag-topbar {
    position: sticky;
    top: 0;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--ag-topbar-h);
    padding: 0 72px;
    border-bottom: 1px solid var(--ag-border);
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
}
.ag-topbar img { display: block; width: auto; height: 30px; }

.profile-container {
    max-width: 720px;
    margin: 0 auto;
    padding: var(--profile-top-gap) 20px 56px;
}
.profile-container.ag-wide { max-width: 960px; }
.profile-container.ag-wider { max-width: 1100px; }
.profile-card {
    margin-top: 24px;
    padding: 28px;
    border-radius: var(--ag-radius-canvas);
    background: var(--ag-canvas);
    box-shadow: var(--ag-shadow-canvas);
}
.dash-greeting {
    margin-bottom: 20px;
    text-align: center;
    opacity: 0;
    transform: translateY(12px);
    animation: fadeUp 0.5s ease forwards;
}
.dash-greeting h1 {
    margin: 0 0 4px;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--ag-text);
}
.dash-greeting p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--ag-text-2);
}
.dash-stack { display: flex; flex-direction: column; gap: 14px; }
.dash-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .dash-grid { grid-template-columns: 1fr 1fr; } }

@media (min-width: 768px) {
    .dash-grid--even > .dash-card { display: flex; flex-direction: column; }
}
.ag-card-foot { margin-top: auto; padding-top: 16px; }
.dash-grid > .dash-card + .dash-card { animation-delay: 0.06s; }

.dash-stack > :nth-child(2), .ag-tiles > :nth-child(2) { animation-delay: 0.06s; }
.dash-stack > :nth-child(3), .ag-tiles > :nth-child(3) { animation-delay: 0.12s; }
.dash-stack > :nth-child(4), .ag-tiles > :nth-child(4) { animation-delay: 0.18s; }
.dash-stack > :nth-child(5), .ag-tiles > :nth-child(5) { animation-delay: 0.24s; }
.dash-stack > :nth-child(6), .ag-tiles > :nth-child(6) { animation-delay: 0.30s; }
.dash-stack > :nth-child(n+7), .ag-tiles > :nth-child(n+7) { animation-delay: 0.36s; }

.dash-card {
    min-width: 0;
    padding: 18px;
    border-radius: var(--ag-radius-card);
    background: var(--ag-surface);
    box-shadow: var(--ag-shadow-card);
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUp 0.45s ease forwards;
}
a.dash-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    color: inherit;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
a.dash-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--ag-shadow-lift);
    color: inherit;
}
.dash-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}
.dash-card-header i {
    width: 18px;
    font-size: 0.95rem;
    text-align: center;
    color: var(--ag-blue);
}
.dash-card-header span {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--ag-blue-strong);
}
h2.dash-card-header {
    margin: 0 0 14px;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 600;
    color: inherit;
}
.dash-card-header .ag-h {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.2;
}
.dash-card-header .ag-count {
    margin-left: auto;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: var(--ag-text-2);
}
.dash-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: var(--ag-radius-card);
    background: var(--ag-blue-tint);
}
.dash-card-icon i { font-size: 1.25rem; color: var(--ag-blue); }
.dash-card-body { flex: 1; min-width: 0; }
.dash-card-title { margin: 0 0 2px; font-size: 1rem; font-weight: 600; color: var(--ag-text); }
.dash-card-desc { margin: 0; font-size: 0.82rem; line-height: 1.4; color: var(--ag-text-2); }
.dash-card-chevron { flex-shrink: 0; font-size: 0.9rem; color: var(--ag-chevron); }

.ag-details { margin: 0; }
.ag-detail {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 9px 0;
    border-bottom: 1px solid var(--ag-hairline);
}
.ag-detail:last-child { padding-bottom: 2px; border-bottom: none; }
.ag-detail-label { flex-shrink: 0; margin: 0; font-size: 0.85rem; font-weight: 400; color: var(--ag-text-2); }
.ag-detail-value {
    min-width: 0;
    margin: 0;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: right;
    color: var(--ag-text);
    overflow-wrap: anywhere;
}

.ag-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    margin: -10px 0 4px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s ease;
}
.ag-portal .ag-back { color: var(--ag-blue-strong); }
.ag-back i { font-size: 0.78rem; }
.ag-portal .ag-back:hover { color: var(--ag-blue-deep); text-decoration: none; }
.ag-back:hover span { text-decoration: underline; text-underline-offset: 3px; }
.ag-back:focus-visible { border-radius: 6px; }

.ag-row {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    margin: 0;
    padding: 12px 0;
    border-bottom: 1px solid var(--ag-hairline);
    color: inherit;
    text-decoration: none;
    transition: background 0.15s ease;
}
.ag-row:last-child { border-bottom: none; }
.ag-portal a.ag-row { color: inherit; }
a.ag-row:hover, a.ag-row:focus { background: var(--ag-row-hover); text-decoration: none; }
a.ag-row:focus-visible { border-radius: var(--ag-radius-sm); }
.ag-row-body { display: flex; flex: 1; flex-direction: column; gap: 6px; min-width: 0; }
.ag-row-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 12px;
}
.ag-row-title {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ag-text);
    overflow-wrap: anywhere;
}
.ag-row-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ag-row-foot { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 0.78rem; color: var(--ag-text-2); }
.ag-row-foot i { margin-right: 4px; color: var(--ag-chevron); }
.ag-row-chevron { flex-shrink: 0; font-size: 0.85rem; color: var(--ag-chevron); }
.ag-row-reason { display: block; margin: 2px 0 0; font-size: 0.82rem; line-height: 1.45; color: var(--ag-danger); overflow-wrap: anywhere; }
.ag-row-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: var(--ag-radius);
    background: var(--ag-hairline);
    color: var(--ag-text-2);
    font-size: 0.95rem;
}
.ag-row-icon--blue    { background: var(--ag-blue-tint); color: var(--ag-blue); }
.ag-row-icon--success { background: var(--ag-success-bg); color: var(--ag-success); }
.ag-row-icon--danger  { background: var(--ag-danger-bg); color: var(--ag-danger); }
.ag-row-icon--pending { background: var(--ag-pending-bg); color: var(--ag-pending); }

.ag-scroll-list { position: relative; max-height: 380px; overflow-y: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.ag-scroll-list.has-more { padding-right: 16px; }
.ag-scroll-list.is-scrollable {
    -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 28px), transparent);
    mask-image: linear-gradient(to bottom, #000 calc(100% - 28px), transparent);
}
.ag-scroll-list.is-scrollable.is-at-end { -webkit-mask-image: none; mask-image: none; }
.ag-scroll-list:focus-visible { outline: 2px solid var(--ag-blue); outline-offset: 2px; border-radius: var(--ag-radius-sm); }

.ag-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ag-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    margin: 0;
    padding: 0 16px;
    border: 1px solid var(--ag-border);
    border-radius: 22px;
    background: var(--ag-surface);
    color: var(--ag-text);
    font: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.ag-portal a.ag-chip { color: var(--ag-text); text-decoration: none; }
.ag-chip:hover { border-color: var(--ag-chevron); }
.ag-portal .ag-chip.is-selected, .ag-portal .ag-chip[aria-pressed="true"] {
    border-color: var(--ag-blue-strong);
    background: var(--ag-blue-strong);
    color: #fff;
}

.ag-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 10px;
    background: var(--ag-hairline);
    color: var(--ag-text);
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}
.ag-badge--muted   { background: var(--ag-hairline); color: var(--ag-text-2); }
.ag-badge--count   { background: var(--ag-blue-tint); color: var(--ag-blue-strong); }
.ag-badge--pending { background: var(--ag-pending-bg); color: var(--ag-pending); }
.ag-badge--success { background: var(--ag-success-bg); color: var(--ag-success); }
.ag-badge--danger  { background: var(--ag-danger-bg); color: var(--ag-danger); }

.ag-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    color: var(--ag-text-2);
}
.ag-status i { font-size: 0.9em; }
.ag-status--success { color: var(--ag-success); }
.ag-status--danger  { color: var(--ag-danger); }
.ag-status--pending { color: var(--ag-pending); }

.ag-section-title {
    margin: 8px 2px 0;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--ag-text-2);
}

.ag-tiles { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 600px) { .ag-tiles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .ag-tiles--3 { grid-template-columns: repeat(3, 1fr); } }
.ag-tile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    padding: 20px 18px 16px;
    border-radius: var(--ag-radius-card);
    background: var(--ag-surface);
    box-shadow: var(--ag-shadow-card);
    color: inherit;
    text-decoration: none;
    opacity: 0;
    translate: 0 16px;
    animation: agTileIn 0.45s ease forwards;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ag-portal a.ag-tile { color: inherit; }
a.ag-tile:hover, a.ag-tile:focus { transform: translateY(-2px); box-shadow: var(--ag-shadow-lift); text-decoration: none; }
.ag-tile-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    border-radius: var(--ag-radius-card);
    background: var(--ag-blue-tint);
    color: var(--ag-blue);
    font-size: 1.2rem;
}
.ag-tile-icon--green  { background: #e8f7ee; color: #34C759; }
.ag-tile-icon--purple { background: #f4ecfa; color: #AF52DE; }
.ag-tile-icon--teal   { background: #e0f2f1; color: #009688; }
.ag-tile-icon--orange { background: #fff3e0; color: #b54500; }
.ag-tile-title { margin: 0 0 4px; font-size: 1rem; font-weight: 600; color: var(--ag-text); }
.ag-tile-desc { margin: 0; font-size: 0.85rem; line-height: 1.45; color: var(--ag-text-2); }
.ag-tile-hint {
    width: 100%;
    margin: 14px 0 0;
    padding-top: 10px;
    border-top: 1px solid var(--ag-hairline);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--ag-text-2);
}

.ag-seg-wrap { display: flex; justify-content: center; margin: 0 0 14px; }
.ag-seg {
    position: relative;
    display: inline-flex;
    width: 100%;
    max-width: 360px;
    padding: 3px;
    border-radius: var(--ag-radius);
    background: var(--ag-track);
}
.ag-seg-btn {
    display: inline-flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 38px;
    margin: 0;
    padding: 8px 12px;
    border: 0;
    border-radius: var(--ag-radius-sm);
    background: transparent;
    color: var(--ag-text-2);
    font: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.ag-portal .ag-seg-btn { color: var(--ag-text-2); }
.ag-portal .ag-seg-btn:hover { color: var(--ag-text); text-decoration: none; }
.ag-portal .ag-seg-btn.is-active,
.ag-portal .ag-seg-btn[aria-selected="true"] {
    background: var(--ag-surface);
    box-shadow: var(--ag-shadow-card);
    color: var(--ag-blue-strong);
}

.ag-notices { margin: 0 auto; }
.ag-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 14px 14px 16px;
    border-radius: var(--ag-radius-card);
    background: var(--ag-surface);
    box-shadow: var(--ag-shadow-card);
    opacity: 0;
    transform: translateY(8px);
    animation: fadeUp 0.4s ease forwards;
}
.ag-notice + .ag-notice { margin-top: 12px; }
.ag-notice-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: var(--ag-radius);
    background: var(--ag-blue-tint);
    color: var(--ag-blue);
    font-size: 0.95rem;
}
.ag-notice-body { flex: 1; min-width: 0; }
.ag-portal :where(.ag-notice-title) { margin: 0 0 2px; font-size: 0.92rem; font-weight: 600; color: var(--ag-text); }
.ag-portal :where(.ag-notice-desc) { margin: 0; font-size: 0.85rem; line-height: 1.45; color: var(--ag-text-2); overflow-wrap: anywhere; }
.ag-notice-dismiss {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    margin: -4px -4px 0 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--ag-text-2);
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}
.ag-notice-dismiss::after { content: ''; position: absolute; inset: -6px; }
.ag-notice-dismiss:hover { background: var(--ag-hairline); color: var(--ag-text); }
.ag-notice-dismiss:disabled { opacity: 0.5; cursor: default; }
.ag-notice.is-leaving { animation: agNoticeLeave 0.3s ease forwards; }
@keyframes agNoticeLeave {
    from { opacity: 1; transform: none; }
    to { opacity: 0; transform: translateX(20px); }
}

.ag-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: var(--ag-radius-card);
    background: var(--ag-alert-bg);
    color: var(--ag-danger);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.45;
}
.ag-alert i { flex-shrink: 0; margin-top: 3px; }
.ag-alert--success { background: var(--ag-success-bg); color: var(--ag-success); }
.ag-alert--info    { background: var(--ag-blue-tint); color: var(--ag-blue-strong); }
.ag-alert--warning { background: var(--ag-pending-bg); color: var(--ag-pending); }
.js .ag-flash { display: none; }

.ag-field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; }
.ag-label { margin: 0; font-size: 0.8rem; font-weight: 600; color: var(--ag-text); }
.ag-hint { margin: 0; font-size: 0.78rem; color: var(--ag-text-2); }
.ag-input,
.ag-textarea,
.ag-select {
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid var(--ag-border);
    border-radius: var(--ag-radius);
    background: var(--ag-surface);
    color: var(--ag-text);
    font: inherit;
    font-size: 0.92rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ag-input::placeholder, .ag-textarea::placeholder { color: #8e8e93; }
.ag-textarea { min-height: 120px; line-height: 1.5; resize: vertical; }
.ag-select {
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%236c6c70' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}
.ag-input[type="date"] {
    min-width: 0;
    -webkit-appearance: none;
    appearance: none;
}
.ag-input[type="date"]::-webkit-date-and-time-value { margin: 0; text-align: left; }
.ag-portal .ag-input:focus,
.ag-portal .ag-textarea:focus,
.ag-portal .ag-select:focus {
    outline: none;
    border-color: var(--ag-blue);
    box-shadow: 0 0 0 3px var(--ag-focus-ring);
}
.ag-input[aria-invalid="true"],
.ag-textarea[aria-invalid="true"],
.ag-select[aria-invalid="true"] { border-color: var(--ag-danger); }
.ag-portal .ag-input[aria-invalid="true"]:focus,
.ag-portal .ag-textarea[aria-invalid="true"]:focus,
.ag-portal .ag-select[aria-invalid="true"]:focus {
    border-color: var(--ag-danger);
    box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.15);
}
.ag-input--lg { min-height: 50px; border-radius: var(--ag-radius-card); font-size: 1rem; }
.ag-input-wrap { position: relative; }
.ag-input-wrap .ag-input { padding-left: 42px; }
.ag-input-icon {
    position: absolute;
    top: 50%;
    left: 15px;
    color: var(--ag-text-2);
    font-size: 0.95rem;
    transform: translateY(-50%);
    pointer-events: none;
}
.ag-field-error {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin: 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ag-danger);
}
.ag-field-error i { margin-top: 3px; font-size: 0.75rem; }
@media (max-width: 768px) {
    .ag-input, .ag-textarea, .ag-select { font-size: 16px; }
}

.ag-fieldset { min-width: 0; margin: 0 0 14px; padding: 0; border: 0; }
.ag-fieldset > legend { margin: 0 0 6px; padding: 0; }

.ag-choice { position: relative; }
.ag-choice input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.ag-choice i { font-size: 0.9em; }
.ag-portal .ag-choice:has(input:checked),
.ag-portal .ag-choice.is-selected { border-color: var(--ag-blue-strong); background: var(--ag-blue-strong); color: #fff; }
.ag-choice:has(input:focus-visible) { outline: 2px solid var(--ag-blue); outline-offset: 2px; }

.ag-switch { position: relative; display: flex; align-items: center; gap: 12px; min-height: 44px; margin: 0; cursor: pointer; }
.ag-switch input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.ag-switch-track {
    position: relative;
    flex-shrink: 0;
    width: 51px;
    height: 31px;
    border-radius: 16px;
    background: #e9e9ea;
    transition: background 0.2s ease;
}
.ag-switch-track::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}
.ag-switch input:checked + .ag-switch-track { background: var(--ag-blue); }
.ag-switch input:checked + .ag-switch-track::after { transform: translateX(20px); }
.ag-switch input:focus-visible + .ag-switch-track { outline: 2px solid var(--ag-blue); outline-offset: 2px; }
.ag-switch-text { display: flex; flex-direction: column; gap: 2px; }
.ag-switch-title { font-size: 0.92rem; font-weight: 600; color: var(--ag-text); }

.ag-drop {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 160px;
    padding: 22px 16px;
    border: 2px dashed var(--ag-border);
    border-radius: var(--ag-radius-card);
    background: var(--ag-canvas);
    text-align: center;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.ag-drop input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.ag-drop:hover, .ag-drop.is-dragging { border-color: var(--ag-blue); background: var(--ag-blue-tint); }
.ag-drop:has(input:focus-visible) { outline: 2px solid var(--ag-blue); outline-offset: 2px; }
.ag-drop.has-file { border-style: solid; border-color: var(--ag-success); background: var(--ag-success-bg); }
.ag-drop-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 4px;
    border-radius: 50%;
    background: var(--ag-blue-tint);
    color: var(--ag-blue);
    font-size: 1.2rem;
}
.ag-drop.has-file .ag-drop-icon { background: var(--ag-surface); color: var(--ag-success); }
.ag-drop-title { font-size: 0.95rem; font-weight: 600; color: var(--ag-text); overflow-wrap: anywhere; }
.ag-drop-meta { font-size: 0.8rem; color: var(--ag-text-2); }

.ag-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    margin: 0;
    padding: 0 18px;
    border: 0;
    border-radius: var(--ag-radius);
    background: var(--ag-blue-strong);
    color: #fff;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}
.ag-portal .ag-btn { color: #fff; }
.ag-portal .ag-btn:hover { background: var(--ag-blue-strong-hover); color: #fff; text-decoration: none; }
.ag-btn:active { transform: scale(0.98); }
.ag-btn:disabled { opacity: 0.6; cursor: default; transform: none; }
.ag-btn[aria-busy="true"]:disabled { opacity: 0.85; cursor: progress; }
.ag-btn--block { width: 100%; }
.ag-btn--lg { min-height: 50px; border-radius: var(--ag-radius-card); font-size: 1rem; }
.ag-portal .ag-btn--ghost { background: var(--ag-blue-tint); color: var(--ag-blue-strong); }
.ag-portal .ag-btn--ghost:hover { background: var(--ag-blue-tint-hover); color: var(--ag-blue-strong-hover); }
.ag-portal .ag-btn--danger { background: var(--ag-danger); }
.ag-portal .ag-btn--danger:hover { background: var(--ag-danger-hover); }
.ag-spinner {
    display: inline-block;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: agSpin 0.8s linear infinite;
}
.ag-btn--ghost .ag-spinner { border-color: rgba(0, 98, 204, 0.25); border-top-color: var(--ag-blue-strong); }

.ag-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    margin: 8px 0 0;
    padding: 0 14px;
    border-radius: var(--ag-radius);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s ease;
}
.ag-portal .ag-link { color: var(--ag-blue-strong); }
.ag-portal .ag-link:hover { background: var(--ag-blue-tint); color: var(--ag-blue-strong-hover); text-decoration: none; }

.ag-entry { padding: 14px 0; border-bottom: 1px solid var(--ag-hairline); }
.ag-entry:first-child { padding-top: 2px; }
.ag-entry:last-child { padding-bottom: 2px; border-bottom: none; }
.ag-entry-date {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ag-blue-strong);
}
.ag-entry-text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--ag-text);
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
.ag-entry-meta { margin: 6px 0 0; font-size: 0.75rem; color: var(--ag-text-2); }

.ag-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ag-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 14px 8px;
    border-radius: var(--ag-radius-card);
    background: var(--ag-surface);
    box-shadow: var(--ag-shadow-card);
    text-align: center;
}
.ag-stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--ag-radius);
    background: var(--ag-blue-tint);
    color: var(--ag-blue);
    font-size: 0.9rem;
}
.ag-stat-icon--success { background: var(--ag-success-bg); color: var(--ag-success); }
.ag-stat-icon--danger  { background: var(--ag-danger-bg); color: var(--ag-danger); }
.ag-stat-icon--pending { background: var(--ag-pending-bg); color: var(--ag-pending); }
.ag-stat-value { font-size: 1.3rem; font-weight: 700; line-height: 1.2; color: var(--ag-text); }
.ag-stat-label { font-size: 0.72rem; color: var(--ag-text-2); }

.ag-table-wrap { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ag-table { width: 100%; margin: 0; border-collapse: collapse; font-size: 0.85rem; }
.ag-table th {
    padding: 10px 8px;
    border: 0;
    border-bottom: 1px solid var(--ag-border);
    background: transparent;
    color: var(--ag-text-2);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
}
.ag-table td {
    padding: 12px 8px;
    border: 0;
    border-bottom: 1px solid var(--ag-hairline);
    color: var(--ag-text);
    text-align: left;
    vertical-align: middle;
}
.ag-table tbody tr:last-child td { border-bottom: 0; }
.ag-table .ag-num { width: 1%; white-space: nowrap; color: var(--ag-text-2); }

.dash-card.ag-disclosure { padding: 0; }
.ag-disclosure > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 52px;
    padding: 14px 18px;
    color: var(--ag-text);
    font-size: 0.92rem;
    font-weight: 600;
    list-style: none;
    cursor: pointer;
}
.ag-disclosure > summary::-webkit-details-marker { display: none; }
.ag-disclosure > summary::marker { content: ''; }
.ag-disclosure > summary:focus-visible { border-radius: var(--ag-radius-card); outline-offset: -2px; }
.ag-disclosure > summary i:first-child { margin-right: 8px; color: var(--ag-blue); }
.ag-disclosure-chevron { color: var(--ag-chevron); transition: transform 0.2s ease; }
.ag-disclosure[open] .ag-disclosure-chevron { transform: rotate(180deg); }
.ag-disclosure-body { padding: 0 18px 14px; }

.ag-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    margin: 0 0 0 auto;
    padding: 0 12px;
    border: 0;
    border-radius: var(--ag-radius-sm);
    background: var(--ag-blue-tint);
    color: var(--ag-blue-strong);
    font: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease;
}
.ag-portal .ag-download { color: var(--ag-blue-strong); }
.ag-download:hover { background: var(--ag-blue-tint-hover); text-decoration: none; }

.ag-empty { padding: 22px 8px 18px; color: var(--ag-text-2); font-size: 0.85rem; text-align: center; }
.ag-empty > i { display: block; margin-bottom: 8px; color: var(--ag-chevron); font-size: 1.8rem; }
.ag-empty p { margin: 0; }
.ag-empty .ag-empty-title { margin-bottom: 4px; color: var(--ag-text); font-size: 0.92rem; font-weight: 600; }

.ag-skeleton {
    display: block;
    min-height: 14px;
    border-radius: var(--ag-radius-sm);
    background: linear-gradient(90deg, #eef0f4 25%, #f6f7f9 37%, #eef0f4 63%);
    background-size: 400% 100%;
    animation: agShimmer 1.4s ease infinite;
}

.ag-dialog {
    width: min(560px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    padding: 0;
    border: 0;
    border-radius: 16px;
    background: var(--ag-surface);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    color: var(--ag-text);
    font-family: var(--ag-font);
}
.ag-dialog::backdrop { background: rgba(4, 11, 20, 0.55); }
.ag-dialog[open] { animation: agDialogIn 0.22s ease; }
.ag-dialog-head { padding: 20px 20px 4px; }
.ag-dialog-title { margin: 0; font-size: 1.1rem; font-weight: 700; color: var(--ag-text); }
.ag-dialog-text { margin: 4px 0 0; font-size: 0.88rem; line-height: 1.45; color: var(--ag-text-2); }
.ag-dialog-body { padding: 14px 20px; }
.ag-dialog-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 0 20px 20px; }
@media (max-width: 480px) {
    .ag-dialog-foot .ag-btn { flex: 1; }
}

#ag-toast-container {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
    width: 360px;
    max-width: calc(100vw - 40px);
    pointer-events: none;
}
.ag-toast {
    display: flex;
    align-items: stretch;
    overflow: hidden;
    border-radius: var(--ag-radius-card);
    background: var(--ag-surface);
    box-shadow: var(--ag-shadow-toast);
    font-family: var(--ag-font);
    opacity: 0;
    transform: translateX(40px);
    pointer-events: auto;
    animation: agToastIn 0.28s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.ag-toast--leaving { animation: agToastOut 0.22s ease forwards; }
.ag-toast-stripe { flex-shrink: 0; width: 4px; background: #8e8e93; }
.ag-toast--success .ag-toast-stripe { background: #34c759; }
.ag-toast--error .ag-toast-stripe { background: #ff3b30; }
.ag-toast--warning .ag-toast-stripe { background: #ff9500; }
.ag-toast--info .ag-toast-stripe { background: var(--ag-blue); }
.ag-toast-body {
    display: flex;
    flex: 1;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    padding: 12px 14px;
    color: var(--ag-text);
    font-size: 0.86rem;
    line-height: 1.45;
}
.ag-toast-icon { flex-shrink: 0; padding-top: 1px; font-size: 1rem; line-height: 1.25; }
.ag-toast--success .ag-toast-icon { color: var(--ag-success); }
.ag-toast--error .ag-toast-icon { color: var(--ag-danger); }
.ag-toast--warning .ag-toast-icon { color: var(--ag-pending); }
.ag-toast--info .ag-toast-icon { color: var(--ag-blue-strong); }
.ag-toast-msg { overflow-wrap: anywhere; }
.ag-toast-close {
    align-self: flex-start;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ag-text-2);
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.15s ease;
}
.ag-toast-close:hover { color: var(--ag-text); }
@media (max-width: 480px) {
    #ag-toast-container { right: 12px; bottom: 12px; left: 12px; width: auto; max-width: none; }
}

#ag-preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    background: var(--ag-body);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.js #ag-preloader { display: flex; }
#ag-preloader.is-hidden { opacity: 0; pointer-events: none; }
.ag-preloader-rings { position: relative; width: 100px; height: 100px; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15)); }
.ag-preloader-ring { position: absolute; border: 4px solid transparent; border-radius: 50%; }
.ag-preloader-ring--black { inset: 0; border-top-color: #000; animation: agSpin 1.2s linear infinite; }
.ag-preloader-ring--red { inset: 15px; border-top-color: #FF0000; animation: agSpinBack 1s linear infinite; }
.ag-preloader-ring--gold { inset: 30px; border-top-color: #FFDD00; animation: agSpin 0.8s linear infinite; }
.ag-loading .dash-greeting,
.ag-loading .dash-card,
.ag-loading .ag-tile { animation-play-state: paused; }

body.ag-auth {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: var(--ag-auth-bg);
}
.ag-auth-card {
    width: 100%;
    max-width: 420px;
    padding: 40px 36px 32px;
    border-radius: var(--ag-radius-auth);
    background: var(--ag-surface);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transform: translateY(12px);
    animation: fadeUp 0.5s ease forwards;
}
.ag-auth-logo { display: block; width: 100%; max-width: 260px; margin: 0 auto 22px; }
.ag-auth-head { margin: 0 0 28px; text-align: center; }
.ag-auth-head h1 { margin: 0 0 4px; font-size: 1.35rem; font-weight: 700; line-height: 1.3; color: var(--ag-text); }
.ag-auth-head p { margin: 0; font-size: 0.92rem; color: var(--ag-text-2); }
.ag-auth-card .ag-btn { margin-top: 6px; }
.ag-auth-note {
    margin: 20px 0 0;
    padding-top: 18px;
    border-top: 1px solid var(--ag-hairline);
    color: var(--ag-text-2);
    font-size: 0.82rem;
    line-height: 1.45;
    text-align: center;
    text-wrap: balance;
}
.ag-auth-note i { margin-right: 6px; color: var(--ag-blue); }
.ag-auth-footer { margin: 24px 0 0; color: var(--ag-text-2); font-size: 0.8rem; text-align: center; }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes agTileIn { to { opacity: 1; translate: 0 0; } }
@keyframes agToastIn { to { opacity: 1; transform: translateX(0); } }
@keyframes agToastOut { to { opacity: 0; transform: translateX(40px); } }
@keyframes agSpin { to { transform: rotate(360deg); } }
@keyframes agSpinBack { to { transform: rotate(-360deg); } }
@keyframes agDialogIn { from { opacity: 0; transform: translateY(12px) scale(0.98); } }
@keyframes agShimmer { from { background-position: 100% 50%; } to { background-position: 0 50%; } }

@media (max-width: 768px) {
    .profile-container { padding: var(--profile-top-gap-tablet) 20px 48px; }
}
@media (max-width: 480px) {
    .profile-container { padding: var(--profile-top-gap-mobile) 12px 40px; }
    .profile-card { margin-top: 16px; padding: 18px; }
    .dash-greeting h1 { font-size: 1.3rem; }
    .dash-card { padding: 14px 16px; }
    .dash-card-icon { width: 40px; height: 40px; border-radius: var(--ag-radius); }
    .ag-detail { flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 0; }
    .ag-detail-value { text-align: left; }
    .ag-tile { padding: 16px 14px 14px; }
    .ag-tile-icon { width: 40px; height: 40px; margin-bottom: 12px; font-size: 1.1rem; }
    .ag-stats { gap: 8px; }
    .ag-stat { padding: 12px 4px; }
    .ag-stat-value { font-size: 1.15rem; }
    .ag-disclosure > summary { padding: 12px 14px; }
    .ag-disclosure-body { padding: 0 12px 12px; }
    .ag-table td { padding: 10px 6px; }
    .ag-table th { padding: 8px 6px; }
    body.ag-auth { justify-content: flex-start; padding: 32px 16px; }
    .ag-auth-card { padding: 30px 22px 24px; border-radius: 18px; }
    .ag-auth-logo { max-width: 220px; }
}

@media (prefers-reduced-motion: reduce) {
    .dash-greeting, .dash-card, .ag-auth-card, .ag-toast { animation: none; opacity: 1; transform: none; }
    .ag-tile { animation: none; opacity: 1; translate: none; }
    .ag-toast--leaving { opacity: 0; }
    .ag-skeleton { animation: none; }
    .ag-preloader-ring { animation: none; }
    .ag-dialog[open] { animation: none; }
    .ag-notice, .ag-notice.is-leaving { animation: none; opacity: 1; transform: none; }
    .ag-switch-track, .ag-switch-track::after, .ag-drop { transition: none; }
    #ag-preloader { transition: opacity 0.3s ease; }
    .ag-spinner { animation-duration: 1.6s; }
    .ag-sidebar, .ag-nav-open .ag-sidebar, .ag-scrim, .ag-skip,
    .ag-nav-link, .ag-nav-link i, .ag-nav-toggle, .ag-row, .ag-link, .ag-back, .ag-tile, .ag-chip,
    .ag-seg-btn, .ag-btn, .ag-input, .ag-textarea, .ag-select, .ag-download, .ag-toast-close,
    a.dash-card, .ag-disclosure-chevron { transition: none; }
    .ag-btn:active, .ag-nav-toggle:active { transform: none; }
}
