/* /Components/AiAvatar.razor.rz.scp.css */
/* ==========================================================================
   AiAvatar: the assistant's robot. CSS keyframes only (no SMIL) and only transform/opacity are animated.
   Tiers: ava--full (>= 96px), ava--mid (48-95px: solid eyes, one sound arc per side),
          ava--xs (< 48px: head cropped, no waves/bubble/shine, a dot badge stands in for the bubble).
   States: ava--idle / --thinking / --speaking / --suggestion.
   Idle motion stops after 3 cycles (WCAG 2.2.2) and resumes on hover or a state change; each state uses its own
   keyframe names so a state change restarts the motion. The Thinking orbit turns for as long as Thinking lasts.
   .is-static shows a still pose per state (the base transforms below ARE those poses); reduced motion drops the
   float, blink and pop but keeps the small in-place state cues (orbit, mouth bars, sound arcs, bulb, glow).
   ========================================================================== */

.ava[b-nzyxnhjw3n] {
    display: inline-block;
    flex-shrink: 0;
    vertical-align: middle;
    overflow: hidden;
}

/* ── Paint ─────────────────────────────────────────────────────────────── */

.ava-stop-gold[b-nzyxnhjw3n] { stop-color: var(--ps-gold, #c8a24c); }
.ava-stop-cream[b-nzyxnhjw3n] { stop-color: var(--ps-ai-cream, #fffaf0); }
.ava-stop-visor[b-nzyxnhjw3n] { stop-color: color-mix(in srgb, var(--ps-brand, #14284a) 78%, #0a1426); }

.ava-gold-part[b-nzyxnhjw3n] {
    stroke: var(--ps-gold-ink, #6f5512);
    stroke-opacity: 0.6;
    stroke-width: 1.6;
    stroke-linejoin: round;
}

.ava-helmet[b-nzyxnhjw3n] {
    stroke: var(--ps-brand, #14284a);
    stroke-opacity: 0.18;
    stroke-width: 1.6;
}

.ava-helmet-shine[b-nzyxnhjw3n] {
    fill: #ffffff;
    opacity: 0.9;
}

.ava-ear-ring[b-nzyxnhjw3n] {
    fill: none;
    stroke: var(--ps-gold-ink, #6f5512);
    stroke-opacity: 0.5;
    stroke-width: 1.4;
}

.ava-ear-hi[b-nzyxnhjw3n] {
    fill: none;
    stroke: #ffffff;
    stroke-opacity: 0.75;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.ava-emblem-core[b-nzyxnhjw3n] { fill: #fbedc4; }

.ava-visor-rim[b-nzyxnhjw3n] {
    fill: none;
    stroke: color-mix(in srgb, var(--ps-brand, #14284a) 55%, #000000);
    stroke-width: 2;
}

.ava-visor-gloss[b-nzyxnhjw3n] {
    fill: #ffffff;
    opacity: 0.14;
}

.ava-visor-glint[b-nzyxnhjw3n] {
    fill: none;
    stroke: #ffffff;
    stroke-opacity: 0.3;
    stroke-width: 2.6;
    stroke-linecap: round;
}

.ava-led[b-nzyxnhjw3n],
.ava-eye-solid[b-nzyxnhjw3n],
.ava-bar[b-nzyxnhjw3n] {
    fill: var(--ps-ai-eye, #5fc4ff);
}

.ava-eye-glow[b-nzyxnhjw3n] {
    fill: var(--ps-ai-eye, #5fc4ff);
    opacity: 0.5;
}

.ava-eye-happy[b-nzyxnhjw3n] {
    fill: none;
    stroke: var(--ps-ai-eye, #5fc4ff);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ava-orbit-track[b-nzyxnhjw3n] {
    fill: none;
    stroke: var(--ps-gold, #c8a24c);
    stroke-opacity: 0.2;
    stroke-width: 3;
}

.ava-orbit-edge[b-nzyxnhjw3n] {
    fill: none;
    stroke: var(--ps-gold-ink, #6f5512);
    stroke-opacity: 0.45;
    stroke-width: 7.6;
    stroke-linecap: round;
}

.ava-orbit-arc[b-nzyxnhjw3n] {
    fill: none;
    stroke: var(--ps-gold, #c8a24c);
    stroke-width: 5;
    stroke-linecap: round;
}

.ava-wave[b-nzyxnhjw3n] {
    fill: none;
    stroke: var(--ps-gold-strong, #b78d2c);
    stroke-width: 4.5;
    stroke-linecap: round;
}

.ava-bulb-glass[b-nzyxnhjw3n],
.ava-bulb-base[b-nzyxnhjw3n] {
    fill: #ffffff;
}

.ava-bulb-filament[b-nzyxnhjw3n] {
    fill: none;
    stroke: var(--ps-gold-ink, #6f5512);
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ava-ray[b-nzyxnhjw3n] {
    fill: none;
    stroke: #ffffff;
    stroke-width: 2.4;
    stroke-linecap: round;
}

.ava-badge[b-nzyxnhjw3n] {
    stroke: #ffffff;
    stroke-width: 5;
}

.ava-photo-bg[b-nzyxnhjw3n] { fill: var(--ps-brand-soft, #e9edf5); }

.ava-photo-ring[b-nzyxnhjw3n] {
    fill: none;
    stroke: var(--ps-gold, #c8a24c);
    stroke-width: 3;
}

/* ── Transform boxes and still poses ───────────────────────────────────── */

.ava-float[b-nzyxnhjw3n],
.ava-eyes[b-nzyxnhjw3n],
.ava-bar[b-nzyxnhjw3n],
.ava-orbit[b-nzyxnhjw3n],
.ava-orbit-spin[b-nzyxnhjw3n],
.ava-bulb[b-nzyxnhjw3n],
.ava-badge[b-nzyxnhjw3n] {
    transform-box: fill-box;
    transform-origin: center;
}

/* The orbit group's box is its full track circle, so its centre is the head centre. Still pose: about 45°. */
.ava-orbit-spin[b-nzyxnhjw3n] { transform: rotate(45deg); }

.ava-chin-glow[b-nzyxnhjw3n] { opacity: 0.5; }

/* Still mouth: mixed bar heights so "speaking" reads without motion. */
.ava-bar:nth-child(1)[b-nzyxnhjw3n] { transform: scaleY(0.45); }
.ava-bar:nth-child(2)[b-nzyxnhjw3n] { transform: scaleY(0.8); }
.ava-bar:nth-child(3)[b-nzyxnhjw3n] { transform: scaleY(1); }
.ava-bar:nth-child(4)[b-nzyxnhjw3n] { transform: scaleY(0.65); }
.ava-bar:nth-child(5)[b-nzyxnhjw3n] { transform: scaleY(0.4); }

.ava-wave--outer[b-nzyxnhjw3n] { opacity: 0.6; }

/* The bubble pops from its tail. */
.ava-bubble[b-nzyxnhjw3n] {
    transform-box: fill-box;
    transform-origin: 12% 100%;
}

/* ── State visibility ──────────────────────────────────────────────────── */

.ava-eyes--solid[b-nzyxnhjw3n],
.ava-eyes--happy[b-nzyxnhjw3n],
.ava-mouthwave[b-nzyxnhjw3n],
.ava-orbit[b-nzyxnhjw3n],
.ava-waves[b-nzyxnhjw3n],
.ava-bubble-pos[b-nzyxnhjw3n],
.ava-badge-pos[b-nzyxnhjw3n] {
    opacity: 0;
    transition: opacity 0.25s ease;
}

.ava-eyes--led[b-nzyxnhjw3n] { transition: opacity 0.25s ease; }

/* Tiers. */
.ava--mid .ava-eyes--led[b-nzyxnhjw3n],
.ava--xs .ava-eyes--led[b-nzyxnhjw3n],
.ava--mid .ava-wave--outer[b-nzyxnhjw3n],
.ava--xs .ava-waves[b-nzyxnhjw3n],
.ava--xs .ava-bubble-pos[b-nzyxnhjw3n],
.ava--xs .ava-helmet-shine[b-nzyxnhjw3n],
.ava--xs .ava-eye-glow[b-nzyxnhjw3n],
.ava-badge-pos[b-nzyxnhjw3n] {
    display: none;
}

.ava--xs .ava-badge-pos[b-nzyxnhjw3n] { display: inline; }

.ava--mid .ava-eyes--solid[b-nzyxnhjw3n],
.ava--xs .ava-eyes--solid[b-nzyxnhjw3n] {
    opacity: 1;
}

/* xs: the orbit is pulled in so it fits the cropped box, and every stroke is thicker so it survives 28px. */
.ava--xs .ava-orbit[b-nzyxnhjw3n] { transform: scale(0.8); }
.ava--xs .ava-orbit-track[b-nzyxnhjw3n] { stroke-width: 5; stroke-opacity: 0.25; }
.ava--xs .ava-orbit-edge[b-nzyxnhjw3n] { stroke-width: 13; }
.ava--xs .ava-orbit-arc[b-nzyxnhjw3n] { stroke-width: 9; }
.ava--xs .ava-gold-part[b-nzyxnhjw3n] { stroke-width: 3; }
.ava--xs .ava-helmet[b-nzyxnhjw3n] { stroke-width: 3; stroke-opacity: 0.28; }
.ava--xs .ava-ear-ring[b-nzyxnhjw3n],
.ava--xs .ava-ear-hi[b-nzyxnhjw3n],
.ava--xs .ava-visor-glint[b-nzyxnhjw3n] {
    display: none;
}
.ava--xs .ava-mouthwave[b-nzyxnhjw3n] { transform-box: fill-box; transform-origin: center; transform: scale(1.35); }
.ava--xs .ava-eye-happy[b-nzyxnhjw3n] { stroke-width: 7; }

/* Thinking: ^ ^ eyes and the gold orbit. */
.ava--thinking .ava-eyes--led[b-nzyxnhjw3n],
.ava--thinking .ava-eyes--solid[b-nzyxnhjw3n] {
    opacity: 0;
}

.ava--thinking .ava-eyes--happy[b-nzyxnhjw3n],
.ava--thinking .ava-orbit[b-nzyxnhjw3n] {
    opacity: 1;
}

/* Speaking: mouth bars and side sound arcs. */
.ava--speaking .ava-mouthwave[b-nzyxnhjw3n],
.ava--speaking .ava-waves[b-nzyxnhjw3n] {
    opacity: 1;
}

/* Suggestion: the lightbulb bubble (or the badge dot at xs). */
.ava--suggestion .ava-bubble-pos[b-nzyxnhjw3n],
.ava--suggestion .ava-badge-pos[b-nzyxnhjw3n] {
    opacity: 1;
}

/* ── RTL: only the bubble (and its xs badge) moves to the top-start corner; the bulb is flipped back. ── */

.ava.is-rtl .ava-bubble-pos[b-nzyxnhjw3n],
.ava.is-rtl .ava-badge-pos[b-nzyxnhjw3n] {
    transform-box: view-box;
    transform-origin: 100px 0;
    transform: scaleX(-1);
}

.ava.is-rtl .ava-bulb[b-nzyxnhjw3n] { transform: scaleX(-1); }

/* ── Motion ────────────────────────────────────────────────────────────── */

/* Idle: soft float, glow pulse and a blink, three cycles then rest. */
.ava--idle .ava-float[b-nzyxnhjw3n] { animation: ava-float-idle-b-nzyxnhjw3n 4s ease-in-out 3; }
.ava--idle .ava-chin-glow[b-nzyxnhjw3n] { animation: ava-glow-b-nzyxnhjw3n 4s ease-in-out 3; }
.ava--idle .ava-eyes--led[b-nzyxnhjw3n],
.ava--idle .ava-eyes--solid[b-nzyxnhjw3n] {
    animation: ava-blink-idle-b-nzyxnhjw3n 6s ease-in-out 3;
}

.ava--idle:hover .ava-float[b-nzyxnhjw3n],
.ava--idle:hover .ava-chin-glow[b-nzyxnhjw3n],
.ava--idle:hover .ava-eyes--led[b-nzyxnhjw3n],
.ava--idle:hover .ava-eyes--solid[b-nzyxnhjw3n] {
    animation-iteration-count: infinite;
}

/* Thinking: the orbit is a loading indicator, so it turns for as long as the AI is working (a reply can take 10s or
   more). The float slows down and rests after one cycle. */
.ava--thinking .ava-float[b-nzyxnhjw3n] { animation: ava-float-slow-b-nzyxnhjw3n 6s ease-in-out 1; }
.ava--thinking .ava-orbit-spin[b-nzyxnhjw3n] { animation: ava-spin-b-nzyxnhjw3n 1.6s linear infinite; }

.ava--thinking:hover .ava-float[b-nzyxnhjw3n],
.ava--thinking:hover .ava-orbit-spin[b-nzyxnhjw3n] {
    animation-iteration-count: infinite;
}

/* Speaking (a few seconds at most): bars bounce, arcs pulse outwards. */
.ava--speaking .ava-float[b-nzyxnhjw3n] { animation: ava-float-speak-b-nzyxnhjw3n 4s ease-in-out 1; }
.ava--speaking .ava-bar[b-nzyxnhjw3n] { animation: ava-bar-b-nzyxnhjw3n 0.9s ease-in-out infinite; }
.ava--speaking .ava-bar:nth-child(2)[b-nzyxnhjw3n],
.ava--speaking .ava-bar:nth-child(4)[b-nzyxnhjw3n] {
    animation-delay: 0.15s;
}
.ava--speaking .ava-bar:nth-child(3)[b-nzyxnhjw3n] { animation-delay: 0.3s; }
.ava--speaking .ava-wave[b-nzyxnhjw3n] { animation: ava-wave-b-nzyxnhjw3n 1.4s ease-in-out infinite; }
.ava--speaking .ava-wave--outer[b-nzyxnhjw3n] { animation-delay: 0.3s; }

/* Suggestion: the bubble pops once, then the bulb twinkles a few times. */
.ava--suggestion .ava-float[b-nzyxnhjw3n] { animation: ava-float-suggest-b-nzyxnhjw3n 4s ease-in-out 3; }
.ava--suggestion .ava-eyes--led[b-nzyxnhjw3n],
.ava--suggestion .ava-eyes--solid[b-nzyxnhjw3n] {
    animation: ava-blink-suggest-b-nzyxnhjw3n 6s ease-in-out 3;
}
.ava--suggestion .ava-bubble[b-nzyxnhjw3n] { animation: ava-pop-b-nzyxnhjw3n 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.2) 1 both; }
.ava--suggestion .ava-ray[b-nzyxnhjw3n] { animation: ava-twinkle-b-nzyxnhjw3n 2.4s ease-in-out 0.4s 3; }
.ava--suggestion .ava-ray:nth-child(2)[b-nzyxnhjw3n],
.ava--suggestion .ava-ray:nth-child(3)[b-nzyxnhjw3n] {
    animation-delay: 0.7s;
}
.ava--suggestion .ava-ray:nth-child(4)[b-nzyxnhjw3n],
.ava--suggestion .ava-ray:nth-child(5)[b-nzyxnhjw3n] {
    animation-delay: 1s;
}
.ava--suggestion .ava-badge[b-nzyxnhjw3n] { animation: ava-badge-b-nzyxnhjw3n 0.5s ease-out 1; }

.ava--suggestion:hover .ava-float[b-nzyxnhjw3n],
.ava--suggestion:hover .ava-eyes--led[b-nzyxnhjw3n],
.ava--suggestion:hover .ava-eyes--solid[b-nzyxnhjw3n] {
    animation-iteration-count: infinite;
}

/* Still avatar: frozen pose (Animated=false) or the user asked for less motion. */
.ava.is-static[b-nzyxnhjw3n],
.ava.is-static *[b-nzyxnhjw3n] {
    animation: none !important;
    transition: none !important;
}

/* Less motion (Windows "Animation effects" off, which is the default on Windows Server and many managed PCs): no
   floating, popping or blinking, but the small in-place state cues stay so Thinking and Speaking remain visible: the
   orbit turns (as a loading spinner does), the mouth bars and sound arcs pulse, the bulb twinkles, the glow breathes. */
@media (prefers-reduced-motion: reduce) {
    .ava .ava-float[b-nzyxnhjw3n],
    .ava .ava-eyes--led[b-nzyxnhjw3n],
    .ava .ava-eyes--solid[b-nzyxnhjw3n],
    .ava .ava-bubble[b-nzyxnhjw3n],
    .ava .ava-badge[b-nzyxnhjw3n] {
        animation: none !important;
    }

    .ava[b-nzyxnhjw3n],
    .ava *[b-nzyxnhjw3n] {
        transition: none !important;
    }

    .ava--thinking .ava-orbit-spin[b-nzyxnhjw3n] { animation-duration: 2.4s; }
}

@keyframes ava-float-idle-b-nzyxnhjw3n {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes ava-float-slow-b-nzyxnhjw3n {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes ava-float-speak-b-nzyxnhjw3n {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes ava-float-suggest-b-nzyxnhjw3n {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes ava-glow-b-nzyxnhjw3n {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 0.7; }
}

@keyframes ava-blink-idle-b-nzyxnhjw3n {
    0%, 93%, 100% { transform: scaleY(1); }
    96.5% { transform: scaleY(0.1); }
}

@keyframes ava-blink-suggest-b-nzyxnhjw3n {
    0%, 93%, 100% { transform: scaleY(1); }
    96.5% { transform: scaleY(0.1); }
}

@keyframes ava-spin-b-nzyxnhjw3n {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes ava-bar-b-nzyxnhjw3n {
    0%, 100% { transform: scaleY(0.3); }
    50% { transform: scaleY(1); }
}

@keyframes ava-wave-b-nzyxnhjw3n {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

@keyframes ava-pop-b-nzyxnhjw3n {
    0% { transform: scale(0.6); opacity: 0; }
    60% { transform: scale(1.08); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes ava-twinkle-b-nzyxnhjw3n {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.25; }
}

@keyframes ava-badge-b-nzyxnhjw3n {
    0% { transform: scale(0.5); }
    60% { transform: scale(1.2); }
    100% { transform: scale(1); }
}
/* /Components/AiDocumentCheck.razor.rz.scp.css */
.ai-check[b-8ukmy4fvae] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    line-height: 1.4;
}

.ai-check-badges[b-8ukmy4fvae] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.ai-check-badge[b-8ukmy4fvae] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    color: #1b5e20;
    font-weight: 600;
}

.ai-check-badge .material-icons[b-8ukmy4fvae] {
    font-size: 1rem;
}

.ai-check-warning[b-8ukmy4fvae] {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 0.5rem 0.7rem;
    border-radius: var(--ps-radius, 8px);
    background: #fff8e1;
    border: 1px solid #ffe082;
    color: #6d4c00;
}

.ai-check-warning .material-icons[b-8ukmy4fvae] {
    font-size: 1.1rem;
    color: #f57f17;
    flex-shrink: 0;
}

.ai-check-error[b-8ukmy4fvae] {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 0.5rem 0.7rem;
    border-radius: var(--ps-radius, 8px);
    background: #ffebee;
    border: 1px solid #ef9a9a;
    color: #b71c1c;
}

.ai-check-error .material-icons[b-8ukmy4fvae] {
    font-size: 1.1rem;
    color: #d32f2f;
    flex-shrink: 0;
}

.ai-check-reason[b-8ukmy4fvae] {
    display: block;
    margin-top: 0.15rem;
    color: #7f1d1d;
}

.ai-check-note .ai-check-reason[b-8ukmy4fvae] {
    color: inherit;
}

.ai-check-note[b-8ukmy4fvae] {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    color: var(--ps-text-muted, #666);
}

.ai-check-note .material-icons[b-8ukmy4fvae] {
    font-size: 1rem;
    flex-shrink: 0;
}

.ai-check-progress[b-8ukmy4fvae] {
    flex-direction: row;
    align-items: center;
    color: var(--ps-text-muted, #666);
}

.ai-check-spinner[b-8ukmy4fvae] {
    width: 0.8rem;
    height: 0.8rem;
    border: 2px solid var(--ps-border, #ddd);
    border-top-color: var(--ps-brand, #1a237e);
    border-radius: 50%;
    animation: ai-check-spin-b-8ukmy4fvae 0.9s linear infinite;
    flex-shrink: 0;
}

@keyframes ai-check-spin-b-8ukmy4fvae {
    to { transform: rotate(360deg); }
}

.ai-check.is-compact[b-8ukmy4fvae] {
    margin-top: 0.3rem;
    font-size: 0.7rem;
    gap: 0.25rem;
}

.ai-check.is-compact .ai-check-badge[b-8ukmy4fvae] {
    padding: 0.1rem 0.45rem;
}

.ai-check.is-compact .ai-check-badge .material-icons[b-8ukmy4fvae] {
    font-size: 0.85rem;
}

.ai-check.is-compact .ai-check-warning[b-8ukmy4fvae] {
    padding: 0.3rem 0.45rem;
}

.ai-check.is-compact .ai-check-warning .material-icons[b-8ukmy4fvae] {
    font-size: 0.9rem;
}

.ai-check.is-compact .ai-check-error[b-8ukmy4fvae] {
    padding: 0.3rem 0.45rem;
}

.ai-check.is-compact .ai-check-error .material-icons[b-8ukmy4fvae],
.ai-check.is-compact .ai-check-note .material-icons[b-8ukmy4fvae] {
    font-size: 0.9rem;
}

@media (prefers-reduced-motion: reduce) {
    .ai-check-spinner[b-8ukmy4fvae] {
        animation-duration: 2.5s;
    }
}

/* ── Said by the assistant's avatar (Assistant set, on the application form) ──
   Reads like the notes on typed answers (AiFieldNudge): the small avatar hovers at the start and the result is a
   speech bubble from it, tail pointing back, its sentence typed in. The bubble's colour follows the verdict (green
   looks right, red needs another look, cream while checking or for a note), always with an icon and words, never
   colour alone. Logical properties keep it right in Arabic. */
.ai-say[b-8ukmy4fvae] {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin-top: 0.6rem;
    text-align: start;
}

.ai-say.is-compact[b-8ukmy4fvae] {
    gap: 0.5rem;
    margin-top: 0.4rem;
}

.ai-say-avatar[b-8ukmy4fvae] {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    line-height: 0;
    --ams-drift-x: 2px;
    --ams-drift-y: 3px;
}

.ai-say.is-compact .ai-say-avatar[b-8ukmy4fvae] {
    flex-basis: 24px;
    width: 24px;
    height: 24px;
}

.ai-say-bubble[b-8ukmy4fvae] {
    --say-bg: var(--ps-ai-cream, #fffaf0);
    --say-bg2: var(--ps-gold-soft, #fbf3df);
    --say-border: var(--ps-gold-border, #e8d5a6);
    --say-ink: var(--ps-text, #1e293b);
    --say-icon: var(--ps-gold-ink, #8a6d1f);
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    padding: 0.55rem 0.8rem;
    border: 1px solid var(--say-border);
    border-radius: 14px;
    border-start-start-radius: 6px;
    background: linear-gradient(135deg, var(--say-bg) 0%, var(--say-bg2) 100%);
    color: var(--say-ink);
    box-shadow: 0 4px 14px color-mix(in srgb, var(--say-border) 45%, transparent);
    transform-origin: 0 12px;
    animation: ai-say-in-b-8ukmy4fvae 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.25) both;
}

.ai-say[dir="rtl"] .ai-say-bubble[b-8ukmy4fvae] {
    transform-origin: 100% 12px;
}

.ai-say-bubble[b-8ukmy4fvae]::before {
    content: "";
    position: absolute;
    top: 11px;
    inset-inline-start: -6px;
    width: 10px;
    height: 10px;
    background: var(--say-bg);
    border-inline-start: 1px solid var(--say-border);
    border-block-end: 1px solid var(--say-border);
    transform: rotate(45deg);
}

.ai-say[dir="rtl"] .ai-say-bubble[b-8ukmy4fvae]::before {
    transform: rotate(-45deg);
}

.ai-say.is-compact .ai-say-bubble[b-8ukmy4fvae] {
    padding: 0.4rem 0.6rem;
}

.ai-say.is-compact .ai-say-bubble[b-8ukmy4fvae]::before {
    top: 7px;
}

.ai-say.is-ok .ai-say-bubble[b-8ukmy4fvae] {
    --say-bg: #f1f8f1;
    --say-bg2: #e8f5e9;
    --say-border: #a5d6a7;
    --say-ink: #1b5e20;
    --say-icon: #2e7d32;
}

.ai-say.is-bad .ai-say-bubble[b-8ukmy4fvae] {
    --say-bg: #fff5f5;
    --say-bg2: #ffebee;
    --say-border: #ef9a9a;
    --say-ink: #8e1c1c;
    --say-icon: #c62828;
}

.ai-say-text[b-8ukmy4fvae] {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.ai-say.is-compact .ai-say-text[b-8ukmy4fvae] {
    font-size: 0.8rem;
}

.ai-say-icon[b-8ukmy4fvae] {
    flex-shrink: 0;
    margin-top: 0.05rem;
    font-size: 1.1rem;
    color: var(--say-icon);
}

.ai-say-detail[b-8ukmy4fvae] {
    margin: 0.3rem 0 0;
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.45;
    overflow-wrap: anywhere;
    /* Follows the typed sentence rather than showing before it: invisible (still read by screen readers) until the
       sentence has been said (.is-said), then it fades in. */
    opacity: 0;
}

.ai-say-bubble.is-said .ai-say-detail[b-8ukmy4fvae] {
    animation: ai-say-detail-in-b-8ukmy4fvae 0.4s ease-out both;
}

.ai-say.is-compact .ai-say-detail[b-8ukmy4fvae] {
    font-size: 0.78rem;
}

.ai-say-sr[b-8ukmy4fvae] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

@keyframes ai-say-in-b-8ukmy4fvae {
    from { opacity: 0; transform: scale(0.7); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes ai-say-detail-in-b-8ukmy4fvae {
    from { opacity: 0; }
    to { opacity: 1; }
}
/* /Components/AiFieldHelper.razor.rz.scp.css */
/* Sits at the end of the focused field's label row (right in English, left in Arabic). The hint bubble
   opens above the avatar, pointing at it, so it never covers the control being filled in. The avatar hovers there
   (.ams-drift, with a small reach) and glides in from the last field; amsAssistant.glide adds .is-gliding meanwhile.
   The bubble is rendered only once it has landed, and its text is typed in (AiTypewriter). */
.afh[b-vvrnrqmzim] {
    --afh-violet: #7c5cff;
    --afh-cyan: #22b8cf;

    position: absolute;
    top: -22px;
    inset-inline-end: 0;
    z-index: 30;
}

.afh-drift[b-vvrnrqmzim] {
    --ams-drift-x: 3px;
    --ams-drift-y: 3px;
    line-height: 0;
}

/* The typed note next to the lightbulb takes the remaining width. */
.afh-bubble[b-vvrnrqmzim]  .afh-bubble-text {
    flex: 1 1 auto;
    min-width: 0;
}

.afh-avatar[b-vvrnrqmzim] {
    position: relative;
    width: 56px;
    height: 56px;
    padding: 2px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ps-brand), var(--afh-violet), var(--afh-cyan));
    box-shadow: 0 6px 16px color-mix(in srgb, var(--afh-violet) 30%, transparent);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease;
    /* Not shown until amsAssistant.glide decides how it arrives (it would otherwise appear at the new field and then
       jump back to fly over); should the script never answer, it simply appears after a moment. */
    opacity: 0;
    animation: afh-show-b-vvrnrqmzim 0.2s ease-out 0.9s forwards;
}

/* No earlier field to come from (or too far away): it pops up in place. */
.afh.is-popped .afh-avatar[b-vvrnrqmzim] {
    opacity: 1;
    animation: afh-pop-b-vvrnrqmzim 0.28s cubic-bezier(0.2, 0.9, 0.3, 1.3);
}

/* Flying over from the last field, and landed: already on screen, so no pop. */
.afh.is-gliding .afh-avatar[b-vvrnrqmzim],
.afh.is-glided .afh-avatar[b-vvrnrqmzim] {
    opacity: 1;
    animation: none;
}

/* In flight it glows, at the head of the fading trail amsAssistant.glide leaves behind it. */
.afh.is-gliding .afh-avatar[b-vvrnrqmzim] {
    box-shadow:
        0 0 0 4px color-mix(in srgb, var(--afh-violet) 18%, transparent),
        0 10px 28px color-mix(in srgb, var(--afh-violet) 40%, transparent);
}

/* At a note card: it sits in the card's avatar slot, beside the note it is saying, instead of on the label row. */
.afh--note[b-vvrnrqmzim] {
    position: relative;
    top: auto;
    inset-inline-end: auto;
    display: inline-block;
    line-height: 0;
}

.afh-avatar[b-vvrnrqmzim]  .pa-avatar {
    border: 2px solid var(--ps-surface);
}

/* The animated robot sits on a plain surface circle instead of the gradient disc and ring, so its cream helmet and
   gold parts read clearly. */
.afh-avatar.is-robot[b-vvrnrqmzim] {
    padding: 0;
    border: 1px solid var(--ps-border);
    background: var(--ps-surface);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--ps-brand) 18%, transparent);
}

.afh-avatar.is-robot[b-vvrnrqmzim]  .pa-avatar {
    border: 0;
}

.afh-avatar.is-robot:focus-visible[b-vvrnrqmzim] {
    box-shadow: var(--ps-focus-ring), 0 4px 12px color-mix(in srgb, var(--ps-brand) 18%, transparent);
}

.afh-avatar:hover[b-vvrnrqmzim] {
    transform: scale(1.08);
}

.afh-avatar:focus-visible[b-vvrnrqmzim] {
    outline: none;
    box-shadow: var(--ps-focus-ring), 0 6px 16px color-mix(in srgb, var(--afh-violet) 30%, transparent);
}

.afh-spark[b-vvrnrqmzim] {
    position: absolute;
    inset-block-start: -6px;
    inset-inline-end: -6px;
    font-size: 16px;
    color: var(--afh-violet);
    text-shadow: 0 0 8px color-mix(in srgb, var(--afh-violet) 45%, transparent);
    animation: afh-twinkle-b-vvrnrqmzim 2.8s ease-in-out infinite;
}

.afh-bubble[b-vvrnrqmzim] {
    position: absolute;
    bottom: calc(100% + 12px);
    inset-inline-end: -4px;
    width: max-content;
    max-width: min(360px, 72vw);
    padding: 0.6rem 0.85rem;
    border: 1px solid color-mix(in srgb, var(--afh-violet) 28%, var(--ps-border));
    border-radius: 14px;
    background: linear-gradient(135deg,
        var(--ps-surface) 0%,
        color-mix(in srgb, var(--afh-violet) 5%, var(--ps-surface)) 100%);
    box-shadow: var(--ps-shadow);
    color: var(--ps-text);
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.5;
    white-space: pre-line;
    overflow-wrap: anywhere;
    text-align: start;
    transform-origin: calc(100% - 24px) 100%;
    animation: afh-bubble-in-b-vvrnrqmzim 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.25);
}

.afh[dir="rtl"] .afh-bubble[b-vvrnrqmzim] {
    transform-origin: 24px 100%;
}

/* The tail, pointing down at the avatar. */
.afh-bubble[b-vvrnrqmzim]::after {
    content: "";
    position: absolute;
    top: 100%;
    inset-inline-end: 22px;
    width: 12px;
    height: 12px;
    margin-top: -6px;
    background: color-mix(in srgb, var(--afh-violet) 5%, var(--ps-surface));
    border-inline-end: 1px solid color-mix(in srgb, var(--afh-violet) 28%, var(--ps-border));
    border-bottom: 1px solid color-mix(in srgb, var(--afh-violet) 28%, var(--ps-border));
    transform: rotate(45deg);
}

.afh[dir="rtl"] .afh-bubble[b-vvrnrqmzim]::after {
    transform: rotate(-45deg);
}

/* A nudge in the bubble: the gold note colours, at 16px. */
.afh-bubble--nudge[b-vvrnrqmzim] {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    border-color: var(--ps-gold-border);
    background: linear-gradient(135deg, var(--ps-ai-cream) 0%, var(--ps-gold-soft) 100%);
    font-size: 1rem;
}

.afh-bubble--nudge[b-vvrnrqmzim]::after {
    background: var(--ps-gold-soft);
    border-inline-end-color: var(--ps-gold-border);
    border-bottom-color: var(--ps-gold-border);
}

.afh-bubble-icon[b-vvrnrqmzim] {
    flex-shrink: 0;
    margin-top: 0.1rem;
    font-size: 1.1rem;
    color: var(--ps-gold-ink);
}

@keyframes afh-show-b-vvrnrqmzim {
    to { opacity: 1; }
}

@keyframes afh-pop-b-vvrnrqmzim {
    from { opacity: 0; transform: scale(0.6); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes afh-bubble-in-b-vvrnrqmzim {
    from { opacity: 0; transform: translateY(8px) scale(0.85); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes afh-twinkle-b-vvrnrqmzim {
    0%, 100% { opacity: 0.55; transform: scale(0.9) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.1) rotate(12deg); }
}

/* The avatar's arrival and its bubble animate whatever the "reduce motion" setting (they carry .ams-live, see
   portal.css); only the still look's twinkling spark stops. */
@media (prefers-reduced-motion: reduce) {
    .afh-spark[b-vvrnrqmzim] {
        animation: none;
    }
}
/* /Components/AiFieldNudge.razor.rz.scp.css */
/* A soft gold note directly under the entry it is about, never floating over the next field. Text stays at 16px or
   more, the lightbulb icon carries the meaning with the text (not colour alone), and gold-ink on cream keeps the
   contrast. Logical properties keep it right in Arabic. */
.ain[b-cnoedean1m] {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-top: 0.5rem;
    padding: 0.7rem 0.8rem;
    padding-inline-end: 2.6rem;
    border: 1px solid var(--ps-gold-border);
    border-inline-start: 4px solid var(--ps-gold);
    border-radius: var(--ps-radius-sm);
    background: linear-gradient(135deg, var(--ps-ai-cream) 0%, var(--ps-gold-soft) 100%);
    color: var(--ps-text);
    font-size: 1rem;
    line-height: 1.55;
    text-align: start;
    animation: ain-in-b-cnoedean1m 0.28s ease-out;
}

.ain--warn[b-cnoedean1m] {
    border-inline-start-color: var(--ps-gold-strong);
}

.ain--compact[b-cnoedean1m] {
    margin-top: 0.35rem;
    padding: 0.55rem 0.6rem;
    padding-inline-end: 2.3rem;
    min-width: 14rem;
}

.ain-avatar[b-cnoedean1m] {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    margin-top: 0.1rem;
}

/* The full card (not in a list cell) reads as a chat message: the avatar hovers at the start and the note is a
   speech bubble from it, tail pointing back at it, its text typed in letter by letter (AiTypewriter). */
.ain:not(.ain--compact)[b-cnoedean1m] {
    gap: 0.8rem;
    padding: 0;
    padding-inline-end: 0;
    border: 0;
    background: none;
}

/* The form's floating avatar in the slot (AiFieldHelper, Note mode): larger, and it carries its own hover. */
.ain-avatar--floating[b-cnoedean1m] {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    margin-top: -0.35rem;
}

/* The tail points at the bigger avatar's face. */
.ain-avatar--floating + .ain-body[b-cnoedean1m]::before {
    top: 18px;
}

/* The avatar is still flying here: the bubble waits, then pops out of it (the animation starts when this goes). */
.ain:not(.ain--compact) .ain-body.is-waiting[b-cnoedean1m] {
    opacity: 0;
    animation: none;
}

.ain-drift[b-cnoedean1m] {
    --ams-drift-x: 2px;
    --ams-drift-y: 3px;
    line-height: 0;
}

.ain:not(.ain--compact) .ain-body[b-cnoedean1m] {
    position: relative;
    padding: 0.7rem 0.9rem;
    padding-inline-end: 2.6rem;
    border: 1px solid var(--ps-gold-border);
    border-radius: 16px;
    border-start-start-radius: 6px;
    background: linear-gradient(135deg, var(--ps-ai-cream) 0%, var(--ps-gold-soft) 100%);
    box-shadow: 0 6px 18px color-mix(in srgb, var(--ps-gold) 16%, transparent);
    transform-origin: 0 14px;
    animation: ain-say-in-b-cnoedean1m 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.25) both;
}

.ain--warn:not(.ain--compact) .ain-body[b-cnoedean1m] {
    border-color: color-mix(in srgb, var(--ps-gold-strong) 60%, var(--ps-gold-border));
}

.ain:not(.ain--compact) .ain-body[b-cnoedean1m]::before {
    content: "";
    position: absolute;
    top: 12px;
    inset-inline-start: -7px;
    width: 12px;
    height: 12px;
    background: var(--ps-ai-cream);
    border-inline-start: 1px solid var(--ps-gold-border);
    border-block-end: 1px solid var(--ps-gold-border);
    transform: rotate(45deg);
}

.ain--warn:not(.ain--compact) .ain-body[b-cnoedean1m]::before {
    border-color: color-mix(in srgb, var(--ps-gold-strong) 60%, var(--ps-gold-border));
}

.ain[dir="rtl"]:not(.ain--compact) .ain-body[b-cnoedean1m] {
    transform-origin: 100% 14px;
}

.ain[dir="rtl"]:not(.ain--compact) .ain-body[b-cnoedean1m]::before {
    transform: rotate(-45deg);
}

/* The typed note takes the line's remaining width next to the lightbulb. */
.ain-say[b-cnoedean1m] {
    flex: 1 1 auto;
    min-width: 0;
}

@keyframes ain-say-in-b-cnoedean1m {
    from { opacity: 0; transform: scale(0.7); }
    to { opacity: 1; transform: scale(1); }
}

.ain-body[b-cnoedean1m] {
    flex: 1 1 auto;
    min-width: 0;
}

.ain-text[b-cnoedean1m] {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    overflow-wrap: anywhere;
}

.ain-icon[b-cnoedean1m] {
    flex-shrink: 0;
    margin-top: 0.15rem;
    font-size: 1.15rem;
    color: var(--ps-gold-ink);
}

.ain-actions[b-cnoedean1m] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.55rem;
}

.ain-btn[b-cnoedean1m] {
    min-height: 40px;
    padding: 0.35rem 0.9rem;
    border: 1px solid var(--ps-gold-border);
    border-radius: var(--ps-radius-pill);
    background: var(--ps-surface);
    color: var(--ps-gold-ink);
    font: inherit;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.ain-btn:hover[b-cnoedean1m] {
    background: var(--ps-gold-soft-2);
    border-color: var(--ps-gold);
}

.ain-btn--primary[b-cnoedean1m] {
    border-color: var(--ps-gold-ink);
    background: var(--ps-gold-ink);
    color: #fff;
}

.ain-btn--primary:hover[b-cnoedean1m] {
    background: color-mix(in srgb, var(--ps-gold-ink) 85%, #000);
    border-color: color-mix(in srgb, var(--ps-gold-ink) 85%, #000);
}

.ain-btn:focus-visible[b-cnoedean1m],
.ain-close:focus-visible[b-cnoedean1m],
.ain-dot:focus-visible[b-cnoedean1m],
.ain:focus-visible[b-cnoedean1m] {
    outline: none;
    box-shadow: var(--ps-focus-ring);
}

/* Focused by script after a dot was opened; the ring shows only for keyboard focus. */
.ain:focus:not(:focus-visible)[b-cnoedean1m] {
    outline: none;
}

.ain-close[b-cnoedean1m] {
    position: absolute;
    inset-block-start: 0.35rem;
    inset-inline-end: 0.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--ps-gold-ink);
    cursor: pointer;
}

.ain-close:hover[b-cnoedean1m] {
    background: var(--ps-gold-soft-2);
}

.ain-close .material-icons[b-cnoedean1m] {
    font-size: 1.2rem;
}

/* The still dot: by the field label, or inline in a list cell. The button is larger than the dot for touch. */
.ain-dot[b-cnoedean1m] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-inline-start: 0.25rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    vertical-align: middle;
    cursor: pointer;
}

.ain-dot--inline[b-cnoedean1m] {
    margin-top: 0.2rem;
    margin-inline-start: 0;
}

.ain-dot-mark[b-cnoedean1m] {
    width: 12px;
    height: 12px;
    border: 2px solid var(--ps-gold-ink);
    border-radius: 50%;
    background: var(--ps-gold);
}

.ain-dot:hover .ain-dot-mark[b-cnoedean1m] {
    background: var(--ps-gold-strong);
}

.ain-sr[b-cnoedean1m] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@keyframes ain-in-b-cnoedean1m {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .ain[b-cnoedean1m] {
        animation: none;
    }

    .ain-btn[b-cnoedean1m] {
        transition: none;
    }
}
/* /Components/AiTypewriter.razor.rz.scp.css */
/* The real text (.tw-src) keeps its place and size; the typed copy (.tw-out) is laid exactly over it with the same
   font and width. The copy always holds the whole text, the letters still to come invisible (.tw-rest), so its
   lines break exactly where the finished text's do and no half-typed word jumps to the next line. */
.tw[b-kz8upjpsqd] {
    position: relative;
    display: block;
}

/* Hidden only until the script takes over; if it never does (no script, AI switched off mid-page), the text shows by
   itself after a moment instead of staying blank. */
.tw:not(.is-armed):not(.is-done) > .tw-src[b-kz8upjpsqd] {
    opacity: 0;
    animation: tw-fallback-b-kz8upjpsqd 0.2s ease-out 1.2s forwards;
}

/* Transparent, not hidden: screen readers still read the whole text, and links in it stay where they are. */
.tw.is-armed > .tw-src[b-kz8upjpsqd] {
    opacity: 0;
    animation: none;
}

.tw-out[b-kz8upjpsqd] {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.tw.is-armed[b-kz8upjpsqd] {
    cursor: pointer;
}

/* The copy's elements come from the caller's markup (cloned by the script), so they are reached with ::deep. */
.tw-out[b-kz8upjpsqd]  .tw-rest {
    visibility: hidden;
}

/* The caret takes no width, so it never changes where a line breaks; its dot hangs just after the last letter. */
.tw-out[b-kz8upjpsqd]  .tw-caret {
    position: relative;
    display: inline-block;
    width: 0;
    height: 1em;
    vertical-align: baseline;
}

.tw-out[b-kz8upjpsqd]  .tw-caret::after {
    content: "";
    position: absolute;
    bottom: 0.1em;
    inset-inline-start: 0.12em;
    width: 0.45em;
    height: 0.45em;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.55;
    animation: tw-caret-b-kz8upjpsqd 0.7s ease-in-out infinite;
}

@keyframes tw-fallback-b-kz8upjpsqd {
    to { opacity: 1; }
}

@keyframes tw-caret-b-kz8upjpsqd {
    0%, 100% { opacity: 0.2; transform: scale(0.7); }
    50% { opacity: 0.7; transform: scale(1); }
}
/* /Components/AssistantChatPanel.razor.rz.scp.css */
/* The panel fills the rest of its host's column (the floating window, or an embedded card): the message list
   scrolls and the question box stays at the bottom. */
.acp[b-7mq29wwjfz] {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.pa-messages[b-7mq29wwjfz] {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 14px;
    background: var(--ps-bg);
}

.pa-msg[b-7mq29wwjfz] {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.pa-msg-user[b-7mq29wwjfz] {
    justify-content: flex-end;
}

.pa-bubble[b-7mq29wwjfz] {
    max-width: 82%;
    padding: 10px 13px;
    border-radius: 16px;
    font-size: 0.9rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.pa-msg-bot .pa-bubble[b-7mq29wwjfz] {
    background: var(--ps-surface);
    color: var(--ps-text);
    border: 1px solid var(--ps-border);
    border-end-start-radius: 4px;
}

.pa-msg-user .pa-bubble[b-7mq29wwjfz] {
    background: var(--ps-brand);
    color: var(--ps-on-brand, #fff);
    border-end-end-radius: 4px;
    white-space: pre-wrap;
}

.pa-msg-bot .pa-bubble-error[b-7mq29wwjfz] {
    background: #fff5f5;
    border-color: #f5c2c2;
    color: #9b1c1c;
}

.pa-bot-col[b-7mq29wwjfz] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    max-width: 82%;
    min-width: 0;
}

.pa-bot-col .pa-bubble[b-7mq29wwjfz] {
    max-width: 100%;
}

.pa-rate[b-7mq29wwjfz] {
    display: flex;
    align-items: center;
    gap: 2px;
    padding-inline-start: 4px;
}

.pa-rate-btn[b-7mq29wwjfz] {
    width: 26px;
    height: 26px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--ps-text-faint);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.pa-rate-btn .material-icons[b-7mq29wwjfz] {
    font-size: 15px;
}

.pa-rate-btn:hover:not(:disabled)[b-7mq29wwjfz] {
    background: var(--ps-border);
    color: var(--ps-text);
}

.pa-rate-btn:disabled[b-7mq29wwjfz] {
    cursor: default;
    opacity: 0.45;
}

.pa-rate-btn.is-on[b-7mq29wwjfz] {
    color: var(--ps-brand);
    opacity: 1;
}

.pa-rate-thanks[b-7mq29wwjfz] {
    margin-inline-start: 4px;
    color: var(--ps-text-faint);
    font-size: 0.72rem;
}

.pa-bubble[b-7mq29wwjfz]  p {
    margin: 0 0 0.5em;
}

.pa-bubble[b-7mq29wwjfz]  p:last-child {
    margin-bottom: 0;
}

.pa-bubble[b-7mq29wwjfz]  ul,
.pa-bubble[b-7mq29wwjfz]  ol {
    margin: 0.25em 0 0.5em;
    padding-inline-start: 1.3em;
}

.pa-bubble[b-7mq29wwjfz]  li {
    margin-bottom: 0.2em;
}

.pa-bubble[b-7mq29wwjfz]  a {
    color: var(--ps-brand);
    font-weight: 600;
    text-decoration: underline;
}

.pa-typing[b-7mq29wwjfz] {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    padding: 14px 16px;
}

.pa-typing span[b-7mq29wwjfz] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ps-text-faint);
    animation: pa-bounce-b-7mq29wwjfz 1.2s infinite ease-in-out;
}

.pa-typing span:nth-child(2)[b-7mq29wwjfz] {
    animation-delay: 0.15s;
}

.pa-typing span:nth-child(3)[b-7mq29wwjfz] {
    animation-delay: 0.3s;
}

@keyframes pa-bounce-b-7mq29wwjfz {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
    40% { transform: translateY(-4px); opacity: 1; }
}

.pa-suggestions[b-7mq29wwjfz] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-inline-start: 36px;
}

.pa-chip[b-7mq29wwjfz] {
    padding: 6px 12px;
    border: 1px solid var(--ps-brand-soft-2);
    border-radius: var(--ps-radius-pill);
    background: var(--ps-surface);
    color: var(--ps-brand);
    font: inherit;
    font-size: 0.82rem;
    text-align: start;
    cursor: pointer;
}

.pa-chip:hover[b-7mq29wwjfz] {
    background: var(--ps-brand-soft);
}

.pa-compose[b-7mq29wwjfz] {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 10px 12px;
    border-top: 1px solid var(--ps-border);
    background: var(--ps-surface);
}

.pa-input[b-7mq29wwjfz] {
    flex: 1;
    box-sizing: border-box;
    min-height: 40px;
    max-height: 120px;
    padding: 9px 12px;
    resize: none;
    border: 1px solid var(--ps-border-strong);
    border-radius: 12px;
    background: var(--ps-surface);
    color: var(--ps-text);
    font: inherit;
    font-size: 0.9rem;
    line-height: 1.4;
}

.pa-input:focus[b-7mq29wwjfz] {
    outline: none;
    border-color: var(--ps-brand);
    box-shadow: var(--ps-focus-ring);
}

.pa-send[b-7mq29wwjfz] {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border: 0;
    border-radius: 50%;
    background: var(--ps-brand);
    color: var(--ps-on-brand, #fff);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.pa-send:disabled[b-7mq29wwjfz] {
    opacity: 0.45;
    cursor: default;
}

[dir="rtl"] .pa-send .material-icons[b-7mq29wwjfz] {
    transform: scaleX(-1);
}
/* /Components/CategoryAdvisorPanel.razor.rz.scp.css */
/* The category advisor card on the award selection page. Gold-tinged so it reads as the assistant, while the
   category list beside or below it stays the primary control. */
.adv[b-i2wap5xral] {
    display: flex;
    flex-direction: column;
    gap: var(--ps-sp-3);
    padding: var(--ps-sp-4);
    background: linear-gradient(180deg, var(--ps-gold-soft), var(--ps-surface) 140px);
    border: 1px solid var(--ps-gold-border);
    border-radius: var(--ps-radius);
    box-shadow: var(--ps-shadow-sm);
    margin-bottom: var(--ps-sp-5);
}

.adv-head[b-i2wap5xral] {
    display: flex;
    align-items: flex-start;
    gap: var(--ps-sp-4);
}

.adv-avatar[b-i2wap5xral] {
    flex-shrink: 0;
    line-height: 0;
}

.adv-head-text[b-i2wap5xral] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--ps-sp-2);
}

.adv-badge[b-i2wap5xral] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.15rem 0.65rem;
    border-radius: var(--ps-radius-pill);
    background: var(--ps-surface);
    border: 1px solid var(--ps-gold-border);
    color: var(--ps-gold-ink);
    font-size: var(--ps-fs-xs);
    font-weight: 800;
}

.adv-badge .material-icons[b-i2wap5xral] {
    font-size: 1rem;
}

.adv-title[b-i2wap5xral] {
    margin: 0;
    font-size: var(--ps-fs-md);
    font-weight: 700;
    color: var(--ps-brand);
}

.adv-greeting[b-i2wap5xral] {
    margin: 0;
    font-size: var(--ps-fs-sm);
    line-height: var(--ps-lh);
    color: var(--ps-text);
    overflow-wrap: anywhere;
}

.adv-greeting-actions[b-i2wap5xral] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ps-sp-2);
    margin-top: var(--ps-sp-1);
}

.adv-head-tools[b-i2wap5xral] {
    display: flex;
    gap: 2px;
    flex-shrink: 0;
}

.adv-icon-btn[b-i2wap5xral] {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--ps-text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.adv-icon-btn:hover:not(:disabled)[b-i2wap5xral] {
    background: var(--ps-surface-2, var(--ps-bg));
    color: var(--ps-brand);
}

.adv-icon-btn:focus-visible[b-i2wap5xral] {
    outline: none;
    box-shadow: var(--ps-focus-ring);
}

.adv-icon-btn:disabled[b-i2wap5xral] {
    opacity: 0.45;
    cursor: default;
}

/* The chat: a fixed height so the messages scroll and the question box stays in view. */
.adv-chat[b-i2wap5xral] {
    display: flex;
    flex-direction: column;
    height: min(520px, 70vh);
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius-sm);
    overflow: hidden;
    background: var(--ps-surface);
}

.adv-disclaimer[b-i2wap5xral] {
    display: flex;
    align-items: flex-start;
    gap: var(--ps-sp-2);
    margin: 0;
    font-size: var(--ps-fs-xs);
    line-height: 1.5;
    color: var(--ps-text-muted);
}

.adv-disclaimer .material-icons[b-i2wap5xral] {
    font-size: 1.1rem;
    color: var(--ps-gold-ink);
    flex-shrink: 0;
}

/* Recommendation cards, under the advisor's reply. */
.adv-cards[b-i2wap5xral] {
    list-style: none;
    margin: var(--ps-sp-2) 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--ps-sp-2);
    width: 100%;
}

.adv-card[b-i2wap5xral] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--ps-sp-2);
    padding: var(--ps-sp-3);
    background: var(--ps-surface);
    border: 1px solid var(--ps-border-strong);
    border-inline-start: 4px solid var(--ps-border-strong);
    border-radius: var(--ps-radius-sm);
}

.adv-card.is-strong[b-i2wap5xral] {
    border-inline-start-color: var(--ps-gold-strong);
}

.adv-fit[b-i2wap5xral] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.1rem 0.55rem;
    border-radius: var(--ps-radius-pill);
    background: var(--ps-neutral-soft);
    color: var(--ps-neutral);
    font-size: var(--ps-fs-xs);
    font-weight: 700;
}

.adv-fit .material-icons[b-i2wap5xral] {
    font-size: 1rem;
}

.adv-card.is-strong .adv-fit[b-i2wap5xral] {
    background: var(--ps-gold-soft);
    color: var(--ps-gold-ink);
    border: 1px solid var(--ps-gold-border);
}

.adv-path[b-i2wap5xral] {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 0.2rem;
    font-weight: 700;
    color: var(--ps-brand);
    font-size: var(--ps-fs-sm);
    overflow-wrap: anywhere;
}

.adv-sep[b-i2wap5xral] {
    font-size: 1.1rem;
    color: var(--ps-text-faint);
}

/* The comma between path parts is for screen readers only; sighted users see the chevron. */
.adv-sr[b-i2wap5xral] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.adv-reason[b-i2wap5xral] {
    margin: 0;
    font-size: var(--ps-fs-sm);
    line-height: 1.5;
    color: var(--ps-text);
    overflow-wrap: anywhere;
}

.adv-card-actions[b-i2wap5xral] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ps-sp-2);
}

/* Answers the applicant can tap instead of typing. */
.adv-quick[b-i2wap5xral] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: var(--ps-sp-2);
}

.adv-chip[b-i2wap5xral] {
    min-height: 40px;
    padding: 6px 14px;
    border: 1px solid var(--ps-brand-soft-2);
    border-radius: var(--ps-radius-pill);
    background: var(--ps-surface);
    color: var(--ps-brand);
    font: inherit;
    font-size: var(--ps-fs-xs);
    text-align: start;
    cursor: pointer;
}

.adv-chip:hover[b-i2wap5xral] {
    background: var(--ps-brand-soft);
}

.adv-chip:focus-visible[b-i2wap5xral] {
    outline: none;
    box-shadow: var(--ps-focus-ring);
}

/* Collapsed: a slim bar that offers help again. */
.adv-bar[b-i2wap5xral] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--ps-sp-3);
    padding: var(--ps-sp-2) var(--ps-sp-4);
    margin-bottom: var(--ps-sp-4);
    background: var(--ps-gold-soft);
    border: 1px solid var(--ps-gold-border);
    border-radius: var(--ps-radius-pill);
}

.adv-bar-text[b-i2wap5xral] {
    flex: 1;
    min-width: 12rem;
    font-size: var(--ps-fs-sm);
    font-weight: 600;
    color: var(--ps-text);
}

/* Only one category is open: a short note, no chat. */
.adv-single[b-i2wap5xral] {
    flex-direction: row;
    align-items: center;
    gap: var(--ps-sp-3);
}

.adv-single-text[b-i2wap5xral] {
    margin: 0;
    font-size: var(--ps-fs-sm);
    line-height: var(--ps-lh);
    color: var(--ps-text);
}

@media (max-width: 600px) {
    .adv[b-i2wap5xral] {
        padding: var(--ps-sp-3);
    }

    .adv-head[b-i2wap5xral] {
        gap: var(--ps-sp-3);
    }

    .adv.is-greeting .adv-head[b-i2wap5xral] {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .adv.is-greeting .adv-head-text[b-i2wap5xral] {
        align-items: center;
    }

    .adv-greeting-actions[b-i2wap5xral] {
        justify-content: center;
    }

    .adv-bar[b-i2wap5xral] {
        border-radius: var(--ps-radius);
    }
}
/* /Components/FieldHint.razor.rz.scp.css */
.fh[b-95d0a6fztk] {
    position: relative;
    display: inline-flex;
    vertical-align: middle;
    margin-inline-start: 0.35rem;
}

.fh-btn[b-95d0a6fztk] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--ps-brand);
    cursor: pointer;
    line-height: 1;
    transition: background 0.15s, color 0.15s;
}

.fh-btn .material-icons[b-95d0a6fztk] {
    display: block;
    font-size: 1.2rem;
    line-height: 1;
}

.fh-btn:hover[b-95d0a6fztk],
.fh-btn.is-open[b-95d0a6fztk] {
    background: var(--ps-brand-soft);
}

.fh-btn:focus-visible[b-95d0a6fztk] {
    outline: none;
    box-shadow: var(--ps-focus-ring);
}

.fh-pop[b-95d0a6fztk] {
    position: absolute;
    top: calc(100% + 6px);
    /*
     * Edge-aligned to the icon rather than centred on it, using logical offsets with no transform. This
     * is what lets the popup get wide: a centred popup grows both ways and runs off the container, and it
     * keeps the RTL behaviour correct for free (leading edge follows the reading direction).
     */
    inset-inline-start: 0;
    z-index: 60;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    width: max-content;
    /*
     * Roomy on a desktop, still inside the viewport on a phone: grows with the screen up to 560px, never
     * narrower than 280px, and never wider than the viewport less a small margin.
     */
    max-width: min(clamp(280px, 48vw, 560px), calc(100vw - 2rem));
    /* Very long hints scroll rather than covering the rest of the form. */
    max-height: 40vh;
    overflow-y: auto;
    padding-block: 0.6rem;
    padding-inline: 0.8rem 0.45rem;
    background: #1f2937;
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
    font-size: var(--ps-fs-sm);
    font-weight: 500;
    line-height: 1.6;
    text-align: start;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

/* For icons near the trailing edge, grow back toward the start of the line instead. */
.fh-pop-end[b-95d0a6fztk] {
    inset-inline-start: auto;
    inset-inline-end: 0;
}

.fh-pop-text[b-95d0a6fztk] {
    flex: 1;
    min-width: 0;
}

.fh-pop-x[b-95d0a6fztk] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    padding: 0;
    border: none;
    border-radius: 5px;
    background: transparent;
    color: #cbd5e1;
    cursor: pointer;
    line-height: 1;
    transition: background 0.12s, color 0.12s;
}

.fh-pop-x .material-icons[b-95d0a6fztk] {
    display: block;
    font-size: 1rem;
    line-height: 1;
}

.fh-pop-x:hover[b-95d0a6fztk] {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}
/* /Components/FileUploadStatus.razor.rz.scp.css */
.fus[b-54cct5mv13] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 0.9rem;
    border: 1px solid #c5cae9;
    border-radius: 10px;
    background: #f5f6fd;
    color: #1a237e;
    font-size: 0.82rem;
    line-height: 1.35;
    box-sizing: border-box;
}

.fus-icon[b-54cct5mv13] {
    font-size: 1.6rem;
    color: #3949ab;
    animation: fus-pulse-b-54cct5mv13 1.4s ease-in-out infinite;
}

.fus-body[b-54cct5mv13] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.fus-top[b-54cct5mv13] {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    font-weight: 600;
}

.fus-name[b-54cct5mv13] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fus-percent[b-54cct5mv13] {
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

.fus-bar[b-54cct5mv13] {
    height: 8px;
    border-radius: 999px;
    background: #dfe3f6;
    overflow: hidden;
}

.fus-fill[b-54cct5mv13] {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #3949ab, #5c6bc0);
    transition: width 0.3s ease;
}

.fus.is-checking .fus-fill[b-54cct5mv13] {
    background: repeating-linear-gradient(45deg, #5c6bc0 0 10px, #7986cb 10px 20px);
    background-size: 28px 28px;
    animation: fus-stripes-b-54cct5mv13 0.8s linear infinite;
}

.fus-meta[b-54cct5mv13] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.4rem;
    color: #3f4a7a;
    font-size: 0.76rem;
}

.fus-keep[b-54cct5mv13] {
    flex-basis: 100%;
    color: #6b7194;
}

.fus-cancel[b-54cct5mv13] {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.3rem 0.65rem;
    border: 1px solid #c5cae9;
    border-radius: 8px;
    background: #fff;
    color: #3949ab;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
}

.fus-cancel:hover[b-54cct5mv13] {
    background: #e8eaf6;
}

.fus-cancel .material-icons[b-54cct5mv13] {
    font-size: 1rem;
}

.fus.is-compact[b-54cct5mv13] {
    gap: 0.45rem;
    padding: 0.4rem 0.5rem;
    border-radius: 8px;
    font-size: 0.74rem;
}

.fus.is-compact .fus-icon[b-54cct5mv13] {
    font-size: 1.1rem;
}

.fus.is-compact .fus-bar[b-54cct5mv13] {
    height: 6px;
}

.fus.is-compact .fus-meta[b-54cct5mv13] {
    font-size: 0.68rem;
}

.fus.is-compact .fus-cancel[b-54cct5mv13] {
    padding: 0.15rem;
    border: none;
    background: transparent;
}

@keyframes fus-pulse-b-54cct5mv13 {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.45; }
}

@keyframes fus-stripes-b-54cct5mv13 {
    from { background-position: 0 0; }
    to { background-position: 28px 0; }
}

@media (prefers-reduced-motion: reduce) {
    .fus-icon[b-54cct5mv13], .fus.is-checking .fus-fill[b-54cct5mv13] { animation: none; }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-d4dd600tap] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-d4dd600tap] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/PortalLayout.razor.rz.scp.css */
.pl-shell[b-4xf864204a] {
    min-height: 100vh;
    background: var(--ps-bg);
    display: flex;
    flex-direction: column;
}

/* ── Topbar (premium navy + gold accent line) ── */
.pl-topbar[b-4xf864204a] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 2rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.06)),
        var(--portal-nav-bg, var(--ps-brand));
    color: var(--portal-nav-text, var(--ps-on-brand));
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid var(--ps-gold);
    box-shadow: 0 4px 18px rgba(13, 27, 52, 0.25);
}

.pl-brand[b-4xf864204a] {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--portal-nav-text, #fff);
    text-decoration: none;
    font-weight: 800;
    font-size: 1.3rem;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: -0.01em;
}

.pl-brand:focus-visible[b-4xf864204a] {
    outline: 3px solid var(--ps-gold);
    outline-offset: 3px;
    border-radius: 6px;
}

.pl-brand-icon[b-4xf864204a] {
    font-size: 2rem;
    color: var(--ps-gold);
}

.pl-brand-logo[b-4xf864204a] {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    padding: 3px;
}

.pl-nav[b-4xf864204a] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-inline-start: 1.75rem;
    flex: 1;
}

.pl-nav-link[b-4xf864204a] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.05rem;
    border-radius: var(--ps-radius-sm);
    color: var(--portal-nav-text, #fff);
    opacity: 0.85;
    text-decoration: none;
    font-size: 1.0625rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.15s, opacity 0.15s;
}

.pl-nav-link .material-icons[b-4xf864204a] {
    font-size: 1.4rem;
}

.pl-nav-link:hover[b-4xf864204a] {
    background: rgba(255, 255, 255, 0.14);
    opacity: 1;
}

.pl-nav-link:focus-visible[b-4xf864204a] {
    outline: 3px solid var(--ps-gold);
    outline-offset: 2px;
    opacity: 1;
}

.pl-nav-active[b-4xf864204a] {
    background: rgba(255, 255, 255, 0.18);
    opacity: 1;
    font-weight: 700;
}

/* gold underline marker for the active page */
.pl-nav-active[b-4xf864204a]::after {
    content: "";
    position: absolute;
    inset-inline: 0.6rem;
    bottom: -0.9rem;
    height: 3px;
    border-radius: 3px;
    background: var(--ps-gold);
}

.pl-actions[b-4xf864204a] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
    margin-inline-start: auto;
}

.pl-lang-btn[b-4xf864204a],
.pl-logout-btn[b-4xf864204a] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: var(--ps-radius-sm);
    cursor: pointer;
    font-family: var(--ps-font);
    font-size: 1rem;
    font-weight: 700;
    min-height: 48px;
    padding: 0 1rem;
    transition: background 0.15s, border-color 0.15s;
}

.pl-lang-btn .material-icons[b-4xf864204a],
.pl-logout-btn .material-icons[b-4xf864204a] {
    font-size: 1.3rem;
}

.pl-lang-btn[b-4xf864204a] {
    background: rgba(255, 255, 255, 0.10);
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    color: var(--portal-nav-text, #fff);
}

.pl-lang-btn:hover[b-4xf864204a] {
    background: rgba(255, 255, 255, 0.20);
}

/* ── Notifications (mockup) ── */
.pl-notif[b-4xf864204a] {
    position: relative;
    display: inline-flex;
}

.pl-notif-btn[b-4xf864204a] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.10);
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    color: var(--portal-nav-text, #fff);
    transition: background 0.15s;
}

.pl-notif-btn:hover[b-4xf864204a] {
    background: rgba(255, 255, 255, 0.20);
}

.pl-notif-btn .material-icons[b-4xf864204a] {
    font-size: 1.35rem;
}

.pl-notif-btn:focus-visible[b-4xf864204a] {
    outline: 3px solid var(--ps-gold);
    outline-offset: 2px;
}

.pl-notif-dot[b-4xf864204a] {
    position: absolute;
    top: 8px;
    inset-inline-end: 9px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--ps-gold, #d4af37);
    border: 2px solid var(--portal-nav-bg, #1a237e);
}

.pl-notif-overlay[b-4xf864204a] {
    position: fixed;
    inset: 0;
    z-index: 199;
}

.pl-notif-dropdown[b-4xf864204a] {
    position: absolute;
    inset-inline-end: 0;
    top: calc(100% + 10px);
    width: 300px;
    max-width: 90vw;
    background: var(--ps-surface);
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius);
    box-shadow: var(--ps-shadow-lg);
    z-index: 200;
    overflow: hidden;
    animation: ps-pop 0.15s ease;
}

.pl-notif-head[b-4xf864204a] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    font-weight: 700;
    color: var(--ps-text);
    border-bottom: 1px solid var(--ps-border);
}

.pl-notif-head .material-icons[b-4xf864204a] {
    color: var(--ps-brand);
    font-size: 1.25rem;
}

.pl-notif-soon[b-4xf864204a] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
    padding: 1.75rem 1.25rem;
}

.pl-notif-soon-icon[b-4xf864204a] {
    font-size: 2.5rem;
    color: var(--ps-brand);
    opacity: 0.85;
}

.pl-notif-soon-title[b-4xf864204a] {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ps-text);
}

.pl-notif-soon-text[b-4xf864204a] {
    font-size: 0.85rem;
    color: var(--ps-text-muted);
    line-height: 1.5;
}

/* ── Notification list ── */
.pl-notif-mark[b-4xf864204a] {
    margin-inline-start: auto;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--ps-brand);
    padding: 2px 6px;
    border-radius: var(--ps-radius-sm);
}

.pl-notif-mark:hover[b-4xf864204a] {
    background: var(--ps-surface-2);
}

.pl-notif-list[b-4xf864204a] {
    max-height: 60vh;
    overflow-y: auto;
}

.pl-notif-item[b-4xf864204a] {
    padding: 0.7rem 1rem;
    border-bottom: 1px solid var(--ps-border);
    cursor: pointer;
    transition: background 0.12s;
}

.pl-notif-item:last-child[b-4xf864204a] {
    border-bottom: none;
}

.pl-notif-item:hover[b-4xf864204a] {
    background: var(--ps-surface-2);
}

.pl-notif-item.is-unread[b-4xf864204a] {
    background: var(--ps-gold-soft);
    border-inline-start: 3px solid var(--ps-gold-border);
}

.pl-notif-item-title[b-4xf864204a] {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ps-text);
    line-height: 1.35;
}

.pl-notif-item-body[b-4xf864204a] {
    font-size: 0.81rem;
    color: var(--ps-text-muted);
    line-height: 1.45;
    margin-top: 0.15rem;
}

.pl-notif-item-time[b-4xf864204a] {
    font-size: 0.74rem;
    color: var(--ps-text-faint);
    margin-top: 0.25rem;
}

.pl-lang-btn:focus-visible[b-4xf864204a],
.pl-user-btn:focus-visible[b-4xf864204a],
.pl-burger:focus-visible[b-4xf864204a] {
    outline: 3px solid var(--ps-gold);
    outline-offset: 2px;
}

.pl-logout-btn[b-4xf864204a] {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid transparent;
    color: #fff;
}

.pl-logout-btn:hover[b-4xf864204a] {
    background: rgba(255, 255, 255, 0.28);
}

.pl-burger[b-4xf864204a] {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    height: 50px;
    padding: 0 0.9rem;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.10);
    color: var(--portal-nav-text, #fff);
    border-radius: var(--ps-radius-sm);
    cursor: pointer;
    font-family: var(--ps-font);
    font-size: 1rem;
    font-weight: 700;
}

.pl-burger .material-icons[b-4xf864204a] {
    font-size: 1.8rem;
}

.pl-burger-text[b-4xf864204a] {
    display: inline;
}

/* ── Mobile drawer ── */
.pl-drawer-overlay[b-4xf864204a] {
    position: fixed;
    inset: 0;
    top: 0;
    background: rgba(13, 27, 52, 0.5);
    backdrop-filter: blur(2px);
    z-index: 110;
}

.pl-drawer[b-4xf864204a] {
    position: fixed;
    inset-inline-end: 0;
    top: 0;
    bottom: 0;
    width: min(86vw, 360px);
    background: var(--ps-surface);
    z-index: 120;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    box-shadow: var(--ps-shadow-lg);
    animation: pl-slide-b-4xf864204a 0.2s ease;
    overflow-y: auto;
}

@keyframes pl-slide-b-4xf864204a {
    from { transform: translateX(var(--pl-slide-from, 100%)); }
    to { transform: translateX(0); }
}

[dir="rtl"] .pl-drawer[b-4xf864204a] {
    --pl-slide-from: -100%;
}

.pl-drawer-link[b-4xf864204a] {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    padding: 1.05rem 1rem;
    border-radius: var(--ps-radius-sm);
    color: var(--ps-text);
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 700;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--ps-font);
    text-align: start;
    width: 100%;
    min-height: 60px;
}

.pl-drawer-link .material-icons[b-4xf864204a] {
    font-size: 1.7rem;
    color: var(--ps-brand);
}

.pl-drawer-link:hover[b-4xf864204a] {
    background: var(--ps-surface-2);
}

.pl-drawer-link:focus-visible[b-4xf864204a] {
    outline: 3px solid var(--ps-brand);
    outline-offset: -2px;
}

.pl-drawer-active[b-4xf864204a] {
    background: var(--ps-brand-soft);
    color: var(--ps-brand);
    box-shadow: inset 4px 0 0 var(--ps-gold);
}

[dir="rtl"] .pl-drawer-active[b-4xf864204a] {
    box-shadow: inset -4px 0 0 var(--ps-gold);
}

.pl-drawer-logout[b-4xf864204a] {
    margin-top: auto;
    border-top: 1px solid var(--ps-border);
    border-radius: 0;
    color: var(--ps-danger);
}

.pl-drawer-logout .material-icons[b-4xf864204a] {
    color: var(--ps-danger);
}

/* ── Main ── */
.pl-main[b-4xf864204a] {
    flex: 1;
}

/* ── User menu dropdown ── */
.pl-user-menu[b-4xf864204a] {
    position: relative;
}

.pl-user-btn[b-4xf864204a] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: var(--ps-radius-sm);
    cursor: pointer;
    font-family: var(--ps-font);
    font-size: 1rem;
    font-weight: 700;
    min-height: 48px;
    padding: 0 0.9rem;
    background: rgba(255, 255, 255, 0.16);
    border: 1.5px solid rgba(255, 255, 255, 0.30);
    color: var(--portal-nav-text, #fff);
    transition: background 0.15s;
}

.pl-user-btn:hover[b-4xf864204a] {
    background: rgba(255, 255, 255, 0.28);
}

.pl-user-btn .material-icons[b-4xf864204a] {
    font-size: 1.5rem;
}

.pl-user-email[b-4xf864204a] {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pl-user-chevron[b-4xf864204a] {
    font-size: 1.2rem !important;
    margin-inline-start: -0.15rem;
}

.pl-user-dropdown-overlay[b-4xf864204a] {
    position: fixed;
    inset: 0;
    z-index: 199;
}

.pl-user-dropdown[b-4xf864204a] {
    position: absolute;
    inset-inline-end: 0;
    top: calc(100% + 10px);
    min-width: 300px;
    background: var(--ps-surface);
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius);
    box-shadow: var(--ps-shadow-lg);
    z-index: 200;
    padding: 0.5rem 0;
    animation: ps-pop 0.15s ease;
    overflow: hidden;
}

.pl-user-dropdown[b-4xf864204a]::before {
    content: "";
    display: block;
    height: 4px;
    background: linear-gradient(90deg, var(--ps-gold), var(--ps-gold-strong));
    margin: -0.5rem 0 0.5rem;
}

.pl-user-dropdown-header[b-4xf864204a] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1.1rem 0.85rem;
}

.pl-user-dropdown-header .material-icons[b-4xf864204a] {
    font-size: 2.4rem !important;
}

.pl-user-dropdown-name[b-4xf864204a] {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--ps-text);
    line-height: 1.3;
}

.pl-user-dropdown-email[b-4xf864204a] {
    font-size: 0.95rem;
    color: var(--ps-text-muted);
    line-height: 1.3;
    word-break: break-all;
}

.pl-user-dropdown-divider[b-4xf864204a] {
    height: 1px;
    background: var(--ps-border);
    margin: 0.25rem 0;
}

.pl-user-dropdown-item[b-4xf864204a] {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.85rem 1.1rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ps-text);
    text-decoration: none;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    font-family: var(--ps-font);
    text-align: start;
    transition: background 0.12s;
    min-height: 52px;
}

.pl-user-dropdown-item .material-icons[b-4xf864204a] {
    font-size: 1.4rem;
    color: var(--ps-text-muted);
}

.pl-user-dropdown-item:hover[b-4xf864204a] {
    background: var(--ps-surface-2);
}

.pl-user-dropdown-item:focus-visible[b-4xf864204a] {
    outline: 3px solid var(--ps-brand);
    outline-offset: -3px;
}

.pl-user-dropdown-logout[b-4xf864204a] {
    color: var(--ps-danger);
}

.pl-user-dropdown-logout .material-icons[b-4xf864204a] {
    color: var(--ps-danger);
}

/* ── Drawer user section ── */
.pl-drawer-user[b-4xf864204a] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem;
}

.pl-drawer-user .material-icons[b-4xf864204a] {
    font-size: 2.4rem !important;
}

.pl-drawer-user-name[b-4xf864204a] {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--ps-text);
    line-height: 1.3;
}

.pl-drawer-user-email[b-4xf864204a] {
    font-size: 0.9rem;
    color: var(--ps-text-muted);
    word-break: break-all;
}

.pl-drawer-divider[b-4xf864204a] {
    height: 1px;
    background: var(--ps-border);
    margin: 0 0.5rem 0.25rem;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .pl-nav[b-4xf864204a],
    .pl-lang-btn[b-4xf864204a],
    .pl-user-email[b-4xf864204a] {
        display: none;
    }

    .pl-user-chevron[b-4xf864204a] {
        display: none;
    }

    .pl-burger[b-4xf864204a] {
        display: inline-flex;
    }
}

@media (max-width: 560px) {
    .pl-topbar[b-4xf864204a] {
        padding: 0.7rem 1rem;
    }

    .pl-user-menu[b-4xf864204a] {
        display: none;
    }

    .pl-brand-text[b-4xf864204a] {
        font-size: 1.1rem;
    }

    .pl-burger-text[b-4xf864204a] {
        display: none;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-aoxokrm1ys],
.components-reconnect-repeated-attempt-visible[b-aoxokrm1ys],
.components-reconnect-failed-visible[b-aoxokrm1ys],
.components-pause-visible[b-aoxokrm1ys],
.components-resume-failed-visible[b-aoxokrm1ys],
.components-rejoining-animation[b-aoxokrm1ys] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-aoxokrm1ys],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-aoxokrm1ys],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-aoxokrm1ys],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-aoxokrm1ys],
#components-reconnect-modal.components-reconnect-retrying[b-aoxokrm1ys],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-aoxokrm1ys],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-aoxokrm1ys],
#components-reconnect-modal.components-reconnect-failed[b-aoxokrm1ys],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-aoxokrm1ys] {
    display: block;
}


#components-reconnect-modal[b-aoxokrm1ys] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-aoxokrm1ys 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-aoxokrm1ys 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-aoxokrm1ys 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-aoxokrm1ys]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-aoxokrm1ys 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-aoxokrm1ys {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-aoxokrm1ys {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-aoxokrm1ys {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-aoxokrm1ys] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-aoxokrm1ys] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-aoxokrm1ys] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-aoxokrm1ys] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-aoxokrm1ys] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-aoxokrm1ys] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-aoxokrm1ys] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-aoxokrm1ys 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-aoxokrm1ys] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-aoxokrm1ys {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/AccountDetails.razor.rz.scp.css */
.account-info-grid[b-0zxftnqxa7] {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.account-info-row[b-0zxftnqxa7] {
    display: flex;
    align-items: center;
    gap: var(--ps-sp-4);
    padding: var(--ps-sp-4) 0;
    border-bottom: 1px solid var(--ps-border);
}

.account-info-row:last-child[b-0zxftnqxa7] {
    border-bottom: none;
}

.account-info-icon[b-0zxftnqxa7] {
    font-size: 1.5rem;
    color: var(--ps-brand);
    background: var(--ps-brand-soft);
    border-radius: 50%;
    padding: 0.6rem;
    flex-shrink: 0;
    line-height: 1;
}

.account-info-body[b-0zxftnqxa7] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
    flex: 1;
}

.account-info-label[b-0zxftnqxa7] {
    font-size: var(--ps-fs-sm);
    font-weight: 700;
    color: var(--ps-text-muted);
}

.account-info-value[b-0zxftnqxa7] {
    font-size: var(--ps-fs-md);
    color: var(--ps-text);
    font-weight: 600;
    word-break: break-word;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.account-edit-btn[b-0zxftnqxa7] {
    background: var(--ps-surface-2);
    border: 1px solid var(--ps-border);
    cursor: pointer;
    color: var(--ps-brand);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    transition: background 0.15s, border-color 0.15s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.account-edit-btn:hover[b-0zxftnqxa7] {
    background: var(--ps-brand-soft);
    border-color: var(--ps-brand);
}

.account-edit-btn:focus-visible[b-0zxftnqxa7] {
    outline: 3px solid var(--ps-brand);
    outline-offset: 2px;
}

.account-edit-btn .material-icons[b-0zxftnqxa7] {
    font-size: 1.2rem;
}

.account-name-edit[b-0zxftnqxa7] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.account-change-desc[b-0zxftnqxa7] {
    font-size: var(--ps-fs-base);
    color: var(--ps-text-muted);
    margin: 0 0 var(--ps-sp-4);
    line-height: var(--ps-lh);
}

.account-password-fields[b-0zxftnqxa7] {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    max-width: 520px;
}

.account-password-rules[b-0zxftnqxa7] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: var(--ps-sp-4);
    background: var(--ps-surface-2);
    border-radius: var(--ps-radius-sm);
    border: 1px solid var(--ps-border);
}

.account-rule[b-0zxftnqxa7] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: var(--ps-fs-sm);
    color: var(--ps-text-muted);
    font-weight: 600;
}

.account-rule .material-icons[b-0zxftnqxa7] {
    font-size: 1.25rem;
}

.account-rule-ok[b-0zxftnqxa7] {
    color: var(--ps-ok-ink);
}

.account-password-actions[b-0zxftnqxa7] {
    display: flex;
    align-items: center;
    gap: var(--ps-sp-3);
    flex-wrap: wrap;
    padding-top: var(--ps-sp-2);
}

@media (max-width: 560px) {
    .account-password-actions[b-0zxftnqxa7] {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .account-password-actions .ps-btn[b-0zxftnqxa7] {
        width: 100%;
    }
}
/* /Components/Pages/ApplicationDetails.razor.rz.scp.css */
.ad-content[b-9dj4wm827c]  .ps-help {
    margin-top: 0;
}

.ad-content[b-9dj4wm827c] {
    max-width: 960px;
    display: flex;
    flex-direction: column;
    gap: var(--ps-sp-5);
}

.ad-header[b-9dj4wm827c] {
    display: flex;
    align-items: flex-start;
    gap: var(--ps-sp-4);
}

.ad-back[b-9dj4wm827c] {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: var(--ps-radius-sm);
    border: 2px solid var(--ps-border-strong);
    background: var(--ps-surface);
    color: var(--ps-brand);
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.ad-back:hover[b-9dj4wm827c] {
    background: var(--ps-brand-soft);
    border-color: var(--ps-brand);
}

.ad-back:focus-visible[b-9dj4wm827c] {
    outline: 3px solid var(--ps-brand);
    outline-offset: 2px;
}

.ad-back .material-icons[b-9dj4wm827c] {
    font-size: 1.6rem;
}

.ad-header-text .ps-page-title[b-9dj4wm827c],
.ad-header-text .ps-page-subtitle[b-9dj4wm827c] {
    margin: 0;
}

.ad-header-text .ps-page-subtitle[b-9dj4wm827c] {
    margin-top: var(--ps-sp-1);
}

/* ── Overview ── */

.ad-overview[b-9dj4wm827c] {
    display: flex;
    flex-direction: column;
    gap: var(--ps-sp-5);
    border-top: 4px solid var(--ps-brand);
}

.ad-overview-top[b-9dj4wm827c] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--ps-sp-3);
    flex-wrap: wrap;
}

.ad-overview-id[b-9dj4wm827c] {
    display: flex;
    align-items: baseline;
    gap: var(--ps-sp-2);
}

.ad-overview-id-label[b-9dj4wm827c] {
    font-size: var(--ps-fs-sm);
    color: var(--ps-text-muted);
    font-weight: 600;
}

.ad-overview-id-value[b-9dj4wm827c] {
    font-size: var(--ps-fs-xl);
    font-weight: 800;
    color: var(--ps-brand);
}

.ad-status-message[b-9dj4wm827c] {
    margin: 0;
    font-size: var(--ps-fs-base);
    line-height: var(--ps-lh);
    color: var(--ps-text-muted);
    padding: var(--ps-sp-4);
    background: var(--ps-surface-2);
    border-inline-start: 4px solid var(--ps-gold);
    border-radius: var(--ps-radius-sm);
}

.ad-overview-grid[b-9dj4wm827c] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--ps-sp-4);
    padding: var(--ps-sp-4);
    background: var(--ps-surface-2);
    border-radius: var(--ps-radius-sm);
}

.ad-overview-item[b-9dj4wm827c] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.ad-overview-label[b-9dj4wm827c] {
    font-size: var(--ps-fs-xs);
    color: var(--ps-text-faint);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.ad-overview-value[b-9dj4wm827c] {
    font-size: var(--ps-fs-base);
    color: var(--ps-text);
    font-weight: 600;
}

/* ── Sections ── */

.ad-section[b-9dj4wm827c] {
    display: flex;
    flex-direction: column;
    gap: var(--ps-sp-4);
}

.ad-section-head[b-9dj4wm827c] {
    display: flex;
    align-items: center;
    gap: var(--ps-sp-3);
    padding-bottom: var(--ps-sp-3);
    border-bottom: 1px solid var(--ps-border);
}

.ad-section-icon[b-9dj4wm827c] {
    color: var(--ps-brand);
    background: var(--ps-brand-soft);
    border-radius: var(--ps-radius-sm);
    padding: 0.35rem;
    font-size: 1.4rem;
}

.ad-section-title[b-9dj4wm827c] {
    margin: 0;
    font-size: var(--ps-fs-lg);
    font-weight: 700;
    color: var(--ps-text);
}

.ad-fields[b-9dj4wm827c] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--ps-sp-4);
}

.ad-field[b-9dj4wm827c] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: var(--ps-sp-4);
    background: var(--ps-surface-2);
    border-radius: var(--ps-radius-sm);
    border: 1px solid var(--ps-border);
}

.ad-field-full[b-9dj4wm827c] {
    grid-column: 1 / -1;
}

.ad-field-label[b-9dj4wm827c] {
    font-size: var(--ps-fs-xs);
    color: var(--ps-text-faint);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: pre-line;
}

.ad-field-value[b-9dj4wm827c] {
    font-size: var(--ps-fs-base);
    color: var(--ps-text);
    line-height: 1.55;
    word-break: break-word;
}

/* ── Reviewer feedback (returned / rejected) ── */
.ad-feedback[b-9dj4wm827c] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border-top: 4px solid #ea580c;
}

.ad-feedback-reject[b-9dj4wm827c] {
    border-top-color: var(--ps-danger);
}

.ad-feedback-head[b-9dj4wm827c] {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.ad-feedback-head > .material-icons[b-9dj4wm827c] {
    font-size: 1.4rem;
    flex-shrink: 0;
    color: #ea580c;
}

.ad-feedback-reject .ad-feedback-head > .material-icons[b-9dj4wm827c] {
    color: var(--ps-danger);
}

.ad-feedback-head strong[b-9dj4wm827c] {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    color: var(--ps-text);
}

.ad-feedback-head p[b-9dj4wm827c] {
    margin: 0.2rem 0 0;
    font-size: 0.88rem;
    color: var(--ps-text-muted);
    line-height: 1.5;
}

.ad-feedback-note[b-9dj4wm827c] {
    padding: 0.65rem 0.85rem;
    background: var(--ps-surface-2);
    border-radius: var(--ps-radius-sm);
}

.ad-feedback-note-label[b-9dj4wm827c] {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--ps-text-muted);
    margin-bottom: 0.2rem;
}

.ad-feedback-note p[b-9dj4wm827c] {
    margin: 0;
    font-size: 0.9rem;
    color: var(--ps-text);
    line-height: 1.5;
    white-space: pre-wrap;
}

.ad-feedback-meta[b-9dj4wm827c] {
    font-size: 0.78rem;
    color: var(--ps-text-muted);
    font-weight: 600;
}

.ad-feedback-cta[b-9dj4wm827c] {
    align-self: flex-start;
}

.ad-field-note[b-9dj4wm827c] {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    margin-top: 0.5rem;
    padding: 0.5rem 0.7rem;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: var(--ps-radius-sm);
    color: #92400e;
    font-size: 0.83rem;
    line-height: 1.45;
}

.ad-field-note .material-icons[b-9dj4wm827c] {
    font-size: 0.95rem;
    color: #d97706;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

.ad-text[b-9dj4wm827c] {
    white-space: pre-wrap;
}

.ad-empty[b-9dj4wm827c] {
    color: var(--ps-text-faint);
    font-style: italic;
}

/* ── File chips ── */

.ad-file[b-9dj4wm827c] {
    display: inline-flex;
    align-items: center;
    gap: var(--ps-sp-2);
    padding: var(--ps-sp-2) var(--ps-sp-3);
    background: var(--ps-surface);
    border: 1px solid var(--ps-border-strong);
    border-radius: var(--ps-radius-sm);
    color: var(--ps-brand);
    text-decoration: none;
    font-weight: 600;
    transition: background 0.15s ease, border-color 0.15s ease;
    max-width: 100%;
}

.ad-file:hover[b-9dj4wm827c] {
    background: var(--ps-brand-soft);
    border-color: var(--ps-brand);
}

.ad-file .material-icons[b-9dj4wm827c] {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.ad-file-name[b-9dj4wm827c] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    flex: 1 1 auto;
}

.ad-file-download[b-9dj4wm827c] {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    margin-inline-start: auto;
    padding-inline-start: var(--ps-sp-3);
    font-size: var(--ps-fs-xs);
    color: var(--ps-text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.ad-file-download .material-icons[b-9dj4wm827c] {
    font-size: 1rem;
}

.ad-file-sm[b-9dj4wm827c] {
    padding: 0.2rem 0.5rem;
    font-size: var(--ps-fs-xs);
    font-weight: 500;
}

.ad-file-sm .material-icons[b-9dj4wm827c] {
    font-size: 1rem;
}

/* ── List tables ── */

.ad-list-wrap[b-9dj4wm827c] {
    overflow-x: auto;
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius-sm);
}

.ad-list-table[b-9dj4wm827c] {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--ps-fs-sm);
}

.ad-list-table thead th[b-9dj4wm827c] {
    text-align: start;
    background: var(--ps-brand-soft);
    color: var(--ps-brand);
    font-weight: 700;
    padding: var(--ps-sp-3);
    white-space: nowrap;
}

.ad-list-table tbody td[b-9dj4wm827c] {
    padding: var(--ps-sp-3);
    border-top: 1px solid var(--ps-border);
    color: var(--ps-text);
    vertical-align: top;
}

.ad-list-table tbody tr:nth-child(even) td[b-9dj4wm827c] {
    background: var(--ps-surface-2);
}

.ad-list-num[b-9dj4wm827c] {
    width: 48px;
    text-align: center;
    color: var(--ps-text-muted);
    font-weight: 600;
}

/* ── Footer ── */

.ad-footer[b-9dj4wm827c] {
    display: flex;
    justify-content: flex-start;
    padding-top: var(--ps-sp-2);
}

@media (max-width: 560px) {
    .ad-fields[b-9dj4wm827c] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/AwardApplicationForm.razor.rz.scp.css */
/* ── Content ── */
.af-content[b-482d72d917] {
    max-width: 980px;
}

.award-form-header[b-482d72d917] {
    display: flex;
    align-items: center;
    gap: var(--ps-sp-4);
    margin-bottom: var(--ps-sp-5);
}

.award-form-header-text[b-482d72d917] {
    min-width: 0;
}

.award-form-title[b-482d72d917] {
    margin: 0;
    font-size: var(--ps-fs-xl);
    font-weight: 800;
    color: var(--ps-brand);
    line-height: 1.2;
}

.award-form-breadcrumb[b-482d72d917] {
    margin: 0.35rem 0 0;
    font-size: var(--ps-fs-base);
    color: var(--ps-text-muted);
}

/* One persistent live region for the nudges, so screen readers announce each new note. */
.af-sr-live[b-482d72d917] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.award-form-back[b-482d72d917] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: var(--ps-radius-sm);
    border: 2px solid var(--ps-border-strong);
    background: var(--ps-surface);
    cursor: pointer;
    color: var(--ps-brand);
    transition: background 0.15s, border-color 0.15s;
}

.award-form-back:hover[b-482d72d917] {
    background: var(--ps-brand-soft);
    border-color: var(--ps-brand);
}

.award-form-back .material-icons[b-482d72d917] {
    font-size: 1.6rem;
}

/* ── Step progress bar (prominent wizard header) ── */
.af-stepbar[b-482d72d917] {
    display: flex;
    align-items: center;
    gap: var(--ps-sp-5);
    margin-bottom: var(--ps-sp-5);
    padding: var(--ps-sp-5);
    background: var(--ps-surface);
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius);
    box-shadow: var(--ps-shadow-sm);
    border-inline-start: 6px solid var(--ps-gold);
}

.af-stepbar-label[b-482d72d917] {
    font-size: var(--ps-fs-md);
    font-weight: 800;
    color: var(--ps-brand);
    white-space: nowrap;
}

.af-stepbar-progress[b-482d72d917] {
    flex: 1;
    height: 18px;
}

/* ── Grouped section tabs (User Profile / Award Application) ── */
.af-tabgroups[b-482d72d917] {
    display: flex;
    flex-direction: column;
    gap: var(--ps-sp-3);
    margin-bottom: var(--ps-sp-4);
    background: var(--ps-surface);
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius);
    box-shadow: var(--ps-shadow-sm);
    padding: var(--ps-sp-4);
}

.af-tabgroup[b-482d72d917] {
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius-sm);
    overflow: hidden;
    background: var(--ps-surface-2);
}

.af-tabgroup-label[b-482d72d917] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: var(--ps-sp-3) var(--ps-sp-4);
    font-size: var(--ps-fs-xs);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--ps-border);
}

.af-tabgroup-label .material-icons[b-482d72d917] {
    font-size: 1.25rem;
}

.af-tabgroup-profile .af-tabgroup-label[b-482d72d917] {
    color: var(--ps-brand);
    background: var(--ps-brand-soft);
}

.af-tabgroup-award .af-tabgroup-label[b-482d72d917] {
    color: var(--ps-gold-strong);
    background: var(--ps-gold-soft);
}

/* ── Section "jump to" chips ── */
.af-tabs[b-482d72d917] {
    display: flex;
    gap: var(--ps-sp-2);
    flex-wrap: wrap;
    margin-bottom: 0;
    background: var(--ps-surface);
    padding: var(--ps-sp-3);
}

.af-tab[b-482d72d917] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.1rem;
    border: none;
    background: transparent;
    color: var(--ps-text-muted);
    font-family: var(--ps-font);
    font-size: var(--ps-fs-sm);
    font-weight: 700;
    cursor: pointer;
    border-bottom: 4px solid transparent;
    transition: color 0.15s, border-color 0.2s, background 0.15s;
    border-radius: var(--ps-radius-sm) var(--ps-radius-sm) 0 0;
    min-height: 48px;
}

.af-tab:hover[b-482d72d917] {
    color: var(--ps-brand);
    background: var(--ps-surface-2);
}

.af-tab:focus-visible[b-482d72d917] {
    outline: 3px solid var(--ps-brand);
    outline-offset: -3px;
}

.af-tab-active[b-482d72d917] {
    color: var(--ps-brand);
    border-bottom-color: var(--ps-gold);
    background: var(--ps-brand-soft);
}

.af-tab-icon[b-482d72d917] {
    font-size: 1.3rem;
    color: var(--ps-text-faint);
}

.af-tab-active .af-tab-icon[b-482d72d917] {
    color: var(--ps-brand);
}

.af-tab-complete .af-tab-icon[b-482d72d917] {
    color: var(--ps-ok) !important;
}

.af-tab-text[b-482d72d917] {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.award-form-section[b-482d72d917] {
    background: var(--ps-surface);
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius);
    padding: var(--ps-sp-6);
    margin-bottom: 0;
    box-shadow: var(--ps-shadow-sm);
}

/* ── Navigation buttons (always visible) ── */
.af-nav-buttons[b-482d72d917] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: var(--ps-sp-5) 0;
    gap: var(--ps-sp-4);
}

.af-nav-right[b-482d72d917] {
    display: flex;
    gap: var(--ps-sp-3);
    flex-wrap: wrap;
}

.af-review-note[b-482d72d917] {
    margin: var(--ps-sp-5) 0;
    font-size: var(--ps-fs-base);
}

.af-draft-saved[b-482d72d917] {
    display: flex;
    align-items: center;
    gap: var(--ps-sp-2);
    margin-top: var(--ps-sp-4);
    padding: var(--ps-sp-4) var(--ps-sp-5);
    background: var(--ps-ok-soft);
    border: 1px solid rgba(27, 122, 71, 0.3);
    border-radius: var(--ps-radius-sm);
    color: var(--ps-ok-ink);
    font-size: var(--ps-fs-base);
    font-weight: 700;
}

/* ── Submission confirmation screen ── */
.af-confirm[b-482d72d917] {
    text-align: center;
    max-width: 600px;
    margin: var(--ps-sp-6) auto;
    padding: var(--ps-sp-7) var(--ps-sp-6);
}

.af-confirm-icon[b-482d72d917] {
    font-size: 4.5rem;
    color: var(--ps-ok);
}

.af-confirm-title[b-482d72d917] {
    font-size: var(--ps-fs-lg);
    font-weight: 800;
    color: var(--ps-text);
    margin: var(--ps-sp-4) 0;
    line-height: 1.4;
}

.af-confirm-ref[b-482d72d917] {
    display: inline-flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: var(--ps-sp-4) var(--ps-sp-6);
    background: var(--ps-gold-soft);
    border: 1px solid var(--ps-gold-border);
    border-radius: var(--ps-radius);
    margin-bottom: var(--ps-sp-4);
}

.af-confirm-ref-label[b-482d72d917] {
    font-size: var(--ps-fs-sm);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ps-gold-ink);
}

.af-confirm-ref-value[b-482d72d917] {
    font-size: var(--ps-fs-2xl);
    font-weight: 800;
    color: var(--ps-brand);
}

.af-confirm-hint[b-482d72d917] {
    font-size: var(--ps-fs-base);
    color: var(--ps-text-muted);
    margin: 0 0 var(--ps-sp-5);
    line-height: var(--ps-lh);
}

/* ── Fields (one column, large) ── */
.award-field-group[b-482d72d917] {
    position: relative;
    margin-bottom: var(--ps-sp-5);
}

/* Room at the end of the label row for the assistant's avatar. */
.award-field-group.has-ai-helper > .award-field-label[b-482d72d917] {
    padding-inline-end: 66px;
}

.award-field-label[b-482d72d917] {
    display: block;
    font-size: var(--ps-fs-base);
    font-weight: 700;
    color: var(--ps-text);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

/* Line breaks entered in the back office start a new line in the title. */
.award-field-name[b-482d72d917] {
    white-space: pre-line;
}

.award-required[b-482d72d917] {
    color: var(--ps-danger);
    margin: 0 0.2rem;
    font-weight: 800;
}

/* ── Returned application: reviewer feedback & per-field locks ── */
.award-lock-fs[b-482d72d917] {
    border: 0;
    margin: 0;
    padding: 0;
    min-inline-size: 0;
}

.award-lock-fs:disabled[b-482d72d917] {
    opacity: 0.75;
}

.award-field-group.is-locked .award-field-label[b-482d72d917] {
    color: var(--ps-text-muted, #64748b);
}

.award-lock-chip[b-482d72d917],
.award-edit-chip[b-482d72d917] {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    margin-inline-start: 0.5rem;
    padding: 0.05rem 0.45rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    vertical-align: middle;
}

.award-lock-chip[b-482d72d917] {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.award-edit-chip[b-482d72d917] {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.award-lock-chip .material-icons[b-482d72d917],
.award-edit-chip .material-icons[b-482d72d917] {
    font-size: 0.85rem;
}

.award-field-note[b-482d72d917] {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
    padding: 0.55rem 0.75rem;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: var(--ps-radius-sm);
    color: #92400e;
    font-size: 0.85rem;
    line-height: 1.45;
}

.award-field-note .material-icons[b-482d72d917] {
    font-size: 1rem;
    color: #d97706;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

.af-return-banner[b-482d72d917] {
    background: #fff7ed;
    border: 1px solid #fdba74;
    border-radius: var(--ps-radius);
    padding: 1rem 1.15rem;
    margin-bottom: var(--ps-sp-5);
}

.af-return-banner-head[b-482d72d917] {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.af-return-banner-head > .material-icons[b-482d72d917] {
    color: #ea580c;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.af-return-banner-text strong[b-482d72d917] {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    color: #9a3412;
}

.af-return-banner-text p[b-482d72d917] {
    margin: 0.2rem 0 0;
    font-size: 0.88rem;
    color: #b45309;
    line-height: 1.5;
}

.af-return-note[b-482d72d917] {
    margin-top: 0.75rem;
    padding: 0.65rem 0.85rem;
    background: var(--ps-surface);
    border: 1px solid #fed7aa;
    border-radius: var(--ps-radius-sm);
}

.af-return-note-label[b-482d72d917] {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #c2410c;
    margin-bottom: 0.2rem;
}

.af-return-note p[b-482d72d917] {
    margin: 0;
    font-size: 0.9rem;
    color: var(--ps-text);
    line-height: 1.5;
    white-space: pre-wrap;
}

.af-return-meta[b-482d72d917] {
    margin-top: 0.6rem;
    font-size: 0.78rem;
    color: #b45309;
    font-weight: 600;
}

.af-return-deadline[b-482d72d917] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.7rem;
    padding: 0.5rem 0.7rem;
    border-radius: var(--ps-radius-sm);
    background: #fef3c7;
    border: 1px solid #fcd34d;
    color: #92400e;
    font-size: var(--ps-fs-sm);
    font-weight: 700;
}

.af-return-deadline .material-icons[b-482d72d917] {
    font-size: 1.25rem;
}

.award-input[b-482d72d917] {
    width: 100%;
    min-height: var(--ps-control-h);
    padding: 0.75rem 1rem;
    border: 2px solid var(--ps-border-strong);
    border-radius: var(--ps-radius-sm);
    font-family: var(--ps-font);
    font-size: var(--ps-fs-base);
    transition: border-color 0.18s, box-shadow 0.18s;
    background: var(--ps-surface);
    box-sizing: border-box;
    color: var(--ps-text);
}

.award-input:focus[b-482d72d917] {
    outline: none;
    border-color: var(--ps-brand);
    box-shadow: var(--ps-focus-ring);
}

.award-textarea[b-482d72d917] {
    min-height: 120px;
    resize: vertical;
    line-height: var(--ps-lh);
}

/* A checkbox field sits beside its title, and the whole title toggles it. */
.award-field-label.has-checkbox[b-482d72d917] {
    position: relative;
    min-height: 24px;
    padding-inline-start: 34px;
    cursor: pointer;
}

.award-title-checkbox[b-482d72d917] {
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    width: 24px;
    height: 24px;
    margin: 0;
    accent-color: var(--ps-brand);
    cursor: pointer;
}

.award-title-checkbox:disabled[b-482d72d917] {
    opacity: 0.75;
    cursor: not-allowed;
}

.award-radio-group[b-482d72d917] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.award-radio-label[b-482d72d917] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: var(--ps-fs-base);
    cursor: pointer;
    padding: 0.55rem 0.85rem;
    border: 1.5px solid var(--ps-border);
    border-radius: var(--ps-radius-sm);
    transition: border-color 0.15s, background 0.15s;
}

.award-radio-label:hover[b-482d72d917] {
    border-color: var(--ps-border-strong);
    background: var(--ps-surface-2);
}

.award-radio-label input[type="radio"][b-482d72d917] {
    width: 22px;
    height: 22px;
    accent-color: var(--ps-brand);
    cursor: pointer;
    flex-shrink: 0;
}

.award-file-area[b-482d72d917] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

/* ── File upload: accepted types / max size shown up front ── */
.award-upload-meta[b-482d72d917] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ps-sp-2) var(--ps-sp-4);
    margin-bottom: var(--ps-sp-3);
}

.award-upload-meta-item[b-482d72d917] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: var(--ps-fs-sm);
    color: var(--ps-text-muted);
    font-weight: 600;
}

.award-upload-meta-item .material-icons[b-482d72d917] {
    font-size: 1.15rem;
    color: var(--ps-text-faint);
}

/* ── Drop zone (large, clear, not drag-only) ── */
.award-dropzone[b-482d72d917] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: var(--ps-sp-6) var(--ps-sp-5);
    border: 2px dashed var(--ps-border-strong);
    border-radius: var(--ps-radius);
    background: var(--ps-surface-2);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    text-align: center;
    min-height: 150px;
}

.award-dropzone:hover[b-482d72d917] {
    border-color: var(--ps-brand);
    background: var(--ps-brand-soft);
}

.award-dropzone-active[b-482d72d917] {
    border-color: var(--ps-brand);
    background: var(--ps-brand-soft);
    box-shadow: var(--ps-focus-ring);
}

.award-dropzone-icon[b-482d72d917] {
    font-size: 3rem;
    color: var(--ps-brand);
}

.award-dropzone-text[b-482d72d917] {
    font-size: var(--ps-fs-base);
    font-weight: 700;
    color: var(--ps-text);
}

.award-dropzone-browse[b-482d72d917] {
    font-size: var(--ps-fs-sm);
    color: var(--ps-text-muted);
    font-weight: 600;
}

.award-dropzone-hints[b-482d72d917] {
    display: flex;
    gap: var(--ps-sp-4);
    flex-wrap: wrap;
    justify-content: center;
    margin-top: var(--ps-sp-2);
}

/* ── Uploaded file row (name + size + labelled actions) ── */
.award-file[b-482d72d917] {
    display: flex;
    align-items: center;
    gap: var(--ps-sp-4);
    padding: var(--ps-sp-4) var(--ps-sp-5);
    background: var(--ps-surface);
    border: 1px solid var(--ps-ok);
    border-radius: var(--ps-radius-sm);
    flex-wrap: wrap;
}

.award-file.is-error[b-482d72d917] {
    border-color: var(--ps-danger);
    background: var(--ps-danger-soft);
}

.award-file-icon[b-482d72d917] {
    font-size: 2.25rem;
    color: var(--ps-ok);
    flex-shrink: 0;
}

.award-file.is-error .award-file-icon[b-482d72d917] {
    color: var(--ps-danger);
}

.award-file-info[b-482d72d917] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
    flex: 1 1 160px;
}

.award-file-name[b-482d72d917] {
    font-size: var(--ps-fs-base);
    font-weight: 700;
    color: var(--ps-text);
    word-break: break-word;
}

.award-file-meta[b-482d72d917] {
    font-size: var(--ps-fs-sm);
    color: var(--ps-text-muted);
}

.award-file.is-error .award-file-meta[b-482d72d917] {
    color: var(--ps-danger);
    font-weight: 700;
}

.award-file-actions[b-482d72d917] {
    display: flex;
    gap: var(--ps-sp-2);
    flex-wrap: wrap;
}

.award-replace[b-482d72d917] {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

[b-482d72d917] .award-replace-input {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    opacity: 0;
    cursor: pointer;
}

/* ── Template download links ── */
.award-template-links[b-482d72d917] {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: var(--ps-sp-3);
    padding: var(--ps-sp-3) var(--ps-sp-4);
    background: var(--ps-info-soft);
    border: 1px solid rgba(20, 85, 158, 0.3);
    border-radius: var(--ps-radius-sm);
}

.award-template-link[b-482d72d917] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: var(--ps-fs-sm);
    font-weight: 700;
    color: var(--ps-info-ink);
    text-decoration: none;
    padding: 0.35rem 0.7rem;
    border-radius: var(--ps-radius-sm);
    background: var(--ps-surface);
    border: 1px solid rgba(20, 85, 158, 0.25);
    transition: background 0.2s;
}

.award-template-link:hover[b-482d72d917] {
    background: var(--ps-info-soft);
}

.award-template-inline[b-482d72d917] {
    position: relative;
    z-index: 3;
    display: flex;
    gap: var(--ps-sp-4);
    flex-wrap: wrap;
    margin-top: var(--ps-sp-3);
}

.award-template-text-link[b-482d72d917] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: var(--ps-fs-sm);
    font-weight: 700;
    color: var(--ps-info-ink);
    text-decoration: none;
    transition: color 0.15s;
}

.award-template-text-link .material-icons[b-482d72d917] {
    font-size: 1.2rem;
}

.award-template-text-link:hover[b-482d72d917] {
    text-decoration: underline;
}

/* ── Dropzone error state ── */
.award-dropzone-error[b-482d72d917] {
    border-color: var(--ps-danger) !important;
    background: var(--ps-danger-soft) !important;
}

.award-field-hint[b-482d72d917] {
    font-size: var(--ps-fs-sm);
    color: var(--ps-text-muted);
}

.award-dropzone-error-text[b-482d72d917] {
    font-size: var(--ps-fs-xs);
    color: var(--ps-danger);
    font-weight: 700;
}

.award-passport-error[b-482d72d917] {
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
    margin-top: 0.4rem;
    padding: 0.45rem 0.6rem;
    border-radius: var(--ps-radius-sm);
    background: var(--ps-danger-soft);
    color: var(--ps-danger-ink);
    font-size: var(--ps-fs-sm);
    font-weight: 600;
    line-height: 1.45;
}

.award-passport-error .material-icons[b-482d72d917] {
    font-size: 1.05rem;
    color: var(--ps-danger);
    flex-shrink: 0;
}

.award-validation-box[b-482d72d917] {
    margin-bottom: var(--ps-sp-4);
    font-size: var(--ps-fs-base);
}

.award-validation-body[b-482d72d917] {
    flex: 1;
}

.award-validation-box ul[b-482d72d917] {
    margin: 0.3rem 0 0;
    padding-inline-start: 1.3rem;
}

.award-validation-box li[b-482d72d917] {
    margin-bottom: 0.25rem;
    line-height: 1.5;
}

.award-validation-section[b-482d72d917] {
    margin-top: 0.65rem;
}

.award-validation-section-name[b-482d72d917] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 800;
    font-size: var(--ps-fs-base);
    color: var(--ps-danger-ink);
    padding: 0.15rem 0;
}

/* ── List field ── */
.award-list-container[b-482d72d917] {
    background: var(--ps-surface-2);
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius);
    padding: var(--ps-sp-4);
}

.award-list-hint[b-482d72d917] {
    display: flex;
    gap: var(--ps-sp-4);
    font-size: var(--ps-fs-sm);
    color: var(--ps-text-muted);
    margin-bottom: var(--ps-sp-3);
    font-weight: 600;
}

.award-list-table-wrap[b-482d72d917] {
    overflow-x: auto;
}

.award-list-table[b-482d72d917] {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--ps-fs-sm);
}

.award-list-table th[b-482d72d917] {
    background: var(--ps-brand-soft);
    padding: 0.7rem 0.85rem;
    text-align: start;
    font-weight: 700;
    color: var(--ps-brand);
    border-bottom: 2px solid var(--ps-brand-soft-2);
    white-space: nowrap;
}

.award-list-table td[b-482d72d917] {
    padding: 0.6rem 0.5rem;
    border-bottom: 1px solid var(--ps-border);
    vertical-align: middle;
}

.award-list-row-num[b-482d72d917] {
    color: var(--ps-text-faint);
    text-align: center;
    font-weight: 700;
}

.award-list-input[b-482d72d917] {
    padding: 0.5rem 0.65rem;
    font-size: var(--ps-fs-sm);
    min-width: 120px;
    min-height: 44px;
}

.award-list-dropzone[b-482d72d917] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.6rem 0.5rem;
    border: 2px dashed var(--ps-border-strong);
    border-radius: var(--ps-radius-sm);
    background: var(--ps-surface);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    min-width: 120px;
    min-height: 64px;
    text-align: center;
    overflow: hidden;
}

.award-list-dropzone:hover[b-482d72d917] {
    border-color: var(--ps-brand);
    background: var(--ps-brand-soft);
}

.award-list-file-remove[b-482d72d917] {
    position: absolute;
    top: 2px;
    inset-inline-end: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background: var(--ps-danger-soft);
    color: var(--ps-danger);
    cursor: pointer;
    padding: 0;
    z-index: 4;
    transition: background 0.15s;
}

.award-list-file-remove:hover[b-482d72d917] {
    background: #ffcdd2;
}

.award-list-delete-btn[b-482d72d917] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--ps-surface);
    border: 1.5px solid var(--ps-danger);
    color: var(--ps-danger);
    border-radius: var(--ps-radius-sm);
    cursor: pointer;
    transition: background 0.15s;
}

.award-list-delete-btn:hover[b-482d72d917] {
    background: var(--ps-danger-soft);
}

.award-list-add-btn[b-482d72d917] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: var(--ps-sp-4);
    min-height: 48px;
    padding: 0 var(--ps-sp-5);
    background: var(--ps-brand);
    color: #fff;
    border: none;
    border-radius: var(--ps-radius-sm);
    font-family: inherit;
    font-size: var(--ps-fs-base);
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, filter 0.15s;
}

.award-list-add-btn:hover[b-482d72d917] {
    filter: brightness(1.08);
}

/* ── Need help spacing ── */
.af-help[b-482d72d917] {
    margin-top: var(--ps-sp-6);
}

@media (max-width: 768px) {
    .af-stepbar[b-482d72d917] {
        flex-direction: column;
        align-items: stretch;
        gap: var(--ps-sp-3);
    }

    .af-tabgroups[b-482d72d917] {
        padding: var(--ps-sp-3);
    }

    .af-tabs[b-482d72d917] {
        gap: 0;
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .af-tab[b-482d72d917] {
        white-space: nowrap;
    }

    .af-tab-text[b-482d72d917] {
        max-width: 140px;
    }

    .af-nav-buttons[b-482d72d917] {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .af-nav-right[b-482d72d917] {
        flex-direction: column;
    }

    .af-nav-right .ps-btn[b-482d72d917],
    .af-nav-buttons > div > .ps-btn[b-482d72d917] {
        width: 100%;
    }
}

/* -- Document summary in the submit confirmation -- */
.ps-modal.af-docsum-modal[b-482d72d917] {
    max-width: 640px;
}

.af-docsum[b-482d72d917] {
    text-align: start;
    margin: 0 0 var(--ps-sp-5);
}

.af-docsum-message[b-482d72d917] {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.7rem 0.85rem;
    border-radius: var(--ps-radius, 8px);
    background: #e8eaf6;
    border: 1px solid #c5cae9;
    color: #1a237e;
    font-size: 0.88rem;
    line-height: 1.5;
}

.af-docsum-message .material-icons[b-482d72d917] {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.af-docsum-heading[b-482d72d917] {
    margin: 0.9rem 0 0.4rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--ps-text);
}

.af-docsum-list[b-482d72d917] {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 45vh;
    overflow-y: auto;
    border: 1px solid var(--ps-border, #e0e0e0);
    border-radius: var(--ps-radius, 8px);
}

.af-docsum-item[b-482d72d917] {
    padding: 0.6rem 0.75rem;
}

.af-docsum-item + .af-docsum-item[b-482d72d917] {
    border-top: 1px solid var(--ps-border, #e0e0e0);
}

.af-docsum-head[b-482d72d917] {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.af-docsum-icon[b-482d72d917] {
    font-size: 1.15rem;
    color: var(--ps-text-muted, #666);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.af-docsum-text[b-482d72d917] {
    min-width: 0;
}

.af-docsum-label[b-482d72d917] {
    font-weight: 600;
    font-size: 0.86rem;
    color: var(--ps-text);
}

.af-docsum-required[b-482d72d917] {
    display: inline-block;
    margin-inline-start: 0.35rem;
    padding: 0 0.4rem;
    border-radius: 999px;
    background: #fff3e0;
    color: #e65100;
    font-size: 0.7rem;
    font-weight: 600;
    vertical-align: middle;
}

.af-docsum-file[b-482d72d917] {
    font-size: 0.76rem;
    color: var(--ps-text-muted, #666);
    word-break: break-word;
}

.af-docsum-none[b-482d72d917] {
    margin-top: 0.3rem;
    margin-inline-start: 1.65rem;
    font-size: 0.75rem;
    color: var(--ps-text-muted, #666);
}

/* The pre-submit reminder of entries the assistant pointed out. A note only: submitting is never held back. */
.af-nudge-summary[b-482d72d917] {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.9rem;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--ps-gold-border);
    border-radius: var(--ps-radius-sm);
    background: var(--ps-gold-soft);
    color: var(--ps-gold-ink);
    font-size: 1rem;
    line-height: 1.5;
    text-align: start;
}

.af-nudge-summary .material-icons[b-482d72d917] {
    flex-shrink: 0;
    font-size: 1.2rem;
}
/* /Components/Pages/AwardApply.razor.rz.scp.css */
.aa-content[b-o969phvrj6] {
    /* layout handled by .ps-page */
}

.aa-cycle-header[b-o969phvrj6] {
    display: flex;
    align-items: center;
    gap: var(--ps-sp-4);
    padding: var(--ps-sp-4) var(--ps-sp-5);
    background: var(--ps-brand-soft);
    border-radius: var(--ps-radius);
    margin-bottom: var(--ps-sp-5);
    border: 1px solid var(--ps-brand-soft-2);
}

.aa-cycle-icon[b-o969phvrj6] {
    font-size: 2.2rem;
    color: var(--ps-brand);
    flex-shrink: 0;
}

.aa-cycle-name[b-o969phvrj6] {
    margin: 0;
    font-size: var(--ps-fs-lg);
    color: var(--ps-brand);
    font-weight: 700;
}

.aa-cat-level[b-o969phvrj6] {
    margin-bottom: var(--ps-sp-5);
}

.aa-level-title[b-o969phvrj6] {
    margin: 0 0 var(--ps-sp-3);
    font-size: var(--ps-fs-md);
    font-weight: 700;
    color: var(--ps-text);
}

.aa-cat-list[b-o969phvrj6] {
    display: flex;
    flex-direction: column;
    gap: var(--ps-sp-3);
}

.aa-cat-item[b-o969phvrj6] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--ps-sp-3);
    padding: var(--ps-sp-4) var(--ps-sp-5);
    background: var(--ps-surface);
    border: 2px solid var(--ps-border);
    border-radius: var(--ps-radius-sm);
    cursor: pointer;
    font-family: var(--ps-font);
    font-size: var(--ps-fs-base);
    font-weight: 600;
    color: var(--ps-text);
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    text-align: start;
    width: 100%;
    min-height: 60px;
}

.aa-cat-item:hover[b-o969phvrj6] {
    border-color: var(--ps-brand-soft-2);
    background: var(--ps-surface-2);
    box-shadow: var(--ps-shadow-sm);
}

.aa-cat-item.selected[b-o969phvrj6] {
    border-color: var(--ps-brand);
    background: var(--ps-brand-soft);
    color: var(--ps-brand);
    box-shadow: var(--ps-shadow);
}

.aa-cat-name[b-o969phvrj6] {
    flex: 1;
}

.aa-cat-check[b-o969phvrj6] {
    font-size: 1.5rem;
    color: var(--ps-ok);
    flex-shrink: 0;
}

.aa-cat-chevron[b-o969phvrj6] {
    font-size: 1.5rem;
    color: var(--ps-text-muted);
    flex-shrink: 0;
}

.aa-cat-item.selected .aa-cat-chevron[b-o969phvrj6] {
    color: var(--ps-brand);
}

/* The chosen category's description and "Who should apply" text, set by the back office; muted so the list stays primary. */
.aa-cat-info[b-o969phvrj6] {
    margin-top: var(--ps-sp-2);
    padding-inline: var(--ps-sp-5);
    color: var(--ps-text-muted);
    font-size: var(--ps-fs-sm);
    line-height: 1.6;
}

.aa-cat-desc[b-o969phvrj6] {
    margin: 0 0 var(--ps-sp-2);
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.aa-cat-elig-label[b-o969phvrj6] {
    margin: var(--ps-sp-2) 0 var(--ps-sp-1);
    font-weight: 700;
    color: var(--ps-text);
}

/* Sub-categories open directly beneath the chosen domain, set in from it and tied to it by a rule. */
.aa-cat-children[b-o969phvrj6] {
    margin-top: var(--ps-sp-3);
    margin-inline-start: var(--ps-sp-5);
    padding-inline-start: var(--ps-sp-4);
    border-inline-start: 3px solid var(--ps-brand-soft-2);
}

.aa-sublevel-title[b-o969phvrj6] {
    margin: 0 0 var(--ps-sp-3);
    font-size: var(--ps-fs-sm);
    font-weight: 700;
    color: var(--ps-text-muted);
}

/* ── Cycle picker (first level when more than one cycle is open) ── */

.aa-cycle-item[b-o969phvrj6] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--ps-sp-3);
    padding: var(--ps-sp-4) var(--ps-sp-5);
    background: var(--ps-surface);
    border: 2px solid var(--ps-border);
    border-radius: var(--ps-radius-sm);
    cursor: pointer;
    font-family: var(--ps-font);
    font-size: var(--ps-fs-base);
    font-weight: 600;
    color: var(--ps-text);
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    text-align: start;
    width: 100%;
    min-height: 60px;
}

.aa-cycle-item:hover[b-o969phvrj6] {
    border-color: var(--ps-brand-soft-2);
    background: var(--ps-surface-2);
    box-shadow: var(--ps-shadow-sm);
}

.aa-cycle-item.selected[b-o969phvrj6] {
    border-color: var(--ps-brand);
    background: var(--ps-brand-soft);
    color: var(--ps-brand);
    box-shadow: var(--ps-shadow);
}

.aa-cycle-item-main[b-o969phvrj6] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    flex: 1;
    min-width: 0;
}

.aa-cycle-tag[b-o969phvrj6] {
    flex-shrink: 0;
    padding: 0.2rem 0.6rem;
    border-radius: var(--ps-radius-pill);
    background: var(--ps-brand-soft);
    color: var(--ps-brand);
    font-size: var(--ps-fs-xs);
    font-weight: 700;
    white-space: nowrap;
}

.aa-cycle-item.selected .aa-cycle-tag[b-o969phvrj6] {
    background: var(--ps-surface);
}

.aa-apply-row[b-o969phvrj6] {
    margin-top: var(--ps-sp-3);
}

/* ── Existing application banner ── */

.aa-draft-banner[b-o969phvrj6] {
    display: flex;
    align-items: center;
    gap: var(--ps-sp-4);
    margin-top: var(--ps-sp-5);
    padding: var(--ps-sp-4) var(--ps-sp-5);
    background: var(--ps-warn-soft);
    border: 1px solid rgba(154, 103, 0, 0.3);
    border-radius: var(--ps-radius);
}

.aa-draft-banner-icon[b-o969phvrj6] {
    font-size: 2.2rem;
    color: var(--ps-warn);
    flex-shrink: 0;
}

.aa-draft-banner-content[b-o969phvrj6] {
    display: flex;
    flex-direction: column;
    gap: var(--ps-sp-3);
}

.aa-draft-banner-text[b-o969phvrj6] {
    font-size: var(--ps-fs-base);
    font-weight: 600;
    color: var(--ps-text);
}

.aa-draft-banner-link[b-o969phvrj6] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.25rem;
    background: var(--ps-brand);
    color: #fff;
    border-radius: var(--ps-radius-sm);
    font-size: var(--ps-fs-sm);
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s;
    width: fit-content;
    min-height: 44px;
}

.aa-draft-banner-link:hover[b-o969phvrj6] {
    background: var(--ps-brand-600);
}

@media (max-width: 640px) {
    .aa-apply-row .ps-btn[b-o969phvrj6] {
        width: 100%;
    }

    .aa-draft-banner[b-o969phvrj6] {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ── Category advisor beside the list ── */

/* Wide enough for two columns; the narrow width comes back when the advisor is collapsed or absent. */
.aa-page-wide[b-o969phvrj6] {
    max-width: var(--ps-content-max);
}

.aa-select[b-o969phvrj6] {
    display: flex;
    flex-direction: column;
}

.aa-select-advisor[b-o969phvrj6],
.aa-select-tree[b-o969phvrj6] {
    min-width: 0;
}

/* Advisor at the start side (about 40%), list at the end side (about 60%); stacked below 1100px. Grid follows the
   writing direction, so the columns swap sides in Arabic on their own. */
@media (min-width: 1100px) {
    .aa-select--split[b-o969phvrj6] {
        display: grid;
        grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
        gap: var(--ps-sp-5);
        align-items: start;
    }
}

/* The reminder before opening the form for a category the advisor selected. */
.aa-confirm[b-o969phvrj6] {
    display: flex;
    flex-direction: column;
    gap: var(--ps-sp-3);
    padding: var(--ps-sp-4);
    background: var(--ps-info-soft);
    border: 1px solid color-mix(in srgb, var(--ps-info) 30%, transparent);
    border-radius: var(--ps-radius-sm);
}

.aa-confirm-text[b-o969phvrj6] {
    display: flex;
    align-items: flex-start;
    gap: var(--ps-sp-2);
    margin: 0;
    font-size: var(--ps-fs-sm);
    line-height: var(--ps-lh);
    color: var(--ps-info-ink);
}

.aa-confirm-text .material-icons[b-o969phvrj6] {
    flex-shrink: 0;
    font-size: 1.3rem;
}

/* Focused by script when the question replaces the button, so it is read out. */
.aa-confirm-text:focus[b-o969phvrj6] {
    outline: none;
}

.aa-confirm-text:focus-visible[b-o969phvrj6] {
    border-radius: var(--ps-radius-sm);
    box-shadow: var(--ps-focus-ring);
}

.aa-confirm-actions[b-o969phvrj6] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ps-sp-2);
}
/* /Components/Pages/Dev/AiAvatarGallery.razor.rz.scp.css */
.avg-missing[b-0frsqk68ba] {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    color: var(--ps-text-muted, #4c5567);
    font-size: 1.1rem;
}

.avg[b-0frsqk68ba] {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 16px 64px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: var(--ps-text, #18202f);
    background: var(--ps-bg, #f3f5f9);
    font-family: var(--ps-font, 'Inter', 'Cairo', sans-serif);
}

.avg-head h1[b-0frsqk68ba] {
    margin: 0 0 6px;
    font-size: 1.6rem;
}

.avg-head p[b-0frsqk68ba],
.avg-note[b-0frsqk68ba] {
    margin: 0;
    color: var(--ps-text-muted, #4c5567);
}

.avg-card[b-0frsqk68ba] {
    background: var(--ps-surface, #ffffff);
    border: 1px solid var(--ps-border, #dfe4ee);
    border-radius: var(--ps-radius, 16px);
    box-shadow: var(--ps-shadow-sm);
    padding: 20px;
    overflow-x: auto;
}

.avg-card h2[b-0frsqk68ba] {
    margin: 0 0 14px;
    font-size: 1.1rem;
}

.avg-hero[b-0frsqk68ba] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
}

.avg-hero-stage[b-0frsqk68ba] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avg-hero-controls[b-0frsqk68ba] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.avg-hero-controls h2[b-0frsqk68ba] {
    margin: 0;
}

.avg-buttons[b-0frsqk68ba] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.avg-check[b-0frsqk68ba] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.avg-grid[b-0frsqk68ba] {
    display: grid;
    grid-template-columns: 110px repeat(5, minmax(60px, 1fr));
    align-items: center;
    gap: 12px;
    min-width: 560px;
}

.avg-col-head[b-0frsqk68ba],
.avg-row-head[b-0frsqk68ba] {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ps-text-muted, #4c5567);
}

.avg-col-head[b-0frsqk68ba],
.avg-cell[b-0frsqk68ba] {
    text-align: center;
}

.avg-row[b-0frsqk68ba] {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.avg-fig[b-0frsqk68ba] {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--ps-radius-sm, 10px);
    background: var(--ps-surface-2, #f6f8fc);
}

.avg-fig figcaption[b-0frsqk68ba] {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ps-text-muted, #4c5567);
}

.avg-dark[b-0frsqk68ba] {
    background: var(--ps-brand, #14284a);
    color: var(--ps-on-brand, #ffffff);
}

.avg-dark .avg-fig[b-0frsqk68ba] {
    background: color-mix(in srgb, var(--ps-on-brand, #ffffff) 8%, transparent);
}

.avg-dark .avg-fig figcaption[b-0frsqk68ba] {
    color: var(--ps-on-brand, #ffffff);
}
/* /Components/Pages/Dev/NudgeRulesLab.razor.rz.scp.css */
.nrl-missing[b-n83ccudubh] {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    color: var(--ps-text-muted, #4c5567);
    font-size: 1.1rem;
}

.nrl[b-n83ccudubh] {
    max-width: 1000px;
    margin: 0 auto;
    padding: 24px 16px 64px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    color: var(--ps-text, #18202f);
    background: var(--ps-bg, #f3f5f9);
    font-family: var(--ps-font, 'Inter', 'Cairo', sans-serif);
}

.nrl-head h1[b-n83ccudubh] {
    margin: 0 0 6px;
    font-size: 1.6rem;
}

.nrl-head p[b-n83ccudubh] {
    margin: 0;
    color: var(--ps-text-muted, #4c5567);
}

.nrl-buttons[b-n83ccudubh] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.nrl-report[b-n83ccudubh] {
    margin-top: 12px !important;
    padding: 10px 12px;
    border-radius: var(--ps-radius-sm, 10px);
    font-weight: 600;
}

.nrl-report.is-ok[b-n83ccudubh] {
    background: #e7f6ec;
    color: #1d6b38 !important;
}

.nrl-report.is-bad[b-n83ccudubh] {
    background: #fdecec;
    color: #9b1c1c !important;
}

.nrl-card[b-n83ccudubh] {
    background: var(--ps-surface, #ffffff);
    border: 1px solid var(--ps-border, #dfe4ee);
    border-radius: var(--ps-radius, 16px);
    box-shadow: var(--ps-shadow-sm);
    padding: 18px;
}

.nrl-card h2[b-n83ccudubh] {
    margin: 0 0 10px;
    font-size: 1.1rem;
}

.nrl-input[b-n83ccudubh],
.nrl-context input[b-n83ccudubh],
.nrl-context select[b-n83ccudubh],
.nrl-context textarea[b-n83ccudubh] {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 10px;
    border: 1px solid var(--ps-border, #dfe4ee);
    border-radius: var(--ps-radius-sm, 10px);
    font: inherit;
    font-size: 1rem;
}

.nrl-context[b-n83ccudubh] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.nrl-context label[b-n83ccudubh] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.9rem;
    font-weight: 600;
}

.nrl-context .nrl-check[b-n83ccudubh] {
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.nrl-context .nrl-check input[b-n83ccudubh] {
    width: auto;
}

.nrl-wide[b-n83ccudubh] {
    grid-column: 1 / -1;
}

.nrl-samples[b-n83ccudubh] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.nrl-sample[b-n83ccudubh] {
    padding: 4px 10px;
    border: 1px solid var(--ps-border, #dfe4ee);
    border-radius: 999px;
    background: var(--ps-surface, #fff);
    font: inherit;
    font-size: 0.85rem;
    cursor: pointer;
}

.nrl-sample.is-flag[b-n83ccudubh] {
    border-color: #e4b5b5;
    background: #fdf3f3;
}

.nrl-sample.is-pass[b-n83ccudubh] {
    border-color: #b5dcc2;
    background: #f1faf4;
}

.nrl-tag[b-n83ccudubh] {
    padding: 0 6px;
    border-radius: 6px;
    font-size: 0.85rem;
}

.nrl-tag--flag[b-n83ccudubh] {
    background: #fdf3f3;
}

.nrl-tag--pass[b-n83ccudubh] {
    background: #f1faf4;
}

.nrl-output[b-n83ccudubh] {
    margin-top: 12px;
}

.nrl-code[b-n83ccudubh] {
    margin-bottom: 4px;
    font-size: 0.85rem;
    color: var(--ps-text-muted, #4c5567);
}

.nrl-ok[b-n83ccudubh] {
    color: #1d6b38;
    font-weight: 600;
}

.nrl-muted[b-n83ccudubh] {
    color: var(--ps-text-muted, #4c5567);
}
/* /Components/Pages/ForgotPassword.razor.rz.scp.css */
.forgot-container[b-t6fwq0db0s] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: #f4f6fb;
}

.forgot-card[b-t6fwq0db0s] {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(20, 28, 70, 0.1);
    padding: 2.5rem;
    max-width: 460px;
    width: 100%;
}

.forgot-header[b-t6fwq0db0s] {
    text-align: center;
    margin-bottom: 2rem;
}

.forgot-icon[b-t6fwq0db0s] {
    font-size: 3rem;
    color: var(--ps-brand);
    background: var(--ps-brand-soft);
    border-radius: 50%;
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.forgot-heading[b-t6fwq0db0s] {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--ps-brand);
    margin: 0;
}

.forgot-subheading[b-t6fwq0db0s] {
    font-size: 1rem;
    color: var(--ps-text-muted);
    margin: 0.5rem 0 0;
    line-height: 1.5;
}

.forgot-fields[b-t6fwq0db0s] {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.forgot-fields[b-t6fwq0db0s]  .rz-form-field {
    font-size: 1.05rem;
}

.forgot-fields[b-t6fwq0db0s]  .rz-textbox,
.forgot-fields[b-t6fwq0db0s]  input.rz-textbox {
    min-height: 52px;
    font-size: 1.05rem;
}

.forgot-fields[b-t6fwq0db0s]  .rz-form-field-content {
    min-height: 52px;
}

.forgot-footer[b-t6fwq0db0s] {
    text-align: center;
    margin-top: 1.5rem;
}

.forgot-success[b-t6fwq0db0s] {
    text-align: center;
}

.forgot-success-icon[b-t6fwq0db0s] {
    font-size: 3rem;
    color: var(--ps-ok);
    background: var(--ps-ok-soft);
    border-radius: 50%;
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.forgot-email-highlight[b-t6fwq0db0s] {
    font-weight: 700;
    color: var(--ps-brand);
    font-size: 1.05rem;
    margin: 0.5rem 0;
    word-break: break-all;
}

.forgot-hint[b-t6fwq0db0s] {
    font-size: 0.9rem;
    color: var(--ps-text-faint);
    margin: 0;
}

.login-link[b-t6fwq0db0s] {
    color: var(--ps-brand-600);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.2s;
}

.login-link:hover[b-t6fwq0db0s] {
    color: var(--ps-brand);
    text-decoration: underline;
}

.login-lang-toggle[b-t6fwq0db0s] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.5rem;
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 0.85rem;
    font-family: inherit;
    padding: 0.4rem 0;
    transition: color 0.2s;
    justify-content: center;
    width: 100%;
}

.login-lang-toggle:hover[b-t6fwq0db0s] {
    color: #333;
}

@media (max-width: 480px) {
    .forgot-container[b-t6fwq0db0s] {
        padding: 1rem;
    }

    .forgot-card[b-t6fwq0db0s] {
        padding: 1.5rem;
    }

    .forgot-heading[b-t6fwq0db0s] {
        font-size: 1.3rem;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* ── Header next-step call to action ── */
.dash-next-label[b-uqhjuswdfv] {
    font-size: var(--ps-fs-xs);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ps-gold-ink);
}

/* ── Winner announcement ── */
.dash-winner[b-uqhjuswdfv] {
    margin-bottom: var(--ps-sp-6);
    border-color: var(--ps-gold-border);
    background: linear-gradient(180deg, var(--ps-gold-soft) 0%, var(--ps-surface) 60%);
}

.dash-winner-trophy[b-uqhjuswdfv] {
    color: var(--ps-gold-ink);
}

.dash-winner-list[b-uqhjuswdfv] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--ps-sp-3);
}

.dash-winner-item[b-uqhjuswdfv] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--ps-sp-4);
    padding: var(--ps-sp-4);
    border: 1px solid var(--ps-gold-border);
    border-radius: var(--ps-radius-sm);
    background: var(--ps-surface);
}

.dash-winner-badge[b-uqhjuswdfv] {
    flex-shrink: 0;
}

.dash-winner-detail[b-uqhjuswdfv] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.dash-winner-cycle[b-uqhjuswdfv] {
    font-size: var(--ps-fs-md);
    font-weight: 800;
    color: var(--ps-text);
}

.dash-winner-category[b-uqhjuswdfv] {
    font-size: var(--ps-fs-base);
    font-weight: 600;
    color: var(--ps-text-muted);
}

.dash-winner-date[b-uqhjuswdfv] {
    font-size: var(--ps-fs-sm);
    color: var(--ps-text-faint);
}

.dash-winner-link[b-uqhjuswdfv] {
    flex-shrink: 0;
}

@media (max-width: 560px) {
    .dash-winner-link[b-uqhjuswdfv] {
        width: 100%;
    }
}

/* ── Action cards ── */
.dash-cards[b-uqhjuswdfv] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: var(--ps-sp-5);
    margin-bottom: var(--ps-sp-6);
}

.dash-card[b-uqhjuswdfv] {
    display: flex;
    flex-direction: column;
}

.dash-badge[b-uqhjuswdfv] {
    align-self: flex-start;
}

.dash-card-text[b-uqhjuswdfv] {
    font-size: var(--ps-fs-base);
    color: var(--ps-text-muted);
    line-height: var(--ps-lh);
    margin: var(--ps-sp-4) 0 var(--ps-sp-5);
}

.dash-progress-row[b-uqhjuswdfv] {
    display: flex;
    align-items: center;
    gap: var(--ps-sp-4);
    margin-bottom: var(--ps-sp-5);
}

.dash-progress-row .ps-progress[b-uqhjuswdfv] {
    flex: 1;
}

.dash-progress-label[b-uqhjuswdfv] {
    font-size: var(--ps-fs-base);
    font-weight: 800;
    color: var(--ps-brand);
    white-space: nowrap;
}

.dash-card-actions[b-uqhjuswdfv] {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: var(--ps-sp-3);
}

.dash-card-note[b-uqhjuswdfv] {
    font-size: var(--ps-fs-sm);
    color: var(--ps-text-faint);
    font-style: italic;
}

/* ── Smart application card details ── */
.dash-app-details[b-uqhjuswdfv] {
    margin: 0 0 var(--ps-sp-5);
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius-sm);
    background: var(--ps-surface-2);
    overflow: hidden;
}

.dash-app-detail[b-uqhjuswdfv] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--ps-sp-4);
    padding: var(--ps-sp-3) var(--ps-sp-4);
    border-bottom: 1px solid var(--ps-border);
}

.dash-app-detail:last-child[b-uqhjuswdfv] {
    border-bottom: none;
}

.dash-app-detail dt[b-uqhjuswdfv] {
    margin: 0;
    font-size: var(--ps-fs-sm);
    font-weight: 700;
    color: var(--ps-text-muted);
    flex-shrink: 0;
}

.dash-app-detail dd[b-uqhjuswdfv] {
    margin: 0;
    font-size: var(--ps-fs-base);
    font-weight: 600;
    color: var(--ps-text);
    text-align: end;
    word-break: break-word;
}

.dash-app-cycle dd[b-uqhjuswdfv] {
    text-align: start;
}

.dash-app-ref dd[b-uqhjuswdfv] {
    font-size: var(--ps-fs-md);
    font-weight: 800;
    color: var(--ps-brand);
}

/* ── Journey timeline ── */
.dash-journey[b-uqhjuswdfv] {
    margin-bottom: var(--ps-sp-6);
}

.dash-step-body[b-uqhjuswdfv] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.dash-step-num[b-uqhjuswdfv] {
    font-size: var(--ps-fs-md);
    font-weight: 800;
}

.dash-step-hint-pending[b-uqhjuswdfv] {
    color: var(--ps-text-faint) !important;
}

/* Horizontal timeline on wide screens with a connecting line */
@media (min-width: 900px) {
    .dash-stepper[b-uqhjuswdfv] {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .dash-stepper .ps-step[b-uqhjuswdfv] {
        flex: 1 1 0;
        min-width: 150px;
        flex-direction: column;
        text-align: center;
        gap: var(--ps-sp-3);
        padding: var(--ps-sp-5) var(--ps-sp-3);
    }

    .dash-stepper .dash-step-body[b-uqhjuswdfv] {
        align-items: center;
    }

    .dash-stepper .ps-step-hint[b-uqhjuswdfv] {
        margin-inline-start: 0;
    }

    .dash-stepper .ps-step-label[b-uqhjuswdfv] {
        font-size: var(--ps-fs-sm);
    }
}

@media (max-width: 560px) {
    .dash-next-label[b-uqhjuswdfv] {
        margin-top: var(--ps-sp-2);
    }
}
/* /Components/Pages/Login.razor.rz.scp.css */
.login-split[b-o2ytdz251t] {
    display: flex;
    min-height: 100vh;
}

/* ══════ Form side ══════ */

.login-form-side[b-o2ytdz251t] {
    width: 45%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    background: #ffffff;
    box-sizing: border-box;
}

.login-form-container[b-o2ytdz251t] {
    width: 100%;
    max-width: 420px;
}

/* ══════ Brand (logo + title) ══════ */

.login-brand[b-o2ytdz251t] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 2rem;
}

.login-brand-logo[b-o2ytdz251t] {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
}

.login-brand-title[b-o2ytdz251t] {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ps-brand);
    line-height: 1.3;
}

.login-form-header[b-o2ytdz251t] {
    margin-bottom: 2rem;
}

.login-heading[b-o2ytdz251t] {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    color: var(--ps-brand);
}

.login-subheading[b-o2ytdz251t] {
    font-size: 1.05rem;
    color: var(--ps-text-muted);
    margin: 0.5rem 0 0;
    line-height: 1.5;
}

/* ══════ Fields ══════ */

.login-fields[b-o2ytdz251t] {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

/* Larger, elder-friendly inputs */
.login-fields[b-o2ytdz251t]  .rz-form-field {
    font-size: 1.05rem;
}

.login-fields[b-o2ytdz251t]  .rz-textbox,
.login-fields[b-o2ytdz251t]  input.rz-textbox {
    min-height: 52px;
    font-size: 1.05rem;
}

.login-fields[b-o2ytdz251t]  .rz-form-field-content {
    min-height: 52px;
}

.login-forgot-row[b-o2ytdz251t] {
    display: flex;
    justify-content: flex-end;
    margin-top: -0.5rem;
}

.login-link[b-o2ytdz251t] {
    color: var(--ps-brand-600);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.2s;
}

.login-link:hover[b-o2ytdz251t] {
    color: var(--ps-brand);
    text-decoration: underline;
}

/* ══════ Submit button ══════ */

.login-submit-btn[b-o2ytdz251t] {
    width: 100%;
    padding: 0.85rem;
    border: none;
    border-radius: 8px;
    background: #1a237e;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.2s, transform 0.1s;
    margin-top: 0.25rem;
}

.login-submit-btn:hover[b-o2ytdz251t] {
    background: #283593;
}

.login-submit-btn:active[b-o2ytdz251t] {
    transform: scale(0.98);
}

.login-submit-btn:disabled[b-o2ytdz251t] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ══════ Footer / register link ══════ */

.login-footer[b-o2ytdz251t] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 2rem;
    justify-content: center;
}

.login-footer-text[b-o2ytdz251t] {
    font-size: 1rem;
    color: var(--ps-text-muted);
}

.login-register-link[b-o2ytdz251t] {
    font-size: 1rem;
    font-weight: 700;
}

/* ══════ Language toggle ══════ */

.login-lang-toggle[b-o2ytdz251t] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.5rem;
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 0.85rem;
    font-family: inherit;
    padding: 0.4rem 0;
    transition: color 0.2s;
    justify-content: center;
    width: 100%;
}

.login-lang-toggle:hover[b-o2ytdz251t] {
    color: #333;
}

/* ══════ Image side ══════ */

.login-image-side[b-o2ytdz251t] {
    width: 55%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}

.login-image-overlay[b-o2ytdz251t] {
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
    width: 100%;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.login-image-title[b-o2ytdz251t] {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.login-image-subtitle[b-o2ytdz251t] {
    font-size: 1.05rem;
    font-weight: 400;
    color: rgba(255,255,255,0.85);
    margin: 0;
    line-height: 1.6;
    max-width: 500px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

/* ══════ Responsive ══════ */

@media (max-width: 1024px) {
    .login-form-side[b-o2ytdz251t] {
        width: 50%;
        padding: 2rem;
    }

    .login-image-side[b-o2ytdz251t] {
        width: 50%;
    }

    .login-image-title[b-o2ytdz251t] {
        font-size: 1.6rem;
    }

    .login-image-subtitle[b-o2ytdz251t] {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .login-split[b-o2ytdz251t] {
        flex-direction: column;
    }

    .login-form-side[b-o2ytdz251t] {
        width: 100%;
        min-height: 100vh;
        padding: 2rem 1.5rem;
    }

    .login-form-container[b-o2ytdz251t] {
        max-width: 420px;
    }

    .login-image-side[b-o2ytdz251t] {
        display: none;
    }
}

@media (max-width: 480px) {
    .login-form-side[b-o2ytdz251t] {
        padding: 1.5rem 1rem;
    }

    .login-form-container[b-o2ytdz251t] {
        max-width: 100%;
    }

    .login-heading[b-o2ytdz251t] {
        font-size: 1.4rem;
    }

    .login-fields[b-o2ytdz251t] {
        gap: 1rem;
    }

    .login-footer[b-o2ytdz251t] {
        margin-top: 1.5rem;
    }
}
/* /Components/Pages/MyAwardApplications.razor.rz.scp.css */
.ma-content[b-16vaocumcw] {
    max-width: 920px;
}

.ma-success-banner[b-16vaocumcw] {
    margin-bottom: var(--ps-sp-5);
}

.ma-success-ref[b-16vaocumcw] {
    margin-top: 0.25rem;
    font-size: var(--ps-fs-sm);
}

.ma-success-ref span[b-16vaocumcw] {
    font-weight: 700;
}

.ma-list[b-16vaocumcw] {
    display: flex;
    flex-direction: column;
    gap: var(--ps-sp-4);
}

.ma-card[b-16vaocumcw] {
    display: flex;
    flex-direction: column;
    gap: var(--ps-sp-4);
}

.ma-card-head[b-16vaocumcw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--ps-sp-3);
    flex-wrap: wrap;
}

.ma-card-id[b-16vaocumcw] {
    display: flex;
    align-items: baseline;
    gap: var(--ps-sp-2);
}

.ma-card-id-label[b-16vaocumcw] {
    font-size: var(--ps-fs-sm);
    color: var(--ps-text-muted);
    font-weight: 600;
}

.ma-card-id-value[b-16vaocumcw] {
    font-size: var(--ps-fs-lg);
    font-weight: 700;
    color: var(--ps-brand);
}

.ma-status-message[b-16vaocumcw] {
    margin: 0;
    font-size: var(--ps-fs-base);
    color: var(--ps-text);
    line-height: 1.5;
}

.ma-card-meta[b-16vaocumcw] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ps-sp-3) var(--ps-sp-6);
    padding: var(--ps-sp-4);
    background: var(--ps-surface-2);
    border-radius: var(--ps-radius-sm);
}

.ma-meta-item[b-16vaocumcw] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 120px;
}

.ma-label[b-16vaocumcw] {
    font-size: var(--ps-fs-xs);
    color: var(--ps-text-faint);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.ma-value[b-16vaocumcw] {
    font-size: var(--ps-fs-base);
    color: var(--ps-text);
    font-weight: 500;
}

.ma-value-deadline[b-16vaocumcw] {
    color: var(--ps-warn-ink, #92400e);
    font-weight: 700;
}

.ma-card-actions[b-16vaocumcw] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ps-sp-3);
}

.ma-card-actions:empty[b-16vaocumcw] {
    display: none;
}

@media (max-width: 560px) {
    .ma-card-actions[b-16vaocumcw] {
        flex-direction: column;
    }

    .ma-card-actions .ps-btn[b-16vaocumcw] {
        width: 100%;
    }
}
/* /Components/Pages/MyProfile.razor.rz.scp.css */
/* ── Completion banner / bar ── */
.mp-complete-banner[b-fvtxurd9t0] {
    margin-bottom: var(--ps-sp-6);
}

.mp-completion[b-fvtxurd9t0] {
    margin-bottom: var(--ps-sp-6);
    padding: var(--ps-sp-5);
}

.mp-completion-top[b-fvtxurd9t0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--ps-sp-3);
    flex-wrap: wrap;
    margin-bottom: var(--ps-sp-3);
}

.mp-completion-text[b-fvtxurd9t0] {
    font-size: var(--ps-fs-base);
    font-weight: 700;
    color: var(--ps-text);
}

.mp-completion-label[b-fvtxurd9t0] {
    font-size: var(--ps-fs-base);
    font-weight: 800;
    color: var(--ps-brand);
}

/* ── Layout: vertical section list + content ── */
.mp-layout[b-fvtxurd9t0] {
    display: grid;
    grid-template-columns: 290px 1fr;
    gap: var(--ps-sp-5);
    align-items: start;
}

.mp-nav[b-fvtxurd9t0] {
    position: sticky;
    top: 90px;
}

.mp-main[b-fvtxurd9t0] {
    min-width: 0;
}

.mp-section-card[b-fvtxurd9t0] {
    padding: var(--ps-sp-6);
}

.mp-section-header[b-fvtxurd9t0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--ps-sp-4);
    flex-wrap: wrap;
    margin-bottom: var(--ps-sp-5);
    padding-bottom: var(--ps-sp-4);
    border-bottom: 2px solid var(--ps-border);
}

.mp-section-title[b-fvtxurd9t0] {
    font-size: var(--ps-fs-lg);
    font-weight: 800;
    color: var(--ps-brand);
    margin: 0;
}

/* ── Fields (single column, wide) ── */
.mp-fields[b-fvtxurd9t0] {
    display: flex;
    flex-direction: column;
    gap: var(--ps-sp-2);
}

.mp-checkbox[b-fvtxurd9t0] {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: var(--ps-fs-base);
    font-weight: 600;
    color: var(--ps-text);
    cursor: pointer;
    padding: 0.4rem 0;
}

.mp-checkbox input[type="checkbox"][b-fvtxurd9t0] {
    width: 24px;
    height: 24px;
    accent-color: var(--ps-brand);
    cursor: pointer;
    flex-shrink: 0;
}

.mp-radio-group[b-fvtxurd9t0] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mp-radio[b-fvtxurd9t0] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: var(--ps-fs-base);
    color: var(--ps-text);
    cursor: pointer;
    padding: 0.55rem 0.85rem;
    border: 1.5px solid var(--ps-border);
    border-radius: var(--ps-radius-sm);
    transition: border-color 0.15s, background 0.15s;
}

.mp-radio:hover[b-fvtxurd9t0] {
    border-color: var(--ps-border-strong);
    background: var(--ps-surface-2);
}

.mp-radio input[type="radio"][b-fvtxurd9t0] {
    width: 22px;
    height: 22px;
    accent-color: var(--ps-brand);
    cursor: pointer;
    flex-shrink: 0;
}

/* ── Read-only display ── */
.mp-readonly-field[b-fvtxurd9t0] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--ps-border);
}

.mp-readonly-label[b-fvtxurd9t0] {
    font-size: var(--ps-fs-sm);
    font-weight: 700;
    color: var(--ps-text-muted);
}

.mp-readonly-value[b-fvtxurd9t0] {
    font-size: var(--ps-fs-md);
    color: var(--ps-text);
    font-weight: 600;
    word-break: break-word;
}

/* ── Attachment editor ── */
.mp-attachment[b-fvtxurd9t0] {
    margin-top: 0.25rem;
}

.mp-replace[b-fvtxurd9t0] {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

[b-fvtxurd9t0] .mp-replace-input {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    opacity: 0;
    cursor: pointer;
}

/* ── Messages / validation ── */
.mp-msg[b-fvtxurd9t0] {
    margin-top: var(--ps-sp-4);
}

.mp-validation-list[b-fvtxurd9t0] {
    margin: 0.4rem 0 0;
    padding-inline-start: 1.4rem;
}

.mp-validation-list li[b-fvtxurd9t0] {
    margin-bottom: 0.25rem;
    line-height: 1.5;
}

/* ── Actions ── */
.mp-actions[b-fvtxurd9t0] {
    display: flex;
    justify-content: flex-end;
    gap: var(--ps-sp-3);
    margin-top: var(--ps-sp-6);
    padding-top: var(--ps-sp-5);
    border-top: 2px solid var(--ps-border);
}

/* ── Screen-reader only ── */
.mp-sr-only[b-fvtxurd9t0] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ── Responsive ── */
@media (max-width: 860px) {
    .mp-layout[b-fvtxurd9t0] {
        grid-template-columns: 1fr;
    }

    .mp-nav[b-fvtxurd9t0] {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .mp-nav .ps-section-nav-item[b-fvtxurd9t0] {
        flex: 1 1 200px;
    }
}

@media (max-width: 560px) {
    .mp-section-card[b-fvtxurd9t0] {
        padding: var(--ps-sp-5) var(--ps-sp-4);
    }

    .mp-actions[b-fvtxurd9t0] {
        flex-direction: column-reverse;
    }

    .mp-actions .ps-btn[b-fvtxurd9t0] {
        width: 100%;
    }
}

/* ── List field (edit + read-only) ── */
.pl-list[b-fvtxurd9t0] {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.pl-list-hint[b-fvtxurd9t0] {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.75rem;
    color: #6b7280;
}

.pl-list-scroll[b-fvtxurd9t0] {
    overflow-x: auto;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.pl-list-table[b-fvtxurd9t0] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.pl-list-table th[b-fvtxurd9t0] {
    background: #f3f4f6;
    padding: 0.5rem 0.6rem;
    text-align: start;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
    border-bottom: 1px solid #e5e7eb;
}

.pl-list-table td[b-fvtxurd9t0] {
    padding: 0.4rem 0.5rem;
    border-bottom: 1px solid #f1f1f1;
    vertical-align: middle;
}

.pl-list-num[b-fvtxurd9t0] {
    text-align: center;
    color: #9ca3af;
    font-weight: 600;
}

.pl-req[b-fvtxurd9t0] {
    color: #dc2626;
    margin-inline-start: 2px;
}

.pl-input[b-fvtxurd9t0] {
    width: 100%;
    min-width: 110px;
    padding: 0.4rem 0.55rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.85rem;
    font-family: inherit;
    box-sizing: border-box;
}

.pl-input:focus[b-fvtxurd9t0] {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.15);
}

.pl-radio-row[b-fvtxurd9t0] {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.pl-radio[b-fvtxurd9t0] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
}

.pl-list-del[b-fvtxurd9t0] {
    background: none;
    border: none;
    color: #dc2626;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem;
    border-radius: 6px;
}

.pl-list-del:hover[b-fvtxurd9t0] {
    background: #fee2e2;
}

.pl-list-add[b-fvtxurd9t0] {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: #eef2ff;
    color: #4338ca;
    border: 1px dashed #a5b4fc;
    border-radius: 8px;
    padding: 0.45rem 0.9rem;
    font-size: 0.83rem;
    font-weight: 600;
    cursor: pointer;
}

.pl-list-add:hover[b-fvtxurd9t0] {
    background: #e0e7ff;
}

.pl-ro-empty[b-fvtxurd9t0] {
    color: #9ca3af;
    font-style: italic;
}

.pl-file-cell[b-fvtxurd9t0] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 150px;
}

.pl-file-upload[b-fvtxurd9t0] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.6rem;
    border: 1px dashed #c7ccd6;
    border-radius: 8px;
    background: #f8fafc;
    color: #4b5563;
    font-size: 0.8rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.pl-file-upload:hover[b-fvtxurd9t0] {
    border-color: #6366f1;
    color: #4338ca;
    background: #eef2ff;
}

.pl-file-native[b-fvtxurd9t0] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.pl-file-name[b-fvtxurd9t0] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    max-width: 180px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #1a237e;
    text-decoration: none;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.pl-file-err[b-fvtxurd9t0] {
    font-size: 0.72rem;
    color: #dc2626;
    font-weight: 600;
}
/* /Components/Pages/Register.razor.rz.scp.css */
.login-split[b-65887pp8jr] {
    display: flex;
    min-height: 100vh;
}

.login-form-side[b-65887pp8jr] {
    width: 45%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    background: #ffffff;
    box-sizing: border-box;
}

.login-form-container[b-65887pp8jr] {
    width: 100%;
    max-width: 400px;
}

.login-form-header[b-65887pp8jr] {
    margin-bottom: 2rem;
}

.login-heading[b-65887pp8jr] {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    color: #1a237e;
}

.login-subheading[b-65887pp8jr] {
    font-size: 0.95rem;
    color: #666;
    margin: 0.5rem 0 0 0;
}

.login-fields[b-65887pp8jr] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.field-group[b-65887pp8jr] {
    position: relative;
}

/*
 * Sits inside the field on its trailing edge, level with the text. The 0.5rem clears the form field's
 * top margin, the rest centres the 22px icon on the input row. Empty (and so invisible) when the field
 * has no hint, since FieldHint renders nothing in that case.
 */
.field-hint-anchor[b-65887pp8jr] {
    position: absolute;
    top: calc(0.5rem + (var(--rz-input-height, 2.5rem) - 22px) / 2);
    inset-inline-end: 0.6rem;
    z-index: 5;
}

/* Keep a long value from running under the icon. */
.field-group.has-hint[b-65887pp8jr]  .rz-textbox {
    padding-inline-end: 2.1rem;
}

.login-submit-btn[b-65887pp8jr] {
    width: 100%;
    padding: 0.85rem;
    border: none;
    border-radius: 8px;
    background: #1a237e;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.2s, transform 0.1s;
    margin-top: 0.25rem;
}

.login-submit-btn:hover[b-65887pp8jr] { background: #283593; }
.login-submit-btn:active[b-65887pp8jr] { transform: scale(0.98); }
.login-submit-btn:disabled[b-65887pp8jr] { opacity: 0.6; cursor: not-allowed; }

.login-footer[b-65887pp8jr] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 2rem;
    justify-content: center;
}

.login-footer-text[b-65887pp8jr] {
    font-size: 0.9rem;
    color: #666;
}

.login-link[b-65887pp8jr] {
    color: #3949ab;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s;
}

.login-link:hover[b-65887pp8jr] { color: #1a237e; text-decoration: underline; }

.login-register-link[b-65887pp8jr] { font-size: 0.9rem; font-weight: 600; }

.login-lang-toggle[b-65887pp8jr] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.5rem;
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 0.85rem;
    font-family: inherit;
    padding: 0.4rem 0;
    transition: color 0.2s;
    justify-content: center;
    width: 100%;
}

.login-lang-toggle:hover[b-65887pp8jr] { color: #333; }

.sp-rules[b-65887pp8jr] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.75rem 1rem;
    background: #fafafa;
    border-radius: 8px;
    border: 1px solid #eee;
}

.sp-rule[b-65887pp8jr] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #999;
    transition: color 0.2s;
}

.sp-rule .material-icons[b-65887pp8jr] {
    font-size: 1.1rem;
}

.sp-rule-pass[b-65887pp8jr] {
    color: #2e7d32;
}

.sp-rule-pass .material-icons[b-65887pp8jr] {
    color: #2e7d32;
}

.login-image-side[b-65887pp8jr] {
    width: 55%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}

.login-image-overlay[b-65887pp8jr] {
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
    width: 100%;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.login-image-title[b-65887pp8jr] {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.login-image-subtitle[b-65887pp8jr] {
    font-size: 1.05rem;
    font-weight: 400;
    color: rgba(255,255,255,0.85);
    margin: 0;
    line-height: 1.6;
    max-width: 500px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

@media (max-width: 1024px) {
    .login-form-side[b-65887pp8jr] { width: 50%; padding: 2rem; }
    .login-image-side[b-65887pp8jr] { width: 50%; }
    .login-image-title[b-65887pp8jr] { font-size: 1.6rem; }
    .login-image-subtitle[b-65887pp8jr] { font-size: 0.95rem; }
}

@media (max-width: 768px) {
    .login-split[b-65887pp8jr] { flex-direction: column; }
    .login-form-side[b-65887pp8jr] { width: 100%; min-height: 100vh; padding: 2rem 1.5rem; }
    .login-form-container[b-65887pp8jr] { max-width: 420px; }
    .login-image-side[b-65887pp8jr] { display: none; }
}

@media (max-width: 480px) {
    .login-form-side[b-65887pp8jr] { padding: 1.5rem 1rem; }
    .login-form-container[b-65887pp8jr] { max-width: 100%; }
    .login-heading[b-65887pp8jr] { font-size: 1.4rem; }
    .login-fields[b-65887pp8jr] { gap: 1rem; }
    .login-footer[b-65887pp8jr] { margin-top: 1.5rem; }
}
/* /Components/Pages/RegisterPending.razor.rz.scp.css */
.pending-container[b-e8uc2uhnrg] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f6fa;
    padding: 2rem;
}

.pending-card[b-e8uc2uhnrg] {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 3rem 2.5rem;
    max-width: 460px;
    width: 100%;
    text-align: center;
}

.pending-icon[b-e8uc2uhnrg] {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #e8eaf6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.pending-icon .material-icons[b-e8uc2uhnrg] {
    font-size: 2.5rem;
    color: #1a237e;
}

.pending-title[b-e8uc2uhnrg] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a237e;
    margin: 0 0 1rem 0;
}

.pending-text[b-e8uc2uhnrg] {
    font-size: 0.95rem;
    color: #666;
    margin: 0 0 0.5rem 0;
}

.pending-email[b-e8uc2uhnrg] {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 1.5rem 0;
    word-break: break-all;
}

.pending-hint[b-e8uc2uhnrg] {
    font-size: 0.85rem;
    color: #999;
    margin: 0 0 2rem 0;
    line-height: 1.5;
}

.pending-back-link[b-e8uc2uhnrg] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #3949ab;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.pending-back-link:hover[b-e8uc2uhnrg] {
    color: #1a237e;
}

.login-lang-toggle[b-e8uc2uhnrg] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.5rem;
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 0.85rem;
    font-family: inherit;
    padding: 0.4rem 0;
    transition: color 0.2s;
    justify-content: center;
    width: 100%;
}

.login-lang-toggle:hover[b-e8uc2uhnrg] { color: #333; }

@media (max-width: 480px) {
    .pending-card[b-e8uc2uhnrg] {
        padding: 2rem 1.5rem;
    }

    .pending-title[b-e8uc2uhnrg] {
        font-size: 1.3rem;
    }
}
/* /Components/Pages/RegisterProfile.razor.rz.scp.css */
.profile-container[b-afsqf9dmix] {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: #f5f6fa;
    padding: 2rem;
}

.profile-card[b-afsqf9dmix] {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 2.5rem;
    max-width: 700px;
    width: 100%;
    margin-top: 2rem;
}

.profile-header[b-afsqf9dmix] {
    text-align: center;
    margin-bottom: 2rem;
}

.profile-icon[b-afsqf9dmix] {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #e8eaf6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.profile-icon .material-icons[b-afsqf9dmix] {
    font-size: 2.2rem;
    color: #1a237e;
}

.profile-title[b-afsqf9dmix] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a237e;
    margin: 0 0 0.5rem 0;
}

.profile-subtitle[b-afsqf9dmix] {
    font-size: 0.9rem;
    color: #888;
    margin: 0;
}

/* ══════ Step indicator bar ══════ */

.steps-bar[b-afsqf9dmix] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
    overflow-x: auto;
}

.step-item[b-afsqf9dmix] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
    min-width: 70px;
}

.step-indicator[b-afsqf9dmix] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, box-shadow 0.3s;
}

.step-number[b-afsqf9dmix] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #999;
}

.step-check[b-afsqf9dmix] {
    font-size: 1.3rem;
    color: #fff;
}

.step-label[b-afsqf9dmix] {
    font-size: 0.75rem;
    color: #999;
    text-align: center;
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
    transition: color 0.3s;
}

.step-current .step-indicator[b-afsqf9dmix] {
    background: #1a237e;
    box-shadow: 0 2px 8px rgba(26,35,126,0.3);
}

.step-current .step-number[b-afsqf9dmix] {
    color: #fff;
}

.step-current .step-label[b-afsqf9dmix] {
    color: #1a237e;
    font-weight: 600;
}

.step-complete .step-indicator[b-afsqf9dmix] {
    background: #2e7d32;
}

.step-complete .step-label[b-afsqf9dmix] {
    color: #2e7d32;
}

.step-connector[b-afsqf9dmix] {
    width: 32px;
    height: 2px;
    background: #e0e0e0;
    flex-shrink: 0;
    margin: 0 0.25rem;
    margin-bottom: 1.2rem;
    transition: background 0.3s;
}

.step-connector-done[b-afsqf9dmix] {
    background: #2e7d32;
}

/* ══════ Section content ══════ */

.profile-section[b-afsqf9dmix] {
    border: 1px solid #e8eaf6;
    border-radius: 12px;
    padding: 1.5rem;
}

.section-name[b-afsqf9dmix] {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a237e;
    margin: 0 0 1.25rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e8eaf6;
}

.section-fields[b-afsqf9dmix] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.field-group[b-afsqf9dmix] {
    position: relative;
}

/*
 * Sits inside the field on its trailing edge, level with the text. The 0.5rem clears the form field's
 * top margin, the rest centres the 22px icon on the input row. Empty (and so invisible) when the field
 * has no hint, since FieldHint renders nothing in that case.
 */
.field-hint-anchor[b-afsqf9dmix] {
    position: absolute;
    top: calc(0.5rem + (var(--rz-input-height, 2.5rem) - 22px) / 2);
    inset-inline-end: 0.6rem;
    z-index: 5;
}

/* Date pickers and dropdowns draw their own icon on that edge, so the hint moves in past it. */
.field-hint-anchor-icon[b-afsqf9dmix] {
    inset-inline-end: 2.6rem;
}

/* Checkboxes, radio lists, attachments and list fields open with a plain label instead of an
   input, so the hint sits on the label's line. */
.field-hint-anchor-label[b-afsqf9dmix] {
    top: 0;
    inset-inline-end: 0;
}

/* Keep a long value from running under the icon. */
.field-group.has-hint[b-afsqf9dmix]  .rz-textbox {
    padding-inline-end: 2.1rem;
}

.field-error[b-afsqf9dmix] {
    font-size: 0.8rem;
    color: #c62828;
    margin-top: 0.25rem;
    display: block;
}

.field-checkbox[b-afsqf9dmix] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
}

.field-radio-group[b-afsqf9dmix] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.field-radio-label[b-afsqf9dmix] {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
}

.field-attachment[b-afsqf9dmix] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.field-attachment-label[b-afsqf9dmix] {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
}

/* ── Modern drop zone ── */

.file-drop-zone[b-afsqf9dmix] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border: 2px dashed #c5cae9;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    background: #f8f9ff;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    cursor: pointer;
    min-height: 140px;
}

.file-drop-zone:hover[b-afsqf9dmix],
.file-drop-zone:focus-within[b-afsqf9dmix] {
    border-color: #5c6bc0;
    background: #eef0ff;
    box-shadow: 0 0 0 3px rgba(92, 107, 192, 0.12);
}

.file-drop-zone.file-drop-has-file[b-afsqf9dmix] {
    border-style: solid;
    border-color: #66bb6a;
    background: #f1f8e9;
}

.file-drop-zone.file-drop-has-file:hover[b-afsqf9dmix] {
    border-color: #43a047;
    box-shadow: 0 0 0 3px rgba(102, 187, 106, 0.15);
}

.file-drop-icon[b-afsqf9dmix] {
    font-size: 2.5rem;
    color: #7986cb;
}

.file-drop-text[b-afsqf9dmix] {
    font-size: 0.92rem;
    color: #5c6bc0;
    font-weight: 500;
}

.file-drop-or[b-afsqf9dmix] {
    font-size: 0.78rem;
    color: #9e9e9e;
}

.file-drop-browse[b-afsqf9dmix] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #3949ab;
    text-decoration: underline;
    cursor: pointer;
}

[b-afsqf9dmix] .file-drop-native {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    opacity: 0;
    cursor: pointer;
    z-index: 3;
}

/* Uploaded file preview */

.file-drop-preview[b-afsqf9dmix] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.file-drop-file-icon[b-afsqf9dmix] {
    font-size: 2rem;
    color: #43a047;
}

.file-drop-file-info[b-afsqf9dmix] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.file-drop-file-name[b-afsqf9dmix] {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    word-break: break-all;
}

.file-drop-remove[b-afsqf9dmix] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    cursor: pointer;
    color: #757575;
    padding: 0;
    transition: background 0.15s, color 0.15s;
    z-index: 2;
    position: relative;
}

.file-drop-remove:hover[b-afsqf9dmix] {
    background: #ffebee;
    color: #c62828;
    border-color: #ef9a9a;
}

.file-drop-remove .material-icons[b-afsqf9dmix] {
    font-size: 0.95rem;
}

/* Hints (types & size) */

.file-drop-hints[b-afsqf9dmix] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.file-drop-hint[b-afsqf9dmix] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.78rem;
    color: #757575;
    background: #f5f5f5;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
}

.field-file-error[b-afsqf9dmix] {
    font-size: 0.8rem;
    color: #c62828;
    font-weight: 500;
}

/* ══════ Validation summary ══════ */

.validation-summary[b-afsqf9dmix] {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-radius: 10px;
    border-left: 4px solid #ffa000;
}

.validation-summary-header[b-afsqf9dmix] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #e65100;
    margin-bottom: 0.5rem;
}

.validation-summary-icon[b-afsqf9dmix] {
    font-size: 1.2rem;
    color: #f57c00;
}

.validation-summary-list[b-afsqf9dmix] {
    margin: 0;
    padding: 0 0 0 1.3rem;
    list-style: none;
}

.validation-summary-list li[b-afsqf9dmix] {
    position: relative;
    font-size: 0.82rem;
    color: #5d4037;
    padding: 0.2rem 0;
    line-height: 1.45;
}

.validation-summary-list li[b-afsqf9dmix]::before {
    content: "•";
    position: absolute;
    left: -1rem;
    color: #f57c00;
    font-weight: bold;
}

/* ══════ Navigation buttons ══════ */

.step-nav[b-afsqf9dmix] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    gap: 1rem;
}

.step-btn[b-afsqf9dmix] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.step-btn:active[b-afsqf9dmix] {
    transform: scale(0.98);
}

.step-btn:disabled[b-afsqf9dmix] {
    opacity: 0.6;
    cursor: not-allowed;
}

.step-btn-prev[b-afsqf9dmix] {
    background: #f0f0f0;
    color: #555;
}

.step-btn-prev:hover[b-afsqf9dmix] {
    background: #e0e0e0;
}

.step-btn-next[b-afsqf9dmix] {
    background: #1a237e;
    color: #fff;
    margin-left: auto;
}

.step-btn-next:hover[b-afsqf9dmix] {
    background: #283593;
}

.step-btn-submit[b-afsqf9dmix] {
    background: #2e7d32;
    color: #fff;
    margin-left: auto;
}

.step-btn-submit:hover[b-afsqf9dmix] {
    background: #1b5e20;
}

/* ══════ Language toggle ══════ */

.profile-footer[b-afsqf9dmix] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.profile-logout[b-afsqf9dmix] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 0.85rem;
    font-family: inherit;
    padding: 0.4rem 0;
    transition: color 0.2s;
}

.profile-logout:hover[b-afsqf9dmix] {
    color: #c62828;
}

.login-lang-toggle[b-afsqf9dmix] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 0.85rem;
    font-family: inherit;
    padding: 0.4rem 0;
    transition: color 0.2s;
    justify-content: center;
}

.login-lang-toggle:hover[b-afsqf9dmix] { color: #333; }

/* ══════ Responsive ══════ */

@media (max-width: 768px) {
    .profile-card[b-afsqf9dmix] {
        padding: 1.5rem;
        margin-top: 1rem;
    }

    .profile-section[b-afsqf9dmix] {
        padding: 1rem;
    }

    .steps-bar[b-afsqf9dmix] {
        gap: 0;
        justify-content: flex-start;
        padding-bottom: 0.5rem;
    }

    .step-label[b-afsqf9dmix] {
        font-size: 0.65rem;
        max-width: 60px;
    }

    .step-connector[b-afsqf9dmix] {
        width: 20px;
    }
}

@media (max-width: 480px) {
    .profile-container[b-afsqf9dmix] {
        padding: 1rem;
    }

    .profile-card[b-afsqf9dmix] {
        padding: 1.25rem;
    }

    .profile-title[b-afsqf9dmix] {
        font-size: 1.3rem;
    }

    .step-indicator[b-afsqf9dmix] {
        width: 30px;
        height: 30px;
    }

    .step-number[b-afsqf9dmix] {
        font-size: 0.75rem;
    }

    .step-check[b-afsqf9dmix] {
        font-size: 1.1rem;
    }

    .step-btn[b-afsqf9dmix] {
        padding: 0.65rem 1rem;
        font-size: 0.85rem;
    }
}

/* ── List field ── */
.field-list[b-afsqf9dmix] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.field-list-label[b-afsqf9dmix] {
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
}

.pl-list[b-afsqf9dmix] {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.pl-list-hint[b-afsqf9dmix] {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.75rem;
    color: #6b7280;
}

.pl-list-scroll[b-afsqf9dmix] {
    overflow-x: auto;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.pl-list-table[b-afsqf9dmix] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.pl-list-table th[b-afsqf9dmix] {
    background: #f3f4f6;
    padding: 0.5rem 0.6rem;
    text-align: start;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
    border-bottom: 1px solid #e5e7eb;
}

.pl-list-table td[b-afsqf9dmix] {
    padding: 0.4rem 0.5rem;
    border-bottom: 1px solid #f1f1f1;
    vertical-align: middle;
}

.pl-list-num[b-afsqf9dmix] {
    text-align: center;
    color: #9ca3af;
    font-weight: 600;
}

.pl-req[b-afsqf9dmix] {
    color: #dc2626;
    margin-inline-start: 2px;
}

.pl-input[b-afsqf9dmix] {
    width: 100%;
    min-width: 110px;
    padding: 0.4rem 0.55rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.85rem;
    font-family: inherit;
    box-sizing: border-box;
}

.pl-input:focus[b-afsqf9dmix] {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.15);
}

.pl-radio-row[b-afsqf9dmix] {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.pl-radio[b-afsqf9dmix] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
}

.pl-list-del[b-afsqf9dmix] {
    background: none;
    border: none;
    color: #dc2626;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem;
    border-radius: 6px;
}

.pl-list-del:hover[b-afsqf9dmix] {
    background: #fee2e2;
}

.pl-list-add[b-afsqf9dmix] {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: #eef2ff;
    color: #4338ca;
    border: 1px dashed #a5b4fc;
    border-radius: 8px;
    padding: 0.45rem 0.9rem;
    font-size: 0.83rem;
    font-weight: 600;
    cursor: pointer;
}

.pl-list-add:hover[b-afsqf9dmix] {
    background: #e0e7ff;
}

.pl-file-cell[b-afsqf9dmix] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 150px;
}

.pl-file-upload[b-afsqf9dmix] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.6rem;
    border: 1px dashed #c7ccd6;
    border-radius: 8px;
    background: #f8fafc;
    color: #4b5563;
    font-size: 0.8rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.pl-file-upload:hover[b-afsqf9dmix] {
    border-color: #6366f1;
    color: #4338ca;
    background: #eef2ff;
}

.pl-file-native[b-afsqf9dmix] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.pl-file-name[b-afsqf9dmix] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    max-width: 180px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #1a237e;
    text-decoration: none;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.pl-file-err[b-afsqf9dmix] {
    font-size: 0.72rem;
    color: #dc2626;
    font-weight: 600;
}
/* /Components/Pages/RegisterReferral.razor.rz.scp.css */
/* Mirrors the register/profile shell so the last onboarding step does not look like a different app. */

.referral-container[b-8hdbojuyqh] {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: #f5f6fa;
    padding: 2rem;
}

.referral-card[b-8hdbojuyqh] {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    padding: 2rem 2.5rem;
    max-width: 820px;
    width: 100%;
    margin-top: 2rem;
}

.referral-header[b-8hdbojuyqh] {
    text-align: center;
    margin-bottom: 1.5rem;
}

.referral-icon[b-8hdbojuyqh] {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--ps-brand-soft, #e8eaf6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.referral-icon .material-icons[b-8hdbojuyqh] {
    font-size: 2.2rem;
    color: var(--ps-brand, #1a237e);
}

.referral-title[b-8hdbojuyqh] {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ps-brand, #1a237e);
    margin: 0 0 0.5rem 0;
}

.referral-subtitle[b-8hdbojuyqh] {
    font-size: 0.9rem;
    color: #888;
    margin: 0;
}

/* ══════ Options ══════ */

/*
 * Two or three per row rather than one per line. The channels are admin-maintained and the list is
 * expected to grow, so the question has to stay on one screen instead of running past the fold.
 */
.referral-options[b-8hdbojuyqh] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 0.5rem;
}

.referral-option[b-8hdbojuyqh] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.8rem;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.referral-option:hover[b-8hdbojuyqh] {
    background: #fafafa;
    border-color: #c5cae9;
}

.referral-option.is-selected[b-8hdbojuyqh] {
    border-color: var(--ps-brand, #1a237e);
    background: var(--ps-brand-soft, #e8eaf6);
}

.referral-option input[b-8hdbojuyqh] {
    margin: 0;
    accent-color: var(--ps-brand, #1a237e);
    flex: 0 0 auto;
}

.referral-option-text[b-8hdbojuyqh] {
    font-size: 0.9rem;
    color: #333;
    line-height: 1.35;
}

/*
 * Below the grid rather than beside the chosen tile: in a multi-column layout an inline box would
 * reflow the options around it every time the applicant changed their mind.
 */
.referral-detail[b-8hdbojuyqh] {
    margin-top: 0.9rem;
    padding: 0.85rem 1rem;
    background: var(--ps-brand-soft, #e8eaf6);
    border-radius: 10px;
}

.referral-detail-label[b-8hdbojuyqh] {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ps-brand, #1a237e);
    margin-bottom: 0.4rem;
}

.referral-detail-input[b-8hdbojuyqh] {
    width: 100%;
    box-sizing: border-box;
    padding: 0.6rem 0.75rem;
    border: 1px solid #c5cae9;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    color: #333;
    background: #fff;
}

.referral-detail-input:focus[b-8hdbojuyqh] {
    outline: none;
    border-color: var(--ps-brand, #1a237e);
    box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.12);
}

/* ══════ Error ══════ */

.referral-error[b-8hdbojuyqh] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-inline-start: 4px solid #ffa000;
    border-radius: 10px;
    font-size: 0.85rem;
    color: #5d4037;
}

.referral-error-icon[b-8hdbojuyqh] {
    font-size: 1.2rem;
    color: #f57c00;
}

/* ══════ Actions ══════ */

.referral-nav[b-8hdbojuyqh] {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

.referral-btn[b-8hdbojuyqh] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.referral-btn:active[b-8hdbojuyqh] {
    transform: scale(0.98);
}

.referral-btn:disabled[b-8hdbojuyqh] {
    opacity: 0.6;
    cursor: not-allowed;
}

.referral-btn-submit[b-8hdbojuyqh] {
    background: #2e7d32;
    color: #fff;
}

.referral-btn-submit:hover:not(:disabled)[b-8hdbojuyqh] {
    background: #1b5e20;
}

.referral-footer[b-8hdbojuyqh] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.login-lang-toggle[b-8hdbojuyqh],
.referral-logout[b-8hdbojuyqh] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 0.85rem;
    font-family: inherit;
    padding: 0.4rem 0;
    transition: color 0.2s;
}

.login-lang-toggle:hover[b-8hdbojuyqh] {
    color: #333;
}

.referral-logout:hover[b-8hdbojuyqh] {
    color: #c62828;
}

@media (max-width: 768px) {
    .referral-card[b-8hdbojuyqh] {
        padding: 1.5rem;
        margin-top: 1rem;
    }

    .referral-container[b-8hdbojuyqh] {
        padding: 1rem;
    }
}
/* /Components/Pages/RegisterVerified.razor.rz.scp.css */
.verified-container[b-l6ehyee4q8] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f6fa;
    padding: 2rem;
}

.verified-card[b-l6ehyee4q8] {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 3rem 2.5rem;
    max-width: 460px;
    width: 100%;
    text-align: center;
}

.verified-icon[b-l6ehyee4q8] {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.verified-icon .material-icons[b-l6ehyee4q8] {
    font-size: 3rem;
}

.verified-icon-success[b-l6ehyee4q8] {
    background: #e8f5e9;
}

.verified-icon-success .material-icons[b-l6ehyee4q8] {
    color: #2e7d32;
}

.verified-icon-error[b-l6ehyee4q8] {
    background: #fce4ec;
}

.verified-icon-error .material-icons[b-l6ehyee4q8] {
    color: #c62828;
}

.verified-title[b-l6ehyee4q8] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2e7d32;
    margin: 0 0 1rem 0;
}

.verified-title-error[b-l6ehyee4q8] {
    color: #c62828;
}

.verified-text[b-l6ehyee4q8] {
    font-size: 0.95rem;
    color: #666;
    margin: 0 0 2rem 0;
    line-height: 1.5;
}

.verified-login-btn[b-l6ehyee4q8] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border: none;
    border-radius: 8px;
    background: #1a237e;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    transition: background 0.2s, transform 0.1s;
}

.verified-login-btn:hover[b-l6ehyee4q8] {
    background: #283593;
    color: #fff;
}

.verified-login-btn:active[b-l6ehyee4q8] {
    transform: scale(0.98);
}

.verified-back-link[b-l6ehyee4q8] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #3949ab;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.verified-back-link:hover[b-l6ehyee4q8] {
    color: #1a237e;
}

.verified-lang-toggle[b-l6ehyee4q8] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 2rem;
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 0.85rem;
    font-family: inherit;
    padding: 0.4rem 0;
    transition: color 0.2s;
    justify-content: center;
    width: 100%;
}

.verified-lang-toggle:hover[b-l6ehyee4q8] { color: #333; }

@media (max-width: 480px) {
    .verified-card[b-l6ehyee4q8] {
        padding: 2rem 1.5rem;
    }

    .verified-title[b-l6ehyee4q8] {
        font-size: 1.3rem;
    }

    .verified-icon[b-l6ehyee4q8] {
        width: 70px;
        height: 70px;
    }

    .verified-icon .material-icons[b-l6ehyee4q8] {
        font-size: 2.5rem;
    }
}
/* /Components/Pages/ResetPassword.razor.rz.scp.css */
.reset-container[b-q24cxnw17c] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: #f4f6fb;
}

.reset-card[b-q24cxnw17c] {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(20, 28, 70, 0.1);
    padding: 2.5rem;
    max-width: 460px;
    width: 100%;
}

.reset-header[b-q24cxnw17c] {
    text-align: center;
    margin-bottom: 2rem;
}

.reset-icon[b-q24cxnw17c] {
    font-size: 3rem;
    color: var(--ps-brand);
    background: var(--ps-brand-soft);
    border-radius: 50%;
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.reset-heading[b-q24cxnw17c] {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--ps-brand);
    margin: 0;
}

.reset-subheading[b-q24cxnw17c] {
    font-size: 1rem;
    color: var(--ps-text-muted);
    margin: 0.5rem 0 0;
    line-height: 1.5;
}

.reset-fields[b-q24cxnw17c] {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.reset-fields[b-q24cxnw17c]  .rz-form-field {
    font-size: 1.05rem;
}

.reset-fields[b-q24cxnw17c]  .rz-textbox,
.reset-fields[b-q24cxnw17c]  input.rz-textbox {
    min-height: 52px;
    font-size: 1.05rem;
}

.reset-fields[b-q24cxnw17c]  .rz-form-field-content {
    min-height: 52px;
}

.reset-password-rules[b-q24cxnw17c] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.25rem 0;
}

.reset-rule[b-q24cxnw17c] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--ps-text-faint);
}

.reset-rule .material-icons[b-q24cxnw17c] {
    font-size: 1rem;
}

.reset-rule-ok[b-q24cxnw17c] {
    color: var(--ps-ok);
}

.reset-success[b-q24cxnw17c],
.reset-error[b-q24cxnw17c] {
    text-align: center;
    padding: 1rem 0;
}

.reset-success-icon[b-q24cxnw17c] {
    font-size: 3rem;
    color: var(--ps-ok);
    background: var(--ps-ok-soft);
    border-radius: 50%;
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.reset-error-icon[b-q24cxnw17c] {
    font-size: 3rem;
    color: var(--ps-danger);
    background: var(--ps-danger-soft);
    border-radius: 50%;
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.login-lang-toggle[b-q24cxnw17c] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.5rem;
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 0.85rem;
    font-family: inherit;
    padding: 0.4rem 0;
    transition: color 0.2s;
    justify-content: center;
    width: 100%;
}

.login-lang-toggle:hover[b-q24cxnw17c] {
    color: #333;
}

@media (max-width: 480px) {
    .reset-container[b-q24cxnw17c] {
        padding: 1rem;
    }

    .reset-card[b-q24cxnw17c] {
        padding: 1.5rem;
    }

    .reset-heading[b-q24cxnw17c] {
        font-size: 1.3rem;
    }
}
/* /Components/Pages/UserManual.razor.rz.scp.css */
/* ── Search in the page header ── */
.um-search[b-smtto11ksw] {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 260px;
    flex: 0 1 320px;
}

.um-search-icon[b-smtto11ksw] {
    position: absolute;
    inset-inline-start: 14px;
    /* Centre explicitly rather than relying on the flex parent's static position for an abspos child. */
    top: 50%;
    transform: translateY(-50%);
    /* 24px is the size Material Icons is drawn for; below it the strokes go spindly. */
    font-size: 1.5rem;
    line-height: 1;
    display: block;
    color: var(--ps-text-muted);
    pointer-events: none;
}

.um-search-input[b-smtto11ksw] {
    width: 100%;
    padding-block: 0.65rem;
    padding-inline-start: 3rem;
    padding-inline-end: 2.75rem;
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius-pill);
    font-size: var(--ps-fs-base);
    font-family: inherit;
    background: var(--ps-surface);
    color: var(--ps-text);
    outline: none;
    transition: border-color 0.15s;
}

.um-search-input:focus[b-smtto11ksw] {
    border-color: var(--ps-brand);
}

.um-search-clear[b-smtto11ksw] {
    position: absolute;
    inset-inline-end: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 2px;
    border-radius: 50%;
    color: var(--ps-text-muted);
}

.um-search-clear:hover[b-smtto11ksw] {
    color: var(--ps-text);
    background: var(--ps-brand-soft);
}

.um-search-clear .material-icons[b-smtto11ksw] {
    font-size: 1.3rem;
    line-height: 1;
    display: block;
}

/* ── Two-pane layout ── */
.um-body[b-smtto11ksw] {
    display: grid;
    grid-template-columns: minmax(230px, 290px) 1fr;
    gap: var(--ps-sp-5);
    align-items: start;
}

@media (max-width: 900px) {
    .um-body[b-smtto11ksw] {
        grid-template-columns: 1fr;
    }
}

/* ── Tree ── */
.um-tree[b-smtto11ksw] {
    padding: var(--ps-sp-3);
    position: sticky;
    top: var(--ps-sp-4);
    max-height: calc(100vh - 6rem);
    overflow-y: auto;
}

.um-tree-empty[b-smtto11ksw] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--ps-sp-2);
    padding: var(--ps-sp-6) var(--ps-sp-4);
    color: var(--ps-text-faint);
    font-size: var(--ps-fs-sm);
    text-align: center;
}

.um-node + .um-node[b-smtto11ksw] {
    margin-top: 2px;
}

.um-node-head[b-smtto11ksw] {
    display: flex;
    align-items: center;
    gap: var(--ps-sp-3);
    width: 100%;
    padding: var(--ps-sp-3);
    background: none;
    border: none;
    border-radius: var(--ps-radius-sm);
    cursor: pointer;
    text-align: start;
    font-family: inherit;
    font-size: var(--ps-fs-base);
    font-weight: 700;
    color: var(--ps-text);
    transition: background 0.12s;
}

.um-node-head:hover[b-smtto11ksw] {
    background: var(--ps-surface-2);
}

.um-node-icon[b-smtto11ksw] {
    font-size: 1.2rem;
    color: var(--ps-brand);
    flex-shrink: 0;
}

.um-node-title[b-smtto11ksw] {
    flex: 1;
    min-width: 0;
}

.um-node-count[b-smtto11ksw] {
    font-size: var(--ps-fs-xs);
    font-weight: 800;
    color: var(--ps-text-muted);
    background: var(--ps-surface-2);
    border-radius: var(--ps-radius-pill);
    padding: 1px 8px;
}

.um-node-chevron[b-smtto11ksw] {
    font-size: 1.15rem;
    color: var(--ps-text-faint);
    transition: transform 0.18s ease;
}

.um-node-head.is-open .um-node-chevron[b-smtto11ksw] {
    transform: rotate(90deg);
}

[dir="rtl"] .um-node-chevron[b-smtto11ksw] {
    transform: rotate(180deg);
}

[dir="rtl"] .um-node-head.is-open .um-node-chevron[b-smtto11ksw] {
    transform: rotate(90deg);
}

.um-leaves[b-smtto11ksw] {
    padding: 2px 0 var(--ps-sp-2);
    animation: um-open-b-smtto11ksw 0.18s ease;
}

@keyframes um-open-b-smtto11ksw {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.um-leaf[b-smtto11ksw] {
    display: flex;
    align-items: center;
    gap: var(--ps-sp-3);
    width: 100%;
    padding: 0.45rem var(--ps-sp-3) 0.45rem 2.2rem;
    background: none;
    border: none;
    border-radius: var(--ps-radius-sm);
    cursor: pointer;
    text-align: start;
    font-family: inherit;
    font-size: var(--ps-fs-sm);
    color: var(--ps-text-muted);
    transition: background 0.12s, color 0.12s;
}

[dir="rtl"] .um-leaf[b-smtto11ksw] {
    padding: 0.45rem 2.2rem 0.45rem var(--ps-sp-3);
}

.um-leaf:hover[b-smtto11ksw] {
    background: var(--ps-surface-2);
    color: var(--ps-text);
}

.um-leaf.is-active[b-smtto11ksw] {
    background: var(--ps-gold-soft);
    color: var(--ps-gold-ink);
    font-weight: 700;
}

.um-leaf-dot[b-smtto11ksw] {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--ps-border);
    flex-shrink: 0;
}

.um-leaf.is-active .um-leaf-dot[b-smtto11ksw] {
    background: var(--ps-gold-ink);
}

/* ── Content ── */
.um-content[b-smtto11ksw] {
    min-height: 420px;
}

.um-topic[b-smtto11ksw] {
    animation: um-fade-b-smtto11ksw 0.24s ease;
}

@keyframes um-fade-b-smtto11ksw {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.um-topic-head[b-smtto11ksw] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--ps-sp-4);
    flex-wrap: wrap;
    padding-bottom: var(--ps-sp-4);
    border-bottom: 1px solid var(--ps-border);
    margin-bottom: var(--ps-sp-5);
}

.um-topic-title[b-smtto11ksw] {
    margin: 0;
    font-size: var(--ps-fs-lg);
    font-weight: 800;
    color: var(--ps-text);
}

.um-topic-summary[b-smtto11ksw] {
    margin: var(--ps-sp-2) 0 0;
    font-size: var(--ps-fs-base);
    color: var(--ps-text-muted);
    line-height: var(--ps-lh);
}

.um-topic-open[b-smtto11ksw] {
    display: inline-flex;
    align-items: center;
    gap: var(--ps-sp-2);
    padding: var(--ps-sp-2) var(--ps-sp-4);
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius-pill);
    font-size: var(--ps-fs-sm);
    font-weight: 700;
    color: var(--ps-brand);
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.12s;
}

.um-topic-open:hover[b-smtto11ksw] {
    background: var(--ps-surface-2);
}

.um-topic-open .material-icons[b-smtto11ksw] {
    font-size: 1.05rem;
}

.um-text[b-smtto11ksw] {
    margin: 0 0 var(--ps-sp-4);
    font-size: var(--ps-fs-base);
    line-height: 1.7;
    color: var(--ps-text);
}

/* ── Steps ── */
.um-steps[b-smtto11ksw] {
    counter-reset: um-step;
    list-style: none;
    margin: 0 0 var(--ps-sp-5);
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--ps-sp-3);
}

.um-step[b-smtto11ksw] {
    display: flex;
    align-items: flex-start;
    gap: var(--ps-sp-3);
    animation: um-step-in-b-smtto11ksw 0.3s ease both;
}

.um-step:nth-child(1)[b-smtto11ksw] { animation-delay: 0.02s; }
.um-step:nth-child(2)[b-smtto11ksw] { animation-delay: 0.07s; }
.um-step:nth-child(3)[b-smtto11ksw] { animation-delay: 0.12s; }
.um-step:nth-child(4)[b-smtto11ksw] { animation-delay: 0.17s; }
.um-step:nth-child(5)[b-smtto11ksw] { animation-delay: 0.22s; }
.um-step:nth-child(6)[b-smtto11ksw] { animation-delay: 0.27s; }

@keyframes um-step-in-b-smtto11ksw {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.um-step-num[b-smtto11ksw] {
    counter-increment: um-step;
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--ps-gold-soft);
    color: var(--ps-gold-ink);
    font-size: var(--ps-fs-sm);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.um-step-num[b-smtto11ksw]::before {
    content: counter(um-step);
}

.um-step-text[b-smtto11ksw] {
    font-size: var(--ps-fs-base);
    line-height: 1.65;
    color: var(--ps-text);
    padding-top: 2px;
}

/* ── Tip ── */
.um-tip[b-smtto11ksw] {
    display: flex;
    align-items: flex-start;
    gap: var(--ps-sp-3);
    padding: var(--ps-sp-4);
    margin: 0 0 var(--ps-sp-5);
    background: var(--ps-gold-soft);
    border: 1px solid var(--ps-gold-border);
    border-radius: var(--ps-radius-sm);
    font-size: var(--ps-fs-base);
    line-height: 1.6;
    color: var(--ps-gold-ink);
}

.um-tip .material-icons[b-smtto11ksw] {
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* ── Previous / next ── */
.um-nav[b-smtto11ksw] {
    display: flex;
    gap: var(--ps-sp-3);
    justify-content: space-between;
    margin-top: var(--ps-sp-6);
    padding-top: var(--ps-sp-5);
    border-top: 1px solid var(--ps-border);
    flex-wrap: wrap;
}

.um-nav-btn[b-smtto11ksw] {
    display: flex;
    align-items: center;
    gap: var(--ps-sp-3);
    padding: var(--ps-sp-3) var(--ps-sp-4);
    background: var(--ps-surface);
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius-sm);
    cursor: pointer;
    text-align: start;
    font-family: inherit;
    max-width: 48%;
    transition: border-color 0.12s, background 0.12s;
}

.um-nav-btn:hover[b-smtto11ksw] {
    border-color: var(--ps-gold-border);
    background: var(--ps-surface-2);
}

.um-nav-next[b-smtto11ksw] {
    margin-inline-start: auto;
    text-align: end;
}

.um-nav-btn .material-icons[b-smtto11ksw] {
    color: var(--ps-text-faint);
    flex-shrink: 0;
}

.um-nav-btn-text[b-smtto11ksw] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.um-nav-btn-label[b-smtto11ksw] {
    font-size: var(--ps-fs-xs);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ps-text-faint);
}

.um-nav-btn-title[b-smtto11ksw] {
    font-size: var(--ps-fs-sm);
    font-weight: 700;
    color: var(--ps-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Welcome ── */
.um-welcome[b-smtto11ksw] {
    text-align: center;
    animation: um-fade-b-smtto11ksw 0.24s ease;
}

.um-welcome-art[b-smtto11ksw] {
    width: 76px;
    height: 76px;
    margin: var(--ps-sp-3) auto var(--ps-sp-4);
    border-radius: 50%;
    background: var(--ps-gold-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: um-float-b-smtto11ksw 3s ease-in-out infinite;
}

.um-welcome-art .material-icons[b-smtto11ksw] {
    font-size: 2.3rem;
    color: var(--ps-gold-ink);
}

@keyframes um-float-b-smtto11ksw {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

.um-welcome-title[b-smtto11ksw] {
    margin: 0;
    font-size: var(--ps-fs-lg);
    font-weight: 800;
    color: var(--ps-text);
}

.um-welcome-text[b-smtto11ksw] {
    margin: var(--ps-sp-2) 0 var(--ps-sp-6);
    font-size: var(--ps-fs-base);
    color: var(--ps-text-muted);
}

.um-welcome-grid[b-smtto11ksw] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--ps-sp-3);
    text-align: start;
}

.um-welcome-card[b-smtto11ksw] {
    display: flex;
    flex-direction: column;
    gap: var(--ps-sp-2);
    padding: var(--ps-sp-4);
    background: var(--ps-surface);
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius-sm);
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.14s, border-color 0.14s;
}

.um-welcome-card:hover[b-smtto11ksw] {
    transform: translateY(-2px);
    border-color: var(--ps-gold-border);
}

.um-welcome-card .material-icons[b-smtto11ksw] {
    font-size: 1.5rem;
    color: var(--ps-brand);
}

.um-welcome-card-title[b-smtto11ksw] {
    font-size: var(--ps-fs-base);
    font-weight: 700;
    color: var(--ps-text);
}

.um-welcome-card-count[b-smtto11ksw] {
    font-size: var(--ps-fs-xs);
    color: var(--ps-text-faint);
}

/* ── Mock-ups ───────────────────────────────────────────────────────────── */
.um-mock[b-smtto11ksw] {
    margin: 0 0 var(--ps-sp-5);
    padding: var(--ps-sp-4);
    background: var(--ps-surface-2);
    border: 1px dashed var(--ps-border);
    border-radius: var(--ps-radius-sm);
    overflow: hidden;
}

.mk-bar[b-smtto11ksw] {
    display: block;
    height: 8px;
    border-radius: 4px;
    background: var(--ps-border);
}

.mk-bar.dim[b-smtto11ksw] { opacity: 0.55; }
.mk-bar.w30[b-smtto11ksw] { width: 30%; }
.mk-bar.w40[b-smtto11ksw] { width: 40%; }
.mk-bar.w45[b-smtto11ksw] { width: 45%; }
.mk-bar.w60[b-smtto11ksw] { width: 60%; }
.mk-bar.w70[b-smtto11ksw] { width: 70%; }

/* Profile wizard */
.mk-wizard[b-smtto11ksw] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--ps-sp-2);
}

.mk-wz-step[b-smtto11ksw] {
    display: flex;
    align-items: center;
    gap: var(--ps-sp-2);
    padding: var(--ps-sp-2) var(--ps-sp-3);
    background: var(--ps-surface);
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius-pill);
    animation: mk-in-b-smtto11ksw 0.4s ease both;
    animation-delay: var(--d);
}

.mk-wz-dot[b-smtto11ksw] {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--ps-border);
    color: var(--ps-text-muted);
    font-size: var(--ps-fs-xs);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mk-wz-step.is-done .mk-wz-dot[b-smtto11ksw] {
    background: #d5f0dd;
    color: #1b6b34;
}

.mk-wz-step.is-current[b-smtto11ksw] {
    border-color: var(--ps-gold-border);
    background: var(--ps-gold-soft);
}

.mk-wz-step.is-current .mk-wz-dot[b-smtto11ksw] {
    background: var(--ps-gold-ink);
    color: #fff;
}

.mk-wz-label[b-smtto11ksw] {
    font-size: var(--ps-fs-sm);
    color: var(--ps-text);
    white-space: nowrap;
}

.mk-wz-line[b-smtto11ksw] {
    width: 18px;
    height: 2px;
    background: var(--ps-border);
}

@keyframes mk-in-b-smtto11ksw {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}

/* Dashboard cards */
.mk-cards[b-smtto11ksw] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--ps-sp-3);
}

.mk-card[b-smtto11ksw] {
    display: flex;
    flex-direction: column;
    gap: var(--ps-sp-2);
    padding: var(--ps-sp-4);
    background: var(--ps-surface);
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius-sm);
    animation: mk-in-b-smtto11ksw 0.4s ease both;
    animation-delay: var(--d);
}

.mk-card-badge[b-smtto11ksw] {
    width: 68px;
    height: 18px;
    border-radius: var(--ps-radius-pill);
}

.mk-card-badge.is-ok[b-smtto11ksw] { background: #d5f0dd; }
.mk-card-badge.is-info[b-smtto11ksw] { background: #dce8fb; }

.mk-card-btn[b-smtto11ksw] {
    height: 26px;
    border-radius: var(--ps-radius-sm);
    background: var(--ps-brand);
    opacity: 0.75;
    margin-top: var(--ps-sp-2);
}

/* Form */
.mk-form-section[b-smtto11ksw] {
    padding: var(--ps-sp-3);
    background: var(--ps-surface);
    border-radius: var(--ps-radius-sm);
    margin-bottom: var(--ps-sp-3);
}

.mk-field[b-smtto11ksw] {
    display: flex;
    flex-direction: column;
    gap: var(--ps-sp-2);
    margin-bottom: var(--ps-sp-3);
    animation: mk-in-b-smtto11ksw 0.35s ease both;
    animation-delay: var(--d);
}

.mk-input[b-smtto11ksw] {
    height: 28px;
    border-radius: var(--ps-radius-sm);
    background: var(--ps-surface);
    border: 1px solid var(--ps-border);
}

.mk-form-actions[b-smtto11ksw] {
    display: flex;
    gap: var(--ps-sp-2);
    justify-content: flex-end;
}

.mk-btn[b-smtto11ksw] {
    width: 62px;
    height: 26px;
    border-radius: var(--ps-radius-sm);
    background: var(--ps-border);
}

.mk-btn.is-primary[b-smtto11ksw] {
    background: var(--ps-brand);
}

/* Status flow */
.mk-flow[b-smtto11ksw] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--ps-sp-1, 2px);
}

.mk-flow-chip[b-smtto11ksw] {
    padding: var(--ps-sp-2) var(--ps-sp-3);
    border-radius: var(--ps-radius-pill);
    background: var(--ps-surface);
    border: 1px solid var(--ps-border);
    font-size: var(--ps-fs-sm);
    color: var(--ps-text-muted);
    animation: mk-in-b-smtto11ksw 0.4s ease both;
    animation-delay: var(--d);
}

.mk-flow-chip.is-final[b-smtto11ksw] {
    background: #d5f0dd;
    border-color: #a8ddb9;
    color: #1b6b34;
    font-weight: 700;
}

.mk-flow-arrow[b-smtto11ksw] {
    font-size: 1.05rem;
    color: var(--ps-text-faint);
}

/* Winner card */
.mk-winner[b-smtto11ksw] {
    display: flex;
    align-items: center;
    gap: var(--ps-sp-4);
    padding: var(--ps-sp-4);
    background: var(--ps-gold-soft);
    border: 1px solid var(--ps-gold-border);
    border-radius: var(--ps-radius-sm);
}

.mk-winner-trophy[b-smtto11ksw] {
    font-size: 2rem;
    color: var(--ps-gold-ink);
    animation: mk-shine-b-smtto11ksw 2.6s ease-in-out infinite;
}

@keyframes mk-shine-b-smtto11ksw {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50%      { transform: scale(1.12) rotate(-6deg); }
}

.mk-winner-text[b-smtto11ksw] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--ps-sp-2);
}

.mk-winner-chip[b-smtto11ksw] {
    width: 74px;
    height: 22px;
    border-radius: var(--ps-radius-pill);
    background: var(--ps-gold-border);
}

/* Notification bell */
.mk-bell[b-smtto11ksw] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--ps-sp-2);
}

.mk-bell-btn[b-smtto11ksw] {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: var(--ps-radius-sm);
    background: var(--ps-surface);
    border: 1px solid var(--ps-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mk-bell-btn .material-icons[b-smtto11ksw] {
    font-size: 1.2rem;
    color: var(--ps-text-muted);
}

.mk-bell-dot[b-smtto11ksw] {
    position: absolute;
    top: 5px;
    inset-inline-end: 5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ps-gold-ink);
    animation: mk-ping-b-smtto11ksw 1.8s ease-in-out infinite;
}

@keyframes mk-ping-b-smtto11ksw {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.35); opacity: 0.6; }
}

.mk-bell-pop[b-smtto11ksw] {
    width: 240px;
    background: var(--ps-surface);
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius-sm);
    overflow: hidden;
}

.mk-bell-item[b-smtto11ksw] {
    display: flex;
    flex-direction: column;
    gap: var(--ps-sp-2);
    padding: var(--ps-sp-3);
    border-bottom: 1px solid var(--ps-border);
    animation: mk-in-b-smtto11ksw 0.35s ease both;
    animation-delay: var(--d);
}

.mk-bell-item:last-child[b-smtto11ksw] { border-bottom: none; }

.mk-bell-item.is-unread[b-smtto11ksw] {
    background: var(--ps-gold-soft);
    border-inline-start: 3px solid var(--ps-gold-border);
}

@media (prefers-reduced-motion: reduce) {
    .um-topic[b-smtto11ksw], .um-step[b-smtto11ksw], .um-leaves[b-smtto11ksw], .um-welcome[b-smtto11ksw], .um-welcome-art[b-smtto11ksw],
    .mk-wz-step[b-smtto11ksw], .mk-card[b-smtto11ksw], .mk-field[b-smtto11ksw], .mk-flow-chip[b-smtto11ksw], .mk-bell-item[b-smtto11ksw],
    .mk-bell-dot[b-smtto11ksw], .mk-winner-trophy[b-smtto11ksw] {
        animation: none !important;
    }
}
/* /Components/PortalAiBanner.razor.rz.scp.css */
/* A soft brand-tinted panel with a faint violet "AI" wash and a hairline gradient border, so it reads as
   something new without competing with the page's cards. Tints derive from --ps-brand, so the banner
   follows the portal theme. */
.ai-banner[b-vspm0w2wm5] {
    --ai-violet: #7c5cff;
    --ai-cyan: #22b8cf;

    position: relative;
    display: flex;
    align-items: center;
    gap: var(--ps-sp-5);
    margin-bottom: var(--ps-sp-6);
    padding: var(--ps-sp-5) var(--ps-sp-6);
    border: 1px solid transparent;
    border-radius: var(--ps-radius-lg);
    background:
        linear-gradient(115deg,
            color-mix(in srgb, var(--ps-brand) 7%, var(--ps-surface)) 0%,
            color-mix(in srgb, var(--ai-violet) 7%, var(--ps-surface)) 60%,
            color-mix(in srgb, var(--ai-cyan) 7%, var(--ps-surface)) 100%) padding-box,
        linear-gradient(115deg,
            color-mix(in srgb, var(--ps-brand) 35%, transparent),
            color-mix(in srgb, var(--ai-violet) 45%, transparent),
            color-mix(in srgb, var(--ai-cyan) 40%, transparent)) border-box;
    box-shadow: var(--ps-shadow-sm);
    overflow: hidden;
}

.ai-banner > *[b-vspm0w2wm5] {
    position: relative;
    z-index: 1;
}

/* A slow light sweep across the panel, behind its content, in the reading direction. It moves the
   background rather than the element, so nothing ever extends past the banner. */
.ai-banner[b-vspm0w2wm5]::after {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    background: linear-gradient(100deg, transparent 40%, rgba(255, 255, 255, 0.55) 50%, transparent 60%) no-repeat;
    background-size: 250% 100%;
    background-position: 100% 0;
    animation: ai-banner-sweep-b-vspm0w2wm5 7s ease-in-out 1.5s infinite;
    pointer-events: none;
}

.ai-banner[dir="rtl"][b-vspm0w2wm5]::after {
    background-position: 0 0;
    animation-name: ai-banner-sweep-rtl-b-vspm0w2wm5;
}

@keyframes ai-banner-sweep-b-vspm0w2wm5 {
    0%, 70% { background-position: 100% 0; }
    100% { background-position: 0 0; }
}

@keyframes ai-banner-sweep-rtl-b-vspm0w2wm5 {
    0%, 70% { background-position: 0 0; }
    100% { background-position: 100% 0; }
}

.ai-banner-avatar[b-vspm0w2wm5] {
    flex-shrink: 0;
    padding: 3px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ps-brand), var(--ai-violet), var(--ai-cyan));
    box-shadow: 0 6px 18px color-mix(in srgb, var(--ai-violet) 25%, transparent);
}

.ai-banner-avatar[b-vspm0w2wm5]  .pa-avatar {
    border: 2px solid var(--ps-surface);
}

/* The animated robot: no gradient disc or white ring behind it (its helmet, waves and bubble are drawn on a
   transparent background and may reach past the circle). */
.ai-banner-avatar.is-robot[b-vspm0w2wm5] {
    padding: 0;
    background: none;
    box-shadow: none;
}

.ai-banner-avatar.is-robot[b-vspm0w2wm5]  .pa-avatar {
    border: 0;
}

.ai-banner-spark[b-vspm0w2wm5] {
    position: absolute;
    inset-block-start: -6px;
    inset-inline-end: -8px;
    font-size: 24px;
    color: var(--ai-violet);
    text-shadow: 0 0 10px color-mix(in srgb, var(--ai-violet) 45%, transparent);
    animation: ai-banner-twinkle-b-vspm0w2wm5 2.8s ease-in-out infinite;
}

@keyframes ai-banner-twinkle-b-vspm0w2wm5 {
    0%, 100% { opacity: 0.55; transform: scale(0.9) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.1) rotate(12deg); }
}

.ai-banner-body[b-vspm0w2wm5] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
}

.ai-banner-badge[b-vspm0w2wm5] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.15rem 0.65rem;
    border-radius: var(--ps-radius-pill);
    background: color-mix(in srgb, var(--ai-violet) 12%, var(--ps-surface));
    color: color-mix(in srgb, var(--ai-violet) 70%, #1a1033);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.ai-banner-badge .material-icons[b-vspm0w2wm5] {
    font-size: 0.95rem;
}

.ai-banner-title[b-vspm0w2wm5] {
    margin: 0;
    color: var(--ps-text);
    font-size: var(--ps-fs-md);
    font-weight: 800;
    line-height: 1.35;
}

.ai-banner-text[b-vspm0w2wm5] {
    margin: 0;
    color: var(--ps-text-muted);
    font-size: var(--ps-fs-sm);
    line-height: 1.55;
}

.ai-banner-cta[b-vspm0w2wm5] {
    flex-shrink: 0;
    white-space: nowrap;
}

@media (max-width: 760px) {
    .ai-banner[b-vspm0w2wm5] {
        flex-wrap: wrap;
        gap: var(--ps-sp-4);
        padding: var(--ps-sp-4) var(--ps-sp-5);
    }

    .ai-banner-body[b-vspm0w2wm5] {
        flex-basis: calc(100% - 100px);
    }

    .ai-banner-cta[b-vspm0w2wm5] {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ai-banner[b-vspm0w2wm5]::after,
    .ai-banner-spark[b-vspm0w2wm5] {
        animation: none;
    }
}

/* -- Where the AI verification of the applicant's drafts stands -- */
.ai-banner.has-docs[b-vspm0w2wm5] {
    flex-wrap: wrap;
}

.ai-docs[b-vspm0w2wm5] {
    flex-basis: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: var(--ps-sp-4);
    border-top: 1px dashed color-mix(in srgb, var(--ai-violet) 30%, transparent);
}

.ai-docs-row[b-vspm0w2wm5] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.75rem;
    border-radius: var(--ps-radius);
    background: color-mix(in srgb, var(--ps-surface) 80%, transparent);
    border: 1px solid color-mix(in srgb, var(--ai-violet) 18%, transparent);
}

.ai-docs-row.is-ok[b-vspm0w2wm5] {
    border-color: #a5d6a7;
    background: color-mix(in srgb, #e8f5e9 70%, var(--ps-surface));
}

.ai-docs-icon[b-vspm0w2wm5] {
    flex-shrink: 0;
    font-size: 1.5rem;
    color: var(--ai-violet);
}

.ai-docs-row.is-ok .ai-docs-icon[b-vspm0w2wm5] {
    color: #2e7d32;
}

.ai-docs-main[b-vspm0w2wm5] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.ai-docs-text[b-vspm0w2wm5] {
    font-size: var(--ps-fs-sm);
    font-weight: 700;
    color: var(--ps-text);
    line-height: 1.4;
}

.ai-docs-sub[b-vspm0w2wm5] {
    font-size: 0.78rem;
    color: var(--ps-text-muted);
}

.ai-docs-bar[b-vspm0w2wm5] {
    display: flex;
    gap: 2px;
    height: 6px;
    max-width: 420px;
    border-radius: 999px;
    overflow: hidden;
    background: var(--ps-border, #e0e0e0);
}

.ai-docs-seg[b-vspm0w2wm5] {
    flex-basis: 0;
    min-width: 4px;
}

.ai-docs-seg.is-ok[b-vspm0w2wm5] { background: #43a047; }
.ai-docs-seg.is-bad[b-vspm0w2wm5] { background: #e53935; }
.ai-docs-seg.is-busy[b-vspm0w2wm5] { background: #7c5cff; }
.ai-docs-seg.is-none[b-vspm0w2wm5] { background: #b0bec5; }

.ai-docs-chips[b-vspm0w2wm5] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.ai-docs-chip[b-vspm0w2wm5] {
    padding: 0.05rem 0.5rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}

.ai-docs-chip.is-ok[b-vspm0w2wm5] { background: #e8f5e9; color: #1b5e20; }
.ai-docs-chip.is-bad[b-vspm0w2wm5] { background: #ffebee; color: #b71c1c; }
.ai-docs-chip.is-busy[b-vspm0w2wm5] { background: #ede7ff; color: #4527a0; }
.ai-docs-chip.is-none[b-vspm0w2wm5] { background: #eceff1; color: #455a64; }

.ai-docs-review[b-vspm0w2wm5] {
    flex-shrink: 0;
    white-space: nowrap;
}

/* -- The documents of one draft -- */
.ps-modal.ai-docs-modal[b-vspm0w2wm5] {
    max-width: 620px;
    text-align: start;
}

.ai-docs-modal-head[b-vspm0w2wm5] {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.ai-docs-modal-head > .material-icons[b-vspm0w2wm5] {
    font-size: 1.8rem;
    color: #7c5cff;
}

.ai-docs-modal-title[b-vspm0w2wm5] {
    margin: 0;
    font-size: var(--ps-fs-md);
    font-weight: 800;
    color: var(--ps-text);
}

.ai-docs-modal-award[b-vspm0w2wm5] {
    font-size: 0.82rem;
    color: var(--ps-text-muted);
}

.ai-docs-modal-chips[b-vspm0w2wm5] {
    margin-top: 0.75rem;
}

.ai-docs-modal-intro[b-vspm0w2wm5] {
    margin: 0.6rem 0 0.75rem;
    font-size: 0.85rem;
    color: var(--ps-text-muted);
    line-height: 1.5;
}

.ai-docs-list[b-vspm0w2wm5] {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 45vh;
    overflow-y: auto;
    border: 1px solid var(--ps-border, #e0e0e0);
    border-radius: var(--ps-radius);
}

.ai-docs-item[b-vspm0w2wm5] {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem 0.7rem;
}

.ai-docs-item + .ai-docs-item[b-vspm0w2wm5] {
    border-top: 1px solid var(--ps-border, #e0e0e0);
}

.ai-docs-item-icon[b-vspm0w2wm5] {
    flex-shrink: 0;
    font-size: 1.15rem;
    margin-top: 0.1rem;
}

.ai-docs-item-icon.is-ok[b-vspm0w2wm5], .ai-docs-item-status.is-ok[b-vspm0w2wm5] { color: #2e7d32; }
.ai-docs-item-icon.is-bad[b-vspm0w2wm5], .ai-docs-item-status.is-bad[b-vspm0w2wm5] { color: #c62828; }
.ai-docs-item-icon.is-busy[b-vspm0w2wm5], .ai-docs-item-status.is-busy[b-vspm0w2wm5] { color: #5e35b1; }
.ai-docs-item-icon.is-none[b-vspm0w2wm5], .ai-docs-item-status.is-none[b-vspm0w2wm5] { color: #607d8b; }

.ai-docs-item-body[b-vspm0w2wm5] {
    min-width: 0;
    flex: 1;
}

.ai-docs-item-label[b-vspm0w2wm5] {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ps-text);
}

.ai-docs-required[b-vspm0w2wm5] {
    display: inline-block;
    margin-inline-start: 0.35rem;
    padding: 0 0.4rem;
    border-radius: 999px;
    background: #fff3e0;
    color: #e65100;
    font-size: 0.68rem;
    font-weight: 700;
    vertical-align: middle;
}

.ai-docs-item-file[b-vspm0w2wm5] {
    font-size: 0.74rem;
    color: var(--ps-text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ai-docs-item-status[b-vspm0w2wm5] {
    font-size: 0.74rem;
    font-weight: 700;
    margin-top: 0.1rem;
}

.ai-docs-item-reason[b-vspm0w2wm5] {
    font-size: 0.76rem;
    color: #7f1d1d;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ai-docs-toggle[b-vspm0w2wm5] {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    margin: 0.5rem 0 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--ps-brand);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
}

.ai-docs-modal .ps-modal-buttons[b-vspm0w2wm5] {
    margin-top: var(--ps-sp-5);
}

@media (max-width: 760px) {
    .ai-docs-row[b-vspm0w2wm5] {
        flex-wrap: wrap;
    }

    .ai-docs-review[b-vspm0w2wm5] {
        width: 100%;
        justify-content: center;
    }
}

/* -- The assistant's briefing (home insights switched on) --
   Same brand and violet wash as the banner, but calm: no light sweep or twinkle, so the avatar is the only thing
   that moves. Large text and big touch targets for older applicants; logical properties throughout for RTL. */
.ai-brief[b-vspm0w2wm5] {
    --ai-violet: #7c5cff;
    --ai-cyan: #22b8cf;

    display: flex;
    align-items: flex-start;
    gap: var(--ps-sp-6);
    margin-bottom: var(--ps-sp-6);
    padding: var(--ps-sp-6);
    border: 1px solid transparent;
    border-radius: var(--ps-radius-lg);
    background:
        linear-gradient(115deg,
            color-mix(in srgb, var(--ps-brand) 6%, var(--ps-surface)) 0%,
            color-mix(in srgb, var(--ai-violet) 6%, var(--ps-surface)) 60%,
            color-mix(in srgb, var(--ai-cyan) 6%, var(--ps-surface)) 100%) padding-box,
        linear-gradient(115deg,
            color-mix(in srgb, var(--ps-brand) 35%, transparent),
            color-mix(in srgb, var(--ai-violet) 45%, transparent),
            color-mix(in srgb, var(--ai-cyan) 40%, transparent)) border-box;
    box-shadow: var(--ps-shadow-sm);
}

/* The avatar hovers (.ams-drift, portal.css) over its own soft shadow. */
.ai-brief-avatar[b-vspm0w2wm5] {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 0;
}

/* -- The assistant's speech bubble (briefing and plain banner) --
   It pops out of the avatar, its tail pointing back at it, and the greeting is typed into it (AiTypewriter). */
.ai-say[b-vspm0w2wm5] {
    position: relative;
    max-width: 100%;
    padding: var(--ps-sp-4) var(--ps-sp-5);
    border: 1px solid color-mix(in srgb, var(--ai-violet) 24%, var(--ps-border));
    border-radius: 20px;
    border-start-start-radius: 8px;
    background: var(--ps-surface);
    box-shadow: 0 10px 26px color-mix(in srgb, var(--ai-violet) 13%, transparent);
    transform-origin: 0 28px;
    animation: ai-say-in-b-vspm0w2wm5 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.25) 0.12s both;
}

.ai-say > h2[b-vspm0w2wm5],
.ai-say > p[b-vspm0w2wm5] {
    margin: 0;
}

.ai-say > h2 + p[b-vspm0w2wm5] {
    margin-top: 0.35rem;
}

/* The tail, on the side facing the avatar. */
.ai-say[b-vspm0w2wm5]::before {
    content: "";
    position: absolute;
    top: 20px;
    inset-inline-start: -8px;
    width: 14px;
    height: 14px;
    background: var(--ps-surface);
    border-inline-start: 1px solid color-mix(in srgb, var(--ai-violet) 24%, var(--ps-border));
    border-block-end: 1px solid color-mix(in srgb, var(--ai-violet) 24%, var(--ps-border));
    transform: rotate(45deg);
}

[dir="rtl"] .ai-say[b-vspm0w2wm5] {
    transform-origin: 100% 28px;
}

[dir="rtl"] .ai-say[b-vspm0w2wm5]::before {
    transform: rotate(-45deg);
}

.ai-say--banner[b-vspm0w2wm5] {
    padding: var(--ps-sp-3) var(--ps-sp-4);
}

.ai-say--banner[b-vspm0w2wm5]::before {
    top: 16px;
}

@keyframes ai-say-in-b-vspm0w2wm5 {
    from { opacity: 0; transform: scale(0.6) translateY(6px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* What the assistant points to arrives once it has said its greeting (--ai-said is set on the card from the length
   of what it says), one after another. Only opacity and a small rise, and the content is in the page throughout. */
.ai-brief-line[b-vspm0w2wm5],
.ai-brief-actions[b-vspm0w2wm5],
.ai-brief-chips[b-vspm0w2wm5] {
    animation: ai-after-in-b-vspm0w2wm5 0.45s ease-out both;
    animation-delay: calc(min(var(--ai-said, 0ms), 2600ms) + var(--ai-step, 0) * 140ms);
}

/* Never an invisible control under the keyboard, and once the greeting has been said, lines added later (the
   document refresh) appear straight away. */
.ai-brief-line:focus-within[b-vspm0w2wm5],
.ai-brief-actions:focus-within[b-vspm0w2wm5],
.ai-brief-chips:focus-within[b-vspm0w2wm5],
.ai-brief.is-said .ai-brief-line[b-vspm0w2wm5],
.ai-brief.is-said .ai-brief-actions[b-vspm0w2wm5],
.ai-brief.is-said .ai-brief-chips[b-vspm0w2wm5] {
    animation: none;
}

.ai-brief-line:nth-child(2)[b-vspm0w2wm5] { --ai-step: 1; }
.ai-brief-line:nth-child(3)[b-vspm0w2wm5] { --ai-step: 2; }
.ai-brief-actions[b-vspm0w2wm5] { --ai-step: 3; }
.ai-brief-chips[b-vspm0w2wm5] { --ai-step: 4; }

@keyframes ai-after-in-b-vspm0w2wm5 {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.ai-brief-body[b-vspm0w2wm5] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--ps-sp-3);
}

.ai-brief-greeting[b-vspm0w2wm5] {
    margin: 0;
    color: var(--ps-text);
    font-size: var(--ps-fs-lg);
    font-weight: 800;
    line-height: 1.3;
}

.ai-brief-lead[b-vspm0w2wm5] {
    margin: 0;
    color: var(--ps-text-muted);
    font-size: var(--ps-fs-base);
    line-height: 1.55;
}

.ai-brief-lines[b-vspm0w2wm5] {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.ai-brief-line[b-vspm0w2wm5] {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: var(--ps-radius);
    border: 1px solid color-mix(in srgb, var(--ai-violet) 18%, transparent);
    border-inline-start: 4px solid color-mix(in srgb, var(--ai-violet) 55%, var(--ps-brand));
    background: color-mix(in srgb, var(--ps-surface) 85%, transparent);
}

.ai-brief-line.is-attention[b-vspm0w2wm5] {
    border-color: var(--ps-gold-border);
    border-inline-start-color: var(--ps-gold-strong);
    background: var(--ps-gold-soft);
}

.ai-brief-line.is-ok[b-vspm0w2wm5] {
    border-color: #a5d6a7;
    border-inline-start-color: #2e7d32;
    background: color-mix(in srgb, #e8f5e9 70%, var(--ps-surface));
}

.ai-brief-icon[b-vspm0w2wm5] {
    flex-shrink: 0;
    margin-top: 0.1rem;
    font-size: 1.6rem;
    color: color-mix(in srgb, var(--ai-violet) 70%, var(--ps-brand));
}

.ai-brief-line.is-attention .ai-brief-icon[b-vspm0w2wm5] {
    color: var(--ps-gold-ink);
}

.ai-brief-line.is-ok .ai-brief-icon[b-vspm0w2wm5] {
    color: #2e7d32;
}

.ai-brief-text[b-vspm0w2wm5] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 0.75rem;
    row-gap: 0.25rem;
    color: var(--ps-text);
    font-size: var(--ps-fs-base);
    font-weight: 600;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.ai-brief-link[b-vspm0w2wm5] {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--ps-brand);
    font: inherit;
    font-size: var(--ps-fs-sm);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.ai-brief-link:hover[b-vspm0w2wm5],
.ai-brief-link:focus-visible[b-vspm0w2wm5] {
    color: color-mix(in srgb, var(--ps-brand) 75%, #000);
}

.ai-brief-link-arrow[b-vspm0w2wm5] {
    font-size: 1.1rem;
}

.ai-brief[dir="rtl"] .ai-brief-link-arrow[b-vspm0w2wm5] {
    transform: scaleX(-1);
}

.ai-brief-actions[b-vspm0w2wm5] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ps-sp-3);
    margin-top: 0.25rem;
}

.ai-brief-chips[b-vspm0w2wm5] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ai-brief-chip[b-vspm0w2wm5] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 44px;
    padding: 0.45rem 1rem;
    border: 1px solid color-mix(in srgb, var(--ai-violet) 35%, transparent);
    border-radius: var(--ps-radius-pill);
    background: var(--ps-surface);
    color: var(--ps-text);
    font: inherit;
    font-size: var(--ps-fs-sm);
    font-weight: 600;
    text-align: start;
    cursor: pointer;
}

.ai-brief-chip .material-icons[b-vspm0w2wm5] {
    font-size: 1.15rem;
    color: color-mix(in srgb, var(--ai-violet) 70%, var(--ps-brand));
}

.ai-brief-chip:hover[b-vspm0w2wm5],
.ai-brief-chip:focus-visible[b-vspm0w2wm5] {
    border-color: var(--ps-brand);
    background: var(--ps-brand-soft);
}

@media (max-width: 760px) {
    .ai-brief[b-vspm0w2wm5] {
        flex-direction: column;
        align-items: center;
        gap: var(--ps-sp-4);
        padding: var(--ps-sp-5) var(--ps-sp-4);
    }

    /* 88px on phones. The avatar sizes itself inline, so the override needs !important. */
    .ai-brief-avatar[b-vspm0w2wm5]  .pa-avatar,
    .ai-brief-avatar[b-vspm0w2wm5]  .pa-avatar > svg {
        width: 88px !important;
        height: 88px !important;
    }

    .ai-brief-avatar[b-vspm0w2wm5]  .pa-avatar--static .material-icons {
        font-size: 53px !important;
    }

    /* The avatar picked its full-detail tier for 120px; at 88px apply the mid tier (solid eyes, one sound arc per
       side) so the LED dots do not blur together. */
    .ai-brief-avatar[b-vspm0w2wm5]  .ava-eyes--led,
    .ai-brief-avatar[b-vspm0w2wm5]  .ava-wave--outer {
        display: none;
    }

    .ai-brief-avatar[b-vspm0w2wm5]  .ava:not(.ava--thinking) .ava-eyes--solid {
        opacity: 1;
    }

    .ai-brief-body[b-vspm0w2wm5] {
        width: 100%;
    }

    /* The bubble sits under the avatar here, so its tail points up at it. */
    .ai-brief .ai-say[b-vspm0w2wm5] {
        align-self: stretch;
        border-start-start-radius: 20px;
        transform-origin: 50% 0;
    }

    .ai-brief .ai-say[b-vspm0w2wm5]::before {
        top: -8px;
        inset-inline-start: calc(50% - 7px);
        border: 0;
        border-top: 1px solid color-mix(in srgb, var(--ai-violet) 24%, var(--ps-border));
        border-left: 1px solid color-mix(in srgb, var(--ai-violet) 24%, var(--ps-border));
        transform: rotate(45deg);
    }

    .ai-brief-greeting[b-vspm0w2wm5] {
        font-size: var(--ps-fs-md);
    }

    .ai-brief-actions[b-vspm0w2wm5],
    .ai-brief-actions .ps-btn[b-vspm0w2wm5] {
        width: 100%;
    }

    .ai-brief-actions .ps-btn[b-vspm0w2wm5] {
        justify-content: center;
    }

    .ai-brief-chip[b-vspm0w2wm5] {
        width: 100%;
    }
}
/* /Components/PortalAssistant.razor.rz.scp.css */
/* Fixed to the bottom corner at the end of the reading direction: bottom-right in English, bottom-left in
   Arabic. The container follows the page direction, so launcher and window line up on that side. Above
   page content, below the mobile menu (199+) and modals (1200). */
.pa-root[b-gej3s3pbi2] {
    position: fixed;
    inset-inline-end: 20px;
    bottom: 20px;
    z-index: 150;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.pa-launcher[b-gej3s3pbi2] {
    position: relative;
    width: 60px;
    height: 60px;
    padding: 0;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--ps-brand);
    color: var(--ps-on-brand, #fff);
    box-shadow: var(--ps-shadow-lg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pa-launcher:hover[b-gej3s3pbi2] {
    transform: translateY(-2px);
}

/* Stepping aside for the application form's floating field avatar: it sinks away and comes back when that avatar
   goes. visibility (switched at the end of the fade) also takes it out of the tab order and screen readers. */
.pa-launcher.is-away[b-gej3s3pbi2] {
    opacity: 0;
    visibility: hidden;
    transform: translateY(24px) scale(0.6);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}

.pa-launcher:not(.is-away)[b-gej3s3pbi2] {
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.25s ease, visibility 0s;
}

.pa-launcher:focus-visible[b-gej3s3pbi2] {
    outline: none;
    box-shadow: var(--ps-focus-ring), var(--ps-shadow-lg);
}

.pa-launcher-close[b-gej3s3pbi2] {
    font-size: 28px;
}

/* Something is waiting for the applicant: a still gold dot on the avatar's top corner, kept while the avatar
   itself is busy thinking or speaking. Positioned inside the launcher's rounded clip. Beside an embedded chat
   (the category advisor) the launcher is the round button with only the avatar (is-compact). */
.pa-launcher-dot[b-gej3s3pbi2] {
    position: absolute;
    inset-block-start: 6px;
    inset-inline-start: 36px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--ps-gold);
    box-shadow: 0 0 0 2px #fff;
    pointer-events: none;
}

/* Closed: a pill with the avatar at the start and the assistant's name after it. Open: the round close button. */
.pa-launcher.has-name[b-gej3s3pbi2] {
    width: auto;
    max-width: min(260px, calc(100vw - 40px));
    padding-block: 5px;
    padding-inline: 5px 20px;
    gap: 10px;
    justify-content: flex-start;
    border-radius: var(--ps-radius-pill);
    font: inherit;
}

.pa-launcher-name[b-gej3s3pbi2] {
    min-width: 0;
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pa-window[b-gej3s3pbi2] {
    width: 390px;
    max-width: calc(100vw - 40px);
    height: min(620px, calc(100vh - 120px));
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--ps-surface);
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius-lg);
    box-shadow: var(--ps-shadow-lg);
}

.pa-head[b-gej3s3pbi2] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-block: 12px;
    padding-inline: 14px 10px;
    background: var(--ps-brand);
    color: var(--ps-on-brand, #fff);
}

.pa-head-text[b-gej3s3pbi2] {
    flex: 1;
    min-width: 0;
}

.pa-head-name[b-gej3s3pbi2] {
    font-weight: 700;
    font-size: 0.98rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pa-head-role[b-gej3s3pbi2] {
    font-size: 0.75rem;
    opacity: 0.8;
}

.pa-icon-btn[b-gej3s3pbi2] {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.pa-icon-btn:hover[b-gej3s3pbi2] {
    background: rgba(255, 255, 255, 0.16);
}

.pa-icon-btn:disabled[b-gej3s3pbi2] {
    opacity: 0.5;
    cursor: default;
}

.pa-disclaimer[b-gej3s3pbi2] {
    padding: 0 12px 10px;
    background: var(--ps-surface);
    color: var(--ps-text-faint);
    font-size: 0.7rem;
    text-align: center;
}

@media (max-width: 600px) {
    .pa-root[b-gej3s3pbi2] {
        inset-inline-end: 12px;
        bottom: 12px;
    }

    .pa-window[b-gej3s3pbi2] {
        width: calc(100vw - 24px);
        max-width: none;
        height: calc(100vh - 96px);
    }

    .pa-launcher[b-gej3s3pbi2] {
        width: 54px;
        height: 54px;
    }

    .pa-launcher-dot[b-gej3s3pbi2] {
        inset-block-start: 5px;
        inset-inline-start: 32px;
    }

    .pa-launcher.has-name[b-gej3s3pbi2] {
        width: auto;
        max-width: calc(100vw - 24px);
        padding-inline-end: 16px;
    }
}
/* /Components/PortalAssistantAvatar.razor.rz.scp.css */
/* The robot draws its own shapes on a transparent background, so the wrapper only sizes it. The round shape is kept
   because call sites add a ring around .pa-avatar; overflow stays visible so the bubble and orbit are not clipped. */
.pa-avatar[b-onurjhwq9w] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    line-height: 0;
}

/* The still look used while the animated avatar is switched off: an image or icon in a soft brand circle. */
.pa-avatar--static[b-onurjhwq9w] {
    overflow: hidden;
    background: var(--ps-brand-soft);
    color: var(--ps-brand);
}

.pa-avatar--static img[b-onurjhwq9w] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
