*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif; background: #f3f4f6; color: #1f2937; line-height: 1.5; }
a { color: #2563eb; text-decoration: none; }
a:hover { text-decoration: underline; }

.app-layout { display: flex; min-height: 100vh; }
.sidebar { width: 260px; background: #1f2937; color: #fff; position: fixed; height: 100vh; overflow-y: auto; }
.sidebar-header { padding: 1.25rem 1.5rem; border-bottom: 1px solid #374151; }
.sidebar-header h2 { font-size: 1.1rem; font-weight: 600; }
.sidebar-nav { padding: .75rem 0; }
.sidebar-menu { list-style: none; }
.sidebar-link { display: block; width: 100%; padding: .65rem 1.5rem; color: #d1d5db; background: none; border: none; text-align: left; cursor: pointer; font-size: .875rem; }
.sidebar-link:hover, .sidebar-link.active { background: #374151; color: #fff; text-decoration: none; }
.sidebar-link.active { background: #2563eb; }
.sidebar-group { margin: 0; list-style: none; }
.sidebar-group-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: .65rem 1.5rem;
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #9ca3af;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: color .15s, background .15s;
}
.sidebar-group-toggle:hover { color: #d1d5db; background: #374151; }
.sidebar-group-toggle[aria-expanded="true"] { color: #e5e7eb; }
.sidebar-chevron {
    flex-shrink: 0;
    width: .5rem;
    height: .5rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: -.15rem;
    transition: transform .2s ease;
}
.sidebar-group-toggle[aria-expanded="true"] .sidebar-chevron {
    transform: rotate(-135deg);
    margin-top: .15rem;
}
.sidebar-submenu {
    list-style: none;
    overflow: hidden;
    max-height: 0;
    transition: max-height .25s ease-out;
}
.sidebar-submenu.is-open {
    max-height: 600px;
    transition: max-height .35s ease-in;
}
.sidebar-submenu .sidebar-link {
    padding-left: 2.25rem;
    font-size: .8125rem;
}
.sidebar-footer { margin-top: .5rem; border-top: 1px solid #374151; padding-top: .25rem; }
.sidebar-back { font-size: .8125rem; padding-top: .35rem; padding-bottom: 0; display: inline-block; }
.sidebar-divider { padding: .5rem 1.5rem; font-size: .7rem; text-transform: uppercase; color: #9ca3af; letter-spacing: .05em; margin-top: .5rem; }
.sidebar-logout { color: #fca5a5; }
.main-content { flex: 1; margin-left: 260px; min-height: 100vh; }
.content-wrapper { padding: 2rem; max-width: 1280px; }

.guest-layout .top-nav { display: flex; justify-content: space-between; align-items: center; padding: 1rem 2rem; background: #fff; border-bottom: 1px solid #e5e7eb; }
.guest-layout .brand { font-weight: 700; font-size: 1.25rem; color: #2563eb; }
.guest-layout .nav-links { display: flex; gap: 1rem; align-items: center; }
.guest-main { max-width: 960px; margin: 0 auto; padding: 2rem 1rem; }

.card { background: #fff; border-radius: .5rem; box-shadow: 0 1px 3px rgba(0,0,0,.08); padding: 1.5rem; margin-bottom: 1.25rem; }
.card-header { font-size: 1.15rem; font-weight: 600; margin-bottom: 1rem; padding-bottom: .75rem; border-bottom: 1px solid #e5e7eb; }
.form-group { margin-bottom: 1rem; }
.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}
.form-row .form-group { margin-bottom: 0; }
@media (max-width: 640px) {
    .form-row { grid-template-columns: 1fr; }
    .form-row .form-group { margin-bottom: 1rem; }
    .form-row .form-group:last-child { margin-bottom: 0; }
}
.form-label { display: block; margin-bottom: .35rem; font-weight: 500; font-size: .875rem; }
.form-input, .form-textarea, .form-select { width: 100%; padding: .5rem .65rem; border: 1px solid #d1d5db; border-radius: .375rem; font-size: 1rem; }
.form-textarea { min-height: 120px; resize: vertical; }
.btn { display: inline-block; padding: .5rem 1rem; border-radius: .375rem; font-weight: 500; border: none; cursor: pointer; font-size: .875rem; text-decoration: none; }
.btn-primary { background: #2563eb; color: #fff; }
.btn-primary:hover { background: #1d4ed8; text-decoration: none; }
.btn-secondary { background: #6b7280; color: #fff; }
.btn-danger { background: #ef4444; color: #fff; }
.btn-sm { padding: .35rem .65rem; font-size: .8125rem; }
.table-actions { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.table-actions form { margin: 0; }
.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border-radius: .5rem;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #374151;
    cursor: pointer;
    text-decoration: none;
}
.icon-btn svg { width: 1rem; height: 1rem; }
.icon-btn:hover { background: #f3f4f6; text-decoration: none; }
.icon-btn--edit { color: #2563eb; border-color: #bfdbfe; }
.icon-btn--edit:hover { background: #eff6ff; }
.icon-btn--chart { color: #059669; border-color: #a7f3d0; }
.icon-btn--chart:hover { background: #ecfdf5; }
.icon-btn--score {
    min-width: 2.75rem;
    font-size: .75rem;
    font-weight: 700;
}
.icon-btn__score { line-height: 1; }
.icon-btn--score.score-ring--low { color: #991b1b; border-color: #fecaca; background: #fef2f2; }
.icon-btn--score.score-ring--low:hover { background: #fee2e2; }
.icon-btn--score.score-ring--watch { color: #b45309; border-color: #fde68a; background: #fffbeb; }
.icon-btn--score.score-ring--watch:hover { background: #fef3c7; }
.icon-btn--score.score-ring--strong { color: #047857; border-color: #a7f3d0; background: #ecfdf5; }
.icon-btn--score.score-ring--strong:hover { background: #d1fae5; }
.icon-btn--delete { color: #dc2626; border-color: #fecaca; }
.icon-btn--delete:hover { background: #fef2f2; }
.assessment-details { margin-top: 1rem; }
.assessment-details__toggle {
    cursor: pointer;
    font-size: .875rem;
    font-weight: 600;
    color: #2563eb;
    padding: .5rem 0;
    list-style: none;
}
.assessment-details__toggle::-webkit-details-marker { display: none; }
.assessment-details[open] .assessment-details__toggle { margin-bottom: .75rem; }
.assessment-details .assessment-readonly { margin-top: .5rem; }
.checkbox-list { display: flex; flex-direction: column; gap: .45rem; }
.checkbox-item { display: inline-flex; align-items: center; gap: .4rem; font-size: .875rem; }

.alert { padding: .85rem 1rem; border-radius: .375rem; margin-bottom: 1rem; }
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.alert-info { background: #dbeafe; color: #1e40af; border: 1px solid #93c5fd; }

.table { width: 100%; border-collapse: collapse; background: #fff; border-radius: .5rem; overflow: hidden; }
.table th, .table td { padding: .75rem; border-bottom: 1px solid #e5e7eb; text-align: left; font-size: .875rem; }
.table th { background: #f9fafb; font-weight: 600; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.stat-card { background: #fff; border: 1px solid #e5e7eb; border-radius: .5rem; padding: 1rem; }
.stat-value { font-size: 1.75rem; font-weight: 700; }
.stat-label { font-size: .8125rem; color: #6b7280; }

.page-title { font-size: 1.75rem; font-weight: 700; margin-bottom: 1.25rem; }
.page-actions { margin-bottom: 1rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.form-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid #e5e7eb; }
.badge { display: inline-block; padding: .2rem .5rem; border-radius: 999px; font-size: .75rem; background: #e5e7eb; }
.badge-success { background: #d1fae5; color: #065f46; }

.hero { text-align: center; padding: 3rem 1rem; }
.hero h1 { font-size: 2.25rem; margin-bottom: .75rem; }
.hero p { color: #6b7280; max-width: 560px; margin: 0 auto 1.5rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.assessment-block { border: 1px solid #e5e7eb; border-radius: .5rem; padding: 1rem; margin-bottom: 1rem; background: #fafafa; }
.score-options { display: flex; gap: .5rem; flex-wrap: wrap; margin: .5rem 0; }
.score-options label { display: flex; align-items: center; gap: .25rem; font-size: .875rem; }

@media (max-width: 768px) {
    .sidebar { position: relative; width: 100%; height: auto; }
    .main-content { margin-left: 0; }
}

/* ── Dashboard ── */
.dashboard-page { display: flex; flex-direction: column; gap: 1.5rem; }

.dashboard-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.75rem 1.75rem 1.5rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 45%, #0ea5e9 100%);
    color: #fff;
    box-shadow: 0 10px 30px rgba(37, 99, 235, .22);
}
.dashboard-hero__eyebrow { font-size: .8125rem; opacity: .85; margin-bottom: .35rem; }
.dashboard-hero__title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; line-height: 1.2; }
.dashboard-hero__subtitle { margin-top: .35rem; opacity: .9; font-size: .9375rem; }
.dashboard-hero__roles { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.dashboard-hero__aside { display: flex; gap: .75rem; flex-wrap: wrap; }
.dashboard-hero__stat {
    min-width: 110px;
    padding: .85rem 1rem;
    border-radius: .75rem;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(4px);
}
.dashboard-hero__stat-value { display: block; font-size: 1.5rem; font-weight: 700; line-height: 1.1; }
.dashboard-hero__stat-label { font-size: .75rem; opacity: .85; }

.role-pill {
    display: inline-block;
    padding: .25rem .65rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 600;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.25);
}
.role-pill--startup { background: rgba(99,102,241,.35); }
.role-pill--investor { background: rgba(16,185,129,.35); }
.role-pill--mentor { background: rgba(245,158,11,.35); }
.role-pill--partner { background: rgba(168,85,247,.35); }
.role-pill--corporate { background: rgba(236,72,153,.35); }
.role-pill--admin { background: rgba(239,68,68,.35); }

.dashboard-alerts { display: flex; flex-direction: column; gap: .75rem; }
.dashboard-alert {
    display: flex;
    gap: .85rem;
    align-items: flex-start;
    padding: .9rem 1rem;
    border-radius: .75rem;
    border: 1px solid transparent;
}
.dashboard-alert--info { background: #eff6ff; border-color: #bfdbfe; color: #1e3a8a; }
.dashboard-alert--warning { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.dashboard-alert--success { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.dashboard-alert--error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.dashboard-alert__icon {
    width: .65rem; height: .65rem; border-radius: 50%; margin-top: .45rem; flex-shrink: 0;
    background: currentColor;
}
.dashboard-alert__body p { margin-top: .15rem; font-size: .875rem; opacity: .9; }

.dashboard-section__head h2 { font-size: 1.125rem; font-weight: 700; }
.dashboard-section__head p { color: #6b7280; font-size: .875rem; margin-top: .15rem; }

.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: .85rem;
    margin-top: .85rem;
}
.quick-action {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .95rem 1rem;
    border-radius: .85rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
    text-decoration: none;
    color: inherit;
}
.quick-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,.07);
    border-color: #cbd5e1;
    text-decoration: none;
}
.quick-action__text { flex: 1; min-width: 0; }
.quick-action__text strong { display: block; font-size: .9375rem; }
.quick-action__text small { display: block; color: #6b7280; font-size: .75rem; margin-top: .1rem; }
.quick-action__arrow { color: #94a3b8; font-size: 1rem; }
.quick-action__icon {
    width: 2.25rem; height: 2.25rem; border-radius: .65rem; flex-shrink: 0;
    background: #e5e7eb center/1.1rem no-repeat;
}
.quick-action--blue .quick-action__icon { background-color: #dbeafe; }
.quick-action--purple .quick-action__icon { background-color: #ede9fe; }
.quick-action--indigo .quick-action__icon { background-color: #e0e7ff; }
.quick-action--teal .quick-action__icon { background-color: #ccfbf1; }
.quick-action--green .quick-action__icon { background-color: #d1fae5; }
.quick-action--amber .quick-action__icon { background-color: #fef3c7; }
.quick-action--slate .quick-action__icon { background-color: #f1f5f9; }

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
    gap: 1.25rem;
    align-items: start;
}
.dashboard-grid__main, .dashboard-grid__side { display: flex; flex-direction: column; gap: 1.25rem; }

.widget-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.widget-card--compact { padding: 1rem 1.15rem; }
.widget-card--account { background: linear-gradient(180deg, #fff 0%, #f8fafc 100%); }
.widget-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: 1rem;
}
.widget-card__head h3 { font-size: 1rem; font-weight: 700; }
.widget-card__link { font-size: .8125rem; font-weight: 500; white-space: nowrap; }
.widget-muted { color: #6b7280; font-size: .875rem; margin: .5rem 0; }
.text-link { font-size: .875rem; font-weight: 500; display: inline-block; margin-top: .5rem; }

.startup-widget {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.25rem;
    align-items: center;
}
.startup-widget__info h4 { font-size: 1.125rem; font-weight: 700; }
.startup-widget__tagline { color: #6b7280; margin-top: .25rem; font-size: .9375rem; }
.startup-widget__meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.meta-chip {
    display: inline-block;
    padding: .2rem .55rem;
    border-radius: 999px;
    font-size: .75rem;
    background: #f3f4f6;
    color: #374151;
}
.meta-chip--verified { background: #d1fae5; color: #065f46; }
.meta-chip--muted { background: #fef3c7; color: #92400e; }
.startup-widget__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }

.startup-widget__score { text-align: center; min-width: 140px; }
.score-ring {
    width: 110px; height: 110px;
    margin: 0 auto;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 6px solid #e5e7eb;
    background: #f9fafb;
}
.score-ring--strong { border-color: #10b981; background: #ecfdf5; }
.score-ring--good { border-color: #3b82f6; background: #eff6ff; }
.score-ring--watch { border-color: #f59e0b; background: #fffbeb; }
.score-ring--low { border-color: #ef4444; background: #fef2f2; }
.score-ring__value { font-size: 1.75rem; font-weight: 800; line-height: 1; }
.score-ring__label { font-size: .6875rem; text-transform: uppercase; letter-spacing: .04em; color: #6b7280; margin-top: .15rem; }
.score-band { font-size: .8125rem; font-weight: 600; margin-top: .65rem; color: #374151; }
.score-stage { font-size: .8125rem; color: #6b7280; margin-top: .25rem; }

.startup-widget__empty-score {
    padding: 1rem;
    border-radius: .75rem;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    text-align: center;
    max-width: 200px;
}
.startup-widget__empty-score p { font-size: .8125rem; color: #64748b; margin-bottom: .75rem; }

.empty-state {
    text-align: center;
    padding: 1.5rem 1rem;
    border-radius: .75rem;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
}
.empty-state__icon {
    width: 3rem; height: 3rem; margin: 0 auto .75rem;
    border-radius: .85rem; background: #e0e7ff;
}
.empty-state h4 { font-size: 1rem; margin-bottom: .35rem; }
.empty-state p { color: #64748b; font-size: .875rem; max-width: 360px; margin: 0 auto 1rem; }

.dashboard-mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}
.mini-stat__value { font-size: 1.75rem; font-weight: 800; line-height: 1; }
.mini-stat__label { display: block; font-size: .8125rem; color: #6b7280; margin-top: .2rem; }

.news-feed { list-style: none; display: flex; flex-direction: column; gap: .65rem; }
.news-feed__item a {
    display: block;
    padding: .75rem .85rem;
    border-radius: .65rem;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    text-decoration: none;
    color: inherit;
    transition: background .15s, border-color .15s;
}
.news-feed__item a:hover { background: #eff6ff; border-color: #dbeafe; text-decoration: none; }
.news-feed__item strong { display: block; font-size: .875rem; line-height: 1.35; }
.news-feed__item span { display: block; font-size: .75rem; color: #6b7280; margin-top: .25rem; }

.account-dl { display: grid; gap: .65rem; margin-bottom: 1rem; }
.account-dl div { display: grid; grid-template-columns: 100px 1fr; gap: .5rem; font-size: .875rem; }
.account-dl dt { color: #6b7280; }
.account-dl dd { font-weight: 500; word-break: break-word; }
.account-links { display: flex; flex-wrap: wrap; gap: .5rem; }

/* ── Assessment results ── */
.assessment-results-page { display: flex; flex-direction: column; gap: 1.25rem; }
.results-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #334155 100%);
    color: #fff;
}
.results-hero__eyebrow { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; opacity: .75; }
.results-hero__title { margin: .25rem 0 0; color: #fff; font-size: clamp(1.35rem, 2.5vw, 1.85rem); }
.results-hero__tagline { margin-top: .35rem; opacity: .85; font-size: .9375rem; max-width: 520px; }
.score-ring--lg { width: 120px; height: 120px; border-width: 7px; }
.score-ring--lg .score-ring__value { font-size: 1.35rem; }

/* Dark score ring — results hero (color by percentage) */
.results-hero .score-ring--dark {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}
.results-hero .score-ring--dark .score-ring__value { color: #fff; }
.results-hero .score-ring--dark .score-ring__label { color: rgba(255, 255, 255, 0.78); }
.results-hero .score-ring--dark.score-ring--low {
    background: linear-gradient(145deg, #991b1b 0%, #7f1d1d 45%, #450a0a 100%);
    border-color: #fca5a5;
}
.results-hero .score-ring--dark.score-ring--watch {
    background: linear-gradient(145deg, #d97706 0%, #b45309 45%, #78350f 100%);
    border-color: #fcd34d;
}
.results-hero .score-ring--dark.score-ring--strong {
    background: linear-gradient(145deg, #059669 0%, #047857 45%, #064e3b 100%);
    border-color: #6ee7b7;
}

.results-hero--compact { margin-bottom: 1rem; }
.results-hero--compact .results-hero__title { margin: .25rem 0 0; color: #fff; font-size: 1.25rem; }

.program-events-section { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid #e5e7eb; }
.program-events-section__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.program-events-empty { margin-top: .5rem; }
.program-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: .85rem;
}
.program-event-card {
    border: 1px solid #e5e7eb;
    border-radius: .85rem;
    background: #fff;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    min-height: 100%;
}
.program-event-card h4 { font-size: .9375rem; margin: 0; color: #111827; }
.program-event-card__venue { font-size: .8125rem; color: #6b7280; margin: .15rem 0 0; }
.program-event-card__date { font-size: .8125rem; color: #374151; margin: .35rem 0 0; }
.program-event-card__desc { font-size: .8125rem; color: #6b7280; margin: .35rem 0 0; line-height: 1.45; }
.program-event-card__actions { display: flex; gap: .5rem; margin-top: auto; }

.modal[hidden] { display: none !important; }
.modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .55); }
.modal__dialog {
    position: relative;
    width: min(100%, 520px);
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .2);
    overflow: hidden;
}
.modal__header, .modal__footer { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: 1rem 1.25rem; }
.modal__header { border-bottom: 1px solid #e5e7eb; }
.modal__header h3 { margin: 0; font-size: 1.05rem; }
.modal__body { padding: 1.25rem; }
.modal__footer { border-top: 1px solid #e5e7eb; justify-content: flex-end; }
.modal__close { border: none; background: none; font-size: 1.5rem; line-height: 1; cursor: pointer; color: #6b7280; }
body.modal-open { overflow: hidden; }

.admin-startup-assessment { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.section-title { font-size: 1.15rem; font-weight: 700; color: #111827; }
.section-subtitle { font-size: .875rem; color: #6b7280; margin-top: -.35rem; }
.assessment-readonly .form-textarea[readonly],
.assessment-readonly .form-select:disabled,
.assessment-readonly input:disabled { background: #f9fafb; color: #374151; cursor: not-allowed; }
.assessment-readonly .score-options label { opacity: .85; }
.assessment-results-embed .results-metrics,
.assessment-results-embed .widget-card,
.assessment-results-embed .results-split { margin-top: 1rem; }

.results-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: .85rem;
}
.results-metric {
    padding: 1rem 1.1rem;
    border-radius: .85rem;
    background: #fff;
    border: 1px solid #e5e7eb;
}
.results-metric__label { display: block; font-size: .75rem; color: #6b7280; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .35rem; }
.results-metric__value { display: block; font-size: 1.05rem; font-weight: 700; color: #111827; line-height: 1.3; }
.results-metric--stage { background: #f0fdf4; border-color: #bbf7d0; }
.results-metric--band { background: #fffbeb; border-color: #fde68a; }
.results-metric--model .form-select { margin-top: .15rem; font-size: .875rem; }
.results-model-form { margin: 0; }

.results-recommendation { font-size: .9375rem; line-height: 1.65; color: #374151; }
.widget-card--danger { border-color: #fecaca; background: #fef2f2; }
.widget-card--danger h3 { color: #991b1b; }
.widget-card__meta { font-size: .75rem; color: #6b7280; font-weight: 500; }

.results-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.results-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .55rem;
}
.results-list li {
    position: relative;
    padding: .65rem .85rem .65rem 2rem;
    border-radius: .65rem;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    font-size: .875rem;
    line-height: 1.45;
}
.results-list li::before {
    content: '';
    position: absolute;
    left: .75rem;
    top: .95rem;
    width: .45rem;
    height: .45rem;
    border-radius: 50%;
    background: #94a3b8;
}
.results-list--strengths li { background: #ecfdf5; border-color: #d1fae5; }
.results-list--strengths li::before { background: #10b981; }
.results-list--risks li { background: #fff7ed; border-color: #fed7aa; }
.results-list--risks li::before { background: #f59e0b; }
.results-list--danger li { background: #fff; border-color: #fecaca; }
.results-list--danger li::before { background: #ef4444; }

.table-wrap { overflow-x: auto; }
.empty-state__icon--chart { background: #dbeafe; }

@media (max-width: 768px) {
    .results-split { grid-template-columns: 1fr; }
    .results-hero__score { margin: 0 auto; }
}

@media (max-width: 960px) {
    .dashboard-grid { grid-template-columns: 1fr; }
    .startup-widget { grid-template-columns: 1fr; }
    .startup-widget__score, .startup-widget__empty-score { max-width: none; margin: 0 auto; }
}

@media (max-width: 640px) {
    .content-wrapper { padding: 1rem; }
    .dashboard-hero { padding: 1.25rem; }
    .dashboard-hero__aside { width: 100%; }
    .quick-actions { grid-template-columns: 1fr; }
}

.admin-dash { display: flex; flex-direction: column; gap: 1.25rem; }
.admin-dash__hero {
    padding: 1.15rem 1.35rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #1d4ed8 100%);
    color: #fff;
}
.admin-dash__eyebrow { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; opacity: .75; margin: 0; }
.admin-dash__title { margin: .2rem 0 0; color: #fff; }
.admin-dash__lede { margin: .35rem 0 0; opacity: .85; font-size: .9rem; max-width: 560px; }
.admin-dash .page-title { margin-bottom: 0; }
.admin-dash .stats-grid { margin-bottom: 0; }
.admin-dash__charts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.chart-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: .85rem;
    padding: 1rem 1.1rem 1.15rem;
}
.chart-card--wide { grid-column: 1 / -1; }
.chart-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; margin-bottom: .75rem; }
.chart-card__head h3 { font-size: .95rem; margin: 0; }
.chart-card__meta { font-size: .75rem; color: #6b7280; }
.chart-card__body { position: relative; height: 240px; }
.chart-card__body--bar { height: 280px; }
.admin-dash__split {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 1rem;
}
.score-chip {
    display: inline-flex;
    align-items: center;
    padding: .15rem .5rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
}
.score-chip.score-ring--low { background: #fef2f2; color: #991b1b; }
.score-chip.score-ring--watch { background: #fffbeb; color: #b45309; }
.score-chip.score-ring--strong { background: #ecfdf5; color: #047857; }
.var-avg-list { list-style: none; display: flex; flex-direction: column; gap: .85rem; }
.var-avg-list__meta { display: flex; justify-content: space-between; gap: .75rem; font-size: .8125rem; margin-bottom: .3rem; }
.var-avg-list__meta span { color: #6b7280; white-space: nowrap; }
.var-avg-bar { height: .45rem; background: #e5e7eb; border-radius: 999px; overflow: hidden; }
.var-avg-bar span { display: block; height: 100%; background: #2563eb; border-radius: 999px; }

.news-image-preview { margin-bottom: .75rem; }
.news-image-preview img {
    display: block;
    max-width: 220px;
    max-height: 140px;
    border-radius: .65rem;
    border: 1px solid #e5e7eb;
    object-fit: cover;
}
.news-image-preview p { margin-top: .45rem; }

@media (max-width: 1100px) {
    .admin-dash__charts { grid-template-columns: 1fr 1fr; }
    .admin-dash__split { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .admin-dash__charts { grid-template-columns: 1fr; }
}

