.yes-app {
    --yes-primary: #0f766e;
    --yes-primary-dark: color-mix(in srgb, var(--yes-primary) 82%, #000);
    --yes-primary-soft: color-mix(in srgb, var(--yes-primary) 10%, #fff);
    --yes-secondary: #f59e0b;
    --yes-bg: #f5f7fb;
    --yes-surface: #fff;
    --yes-text: #172033;
    --yes-muted: #6b7280;
    --yes-border: #e5eaf1;
    --yes-danger: #dc2626;
    --yes-success: #059669;
    direction: rtl;
    color: var(--yes-text);
    font-family: "Vazirmatn", sans-serif;
    font-size: 14px;
    line-height: 1.8;
    width: 100%;
}

.yes-app,
.yes-app * {
    box-sizing: border-box;
}

.yes-app button,
.yes-app input,
.yes-app textarea,
.yes-app select {
    font: inherit;
}

.yes-app button,
.yes-app a {
    -webkit-tap-highlight-color: transparent;
}

.yes-app a {
    text-decoration: none;
}

.yes-app .yes-svg {
    width: 21px;
    height: 21px;
    flex: 0 0 auto;
}

.yes-portal-page {
    margin: 0 !important;
    background: var(--yes-bg, #f5f7fb) !important;
}

.yes-portal-page .site-header,
.yes-portal-page header.site-header,
.yes-portal-page .site-footer,
.yes-portal-page footer.site-footer,
.yes-portal-page .entry-header,
.yes-portal-page .page-header {
    display: none !important;
}

.yes-portal-page #page,
.yes-portal-page #content,
.yes-portal-page .site-content,
.yes-portal-page .site-main,
.yes-portal-page .entry-content,
.yes-portal-page .elementor,
.yes-portal-page .elementor-section-wrap,
.yes-portal-page .elementor-widget-container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Authentication */
.yes-auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
    background: #f8fafc;
}

.yes-auth-brand {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: clamp(42px, 7vw, 104px);
    color: #fff;
    background:
        radial-gradient(circle at 15% 15%, rgba(255,255,255,.14), transparent 26%),
        linear-gradient(145deg, var(--yes-primary-dark), var(--yes-primary) 58%, color-mix(in srgb, var(--yes-primary) 75%, #25c7b9));
}

.yes-auth-brand-inner {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.yes-brand-logo,
.yes-auth-mobile-logo > span {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 22px;
    background: rgba(255,255,255,.14);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 18px 40px rgba(0,0,0,.12);
    font-size: 18px;
    font-weight: 900;
    backdrop-filter: blur(10px);
}

.yes-auth-eyebrow {
    display: inline-flex;
    margin-top: 34px;
    padding: 7px 13px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    background: rgba(255,255,255,.09);
    font-size: 12px;
    font-weight: 700;
}

.yes-auth-brand h1 {
    margin: 14px 0 12px;
    color: #fff;
    font-size: clamp(18px, 4.8vw, 18px);
    line-height: 1.35;
    font-weight: 900;
    letter-spacing: -.8px;
}

.yes-auth-brand-inner > p {
    max-width: 590px;
    margin: 0;
    color: rgba(255,255,255,.78);
    font-size: 16px;
    line-height: 2;
}

.yes-auth-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
    margin-top: 42px;
}

.yes-auth-feature-grid > div {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 82px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 17px;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(8px);
}

.yes-auth-feature-grid .yes-svg {
    width: 27px;
    height: 27px;
    color: #fff;
}

.yes-auth-feature-grid strong,
.yes-auth-feature-grid small {
    display: block;
}

.yes-auth-feature-grid strong {
    font-size: 13px;
    color: #fff;
}

.yes-auth-feature-grid small {
    margin-top: 2px;
    color: rgba(255,255,255,.64);
    font-size: 10px;
    line-height: 1.6;
}

.yes-auth-decoration {
    position: absolute;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 50%;
}

.yes-auth-decoration-one {
    width: 380px;
    height: 380px;
    left: -140px;
    bottom: -145px;
}

.yes-auth-decoration-two {
    width: 170px;
    height: 170px;
    right: 8%;
    top: -80px;
    background: rgba(255,255,255,.04);
}

.yes-auth-form-side {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 42px;
    background:
        linear-gradient(rgba(255,255,255,.88), rgba(255,255,255,.88)),
        radial-gradient(circle at 90% 10%, var(--yes-primary-soft), transparent 32%);
}

.yes-auth-card {
    width: min(100%, 470px);
    padding: 38px;
    border: 1px solid var(--yes-border);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 26px 70px rgba(15,23,42,.09);
}

.yes-auth-mobile-logo {
    display: none;
}

.yes-auth-title {
    margin-bottom: 28px;
}

.yes-auth-step,
.yes-section-kicker {
    display: inline-flex;
    align-items: center;
    color: var(--yes-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1px;
}

.yes-auth-title h2 {
    margin: 7px 0 6px;
    color: var(--yes-text);
    font-size: 18px;
    font-weight: 900;
    line-height: 1.5;
}

.yes-auth-title p {
    margin: 0;
    color: var(--yes-muted);
    font-size: 13px;
}

.yes-input-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 17px;
}

.yes-input-group > span {
    color: #344054;
    font-size: 12px;
    font-weight: 700;
}

.yes-input-group > span small {
    color: #98a2b3;
    font-weight: 500;
}

.yes-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.yes-input-wrap > .yes-svg {
    position: absolute;
    right: 15px;
    z-index: 1;
    width: 19px;
    height: 19px;
    color: #98a2b3;
    pointer-events: none;
}

.yes-app input,
.yes-app select,
.yes-app textarea {
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 11px 14px;
    border: 1px solid #d9e0e9;
    border-radius: 12px;
    outline: 0;
    background: #fff;
    color: var(--yes-text);
    box-shadow: none;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.yes-input-wrap input,
.yes-input-wrap select {
    padding-right: 46px;
}

.yes-app input:focus,
.yes-app select:focus,
.yes-app textarea:focus {
    border-color: var(--yes-primary);
    box-shadow: 0 0 0 4px var(--yes-primary-soft);
}

.yes-app textarea {
    resize: vertical;
}

.yes-main-btn,
.yes-secondary-btn,
.yes-link-btn,
.yes-copy {
    border: 0;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s, background .2s, border-color .2s, opacity .2s;
}

.yes-main-btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 19px;
    border-radius: 12px;
    background: var(--yes-primary);
    color: #fff !important;
    font-weight: 800;
    box-shadow: 0 9px 22px color-mix(in srgb, var(--yes-primary) 23%, transparent);
}

.yes-main-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    background: var(--yes-primary-dark);
    box-shadow: 0 13px 30px color-mix(in srgb, var(--yes-primary) 28%, transparent);
}

.yes-main-btn:disabled,
.yes-main-btn.is-loading {
    opacity: .55;
    pointer-events: none;
}

.yes-main-btn.is-loading {
    position: relative;
    color: transparent !important;
}

.yes-main-btn.is-loading::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: yes-spin .7s linear infinite;
}

@keyframes yes-spin {
    to { transform: rotate(360deg); }
}

.yes-auth-submit {
    width: 100%;
    min-height: 53px;
    margin-top: 8px;
    justify-content: space-between;
    padding-inline: 20px;
}

.yes-link-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 12px;
    padding: 9px;
    background: transparent;
    color: var(--yes-primary);
    font-weight: 700;
}

.yes-link-btn .yes-svg {
    width: 17px;
    height: 17px;
}

.yes-otp-input {
    height: 62px;
    padding: 10px !important;
    direction: ltr;
    text-align: center;
    font-size: 18px !important;
    font-weight: 800;
    letter-spacing: 10px;
}

#yes-debug-otp {
    margin: -4px 0 12px;
}

#yes-debug-otp span {
    display: block;
    padding: 10px 12px;
    border: 1px dashed #f4c66d;
    border-radius: 10px;
    background: #fffbeb;
    color: #92400e;
    text-align: center;
}

.yes-form-message {
    min-height: 0;
    margin-top: 13px;
    padding: 0;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}

.yes-form-message:not(:empty) {
    padding: 10px 12px;
    border: 1px solid #dbeafe;
    background: #eff6ff;
    color: #1d4ed8;
}

.yes-form-message.success:not(:empty) {
    border-color: #bbf7d0;
    background: #ecfdf5;
    color: #047857;
}

.yes-form-message.error:not(:empty) {
    border-color: #fecaca;
    background: #fef2f2;
    color: #b91c1c;
}

.yes-auth-foot {
    margin-top: 23px;
    padding-top: 20px;
    border-top: 1px solid #eef2f6;
    color: #98a2b3;
    text-align: center;
    font-size: 10px;
}

/* Portal layout */
.yes-portal {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 286px minmax(0, 1fr);
    background: var(--yes-bg);
}

.yes-sidebar {
    position: sticky;
    top: 0;
    z-index: 40;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 22px 18px;
    overflow-y: auto;
    border-left: 1px solid #e8edf3;
    background: #fff;
}

.yes-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 58px;
    padding: 0 8px 18px;
    border-bottom: 1px solid #eef2f6;
}

.yes-brand-mark {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 13px;
    background: linear-gradient(145deg, var(--yes-primary), var(--yes-primary-dark));
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    box-shadow: 0 9px 20px color-mix(in srgb, var(--yes-primary) 22%, transparent);
}

.yes-sidebar-brand strong,
.yes-sidebar-brand small {
    display: block;
}

.yes-sidebar-brand strong {
    max-width: 180px;
    overflow: hidden;
    color: var(--yes-text);
    font-size: 13px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.yes-sidebar-brand small {
    color: #98a2b3;
    font-size: 10px;
}

.yes-sidebar-profile {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 10px;
    margin: 18px 0 6px;
    padding: 13px;
    border: 1px solid var(--yes-border);
    border-radius: 14px;
    background: #fafbfc;
}

.yes-avatar {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 3px solid #fff;
    border-radius: 14px;
    background: var(--yes-primary-soft);
    color: var(--yes-primary);
    font-size: 17px;
    font-weight: 900;
    box-shadow: 0 3px 9px rgba(15,23,42,.06);
}

.yes-sidebar-profile strong,
.yes-sidebar-profile small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.yes-sidebar-profile strong {
    color: #344054;
    font-size: 12px;
}

.yes-sidebar-profile small {
    color: #98a2b3;
    font-size: 10px;
}

.yes-sidebar-profile > a {
    display: grid;
    place-items: center;
    color: #98a2b3;
}

.yes-sidebar-profile > a .yes-svg {
    width: 17px;
    height: 17px;
}

.yes-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 14px;
}

.yes-nav-label {
    padding: 0 11px 7px;
    color: #a1aab8;
    font-size: 10px;
    font-weight: 700;
}

.yes-sidebar-nav > a {
    min-height: 47px;
    display: grid;
    grid-template-columns: 35px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 7px;
    padding: 6px 10px;
    border-radius: 11px;
    color: #667085;
    font-size: 12px;
    font-weight: 700;
}

.yes-sidebar-nav > a > .yes-svg:last-child {
    width: 15px;
    height: 15px;
    opacity: 0;
    transform: translateX(5px);
    transition: .2s;
}

.yes-nav-icon {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: #7d8797;
}

.yes-nav-icon .yes-svg {
    width: 19px;
    height: 19px;
}

.yes-sidebar-nav > a:hover,
.yes-sidebar-nav > a.active {
    background: var(--yes-primary-soft);
    color: var(--yes-primary);
}

.yes-sidebar-nav > a.active .yes-nav-icon {
    background: var(--yes-primary);
    color: #fff;
    box-shadow: 0 6px 15px color-mix(in srgb, var(--yes-primary) 22%, transparent);
}

.yes-sidebar-nav > a:hover > .yes-svg:last-child,
.yes-sidebar-nav > a.active > .yes-svg:last-child {
    opacity: 1;
    transform: none;
}

.yes-sidebar-invite {
    position: relative;
    overflow: hidden;
    margin-top: auto;
    padding: 17px;
    border-radius: 17px;
    background: linear-gradient(145deg, #172033, #26334c);
    color: #fff;
}

.yes-sidebar-invite::after {
    content: "";
    position: absolute;
    width: 90px;
    height: 90px;
    left: -33px;
    bottom: -40px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
}

.yes-sidebar-invite-icon {
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    margin-bottom: 10px;
    border-radius: 10px;
    background: rgba(255,255,255,.1);
    color: var(--yes-secondary);
}

.yes-sidebar-invite-icon .yes-svg {
    width: 20px;
    height: 20px;
}

.yes-sidebar-invite > strong {
    display: block;
    font-size: 12px;
}

.yes-sidebar-invite > p {
    margin: 2px 0 10px;
    color: rgba(255,255,255,.56);
    font-size: 9px;
}

.yes-sidebar-invite > div:last-child {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.yes-sidebar-invite code {
    color: #fff;
    background: transparent;
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
}

.yes-sidebar-invite .yes-copy {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: rgba(255,255,255,.1);
    color: #fff;
}

.yes-sidebar-invite .yes-copy .yes-svg {
    width: 15px;
    height: 15px;
}

.yes-sidebar-logout {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    border-radius: 11px;
    color: #98a2b3;
    font-size: 11px;
    font-weight: 700;
}

.yes-sidebar-logout:hover {
    background: #fef2f2;
    color: #dc2626;
}

.yes-sidebar-logout .yes-svg {
    width: 18px;
    height: 18px;
}

.yes-main {
    min-width: 0;
    background: var(--yes-bg);
}

.yes-topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 13px clamp(20px, 3vw, 42px);
    border-bottom: 1px solid rgba(226,232,240,.85);
    background: rgba(255,255,255,.91);
    backdrop-filter: blur(14px);
}

.yes-topbar-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

#yes-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--yes-border);
    border-radius: 11px;
    background: #fff;
    color: #475467;
    cursor: pointer;
}

.yes-topbar-title h1 {
    margin: 0;
    color: #172033;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.5;
}

.yes-topbar-title p {
    margin: 2px 0 0;
    color: #98a2b3;
    font-size: 10px;
}

.yes-topbar-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--yes-text);
}

.yes-topbar-profile > div {
    text-align: left;
}

.yes-topbar-profile strong,
.yes-topbar-profile small {
    display: block;
}

.yes-topbar-profile strong {
    font-size: 11px;
}

.yes-topbar-profile small {
    color: #98a2b3;
    font-size: 9px;
}

.yes-avatar-small {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 15px;
}

.yes-main-inner {
    width: min(100%, 1500px);
    margin: 0 auto;
    padding: clamp(20px, 3vw, 40px);
}

/* Dashboard */
.yes-welcome {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr);
    align-items: center;
    gap: 32px;
    min-height: 238px;
    padding: clamp(25px, 4vw, 46px);
    border-radius: 23px;
    color: #fff;
    background:
        linear-gradient(120deg, color-mix(in srgb, var(--yes-primary) 90%, #081d2c), var(--yes-primary) 65%, color-mix(in srgb, var(--yes-primary) 72%, #2dd4bf));
    box-shadow: 0 22px 48px color-mix(in srgb, var(--yes-primary) 16%, transparent);
}

.yes-welcome-content,
.yes-tracking-card {
    position: relative;
    z-index: 2;
}

.yes-welcome-label {
    display: inline-flex;
    padding: 6px 12px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.82);
    font-size: 10px;
    font-weight: 700;
}

.yes-welcome h2 {
    margin: 13px 0 7px;
    color: #fff;
    font-size: clamp(18px, 3vw, 18px);
    font-weight: 900;
    line-height: 1.5;
}

.yes-welcome-content > p {
    max-width: 650px;
    margin: 0;
    color: rgba(255,255,255,.7);
    font-size: 12px;
}

.yes-welcome-action {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 20px;
    padding: 9px 15px;
    border-radius: 10px;
    background: #fff;
    color: var(--yes-primary);
    font-size: 11px;
    font-weight: 800;
}

.yes-welcome-action .yes-svg {
    width: 16px;
    height: 16px;
}

.yes-tracking-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 18px;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(12px);
}

.yes-tracking-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: rgba(255,255,255,.12);
    color: var(--yes-secondary);
}

.yes-tracking-card small,
.yes-tracking-card strong,
.yes-tracking-card p {
    display: block;
}

.yes-tracking-card small {
    color: rgba(255,255,255,.62);
    font-size: 9px;
}

.yes-tracking-card strong {
    margin-top: 1px;
    color: #fff;
    font-size: 15px;
    letter-spacing: .6px;
}

.yes-tracking-card p {
    margin: 2px 0 0;
    color: rgba(255,255,255,.5);
    font-size: 8px;
}

.yes-tracking-card .yes-copy {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 10px;
    border-radius: 9px;
    background: rgba(255,255,255,.13);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
}

.yes-tracking-card .yes-copy .yes-svg {
    width: 15px;
    height: 15px;
}

.yes-welcome-shape {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.08);
}

.yes-welcome-shape-one {
    width: 280px;
    height: 280px;
    left: -90px;
    bottom: -170px;
}

.yes-welcome-shape-two {
    width: 150px;
    height: 150px;
    right: 42%;
    top: -100px;
    background: rgba(255,255,255,.025);
}

.yes-user-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.yes-user-stats.yes-user-stats-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.yes-stat-card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 112px;
    padding: 18px;
    border: 1px solid var(--yes-border);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(15,23,42,.035);
}

.yes-stat-icon,
.yes-box-icon,
.yes-last-activity-icon {
    width: 47px;
    height: 47px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 13px;
    background: var(--yes-primary-soft);
    color: var(--yes-primary);
}

.yes-stat-icon .yes-svg {
    width: 23px;
    height: 23px;
}

.yes-stat-card small,
.yes-stat-card strong,
.yes-stat-card p {
    display: block;
}

.yes-stat-card small {
    color: #7b8492;
    font-size: 10px;
    font-weight: 700;
}

.yes-stat-card strong {
    margin-top: 1px;
    color: #172033;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.4;
}

.yes-stat-card p {
    margin: 0;
    color: #a1aab8;
    font-size: 8px;
}

.yes-last-activity {
    display: grid;
    grid-template-columns: 45px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding: 13px 16px;
    border: 1px solid var(--yes-border);
    border-radius: 14px;
    background: #fff;
}

.yes-last-activity-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
}

.yes-last-activity small,
.yes-last-activity strong,
.yes-last-activity span {
    display: block;
}

.yes-last-activity small {
    color: #98a2b3;
    font-size: 9px;
}

.yes-last-activity strong {
    color: #344054;
    font-size: 11px;
}

.yes-last-activity div > span {
    color: #7b8492;
    font-size: 9px;
}

.yes-last-activity-date {
    color: #98a2b3;
    font-size: 9px;
    white-space: nowrap;
}

/* Common sections */
.yes-section-block {
    scroll-margin-top: 100px;
}

.yes-content-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 16px;
}

.yes-content-head h2 {
    margin: 3px 0 2px;
    color: #172033;
    font-size: 18px;
    font-weight: 900;
}

.yes-content-head p {
    margin: 0;
    color: #98a2b3;
    font-size: 10px;
}

.yes-content-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 5px 11px;
    border: 1px solid var(--yes-border);
    border-radius: 999px;
    background: #fff;
    color: #667085;
    font-size: 9px;
    font-weight: 700;
    white-space: nowrap;
}

.yes-exam-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.yes-exam-card {
    overflow: hidden;
    border: 1px solid var(--yes-border);
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 9px 28px rgba(15,23,42,.035);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}

.yes-exam-card:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--yes-primary) 25%, var(--yes-border));
    box-shadow: 0 16px 38px rgba(15,23,42,.07);
}

.yes-exam-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 17px 18px 0;
}

.yes-exam-card-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 13px;
    background: var(--yes-primary-soft);
    color: var(--yes-primary);
}

.yes-exam-card-icon .yes-svg {
    width: 22px;
    height: 22px;
}

.yes-exam-top {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 7px;
}

.yes-state {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    white-space: nowrap;
}

.yes-state i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
}

.yes-state-active {
    background: #ecfdf5;
    color: #047857;
}

.yes-state-upcoming {
    background: #eff6ff;
    color: #2563eb;
}

.yes-state-finished,
.yes-state-inactive {
    background: #f2f4f7;
    color: #667085;
}

.yes-exam-score {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 8px;
    border-radius: 999px;
    background: #fffbeb;
    color: #b45309;
    font-size: 9px;
    font-weight: 800;
}

.yes-exam-score .yes-svg {
    width: 13px;
    height: 13px;
}

.yes-exam-card-body {
    padding: 14px 18px 17px;
}

.yes-exam-card-body h3 {
    margin: 0 0 5px;
    color: #1d2939;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.7;
}

.yes-exam-card-body > p {
    min-height: 48px;
    margin: 0 0 15px;
    color: #7b8492;
    font-size: 10px;
    line-height: 2;
}

.yes-exam-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.yes-exam-meta > span {
    min-width: 0;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 6px;
    align-items: center;
    padding: 8px;
    border-radius: 10px;
    background: #f8fafc;
}

.yes-exam-meta .yes-svg {
    grid-row: 1 / 3;
    width: 17px;
    height: 17px;
    color: #98a2b3;
}

.yes-exam-meta small,
.yes-exam-meta strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.yes-exam-meta small {
    color: #98a2b3;
    font-size: 7px;
    line-height: 1.4;
}

.yes-exam-meta strong {
    color: #475467;
    font-size: 8px;
    line-height: 1.5;
}

.yes-exam-actions {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 18px;
    border-top: 1px solid #eef2f6;
    background: #fbfcfd;
}

.yes-exam-actions > .yes-main-btn {
    min-width: 145px;
    min-height: 42px;
    font-size: 10px;
}

.yes-exam-actions > .yes-main-btn .yes-svg {
    width: 17px;
    height: 17px;
}

.yes-last-result {
    display: flex;
    align-items: center;
    gap: 10px;
}

.yes-last-result small,
.yes-last-result strong {
    display: block;
    text-align: left;
}

.yes-last-result small {
    color: #98a2b3;
    font-size: 7px;
}

.yes-last-result strong {
    color: #344054;
    font-size: 9px;
}

.yes-last-result > span {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--yes-primary-soft);
    color: var(--yes-primary);
    font-size: 9px;
    font-weight: 900;
}

.yes-empty-card {
    grid-column: 1 / -1;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 35px;
    border: 1px dashed #d7dee8;
    border-radius: 18px;
    background: rgba(255,255,255,.62);
    text-align: center;
}

.yes-empty-icon {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    margin-bottom: 13px;
    border-radius: 18px;
    background: var(--yes-primary-soft);
    color: var(--yes-primary);
}

.yes-empty-card h3 {
    margin: 0 0 4px;
    font-size: 15px;
}

.yes-empty-card p {
    margin: 0;
    color: #98a2b3;
    font-size: 10px;
}

/* Invite and profile */
.yes-invite-hero,
.yes-profile-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 20px;
    background: linear-gradient(125deg, var(--yes-primary-dark), var(--yes-primary));
    color: #fff;
    box-shadow: 0 18px 40px color-mix(in srgb, var(--yes-primary) 14%, transparent);
}

.yes-invite-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 16px;
}

.yes-invite-icon {
    width: 61px;
    height: 61px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 17px;
    background: rgba(255,255,255,.1);
    color: var(--yes-secondary);
}

.yes-invite-icon .yes-svg {
    width: 30px;
    height: 30px;
}

.yes-invite-hero small,
.yes-invite-hero strong,
.yes-invite-hero p {
    display: block;
}

.yes-invite-hero small {
    color: rgba(255,255,255,.6);
    font-size: 9px;
}

.yes-invite-hero strong {
    margin-top: 2px;
    color: #fff;
    font-size: 18px;
    letter-spacing: 1px;
}

.yes-invite-hero p {
    margin: 3px 0 0;
    color: rgba(255,255,255,.62);
    font-size: 9px;
}

.yes-copy-large {
    position: relative;
    z-index: 2;
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 11px;
    background: rgba(255,255,255,.1);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
}

.yes-invite-pattern {
    position: absolute;
    width: 220px;
    height: 220px;
    left: -80px;
    bottom: -150px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
}

.yes-two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.yes-box {
    padding: 21px;
    border: 1px solid var(--yes-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(15,23,42,.035);
}

.yes-box-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 19px;
}

.yes-box-head h3 {
    margin: 0;
    color: #1d2939;
    font-size: 14px;
    font-weight: 900;
}

.yes-box-head p {
    margin: 2px 0 0;
    color: #98a2b3;
    font-size: 9px;
}

.yes-box-icon {
    width: 43px;
    height: 43px;
    border-radius: 12px;
}

.yes-box-icon .yes-svg {
    width: 20px;
    height: 20px;
}

.yes-invite-form .yes-main-btn,
.yes-profile-form .yes-main-btn {
    min-width: 165px;
}

.yes-invite-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.yes-invite-summary > div {
    min-height: 124px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px;
    border: 1px solid #eef2f6;
    border-radius: 14px;
    background: #fafbfc;
    text-align: center;
}

.yes-summary-icon {
    width: 33px;
    height: 33px;
    display: grid;
    place-items: center;
    margin-bottom: 5px;
    border-radius: 10px;
    background: #eff6ff;
    color: #2563eb;
}

.yes-summary-icon.success {
    background: #ecfdf5;
    color: #059669;
}

.yes-summary-icon .yes-svg {
    width: 17px;
    height: 17px;
}

.yes-invite-summary strong {
    color: #172033;
    font-size: 18px;
    font-weight: 900;
}

.yes-invite-summary small {
    color: #98a2b3;
    font-size: 9px;
}

.yes-invite-list {
    margin-top: 18px;
}

.yes-box-head-table {
    justify-content: space-between;
}

.yes-responsive-table {
    overflow-x: auto;
}

.yes-responsive-table table {
    width: 100%;
    min-width: 620px;
    border-collapse: separate;
    border-spacing: 0;
}

.yes-responsive-table th {
    padding: 10px 12px;
    border-bottom: 1px solid #e9edf3;
    background: #f8fafc;
    color: #7b8492;
    text-align: right;
    font-size: 9px;
    font-weight: 700;
}

.yes-responsive-table td {
    padding: 12px;
    border-bottom: 1px solid #eef2f6;
    color: #667085;
    font-size: 10px;
}

.yes-responsive-table tbody tr:last-child td {
    border-bottom: 0;
}

.yes-table-user {
    display: flex;
    align-items: center;
    gap: 9px;
}

.yes-table-user > span {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #f2f4f7;
    color: #667085;
}

.yes-table-user > span .yes-svg {
    width: 17px;
    height: 17px;
}

.yes-table-user strong,
.yes-table-user small {
    display: block;
}

.yes-table-user strong {
    color: #344054;
    font-size: 10px;
}

.yes-table-user small {
    color: #98a2b3;
    font-size: 8px;
}

.yes-empty {
    padding: 30px !important;
    color: #98a2b3 !important;
    text-align: center !important;
}

.yes-profile-hero {
    justify-content: flex-start;
    min-height: 145px;
}

.yes-profile-avatar {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 4px solid rgba(255,255,255,.18);
    border-radius: 21px;
    background: rgba(255,255,255,.13);
    color: #fff;
    font-size: 18px;
    font-weight: 900;
}

.yes-profile-hero > div:nth-child(2) span,
.yes-profile-hero > div:nth-child(2) p {
    color: rgba(255,255,255,.65);
    font-size: 9px;
}

.yes-profile-hero h2 {
    margin: 1px 0;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
}

.yes-profile-hero p {
    margin: 0;
}

.yes-profile-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: auto;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
}

.yes-profile-badge .yes-svg {
    width: 15px;
    height: 15px;
    color: #a7f3d0;
}

.yes-profile-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 12px;
}

.yes-profile-form .yes-main-btn {
    grid-column: 1 / -1;
    justify-self: start;
}

.yes-profile-code {
    display: grid;
    grid-template-columns: 41px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 63px;
    margin-bottom: 10px;
    padding: 10px 12px;
    border: 1px solid #eef2f6;
    border-radius: 13px;
    background: #fafbfc;
}

.yes-profile-code-icon {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--yes-primary-soft);
    color: var(--yes-primary);
}

.yes-profile-code-icon .yes-svg {
    width: 18px;
    height: 18px;
}

.yes-profile-code small,
.yes-profile-code strong {
    display: block;
}

.yes-profile-code small {
    color: #98a2b3;
    font-size: 8px;
}

.yes-profile-code strong {
    color: #344054;
    font-size: 11px;
}

.yes-profile-code .yes-copy {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #fff;
    color: #667085;
    box-shadow: 0 2px 8px rgba(15,23,42,.05);
}

.yes-profile-code .yes-copy .yes-svg {
    width: 16px;
    height: 16px;
}

.yes-logout-btn {
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    border: 1px solid #fecaca;
    border-radius: 11px;
    background: #fff;
    color: #dc2626;
    font-size: 10px;
    font-weight: 800;
}

/* Mobile navigation */
.yes-mobile-nav {
    display: none;
}

.yes-sidebar-overlay {
    display: none;
}

/* Exam modal */
body.yes-modal-open {
    overflow: hidden !important;
}

.yes-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    padding: 22px;
}

.yes-modal.open {
    display: grid;
    place-items: center;
}

.yes-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11,18,32,.72);
    backdrop-filter: blur(7px);
}

.yes-modal-card {
    position: relative;
    z-index: 2;
    width: min(100%, 980px);
    max-height: calc(100vh - 44px);
    overflow: auto;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 30px 90px rgba(0,0,0,.28);
}

.yes-exam-runner > header {
    position: sticky;
    top: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 83px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--yes-border);
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(12px);
}

.yes-exam-runner > header small {
    color: var(--yes-primary);
    font-size: 9px;
    font-weight: 800;
}

.yes-exam-runner > header h2 {
    margin: 2px 0 0;
    color: #172033;
    font-size: 17px;
    font-weight: 900;
}

.yes-timer {
    min-width: 130px;
    padding: 9px 14px;
    border-radius: 12px;
    background: #f8fafc;
    text-align: center;
}

.yes-timer span,
.yes-timer strong {
    display: block;
}

.yes-timer span {
    color: #98a2b3;
    font-size: 8px;
}

.yes-timer strong {
    direction: ltr;
    color: #344054;
    font-size: 18px;
    line-height: 1.4;
    letter-spacing: 1px;
}

.yes-timer strong.danger {
    color: #dc2626;
}

.yes-exam-progress {
    height: 4px;
    background: #eef2f6;
}

.yes-exam-progress i {
    width: 0;
    height: 100%;
    display: block;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--yes-primary), color-mix(in srgb, var(--yes-primary) 60%, #2dd4bf));
    transition: width .3s;
}

.yes-instruction-box {
    margin: 20px 24px 0;
    padding: 13px 15px;
    border: 1px solid #fde68a;
    border-radius: 12px;
    background: #fffbeb;
    color: #92400e;
    font-size: 10px;
}

#yes-exam-form-run {
    padding: 24px;
}

.yes-question-step {
    display: none;
    min-height: 330px;
}

.yes-question-step.active {
    display: block;
    animation: yes-fade .22s ease;
}

@keyframes yes-fade {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: none; }
}

.yes-question-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.yes-question-head span,
.yes-question-head b {
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 9px;
}

.yes-question-head span {
    background: var(--yes-primary-soft);
    color: var(--yes-primary);
    font-weight: 800;
}

.yes-question-head b {
    background: #fffbeb;
    color: #b45309;
}

.yes-question-step > h3 {
    margin: 0 0 20px;
    color: #172033;
    font-size: 18px;
    font-weight: 900;
    line-height: 2;
}

.yes-answer-area {
    display: grid;
    gap: 10px;
}

.yes-option {
    position: relative;
    min-height: 52px;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    padding: 11px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    color: #475467;
    cursor: pointer;
    transition: .2s;
}

.yes-option:hover {
    border-color: color-mix(in srgb, var(--yes-primary) 40%, #e2e8f0);
    background: #fbfefd;
}

.yes-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.yes-option i {
    width: 21px;
    height: 21px;
    display: grid;
    place-items: center;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
}

.yes-option input[type="checkbox"] + i {
    border-radius: 6px;
}

.yes-option input:checked + i {
    border-color: var(--yes-primary);
    background: var(--yes-primary);
    box-shadow: inset 0 0 0 4px #fff;
}

.yes-option:has(input:checked) {
    border-color: var(--yes-primary);
    background: var(--yes-primary-soft);
    color: #1d2939;
}

.yes-answer-area textarea {
    min-height: 190px;
    padding: 15px;
    line-height: 2;
}

.yes-question-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #eef2f6;
}

.yes-question-nav > span {
    min-width: 70px;
    color: #667085;
    text-align: center;
    font-size: 10px;
    font-weight: 800;
}

.yes-secondary-btn {
    min-height: 42px;
    padding: 8px 15px;
    border: 1px solid #dbe2ea;
    border-radius: 10px;
    background: #fff;
    color: #475467;
    font-size: 10px;
    font-weight: 800;
}

.yes-secondary-btn:hover:not(:disabled) {
    border-color: var(--yes-primary);
    color: var(--yes-primary);
}

.yes-secondary-btn:disabled {
    opacity: .45;
    cursor: default;
}

.yes-question-nav .yes-main-btn {
    min-height: 42px;
    font-size: 10px;
}

#yes-exam-form-run > footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 15px;
}

#yes-save-state {
    color: #98a2b3;
    font-size: 9px;
}

#yes-save-state.error {
    color: #dc2626;
}

/* Results */
.yes-result-card {
    width: min(100%, 820px);
    padding-bottom: 25px;
}

.yes-modal-close {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 5;
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 11px;
    background: rgba(255,255,255,.18);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

.yes-result-hero {
    min-height: 285px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 35px 20px;
    color: #fff;
    text-align: center;
    background: linear-gradient(145deg, #7f1d1d, #dc2626);
}

.yes-result-hero.passed {
    background: linear-gradient(145deg, var(--yes-primary-dark), var(--yes-primary));
}

.yes-result-hero > span {
    color: rgba(255,255,255,.68);
    font-size: 10px;
}

.yes-result-hero h2 {
    margin: 4px 0 18px;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
}

.yes-score-ring {
    --size: 115px;
    width: var(--size);
    height: var(--size);
    display: grid;
    place-items: center;
    position: relative;
    border-radius: 50%;
    background: conic-gradient(#fff calc(var(--score) * 1%), rgba(255,255,255,.18) 0);
}

.yes-score-ring::before {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--yes-primary) 88%, #132238);
}

.yes-result-hero.failed .yes-score-ring::before {
    background: #b91c1c;
}

.yes-score-ring strong,
.yes-score-ring small {
    position: relative;
    z-index: 1;
    display: block;
}

.yes-score-ring strong {
    align-self: end;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.2;
}

.yes-score-ring small {
    align-self: start;
    color: rgba(255,255,255,.62);
    font-size: 9px;
}

.yes-result-hero > p {
    margin: 10px 0 0;
    color: rgba(255,255,255,.72);
    font-size: 11px;
}

.yes-result-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: -24px 24px 20px;
    position: relative;
    z-index: 2;
}

.yes-result-stats > div {
    min-height: 78px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--yes-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 9px 25px rgba(15,23,42,.07);
}

.yes-result-stats strong {
    color: #172033;
    font-size: 18px;
    font-weight: 900;
}

.yes-result-stats span {
    color: #98a2b3;
    font-size: 9px;
}

.yes-result-details {
    display: grid;
    gap: 12px;
    padding: 0 24px;
}

.yes-result-question {
    padding: 17px;
    border: 1px solid var(--yes-border);
    border-right: 4px solid #94a3b8;
    border-radius: 13px;
    background: #fff;
}

.yes-result-question.correct {
    border-right-color: #059669;
}

.yes-result-question.wrong {
    border-right-color: #dc2626;
}

.yes-result-question.pending {
    border-right-color: #f59e0b;
}

.yes-result-question > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.yes-result-question > header span,
.yes-result-question > header b {
    font-size: 9px;
}

.yes-result-question > header span {
    color: #98a2b3;
}

.yes-result-question > header b {
    padding: 4px 8px;
    border-radius: 999px;
    background: #f2f4f7;
    color: #475467;
}

.yes-result-question.correct > header b {
    background: #ecfdf5;
    color: #047857;
}

.yes-result-question.wrong > header b {
    background: #fef2f2;
    color: #b91c1c;
}

.yes-result-question h3 {
    margin: 0 0 11px;
    color: #1d2939;
    font-size: 13px;
    line-height: 1.9;
}

.yes-result-question > p {
    margin: 7px 0;
    padding: 10px 12px;
    border-radius: 9px;
    background: #f8fafc;
    color: #475467;
    font-size: 10px;
}

.yes-result-question > p small {
    display: block;
    color: #98a2b3;
    font-size: 8px;
}

.yes-explanation,
.yes-admin-note {
    margin-top: 9px;
    padding: 10px 12px;
    border-radius: 9px;
    font-size: 9px;
}

.yes-explanation {
    background: #eff6ff;
    color: #1d4ed8;
}

.yes-admin-note {
    background: #fffbeb;
    color: #92400e;
}

/* Responsive */
@media (max-width: 1180px) {
    .yes-auth-feature-grid {
        grid-template-columns: 1fr;
    }

    .yes-auth-feature-grid > div {
        min-height: 65px;
    }

    .yes-user-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .yes-welcome {
        grid-template-columns: 1fr;
    }

    .yes-tracking-card {
        max-width: 520px;
    }

    .yes-exam-meta {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 960px) {
    .yes-auth-shell {
        grid-template-columns: 1fr;
    }

    .yes-auth-brand {
        display: none;
    }

    .yes-auth-form-side {
        min-height: 100vh;
        padding: 22px;
        background:
            radial-gradient(circle at 80% 5%, var(--yes-primary-soft), transparent 28%),
            #f8fafc;
    }

    .yes-auth-mobile-logo {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 27px;
    }

    .yes-auth-mobile-logo > span {
        width: 47px;
        height: 47px;
        border: 0;
        border-radius: 14px;
        background: var(--yes-primary);
        color: #fff;
        font-size: 18px;
    }

    .yes-auth-mobile-logo strong {
        color: #344054;
        font-size: 12px;
    }

    .yes-portal {
        display: block;
    }

    .yes-sidebar {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 100;
        width: min(86vw, 300px);
        transform: translateX(105%);
        box-shadow: -25px 0 55px rgba(15,23,42,.18);
        transition: transform .28s ease;
    }

    .yes-portal.menu-open .yes-sidebar {
        transform: none;
    }

    .yes-sidebar-overlay {
        position: fixed;
        inset: 0;
        z-index: 90;
        display: block;
        visibility: hidden;
        opacity: 0;
        background: rgba(15,23,42,.5);
        backdrop-filter: blur(3px);
        transition: .25s;
    }

    .yes-portal.menu-open .yes-sidebar-overlay {
        visibility: visible;
        opacity: 1;
    }

    #yes-menu-toggle {
        display: grid;
    }

    .yes-topbar-profile {
        display: none;
    }

    .yes-main-inner {
        padding-bottom: 98px;
    }

    .yes-mobile-nav {
        position: fixed;
        right: 14px;
        bottom: 13px;
        left: 14px;
        z-index: 60;
        min-height: 67px;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        padding: 7px;
        border: 1px solid rgba(226,232,240,.9);
        border-radius: 18px;
        background: rgba(255,255,255,.95);
        box-shadow: 0 14px 38px rgba(15,23,42,.15);
        backdrop-filter: blur(16px);
    }

    .yes-mobile-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        border-radius: 12px;
        color: #98a2b3;
        font-size: 8px;
        font-weight: 700;
    }

    .yes-mobile-nav a .yes-svg {
        width: 20px;
        height: 20px;
    }

    .yes-mobile-nav a.active {
        background: var(--yes-primary-soft);
        color: var(--yes-primary);
    }
}

@media (max-width: 760px) {
    .yes-topbar {
        min-height: 72px;
        padding: 10px 15px;
    }

    .yes-topbar-title h1 {
        font-size: 14px;
    }

    .yes-topbar-title p {
        display: none;
    }

    .yes-main-inner {
        padding: 15px 13px 96px;
    }

    .yes-welcome {
        min-height: auto;
        padding: 23px;
        border-radius: 18px;
    }

    .yes-welcome h2 {
        font-size: 18px;
    }

    .yes-tracking-card {
        grid-template-columns: 43px minmax(0, 1fr) auto;
        padding: 13px;
    }

    .yes-tracking-icon {
        width: 43px;
        height: 43px;
    }

    .yes-tracking-card .yes-copy span {
        display: none;
    }

    .yes-user-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin: 13px 0;
    }

    .yes-stat-card {
        min-height: 105px;
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
        padding: 13px;
    }

    .yes-stat-icon {
        width: 37px;
        height: 37px;
        border-radius: 10px;
    }

    .yes-stat-icon .yes-svg {
        width: 19px;
        height: 19px;
    }

    .yes-stat-card strong {
        font-size: 18px;
    }

    .yes-last-activity {
        grid-template-columns: 41px minmax(0, 1fr);
    }

    .yes-last-activity-date {
        display: none;
    }

    .yes-content-head {
        align-items: center;
    }

    .yes-content-head h2 {
        font-size: 17px;
    }

    .yes-content-head p {
        display: none;
    }

    .yes-exam-grid,
    .yes-two-col,
    .yes-profile-form {
        grid-template-columns: 1fr;
    }

    .yes-profile-form .yes-main-btn {
        grid-column: auto;
    }

    .yes-exam-card-body > p {
        min-height: auto;
    }

    .yes-exam-meta {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .yes-exam-meta > span {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
    }

    .yes-exam-meta .yes-svg {
        width: 16px;
        height: 16px;
    }

    .yes-exam-meta small,
    .yes-exam-meta strong {
        width: 100%;
    }

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

    .yes-exam-actions > .yes-main-btn {
        width: 100%;
    }

    .yes-last-result {
        justify-content: space-between;
    }

    .yes-last-result small,
    .yes-last-result strong {
        text-align: right;
    }

    .yes-invite-hero,
    .yes-profile-hero {
        align-items: flex-start;
        flex-direction: column;
        padding: 21px;
        border-radius: 17px;
    }

    .yes-invite-hero-content {
        align-items: flex-start;
    }

    .yes-copy-large {
        width: 100%;
        justify-content: center;
    }

    .yes-profile-badge {
        margin-right: 0;
    }

    .yes-box {
        padding: 17px;
    }

    .yes-modal {
        padding: 0;
    }

    .yes-modal-card {
        width: 100%;
        max-height: 100vh;
        min-height: 100vh;
        border-radius: 0;
    }

    .yes-exam-runner > header {
        min-height: 76px;
        padding: 12px 14px;
    }

    .yes-exam-runner > header h2 {
        max-width: 190px;
        overflow: hidden;
        font-size: 13px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .yes-timer {
        min-width: 105px;
        padding: 7px 10px;
    }

    .yes-timer strong {
        font-size: 17px;
    }

    .yes-instruction-box {
        margin: 13px 13px 0;
    }

    #yes-exam-form-run {
        padding: 17px 13px;
    }

    .yes-question-step {
        min-height: calc(100vh - 260px);
    }

    .yes-question-step > h3 {
        font-size: 15px;
    }

    .yes-question-nav {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
    }

    .yes-question-nav .yes-main-btn {
        grid-column: 1 / -1;
        width: 100%;
    }

    .yes-result-stats {
        margin-inline: 13px;
    }

    .yes-result-details {
        padding-inline: 13px;
    }
}

@media (max-width: 440px) {
    .yes-auth-form-side {
        padding: 12px;
    }

    .yes-auth-card {
        padding: 26px 20px;
        border-radius: 20px;
    }

    .yes-auth-title h2 {
        font-size: 18px;
    }

    .yes-welcome-label {
        font-size: 9px;
    }

    .yes-welcome-content > p {
        font-size: 10px;
    }

    .yes-tracking-card {
        grid-template-columns: 1fr auto;
    }

    .yes-tracking-icon {
        display: none;
    }

    .yes-exam-meta {
        grid-template-columns: 1fr;
    }

    .yes-exam-meta > span {
        display: grid;
        grid-template-columns: 24px minmax(0, 1fr);
        grid-template-rows: auto auto;
    }

    .yes-exam-meta .yes-svg {
        grid-row: 1 / 3;
    }

    .yes-invite-hero-content {
        flex-direction: column;
    }

    .yes-result-hero {
        min-height: 270px;
    }
}

/* Login, registration and AJAX transitions */
.yes-auth-tabs{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:6px;
    padding:5px;
    margin:0 0 24px;
    border:1px solid #e2e8f0;
    border-radius:14px;
    background:#f8fafc;
}
.yes-auth-tabs button{
    min-height:44px;
    border:0;
    border-radius:10px;
    background:transparent;
    color:#64748b;
    font:700 14px/1 "Vazirmatn",sans-serif;
    cursor:pointer;
    transition:.2s ease;
}
.yes-auth-tabs button.active{
    color:#fff;
    background:var(--yes-primary);
    box-shadow:0 8px 20px color-mix(in srgb,var(--yes-primary) 24%,transparent);
}
.yes-request-otp-form[hidden],#yes-verify-otp-form[hidden]{display:none!important}
.yes-otp-actions{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-top:12px;
}
.yes-otp-actions .yes-link-btn{margin:0}
.yes-link-btn:disabled{opacity:.55;cursor:not-allowed}
.yes-debug-code{
    margin:12px 0;
    padding:10px 12px;
    border:1px dashed #f59e0b;
    border-radius:10px;
    background:#fffbeb;
    color:#92400e;
    text-align:center;
}
.yes-sidebar-logout,.yes-logout-btn{
    width:100%;
    font-family:"Vazirmatn",sans-serif;
    cursor:pointer;
}
.yes-app{position:relative}
.yes-app.is-loading{pointer-events:none;min-height:220px}
.yes-app.is-loading::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:9998;
    background:rgba(248,250,252,.76);
    backdrop-filter:blur(2px);
}
.yes-app.is-loading::after{
    content:"";
    position:fixed;
    z-index:9999;
    top:50%;
    left:50%;
    width:36px;
    height:36px;
    margin:-18px 0 0 -18px;
    border:3px solid #dbe4ea;
    border-top-color:var(--yes-primary);
    border-radius:50%;
    animation:yesAjaxSpin .7s linear infinite;
}
@keyframes yesAjaxSpin{to{transform:rotate(360deg)}}
.yes-input-wrap input[data-jdp]{cursor:pointer}
jdp-container,jdp-container *{font-family:"Vazirmatn",sans-serif!important}
jdp-container{--jdp-primary:var(--yes-primary,#0f766e);z-index:100000!important}

@media(max-width:520px){
    .yes-auth-tabs{margin-bottom:18px}
    .yes-otp-actions{align-items:stretch;flex-direction:column}
    .yes-otp-actions .yes-link-btn{width:100%;justify-content:center}
}


/* Typography cap requested for the participant interface */
.yes-app {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.yes-app h1,
.yes-app h2,
.yes-app h3,
.yes-app h4,
.yes-app h5,
.yes-app h6,
.yes-app .yes-brand-logo,
.yes-app .yes-auth-mobile-logo > span,
.yes-app .yes-score-ring strong {
    font-size: 18px !important;
    line-height: 1.65;
}

.yes-app p,
.yes-app span,
.yes-app small,
.yes-app label,
.yes-app button,
.yes-app input,
.yes-app textarea,
.yes-app select,
.yes-app a,
.yes-app strong,
.yes-app b,
.yes-app code,
.yes-app td,
.yes-app th {
    font-size: min(18px, 1em);
}

/* Readable Vazirmatn scale: no participant text is larger than 18px. */
.yes-app,
.yes-app input,
.yes-app textarea,
.yes-app select,
.yes-app button {
    font-family: "Vazirmatn", sans-serif !important;
}
.yes-app {
    font-size: 14px !important;
    line-height: 1.8;
}
.yes-app h1,
.yes-app h2 {
    font-size: 18px !important;
    line-height: 1.7 !important;
    letter-spacing: -.25px;
}
.yes-app h3,
.yes-app h4,
.yes-app h5,
.yes-app h6 {
    font-size: 16px !important;
    line-height: 1.75 !important;
}
.yes-app p,
.yes-app label,
.yes-app input,
.yes-app textarea,
.yes-app select,
.yes-app button,
.yes-app a,
.yes-app td,
.yes-app th,
.yes-app code {
    font-size: 14px !important;
    line-height: 1.8;
}
.yes-app small,
.yes-app .yes-auth-step,
.yes-app .yes-auth-eyebrow,
.yes-app .yes-nav-label,
.yes-app .yes-section-kicker,
.yes-app .yes-state,
.yes-app .yes-content-count,
.yes-app .yes-form-message,
.yes-app .yes-input-group > span,
.yes-app .yes-exam-meta small,
.yes-app .yes-stat-card small,
.yes-app .yes-stat-card p,
.yes-app .yes-topbar p,
.yes-app .yes-mobile-nav span {
    font-size: 12px !important;
    line-height: 1.75;
}
.yes-app .yes-main-btn,
.yes-app .yes-secondary-btn,
.yes-app .yes-link-btn,
.yes-app .yes-auth-tabs button,
.yes-app .yes-sidebar-nav a,
.yes-app .yes-sidebar-logout,
.yes-app .yes-logout-btn {
    font-size: 14px !important;
    font-weight: 700;
}
.yes-app .yes-stat-card strong,
.yes-app .yes-score-ring strong,
.yes-app .yes-tracking-card strong,
.yes-app .yes-invite-hero strong,
.yes-app .yes-profile-code strong,
.yes-app .yes-otp-input {
    font-size: 18px !important;
}
.yes-app .yes-auth-card,
.yes-app .yes-box,
.yes-app .yes-exam-card {
    text-rendering: optimizeLegibility;
}

/* ===== Professional exam runner and results 1.4 ===== */
.yes-exam-runner{width:min(1180px,100%);height:min(820px,calc(100vh - 30px));max-height:calc(100vh - 30px);overflow:hidden;border-radius:22px;display:flex;flex-direction:column;background:#f8fafc}
.yes-exam-runner>header{position:relative;top:auto;flex:0 0 auto;min-height:78px;padding:13px 20px;background:#fff}
.yes-exam-heading,.yes-exam-header-tools,.yes-autosave-state{display:flex;align-items:center}.yes-exam-heading{gap:10px}.yes-live-dot{width:10px;height:10px;border-radius:50%;background:#10b981;box-shadow:0 0 0 5px #d1fae5;animation:yesLive 1.8s infinite}
@keyframes yesLive{50%{box-shadow:0 0 0 9px rgba(16,185,129,0)}}
.yes-exam-heading small{font-size:10px!important}.yes-exam-heading h2{font-size:17px!important}
.yes-exam-header-tools{gap:12px}.yes-autosave-state{gap:8px;min-width:150px;padding:7px 10px;border:1px solid #e5eaf0;border-radius:11px;background:#f8fafc}.yes-autosave-state small,.yes-autosave-state strong{display:block}.yes-autosave-state small{color:#98a2b3;font-size:8px}.yes-autosave-state strong{max-width:145px;overflow:hidden;color:#64748b;font-size:9px;text-overflow:ellipsis;white-space:nowrap}
.yes-save-dot{width:9px;height:9px;flex:0 0 9px;border-radius:50%;background:#10b981}.yes-save-dot.working{background:#f59e0b;animation:yesPulse .8s infinite alternate}.yes-save-dot.error{background:#ef4444}.yes-timer{min-width:122px;padding:7px 12px;border:1px solid #e5eaf0;background:#fff}.yes-timer strong{font-size:17px!important}
.yes-exam-progress{flex:0 0 5px;height:5px}.yes-exam-shell{min-height:0;flex:1;display:grid;grid-template-columns:220px minmax(0,1fr);direction:rtl}
.yes-exam-sidebar{min-height:0;overflow:auto;padding:18px;border-left:1px solid #e5eaf0;background:#fff}.yes-sidebar-progress{display:flex;align-items:center;justify-content:space-between;padding:13px;border-radius:13px;background:linear-gradient(135deg,var(--yes-primary-dark),var(--yes-primary));color:#fff}.yes-sidebar-progress>div{display:flex;align-items:baseline;gap:4px}.yes-sidebar-progress strong{font-size:18px!important}.yes-sidebar-progress span,.yes-sidebar-progress b{color:rgba(255,255,255,.7);font-size:10px}.yes-sidebar-progress small{font-size:9px;color:rgba(255,255,255,.82)}
.yes-exam-sidebar>h3{margin:18px 0 10px;color:#344054;font-size:12px!important}.yes-question-palette{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.yes-question-palette button{position:relative;aspect-ratio:1;border:1px solid #dbe3eb;border-radius:9px;background:#fff;color:#667085;cursor:pointer;font-size:10px;font-weight:800;transition:.18s}.yes-question-palette button:hover{border-color:var(--yes-primary);color:var(--yes-primary)}.yes-question-palette button.current{border-color:var(--yes-primary);background:var(--yes-primary);color:#fff;box-shadow:0 5px 12px rgba(15,118,110,.2)}.yes-question-palette button.answered:not(.current){border-color:#86efac;background:#ecfdf5;color:#047857}.yes-question-palette button.review::after{content:"";position:absolute;top:3px;left:3px;width:6px;height:6px;border-radius:50%;background:#f59e0b}.yes-question-palette button i{display:none}
.yes-palette-legend{display:grid;gap:7px;margin-top:14px;padding-top:13px;border-top:1px dashed #dbe3eb}.yes-palette-legend span{display:flex;align-items:center;gap:7px;color:#98a2b3;font-size:8px}.yes-palette-legend i{width:9px;height:9px;border-radius:3px}.yes-palette-legend i.answered{background:#10b981}.yes-palette-legend i.review{border-radius:50%;background:#f59e0b}
.yes-exam-stage{min-height:0;overflow:auto;scroll-behavior:smooth;padding:20px 22px 0;background:#f8fafc}.yes-instruction-box{display:flex;gap:10px;margin:0 0 14px;padding:11px 13px;font-size:10px}.yes-instruction-box>span{width:22px;height:22px;flex:0 0 22px;display:grid;place-items:center;border-radius:50%;background:#f59e0b;color:#fff;font-weight:900}
#yes-exam-form-run{display:flex;min-height:calc(100% - 10px);flex-direction:column;padding:0}.yes-question-step{min-height:0;flex:1;padding:21px 22px;border:1px solid #e5eaf0;border-radius:17px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.035)}
.yes-question-head{align-items:center;margin-bottom:17px}.yes-question-head>div{display:flex;align-items:center;gap:8px}.yes-question-head span,.yes-question-head b{font-size:9px!important}.yes-review-toggle{display:flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid #dbe3eb;border-radius:9px;background:#fff;color:#667085;cursor:pointer;font-size:9px;font-weight:700}.yes-review-toggle i{width:10px;height:10px;border:1px solid #cbd5e1;border-radius:3px}.yes-review-toggle.active{border-color:#fbbf24;background:#fffbeb;color:#92400e}.yes-review-toggle.active i{border-color:#f59e0b;background:#f59e0b}
.yes-question-step>h3{max-width:900px;margin-bottom:5px;font-size:17px!important;line-height:2}.yes-question-hint{margin:0 0 18px;color:#98a2b3;font-size:10px}.yes-answer-area{gap:9px}.yes-option{grid-template-columns:22px 28px minmax(0,1fr);min-height:56px;padding:11px 13px;border-radius:12px}.yes-option>i{width:20px;height:20px}.yes-option-letter{width:27px;height:27px;display:grid;place-items:center;border-radius:8px;background:#f1f5f9;color:#64748b;font-size:9px;font-weight:800}.yes-option-text{font-size:12px;line-height:1.9}.yes-option:has(input:checked) .yes-option-letter{background:var(--yes-primary);color:#fff}.yes-answer-area textarea{font-size:12px!important}
.yes-question-nav{position:sticky;bottom:0;z-index:3;flex:0 0 auto;justify-content:space-between;margin-top:14px;padding:12px 0 14px;border-top:0;background:linear-gradient(to top,#f8fafc 75%,rgba(248,250,252,0))}.yes-question-nav button{min-width:128px}.yes-question-nav button span{font-size:14px}.yes-question-nav>div{display:flex;align-items:baseline;gap:5px;color:#98a2b3}.yes-question-nav>div strong{color:#344054;font-size:16px}.yes-question-nav>div span{font-size:9px}.yes-question-nav .yes-main-btn,.yes-question-nav .yes-secondary-btn{font-size:10px!important}
.yes-submit-review{position:absolute;inset:0;z-index:20;display:none;place-items:center;padding:20px;background:rgba(15,23,42,.6);backdrop-filter:blur(6px)}.yes-submit-review.open{display:grid}.yes-submit-review-card{width:min(440px,100%);padding:25px;border-radius:19px;background:#fff;text-align:center;box-shadow:0 24px 70px rgba(15,23,42,.25);animation:yesFade .2s ease}.yes-submit-review-icon{width:54px;height:54px;display:grid;place-items:center;margin:0 auto 12px;border-radius:16px;background:#ecfdf5;color:#059669}.yes-submit-review-icon .yes-svg{width:27px;height:27px}.yes-submit-review-card h3{margin:0 0 7px;font-size:16px!important}.yes-submit-review-card p{margin:0;color:#667085;font-size:11px;line-height:2}.yes-submit-review-card>div{display:flex;justify-content:center;gap:9px;margin-top:18px}.yes-submit-review-card button{font-size:10px!important}

/* Result redesign */
.yes-result-card{width:min(960px,100%);max-height:calc(100vh - 34px);padding-bottom:0;overflow:auto;background:#f8fafc}.yes-result-card>.yes-modal-close{position:fixed;top:calc(50% - min(480px,50vw) + 14px);left:max(24px,calc(50% - 455px));background:rgba(15,23,42,.08);color:#344054}.yes-result-hero{min-height:230px;display:grid;grid-template-columns:74px minmax(0,1fr) 128px;gap:20px;align-items:center;padding:30px 34px;text-align:right;background:linear-gradient(135deg,#fff,#f0fdfa);color:#172033;border-bottom:1px solid #dbece9}.yes-result-hero.failed{background:linear-gradient(135deg,#fff,#fef2f2);border-bottom-color:#fee2e2}.yes-result-hero.pending{background:linear-gradient(135deg,#fff,#fffbeb);border-bottom-color:#fde68a}.yes-result-status-icon{width:64px;height:64px;display:grid;place-items:center;border-radius:20px;background:#d1fae5;color:#047857;font-size:18px;font-weight:900}.yes-result-hero.failed .yes-result-status-icon{background:#fee2e2;color:#b91c1c}.yes-result-hero.pending .yes-result-status-icon{background:#fef3c7;color:#92400e}.yes-result-heading small{color:var(--yes-primary);font-size:9px}.yes-result-heading h2{margin:2px 0 7px;color:#172033;font-size:17px!important}.yes-result-heading>strong{display:block;color:#047857;font-size:13px}.yes-result-hero.failed .yes-result-heading>strong{color:#b91c1c}.yes-result-hero.pending .yes-result-heading>strong{color:#92400e}.yes-result-heading p{max-width:590px;margin:5px 0 0;color:#667085;font-size:10px;line-height:2}.yes-result-hero .yes-score-ring{--size:118px;background:conic-gradient(var(--yes-primary) calc(var(--score)*1%),#dbece9 0)}.yes-result-hero.failed .yes-score-ring{background:conic-gradient(#dc2626 calc(var(--score)*1%),#fee2e2 0)}.yes-result-hero.pending .yes-score-ring{background:conic-gradient(#f59e0b calc(var(--score)*1%),#fef3c7 0)}.yes-result-hero .yes-score-ring::before{background:#fff}.yes-result-hero .yes-score-ring>div{position:relative;z-index:1;text-align:center}.yes-result-hero .yes-score-ring strong{color:#172033;font-size:18px!important}.yes-result-hero .yes-score-ring small{color:#98a2b3}
.yes-result-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;border-bottom:1px solid #e5eaf0;background:#e5eaf0}.yes-result-meta>div{padding:13px 18px;background:#fff}.yes-result-meta small,.yes-result-meta strong{display:block}.yes-result-meta small{color:#98a2b3;font-size:8px}.yes-result-meta strong{margin-top:3px;color:#344054;font-size:10px}
.yes-result-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 22px}.yes-result-stats>div{min-height:72px;align-items:flex-start;padding:13px 15px;border-radius:12px;box-shadow:none}.yes-result-stats>div::before{content:"";width:28px;height:4px;margin-bottom:8px;border-radius:99px;background:#64748b}.yes-result-stats .percentage::before{background:var(--yes-primary)}.yes-result-stats .correct::before{background:#10b981}.yes-result-stats .wrong::before{background:#ef4444}.yes-result-stats .unanswered::before{background:#f59e0b}.yes-result-stats strong{font-size:17px!important}.yes-result-stats span{font-size:9px}
.yes-result-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 22px 13px}.yes-result-toolbar h3{margin:0;font-size:14px!important}.yes-result-filters{display:flex;flex-wrap:wrap;gap:6px}.yes-result-filters button{padding:7px 10px;border:1px solid #dbe3eb;border-radius:9px;background:#fff;color:#667085;cursor:pointer;font-size:9px;font-weight:700}.yes-result-filters button.active{border-color:var(--yes-primary);background:var(--yes-primary);color:#fff}.yes-result-details{gap:10px;padding:0 22px 20px}.yes-result-question{padding:16px;border-right-width:4px;border-radius:13px}.yes-result-question>header>div span,.yes-result-question>header>div small{display:block}.yes-result-question>header>div span{color:#344054;font-size:10px;font-weight:800}.yes-result-question>header>div small{margin-top:2px;color:#98a2b3;font-size:8px}.yes-result-question h3{font-size:12px!important}.yes-result-answer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.yes-result-answer-grid>div{padding:10px 12px;border:1px solid #e5eaf0;border-radius:10px;background:#f8fafc}.yes-result-answer-grid .correct-answer{border-color:#bbf7d0;background:#f0fdf4}.yes-result-answer-grid small{display:block;color:#98a2b3;font-size:8px}.yes-result-answer-grid p{margin:4px 0 0;color:#344054;font-size:10px;line-height:1.9}.yes-result-question .yes-explanation strong,.yes-result-question .yes-admin-note strong{display:block;margin-bottom:3px}.yes-result-footer{position:sticky;bottom:0;display:flex;justify-content:flex-end;padding:12px 22px;border-top:1px solid #e5eaf0;background:rgba(255,255,255,.94);backdrop-filter:blur(10px)}.yes-result-footer .yes-main-btn{min-width:150px;font-size:10px!important}
@media(max-width:860px){.yes-exam-runner{height:100vh;max-height:100vh;border-radius:0}.yes-exam-runner>header{padding:10px 13px}.yes-autosave-state{display:none}.yes-exam-shell{grid-template-columns:1fr}.yes-exam-sidebar{min-height:auto;overflow:visible;padding:10px 12px;border-left:0;border-bottom:1px solid #e5eaf0}.yes-sidebar-progress,.yes-exam-sidebar>h3,.yes-palette-legend{display:none}.yes-question-palette{display:flex;overflow-x:auto;gap:6px;padding-bottom:2px}.yes-question-palette button{width:34px;height:34px;flex:0 0 34px;aspect-ratio:auto}.yes-exam-stage{padding:12px 12px 0}.yes-question-step{padding:16px}.yes-result-hero{grid-template-columns:52px minmax(0,1fr);padding:24px 18px}.yes-result-status-icon{width:48px;height:48px;border-radius:15px}.yes-result-hero .yes-score-ring{grid-column:1/-1;justify-self:center}.yes-result-meta{grid-template-columns:1fr}.yes-result-stats{grid-template-columns:1fr 1fr}.yes-result-toolbar{align-items:flex-start;flex-direction:column}.yes-result-answer-grid{grid-template-columns:1fr}.yes-result-card>.yes-modal-close{position:absolute;top:12px;left:12px}}
@media(max-width:520px){.yes-exam-header-tools{gap:6px}.yes-timer{min-width:100px}.yes-question-step>h3{font-size:15px!important}.yes-question-head{align-items:flex-start;gap:8px}.yes-question-head>div{flex-wrap:wrap}.yes-review-toggle span{display:none}.yes-review-toggle{width:34px;height:34px;justify-content:center;padding:0}.yes-option{grid-template-columns:20px 25px minmax(0,1fr);padding:10px}.yes-question-nav button{min-width:0;padding:8px 12px}.yes-question-nav>div{display:none}.yes-submit-review-card>div{flex-direction:column}.yes-result-stats{margin:14px 12px}.yes-result-toolbar{margin:0 12px 12px}.yes-result-details{padding:0 12px 16px}.yes-result-filters{display:grid;grid-template-columns:1fr 1fr;width:100%}.yes-result-footer{padding:10px 12px}.yes-result-footer .yes-main-btn{width:100%}}
.yes-sidebar-submit{width:100%;margin-top:16px;padding:10px;border:0;border-radius:10px;background:var(--yes-primary);color:#fff;cursor:pointer;font-size:9px;font-weight:800;transition:.2s}.yes-sidebar-submit:hover{background:var(--yes-primary-dark);transform:translateY(-1px)}
.yes-result-card>.yes-modal-close{position:absolute;top:12px;left:12px}
@media(max-width:860px){.yes-sidebar-submit{width:auto;min-width:110px;flex:0 0 auto;margin:0 6px 0 0}.yes-exam-sidebar{display:flex;align-items:center;gap:6px}.yes-question-palette{flex:1}.yes-exam-sidebar .yes-sidebar-submit{display:block}}
.yes-result-hero.passed .yes-score-ring::before,.yes-result-hero.failed .yes-score-ring::before,.yes-result-hero.pending .yes-score-ring::before{background:#fff}
.yes-question-nav>div strong{font-size:11px!important}.yes-question-nav>div span{display:none}

/* ===== Participant exam and result repair 1.5 ===== */
.yes-exam-runner {
    width: min(980px, 100%);
    height: min(780px, calc(100vh - 28px));
    max-height: calc(100vh - 28px);
    background: #f7f9fc;
}
.yes-exam-runner > header {
    min-height: 82px;
    gap: 18px;
    border-bottom: 1px solid #e7edf3;
}
.yes-exam-header-tools {
    margin-right: auto;
}
.yes-answer-progress {
    min-width: 112px;
    padding: 8px 12px;
    border: 1px solid #dfe7ee;
    border-radius: 12px;
    background: #f8fafc;
}
.yes-answer-progress small,
.yes-answer-progress strong,
.yes-answer-progress span,
.yes-answer-progress b {
    display: block;
}
.yes-answer-progress small {
    color: #98a2b3;
    font-size: 10px !important;
}
.yes-answer-progress > div {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-top: 2px;
}
.yes-answer-progress strong {
    color: var(--yes-primary);
    font-size: 17px !important;
    line-height: 1.2;
}
.yes-answer-progress span,
.yes-answer-progress b {
    color: #667085;
    font-size: 11px !important;
    font-weight: 700;
}
.yes-exam-shell {
    min-height: 0;
    display: block !important;
    flex: 1;
    overflow: hidden;
    direction: rtl;
}
.yes-exam-sidebar,
.yes-question-palette,
.yes-palette-legend,
.yes-sidebar-submit {
    display: none !important;
}
.yes-exam-stage {
    width: 100%;
    max-width: 900px;
    height: 100%;
    margin: 0 auto;
    padding: 22px 26px 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}
.yes-instruction-box {
    margin-bottom: 14px;
}
.yes-question-step {
    min-height: 390px;
    padding: 25px 27px;
    border: 1px solid #e1e8ef;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(15, 23, 42, .045);
}
.yes-question-head {
    justify-content: flex-start;
    padding-bottom: 14px;
    border-bottom: 1px dashed #dce4ec;
}
.yes-question-head > div {
    display: flex;
    align-items: center;
    gap: 9px;
}
.yes-question-head > div span {
    color: var(--yes-primary);
    font-size: 13px !important;
    font-weight: 800;
}
.yes-question-head > div b {
    padding: 4px 8px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 11px !important;
}
.yes-question-step > h3 {
    margin-top: 20px;
    color: #172033;
    font-size: 17px !important;
    line-height: 2;
}
.yes-question-hint {
    font-size: 11px !important;
}
.yes-option {
    min-height: 62px;
    border-color: #dfe6ed;
    background: #fbfcfd;
}
.yes-option:hover {
    border-color: color-mix(in srgb, var(--yes-primary) 55%, #dfe6ed);
    background: #fff;
}
.yes-option-text {
    color: #344054;
    font-size: 13px !important;
}
.yes-question-nav {
    width: 100%;
    min-height: 74px;
    margin-top: 16px;
    padding: 14px 0 16px;
    background: linear-gradient(to top, #f7f9fc 78%, rgba(247, 249, 252, 0));
}
.yes-question-nav button {
    min-width: 136px;
    min-height: 44px;
    font-size: 13px !important;
}
.yes-question-nav > div strong {
    min-width: 70px;
    display: inline-flex;
    justify-content: center;
    padding: 7px 11px;
    border: 1px solid #e0e7ee;
    border-radius: 10px;
    background: #fff;
    color: #475467;
    font-size: 12px !important;
}

/* Explicit result colors override legacy passed-state rules. */
.yes-result-card {
    width: min(980px, 100%);
    max-height: calc(100vh - 28px);
    overflow: auto;
    border-radius: 22px;
    background: #f7f9fc;
}
.yes-result-card > .yes-modal-close {
    position: absolute !important;
    top: 14px !important;
    left: 14px !important;
    z-index: 30;
    background: rgba(15, 23, 42, .08) !important;
    color: #344054 !important;
}
.yes-result-hero,
.yes-result-hero.passed,
.yes-result-hero.failed,
.yes-result-hero.pending {
    min-height: 224px;
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr) 126px;
    gap: 22px;
    align-items: center;
    padding: 30px 34px;
    color: #172033 !important;
    text-align: right;
    border-bottom: 1px solid #dce9e7;
    background: linear-gradient(135deg, #ffffff 0%, #ecfdf5 100%) !important;
}
.yes-result-hero.failed {
    border-bottom-color: #fee2e2;
    background: linear-gradient(135deg, #ffffff 0%, #fff1f2 100%) !important;
}
.yes-result-hero.pending {
    border-bottom-color: #fde7a8;
    background: linear-gradient(135deg, #ffffff 0%, #fffbeb 100%) !important;
}
.yes-result-heading {
    min-width: 0;
}
.yes-result-heading small {
    display: block;
    color: var(--yes-primary) !important;
    font-size: 11px !important;
    font-weight: 800;
}
.yes-result-heading h2 {
    margin: 4px 0 8px !important;
    color: #172033 !important;
    font-size: 18px !important;
    line-height: 1.7 !important;
}
.yes-result-heading > strong {
    display: block;
    color: #047857 !important;
    font-size: 14px !important;
    line-height: 1.8;
}
.yes-result-hero.failed .yes-result-heading > strong {
    color: #b42318 !important;
}
.yes-result-hero.pending .yes-result-heading > strong {
    color: #9a6700 !important;
}
.yes-result-heading p {
    max-width: 600px;
    margin: 6px 0 0 !important;
    color: #475467 !important;
    font-size: 12px !important;
    line-height: 2;
    opacity: 1 !important;
}
.yes-result-status-icon {
    width: 62px;
    height: 62px;
    border: 1px solid #a7f3d0;
    border-radius: 19px;
    background: #d1fae5;
    color: #047857;
    box-shadow: 0 10px 25px rgba(16, 185, 129, .12);
}
.yes-result-hero.failed .yes-result-status-icon {
    border-color: #fecaca;
    background: #fee2e2;
    color: #b42318;
}
.yes-result-hero.pending .yes-result-status-icon {
    border-color: #fde68a;
    background: #fef3c7;
    color: #9a6700;
}
.yes-result-hero .yes-score-ring {
    --size: 118px;
    width: var(--size);
    height: var(--size);
    background: conic-gradient(var(--yes-primary) calc(var(--score) * 1%), #dce9e7 0) !important;
}
.yes-result-hero.failed .yes-score-ring {
    background: conic-gradient(#dc2626 calc(var(--score) * 1%), #fee2e2 0) !important;
}
.yes-result-hero.pending .yes-score-ring {
    background: conic-gradient(#f59e0b calc(var(--score) * 1%), #fef3c7 0) !important;
}
.yes-result-hero .yes-score-ring::before {
    background: #fff !important;
}
.yes-result-hero .yes-score-ring strong {
    color: #172033 !important;
    font-size: 18px !important;
}
.yes-result-hero .yes-score-ring small {
    color: #667085 !important;
    font-size: 10px !important;
}
.yes-result-meta {
    gap: 10px;
    padding: 14px 22px 0;
    border: 0;
    background: transparent;
}
.yes-result-meta > div {
    min-width: 0;
    padding: 13px 15px;
    border: 1px solid #e1e8ef;
    border-radius: 12px;
    background: #fff;
}
.yes-result-meta small {
    color: #98a2b3;
    font-size: 10px !important;
}
.yes-result-meta strong {
    overflow-wrap: anywhere;
    color: #344054;
    font-size: 12px !important;
    line-height: 1.8;
}
.yes-result-stats {
    gap: 10px;
    margin: 12px 22px 18px;
}
.yes-result-stats > div {
    min-height: 82px;
    padding: 14px 16px;
    border: 1px solid #e1e8ef;
    background: #fff;
}
.yes-result-stats strong {
    color: #172033;
    font-size: 18px !important;
}
.yes-result-stats span {
    color: #667085;
    font-size: 11px !important;
}
.yes-result-toolbar {
    padding-top: 2px;
}
.yes-result-toolbar h3 {
    color: #172033;
    font-size: 15px !important;
}
.yes-result-filters button {
    min-height: 36px;
    padding: 7px 12px;
    font-size: 11px !important;
}
.yes-result-details {
    gap: 12px;
}
.yes-result-question {
    padding: 18px;
    border: 1px solid #e1e8ef;
    border-right-width: 4px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .035);
}
.yes-result-question > header b {
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 10px !important;
}
.yes-result-question.correct > header b {
    background: #dcfce7;
    color: #166534;
}
.yes-result-question.wrong > header b {
    background: #fee2e2;
    color: #991b1b;
}
.yes-result-question.pending > header b {
    background: #fef3c7;
    color: #92400e;
}
.yes-result-question h3 {
    color: #172033;
    font-size: 14px !important;
    line-height: 2;
}
.yes-result-answer-grid > div {
    min-height: 76px;
    padding: 12px 14px;
}
.yes-result-answer-grid small {
    font-size: 10px !important;
}
.yes-result-answer-grid p {
    color: #344054;
    font-size: 12px !important;
}
@media (max-width: 860px) {
    .yes-exam-runner { width: 100%; height: 100vh; max-height: 100vh; border-radius: 0; }
    .yes-exam-runner > header { flex-wrap: wrap; min-height: auto; }
    .yes-exam-heading { flex: 1 1 100%; }
    .yes-exam-header-tools { width: 100%; margin: 0; justify-content: space-between; }
    .yes-answer-progress { min-width: 96px; }
    .yes-exam-stage { padding: 14px 14px 0; }
    .yes-question-step { min-height: 0; padding: 18px; }
    .yes-result-hero,
    .yes-result-hero.passed,
    .yes-result-hero.failed,
    .yes-result-hero.pending {
        grid-template-columns: 54px minmax(0, 1fr);
        gap: 14px;
        padding: 24px 18px;
    }
    .yes-result-status-icon { width: 50px; height: 50px; border-radius: 15px; }
    .yes-result-hero .yes-score-ring { grid-column: 1 / -1; justify-self: center; }
    .yes-result-meta { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .yes-autosave-state { display: none; }
    .yes-answer-progress, .yes-timer { flex: 1; min-width: 0; }
    .yes-question-nav button { min-width: 0; padding-inline: 13px; }
    .yes-question-nav > div { display: block; }
    .yes-result-stats { grid-template-columns: 1fr 1fr; margin-inline: 12px; }
    .yes-result-meta { padding-inline: 12px; }
    .yes-result-toolbar { margin-inline: 12px; }
    .yes-result-details { padding-inline: 12px; }
}
.yes-result-stats { grid-template-columns: repeat(auto-fit, minmax(135px, 1fr)); }
.yes-result-stats .pending::before { background: #f59e0b; }
@media (max-width: 560px) { .yes-result-stats { grid-template-columns: 1fr 1fr; } }
.yes-result-card,
.yes-exam-stage {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.yes-result-card::-webkit-scrollbar,
.yes-exam-stage::-webkit-scrollbar {
    width: 0;
    height: 0;
}


/* Dashboard note + participant profile refinements — 1.6.0 */
.yes-dashboard-note {
    position: relative;
    margin: 0 0 16px;
    padding: 15px 18px;
    border: 1px solid color-mix(in srgb, var(--yes-primary) 20%, #e7edf3);
    border-radius: 14px;
    background: color-mix(in srgb, var(--yes-primary) 5%, #fff);
    color: #344054;
    font-size: 13px;
    font-weight: 650;
    line-height: 2;
    overflow: hidden;
}
.yes-dashboard-note::before {
    content: "";
    position: absolute;
    inset: 0 0 0 auto;
    width: 4px;
    background: var(--yes-primary);
}

.yes-profile-columns {
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr);
    align-items: start;
}
.yes-profile-personal { min-width: 0; }
.yes-profile-form-grid {
    gap: 14px 12px;
}
.yes-profile-form-grid .yes-input-group {
    margin: 0;
    min-width: 0;
}
.yes-profile-form-grid .yes-input-wrap,
.yes-profile-form-grid input,
.yes-profile-form-grid select {
    min-width: 0;
    width: 100%;
}
.yes-profile-span-2,
.yes-profile-save {
    grid-column: 1 / -1;
}
.yes-profile-save {
    margin-top: 2px;
    min-width: 155px;
}

@media (max-width: 900px) {
    .yes-profile-columns { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    .yes-dashboard-note {
        padding: 13px 14px;
        border-radius: 12px;
        font-size: 12px;
    }
    .yes-profile-form-grid { grid-template-columns: 1fr; }
    .yes-profile-span-2,
    .yes-profile-save { grid-column: auto; }
    .yes-profile-save { width: 100%; justify-content: center; }
}

@media (max-width: 1180px) {
    .yes-user-stats.yes-user-stats-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* 1.7.0 - final-question action visibility */
.yes-question-nav button[hidden]{display:none!important}


/* 1.8.0 - required profile completion */
.yes-profile-required-notice{display:flex;align-items:flex-start;gap:14px;padding:16px 18px;margin:0 0 18px;border:1px solid rgba(245,158,11,.3);background:#fffbeb;border-radius:14px;color:#78350f}
.yes-profile-required-notice strong{display:block;font-size:15px;font-weight:800;margin-bottom:4px}
.yes-profile-required-notice p{margin:0;font-size:13px;line-height:1.9;color:#92400e}
.yes-profile-required-icon{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:11px;background:#fef3c7;color:#d97706}
.yes-profile-required-icon svg{width:20px;height:20px}
.yes-required-mark{font-style:normal;color:#dc2626;font-weight:800;margin-right:3px}
@media(max-width:640px){.yes-profile-required-notice{padding:14px;gap:10px}.yes-profile-required-icon{width:36px;height:36px;flex-basis:36px}}


/* ===== Password login + visual math captcha 1.9 ===== */
.yes-login-methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:4px;margin:0 0 16px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc}
.yes-login-methods button{min-height:38px;padding:7px 10px;border:0;border-radius:9px;background:transparent;color:#64748b;font-family:"Vazirmatn",sans-serif;font-size:12px;font-weight:700;cursor:pointer;transition:.18s ease}
.yes-login-methods button.active{background:#fff;color:var(--yes-primary);box-shadow:0 4px 14px rgba(15,23,42,.08)}
.yes-login-password-field[hidden]{display:none!important}
.yes-captcha-block{margin-top:2px}
.yes-captcha-row{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(90px,.55fr);gap:9px;align-items:stretch}
.yes-captcha-image-wrap{position:relative;min-height:58px;display:flex;align-items:center;overflow:hidden;border:1px solid #dbe4ea;border-radius:11px;background:#f8fafc}
.yes-captcha-image{display:block;width:100%;height:58px;object-fit:cover;user-select:none;-webkit-user-drag:none}
.yes-captcha-refresh{position:absolute;left:6px;top:50%;width:32px;height:32px;display:grid;place-items:center;transform:translateY(-50%);border:1px solid rgba(15,118,110,.16);border-radius:9px;background:rgba(255,255,255,.92);color:var(--yes-primary);cursor:pointer;box-shadow:0 3px 10px rgba(15,23,42,.08)}
.yes-captcha-refresh .yes-svg{width:16px;height:16px}
.yes-captcha-answer input{width:100%;height:100%;min-height:58px;text-align:center;font-size:16px!important;font-weight:800;letter-spacing:2px}
.yes-captcha-hint{display:block;margin-top:6px;color:#94a3b8;font-size:10px!important;line-height:1.8}
.yes-captcha-block.is-loading{opacity:.55;pointer-events:none}
.yes-password-box{margin-top:16px;padding-top:16px;border-top:1px solid #e5eaf0}
.yes-password-box-head{margin-bottom:12px!important}
#yes-change-password-form{display:grid;gap:10px}
#yes-change-password-form .yes-secondary-btn{width:100%;justify-content:center}
@media(max-width:520px){.yes-login-methods{grid-template-columns:1fr}.yes-captcha-row{grid-template-columns:1fr}.yes-captcha-answer input{min-height:48px}.yes-captcha-image-wrap,.yes-captcha-image{height:56px}}

/* ===== Robust final-submit processing 1.9.2 ===== */
.yes-exam-runner{position:relative}
.yes-submit-processing{position:absolute;inset:0;z-index:35;display:none;place-items:center;padding:20px;background:rgba(15,23,42,.66);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
.yes-submit-processing[hidden]{display:none!important}
.yes-submit-processing.open{display:grid}
.yes-submit-processing-card{width:min(430px,100%);padding:28px 24px;border-radius:20px;background:#fff;text-align:center;box-shadow:0 28px 80px rgba(15,23,42,.3);animation:yesFade .2s ease}
.yes-submit-processing-card h3{margin:12px 0 6px;font-size:16px!important;font-weight:850;color:#0f172a}
.yes-submit-processing-card p{margin:0;color:#64748b;font-size:12px!important;line-height:2}
.yes-submit-spinner{width:46px;height:46px;display:block;margin:0 auto;border:4px solid #e2e8f0;border-top-color:var(--yes-primary);border-radius:50%;animation:yesSubmitSpin .8s linear infinite}
.yes-submit-processing-icon{display:none;width:46px;height:46px;margin:0 auto;place-items:center;border-radius:14px;background:#fef2f2;color:#dc2626}
.yes-submit-processing-icon .yes-svg{width:24px;height:24px}
.yes-submit-processing.failed .yes-submit-spinner{display:none}
.yes-submit-processing.failed .yes-submit-processing-icon{display:grid}
.yes-submit-processing-actions{display:flex;justify-content:center;gap:8px;margin-top:18px}
.yes-submit-processing-actions[hidden]{display:none!important}
.yes-submit-processing-actions button{min-width:120px;justify-content:center;font-size:11px!important}
@keyframes yesSubmitSpin{to{transform:rotate(360deg)}}
@media(max-width:520px){.yes-submit-processing{padding:14px}.yes-submit-processing-card{padding:22px 16px;border-radius:17px}.yes-submit-processing-actions{flex-direction:column}.yes-submit-processing-actions button{width:100%}}

/* ===== Captcha interaction fix 1.9.4 ===== */
.yes-captcha-refresh:disabled{cursor:wait;opacity:.58}
.yes-captcha-answer,.yes-captcha-answer input{position:relative;z-index:2}
.yes-captcha-refresh{z-index:3}

/* v1.9.5: dashboard CTA scroll target and submission overlay safety */
#yes-active-exams:focus{outline:none}
.yes-scroll-active-exams{cursor:pointer}

/* ===== Mobile exam viewport + persistent navigation repair 1.9.9 ===== */
@media (max-width: 860px) {
    #yes-exam-modal.yes-modal {
        width: 100%;
        height: 100vh;
        height: 100dvh;
        height: var(--yes-mobile-viewport-height, 100dvh);
        min-height: 0;
        padding: 0 !important;
        overflow: hidden !important;
    }

    #yes-exam-modal.yes-modal.open {
        display: block !important;
    }

    #yes-exam-modal .yes-modal-backdrop {
        position: fixed;
        inset: 0;
    }

    #yes-exam-modal .yes-exam-runner {
        position: relative;
        width: 100% !important;
        height: 100vh !important;
        height: 100dvh !important;
        height: var(--yes-mobile-viewport-height, 100dvh) !important;
        min-height: 0 !important;
        max-height: none !important;
        display: flex;
        flex-direction: column;
        overflow: hidden !important;
        border-radius: 0 !important;
    }

    #yes-exam-modal .yes-exam-runner > header {
        position: relative;
        top: auto;
        z-index: 12;
        flex: 0 0 auto;
        padding-top: max(10px, env(safe-area-inset-top));
        background: #fff;
    }

    #yes-exam-modal .yes-exam-progress {
        flex: 0 0 4px;
        height: 4px;
    }

    #yes-exam-modal .yes-exam-shell {
        min-height: 0 !important;
        flex: 1 1 auto;
        display: block !important;
        overflow: hidden !important;
    }

    #yes-exam-modal .yes-exam-stage {
        width: 100%;
        max-width: none;
        height: 100% !important;
        min-height: 0 !important;
        display: flex;
        flex-direction: column;
        margin: 0;
        padding: 0 !important;
        overflow: hidden !important;
    }

    #yes-exam-modal #yes-exam-instructions {
        flex: 0 0 auto;
        padding: 10px 12px 0;
    }

    #yes-exam-modal #yes-exam-instructions:empty {
        display: none;
        padding: 0;
    }

    #yes-exam-modal .yes-instruction-box {
        margin: 0 !important;
    }

    #yes-exam-modal #yes-exam-form-run {
        min-height: 0 !important;
        height: 100%;
        flex: 1 1 auto;
        display: grid !important;
        grid-template-rows: minmax(0, 1fr) auto;
        padding: 0 !important;
        overflow: hidden !important;
    }

    #yes-exam-modal #yes-questions-container {
        min-width: 0;
        min-height: 0;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-y: contain;
        touch-action: pan-y;
        padding: 12px 12px 16px;
        scrollbar-width: thin;
        scrollbar-color: rgba(15, 118, 110, .25) transparent;
    }

    #yes-exam-modal #yes-questions-container::-webkit-scrollbar {
        width: 4px;
    }

    #yes-exam-modal #yes-questions-container::-webkit-scrollbar-thumb {
        border-radius: 999px;
        background: rgba(15, 118, 110, .25);
    }

    #yes-exam-modal .yes-question-step,
    #yes-exam-modal .yes-question-step.active {
        min-height: 0 !important;
        margin: 0;
    }

    #yes-exam-modal .yes-question-nav {
        position: relative !important;
        inset: auto !important;
        z-index: 15;
        min-height: 64px;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        align-items: center;
        gap: 8px;
        margin: 0 !important;
        padding: 9px 12px calc(9px + env(safe-area-inset-bottom)) !important;
        border-top: 1px solid #e1e8ef !important;
        background: rgba(255, 255, 255, .98) !important;
        box-shadow: 0 -8px 26px rgba(15, 23, 42, .08);
        backdrop-filter: blur(10px);
    }

    #yes-exam-modal .yes-question-nav #yes-prev-question {
        grid-column: 1;
        width: 100%;
    }

    #yes-exam-modal .yes-question-nav #yes-step-counter {
        grid-column: 2;
        min-width: 54px;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    #yes-exam-modal .yes-question-nav #yes-next-question,
    #yes-exam-modal .yes-question-nav #yes-finish-question {
        grid-column: 3 !important;
        width: 100% !important;
    }

    #yes-exam-modal .yes-question-nav button {
        min-width: 0 !important;
        min-height: 42px;
        padding: 8px 10px !important;
        white-space: nowrap;
    }
}

@media (max-width: 420px) {
    #yes-exam-modal .yes-exam-runner > header {
        gap: 8px;
        padding-inline: 10px;
    }

    #yes-exam-modal .yes-exam-header-tools {
        gap: 6px;
    }

    #yes-exam-modal .yes-answer-progress,
    #yes-exam-modal .yes-timer {
        padding-inline: 8px;
    }

    #yes-exam-modal #yes-questions-container {
        padding: 10px 9px 14px;
    }

    #yes-exam-modal .yes-question-step {
        padding: 14px 12px !important;
        border-radius: 14px;
    }

    #yes-exam-modal .yes-question-step > h3 {
        margin-top: 14px;
        font-size: 15px !important;
        line-height: 1.9;
    }

    #yes-exam-modal .yes-option {
        min-height: 54px;
        padding: 9px 8px;
    }

    #yes-exam-modal .yes-option-text {
        font-size: 12px !important;
    }

    #yes-exam-modal .yes-question-nav {
        min-height: 60px;
        gap: 6px;
        padding-inline: 9px !important;
    }

    #yes-exam-modal .yes-question-nav button {
        font-size: 11px !important;
    }
}

/* Account identity fields */
.yes-input-readonly { background: #f8fafc; }
.yes-input-readonly input[readonly] { cursor: default; color: #667085; background: transparent; }
.yes-field-hint { display: block; margin-top: 6px; color: #98a2b3; font-size: 11px; line-height: 1.8; }
