:root {
    --brand-primary: #6366f1;
    --brand-primary-hover: #4f46e5;
    --brand-secondary: #ec4899;
    --brand-accent: #8b5cf6;
    --brand-success: #10b981;
    --brand-warning: #f59e0b;
    --brand-danger: #ef4444;

    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #020617;

    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;

    --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);
    --shadow-focus: 0 0 0 4px rgba(99, 102, 241, 0.2);

    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--slate-50);
    color: var(--slate-900);
    height: 100vh;
    overflow: hidden;
    /* Lock viewport */
    line-height: 1.5;
}

/* --- App Layout --- */
.app-shell {
    display: flex;
    height: 100vh;
    width: 100vw;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.sidebar {
    width: 320px;
    background: var(--slate-900);
    color: white;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--slate-800);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.brand {
    padding: 2.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-accent) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 16px rgba(99, 102, 241, 0.3);
}

.brand h1 {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.025em;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sidebar-content {
    flex: 1;
    padding: 0 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    overflow-y: auto;
}

.intro-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.intro-box h3 {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--brand-primary);
    margin-bottom: 0.75rem;
    letter-spacing: 0.1em;
    font-weight: 800;
}

.intro-box p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--slate-400);
}

.evaluator-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.evaluator-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.evaluator-card label {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--slate-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-text-link {
    background: none;
    border: none;
    color: var(--brand-primary);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    padding: 2px 0;
    transition: var(--transition-base);
}

.btn-text-link:hover {
    color: white;
    text-decoration: underline;
}

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

.input-wrapper svg {
    position: absolute;
    left: 1rem;
    color: var(--slate-500);
}

.input-wrapper input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 2.75rem;
    background: var(--slate-800);
    border: 1px solid var(--slate-700);
    border-radius: var(--radius-md);
    color: white;
    font-size: 0.95rem;
    transition: var(--transition-base);
}

.input-wrapper select.locked {
    border-color: var(--brand-success);
    background: var(--slate-950);
}

#releaseRoleBtn {
    position: absolute;
    right: -100px;
    white-space: nowrap;
}

.session-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
}

.stat-label {
    font-size: 0.65rem;
    color: var(--slate-500);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* Help Box / Guidelines */
.help-box {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    margin-top: auto;
}

.help-box h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--brand-accent);
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
    font-weight: 800;
}

.rule-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.rule-list li {
    font-size: 0.8rem;
    color: var(--slate-400);
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.25rem;
    line-height: 1.4;
}

.rule-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--brand-primary);
    font-weight: 900;
}

.btn-help {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-base);
}

.btn-help:hover {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.help-box h4 {
    font-size: 0.8rem;
    color: var(--brand-primary);
    text-transform: uppercase;
    margin-bottom: 0.85rem;
    letter-spacing: 0.05em;
    font-weight: 800;
}

.rule-list {
    list-style: none;
    margin-bottom: 1.25rem;
}

.rule-list li {
    font-size: 0.8rem;
    color: var(--slate-300);
    margin-bottom: 0.75rem;
    line-height: 1.5;
    position: relative;
    padding-left: 1.25rem;
}

.rule-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--brand-primary);
    font-weight: 900;
}

.rule-list li strong {
    color: white;
}

.btn-help {
    width: 100%;
    padding: 0.75rem;
    background: var(--brand-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-help:hover {
    background: var(--brand-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
    transition: var(--transition-base);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.3);
    filter: brightness(1.1);
}

.sidebar-footer {
    padding: 1.5rem 2rem;
    background: rgba(0, 0, 0, 0.2);
}

.connection-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--slate-400);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--brand-warning);
    border-radius: 50%;
}

.connection-status.online .status-dot {
    background: var(--brand-success);
}

.connection-status.offline .status-dot {
    background: var(--brand-danger);
}

/* --- Main Workspace --- */
.workspace {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.topbar {
    height: 80px;
    background: white;
    border-bottom: 1px solid var(--slate-200);
    padding: 0 2.5rem;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.progress-section {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.progress-info {
    display: flex;
    flex-direction: column;
    min-width: 140px;
}

.progress-label {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--slate-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.progress-percent {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--slate-900);
}

.progress-track-wrapper {
    flex: 1;
    position: relative;
}

.progress-track {
    height: 8px;
    background: var(--slate-100);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(to right, var(--brand-primary), var(--brand-accent));
    width: 0%;
    transition: width 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 4px;
}

/* --- Dashboard Grid --- */
.dashboard-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    padding: 2rem;
    min-height: 0;
}

.review-column,
.assessment-column {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* --- Panels --- */
.scroll-canvas {
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-right: 0.5rem;
}

.panel {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-base);
}

.panel:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
}

.panel-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--slate-100);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-tag {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--slate-500);
    background: var(--slate-100);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.panel-tag.success {
    background: #d1fae5;
    color: #065f46;
}

.panel-tag.warning {
    background: #fef3c7;
    color: #92400e;
}

.id-badge {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.75rem;
    color: var(--brand-primary);
    font-weight: 700;
}

.panel-body {
    padding: 1.5rem;
}

.question-text {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--slate-800);
}

.answer-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--slate-700);
}

.evidence-display {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--slate-600);
    background: var(--slate-50);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    white-space: pre-wrap;
    border: 1px solid var(--slate-200);
}

.action-link {
    font-size: 0.7rem;
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.action-link:hover {
    text-decoration: underline;
}

/* --- Assessment Card --- */
.assessment-card {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.assessment-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--slate-100);
}

.assessment-header h2 {
    font-size: 1.25rem;
    font-weight: 800;
}

.assessment-header p {
    font-size: 0.8rem;
    color: var(--slate-500);
    margin-top: 0.2rem;
}

.assessment-body {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
}

.form-group {
    margin-bottom: 2.25rem;
}

.group-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--slate-600);
    margin-bottom: 0.75rem;
}

/* Radio Grid Cards */
.radio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.radio-card {
    cursor: pointer;
}

.radio-card input {
    display: none;
}

.card-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: white;
    border: 2px solid var(--slate-100);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.radio-card:hover .card-content {
    border-color: var(--brand-primary);
    transform: translateY(-2px);
}

.check-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--slate-100);
    border-radius: 10px;
    color: var(--slate-400);
    font-size: 0.9rem;
    font-weight: 800;
    transition: var(--transition-base);
}

.check-icon.error {
    color: var(--brand-danger);
}

.card-text {
    display: flex;
    flex-direction: column;
}

.card-text strong {
    font-size: 0.85rem;
}

.card-text span {
    font-size: 0.7rem;
    color: var(--slate-500);
}

.radio-card input:checked+.card-content {
    border-color: var(--brand-primary);
    background: rgba(79, 70, 229, 0.03);
}

.radio-card input:checked+.card-content .check-icon {
    background: var(--brand-primary);
    color: white;
}

/* --- Advanced Rating Strip --- */
.rating-strip-advanced {
    display: flex;
    gap: 0.5rem;
}

.q-score {
    flex: 1;
    cursor: pointer;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.q-score input {
    display: none;
}

.q-btn {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid var(--slate-100);
    border-radius: var(--radius-md);
    font-weight: 800;
    color: var(--slate-400);
    transition: var(--transition-base);
}

.q-score:hover .q-btn {
    transform: translateY(-2px);
    border-color: var(--brand-primary);
}

.q-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--slate-400);
}

/* Color Coding for Ratings */
.q-1:hover .q-btn {
    border-color: #ef4444;
}

.q-1 input:checked+.q-btn {
    background: #ef4444;
    color: white;
    border-color: #ef4444;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.q-2:hover .q-btn {
    border-color: #f97316;
}

.q-2 input:checked+.q-btn {
    background: #f97316;
    color: white;
    border-color: #f97316;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.q-3:hover .q-btn {
    border-color: #f59e0b;
}

.q-3 input:checked+.q-btn {
    background: #f59e0b;
    color: white;
    border-color: #f59e0b;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.q-4:hover .q-btn {
    border-color: #84cc16;
}

.q-4 input:checked+.q-btn {
    background: #84cc16;
    color: white;
    border-color: #84cc16;
    box-shadow: 0 4px 12px rgba(132, 204, 22, 0.3);
}

.q-5:hover .q-btn {
    border-color: #10b981;
}

.q-5 input:checked+.q-btn {
    background: #10b981;
    color: white;
    border-color: #10b981;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.q-score input:checked~.q-label {
    color: var(--slate-800);
    font-weight: 800;
}

/* Quick Tags */
.quick-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.tag-chip {
    padding: 0.4rem 0.75rem;
    background: var(--slate-100);
    border: 1px solid var(--slate-200);
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--slate-600);
    cursor: pointer;
    transition: all 0.2s;
}

.tag-chip:hover {
    background: var(--slate-200);
    border-color: var(--slate-300);
    color: var(--slate-900);
}

/* Textarea */
.elegant-textarea {
    width: 100%;
    min-height: 100px;
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 2px solid var(--slate-100);
    background: var(--slate-50);
    resize: none;
    font-family: inherit;
    font-size: 0.9rem;
    line-height: 1.6;
    transition: all 0.2s;
}

.elegant-textarea:focus {
    outline: none;
    border-color: var(--brand-primary);
    background: white;
    box-shadow: var(--shadow-focus);
}

/* Footer Actions */
.assessment-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--slate-100);
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.btn-skip {
    padding: 0 1.25rem;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--slate-100);
    color: var(--slate-600);
    border: none;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-submit {
    flex: 1;
    height: 48px;
    background: var(--brand-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.2s;
}

.btn-submit:hover:not(:disabled) {
    background: var(--brand-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.btn-submit:disabled {
    background: var(--slate-200);
    color: var(--slate-400);
    cursor: not-allowed;
}

/* --- Modals - Premium Glow & Blur --- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal.show {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: var(--radius-xl);
    width: 95%;
    max-width: 900px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow:
        0 40px 100px -20px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(99, 102, 241, 0.1);
    transform: scale(0.9) translateY(60px);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.5);
    overflow: hidden;
}

.modal.show .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 2rem 2.5rem;
    border-bottom: 1px solid var(--slate-100);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.025em;
    color: var(--slate-900);
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--slate-400);
    cursor: pointer;
}

.modal-body {
    padding: 2.5rem;
    overflow-y: auto;
    flex: 1;
}

/* --- Modal Layout Refinement --- */
.protocol-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.protocol-content section h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--slate-900);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.protocol-content section h3::before {
    content: "";
    width: 6px;
    height: 1.25rem;
    background: linear-gradient(to bottom, var(--brand-primary), var(--brand-accent));
    border-radius: 3px;
}

/* Scoring Cards */
/* Scoring Cards - Ultra Premium */
.score-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.score-card {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    transition: var(--transition-base);
    position: relative;
    cursor: default;
}

.score-card:hover {
    transform: translateY(-8px);
    background: white;
    border-color: var(--brand-primary);
    box-shadow: 0 25px 50px -12px rgba(99, 102, 241, 0.2);
}

.score-badge {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    font-weight: 900;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 0.5rem;
}

.score-card.s5 .score-badge {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

.score-card.s4 .score-badge {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.score-card.s3 .score-badge {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
}

.score-card.s2 .score-badge {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.3);
}

.score-card.s1 .score-badge {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    box-shadow: 0 10px 20px rgba(239, 68, 68, 0.3);
}

.score-info strong {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--slate-900);
    letter-spacing: -0.01em;
}

.score-info span {
    font-size: 0.9rem;
    color: var(--slate-500);
    line-height: 1.6;
}

/* Guide List */
/* Fact-Checking List */
.guide-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.guide-list li {
    background: white;
    padding: 1.5rem 1.5rem 1.5rem 4rem;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    color: var(--slate-700);
    position: relative;
    border: 1px solid var(--slate-100);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: var(--transition-base);
}

.guide-list li:hover {
    border-color: var(--brand-success);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.1);
}

.guide-list li::before {
    content: "✓";
    position: absolute;
    left: 1.5rem;
    top: 1.5rem;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 900;
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
}

/* Pro Tip Card - The Self Contained Test */
.warning-note {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.test-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--brand-warning);
    font-weight: 900;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.test-title span {
    font-size: 1.5rem;
    filter: drop-shadow(0 0 10px var(--brand-warning));
}

.test-desc {
    color: var(--slate-300);
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 400;
}

.test-desc b {
    color: white;
    font-weight: 800;
}

.modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--slate-100);
}

/* Toast */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1rem 1.75rem;
    background: var(--slate-800);
    color: white;
    border-radius: 12px;
    font-weight: 600;
    transform: translateY(200%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 3000;
}

.toast.show {
    transform: translateY(0);
}

.toast.success {
    border-left: 4px solid var(--brand-success);
}

.toast.error {
    border-left: 4px solid var(--brand-danger);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--slate-300);
    border-radius: 10px;
    border: 2px solid var(--slate-50);
}

/* Response */
@media (max-width: 1024px) {
    .app-shell {
        flex-direction: column;
        overflow: auto;
    }

    .sidebar {
        width: 100%;
        height: auto;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}