.app-card {
    border: 1px solid var(--ip-border);
    border-radius: var(--radius-lg);
    background: var(--ip-surface);
    box-shadow: var(--shadow-card);
    padding: 20px;
}

.auth-card h2 {
    margin: 0 0 6px;
    color: var(--ip-text-primary);
    font-size: 17px;
    font-weight: 800;
}

.auth-card p {
    margin: 0 0 20px;
    color: var(--ip-text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

.app-card--compact {
    padding: 16px;
}

.section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.section-header__title {
    margin: 0;
    color: var(--ip-text-primary);
    font-size: 20px;
    font-weight: 700;
}

.section-header__subtitle {
    margin: 5px 0 0;
    color: var(--ip-text-secondary);
    font-size: 13px;
    line-height: 1.45;
}

.page-title-bar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.page-title-bar h1 {
    margin: 0;
    color: var(--ip-text-primary);
    font-size: 18px;
    font-weight: 800;
}

.page-title-bar p {
    margin: 5px 0 0;
    color: var(--ip-text-secondary);
    font-size: 12px;
    line-height: 1.45;
}

.page-title-bar__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.btn-sm {
    min-height: 34px;
    padding: 0 10px;
    font-size: 12px;
}

.btn-block {
    width: 100%;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--ip-primary);
    color: #FFFFFF;
}

.btn-primary:hover {
    background: var(--ip-primary-dark);
}

.btn-success {
    background: var(--ip-success);
    color: #FFFFFF;
}

.btn-warning {
    background: var(--ip-warning);
    color: #FFFFFF;
}

.btn-danger {
    background: var(--ip-danger);
    color: #FFFFFF;
}

.btn-neutral {
    background: var(--ip-gray-bg);
    color: var(--ip-gray-text);
}

.btn-dark {
    background: var(--ip-primary-dark);
    color: #FFFFFF;
}

.btn-outline {
    background: var(--ip-surface);
    border-color: var(--ip-border);
    color: var(--ip-text-secondary);
}

.btn-outline:hover {
    background: var(--ip-surface-soft);
    color: var(--ip-primary);
}

.btn-ghost {
    background: transparent;
    color: var(--ip-text-secondary);
}

.btn-ghost:hover {
    background: var(--ip-surface-soft);
    color: var(--ip-primary);
}

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

.form-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.form-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.form-stack {
    display: grid;
    gap: 16px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-label {
    color: var(--ip-text-secondary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    border: 1px solid var(--ip-border);
    border-radius: var(--radius-md);
    background: var(--ip-surface);
    color: var(--ip-text-primary);
    font-size: 14px;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-input,
.form-select {
    min-height: 44px;
    padding: 0 14px;
}

.form-textarea {
    min-height: 112px;
    resize: vertical;
    padding: 12px 14px;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--ip-text-muted);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--ip-accent);
    box-shadow: 0 0 0 3px rgba(75, 184, 232, 0.18);
}

.field-error {
    color: var(--ip-danger);
    font-size: 12px;
    font-weight: 600;
}

.alert {
    border-radius: var(--radius-md);
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.alert-danger {
    background: var(--ip-danger-bg);
    color: var(--ip-danger-text);
}

.alert-success {
    background: var(--ip-success-bg);
    color: var(--ip-success-text);
}

.alert-info {
    background: var(--ip-info-bg);
    color: var(--ip-info-text);
}

.toast-stack {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 120;
    display: grid;
    gap: 10px;
    pointer-events: none;
}

.app-toast {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 280px;
    max-width: 360px;
    border: 1px solid var(--ip-border);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.10);
    padding: 14px 16px;
    color: var(--ip-text-primary);
    animation: toast-fade 4.2s ease forwards;
}

.app-toast__icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 999px;
    background: var(--ip-surface-soft);
    font-size: 18px;
}

.app-toast__message {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
}

.app-toast--success .app-toast__icon {
    color: var(--ip-success);
    background: var(--ip-success-bg);
}

.app-toast--danger .app-toast__icon {
    color: var(--ip-danger);
    background: var(--ip-danger-bg);
}

.app-toast--warning .app-toast__icon {
    color: var(--ip-warning);
    background: var(--ip-warning-bg);
}

.app-toast--info .app-toast__icon {
    color: var(--ip-primary);
    background: var(--ip-info-bg);
}

@keyframes toast-fade {
    0%, 82% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-8px);
    }
}

.info-strip {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--ip-border);
    border-radius: var(--radius-md);
    background: var(--ip-info-bg);
    color: var(--ip-info-text);
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 600;
}

.info-strip i {
    font-size: 18px;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.badge-success {
    background: var(--ip-success-bg);
    color: var(--ip-success-text);
}

.badge-warning {
    background: var(--ip-warning-bg);
    color: var(--ip-warning-text);
}

.badge-danger {
    background: var(--ip-danger-bg);
    color: var(--ip-danger-text);
}

.badge-neutral {
    background: var(--ip-gray-bg);
    color: var(--ip-gray-text);
}

.badge-info {
    background: var(--ip-info-bg);
    color: var(--ip-info-text);
}

.app-table-wrap {
    overflow: hidden;
    border: 1px solid var(--ip-border);
    border-radius: var(--radius-lg);
    background: var(--ip-surface);
}

.app-table {
    width: 100%;
    border-collapse: collapse;
}

.app-table thead {
    background: var(--ip-surface-soft);
}

.app-table th,
.app-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--ip-border);
    text-align: left;
    vertical-align: middle;
}

.app-table th {
    color: var(--ip-text-secondary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.app-table td {
    color: var(--ip-text-secondary);
    font-size: 13px;
}

.app-table tbody tr:hover {
    background: var(--ip-surface-soft);
}

.app-table tbody tr[data-row-link] {
    cursor: pointer;
}

.table-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.table-actions form {
    display: inline-flex;
}

.table-title,
.table-subtitle {
    display: block;
}

.table-title {
    color: var(--ip-text-primary);
    font-size: 13px;
    font-weight: 800;
}

.table-subtitle {
    margin-top: 4px;
    color: var(--ip-text-muted);
    font-size: 12px;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.64);
    backdrop-filter: blur(10px);
}

.modal-overlay.is-open {
    display: flex;
}

.modal-panel {
    width: min(100%, 560px);
    max-height: calc(100vh - 40px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    background: var(--ip-surface);
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.32);
}

.modal-panel--wide {
    width: min(100%, 760px);
}

.modal-header {
    padding: 18px 20px;
    color: #FFFFFF;
    background: linear-gradient(135deg, var(--ip-primary-dark), var(--ip-primary));
}

.modal-header__row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.modal-header h2 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
}

.modal-header p {
    margin: 5px 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 13px;
}

.modal-close {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    cursor: pointer;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.10);
}

.modal-body {
    overflow-y: auto;
    padding: 20px;
}

.modal-body--scroll {
    max-height: calc(100vh - 210px);
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 20px;
    border-top: 1px solid var(--ip-border);
    background: var(--ip-surface-soft);
}

.empty-state {
    display: grid;
    place-items: center;
    gap: 10px;
    min-height: 180px;
    border: 1px dashed var(--ip-border);
    border-radius: var(--radius-lg);
    background: var(--ip-surface);
    color: var(--ip-text-muted);
    text-align: center;
    padding: 24px;
}

.empty-state i {
    color: var(--ip-accent);
    font-size: 30px;
}

.empty-state h3 {
    margin: 0;
    color: var(--ip-text-primary);
    font-size: 15px;
    font-weight: 700;
}

.empty-state p {
    max-width: 360px;
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
}

.admin-page-stack {
    display: grid;
    gap: 18px;
    align-content: start;
}

.form-editor-screen {
    gap: 14px;
}

.form-editor-header,
.form-editor-details,
.form-editor-question-area {
    display: grid;
    gap: 12px;
}

.form-editor-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    align-items: center;
    gap: 20px;
}

.form-editor-hero__intro {
    display: grid;
    gap: 10px;
    justify-items: start;
}

.form-editor-hero__intro .page-title-bar {
    justify-content: flex-start;
}

.form-editor-hero__intro .page-title-bar__actions {
    width: 100%;
    justify-content: flex-start;
}

.form-editor-details {
    justify-items: end;
}

.form-editor-details__top {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px 22px;
    width: 100%;
    text-align: right;
}

.form-editor-details h2 {
    margin: 0;
    color: var(--ip-text-primary);
    font-size: 18px;
    font-weight: 800;
}

.form-editor-details p {
    margin: 0;
    color: var(--ip-text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

.form-editor-details p strong {
    color: var(--ip-text-primary);
}

.form-editor-facts {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px 18px;
}

.form-editor-facts__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ip-text-secondary);
    font-size: 13px;
    font-weight: 650;
}

.form-editor-facts__item i {
    color: var(--ip-primary);
    font-size: 16px;
}

.form-editor-facts__item strong {
    color: var(--ip-text-primary);
    font-weight: 800;
}

.form-editor-divider {
    width: 100%;
    height: 1px;
    background: var(--ip-border);
}

.form-editor-question-head {
    margin-bottom: 4px;
}

.question-tree-shell {
    display: grid;
    gap: 14px;
}

.question-tree-list {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.question-tree-list--child {
    margin-top: 12px;
    margin-left: 18px;
    padding-left: 18px;
    border-left: 1px dashed var(--ip-border);
}

.question-tree-node {
    display: grid;
    gap: 12px;
}

.question-tree-card {
    border: 1px solid var(--ip-border);
    border-radius: var(--radius-lg);
    background: var(--ip-surface);
    box-shadow: var(--shadow-card);
    padding: 18px;
}

.question-tree-card__body {
    display: grid;
    gap: 14px;
}

.question-tree-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.question-tree-card__header h3 {
    margin: 0;
    color: var(--ip-text-primary);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
}

.question-tree-card__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.question-tree-card__meta span {
    border-radius: 999px;
    background: var(--ip-surface-soft);
    color: var(--ip-text-secondary);
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 700;
}

.question-tree-card__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}

.question-tree-branches {
    display: grid;
    gap: 12px;
    border-top: 1px solid var(--ip-border);
    padding-top: 14px;
}

.question-tree-branches__title {
    color: var(--ip-text-primary);
    font-size: 13px;
    font-weight: 800;
}

.question-tree-branch {
    display: grid;
    gap: 10px;
    border: 1px solid var(--ip-border);
    border-radius: var(--radius-md);
    background: var(--ip-surface-soft);
    padding: 12px;
}

.question-tree-branch__option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.question-tree-branch__option span {
    color: var(--ip-text-primary);
    font-size: 14px;
    font-weight: 800;
}

.question-context {
    display: grid;
    gap: 8px;
    border: 1px solid rgba(75, 184, 232, 0.28);
    border-radius: var(--radius-md);
    background: var(--ip-info-bg);
    padding: 12px 14px;
}

.question-context__label {
    color: var(--ip-text-muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.question-context strong {
    color: var(--ip-info-text);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}

.form-editor-status-form {
    display: inline-flex;
    align-items: center;
}

.switch-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.switch-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.switch-toggle__track {
    position: relative;
    width: 46px;
    height: 28px;
    border-radius: 999px;
    background: var(--ip-border);
    transition: background-color 160ms ease;
}

.switch-toggle__thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.18);
    transition: transform 160ms ease;
}

.switch-toggle__text {
    color: var(--ip-text-primary);
    font-size: 13px;
    font-weight: 700;
}

.switch-toggle input:checked + .switch-toggle__track {
    background: var(--ip-success);
}

.switch-toggle input:checked + .switch-toggle__track .switch-toggle__thumb {
    transform: translateX(18px);
}

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

.form-detail-item {
    display: grid;
    gap: 8px;
    min-height: 96px;
    border: 1px solid var(--ip-border);
    border-radius: var(--radius-md);
    background: var(--ip-surface-soft);
    padding: 14px;
}

.form-detail-item span {
    color: var(--ip-text-muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.form-detail-item strong {
    color: var(--ip-text-primary);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
}

.question-detail-list {
    display: grid;
    gap: 12px;
}

.question-detail-item {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    border: 1px solid var(--ip-border);
    border-radius: var(--radius-lg);
    background: var(--ip-surface);
    box-shadow: var(--shadow-card);
    padding: 14px;
    transition: border-color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.question-detail-item.is-dragging {
    opacity: 0.72;
    border-color: var(--ip-accent);
    transform: scale(0.99);
}

.question-drag-handle {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ip-border);
    border-radius: var(--radius-md);
    cursor: grab;
    color: var(--ip-text-muted);
    background: var(--ip-surface-soft);
    font-size: 17px;
    font-weight: 800;
}

.question-detail-content h3 {
    margin: 0;
    color: var(--ip-text-primary);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
}

.question-detail-content h3 span {
    color: var(--ip-accent);
}

.question-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.question-detail-meta span {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    border-radius: 999px;
    background: var(--ip-surface-soft);
    color: var(--ip-text-secondary);
    padding: 0 10px;
    font-size: 12px;
    font-weight: 650;
}

.question-detail-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}

.question-detail-actions form {
    display: inline-flex;
}

.filters-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.fact-item {
    display: grid;
    gap: 6px;
    border: 1px solid var(--ip-border);
    border-radius: var(--radius-md);
    background: var(--ip-surface-soft);
    padding: 13px;
}

.fact-item span {
    color: var(--ip-text-muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.fact-item strong {
    color: var(--ip-text-primary);
    font-size: 13px;
    font-weight: 800;
}

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

.checkbox-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-height: 58px;
    border: 1px solid var(--ip-border);
    border-radius: var(--radius-md);
    background: var(--ip-surface);
    cursor: pointer;
    padding: 12px;
    transition: border-color 160ms ease, background-color 160ms ease;
}

.checkbox-card:has(input:checked) {
    border-color: var(--ip-accent);
    background: var(--ip-info-bg);
}

.checkbox-card input {
    margin-top: 2px;
    accent-color: var(--ip-primary);
}

.checkbox-card span,
.checkbox-card strong,
.checkbox-card small {
    display: block;
}

.checkbox-card strong {
    color: var(--ip-text-primary);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
}

.checkbox-card small {
    margin-top: 4px;
    color: var(--ip-text-muted);
    font-size: 11px;
    font-weight: 600;
}

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

.report-list,
.open-answer-list {
    display: grid;
    gap: 10px;
}

.report-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-radius: var(--radius-md);
    background: var(--ip-surface-soft);
    padding: 12px 14px;
}

.report-row span {
    color: var(--ip-text-secondary);
    font-size: 13px;
    font-weight: 650;
}

.report-row strong {
    color: var(--ip-primary);
    font-size: 16px;
    font-weight: 800;
}

.report-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding: 4px 0 2px;
}

.report-hero h1 {
    margin: 8px 0 8px;
    color: var(--ip-text-primary);
    font-size: 34px;
    line-height: 1.05;
    font-weight: 800;
}

.report-hero p {
    max-width: 620px;
    margin: 0;
    color: var(--ip-text-secondary);
    font-size: 15px;
    line-height: 1.5;
    font-weight: 500;
}

.report-hero__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.report-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    border: 1px solid var(--ip-border);
    border-radius: 999px;
    background: var(--ip-surface);
    color: var(--ip-primary);
    padding: 0 10px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.report-nav {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    border: 1px solid var(--ip-border);
    border-radius: var(--radius-lg);
    background: var(--ip-surface);
    box-shadow: var(--shadow-card);
    padding: 6px;
}

.report-nav__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 13px;
    border-radius: var(--radius-md);
    color: var(--ip-text-secondary);
    font-size: 13px;
    font-weight: 750;
    transition: background-color 160ms ease, color 160ms ease;
}

.report-nav__item:hover,
.report-nav__item.is-active {
    color: var(--ip-primary);
    background: var(--ip-info-bg);
}

.report-filter-bar {
    display: grid;
    grid-template-columns: repeat(3, minmax(150px, 1fr)) auto;
    gap: 12px;
    align-items: end;
}

.report-filter-bar__wide {
    grid-column: span 2;
}

.report-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 18px;
}

.section-header--page {
    align-items: center;
}

.section-header--page .section-header__title {
    font-size: 28px;
}

.report-bars,
.report-form-ranking,
.report-preview-bars {
    display: grid;
    gap: 12px;
}

.report-bar-row,
.report-form-ranking__item {
    display: grid;
    gap: 8px;
    border: 1px solid var(--ip-border);
    border-radius: var(--radius-md);
    background: var(--ip-surface-soft);
    padding: 13px;
}

.report-bar-row > div:first-child,
.report-form-ranking__item,
.report-answer-row__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.report-bar-row span,
.report-form-ranking__item span,
.report-answer-row small,
.report-preview-card span,
.report-preview-card p,
.report-preview-bars small,
.report-selected-list small {
    color: var(--ip-text-secondary);
    font-size: 12px;
    font-weight: 650;
}

.report-bar-row strong,
.report-form-ranking__item b,
.report-answer-row__meta span {
    color: var(--ip-primary);
    font-size: 15px;
    font-weight: 850;
}

.report-form-ranking__item {
    grid-template-columns: minmax(0, 1fr) minmax(130px, 180px);
    transition: border-color 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.report-form-ranking__item:hover {
    border-color: var(--ip-accent);
    background: var(--ip-surface);
    transform: translateY(-1px);
}

.report-form-ranking__item strong {
    display: block;
    color: var(--ip-text-primary);
    font-size: 14px;
    font-weight: 850;
}

.report-form-ranking__item span {
    display: block;
    margin-top: 4px;
}

.report-pie-layout {
    display: grid;
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
    gap: 20px;
    align-items: center;
}

.report-pie-chart {
    display: grid;
    place-items: center;
}

.report-pie-chart__graphic {
    position: relative;
    width: min(100%, 220px);
    aspect-ratio: 1;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.04);
}

.report-pie-chart__graphic::after {
    content: "";
    position: absolute;
    inset: 24%;
    border-radius: 50%;
    background: var(--ip-surface);
    box-shadow: 0 0 0 1px var(--ip-border);
}

.report-pie-chart__center {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 2px;
}

.report-pie-chart__center strong {
    color: var(--ip-text-primary);
    font-size: 24px;
    font-weight: 850;
}

.report-pie-chart__center span {
    color: var(--ip-text-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.report-pie-legend {
    display: grid;
    gap: 10px;
}

.report-pie-legend__item {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--ip-border);
    border-radius: var(--radius-md);
    background: var(--ip-surface-soft);
    padding: 11px 12px;
}

.report-pie-legend__item--link {
    transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.report-pie-legend__item--link:hover {
    border-color: var(--ip-accent);
    background: var(--ip-surface);
    transform: translateY(-1px);
}

.report-pie-legend__swatch {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    flex: 0 0 auto;
}

.report-pie-legend__item strong,
.report-pie-legend__item small {
    display: block;
}

.report-pie-legend__item strong {
    color: var(--ip-text-primary);
    font-size: 13px;
    font-weight: 800;
}

.report-pie-legend__item small {
    margin-top: 4px;
    color: var(--ip-text-secondary);
    font-size: 11px;
    font-weight: 650;
}

.report-timeline {
    min-height: 260px;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 10px;
    align-items: end;
    padding-top: 12px;
}

.report-timeline__item {
    min-width: 0;
    height: 240px;
    display: grid;
    grid-template-rows: 1fr auto auto;
    gap: 8px;
    align-items: end;
    text-align: center;
}

.report-timeline__bar {
    width: 100%;
    min-height: 12px;
    border-radius: var(--radius-sm) var(--radius-sm) 4px 4px;
    background: linear-gradient(180deg, var(--ip-accent), var(--ip-primary));
}

.report-timeline__item strong {
    color: var(--ip-text-primary);
    font-size: 13px;
    font-weight: 850;
}

.report-timeline__item small {
    overflow: hidden;
    color: var(--ip-text-muted);
    font-size: 10px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.report-explorer-layout {
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.report-tree-panel {
    position: sticky;
    top: 18px;
}

.report-tree,
.report-analysis-stack,
.report-indicator-groups {
    display: grid;
    gap: 12px;
}

.report-tree__node {
    display: grid;
    gap: 7px;
    margin-left: calc(var(--tree-level) * 16px);
}

.report-tree__trigger {
    width: fit-content;
    border-radius: 999px;
    background: var(--ip-warning-bg);
    color: var(--ip-warning-text);
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 850;
}

.report-tree__question {
    display: flex;
    gap: 9px;
    border: 1px solid var(--ip-border);
    border-radius: var(--radius-md);
    background: var(--ip-surface-soft);
    padding: 10px;
    transition: border-color 160ms ease, background-color 160ms ease;
}

.report-tree__question:hover,
.report-tree__question.is-active {
    border-color: var(--ip-accent);
    background: var(--ip-info-bg);
}

.report-tree__question i {
    margin-top: 2px;
    color: var(--ip-accent);
}

.report-tree__question strong,
.report-answer-row__meta strong,
.report-preview-card h3,
.report-selected-list strong {
    color: var(--ip-text-primary);
    font-size: 13px;
    font-weight: 850;
    line-height: 1.35;
}

.report-tree__question small {
    display: block;
    margin-top: 4px;
    color: var(--ip-text-muted);
    font-size: 11px;
    font-weight: 650;
}

.report-tree__children {
    display: grid;
    gap: 10px;
    border-left: 1px dashed var(--ip-border);
    padding-left: 10px;
}

.report-tree__branch > .report-tree__children {
    display: none;
}

.report-tree__branch.is-open > .report-tree__children {
    display: grid;
    gap: 10px;
}

.report-tree__row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.report-tree__row .report-tree__question {
    flex: 1;
}

.report-tree__toggle {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border: 1px solid var(--ip-border);
    border-radius: var(--radius-sm);
    background: var(--ip-surface);
    color: var(--ip-text-secondary);
    cursor: pointer;
}

.report-tree__toggle i {
    transition: transform 160ms ease;
}

.report-tree__branch.is-open > .report-tree__row .report-tree__toggle i {
    transform: rotate(90deg);
}

.report-main-chart {
    min-height: 430px;
}

.report-export-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.report-export-actions .btn:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.report-answer-chart {
    display: grid;
    gap: 13px;
}

.report-answer-row {
    display: grid;
    gap: 8px;
    border: 1px solid var(--ip-border);
    border-radius: var(--radius-md);
    background: var(--ip-surface-soft);
    padding: 13px;
    transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.report-answer-row:hover,
.report-answer-row.is-active {
    border-color: var(--ip-accent);
    background: var(--ip-surface);
    transform: translateY(-1px);
}

.report-builder-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: 18px;
    align-items: start;
}

.report-builder-main {
    display: grid;
    gap: 18px;
}

.report-wizard-steps {
    display: flex;
    gap: 8px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.report-wizard-steps li {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid var(--ip-border);
    border-radius: var(--radius-md);
    background: var(--ip-surface-soft);
    color: var(--ip-text-muted);
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
}

.report-wizard-steps li span {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: var(--ip-border);
    color: var(--ip-text-secondary);
    font-size: 11px;
}

.report-wizard-steps li.is-active {
    border-color: var(--ip-accent);
    background: var(--ip-info-bg);
    color: var(--ip-primary);
}

.report-wizard-steps li.is-active span {
    background: var(--ip-primary);
    color: #FFFFFF;
}

.report-wizard-steps li.is-done span {
    background: var(--ip-success);
    color: #FFFFFF;
}

.report-step__message {
    display: none;
    margin-bottom: 12px;
    border: 1px solid var(--ip-warning);
    border-radius: var(--radius-md);
    background: var(--ip-warning-bg);
    color: var(--ip-warning-text);
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 800;
}

.report-step__message.is-visible {
    display: block;
}

.report-step,
.report-selected-panel {
    position: relative;
}

.report-step {
    display: none;
}

.report-step.is-active {
    display: block;
    animation: reportStepIn 180ms ease;
}

@keyframes reportStepIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.report-step__footer {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--ip-border);
}

.report-step__footer .btn:only-child {
    margin-left: auto;
}

.report-step__number {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--ip-info-bg);
    color: var(--ip-primary);
    font-size: 12px;
    font-weight: 900;
}

.report-form-picker {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.report-indicator-group {
    border: 1px solid var(--ip-border);
    border-radius: var(--radius-lg);
    background: var(--ip-surface-soft);
    overflow: hidden;
}

.report-indicator-group summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
    list-style: none;
    padding: 14px 16px;
    color: var(--ip-text-primary);
    font-size: 14px;
    font-weight: 850;
}

.report-indicator-group__count {
    flex-shrink: 0;
    border-radius: 999px;
    background: var(--ip-gray-bg);
    color: var(--ip-gray-text);
    font-size: 11px;
    font-weight: 800;
    padding: 3px 10px;
}

.report-indicator-group summary::-webkit-details-marker {
    display: none;
}

.report-category-group {
    display: grid;
    gap: 10px;
    border-top: 1px solid var(--ip-border);
    padding: 14px;
}

.report-category-group h3 {
    margin: 0;
    color: var(--ip-text-muted);
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
}

.report-indicator-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.report-indicator-option {
    display: flex;
    gap: 10px;
    min-height: 66px;
    border: 1px solid var(--ip-border);
    border-radius: var(--radius-md);
    background: var(--ip-surface);
    cursor: pointer;
    padding: 11px;
}

.report-indicator-option:has(input:checked) {
    border-color: var(--ip-accent);
    background: var(--ip-info-bg);
}

.report-indicator-option input {
    margin-top: 2px;
    accent-color: var(--ip-primary);
}

.report-indicator-option strong,
.report-indicator-option small {
    display: block;
}

.report-indicator-option strong {
    color: var(--ip-text-primary);
    font-size: 13px;
    font-weight: 850;
}

.report-indicator-option small {
    margin-top: 4px;
    color: var(--ip-text-muted);
    font-size: 11px;
    font-weight: 650;
}

.report-view-picker {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.report-view-option {
    cursor: pointer;
}

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

.report-view-option span {
    min-height: 94px;
    display: grid;
    place-items: center;
    gap: 8px;
    border: 1px solid var(--ip-border);
    border-radius: var(--radius-md);
    background: var(--ip-surface-soft);
    color: var(--ip-text-secondary);
    text-align: center;
    padding: 12px;
}

.report-view-option i {
    color: var(--ip-accent);
    font-size: 24px;
}

.report-view-option input:checked + span {
    border-color: var(--ip-accent);
    background: var(--ip-info-bg);
    color: var(--ip-primary);
}

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

.report-preview-card {
    display: grid;
    gap: 10px;
    border: 1px solid var(--ip-border);
    border-radius: var(--radius-lg);
    background: var(--ip-surface-soft);
    padding: 14px;
}

.report-preview-card h3,
.report-preview-card p {
    margin: 0;
}

.report-selected-panel {
    position: sticky;
    top: 18px;
}

.report-selected-list {
    list-style: none;
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.report-selected-list li {
    display: flex;
    gap: 9px;
    border: 1px solid var(--ip-border);
    border-radius: var(--radius-md);
    background: var(--ip-surface-soft);
    padding: 10px;
}

.report-selected-list i {
    color: var(--ip-text-muted);
    font-size: 17px;
}

.empty-state--compact {
    min-height: 120px;
    padding: 18px;
}

.admin-main--canvas-fullscreen {
    margin-left: 0;
}

.admin-content--canvas-fullscreen {
    padding: 0;
}

.report-canvas-fullscreen {
    overflow: hidden;
}

.report-shell--canvas {
    gap: 18px;
}

.admin-content--canvas-fullscreen .report-shell--canvas {
    min-height: 100vh;
    gap: 0;
}

.admin-content--canvas-fullscreen .report-hero--canvas,
.admin-content--canvas-fullscreen .report-canvas-filter-card {
    margin: 0;
    border-radius: 0;
    box-shadow: none;
}

.admin-content--canvas-fullscreen .report-hero--canvas {
    padding: 18px 24px;
    border-bottom: 1px solid var(--ip-border);
    background: var(--ip-surface);
}

.report-hero--canvas {
    align-items: center;
}

.report-filter-bar--canvas {
    grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(140px, 0.8fr)) auto;
}

.report-canvas-shell {
    position: relative;
    overflow: hidden;
    min-height: 680px;
    border: 1px solid var(--ip-border);
    border-radius: var(--radius-xl);
    background: var(--ip-surface);
    box-shadow: var(--shadow-card);
}

.report-canvas-shell--fullscreen {
    min-height: calc(100vh - 170px);
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
}

.report-canvas-toolbar {
    position: relative;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 68px;
    border-bottom: 1px solid var(--ip-border);
    background: rgba(255, 255, 255, 0.92);
    padding: 12px 16px;
    backdrop-filter: blur(18px);
}

[data-theme="dark"] .report-canvas-toolbar {
    background: rgba(17, 24, 39, 0.92);
}

.report-canvas-toolbar__left,
.report-canvas-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.report-canvas-controls .icon-button {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-md);
}

.report-canvas-breadcrumb {
    display: grid;
    gap: 2px;
    min-height: 40px;
    border: 1px solid var(--ip-border);
    border-radius: var(--radius-md);
    background: var(--ip-surface-soft);
    padding: 7px 12px;
}

.report-canvas-breadcrumb span {
    color: var(--ip-text-muted);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.report-canvas-breadcrumb strong {
    max-width: 220px;
    overflow: hidden;
    color: var(--ip-text-primary);
    font-size: 12px;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.report-canvas-workbench {
    position: relative;
    min-height: 640px;
}

.report-canvas-shell--fullscreen .report-canvas-workbench {
    min-height: calc(100vh - 238px);
}

.report-canvas-stage {
    position: absolute;
    inset: 0;
    overflow: hidden;
    cursor: grab;
    background:
        linear-gradient(rgba(226, 232, 240, 0.42) 1px, transparent 1px),
        linear-gradient(90deg, rgba(226, 232, 240, 0.42) 1px, transparent 1px),
        radial-gradient(circle at 18% 16%, rgba(75, 184, 232, 0.08), transparent 28%),
        var(--ip-surface);
    background-size: 28px 28px, 28px 28px, auto, auto;
}

[data-theme="dark"] .report-canvas-stage {
    background:
        linear-gradient(rgba(148, 163, 184, 0.10) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.10) 1px, transparent 1px),
        radial-gradient(circle at 18% 16%, rgba(75, 184, 232, 0.10), transparent 28%),
        var(--ip-surface);
    background-size: 28px 28px, 28px 28px, auto, auto;
}

.report-canvas-stage.is-panning {
    cursor: grabbing;
}

.report-canvas-lines,
.report-canvas-space {
    position: absolute;
    top: 0;
    left: 0;
    width: 6400px;
    height: 4200px;
    transform-origin: 0 0;
}

.report-canvas-lines {
    z-index: 1;
    overflow: visible;
    pointer-events: none;
}

.report-canvas-space {
    z-index: 2;
}

.report-canvas-line {
    fill: none;
    stroke: #B8C5D6;
    stroke-linecap: round;
    stroke-width: 2;
}

[data-theme="dark"] .report-canvas-line {
    stroke: #40516D;
}

.report-canvas-lane {
    position: absolute;
    z-index: 0;
    border-top: 1px solid rgba(184, 197, 214, 0.62);
    border-bottom: 1px solid rgba(184, 197, 214, 0.46);
    background: rgba(248, 250, 252, 0.42);
    pointer-events: none;
    transition: background-color 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.report-canvas-lane::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background: transparent;
}

.report-canvas-lane.is-active {
    border-color: rgba(53, 109, 255, 0.42);
    background: rgba(53, 109, 255, 0.045);
}

.report-canvas-lane.is-active::before {
    background: #356DFF;
}

.report-canvas-lane.is-muted {
    opacity: 0.68;
}

[data-theme="dark"] .report-canvas-lane {
    border-color: rgba(64, 81, 109, 0.74);
    background: rgba(23, 32, 51, 0.34);
}

[data-theme="dark"] .report-canvas-lane.is-active {
    border-color: rgba(75, 184, 232, 0.46);
    background: rgba(75, 184, 232, 0.07);
}

.report-canvas-node {
    position: absolute;
    z-index: 3;
    min-height: 104px;
    border: 1px solid var(--ip-border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    background: var(--ip-surface);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
    color: var(--ip-text-primary);
    padding: 14px;
    text-align: left;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.report-canvas-node:hover,
.report-canvas-node.is-selected {
    border-color: #356DFF;
    box-shadow: 0 18px 48px rgba(53, 109, 255, 0.18);
    transform: translateY(-1px);
}

.report-canvas-node.is-loading {
    opacity: 0.72;
}

.report-canvas-node--question {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 12px;
}

.report-canvas-node__icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: #EEF4FF;
    color: #356DFF;
    font-size: 20px;
}

.report-canvas-node__content {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.report-canvas-node__content strong {
    overflow: hidden;
    color: var(--ip-text-primary);
    font-size: 13px;
    font-weight: 850;
    line-height: 1.28;
    text-overflow: ellipsis;
}

.report-canvas-node__content small,
.report-canvas-node--answer small {
    color: var(--ip-text-secondary);
    font-size: 11px;
    font-weight: 650;
}

.report-canvas-node__action {
    color: var(--ip-text-muted);
    font-size: 18px;
}

.report-canvas-node--answer {
    display: grid;
    gap: 9px;
}

.report-canvas-answer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.report-canvas-answer__top span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: var(--ip-text-primary);
    font-size: 13px;
    font-weight: 850;
}

.report-canvas-answer__top span i {
    width: 9px;
    height: 9px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: var(--ip-success);
}

.report-canvas-answer__top b {
    color: #356DFF;
    font-size: 12px;
    font-weight: 850;
}

.report-canvas-node--answer > strong {
    color: var(--ip-text-secondary);
    font-size: 12px;
    font-weight: 750;
}

.report-canvas-drawer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    width: min(380px, 92vw);
    border-left: 1px solid var(--ip-border);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: -18px 0 46px rgba(15, 23, 42, 0.12);
    transform: translateX(104%);
    transition: transform 180ms ease;
    backdrop-filter: blur(18px);
}

[data-theme="dark"] .report-canvas-drawer {
    background: rgba(17, 24, 39, 0.96);
}

.report-canvas-shell.is-drawer-open .report-canvas-drawer {
    transform: translateX(0);
}

.report-canvas-drawer__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid var(--ip-border);
    padding: 20px;
}

.report-canvas-drawer__header span,
.report-canvas-detail span,
.report-canvas-detail-grid span {
    color: var(--ip-text-muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.report-canvas-drawer__header h2 {
    margin: 5px 0 0;
    color: var(--ip-text-primary);
    font-size: 18px;
    font-weight: 850;
    line-height: 1.2;
}

.report-canvas-drawer__body {
    display: grid;
    gap: 14px;
    padding: 20px;
}

.report-canvas-detail,
.report-canvas-detail-grid > div {
    display: grid;
    gap: 8px;
    border: 1px solid var(--ip-border);
    border-radius: var(--radius-md);
    background: var(--ip-surface-soft);
    padding: 14px;
}

.report-canvas-detail strong,
.report-canvas-detail-grid strong {
    color: var(--ip-text-primary);
    font-size: 14px;
    font-weight: 850;
    line-height: 1.35;
}

.report-canvas-detail p {
    margin: 0;
    color: var(--ip-text-secondary);
    font-size: 13px;
    line-height: 1.45;
}

.report-canvas-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.report-canvas-path {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.report-canvas-path span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    border-radius: 999px;
    background: var(--ip-info-bg);
    color: var(--ip-info-text);
    padding: 0 10px;
    font-size: 12px;
    font-weight: 750;
}

.report-students-modal {
    width: min(100%, 980px);
}

.report-students-actions {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 16px;
}

.report-students-table .btn {
    min-height: 32px;
}

.report-builder-canvas {
    position: relative;
    display: grid;
    gap: 18px;
    border: 1px solid var(--ip-border);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(rgba(226, 232, 240, 0.36) 1px, transparent 1px),
        linear-gradient(90deg, rgba(226, 232, 240, 0.36) 1px, transparent 1px),
        var(--ip-surface);
    background-size: 26px 26px, 26px 26px, auto;
    padding: 24px;
}

.report-builder-node {
    position: relative;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 14px;
    border: 1px solid var(--ip-border);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
    padding: 16px;
}

[data-theme="dark"] .report-builder-node {
    background: rgba(17, 24, 39, 0.94);
}

.report-builder-node:not(:last-child)::after {
    content: "";
    position: absolute;
    bottom: -19px;
    left: 32px;
    width: 2px;
    height: 18px;
    border-radius: 999px;
    background: #B8C5D6;
}

.report-builder-node__step {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: #EEF4FF;
    color: #356DFF;
    font-size: 13px;
    font-weight: 850;
}

.report-builder-node h3,
.report-builder-node p {
    margin: 0;
}

.report-builder-node h3 {
    color: var(--ip-text-primary);
    font-size: 15px;
    font-weight: 850;
    line-height: 1.32;
}

.report-builder-node small,
.report-builder-node p {
    color: var(--ip-text-secondary);
    font-size: 12px;
    font-weight: 650;
}

.report-builder-node__answers {
    grid-column: 2;
    display: grid;
    gap: 10px;
}

.open-answer-item {
    display: grid;
    gap: 10px;
    border: 1px solid var(--ip-border);
    border-radius: var(--radius-lg);
    background: var(--ip-surface);
    padding: 14px;
}

.open-answer-item strong,
.open-answer-item span {
    display: block;
}

.open-answer-item strong {
    color: var(--ip-text-primary);
    font-size: 14px;
    font-weight: 800;
}

.open-answer-item span {
    margin-top: 4px;
    color: var(--ip-text-muted);
    font-size: 12px;
    font-weight: 600;
}

.open-answer-item p {
    margin: 0;
    color: var(--ip-text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

.presentation-page {
    min-height: 100vh;
    background: var(--ip-primary-dark);
    color: #FFFFFF;
}

.presentation-shell {
    width: min(100%, 1180px);
    margin: 0 auto;
    padding: 28px;
}

.presentation-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.presentation-period {
    text-align: right;
}

.presentation-period strong,
.presentation-period span {
    display: block;
}

.presentation-period strong {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 800;
}

.presentation-period span {
    margin-top: 4px;
    color: #94A3B8;
    font-size: 12px;
    font-weight: 650;
}

.presentation-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.presentation-metrics article,
.presentation-panel,
.presentation-indicators article {
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(26, 58, 107, 0.46);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.presentation-metrics article {
    border-radius: var(--radius-lg);
    padding: 18px;
}

.presentation-metrics span,
.presentation-indicators span,
.presentation-indicators small,
.presentation-empty {
    color: #94A3B8;
}

.presentation-metrics span {
    display: block;
    font-size: 12px;
    font-weight: 800;
}

.presentation-metrics strong {
    display: block;
    margin-top: 12px;
    font-size: 30px;
    font-weight: 800;
}

.presentation-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.presentation-panel {
    border-radius: var(--radius-lg);
    padding: 20px;
}

.presentation-panel h2 {
    margin: 0 0 16px;
    color: #FFFFFF;
    font-size: 17px;
    font-weight: 800;
}

.presentation-list {
    display: grid;
    gap: 10px;
}

.presentation-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.06);
    padding: 12px 14px;
}

.presentation-list span {
    color: #CBD5E1;
    font-size: 13px;
    font-weight: 650;
}

.presentation-list strong {
    color: var(--ip-accent);
    font-size: 17px;
    font-weight: 800;
}

.presentation-indicators {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.presentation-indicators article {
    display: grid;
    gap: 8px;
    border-radius: var(--radius-md);
    padding: 14px;
}

.presentation-indicators span,
.presentation-indicators small {
    font-size: 11px;
    font-weight: 700;
}

.presentation-indicators strong {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
}

.presentation-empty {
    margin: 0;
    font-size: 13px;
    font-weight: 650;
}

.progress-track {
    width: 100%;
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--ip-border);
}

.progress-bar {
    height: 100%;
    border-radius: inherit;
    background: var(--ip-accent);
    transition: width 260ms ease;
}

.admin-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.metric-card {
    position: relative;
    overflow: hidden;
    min-height: 132px;
    border: 1px solid var(--ip-border);
    border-radius: var(--radius-lg);
    background: var(--ip-surface);
    box-shadow: var(--shadow-card);
    padding: 18px;
}

.metric-card span {
    display: block;
    color: var(--ip-text-muted);
    font-size: 12px;
    font-weight: 800;
}

.metric-card strong {
    display: block;
    margin-top: 14px;
    color: var(--ip-text-primary);
    font-size: 30px;
    font-weight: 800;
}

.metric-card i {
    position: absolute;
    right: 16px;
    top: 16px;
    color: var(--ip-accent);
    font-size: 26px;
}

.editor-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 18px;
    align-items: start;
}

.editor-grid--questions {
    grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
    margin-top: 18px;
}

.panel-title {
    margin: 0 0 14px;
    color: var(--ip-text-primary);
    font-size: 16px;
    font-weight: 800;
}

.summary-list {
    display: grid;
    gap: 10px;
}

.summary-list span {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-radius: var(--radius-md);
    background: var(--ip-surface-soft);
    color: var(--ip-text-secondary);
    padding: 12px;
    font-size: 13px;
    font-weight: 650;
}

.summary-list strong {
    color: var(--ip-primary);
}

.toggle-line {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ip-text-secondary);
    font-size: 13px;
    font-weight: 800;
}

.toggle-line input {
    width: 18px;
    height: 18px;
    accent-color: var(--ip-primary);
}

.conditional-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.is-hidden {
    display: none !important;
}

.question-admin-list {
    display: grid;
    gap: 12px;
}

.question-admin-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    border: 1px solid var(--ip-border);
    border-radius: var(--radius-lg);
    background: var(--ip-surface);
    padding: 14px;
}

.question-admin-item__meta {
    display: block;
    color: var(--ip-text-muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.question-admin-item h3 {
    margin: 6px 0 4px;
    color: var(--ip-text-primary);
    font-size: 14px;
    font-weight: 800;
}

.question-admin-item p {
    margin: 0;
    color: var(--ip-text-secondary);
    font-size: 13px;
}

.form-progress-sticky {
    position: sticky;
    top: 68px;
    z-index: 25;
    margin: -4px 0 14px;
    border: 1px solid var(--ip-border);
    border-radius: var(--radius-lg);
    background: var(--ip-surface);
    box-shadow: var(--shadow-card);
    padding: 12px 14px;
}

.form-progress-sticky__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    color: var(--ip-text-secondary);
    font-size: 12px;
    font-weight: 700;
}

.form-progress-sticky__header strong {
    color: var(--ip-accent);
}

.form-intro-card {
    position: relative;
    overflow: hidden;
    margin-bottom: 14px;
    border-color: rgba(226, 232, 240, 0.78);
    background:
        radial-gradient(circle at 16% 16%, rgba(75, 184, 232, 0.12), transparent 32%),
        radial-gradient(circle at 82% 18%, rgba(26, 58, 107, 0.08), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9));
    box-shadow: 0 18px 52px rgba(15, 23, 42, 0.06);
}

.form-intro-card::before,
.form-intro-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.form-intro-card::before {
    opacity: 0.52;
    background:
        radial-gradient(circle at 88% 24%, rgba(75, 184, 232, 0.24) 0 2px, transparent 3px),
        radial-gradient(circle at 70% 72%, rgba(26, 58, 107, 0.16) 0 1px, transparent 2px),
        radial-gradient(circle at 42% 28%, rgba(96, 165, 250, 0.18) 0 1px, transparent 2px),
        linear-gradient(132deg, transparent 0 58%, rgba(26, 58, 107, 0.08) 58.2% 58.5%, transparent 58.8% 100%),
        linear-gradient(28deg, transparent 0 20%, rgba(75, 184, 232, 0.08) 20.2% 20.5%, transparent 20.8% 100%);
    background-size: 260px 160px, 320px 190px, 220px 150px, 460px 240px, 360px 210px;
    animation: form-hero-detail-drift 32s ease-in-out infinite alternate;
}

.form-intro-card::after {
    inset: 16px auto auto 62%;
    width: 160px;
    height: 160px;
    border-radius: 999px;
    background: rgba(75, 184, 232, 0.1);
    filter: blur(26px);
    animation: form-orb-breathe 24s ease-in-out infinite alternate;
}

.form-intro-card > * {
    position: relative;
    z-index: 1;
}

.form-intro-card h1 {
    margin: 12px 0 6px;
    color: var(--ip-text-primary);
    font-size: 22px;
    font-weight: 800;
}

.form-intro-card p {
    margin: 0;
    color: var(--ip-text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

.student-page--form .form-intro-card {
    margin-bottom: 10px;
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.student-page--form .form-intro-card::before,
.student-page--form .form-intro-card::after {
    display: none;
}

.student-page--form .form-intro-card h1 {
    margin: 0;
    color: var(--ip-text-primary);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.25;
}

.student-page--form .form-intro-card p,
.student-page--form .form-intro-card .back-link {
    display: none;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--ip-accent);
    font-size: 13px;
    font-weight: 700;
}

.back-link:hover {
    color: var(--ip-primary);
}

.question-form {
    display: grid;
    gap: 14px;
    position: relative;
}

.question-card {
    position: relative;
    display: grid;
    gap: 14px;
    border-color: rgba(226, 232, 240, 0.82);
    background:
        radial-gradient(circle at top right, rgba(75, 184, 232, 0.06), transparent 36%),
        var(--ip-surface);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
    transform: translate3d(0, 0, 0);
    transition: box-shadow 220ms ease, transform 220ms ease, border-color 220ms ease;
}

.question-card::before {
    content: "";
    position: absolute;
    inset: -22px 18px auto;
    height: 72px;
    z-index: -1;
    border-radius: 999px;
    background: rgba(75, 184, 232, 0.14);
    filter: blur(28px);
    opacity: 0.72;
    pointer-events: none;
}

.question-card:not(.is-hidden):not(.is-wizard-hidden) {
    animation: question-enter-next 250ms cubic-bezier(0.22, 1, 0.36, 1);
}

.question-form[data-transition-direction="prev"] .question-card:not(.is-hidden):not(.is-wizard-hidden) {
    animation-name: question-enter-prev;
}

.question-card:hover {
    transform: translate3d(0, -2px, 0);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.1);
}

.question-card.is-hidden {
    display: none;
}

.question-card.is-wizard-hidden {
    display: none;
}

.question-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--ip-text-muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.question-card__header small {
    border-radius: 999px;
    background: var(--ip-info-bg);
    color: var(--ip-info-text);
    padding: 4px 8px;
    font-size: 10px;
    text-transform: none;
}

.question-card h2 {
    margin: 0;
    color: var(--ip-text-primary);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.35;
}

.choice-list {
    display: grid;
    gap: 10px;
}

.choice-list--inline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-option,
.scale-option {
    cursor: pointer;
}

.choice-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    border: 1px solid var(--ip-border);
    border-radius: var(--radius-md);
    background: var(--ip-surface);
    color: var(--ip-text-primary);
    padding: 0 46px 0 13px;
    font-size: 14px;
    font-weight: 650;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.025);
    transform: translate3d(0, 0, 0);
    transition: border-color 220ms ease, background-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.choice-option::after {
    content: "\2713";
    position: absolute;
    right: 14px;
    top: 50%;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--ip-accent), #2563EB);
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 900;
    opacity: 0;
    transform: translate3d(0, -50%, 0) scale(0.72);
    transition: opacity 200ms ease, transform 200ms ease;
}

.choice-option:hover {
    border-color: rgba(75, 184, 232, 0.7);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05);
    transform: translate3d(0, -2px, 0);
}

.choice-option:has(input:checked) {
    border-color: var(--ip-accent);
    background:
        radial-gradient(circle at right, rgba(75, 184, 232, 0.14), transparent 42%),
        var(--ip-surface);
    box-shadow: 0 16px 34px rgba(75, 184, 232, 0.18);
    transform: translate3d(0, -3px, 0);
}

.choice-option:has(input:checked)::after {
    opacity: 1;
    transform: translate3d(0, -50%, 0) scale(1);
}

.choice-option.is-confirming {
    animation: answer-confirm 250ms cubic-bezier(0.22, 1, 0.36, 1);
}

.choice-option input {
    accent-color: var(--ip-primary);
}

.scale-options {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

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

.scale-option span {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ip-border);
    border-radius: var(--radius-md);
    background: var(--ip-surface);
    color: var(--ip-text-secondary);
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.025);
    transform: translate3d(0, 0, 0);
    transition: border-color 220ms ease, background-color 220ms ease, color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.scale-option:hover span {
    border-color: rgba(75, 184, 232, 0.7);
    transform: translate3d(0, -2px, 0);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05);
}

.scale-option input:checked + span {
    border-color: var(--ip-accent);
    background: linear-gradient(180deg, #2563EB, var(--ip-primary));
    color: #FFFFFF;
    box-shadow: 0 16px 34px rgba(75, 184, 232, 0.2);
    transform: translate3d(0, -3px, 0);
}

.scale-option.is-confirming span {
    animation: answer-confirm 250ms cubic-bezier(0.22, 1, 0.36, 1);
}

.question-card__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 8px;
    padding-top: 8px;
}

.question-card__actions [data-wizard-next] {
    min-height: 46px;
    padding-inline: 22px;
    border: 0;
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 42%),
        linear-gradient(135deg, #2563EB 0%, var(--ip-primary) 100%);
    box-shadow: 0 16px 34px rgba(26, 58, 107, 0.22);
    transform: translate3d(0, 0, 0);
    transition: transform 200ms ease, box-shadow 200ms ease, filter 200ms ease;
}

.question-card__actions [data-wizard-next]:hover:not(:disabled) {
    filter: brightness(1.05);
    transform: translate3d(0, -2px, 0);
    box-shadow: 0 22px 42px rgba(26, 58, 107, 0.28);
}

.question-card__actions [data-wizard-next]:active:not(:disabled) {
    transform: scale(0.98);
}

.question-card__actions [data-wizard-next].is-ready {
    transform: translate3d(0, -1px, 0) scale(1.02);
    box-shadow: 0 22px 46px rgba(75, 184, 232, 0.3);
}

.wizard-next-arrow {
    display: inline-block;
    margin-left: 6px;
    transition: transform 200ms ease;
}

.question-card__actions [data-wizard-next]:hover .wizard-next-arrow {
    transform: translate3d(4px, 0, 0);
}

.success-screen {
    position: relative;
    min-height: calc(100vh - 124px);
    display: grid;
    place-items: center;
    padding: 4px 0 20px;
    overflow: hidden;
}

.success-screen__confetti {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.success-screen__card {
    position: relative;
    z-index: 1;
    width: min(100%, 620px);
    display: grid;
    gap: 18px;
    padding: 28px 28px 24px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top, rgba(75, 184, 232, 0.08), transparent 26%),
        var(--ip-surface);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
    text-align: center;
    animation: success-card-enter 400ms cubic-bezier(0.22, 1, 0.36, 1);
}

.success-screen__icon-wrap {
    position: relative;
    width: 96px;
    height: 96px;
    margin: 0 auto;
    display: grid;
    place-items: center;
}

.success-screen__icon-glow {
    position: absolute;
    inset: 10px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.18) 0%, rgba(34, 197, 94, 0.04) 72%, transparent 100%);
    filter: blur(2px);
}

.success-screen__icon {
    position: relative;
    width: 68px;
    height: 68px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(180deg, #E8FCEB 0%, #D8F8DF 100%);
    color: var(--ip-success-text);
    box-shadow: 0 18px 40px rgba(34, 197, 94, 0.16);
    animation: success-icon-pop 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.success-screen__icon i {
    font-size: 34px;
}

.success-screen__copy {
    display: grid;
    gap: 8px;
}

.success-screen__copy h1 {
    margin: 0;
    color: var(--ip-primary);
    font-size: clamp(34px, 6vw, 56px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 0.94;
}

.success-screen__subtitle {
    margin: 0;
    color: var(--ip-text-secondary);
    font-size: 15px;
    font-weight: 500;
}

.success-screen__entity {
    display: block;
    margin: 2px auto 0;
    color: #356DFF;
    font-size: clamp(22px, 3.4vw, 34px);
    font-weight: 800;
    line-height: 1.06;
    max-width: 500px;
}

.success-screen__text {
    max-width: 500px;
    margin: 2px auto 0;
    color: var(--ip-text-secondary);
    font-size: 15px;
    line-height: 1.55;
}

.success-screen__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.success-screen__fact {
    display: grid;
    gap: 8px;
    justify-items: center;
    padding: 6px 8px;
    text-align: center;
}

.success-screen__fact-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(75, 184, 232, 0.12);
    color: var(--ip-primary);
    font-size: 15px;
}

.success-screen__fact strong {
    display: block;
    color: var(--ip-text-primary);
    font-size: 14px;
    font-weight: 800;
}

.success-screen__fact p {
    margin: 4px 0 0;
    color: var(--ip-text-secondary);
    font-size: 12px;
    line-height: 1.35;
}

.success-screen__actions {
    display: grid;
    justify-content: center;
}

.success-screen__button {
    width: min(100%, 320px);
    min-height: 50px;
    justify-self: center;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 18px 34px rgba(53, 109, 255, 0.22);
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.success-screen__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 42px rgba(53, 109, 255, 0.26);
}

.success-screen__button:active {
    transform: scale(0.98);
}

.success-screen__button:focus-visible {
    outline: 3px solid rgba(75, 184, 232, 0.32);
    outline-offset: 4px;
}

@keyframes success-card-enter {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes success-icon-pop {
    0% {
        opacity: 0;
        transform: scale(0.82);
    }

    65% {
        transform: scale(1.06);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes form-page-enter {
    from {
        opacity: 0;
        transform: scale(0.98);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes form-bg-drift {
    from {
        transform: translate3d(-10px, -6px, 0) scale(1);
    }

    to {
        transform: translate3d(16px, 10px, 0) scale(1.02);
    }
}

@keyframes form-bg-breathe {
    from {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0.55;
    }

    to {
        transform: translate3d(10px, -8px, 0) scale(1.035);
        opacity: 0.76;
    }
}

@keyframes form-hero-detail-drift {
    from {
        transform: translate3d(-8px, 0, 0);
    }

    to {
        transform: translate3d(10px, -6px, 0);
    }
}

@keyframes form-orb-breathe {
    from {
        transform: scale(0.98);
        opacity: 0.55;
    }

    to {
        transform: scale(1.06);
        opacity: 0.78;
    }
}

@keyframes question-enter-next {
    from {
        opacity: 0;
        transform: translate3d(18px, 0, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes question-enter-prev {
    from {
        opacity: 0;
        transform: translate3d(-18px, 0, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes answer-confirm {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    52% {
        transform: translate3d(0, -4px, 0) scale(1.015);
    }

    100% {
        transform: translate3d(0, -3px, 0) scale(1);
    }
}

.section-block {
    margin-top: 24px;
}

.student-profile-card,
.progress-card {
    margin-bottom: 16px;
}

.profile-summary {
    display: flex;
    align-items: center;
    gap: 14px;
}

.profile-summary__avatar {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: var(--radius-lg);
    background: var(--ip-accent-light);
    color: var(--ip-primary);
    font-size: 16px;
    font-weight: 800;
}

.profile-summary h1 {
    margin: 0;
    color: var(--ip-text-primary);
    font-size: 20px;
    font-weight: 800;
}

.profile-summary p {
    margin: 4px 0 0;
    color: var(--ip-text-secondary);
    font-size: 13px;
}

.profile-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.profile-facts span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    border-radius: 999px;
    background: var(--ip-surface-soft);
    color: var(--ip-text-secondary);
    padding: 0 10px;
    font-size: 12px;
    font-weight: 600;
}

.profile-facts i {
    color: var(--ip-accent);
    font-size: 15px;
}

.profile-logout {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    border-radius: 999px;
    background: var(--ip-danger-bg);
    color: var(--ip-danger-text);
    padding: 0 10px;
    font-size: 12px;
    font-weight: 800;
}

.profile-logout i {
    color: currentColor;
}

.unit-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    border: 1px solid var(--ip-border);
    border-radius: var(--radius-md);
    background: var(--ip-surface-soft);
    padding: 5px;
}

.unit-switch label {
    cursor: pointer;
}

.unit-switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.unit-switch span {
    display: flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: calc(var(--radius-md) - 4px);
    color: var(--ip-text-secondary);
    font-size: 13px;
    font-weight: 800;
    transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.unit-switch input:checked + span {
    background: var(--ip-primary);
    color: #FFFFFF;
    box-shadow: 0 8px 18px rgba(26, 58, 107, 0.22);
}

.progress-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.progress-card h2 {
    margin: 0;
    color: var(--ip-text-primary);
    font-size: 15px;
    font-weight: 800;
}

.progress-card p {
    margin: 4px 0 0;
    color: var(--ip-text-secondary);
    font-size: 13px;
}

.progress-card strong {
    color: var(--ip-accent);
    font-size: 18px;
    font-weight: 800;
}

.form-card-list,
.journey-list {
    display: grid;
    gap: 12px;
}

.form-card,
.journey-item {
    border: 1px solid var(--ip-border);
    border-radius: var(--radius-lg);
    background: var(--ip-surface);
    box-shadow: var(--shadow-card);
}

.form-card {
    display: grid;
    gap: 14px;
    padding: 16px;
}

.form-card.is-pending {
    border-color: var(--ip-accent);
}

.form-card__title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 5px;
}

.form-card h3,
.journey-item h3 {
    margin: 0;
    color: var(--ip-text-primary);
    font-size: 15px;
    font-weight: 800;
}

.form-card p,
.journey-item p {
    margin: 0;
    color: var(--ip-text-secondary);
    font-size: 13px;
    line-height: 1.45;
}

.form-card__meta {
    display: inline-block;
    margin-top: 10px;
    color: var(--ip-text-muted);
    font-size: 12px;
    font-weight: 600;
}

.journey-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
}

.journey-item > i {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: var(--radius-md);
    background: var(--ip-accent-light);
    color: var(--ip-primary);
    font-size: 21px;
}

.student-dashboard {
    display: grid;
    gap: 20px;
}

.student-section {
    display: grid;
    gap: 16px;
}

.student-hero-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    align-items: stretch;
    gap: 16px;
    padding-top: 0;
}

.student-hero-copy {
    position: relative;
    min-height: 0;
    display: grid;
    align-content: center;
    gap: 6px;
    padding: 22px 26px;
    overflow: hidden;
}

.student-hero-copy::before,
.student-hero-copy::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.student-hero-copy::before {
    top: 26px;
    right: 42px;
    width: 64px;
    height: 64px;
    background: rgba(99, 136, 255, 0.14);
    box-shadow: 0 0 0 18px rgba(99, 136, 255, 0.03);
}

.student-hero-copy::after {
    right: 66px;
    bottom: 42px;
    width: 42px;
    height: 42px;
    background: rgba(174, 194, 255, 0.22);
}

.student-hero-copy h1 {
    margin: 0;
    color: var(--ip-text-primary);
    font-size: clamp(20px, 1.6vw, 26px);
    font-weight: 800;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.student-hero-copy p {
    max-width: 360px;
    margin: 0;
    color: var(--ip-text-secondary);
    font-size: 13px;
    line-height: 1.5;
}

.student-progress-card {
    min-height: 0;
    padding: 18px 22px;
    display: grid;
    align-content: center;
    gap: 6px;
}

.student-progress-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.student-progress-card__icon,
.student-pending-card__icon,
.student-journey-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: var(--radius-lg);
}

.student-progress-card__icon {
    width: 44px;
    height: 44px;
    background: #EEF4FF;
    color: #356DFF;
    font-size: 18px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88), 0 10px 18px rgba(83, 131, 255, 0.1);
}

.student-progress-card h2 {
    margin: 2px 0 0;
    color: var(--ip-text-secondary);
    font-size: 15px;
    font-weight: 700;
}

.student-progress-card strong {
    display: block;
    margin-top: 0;
    color: #356DFF;
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
}

.student-progress-card p {
    margin: 0 0 6px;
    color: var(--ip-text-secondary);
    font-size: 13px;
    line-height: 1.45;
}

.progress-track {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: #E8EEF7;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #356DFF 0%, var(--ip-accent) 100%);
}

.student-pending-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
        "main"
        "actions";
    align-items: stretch;
    gap: 12px;
    padding: 20px 24px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.student-pending-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.96) 38%, rgba(255, 255, 255, 0.84) 58%, rgba(255, 255, 255, 0.34) 78%, rgba(255, 255, 255, 0) 100%);
}

.student-pending-card::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 6%;
    width: 220px;
    height: 220px;
    z-index: 1;
    border-radius: 999px;
    background: rgba(106, 160, 255, 0.16);
    filter: blur(40px);
    transform: translateY(-50%);
    pointer-events: none;
}

.student-pending-card__main {
    position: relative;
    z-index: 3;
    grid-area: main;
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.student-pending-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: #F3F7FF;
    color: #356DFF;
    font-size: 22px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 18px rgba(99, 136, 255, 0.1);
}

.student-pending-card__content {
    display: grid;
    gap: 10px;
    max-width: min(100%, 56%);
}

.student-pending-card__content .badge {
    width: fit-content;
}

.student-pending-card__content h3 {
    margin: 0;
    color: var(--ip-text-primary);
    font-size: 30px;
    font-weight: 800;
    line-height: 1.12;
}

.student-pending-card__content p {
    margin: 0;
    color: var(--ip-text-secondary);
    font-size: 13px;
    line-height: 1.5;
}

.student-pending-card__visual {
    position: absolute;
    top: 50%;
    right: 18px;
    z-index: 1;
    width: 44%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
    pointer-events: none;
    transform: translateY(-50%);
}

.student-pending-illustration {
    position: relative;
    width: min(100%, 228px);
    height: 168px;
    transform: scale(0.72);
}

.student-pending-illustration__sheet {
    position: absolute;
    inset: 14px 42px 20px 34px;
    border: 1px solid #E3EBFF;
    border-radius: 28px;
    background: linear-gradient(180deg, #FFFFFF 0%, #F6F8FF 100%);
    box-shadow: 0 30px 46px rgba(53, 109, 255, 0.12);
    transform: rotate(8deg);
}

.student-pending-illustration__sheet::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    width: 38px;
    height: 24px;
    border-radius: 10px;
    background: #DCE7FF;
    transform: translateX(-50%);
}

.student-pending-illustration__sheet span {
    display: block;
    width: 64%;
    height: 12px;
    margin: 30px auto 0;
    border-radius: 999px;
    background: #DDE7FF;
    box-shadow: -56px 0 0 -2px #356DFF;
}

.student-pending-illustration__pen {
    position: absolute;
    right: 32px;
    bottom: 30px;
    width: 26px;
    height: 102px;
    border-radius: 999px;
    background: linear-gradient(180deg, #6AA0FF 0%, #356DFF 100%);
    box-shadow: 0 18px 28px rgba(53, 109, 255, 0.2);
    transform: rotate(30deg);
}

.student-pending-card__actions {
    position: relative;
    z-index: 4;
    grid-area: actions;
    display: grid;
    justify-items: stretch;
    gap: 12px;
    width: 100%;
}

.student-pending-card__actions .btn {
    width: 100%;
    min-height: 46px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(26, 58, 107, 0.14);
}

.student-pending-card--secondary {
    gap: 10px;
    padding: 14px 18px;
}

.student-pending-card--secondary .student-pending-card__icon,
.student-pending-card--secondary .student-pending-card__visual,
.student-pending-card--secondary .student-pending-card__visual::after,
.student-pending-card--secondary .badge {
    transition: opacity 300ms ease, transform 300ms ease, background-color 300ms ease, color 300ms ease, box-shadow 300ms ease;
}

.student-pending-card--secondary .student-pending-card__content {
    max-width: 100%;
}

.student-pending-card--secondary .student-pending-card__visual {
    display: none;
}

.student-pending-card--secondary .student-pending-card__visual::after {
    content: '\2713';
    position: absolute;
    top: 50%;
    right: 14px;
    z-index: 2;
    color: rgba(34, 197, 94, 0.08);
    font-size: 120px;
    font-weight: 800;
    line-height: 1;
    opacity: 0;
    transform: translateY(-50%) scale(0.96);
    pointer-events: none;
}

.student-pending-card--secondary .student-pending-illustration {
    width: min(100%, 152px);
    height: 102px;
}

.student-pending-card--secondary .student-pending-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 18px;
}

.student-pending-card--secondary .student-pending-card__content h3 {
    font-size: 30px;
    line-height: 1.12;
}

.student-pending-card--secondary .student-pending-card__content p {
    font-size: 12.5px;
    line-height: 1.45;
}

.student-form-list {
    display: grid;
    gap: 8px;
}

.student-pending-card--secondary.is-done {
    border-color: rgba(34, 197, 94, 0.18);
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.07), 0 0 0 1px rgba(34, 197, 94, 0.05);
}

.student-pending-card--secondary.is-done .student-pending-card__icon {
    background: var(--ip-success-bg);
    color: var(--ip-success);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 18px 28px rgba(34, 197, 94, 0.12);
}

.student-pending-card--secondary.is-done .student-pending-card__visual::after {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.student-inline-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #356DFF;
    font-size: 15px;
    font-weight: 700;
}

.student-inline-link:hover {
    color: var(--ip-primary);
}

.student-journey-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.student-journey-card {
    display: grid;
    gap: 16px;
    min-height: 220px;
    padding: 28px;
}

.student-journey-card__icon {
    width: 74px;
    height: 74px;
    font-size: 34px;
}

.student-journey-card__icon.is-green {
    background: #E8FFF4;
    color: #18A567;
}

.student-journey-card__icon.is-purple {
    background: #F4EAFF;
    color: #8B3DFF;
}

.student-journey-card__icon.is-amber {
    background: #FFF2DF;
    color: #E98A12;
}

.student-journey-card h3 {
    margin: 0;
    color: var(--ip-text-primary);
    font-size: 19px;
    font-weight: 800;
    line-height: 1.25;
}

.student-journey-card p {
    margin: -8px 0 0;
    color: var(--ip-text-secondary);
    font-size: 16px;
    line-height: 1.5;
}

.student-journey-card__footer {
    display: grid;
    gap: 10px;
    margin-top: auto;
}

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

.student-form-list-section {
    gap: 0;
}

/* ================================================
   DASHBOARD PREMIUM - Ilustracoes e animacoes
   ================================================ */

.student-hero-copy__illustration {
    position: absolute;
    top: 50%;
    right: 16px;
    width: 110px;
    height: 110px;
    transform: translateY(-50%);
    pointer-events: none;
    opacity: 0.88;
    filter: drop-shadow(0 8px 16px rgba(53, 109, 255, 0.14));
}

.student-pending-illustration-img {
    display: block;
    width: 100%;
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 6px 12px rgba(53, 109, 255, 0.12));
}

.student-dashboard .app-card {
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.student-dashboard .app-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(26, 58, 107, 0.10), 0 2px 8px rgba(26, 58, 107, 0.06);
}

.student-progress-card strong {
    font-size: 52px;
    font-weight: 800;
    line-height: 1;
    color: #356DFF;
}

@keyframes progressGrow {
    from {
        width: 0%;
    }

    to {
        width: var(--progress-target);
    }
}

.progress-bar[data-progress] {
    animation: progressGrow 900ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 200ms;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
}

.student-pending-card .student-pending-card__visual {
    width: 38%;
    right: 12px;
}

.student-pending-card--secondary .student-pending-illustration-img {
    max-width: 120px;
    opacity: 0.85;
}

.student-form-list .student-pending-card--secondary {
    animation: cardSlideIn 320ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.student-form-list .student-pending-card--secondary:nth-child(1) {
    animation-delay: 60ms;
}

.student-form-list .student-pending-card--secondary:nth-child(2) {
    animation-delay: 120ms;
}

.student-form-list .student-pending-card--secondary:nth-child(3) {
    animation-delay: 180ms;
}

.student-form-list .student-pending-card--secondary:nth-child(4) {
    animation-delay: 240ms;
}

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.avatar-pill {
    background: var(--ip-primary);
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 800;
}

@media (max-width: 520px) {
    .student-hero-copy__illustration {
        width: 80px;
        height: 80px;
        right: 10px;
        opacity: 0.6;
    }
}

@media (max-width: 360px) {
    .student-hero-copy__illustration {
        display: none;
    }
}

.student-form-card {
    display: grid;
    gap: 18px;
    padding: 22px;
}

.student-form-card.is-done {
    border-color: rgba(34, 197, 94, 0.18);
}

.student-form-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.student-form-card__top h3 {
    margin: 10px 0 0;
    color: var(--ip-text-primary);
    font-size: 18px;
    font-weight: 800;
}

.student-form-card__top p {
    margin: 8px 0 0;
    color: var(--ip-text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

.student-form-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.student-form-card__done {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 999px;
    background: var(--ip-success-bg);
    color: var(--ip-success);
    font-size: 22px;
}

.student-profile-panel {
    display: grid;
    gap: 22px;
    padding: 26px 28px;
}

.student-profile-panel__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.student-profile-panel__header h3 {
    margin: 0;
    color: var(--ip-text-primary);
    font-size: 22px;
    font-weight: 800;
}

.student-profile-panel__header p {
    margin: 6px 0 0;
    color: var(--ip-text-secondary);
    font-size: 15px;
}

.student-profile-panel__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.student-profile-fact {
    display: grid;
    gap: 8px;
    min-height: 92px;
    border: 1px solid var(--ip-border);
    border-radius: var(--radius-lg);
    background: var(--ip-surface-soft);
    padding: 18px;
}

.student-profile-fact span {
    color: var(--ip-text-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.student-profile-fact strong {
    color: var(--ip-text-primary);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
}

.student-profile-modal {
    width: min(100%, 720px);
}

.student-delete-form {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--ip-border);
}

@media (min-width: 721px) {
    .student-pending-card--secondary {
        display: flex;
        align-items: center;
        gap: 14px;
    }

    .student-pending-card--secondary .student-pending-card__main {
        flex: 1;
        align-items: center;
        gap: 12px;
        min-width: 0;
    }

    .student-pending-card--secondary .student-pending-card__content {
        display: flex;
        align-items: center;
        gap: 12px;
        min-width: 0;
    }

    .student-pending-card--secondary .student-pending-card__content h3 {
        flex: 0 1 auto;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .student-pending-card--secondary .student-pending-card__content p {
        display: none;
    }

    .student-pending-card--secondary .student-pending-card__content .badge {
        flex: 0 0 auto;
    }

    .student-pending-card--secondary .student-pending-card__actions {
        flex: 0 0 auto;
        width: auto;
    }

    .student-pending-card--secondary .student-pending-card__actions .btn {
        width: auto;
        min-height: 36px;
        padding: 0 16px;
        border-radius: 10px;
        font-size: 12.5px;
        box-shadow: none;
    }
}

@media (min-width: 1024px) {
    .student-dashboard {
        gap: 16px;
    }

    .student-section {
        gap: 12px;
    }

    .student-hero-section {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
        gap: 14px;
    }

    .student-hero-copy,
    .student-progress-card {
        min-height: 136px;
    }

    .student-hero-copy {
        padding: 20px 24px;
        padding-right: 134px;
    }

    .student-hero-copy h1 {
        font-size: 24px;
    }

    .student-hero-copy p {
        max-width: 330px;
        font-size: 13px;
    }

    .student-hero-copy__illustration {
        right: 18px;
        width: 94px;
        height: 94px;
    }

    .student-progress-card {
        padding: 18px 20px;
    }

    .student-progress-card__icon {
        width: 40px;
        height: 40px;
        font-size: 17px;
    }

    .student-progress-card strong {
        font-size: 38px;
    }

    .student-progress-card p {
        font-size: 12.5px;
    }

    .student-pending-card {
        min-height: 250px;
        gap: 10px;
        padding: 28px 34px 30px;
        border-radius: 22px;
    }

    .student-pending-card__main {
        gap: 14px;
    }

    .student-pending-card__icon {
        width: 46px;
        height: 46px;
        border-radius: 14px;
        font-size: 20px;
    }

    .student-pending-card__content {
        gap: 8px;
        max-width: min(100%, 58%);
    }

    .student-pending-card__content h3 {
        font-size: 42px;
        line-height: 1.12;
    }

    .student-pending-card__content p {
        display: none;
        max-width: 520px;
        font-size: 12.5px;
        line-height: 1.45;
    }

    .student-pending-card .student-pending-card__visual {
        right: 30px;
        width: 32%;
        max-width: 230px;
        overflow: visible;
    }

    .student-pending-illustration-img {
        max-width: 190px;
        max-height: 180px;
        object-fit: contain;
    }

    .student-pending-card__actions {
        justify-items: start;
    }

    .student-pending-card__actions .btn {
        width: 100%;
        min-height: 58px;
        padding: 0 22px;
        border-radius: 18px;
        font-size: 18px;
    }

    .student-pending-card--secondary {
        min-height: 58px;
        padding: 12px 16px;
        border-radius: 16px;
    }

    .student-pending-card--secondary .student-pending-card__icon {
        width: 36px;
        height: 36px;
        border-radius: 11px;
        font-size: 17px;
    }

    .student-pending-card--secondary .student-pending-card__content h3 {
        font-size: 28px;
        line-height: 1.12;
    }

    .student-pending-card--secondary .student-pending-card__actions .btn {
        min-width: 180px;
        min-height: 36px;
        padding: 0 14px;
        border-radius: 10px;
        font-size: 12px;
    }
}

@media (max-width: 1100px) {
    .report-dashboard-grid,
    .report-explorer-layout,
    .report-builder-grid {
        grid-template-columns: 1fr;
    }

    .report-tree-panel,
    .report-selected-panel {
        position: static;
    }

    .report-filter-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .report-filter-bar--canvas {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .report-filter-bar__wide {
        grid-column: span 2;
    }

    .report-view-picker,
    .report-preview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .report-pie-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .toast-stack {
        top: 12px;
        right: 12px;
        left: 12px;
    }

    .app-toast {
        min-width: 0;
        max-width: none;
    }

    .section-header {
        flex-direction: column;
        align-items: stretch;
    }

    .form-grid,
    .form-grid--two,
    .form-grid--three,
    .form-grid--four,
    .form-detail-grid,
    .facts-grid,
    .checkbox-grid,
    .report-card-grid,
    .report-dashboard-grid,
    .report-explorer-layout,
    .report-builder-grid,
    .report-filter-bar,
    .report-form-picker,
    .report-indicator-list,
    .report-view-picker,
    .report-preview-grid,
    .report-pie-layout,
    .presentation-metrics,
    .presentation-grid,
    .presentation-indicators {
        grid-template-columns: 1fr;
    }

    .report-hero {
        align-items: stretch;
        flex-direction: column;
    }

    .report-hero h1 {
        font-size: 26px;
    }

    .report-nav {
        width: 100%;
        overflow-x: auto;
    }

    .report-nav__item {
        white-space: nowrap;
    }

    .report-filter-bar__wide {
        grid-column: auto;
    }

    .report-canvas-toolbar,
    .report-canvas-toolbar__left,
    .report-canvas-controls {
        align-items: stretch;
    }

    .report-canvas-toolbar {
        flex-direction: column;
    }

    .report-canvas-toolbar__left,
    .report-canvas-controls {
        width: 100%;
    }

    .report-canvas-controls .btn {
        flex: 1;
    }

    .report-canvas-breadcrumb {
        flex: 1;
    }

    .report-canvas-shell,
    .report-canvas-shell--fullscreen {
        min-height: 620px;
        border-radius: var(--radius-lg);
    }

    .admin-content--canvas-fullscreen .report-canvas-shell--fullscreen {
        border-radius: 0;
    }

    .report-canvas-workbench,
    .report-canvas-shell--fullscreen .report-canvas-workbench {
        min-height: 560px;
    }

    .report-canvas-drawer {
        width: min(340px, 94vw);
    }

    .report-students-actions {
        grid-template-columns: 1fr;
    }

    .report-timeline {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .report-form-ranking__item {
        grid-template-columns: 1fr;
    }

    .report-wizard-steps {
        flex-wrap: wrap;
    }

    .report-wizard-steps li {
        min-width: calc(50% - 4px);
    }

    .page-title-bar {
        flex-direction: column;
    }

    .student-page--form .form-intro-card {
        margin: -2px 0 8px;
        padding: 9px 12px;
        border-radius: 0 0 14px 14px;
        border-right: 0;
        border-left: 0;
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
    }

    .student-page--form .form-intro-card h1 {
        font-size: 15px;
        line-height: 1.25;
    }

    .student-journey-grid,
    .student-form-grid,
    .student-profile-panel__grid {
        grid-template-columns: 1fr;
    }

    .student-dashboard {
        gap: 24px;
    }

    .student-section {
        gap: 16px;
    }

    .student-hero-section {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: stretch;
        gap: 16px;
        padding-top: 6px;
    }

    .student-hero-copy {
        min-height: 196px;
        padding: 24px 22px;
    }

    .student-hero-copy h1 {
        font-size: clamp(32px, 7vw, 54px);
        line-height: 1.06;
    }

    .student-hero-copy p {
        max-width: 260px;
        font-size: 14px;
        line-height: 1.45;
    }

    .student-progress-card {
        min-height: 196px;
        padding: 22px 20px;
    }

    .student-progress-card__header {
        gap: 12px;
        margin-bottom: 10px;
    }

    .student-progress-card__icon {
        width: 54px;
        height: 54px;
        font-size: 24px;
    }

    .student-progress-card h2 {
        font-size: 14px;
        line-height: 1.35;
    }

    .student-progress-card strong {
        font-size: 52px;
    }

    .student-progress-card p {
        margin: 0 0 12px;
        font-size: 15px;
        line-height: 1.45;
    }

    .student-pending-card__content p,
    .student-journey-card p {
        font-size: 15px;
    }

    .progress-track {
        height: 8px;
    }

    .student-pending-card {
        gap: 14px;
        padding: 20px 22px 24px;
    }

    .student-pending-card--secondary {
        padding: 18px 18px 16px;
    }

    .student-pending-card__main,
    .student-profile-panel__header,
    .student-form-card__footer,
    .student-form-card__top {
        align-items: flex-start;
        flex-direction: column;
    }

    .student-pending-card__actions {
        width: 100%;
        justify-items: stretch;
        gap: 0;
    }

    .student-pending-card__actions .btn {
        width: 100%;
    }

    .student-pending-card__visual {
        right: -4px;
        width: 42%;
    }

    .student-pending-illustration {
        width: min(100%, 164px);
        height: 126px;
    }

    .student-pending-card--secondary .student-pending-card__visual {
        display: flex;
        right: -14px;
        width: 42%;
        opacity: 0.8;
    }

    .student-pending-card--secondary .student-pending-illustration {
        width: min(100%, 112px);
        height: 86px;
    }

    .student-pending-card__icon {
        width: 84px;
        height: 84px;
        font-size: 38px;
    }

    .student-pending-card--secondary .student-pending-card__icon {
        width: 72px;
        height: 72px;
        font-size: 32px;
    }

    .student-pending-card__content {
        gap: 10px;
        max-width: min(100%, 58%);
    }

    .student-pending-card__content h3 {
        font-size: 24px;
    }

    .student-pending-card__content p {
        font-size: 16px;
        line-height: 1.55;
    }

    .student-pending-card__content .badge {
        min-height: 26px;
        padding: 0 10px;
        font-size: 11px;
    }

    .student-pending-card__actions .btn {
        min-height: 56px;
        border-radius: 20px;
        font-size: 16px;
    }

    .student-pending-card--secondary {
        gap: 14px;
        padding: 16px 16px 14px;
    }

    .student-pending-card--secondary .student-pending-card__main {
        min-height: 108px;
    }

    .student-pending-card--secondary .student-pending-card__icon {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        font-size: 16px;
    }

    .student-pending-card--secondary .student-pending-card__content {
        gap: 6px;
        max-width: min(100%, calc(100% - 86px));
    }

    .student-pending-card--secondary .student-pending-card__content .badge {
        margin-left: 44px;
        min-height: 20px;
        padding: 0 8px;
        font-size: 9px;
    }

    .student-pending-card--secondary .student-pending-card__content h3 {
        margin-top: 10px;
        font-size: 20px;
        line-height: 1.26;
    }

    .student-pending-card--secondary .student-pending-card__content p {
        font-size: 12px;
        line-height: 1.45;
    }

    .student-pending-card--secondary .student-pending-card__visual {
        top: 8px;
        right: -10px;
        width: 108px;
        opacity: 0.5;
    }

    .student-pending-card--secondary .student-pending-illustration {
        width: 108px;
        height: 82px;
    }

    .student-pending-card--secondary .student-pending-card__actions .btn {
        min-height: 42px;
        border-radius: 14px;
        font-size: 12px;
    }

    .student-pending-card {
        min-height: 0;
    }

    .student-pending-card__main {
        position: relative;
        display: block;
        min-height: 132px;
    }

    .student-pending-card__icon {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 4;
        width: 44px;
        height: 44px;
        border-radius: 14px;
        font-size: 20px;
    }

    .student-pending-card__content {
        position: relative;
        z-index: 3;
        max-width: min(100%, calc(100% - 118px));
    }

    .student-pending-card__content .badge {
        margin-left: 58px;
        min-height: 24px;
        padding: 0 10px;
        font-size: 11px;
    }

    .student-pending-card__content h3 {
        margin-top: 14px;
        font-size: 20px;
        line-height: 1.24;
    }

    .student-pending-card__content p {
        font-size: 15px;
        line-height: 1.5;
    }

    .student-pending-card__visual {
        top: 10px;
        right: -4px;
        width: 148px;
        transform: none;
        opacity: 0.9;
    }

    .student-pending-illustration {
        width: 148px;
        height: 114px;
    }

    .student-pending-card__actions {
        z-index: 4;
    }

    .student-pending-card__actions .btn {
        min-height: 58px;
        font-size: 16px;
    }

    .student-pending-card--secondary.is-done {
        gap: 14px;
        padding: 20px 22px 24px;
    }

    .student-pending-card--secondary.is-done .student-pending-card__main {
        min-height: 132px;
    }

    .student-pending-card--secondary.is-done .student-pending-card__icon {
        width: 44px;
        height: 44px;
        border-radius: 14px;
        font-size: 20px;
    }

    .student-pending-card--secondary.is-done .student-pending-card__content {
        gap: 10px;
        max-width: min(100%, calc(100% - 118px));
    }

    .student-pending-card--secondary.is-done .student-pending-card__content .badge {
        margin-left: 58px;
        min-height: 24px;
        padding: 0 10px;
        font-size: 11px;
    }

    .student-pending-card--secondary.is-done .student-pending-card__content h3 {
        margin-top: 14px;
        font-size: 20px;
        line-height: 1.24;
    }

    .student-pending-card--secondary.is-done .student-pending-card__content p {
        font-size: 15px;
        line-height: 1.5;
    }

    .student-pending-card--secondary.is-done .student-pending-card__visual {
        top: 10px;
        right: -4px;
        width: 148px;
        opacity: 0.88;
    }

    .student-pending-card--secondary.is-done .student-pending-illustration {
        width: 148px;
        height: 114px;
    }

    .student-pending-card--secondary.is-done .student-pending-card__actions .btn {
        min-height: 56px;
        font-size: 16px;
    }

    .section-header__title {
        font-size: 18px;
        line-height: 1.25;
    }

    .student-journey-grid {
        gap: 10px;
    }

    .student-journey-card {
        min-height: 0;
        gap: 10px;
    }

    .student-journey-card__icon {
        width: 54px;
        height: 54px;
        font-size: 24px;
    }

    .student-journey-card,
    .student-form-card,
    .student-profile-panel {
        padding: 14px;
    }

    .student-form-grid {
        gap: 10px;
    }

    .student-journey-card h3,
    .student-form-card__top h3 {
        font-size: 15px;
    }

    .student-form-card__top p {
        font-size: 13px;
    }

    .student-form-card__done {
        width: 34px;
        height: 34px;
        font-size: 18px;
    }

    .section-header__title {
        font-size: 18px;
    }

    .student-inline-link {
        font-size: 13px;
    }

    .page-title-bar__actions {
        width: 100%;
        justify-content: stretch;
    }

    .page-title-bar__actions .btn {
        width: 100%;
    }

    .form-editor-hero {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .form-editor-facts {
        align-items: flex-start;
        justify-content: flex-start;
        flex-direction: column;
    }

    .form-editor-details {
        justify-items: start;
    }

    .form-editor-details__top {
        justify-content: flex-start;
        text-align: left;
    }

    .filters-actions {
        flex-direction: column-reverse;
    }

    .filters-actions .btn {
        width: 100%;
    }

    .app-table-wrap {
        border: 0;
        background: transparent;
    }

    .app-table,
    .app-table thead,
    .app-table tbody,
    .app-table tr,
    .app-table th,
    .app-table td {
        display: block;
    }

    .app-table thead {
        display: none;
    }

    .app-table tr {
        margin-bottom: 12px;
        border: 1px solid var(--ip-border);
        border-radius: var(--radius-lg);
        background: var(--ip-surface);
        box-shadow: var(--shadow-card);
    }

    .app-table td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 12px 14px;
    }

    .app-table td::before {
        content: attr(data-label);
        color: var(--ip-text-muted);
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
    }

    .modal-overlay {
        align-items: flex-end;
        padding: 12px;
    }

    .modal-panel {
        border-radius: var(--radius-lg);
    }

    .modal-footer {
        flex-direction: column-reverse;
    }

    .modal-footer .btn {
        width: 100%;
    }

    .admin-metrics-grid,
    .editor-grid,
    .editor-grid--questions,
    .conditional-fields,
    .question-detail-item,
    .question-admin-item {
        grid-template-columns: 1fr;
    }

    .question-tree-card__header,
    .question-tree-branch__option {
        flex-direction: column;
        align-items: stretch;
    }

    .question-tree-card__actions {
        justify-content: flex-start;
    }

    .question-tree-branch__option .btn {
        width: 100%;
    }

    .question-drag-handle {
        width: 100%;
    }

    .question-detail-actions {
        justify-content: flex-start;
    }

    .presentation-shell {
        padding: 18px;
    }

    .presentation-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .presentation-period {
        text-align: left;
    }

    .question-admin-item .table-actions {
        justify-content: flex-start;
    }

    .form-card__title-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .choice-list--inline,
    .scale-options {
        grid-template-columns: 1fr;
    }

    .success-screen {
        min-height: calc(100vh - 160px);
        padding-bottom: 20px;
    }

    .success-screen__card {
        padding: 32px 22px 24px;
        border-radius: 24px;
    }

    .success-screen__facts {
        grid-template-columns: 1fr;
    }

    .success-screen__button {
        width: 100%;
    }

    .question-card__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .question-card__actions .btn {
        width: 100%;
    }
}

@media (max-height: 820px) {
    .student-main--success {
        padding-top: 10px;
        padding-bottom: 44px;
    }

    .success-screen {
        min-height: calc(100vh - 108px);
        padding-bottom: 8px;
    }

    .success-screen__card {
        width: min(100%, 580px);
        gap: 14px;
        padding: 22px 22px 18px;
    }

    .success-screen__icon-wrap {
        width: 78px;
        height: 78px;
    }

    .success-screen__icon {
        width: 58px;
        height: 58px;
    }

    .success-screen__icon i {
        font-size: 28px;
    }

    .success-screen__copy h1 {
        font-size: clamp(30px, 5vw, 46px);
    }

    .success-screen__subtitle {
        font-size: 14px;
    }

    .success-screen__entity {
        font-size: clamp(20px, 3vw, 30px);
        max-width: 460px;
    }

    .success-screen__facts {
        gap: 8px;
    }

    .success-screen__fact {
        padding: 12px 10px;
    }

    .success-screen__button {
        min-height: 46px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .student-page--form .student-main,
    .student-page--form::before,
    .student-page--form::after,
    .form-intro-card::before,
    .form-intro-card::after,
    .question-card:not(.is-hidden):not(.is-wizard-hidden),
    .choice-option.is-confirming,
    .scale-option.is-confirming span,
    .success-screen__card,
    .success-screen__icon {
        animation: none;
    }

    .choice-option,
    .scale-option span,
    .question-card,
    .question-card__actions [data-wizard-next],
    .success-screen__button {
        transition: none;
    }
}

/* ===== Respiro premium - escopado ao modulo de Relatorios ===== */

.report-shell {
    display: grid;
    gap: 32px;
}

.report-shell .app-card {
    padding: 28px;
}

.report-shell .app-card--compact {
    padding: 20px;
}

.report-shell .section-header {
    margin-bottom: 22px;
}

.report-shell .section-header__title {
    font-size: 22px;
}

.report-shell .section-header__subtitle {
    margin-top: 6px;
    font-size: 14px;
}

.report-shell .report-hero h1 {
    margin: 10px 0 10px;
}

.report-shell .report-builder-grid,
.report-shell .report-explorer-layout {
    gap: 28px;
}

.report-shell .report-builder-main {
    gap: 28px;
}

.report-shell .report-form-picker,
.report-shell .report-indicator-list,
.report-shell .report-view-picker {
    gap: 14px;
}

.report-shell .checkbox-card,
.report-shell .report-indicator-option,
.report-shell .report-view-option {
    padding: 18px;
}

.report-shell .report-indicator-option {
    min-height: 78px;
}

.report-shell .report-category-group {
    padding: 18px;
    gap: 14px;
}

.report-shell .report-indicator-groups,
.report-shell .report-analysis-stack,
.report-shell .report-preview-grid {
    gap: 16px;
}

.report-shell .report-wizard-steps {
    gap: 12px;
    margin-bottom: 24px;
}

.report-shell .report-wizard-steps li {
    padding: 14px 18px;
}

.report-shell .report-step__footer {
    margin-top: 28px;
    padding-top: 20px;
}

.report-shell .report-tree__question {
    padding: 14px;
}

.report-shell .report-tree__children {
    gap: 14px;
    padding-left: 14px;
}

.report-shell .report-answer-row {
    padding: 18px;
}

@media (max-width: 768px) {
    .report-shell {
        gap: 24px;
    }

    .report-shell .app-card {
        padding: 20px;
    }
}

@media (max-width: 560px) {
    .student-hero-section {
        grid-template-columns: 1fr;
    }

    .student-hero-copy,
    .student-progress-card {
        min-height: 0;
        padding: 22px 18px;
    }

    .student-hero-copy p {
        max-width: none;
        font-size: 14px;
    }

    .student-pending-card {
        padding: 22px 18px 24px;
    }

    .student-pending-card__main {
        min-height: 128px;
    }

    .student-pending-card__content {
        max-width: min(100%, calc(100% - 108px));
    }

    .student-pending-card__content h3 {
        font-size: 20px;
    }

    .student-pending-card--secondary .student-pending-card__main {
        min-height: 98px;
    }

    .student-pending-card--secondary .student-pending-card__content {
        max-width: min(100%, calc(100% - 72px));
    }

    .student-pending-card--secondary .student-pending-card__content h3 {
        font-size: 18px;
    }

    .student-pending-card--secondary .student-pending-card__visual {
        width: 92px;
    }

    .student-pending-card--secondary .student-pending-illustration {
        width: 92px;
        height: 72px;
    }

    .student-pending-card--secondary.is-done {
        padding: 22px 18px 24px;
    }

    .student-pending-card--secondary.is-done .student-pending-card__main {
        min-height: 128px;
    }

    .student-pending-card--secondary.is-done .student-pending-card__content {
        max-width: min(100%, calc(100% - 108px));
    }

    .student-pending-card--secondary.is-done .student-pending-card__content h3 {
        font-size: 20px;
    }

    .student-pending-card--secondary.is-done .student-pending-card__visual {
        width: 138px;
    }

    .student-pending-card--secondary.is-done .student-pending-illustration {
        width: 138px;
        height: 108px;
    }

    .student-pending-card__visual {
        width: 138px;
    }

    .student-pending-illustration {
        width: 138px;
        height: 108px;
    }

    .student-bottom-nav__item {
        min-height: 78px;
        font-size: 10px;
    }
}

@media (max-width: 767px) {
    .student-page--dashboard .student-main {
        padding: 22px 14px 136px;
    }

    .student-dashboard {
        gap: 24px;
    }

    .student-hero-section {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: stretch;
        gap: 14px;
        padding-top: 0;
    }

    .student-hero-copy,
    .student-progress-card {
        min-height: 206px;
        border-radius: 18px;
    }

    .student-hero-copy {
        align-content: center;
        padding: 22px 16px;
        padding-right: 18px;
    }

    .student-hero-copy h1 {
        max-width: 100%;
        font-size: 22px;
        line-height: 1.16;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .student-hero-copy p {
        max-width: 142px;
        font-size: 13px;
        line-height: 1.48;
    }

    .student-hero-copy__illustration {
        right: -4px;
        bottom: 18px;
        top: auto;
        width: 82px;
        height: 82px;
        opacity: 0.78;
        transform: none;
    }

    .student-progress-card {
        padding: 22px 18px;
        gap: 8px;
    }

    .student-progress-card__header {
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 8px;
    }

    .student-progress-card__icon {
        width: 38px;
        height: 38px;
        border-radius: 13px;
        font-size: 20px;
    }

    .student-progress-card h2 {
        font-size: 14px;
        line-height: 1.35;
    }

    .student-progress-card strong {
        margin-top: 4px;
        font-size: 42px;
    }

    .student-progress-card p {
        margin-bottom: 10px;
        font-size: 13px;
        line-height: 1.45;
    }

    .student-section {
        gap: 18px;
    }

    .section-header__title {
        font-size: 24px;
        line-height: 1.25;
    }

    .student-form-list {
        gap: 18px;
    }

    .student-pending-card,
    .student-pending-card--secondary,
    .student-pending-card--secondary.is-done {
        position: relative;
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
        min-height: 248px;
        padding: 24px 20px 20px;
        border-radius: 18px;
        overflow: hidden;
    }

    .student-pending-card::before {
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.96) 52%, rgba(255, 255, 255, 0.74) 76%, rgba(255, 255, 255, 0.18) 100%);
    }

    .student-pending-card__main,
    .student-pending-card--secondary .student-pending-card__main,
    .student-pending-card--secondary.is-done .student-pending-card__main {
        position: relative;
        z-index: 3;
        display: block;
        min-height: 132px;
    }

    .student-pending-card__icon,
    .student-pending-card--secondary .student-pending-card__icon,
    .student-pending-card--secondary.is-done .student-pending-card__icon {
        position: absolute;
        top: 0;
        left: 0;
        width: 42px;
        height: 42px;
        border-radius: 13px;
        font-size: 20px;
    }

    .student-pending-card__content,
    .student-pending-card--secondary .student-pending-card__content,
    .student-pending-card--secondary.is-done .student-pending-card__content {
        position: relative;
        z-index: 3;
        display: grid;
        gap: 18px;
        max-width: min(100%, calc(100% - 112px));
    }

    .student-pending-card__content .badge,
    .student-pending-card--secondary .student-pending-card__content .badge,
    .student-pending-card--secondary.is-done .student-pending-card__content .badge {
        margin-left: 56px;
        min-height: 26px;
        padding: 0 12px;
        font-size: 11px;
    }

    .student-pending-card__content h3,
    .student-pending-card--secondary .student-pending-card__content h3,
    .student-pending-card--secondary.is-done .student-pending-card__content h3 {
        margin-top: 14px;
        color: var(--ip-text-primary);
        font-size: 27px;
        line-height: 1.15;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    .student-pending-card__visual,
    .student-pending-card--secondary .student-pending-card__visual,
    .student-pending-card--secondary.is-done .student-pending-card__visual {
        position: absolute;
        top: 42px;
        right: 14px;
        z-index: 1;
        display: flex;
        width: 112px;
        max-width: 34%;
        opacity: 0.9;
        transform: none;
    }

    .student-pending-illustration-img,
    .student-pending-card--secondary .student-pending-illustration-img,
    .student-pending-card--secondary.is-done .student-pending-illustration-img {
        width: 100%;
        max-width: 112px;
        max-height: 112px;
        object-fit: contain;
    }

    .student-pending-card__actions,
    .student-pending-card--secondary .student-pending-card__actions,
    .student-pending-card--secondary.is-done .student-pending-card__actions {
        position: relative;
        z-index: 4;
        width: 100%;
        justify-items: stretch;
    }

    .student-pending-card__actions .btn,
    .student-pending-card--secondary .student-pending-card__actions .btn,
    .student-pending-card--secondary.is-done .student-pending-card__actions .btn {
        width: 100%;
        min-height: 56px;
        border-radius: 14px;
        font-size: 15px;
    }
}

@media (max-width: 390px) {
    .student-page--dashboard .student-main {
        padding: 18px 12px 136px;
    }

    .student-hero-section {
        gap: 12px;
    }

    .student-hero-copy,
    .student-progress-card {
        min-height: 190px;
    }

    .student-hero-copy {
        padding: 20px 14px;
    }

    .student-hero-copy h1 {
        font-size: 20px;
    }

    .student-hero-copy p {
        max-width: 126px;
        font-size: 12.5px;
    }

    .student-hero-copy__illustration {
        width: 74px;
        height: 74px;
        bottom: 16px;
    }

    .student-progress-card {
        padding: 20px 16px;
    }

    .student-progress-card strong {
        font-size: 38px;
    }

    .student-progress-card p {
        font-size: 12.5px;
    }

    .student-pending-card,
    .student-pending-card--secondary,
    .student-pending-card--secondary.is-done {
        min-height: 232px;
        padding: 22px 18px 18px;
    }

    .student-pending-card__main,
    .student-pending-card--secondary .student-pending-card__main,
    .student-pending-card--secondary.is-done .student-pending-card__main {
        min-height: 122px;
    }

    .student-pending-card__content,
    .student-pending-card--secondary .student-pending-card__content,
    .student-pending-card--secondary.is-done .student-pending-card__content {
        max-width: min(100%, calc(100% - 98px));
    }

    .student-pending-card__content h3,
    .student-pending-card--secondary .student-pending-card__content h3,
    .student-pending-card--secondary.is-done .student-pending-card__content h3 {
        font-size: 25px;
    }

    .student-pending-card__visual,
    .student-pending-card--secondary .student-pending-card__visual,
    .student-pending-card--secondary.is-done .student-pending-card__visual {
        width: 96px;
        right: 12px;
    }

    .student-pending-illustration-img,
    .student-pending-card--secondary .student-pending-illustration-img,
    .student-pending-card--secondary.is-done .student-pending-illustration-img {
        max-width: 96px;
        max-height: 96px;
    }

    .student-pending-card__actions .btn,
    .student-pending-card--secondary .student-pending-card__actions .btn,
    .student-pending-card--secondary.is-done .student-pending-card__actions .btn {
        min-height: 52px;
    }
}

@media (max-width: 430px) {
    .student-page--dashboard .student-main {
        padding: 14px 10px 148px;
    }

    .student-dashboard {
        gap: 16px;
    }

    .student-hero-section {
        gap: 10px;
    }

    .student-hero-copy,
    .student-progress-card {
        min-height: 164px;
        border-radius: 16px;
    }

    .student-hero-copy {
        padding: 16px 12px;
    }

    .student-hero-copy h1 {
        font-size: 18px;
        line-height: 1.12;
    }

    .student-hero-copy p {
        max-width: 116px;
        font-size: 11.5px;
        line-height: 1.42;
    }

    .student-hero-copy__illustration {
        width: 58px;
        height: 58px;
        right: 2px;
        bottom: 14px;
        opacity: 0.7;
    }

    .student-progress-card {
        padding: 16px 12px;
        overflow: hidden;
    }

    .student-progress-card__header {
        gap: 8px;
        margin-bottom: 6px;
    }

    .student-progress-card__icon {
        width: 32px;
        height: 32px;
        border-radius: 10px;
        font-size: 17px;
    }

    .student-progress-card h2 {
        font-size: 12px;
        line-height: 1.25;
    }

    .student-progress-card strong {
        font-size: 32px;
        line-height: 1;
    }

    .student-progress-card p {
        margin-bottom: 8px;
        font-size: 11.5px;
        line-height: 1.35;
    }

    .student-progress-card .progress-track {
        width: 100%;
        max-width: 100%;
        height: 7px;
        box-sizing: border-box;
    }

    .section-header__title {
        font-size: 20px;
    }

    .student-form-list {
        gap: 14px;
    }

    .student-pending-card,
    .student-pending-card--secondary,
    .student-pending-card--secondary.is-done {
        min-height: 196px;
        gap: 12px;
        padding: 18px 14px 16px;
        border-radius: 16px;
    }

    .student-pending-card__main,
    .student-pending-card--secondary .student-pending-card__main,
    .student-pending-card--secondary.is-done .student-pending-card__main {
        min-height: 104px;
    }

    .student-pending-card__icon,
    .student-pending-card--secondary .student-pending-card__icon,
    .student-pending-card--secondary.is-done .student-pending-card__icon {
        width: 34px;
        height: 34px;
        border-radius: 11px;
        font-size: 17px;
    }

    .student-pending-card__content,
    .student-pending-card--secondary .student-pending-card__content,
    .student-pending-card--secondary.is-done .student-pending-card__content {
        gap: 14px;
        max-width: min(100%, calc(100% - 88px));
    }

    .student-pending-card__content .badge,
    .student-pending-card--secondary .student-pending-card__content .badge,
    .student-pending-card--secondary.is-done .student-pending-card__content .badge {
        margin-left: 44px;
        min-height: 22px;
        padding: 0 10px;
        font-size: 10px;
    }

    .student-pending-card__content h3,
    .student-pending-card--secondary .student-pending-card__content h3,
    .student-pending-card--secondary.is-done .student-pending-card__content h3 {
        margin-top: 10px;
        font-size: 22px;
        line-height: 1.12;
    }

    .student-pending-card__visual,
    .student-pending-card--secondary .student-pending-card__visual,
    .student-pending-card--secondary.is-done .student-pending-card__visual {
        top: 36px;
        right: 8px;
        width: 82px;
        max-width: 28%;
        opacity: 0.72;
    }

    .student-pending-illustration-img,
    .student-pending-card--secondary .student-pending-illustration-img,
    .student-pending-card--secondary.is-done .student-pending-illustration-img {
        max-width: 82px;
        max-height: 82px;
    }

    .student-pending-card__actions .btn,
    .student-pending-card--secondary .student-pending-card__actions .btn,
    .student-pending-card--secondary.is-done .student-pending-card__actions .btn {
        min-height: 48px;
        border-radius: 12px;
        font-size: 14px;
    }
}
