:root {
    --esk-teal: #2f6b74;
    --esk-teal-dark: #204b52;
    --esk-teal-soft: #e6f0f1;
    --esk-accent: #c9973b;
    --esk-ink: #22343a;
    --esk-muted: #6b7c80;
    --esk-line: #e3e9ea;
    --esk-ok: #2e9e5b;
    --esk-warn: #d98a1f;
    --esk-danger: #cf4444;
    --esk-radius: 14px;
    --esk-ease: cubic-bezier(.22, .8, .3, 1);
}

.esk-icon {
    width: 1.25em;
    height: 1.25em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
    vertical-align: -0.25em;
    transition: transform .25s var(--esk-ease);
}
.esk-icon.esk-icon-lg { width: 2.2em; height: 2.2em; }
.esk-icon.esk-icon-xl { width: 3.4em; height: 3.4em; stroke-width: 1.4; }

#eskProgress {
    position: fixed;
    inset: 0 0 auto 0;
    height: 3px;
    z-index: 2000;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(90deg, var(--esk-accent), var(--esk-teal));
    transform-origin: right center;
    transform: scaleX(0);
}
#eskProgress.is-active {
    opacity: 1;
    animation: esk-progress 8s var(--esk-ease) forwards;
}
@keyframes esk-progress {
    0% { transform: scaleX(0); }
    20% { transform: scaleX(.45); }
    100% { transform: scaleX(.92); }
}

.esk-toast-host {
    position: fixed;
    bottom: 18px;
    inset-inline-start: 18px;
    z-index: 2100;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: min(92vw, 420px);
}
.esk-toast {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: var(--esk-ink);
    color: #fff;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: .9rem;
    box-shadow: 0 10px 30px rgba(20, 40, 44, .28);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .3s var(--esk-ease), transform .3s var(--esk-ease);
}
.esk-toast.is-visible { opacity: 1; transform: none; }
.esk-toast-ok { background: #1f6f45; }
.esk-toast-warn { background: #8a5a12; }
.esk-toast button {
    background: rgba(255, 255, 255, .18);
    border: 0;
    color: #fff;
    border-radius: 8px;
    padding: 4px 12px;
    font-weight: 700;
    font-size: .82rem;
}
.esk-toast button:hover { background: rgba(255, 255, 255, .3); }

.esk-cookie {
    position: fixed;
    inset-inline: 16px;
    bottom: 16px;
    z-index: 2050;
    max-width: 560px;
    margin-inline: auto;
    background: #fff;
    border: 1px solid var(--esk-line);
    border-radius: 18px;
    padding: 18px 20px;
    box-shadow: 0 18px 50px rgba(20, 40, 44, .22);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .35s var(--esk-ease), transform .35s var(--esk-ease);
}
.esk-cookie.is-visible { opacity: 1; transform: none; }
.esk-cookie-head { display: flex; gap: 12px; align-items: flex-start; }
.esk-cookie-badge {
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--esk-teal-soft); color: var(--esk-teal);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.esk-cookie h6 { margin: 0 0 4px; font-weight: 800; color: var(--esk-teal-dark); }
.esk-cookie p { margin: 0; color: var(--esk-muted); font-size: .85rem; line-height: 1.8; }
.esk-cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.esk-cookie-panel { margin-top: 12px; border-top: 1px solid var(--esk-line); padding-top: 10px; }
.esk-cookie-panel label { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; padding: 6px 0; }
.esk-cookie-panel small { display: block; color: var(--esk-muted); }
.esk-btn {
    border: 1px solid var(--esk-line);
    background: #fff;
    color: var(--esk-ink);
    border-radius: 10px;
    padding: 8px 16px;
    font-weight: 700;
    font-size: .85rem;
    transition: background-color .2s, color .2s, transform .2s var(--esk-ease);
}
.esk-btn:hover { background: var(--esk-teal-soft); transform: translateY(-1px); }
.esk-btn-primary { background: var(--esk-teal); border-color: var(--esk-teal); color: #fff; }
.esk-btn-primary:hover { background: var(--esk-teal-dark); color: #fff; }

button.esk-busy { position: relative; pointer-events: none; opacity: .8; }
button.esk-busy::after {
    content: '';
    display: inline-block;
    width: 14px; height: 14px;
    margin-inline-start: 8px;
    border: 2px solid rgba(255, 255, 255, .6);
    border-top-color: #fff;
    border-radius: 50%;
    vertical-align: -2px;
    animation: esk-spin .7s linear infinite;
}
@keyframes esk-spin { to { transform: rotate(360deg); } }

.esk-skeleton {
    position: relative;
    overflow: hidden;
    background: #e9eff0;
    border-radius: 8px;
    min-height: 14px;
}
.esk-skeleton::after {
    content: '';
    position: absolute;
    inset: 0;
    transform: translateX(100%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent);
    animation: esk-shimmer 1.3s infinite;
}
@keyframes esk-shimmer { to { transform: translateX(-100%); } }
.esk-skel-line { height: 12px; margin-bottom: 10px; }
.esk-skel-block { height: 120px; }

.esk-topstrip {
    background: var(--esk-teal-dark);
    color: #fff;
    font-size: .8rem;
    text-align: center;
    padding: 5px 12px;
}
.esk-header {
    position: sticky;
    top: 0;
    z-index: 1040;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--esk-line);
    transition: box-shadow .25s;
}
.esk-header.is-scrolled { box-shadow: 0 8px 24px rgba(20, 40, 44, .09); }
.esk-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--esk-teal-dark); font-weight: 900; }
.esk-brand img { height: 40px; width: auto; }
.esk-nav-list { display: flex; align-items: center; gap: 4px; }
.esk-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    color: var(--esk-ink);
    font-weight: 600;
    font-size: .88rem;
    text-decoration: none;
    transition: background-color .2s, color .2s;
}
.esk-nav-link::after {
    content: '';
    position: absolute;
    inset-inline: 14px;
    bottom: 3px;
    height: 3px;
    border-radius: 3px;
    background: var(--esk-accent);
    transform: scaleX(0);
    transition: transform .3s var(--esk-ease);
}
.esk-nav-link:hover { background: var(--esk-teal-soft); color: var(--esk-teal-dark); }
.esk-nav-link:hover .esk-icon { transform: translateY(-2px) rotate(-6deg) scale(1.08); }
.esk-nav-link.is-active { color: var(--esk-teal-dark); background: var(--esk-teal-soft); }
.esk-nav-link.is-active::after { transform: scaleX(1); }
.esk-badge {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: var(--esk-danger);
    color: #fff;
    font-size: .7rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    animation: esk-pulse 2.4s ease-in-out infinite;
}
.esk-badge-live { background: var(--esk-ok); }
@keyframes esk-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(207, 68, 68, .45); }
    50% { box-shadow: 0 0 0 6px rgba(207, 68, 68, 0); }
}
.esk-user-toggle {
    display: flex; align-items: center; gap: 10px;
    padding: 4px 6px 4px 12px;
    border-radius: 999px;
    border: 1px solid var(--esk-line);
    background: #fff;
    text-decoration: none;
    color: var(--esk-ink);
    font-size: .85rem;
    font-weight: 600;
    transition: border-color .2s, box-shadow .2s;
}
.esk-user-toggle:hover { border-color: var(--esk-teal); box-shadow: 0 4px 14px rgba(47, 107, 116, .15); color: var(--esk-teal-dark); }
.esk-avatar {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--esk-teal-soft); color: var(--esk-teal);
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.esk-avatar img { width: 100%; height: 100%; object-fit: cover; }
.esk-header-progress { display: none; align-items: center; gap: 8px; font-size: .78rem; color: var(--esk-muted); }
.esk-header-progress .track { width: 90px; height: 6px; background: var(--esk-line); border-radius: 6px; overflow: hidden; }
.esk-header-progress .fill { display: block; height: 100%; background: linear-gradient(90deg, var(--esk-teal), var(--esk-accent)); border-radius: 6px; transition: width .6s var(--esk-ease); }
@media (min-width: 1200px) { .esk-header-progress { display: flex; } }
@media (max-width: 991.98px) {
    .esk-nav-list { flex-direction: column; align-items: stretch; gap: 4px; padding: 12px 0; }
    .esk-nav-link { padding: 12px 14px; }
}

.esk-reveal { opacity: 0; transform: translateY(14px); animation: esk-reveal .6s var(--esk-ease) forwards; }
.esk-reveal[data-d="1"] { animation-delay: .08s; }
.esk-reveal[data-d="2"] { animation-delay: .16s; }
.esk-reveal[data-d="3"] { animation-delay: .24s; }
.esk-reveal[data-d="4"] { animation-delay: .32s; }
@keyframes esk-reveal { to { opacity: 1; transform: none; } }

.esk-auth {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    min-height: calc(100vh - 220px);
}
.esk-auth-scene {
    background: linear-gradient(160deg, var(--esk-teal) 0%, var(--esk-teal-dark) 100%);
    border-radius: 26px;
    padding: 30px 26px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.esk-auth-scene::before, .esk-auth-scene::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
}
.esk-auth-scene::before { width: 260px; height: 260px; top: -90px; inset-inline-start: -70px; }
.esk-auth-scene::after { width: 200px; height: 200px; bottom: -70px; inset-inline-end: -50px; }
.esk-auth-scene h2 { font-size: 1.35rem; font-weight: 900; margin: 14px 0 6px; position: relative; z-index: 1; }
.esk-auth-scene p { color: rgba(255, 255, 255, .82); font-size: .9rem; margin: 0; position: relative; z-index: 1; }
.esk-scene-svg { width: min(100%, 360px); height: auto; position: relative; z-index: 1; }
.esk-auth-card { background: #fff; border-radius: 22px; padding: 30px 28px; box-shadow: 0 16px 44px rgba(20, 40, 44, .1); }
.esk-auth-card h1 { font-size: 1.4rem; font-weight: 900; color: var(--esk-teal-dark); margin: 0 0 4px; }
.esk-auth-card .lead { color: var(--esk-muted); font-size: .9rem; margin-bottom: 22px; }
.esk-field { position: relative; margin-bottom: 16px; }
.esk-field label { display: block; font-size: .82rem; font-weight: 700; color: var(--esk-ink); margin-bottom: 6px; }
.esk-field .esk-input-wrap { position: relative; }
.esk-field .esk-icon.lead-icon { position: absolute; inset-inline-start: 14px; top: 50%; transform: translateY(-50%); color: var(--esk-muted); pointer-events: none; }
.esk-field input.form-control { padding-inline-start: 42px; height: 48px; border-radius: 12px; border: 1.5px solid var(--esk-line); transition: border-color .2s, box-shadow .2s; }
.esk-field input.form-control:focus { border-color: var(--esk-teal); box-shadow: 0 0 0 4px rgba(47, 107, 116, .12); }
.esk-field .toggle-pass {
    position: absolute; inset-inline-end: 8px; top: 50%; transform: translateY(-50%);
    background: transparent; border: 0; color: var(--esk-muted); padding: 6px; border-radius: 8px;
}
.esk-field .toggle-pass:hover { color: var(--esk-teal-dark); background: var(--esk-teal-soft); }
.esk-hint { font-size: .78rem; color: var(--esk-warn); display: none; margin-top: 6px; }
.esk-hint.is-visible { display: block; }
.esk-submit { width: 100%; height: 50px; border-radius: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 10px; }

.house-door { transform-box: fill-box; transform-origin: right center; animation: esk-door-open 1.6s var(--esk-ease) .4s both; }
.house-light { animation: esk-flicker 3.2s ease-in-out infinite; }
.house-smoke { transform-box: fill-box; transform-origin: center bottom; animation: esk-smoke 4s ease-in-out infinite; }
.scene-key { transform-box: fill-box; transform-origin: center; transition: transform .6s var(--esk-ease); }
.esk-auth-scene.is-typing .scene-key { transform: translateY(-6px) rotate(-24deg); }
.esk-auth-scene.is-typing .house-light { animation-duration: 1.2s; }
.scene-cloud { animation: esk-drift 14s ease-in-out infinite alternate; }
.scene-cloud.c2 { animation-duration: 19s; animation-delay: -6s; }
@keyframes esk-door-open { from { transform: perspective(300px) rotateY(0); } to { transform: perspective(300px) rotateY(-58deg); } }
@keyframes esk-flicker { 0%, 100% { opacity: .95; } 45% { opacity: .75; } 60% { opacity: 1; } }
@keyframes esk-smoke { 0% { opacity: 0; transform: translateY(6px) scale(.6); } 30% { opacity: .7; } 100% { opacity: 0; transform: translateY(-26px) scale(1.4); } }
@keyframes esk-drift { from { transform: translateX(-14px); } to { transform: translateX(18px); } }

.esk-bye {
    min-height: calc(100vh - 180px);
    display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
    padding: 20px 14px;
}
.esk-bye-scene { width: min(88vw, 340px); height: auto; }
.esk-bye h1 { font-size: 1.5rem; font-weight: 900; color: var(--esk-teal-dark); margin: 16px 0 6px; }
.esk-bye p { color: var(--esk-muted); margin-bottom: 18px; }
.esk-bye .count { font-size: .85rem; color: var(--esk-muted); margin-top: 12px; }
.bye-circle { stroke-dasharray: 190; stroke-dashoffset: 190; animation: esk-draw 1s var(--esk-ease) .3s forwards; }
.bye-check { stroke-dasharray: 46; stroke-dashoffset: 46; animation: esk-draw .6s var(--esk-ease) 1.1s forwards; }
.bye-door { transform-box: fill-box; transform-origin: right center; animation: esk-door-close 1.3s var(--esk-ease) .5s both; }
.bye-hand { transform-box: fill-box; transform-origin: 60% 90%; animation: esk-wave 1.6s ease-in-out 1.4s 3; }
.bye-star { transform-box: fill-box; transform-origin: center; animation: esk-twinkle 2.4s ease-in-out infinite; }
.bye-star.s2 { animation-delay: -.8s; }
.bye-star.s3 { animation-delay: -1.6s; }
@keyframes esk-draw { to { stroke-dashoffset: 0; } }
@keyframes esk-door-close { from { transform: perspective(300px) rotateY(-58deg); } to { transform: perspective(300px) rotateY(0); } }
@keyframes esk-wave { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(16deg); } 75% { transform: rotate(-12deg); } }
@keyframes esk-twinkle { 0%, 100% { opacity: .3; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.1); } }
.wave-hand { display: inline-block; width: 1.5em; height: 1.5em; vertical-align: -0.3em; transform-origin: 70% 85%; animation: esk-wave 2s ease-in-out 1s 2; }

.esk-landing-hero {
    background: linear-gradient(150deg, var(--esk-teal) 0%, var(--esk-teal-dark) 100%);
    color: #fff;
    border-radius: 28px;
    padding: clamp(28px, 5vw, 56px);
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 28px;
    align-items: center;
    overflow: hidden;
    position: relative;
}
.esk-landing-hero h1 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); font-weight: 900; line-height: 1.5; margin-bottom: 12px; }
.esk-landing-hero p { color: rgba(255, 255, 255, .85); line-height: 2; margin-bottom: 22px; }
.esk-landing-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.esk-landing-cta .btn { border-radius: 12px; font-weight: 800; padding: 12px 22px; display: inline-flex; align-items: center; gap: 8px; }
.btn-accent { background: var(--esk-accent); border-color: var(--esk-accent); color: #1c2a2d; }
.btn-accent:hover { background: #b98529; border-color: #b98529; color: #1c2a2d; }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, .55); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.esk-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-top: 26px; }
.esk-step {
    background: #fff; border-radius: 18px; padding: 22px 18px; border: 1px solid var(--esk-line);
    transition: transform .3s var(--esk-ease), box-shadow .3s var(--esk-ease);
}
.esk-step:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(20, 40, 44, .1); }
.esk-step .num {
    width: 40px; height: 40px; border-radius: 12px; background: var(--esk-teal-soft); color: var(--esk-teal);
    display: flex; align-items: center; justify-content: center; margin-bottom: 12px; font-weight: 900;
}
.esk-step h3 { font-size: 1rem; font-weight: 800; color: var(--esk-teal-dark); margin-bottom: 6px; }
.esk-step p { color: var(--esk-muted); font-size: .86rem; line-height: 1.9; margin: 0; }
.esk-notice { border-radius: 14px; padding: 12px 16px; background: #fff7e6; color: #7a5312; border: 1px solid #f1ddb0; display: flex; gap: 10px; align-items: center; margin-bottom: 16px; }

.esk-resume {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    background: #fff; border: 1px dashed var(--esk-teal); border-radius: 14px; padding: 14px 16px; margin-bottom: 16px;
}
.esk-resume[hidden] { display: none; }
.esk-resume strong { color: var(--esk-teal-dark); }
[data-esk-draft-status] { font-size: .78rem; color: var(--esk-muted); }

.esk-offline .esk-header::after {
    content: '';
    position: absolute; inset-inline: 0; bottom: -3px; height: 3px; background: var(--esk-warn);
}

@media (max-width: 991.98px) {
    .esk-auth { grid-template-columns: 1fr; }
    .esk-auth-scene { padding: 18px; }
    .esk-scene-svg { max-width: 240px; }
    .esk-landing-hero { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
    .esk-auth-card { padding: 22px 16px; }
    .esk-toast-host { inset-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    .esk-reveal { opacity: 1; transform: none; }
}

.esk-stepper { display: flex; justify-content: space-between; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; position: relative; }
.esk-stepper::before { content: ''; position: absolute; top: 15px; inset-inline: 8%; height: 2px; background: var(--esk-line); }
.esk-stepper li { position: relative; z-index: 1; flex: 1; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--esk-muted); font-size: .78rem; font-weight: 700; }
.esk-stepper li span { width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 2px solid var(--esk-line); display: flex; align-items: center; justify-content: center; font-weight: 900; transition: all .3s var(--esk-ease); }
.esk-stepper li em { font-style: normal; }
.esk-stepper li.is-active span { border-color: var(--esk-teal); background: var(--esk-teal); color: #fff; transform: scale(1.1); box-shadow: 0 6px 16px rgba(47, 107, 116, .3); }
.esk-stepper li.is-active { color: var(--esk-teal-dark); }
.esk-stepper li.is-done span { border-color: var(--esk-ok); background: var(--esk-ok); color: #fff; }
.esk-wstep { display: none; }
.esk-wstep.is-active { display: block; animation: esk-step-in .4s var(--esk-ease); }
@keyframes esk-step-in { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
.esk-step-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 20px; }
.esk-step-nav .esk-btn, .esk-step-nav .btn { min-width: 120px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; font-weight: 800; }
.esk-step-nav [data-esk-prev] .esk-icon { transform: scaleX(-1); }
.esk-wstep .form-control, .esk-wstep .form-select { height: 46px; border-radius: 12px; border: 1.5px solid var(--esk-line); }
.esk-wstep .form-control:focus, .esk-wstep .form-select:focus { border-color: var(--esk-teal); box-shadow: 0 0 0 4px rgba(47, 107, 116, .12); }
.esk-wstep .form-label { font-weight: 700; font-size: .85rem; color: var(--esk-ink); }
.pagination svg, nav[role="navigation"] svg { width: 1.1em; height: 1.1em; }
.esk-section-bar { background: #fff; border-radius: 16px; padding: 16px 12px 12px; margin-bottom: 16px; box-shadow: 0 1px 4px rgba(0, 0, 0, .06); }
.esk-stepper-links::before { inset-inline: 6%; }
.esk-stepper-links li a { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: inherit; }
.esk-stepper-links li em { font-size: .72rem; max-width: 90px; line-height: 1.5; }
.esk-stepper-links li:hover span { border-color: var(--esk-teal); }
.esk-stepper-links li span .esk-icon { width: 1em; height: 1em; }
form[data-esk-draft] .form-control, form[data-esk-draft] .form-select { border-radius: 12px; border: 1.5px solid var(--esk-line); min-height: 44px; }
form[data-esk-draft] .form-control:focus, form[data-esk-draft] .form-select:focus { border-color: var(--esk-teal); box-shadow: 0 0 0 4px rgba(47, 107, 116, .12); }
form[data-esk-draft] .form-label { font-weight: 700; font-size: .85rem; color: var(--esk-ink); }
form[data-esk-draft] h6 { padding-inline-start: 12px; border-inline-start: 4px solid var(--esk-accent); font-weight: 800; color: var(--esk-teal-dark); }
form[data-esk-draft] > button[type="submit"], form[data-esk-draft] .btn-brand[type="submit"] { min-width: 150px; height: 46px; border-radius: 12px; font-weight: 800; }
@media (max-width: 575.98px) { .esk-stepper-links em { display: none; } .esk-stepper-links li.is-active em { display: block; position: absolute; top: 40px; white-space: nowrap; } .esk-section-bar { padding-bottom: 34px; } }

.esk-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0 14px; color: var(--esk-muted); font-size: .8rem; }
.esk-divider::before, .esk-divider::after { content: ''; flex: 1; height: 1px; background: var(--esk-line); }

.esk-steps-flow { position: relative; margin-top: 30px; gap: 18px; }
.esk-steps-flow::before { content: ''; position: absolute; top: 46px; inset-inline: 12%; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--esk-accent), var(--esk-teal)); transform-origin: right center; transform: scaleX(0); animation: esk-line 1.4s var(--esk-ease) .5s forwards; opacity: .35; }
@keyframes esk-line { to { transform: scaleX(1); } }
.esk-steps-flow .esk-step { position: relative; z-index: 1; padding: 26px 18px 22px; text-align: center; overflow: hidden; }
.esk-steps-flow .esk-step::after { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, transparent 55%, rgba(201, 151, 59, .12)); opacity: 0; transition: opacity .35s; }
.esk-steps-flow .esk-step:hover::after { opacity: 1; }
.esk-steps-flow .esk-step:hover { transform: translateY(-8px); box-shadow: 0 20px 44px rgba(20, 40, 44, .14); }
.esk-steps-flow .num { width: 60px; height: 60px; border-radius: 18px; margin: 0 auto 14px; background: var(--esk-teal); color: #fff; box-shadow: 0 10px 22px rgba(47, 107, 116, .3); animation: esk-bob 3.2s ease-in-out infinite; }
.esk-steps-flow .esk-step:nth-child(2) .num { animation-delay: -.8s; }
.esk-steps-flow .esk-step:nth-child(3) .num { animation-delay: -1.6s; }
.esk-steps-flow .esk-step:nth-child(4) .num { animation-delay: -2.4s; background: var(--esk-ok); }
.esk-steps-flow .num .esk-icon { width: 1.7em; height: 1.7em; }
.esk-steps-flow .esk-step:hover .num .esk-icon { transform: scale(1.15) rotate(-8deg); }
.esk-step-no { position: absolute; top: 10px; inset-inline-start: 14px; font-size: 2.6rem; font-weight: 900; line-height: 1; color: var(--esk-teal-soft); }
@keyframes esk-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (max-width: 767.98px) { .esk-steps-flow::before { display: none; } }

.esk-impersonation { background: #8a5a12; color: #fff; padding: 8px 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; font-size: .9rem; font-weight: 700; position: relative; z-index: 1045; }
.esk-impersonation .esk-btn { padding: 4px 14px; }
.esk-profile-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.esk-profile-avatar { width: 84px; height: 84px; border-radius: 50%; background: var(--esk-teal-soft); color: var(--esk-teal); display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
.esk-profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.esk-profile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px 18px; margin: 0 0 8px; }
.esk-profile-grid div { background: var(--esk-teal-soft); border-radius: 12px; padding: 10px 14px; }
.esk-profile-grid dt { font-size: .74rem; color: var(--esk-muted); font-weight: 700; margin: 0 0 2px; }
.esk-profile-grid dd { margin: 0; font-weight: 700; color: var(--esk-ink); word-break: break-word; }
.esk-profile-actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 14px 0; border-top: 1px solid var(--esk-line); margin-top: 8px; }
.esk-profile-reset { border-top: 1px solid var(--esk-line); padding-top: 14px; }
.esk-profile-result { background: #fff7e6; border: 1px solid #f1ddb0; border-radius: 12px; padding: 12px 14px; }

.esk-req { color: var(--esk-danger); font-weight: 900; margin-inline-start: 4px; }
.esk-req-badge { position: absolute; top: 8px; inset-inline-end: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--esk-danger); color: #fff; font-weight: 900; display: flex; align-items: center; justify-content: center; animation: esk-pulse 2s ease-in-out infinite; }
.esk-hidden-date { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0; overflow: hidden; pointer-events: none; }
.esk-hijri { display: flex; flex-wrap: wrap; gap: 6px; flex: 1 1 260px; align-items: center; }
.esk-hijri[hidden] { display: none; }
.esk-hijri .form-select { flex: 1 1 90px; min-width: 90px; }
.esk-hijri-hint { flex-basis: 100%; color: var(--esk-muted); font-size: .76rem; }
input[data-esk-num] { font-variant-numeric: tabular-nums; letter-spacing: .5px; direction: ltr; text-align: right; }
.esk-num-stepper { display: inline-flex; align-items: stretch; border: 1.5px solid var(--esk-line); border-radius: 12px; overflow: hidden; background: #fff; max-width: 190px; width: 100%; }
.esk-num-stepper input.form-control { border: 0 !important; border-radius: 0 !important; text-align: center !important; box-shadow: none !important; min-width: 0; }
.esk-num-stepper button { width: 44px; border: 0; background: var(--esk-teal-soft); color: var(--esk-teal-dark); font-size: 1.3rem; font-weight: 900; transition: background-color .2s; }
.esk-num-stepper button:hover { background: var(--esk-teal); color: #fff; }
.input-group .esk-num-stepper { max-width: none; }
