/* =========
   DESIGN SYSTEM NORMALIZATION
   ========= */
.archive-top-tab {
    border-color: var(--color-border-subtle);
    background: var(--color-surface-subtle);
    color: var(--color-text-main);
}

.archive-top-tab:hover {
    background: rgba(22, 70, 42, 0.08);
    border-color: var(--color-primary);
    color: var(--color-text-main);
}

.archive-top-tab.is-unopened {
    background: rgba(219, 128, 161, 0.18);
    border-color: rgba(219, 128, 161, 0.38);
    color: var(--color-secondary);
}

.archive-top-tab.is-unopened:hover {
    background: rgba(203, 165, 137, 0.28);
    border-color: var(--color-accent-2);
    color: var(--color-secondary);
}

.team-check--weekday.is-active {
    background: rgba(22, 70, 42, 0.12);
    border-color: rgba(22, 70, 42, 0.22);
    color: var(--color-primary);
}

.team-check--weekend.is-active {
    background: rgba(219, 128, 161, 0.16);
    border-color: rgba(219, 128, 161, 0.28);
    color: var(--color-secondary);
}

.team-sync-guidance,
.team-sync-persist {
    border-color: var(--color-border-subtle);
    background: var(--color-surface-subtle);
    color: var(--color-text-main);
}

.team-sync-guidance.is-warning {
    border-color: rgba(203, 165, 137, 0.5);
    background: rgba(203, 165, 137, 0.18);
    color: var(--color-secondary);
}

.team-sync-persist.is-success {
    border-color: rgba(22, 70, 42, 0.26);
    background: rgba(22, 70, 42, 0.1);
    color: var(--color-primary);
}

.team-sync-persist.is-error {
    border-color: rgba(219, 128, 161, 0.34);
    background: rgba(219, 128, 161, 0.12);
    color: var(--color-secondary);
}

.btn-soft-blue,
.btn-soft-orange,
.btn-soft-green {
    border-radius: var(--radius-pill);
    box-shadow: none;
}

.btn-soft-blue {
    border-color: rgba(8, 43, 89, 0.22);
    background: rgba(8, 43, 89, 0.08);
    color: var(--color-accent-4);
}

.btn-soft-blue:hover {
    background: rgba(8, 43, 89, 0.14);
    box-shadow: var(--shadow-card-soft);
}

.btn-soft-orange {
    border-color: rgba(255, 117, 31, 0.26);
    background: rgba(255, 117, 31, 0.1);
    color: var(--color-accent-1);
}

.btn-soft-orange:hover,
.btn-soft-orange.is-active {
    background: rgba(255, 117, 31, 0.16);
}

.btn-soft-green {
    border-color: rgba(22, 70, 42, 0.24);
    background: rgba(22, 70, 42, 0.1);
    color: var(--color-primary);
}

.btn-soft-green:hover {
    background: rgba(22, 70, 42, 0.16);
    box-shadow: var(--shadow-card-soft);
}

.sponsor-page-card__ai .btn-secondary,
.sponsor-page-card__ai [data-ai="sponsor"],
.sponsor-page-card__ai [data-ai="evenemang"],
.sponsor-page-card__ai [data-ai="custom"] {
    border-radius: var(--radius-pill);
}

.sponsor-page-card__ai [data-ai="sponsor"] {
    background: rgba(8, 43, 89, 0.08);
    border-color: rgba(8, 43, 89, 0.22);
    color: var(--color-accent-4);
}

.sponsor-page-card__ai [data-ai="evenemang"] {
    background: rgba(22, 70, 42, 0.1);
    border-color: rgba(22, 70, 42, 0.22);
    color: var(--color-primary);
}

.sponsor-page-card__ai [data-ai="custom"] {
    background: rgba(255, 117, 31, 0.1);
    border-color: rgba(255, 117, 31, 0.24);
    color: var(--color-accent-1);
}

.sponsor-page-card__ai .btn-secondary:hover {
    background: rgba(203, 165, 137, 0.18);
    border-color: var(--color-accent-2);
}

.sponsor-pdf-page .btn-primary {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.sponsor-pdf-page .btn-primary:hover {
    background: var(--color-accent-4);
    border-color: var(--color-accent-4);
}

.sponsor-pdf-page .btn-secondary,
.sponsor-pdf-page .btn-soft-blue {
    background: var(--color-surface-card);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.sponsor-pdf-page .btn-secondary:hover,
.sponsor-pdf-page .btn-soft-blue:hover {
    background: rgba(255, 117, 31, 0.08);
    border-color: var(--color-accent-1);
}

.planned-company-card {
    border-color: var(--color-border-subtle);
    box-shadow: var(--shadow-card-soft);
}

.planned-company-card.status-1,
.planned-company-card-new {
    background: var(--color-surface-card);
}

.planned-company-card.status-2 {
    background: rgba(203, 165, 137, 0.2);
}

.planned-company-card.status-3 {
    background: rgba(22, 70, 42, 0.1);
}

.planned-company-card.status-4 {
    background: rgba(219, 128, 161, 0.14);
}

.planned-company-card:hover {
    background-image: linear-gradient(rgba(22, 70, 42, 0.03), rgba(22, 70, 42, 0.03));
    box-shadow: var(--shadow-card);
}

.contact-link-phone {
    color: var(--color-primary);
}

.contact-link-phone:hover,
.contact-link-followup:hover {
    color: var(--color-accent-4);
}

.status-toggle-btn {
    border-color: var(--color-border-subtle);
    background: var(--color-surface-subtle);
    color: var(--color-text-main);
}

.status-toggle-btn:hover {
    background: rgba(22, 70, 42, 0.08);
    border-color: rgba(22, 70, 42, 0.24);
}

.status-toggle-btn.is-active.status-contacted {
    background: rgba(203, 165, 137, 0.9);
    border-color: var(--color-accent-2);
    color: var(--color-secondary);
    box-shadow: 0 4px 12px rgba(203, 165, 137, 0.28);
}

.status-toggle-btn.is-active.status-sponsored {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-text-inverse);
    box-shadow: 0 4px 12px rgba(22, 70, 42, 0.28);
}

.status-toggle-btn.is-active.status-notinterested {
    background: var(--color-accent-3);
    border-color: var(--color-accent-3);
    color: var(--color-secondary);
    box-shadow: 0 4px 12px rgba(219, 128, 161, 0.3);
}

.btn-soft-mail,
.btn-soft-phone,
.btn-soft-sales,
.btn-soft-followup {
    background: var(--color-primary);
    color: var(--color-text-inverse);
    border-color: var(--color-primary);
}

.btn-soft-mail:hover,
.btn-soft-phone:hover,
.btn-soft-sales:hover,
.btn-soft-followup:hover {
    background: var(--color-accent-4);
    border-color: var(--color-accent-4);
    box-shadow: var(--shadow-card-soft);
}

.email-modal-overlay,
.phone-modal-overlay {
    background: rgba(3, 26, 12, 0.56);
}

.email-modal-card,
.phone-modal-card {
    border: 1px solid var(--color-border-subtle);
    box-shadow: 0 20px 45px rgba(3, 26, 12, 0.22);
}

.email-modal-close:hover,
.email-modal-copy-subject-btn:hover {
    background: rgba(22, 70, 42, 0.08);
}

.email-modal-subject {
    background: rgba(8, 43, 89, 0.08);
    border-color: rgba(8, 43, 89, 0.2);
    color: var(--color-secondary);
}

.email-modal-body,
.phone-modal-number {
    background: var(--color-surface-subtle);
    border-color: var(--color-border-subtle);
    color: var(--color-text-main);
}

.email-modal-body.loading::before {
    border-top-color: var(--color-primary);
}

.agreement-actions .btn-soft-sponsor {
    background: rgba(8, 43, 89, 0.08);
    border-color: rgba(8, 43, 89, 0.24);
    color: var(--color-accent-4);
    box-shadow: none;
}

.agreement-actions .btn-soft-other {
    background: rgba(22, 70, 42, 0.1);
    border-color: rgba(22, 70, 42, 0.24);
    color: var(--color-primary);
    box-shadow: none;
}

.sponsor-builder-panel--simple {
    display: grid;
    gap: 24px;
}

.sponsor-builder-panel--wizard {
    max-width: 980px;
    margin: 0 auto;
}

.sponsor-wizard {
    border-radius: 28px;
    border: 1px solid rgba(8, 43, 89, 0.12);
    background:
        radial-gradient(circle at top right, rgba(255, 117, 31, 0.12), transparent 28%),
        linear-gradient(160deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.sponsor-wizard__frame {
    padding: 32px;
}

.sponsor-wizard__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 18px;
}

.sponsor-wizard__stepcount {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(8, 43, 89, 0.08);
    color: #082b59;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.sponsor-wizard__progress {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 28px;
}

.sponsor-wizard__progress-dot {
    display: block;
    height: 8px;
    border-radius: 999px;
    background: #dbe4ef;
}

.sponsor-wizard__progress-dot.is-active,
.sponsor-wizard__progress-dot.is-complete {
    background: linear-gradient(90deg, #082b59 0%, #ff751f 100%);
}

.sponsor-wizard__step {
    display: none;
}

.sponsor-wizard__step.is-active {
    display: block;
}

.sponsor-wizard__eyebrow {
    margin-bottom: 8px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sponsor-wizard__title {
    margin: 0;
    color: #0f172a;
    font-size: 34px;
    line-height: 1.05;
}

.sponsor-wizard__text {
    margin: 10px 0 0;
    max-width: 720px;
    color: #475569;
    font-size: 18px;
    line-height: 1.55;
}

.sponsor-wizard__subhead {
    margin: 18px 0 10px;
    color: #0f172a;
    font-size: 15px;
    font-weight: 700;
}

.sponsor-wizard__field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 22px;
}

.sponsor-wizard__choice-grid {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

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

.sponsor-wizard__choice-grid--5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.sponsor-wizard__choice-grid--values {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sponsor-wizard__choice-grid--values .sponsor-wizard-choice {
    min-height: 116px;
}

.sponsor-wizard__choice-grid--values .sponsor-wizard-choice strong {
    font-size: 18px;
}

.sponsor-wizard-choice {
    display: flex;
    min-height: 136px;
    min-width: 0;
    padding: 20px 18px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
    border-radius: 22px;
    border: 1px solid #d9e2ef;
    background: #ffffff;
    color: #0f172a;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.sponsor-wizard-choice__check {
    width: 18px;
    height: 18px;
    margin: 0 0 2px;
    accent-color: #082b59;
    cursor: pointer;
    flex-shrink: 0;
}

.sponsor-wizard-choice strong,
.sponsor-wizard-choice span {
    display: block;
}

.sponsor-wizard-choice strong {
    font-size: 20px;
    line-height: 1.15;
}

.sponsor-wizard-choice span {
    color: #475569;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.sponsor-wizard-choice:hover {
    border-color: rgba(8, 43, 89, 0.24);
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
}

.sponsor-wizard-choice.is-active,
.sponsor-wizard-choice:has(.sponsor-wizard-choice__check:checked),
.sponsor-wizard-choice--cta {
    border-color: #082b59;
    background:
        radial-gradient(circle at top right, rgba(255, 117, 31, 0.18), transparent 34%),
        linear-gradient(145deg, #0b345f 0%, #16486f 100%);
    color: #f8fafc;
}

.sponsor-wizard-choice.is-active span,
.sponsor-wizard-choice:has(.sponsor-wizard-choice__check:checked) span,
.sponsor-wizard-choice--cta span,
.sponsor-wizard-choice.is-active strong,
.sponsor-wizard-choice:has(.sponsor-wizard-choice__check:checked) strong,
.sponsor-wizard-choice--cta strong {
    color: inherit;
}

.sponsor-wizard__hint {
    margin-top: 10px;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.sponsor-wizard__assistant {
    display: grid;
    gap: 6px;
    margin-top: 20px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(8, 43, 89, 0.12);
    background: rgba(8, 43, 89, 0.05);
}

.sponsor-wizard__assistant--soft {
    background: rgba(255, 117, 31, 0.06);
    border-color: rgba(255, 117, 31, 0.16);
}

.sponsor-wizard__assistant strong {
    color: #082b59;
}

.sponsor-wizard__assistant span {
    color: #334155;
    line-height: 1.5;
}

.sponsor-wizard__package-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.sponsor-wizard-package {
    padding: 18px;
    border-radius: 20px;
    border: 1px solid #d9e2ef;
    background: #ffffff;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05);
}

.sponsor-wizard-package__top {
    display: grid;
    gap: 6px;
}

.sponsor-wizard-package__tag {
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sponsor-wizard-package__top strong {
    color: #0f172a;
    font-size: 22px;
    line-height: 1.1;
}

.sponsor-wizard-package__price {
    margin: 14px 0 8px;
    color: #082b59;
    font-size: 30px;
    line-height: 1;
    font-weight: 800;
}

.sponsor-wizard-package__text {
    margin: 0;
    color: #475569;
    line-height: 1.5;
}

.sponsor-wizard-package__list {
    margin: 14px 0 0;
    padding-left: 18px;
    color: #334155;
}

.sponsor-wizard-package__list li + li {
    margin-top: 6px;
}

.sponsor-wizard__inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.sponsor-wizard__footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.sponsor-wizard__footer .btn-primary,
.sponsor-wizard__footer .btn-secondary {
    min-width: 150px;
}

.sponsor-wizard__statusline {
    margin-top: 12px;
    color: #475569;
    font-size: 14px;
}

.sponsor-wizard__empty {
    padding: 24px;
    border-radius: 18px;
    border: 1px dashed #cbd5e1;
    color: #64748b;
    text-align: center;
}

.sponsor-advanced-workspace.is-hidden {
    display: none;
}

.sponsor-builder-highlight {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.sponsor-builder-highlight__item {
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(8, 43, 89, 0.16);
    background:
        radial-gradient(circle at top right, rgba(255, 117, 31, 0.18), transparent 38%),
        linear-gradient(145deg, #fff8ef 0%, #f7fbff 100%);
    box-shadow: 0 14px 28px rgba(8, 43, 89, 0.08);
}

.sponsor-builder-highlight__item strong,
.sponsor-builder-highlight__item span {
    display: block;
}

.sponsor-builder-highlight__item strong {
    margin-bottom: 6px;
    color: #082b59;
    font-size: 15px;
}

.sponsor-builder-highlight__item span {
    color: #334155;
    line-height: 1.5;
}

.sponsor-flow-step__eyebrow {
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
}

.sponsor-flow-step--profile {
    background:
        linear-gradient(135deg, rgba(8, 43, 89, 0.04), transparent 55%),
        linear-gradient(160deg, #ffffff 0%, #f8fbff 100%);
}

.sponsor-choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.sponsor-choice-grid--single {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.sponsor-choice-card {
    min-height: 92px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid #d9e2ef;
    background: linear-gradient(160deg, #ffffff 0%, #f8fafc 100%);
    color: #0f172a;
    text-align: left;
    font: inherit;
    font-weight: 700;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.sponsor-choice-card:hover {
    transform: translateY(-2px);
    border-color: rgba(8, 43, 89, 0.28);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
}

.sponsor-choice-card.is-active {
    border-color: #082b59;
    background:
        radial-gradient(circle at top right, rgba(255, 117, 31, 0.18), transparent 35%),
        linear-gradient(145deg, #0b345f 0%, #16486f 100%);
    color: #f8fafc;
    box-shadow: 0 16px 34px rgba(8, 43, 89, 0.22);
}

.sponsor-choice-card__label {
    display: block;
    line-height: 1.4;
}

.sponsor-package-stage-card {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 24px;
    margin-bottom: 18px;
    border-radius: 22px;
    border: 1px solid rgba(8, 43, 89, 0.14);
    background:
        radial-gradient(circle at top right, rgba(255, 117, 31, 0.18), transparent 32%),
        linear-gradient(140deg, #fffaf4 0%, #f6fbff 100%);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.sponsor-package-stage-card__eyebrow {
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
}

.sponsor-package-stage-card__title {
    margin: 0;
    color: #0f172a;
    font-size: 24px;
}

.sponsor-package-stage-card__text {
    margin: 10px 0 0;
    max-width: 640px;
    color: #475569;
    line-height: 1.6;
}

.sponsor-package-stage-card__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.sponsor-pdf-page [data-value-proposition-card],
.sponsor-pdf-page [data-matching-card],
.sponsor-pdf-page [data-communication-card] {
    display: none;
}

.sponsor-package-empty-state {
    display: grid;
    gap: 8px;
    padding: 28px;
    border-radius: 18px;
    border: 1px dashed #cbd5e1;
    background: #f8fafc;
    color: #475569;
}

.sponsor-package-empty-state strong {
    color: #0f172a;
}

.sponsor-page-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.sponsor-package-card {
    overflow: hidden;
    padding: 0;
    border-radius: 24px;
    border: 1px solid rgba(8, 43, 89, 0.12);
    background: #fff;
    box-shadow: 0 24px 42px rgba(15, 23, 42, 0.08);
}

.sponsor-package-card__media {
    position: relative;
    min-height: 220px;
    background: linear-gradient(135deg, #103f67 0%, #082b59 45%, #ff751f 120%);
}

.sponsor-package-card__media img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.sponsor-package-card__media.is-placeholder::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.2), transparent 26%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 58%);
}

.sponsor-package-card__media-copy {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 1;
    color: #fff;
}

.sponsor-package-card__media-copy span,
.sponsor-package-card__media-copy strong {
    display: block;
}

.sponsor-package-card__media-copy span {
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 11px;
    font-weight: 700;
    opacity: 0.86;
}

.sponsor-package-card__media-copy strong {
    max-width: 260px;
    font-size: 24px;
    line-height: 1.15;
}

.sponsor-package-card__logo-slot {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 1;
    min-width: 88px;
    padding: 10px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #082b59;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.sponsor-package-card__body {
    padding: 24px;
    display: grid;
    gap: 18px;
}

.sponsor-package-card__topline {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.sponsor-package-card__tag,
.sponsor-package-card__status,
.sponsor-package-card__badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.sponsor-package-card__tag {
    background: rgba(8, 43, 89, 0.08);
    color: #082b59;
}

.sponsor-package-card__status {
    background: rgba(255, 117, 31, 0.1);
    color: #9a3412;
}

.sponsor-package-card__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: start;
}

.sponsor-package-card__title,
.sponsor-package-card__subtitle,
.sponsor-package-card__price,
.sponsor-package-card__list-item span[contenteditable="true"] {
    border-radius: 12px;
    transition: background 0.18s ease, box-shadow 0.18s ease;
}

.sponsor-package-card__title {
    margin: 0;
    font-size: 28px;
    color: #0f172a;
}

.sponsor-package-card__subtitle {
    margin: 10px 0 0;
    color: #475569;
    line-height: 1.6;
}

.sponsor-package-card__price {
    min-width: 140px;
    padding: 14px 16px;
    border: 1px solid rgba(8, 43, 89, 0.14);
    background: linear-gradient(160deg, #fff8ef 0%, #ffffff 100%);
    color: #082b59;
    font-size: 28px;
    font-weight: 800;
    text-align: right;
    white-space: nowrap;
}

.sponsor-package-card__title[contenteditable="true"]:focus,
.sponsor-package-card__subtitle[contenteditable="true"]:focus,
.sponsor-package-card__price[contenteditable="true"]:focus,
.sponsor-package-card__list-item span[contenteditable="true"]:focus {
    outline: none;
    background: #f8fafc;
    box-shadow: 0 0 0 3px rgba(8, 43, 89, 0.14);
}

.sponsor-package-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sponsor-package-card__badge {
    background: #f8fafc;
    color: #334155;
}

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

.sponsor-package-card__section {
    padding: 18px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.sponsor-package-card__section-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

.sponsor-package-card__section-head strong {
    color: #0f172a;
}

.sponsor-package-card__mini-btn,
.sponsor-package-card__remove-item {
    border: 0;
    background: transparent;
    color: #082b59;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
}

.sponsor-package-card__remove-item {
    color: #b91c1c;
}

.sponsor-package-card__list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sponsor-package-card__list-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: start;
}

.sponsor-package-card__list-item span {
    display: block;
    line-height: 1.5;
    color: #334155;
}

.sponsor-package-card__list-item.is-empty {
    grid-template-columns: 1fr;
}

.sponsor-package-card__list-item.is-empty span {
    color: #64748b;
}

.sponsor-package-card__actions {
    display: flex;
    justify-content: flex-end;
}

.sponsor-archive-card {
    display: grid;
    gap: 16px;
}

.sponsor-archive-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.sponsor-archive-toolbar__copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sponsor-archive-toolbar__copy strong {
    color: #0f172a;
}

.sponsor-archive-toolbar__copy span {
    color: #64748b;
    font-size: 14px;
}

.sponsor-archive-toolbar__actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.sponsor-archive-toolbar__sort {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
}

.sponsor-archive-toolbar__sort select {
    min-height: 36px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    padding: 0 12px;
    background: #fff;
    color: #111827;
}

.sponsor-archive-view-toggle {
    display: inline-flex;
    gap: 8px;
}

.sponsor-archive-table .pdf-list-row.is-latest {
    border-left: 4px solid var(--color-primary, #16462A);
    background: rgba(22, 70, 42, 0.04);
}

.sponsor-archive-card[data-archive-view="cards"] .grants-row--head {
    display: none;
}

.sponsor-archive-card[data-archive-view="cards"] .pdf-list-row {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
    margin-bottom: 14px;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    background:
        radial-gradient(circle at top right, rgba(255, 117, 31, 0.12), transparent 34%),
        linear-gradient(160deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.sponsor-archive-card[data-archive-view="cards"] .pdf-list-row .grants-cell:first-child {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
}

@media (max-width: 980px) {
    .sponsor-builder-highlight,
    .sponsor-page-list,
    .sponsor-package-card__columns,
    .sponsor-wizard__package-grid {
        grid-template-columns: 1fr;
    }

    .sponsor-wizard__field-grid,
    .sponsor-wizard__choice-grid--3,
    .sponsor-wizard__choice-grid--values,
    .sponsor-wizard__choice-grid--5 {
        grid-template-columns: 1fr;
    }

    .sponsor-wizard__top,
    .sponsor-wizard__footer {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 860px) {
    .sponsor-package-stage-card,
    .sponsor-package-card__header,
    .sponsor-archive-toolbar {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }

    .sponsor-package-card__price {
        text-align: left;
    }
}

.dashboard-overview {
    padding: 22px 24px 28px;
}

.dashboard-overview__hero--primary {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 22px;
    padding: 24px 28px;
    border-radius: 24px;
    border: 1px solid rgba(8, 43, 89, 0.12);
    background:
        radial-gradient(circle at top right, rgba(255, 117, 31, 0.14), transparent 30%),
        linear-gradient(145deg, #ffffff 0%, #f7fbff 100%);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.06);
}

.dashboard-overview__hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}

.dashboard-overview__hero-highlight {
    display: grid;
    gap: 4px;
    min-width: 220px;
    padding: 12px 14px;
    border-radius: 18px;
    border: 1px solid rgba(8, 43, 89, 0.10);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
}

.dashboard-overview__hero-highlight span {
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dashboard-overview__hero-highlight strong {
    color: #0f172a;
    font-size: 15px;
    line-height: 1.35;
}

.dashboard-overview__role-setup {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin: 0 0 20px;
    padding: 18px 20px;
    border-radius: 22px;
    border: 1px solid rgba(8, 43, 89, 0.12);
    background:
        radial-gradient(circle at top right, rgba(8, 43, 89, 0.08), transparent 36%),
        linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05);
}

.dashboard-overview__role-setup-title {
    margin: 0 0 6px;
    color: #0f172a;
    font-size: 22px;
    line-height: 1.2;
}

.dashboard-overview__role-setup-copy {
    margin: 0;
    max-width: 780px;
    color: #475569;
    line-height: 1.6;
}

.dashboard-overview__card-link--ghost {
    background: #fff;
    color: #1d4ed8;
    border: 1px solid rgba(29, 78, 216, 0.18);
}

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

.dashboard-overview__metric-card {
    display: grid;
    grid-template-rows: auto auto minmax(38px, auto) minmax(46px, auto) minmax(82px, auto);
    padding: 18px 18px 16px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.05);
}

.dashboard-overview__metric-card--good {
    background: linear-gradient(160deg, #f2fbf5 0%, #ffffff 100%);
    border-color: #ccebd7;
}

.dashboard-overview__metric-card--opportunity {
    background: linear-gradient(160deg, #fff9ef 0%, #ffffff 100%);
    border-color: #f2ddb3;
}

.dashboard-overview__metric-card--risk {
    background: linear-gradient(160deg, #fff5f5 0%, #ffffff 100%);
    border-color: #f2d0d0;
}

.dashboard-overview__metric-label {
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.dashboard-overview__metric-value {
    margin-bottom: 6px;
    font-size: 34px;
    line-height: 1;
    font-weight: 800;
    color: #0f172a;
}

.dashboard-overview__metric-meta {
    min-height: 38px;
    color: #475569;
    font-size: 14px;
    line-height: 1.45;
}

.dashboard-overview__metric-progress {
    margin-top: 12px;
}

.dashboard-overview__metric-progress.is-empty {
    align-content: start;
}

.dashboard-overview__metric-progress-bar {
    height: 9px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

.dashboard-overview__metric-progress-bar span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #082b59, #ff751f);
}

.dashboard-overview__metric-progress-label {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
}

.dashboard-overview__metric-progress-placeholder {
    height: 9px;
    border-radius: 999px;
    background: rgba(226, 232, 240, 0.7);
}

.dashboard-overview__metric-estimate {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
    display: grid;
    grid-template-rows: auto auto 1fr;
    gap: 4px;
}

.dashboard-overview__metric-estimate-label {
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.dashboard-overview__metric-estimate-value {
    color: #082b59;
    font-size: 22px;
    line-height: 1.1;
}

.dashboard-overview__metric-estimate-meta {
    color: #475569;
    font-size: 12px;
    line-height: 1.4;
}

.dashboard-overview__focus-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(320px, 0.9fr);
    gap: 18px;
    margin-bottom: 18px;
}

.sponsor-overview__metric-card {
    min-height: 214px;
}

.sponsor-overview__focus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
}

.sponsor-overview__section-actions {
    display: grid;
    grid-template-columns: minmax(0, 220px) minmax(0, 220px) minmax(0, 150px);
    justify-content: end;
    gap: 12px;
    margin: -2px 0 18px;
}

.sponsor-overview__section-toggle {
    width: 100%;
    min-height: 44px;
    margin-top: 0;
    padding: 0 18px;
    justify-content: center;
    text-align: center;
    border-radius: 999px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.sponsor-overview__goal-editor {
    width: min(100%, 360px);
    justify-self: end;
    display: grid;
    gap: 10px;
    margin: -8px 0 18px;
    padding: 14px 16px;
    background: #f8fbff;
    border: 1px solid #dbe5f0;
    border-radius: 16px;
}

.sponsor-overview__section-toggle:hover,
.sponsor-overview__section-toggle.is-active {
    background: #16462A;
    border-color: #16462A;
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(22, 70, 42, 0.18);
}

#sponsor-sales-analysis,
#sponsor-forecast {
    scroll-margin-top: 96px;
}

.sponsor-overview__focus-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.sponsor-overview__collapsible {
    display: none;
}

.sponsor-overview__collapsible[hidden] {
    display: none !important;
}

.sponsor-overview__collapsible.is-open {
    display: flex;
    grid-column: 1 / -1;
}

@media (max-width: 700px) {
    .sponsor-overview__section-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        justify-content: stretch;
    }
}

.sponsor-overview__analysis-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 16px;
}

.sponsor-overview__analysis-tab {
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid #16462A;
    border-radius: 999px;
    background: #16462A;
    color: #ffffff;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.sponsor-overview__analysis-tab:hover,
.sponsor-overview__analysis-tab.is-active {
    border-color: #16462A;
    background: #16462A;
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(22, 70, 42, 0.18);
    transform: translateY(-1px);
}

@media (max-width: 700px) {
    .sponsor-overview__analysis-tabs {
        grid-template-columns: 1fr;
    }
}

.sponsor-overview__analysis-copy {
    margin-bottom: 16px;
}

.sponsor-overview__analysis-callout {
    display: grid;
    gap: 6px;
    margin-bottom: 18px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid #dbe5f0;
    background: #f8fbff;
}

.sponsor-overview__analysis-callout--risk {
    background: linear-gradient(160deg, #fff5f5 0%, #ffffff 100%);
    border-color: #f2d0d0;
}

.sponsor-overview__analysis-callout--opportunity {
    background: linear-gradient(160deg, #fff9ef 0%, #ffffff 100%);
    border-color: #f2ddb3;
}

.sponsor-overview__analysis-callout--good {
    background: linear-gradient(160deg, #f2fbf5 0%, #ffffff 100%);
    border-color: #ccebd7;
}

.sponsor-overview__analysis-callout h3 {
    margin: 0;
    font-size: 20px;
    color: #0f172a;
}

.sponsor-overview__analysis-callout p {
    margin: 0;
    color: #475569;
    line-height: 1.6;
}

.sponsor-overview__analysis-label {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sponsor-overview__analysis-section + .sponsor-overview__analysis-section {
    margin-top: 18px;
}

.sponsor-overview__analysis-stage-list {
    gap: 10px;
    margin-bottom: 12px;
}

.sponsor-overview__analysis-stage {
    padding: 14px 0;
}

.sponsor-overview__analysis-stage-copy {
    display: grid;
    gap: 4px;
}

.sponsor-overview__analysis-stage-copy strong {
    color: #0f172a;
    font-size: 15px;
}

.sponsor-overview__analysis-stage-copy span {
    color: #64748b;
    font-size: 13px;
}

.sponsor-overview__analysis-stage-value {
    color: #0f172a;
    font-size: 15px;
}

.sponsor-overview__analysis-note {
    margin: 0;
    color: #475569;
    line-height: 1.6;
}

.sponsor-overview__focus-stat--wide {
    grid-column: span 3;
}

.sponsor-overview__forecast-card {
    margin-bottom: 18px;
    padding: 18px;
    border: 1px solid #f2ddb3;
    border-radius: 18px;
    background: linear-gradient(160deg, #fff9ef 0%, #ffffff 100%);
}

.sponsor-overview__forecast-topline {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.sponsor-overview__forecast-topline span {
    color: #9a3412;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sponsor-overview__forecast-topline strong {
    color: #0f172a;
    font-size: 30px;
    line-height: 1;
    font-weight: 800;
}

.sponsor-overview__forecast-bar {
    height: 12px;
    margin-bottom: 10px;
    border-radius: 999px;
    background: #fde7c7;
    overflow: hidden;
}

.sponsor-overview__forecast-bar span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #f59e0b 0%, #ea580c 100%);
}

.sponsor-overview__forecast-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    color: #475569;
    font-size: 13px;
    line-height: 1.5;
}

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

.sponsor-overview__focus-footer {
    margin-top: auto;
}

.dashboard-overview__focus-card {
    position: relative;
    padding: 22px;
    border-radius: 22px;
    border: 1px solid #dbe5f0;
    background: #fff;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

.dashboard-overview__focus-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: #dbe5f0;
}

.dashboard-overview__focus-card--sponsor {
    border-color: rgba(255, 117, 31, 0.22);
    background:
        radial-gradient(circle at top right, rgba(255, 117, 31, 0.18), transparent 34%),
        linear-gradient(145deg, #ffffff 0%, #fff7f0 100%);
    box-shadow: 0 20px 38px rgba(8, 43, 89, 0.08);
}

.dashboard-overview__focus-card--sponsor::before {
    background: linear-gradient(90deg, #082b59 0%, #ff751f 100%);
}

.dashboard-overview__focus-card--actions {
    border-color: rgba(8, 43, 89, 0.16);
    background:
        radial-gradient(circle at top right, rgba(11, 107, 220, 0.12), transparent 34%),
        linear-gradient(145deg, #ffffff 0%, #f4f9ff 100%);
    box-shadow: 0 20px 38px rgba(8, 43, 89, 0.08);
}

.dashboard-overview__focus-card--actions::before {
    background: linear-gradient(90deg, #082b59 0%, #0b6bdc 100%);
}

.dashboard-overview__focus-card--kanslia {
    background:
        radial-gradient(circle at top right, rgba(239, 68, 68, 0.10), transparent 34%),
        linear-gradient(145deg, #ffffff 0%, #fff9f7 100%);
}

.dashboard-overview__focus-card--grant {
    border-color: rgba(11, 107, 220, 0.18);
    background:
        radial-gradient(circle at top right, rgba(11, 107, 220, 0.14), transparent 34%),
        linear-gradient(145deg, #ffffff 0%, #eff6ff 100%);
    box-shadow: 0 20px 38px rgba(11, 107, 220, 0.08);
}

.dashboard-overview__focus-card--grant::before {
    background: linear-gradient(90deg, #0b6bdc 0%, #4338ca 100%);
}

.dashboard-overview__focus-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.dashboard-overview__focus-title {
    margin: 4px 0 0;
    font-size: 24px;
    line-height: 1.15;
    color: #0f172a;
}

.dashboard-overview__focus-copy {
    margin: 0 0 18px;
    color: #475569;
    line-height: 1.6;
}

.dashboard-overview__focus-card--sponsor .dashboard-overview__card-eyebrow,
.dashboard-overview__focus-card--sponsor .dashboard-overview__metric-note {
    color: #082b59;
}

.dashboard-overview__focus-card--grant .dashboard-overview__card-eyebrow,
.dashboard-overview__focus-card--grant .dashboard-overview__metric-note {
    color: #0b6bdc;
}

.dashboard-overview__focus-card--actions .dashboard-overview__card-eyebrow,
.dashboard-overview__focus-card--actions .dashboard-overview__metric-note {
    color: #082b59;
}

.dashboard-overview__mini-link {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #dbe5f0;
    color: #082b59;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.dashboard-overview__focus-card--sponsor .dashboard-overview__mini-link {
    background: rgba(255, 245, 235, 0.96);
    border-color: rgba(255, 117, 31, 0.24);
    color: #082b59;
}

.dashboard-overview__focus-card--grant .dashboard-overview__mini-link {
    background: #eef2ff;
    border-color: rgba(11, 107, 220, 0.22);
    color: #1d4ed8;
}

.dashboard-overview__focus-card--actions .dashboard-overview__mini-link {
    background: #eff6ff;
    border-color: rgba(8, 43, 89, 0.18);
    color: #082b59;
}

.dashboard-overview__mini-link--cta {
    background: #082b59;
    border-color: #082b59;
    color: #fff;
}

.dashboard-overview__mini-link--button {
    appearance: none;
    cursor: pointer;
    font-family: inherit;
}

.dashboard-overview__action-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    margin-bottom: 14px;
}

.dashboard-overview__action-form--stacked {
    grid-template-columns: minmax(0, 1fr);
}

.dashboard-overview__action-input {
    width: 100%;
    min-height: 68px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid #dbe5f0;
    background: rgba(255, 255, 255, 0.92);
    color: #0f172a;
    font: inherit;
    line-height: 1.5;
    resize: vertical;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
}

.dashboard-overview__action-input:focus {
    outline: none;
    border-color: rgba(239, 68, 68, 0.34);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.dashboard-overview__action-input--large {
    min-height: 132px;
    font-size: 16px;
}

.dashboard-overview__kanslia-shell {
    margin-top: 6px;
}

.dashboard-overview__kanslia-input {
    min-height: 92px;
    max-height: 180px;
    resize: vertical;
}

.dashboard-overview__action-submit {
    min-width: 178px;
    justify-content: center;
}

.dashboard-overview__focus-grid--dashboard {
    grid-template-columns: minmax(0, 1.45fr) repeat(2, minmax(260px, 0.9fr));
    align-items: stretch;
}

.dashboard-overview__focus-grid--three-up {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

.dashboard-overview__focus-grid--mini {
    gap: 14px;
}

.dashboard-overview__focus-card--hub {
    min-height: 100%;
}

.dashboard-overview__focus-card--compact {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.dashboard-overview__focus-card--fullwidth {
    margin-bottom: 6px;
    padding: 26px;
}

.dashboard-overview__topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.dashboard-overview__topbar--compact {
    margin-bottom: 2px;
}

.dashboard-overview__topbar-copy {
    margin: 0;
    max-width: 720px;
    color: #475569;
    line-height: 1.6;
}

.dashboard-overview__topbar-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.dashboard-overview__shortcut-list {
    display: grid;
    gap: 12px;
}

.dashboard-overview__shortcut-card {
    display: grid;
    gap: 6px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid #dbe5f0;
    background: rgba(255, 255, 255, 0.82);
    color: #0f172a;
    text-decoration: none;
    transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.dashboard-overview__shortcut-card:hover {
    border-color: rgba(8, 43, 89, 0.28);
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.07);
}

.dashboard-overview__shortcut-card strong {
    font-size: 16px;
    line-height: 1.3;
}

.dashboard-overview__shortcut-card span:last-child {
    color: #475569;
    line-height: 1.5;
}

.dashboard-overview__shortcut-group {
    color: #082b59;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dashboard-overview__empty-state {
    padding: 16px;
    border-radius: 18px;
    border: 1px dashed #cbd5e1;
    background: rgba(248, 250, 252, 0.9);
    color: #475569;
    line-height: 1.6;
}

.dashboard-overview__stat-list {
    display: grid;
    gap: 12px;
}

.dashboard-overview__stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(219, 229, 240, 0.9);
}

.dashboard-overview__stat-row:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.dashboard-overview__stat-row span {
    color: #475569;
    font-weight: 600;
}

.dashboard-overview__stat-row strong {
    color: #0f172a;
    font-size: 18px;
}

.dashboard-overview__link-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 18px;
}

.dashboard-overview__mini-link-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

.dashboard-overview__focus-list-title {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 14px;
    font-weight: 800;
}

.dashboard-overview__focus-card--mini {
    padding: 18px;
    border-radius: 20px;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.05);
}

.dashboard-overview__focus-title--small {
    font-size: 38px;
    line-height: 1;
    margin-top: 8px;
}

.dashboard-overview__focus-copy--compact {
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.5;
}

.dashboard-overview__metric-note {
    margin: -2px 0 8px;
    color: #0f172a;
    font-size: 15px;
    font-weight: 800;
}

.dashboard-overview__mini-link-grid--compact {
    gap: 8px;
}

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

.dashboard-overview__quick-action {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid #dbe5f0;
    background: rgba(255, 255, 255, 0.88);
    color: #082b59;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.dashboard-overview__quick-action:hover {
    transform: translateY(-1px);
    border-color: rgba(8, 43, 89, 0.18);
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.06);
}

.dashboard-overview__focus-stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.dashboard-overview__focus-stats--summary {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dashboard-overview__focus-stat {
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid #e2e8f0;
}

.dashboard-overview__focus-stat span,
.dashboard-overview__focus-stat strong {
    display: block;
}

.dashboard-overview__focus-stat span {
    margin-bottom: 6px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.dashboard-overview__focus-stat strong {
    color: #0f172a;
    font-size: 24px;
    line-height: 1.1;
}

.dashboard-overview__focus-stat--emphasis {
    background: linear-gradient(160deg, #fff9ef 0%, #ffffff 100%);
    border-color: #f2ddb3;
}

.dashboard-overview__focus-stat--emphasis strong {
    color: #9a3412;
}

.dashboard-overview__stage-list {
    display: grid;
    gap: 12px;
}

.dashboard-overview__stage-row {
    display: grid;
    grid-template-columns: minmax(120px, 150px) minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
}

.dashboard-overview__stage-copy strong,
.dashboard-overview__stage-copy span {
    display: block;
}

.dashboard-overview__stage-copy strong {
    color: #0f172a;
    font-size: 14px;
}

.dashboard-overview__stage-copy span {
    margin-top: 4px;
    color: #64748b;
    font-size: 12px;
}

.dashboard-overview__stage-bar {
    height: 10px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

.kanslia-workspace {
    padding: 28px 0 52px;
}

.kanslia-workspace__container {
    max-width: 1180px;
}

.kanslia-workspace__hero {
    margin-bottom: 18px;
}

.kanslia-workspace__section {
    margin-bottom: 18px;
}

.kanslia-workspace__section-head {
    align-items: flex-end;
    margin-bottom: 18px;
}

.kanslia-workspace__section-copy {
    margin: 0;
    max-width: 380px;
    color: #64748b;
    line-height: 1.55;
    text-align: right;
}

.kanslia-workspace__quick-actions {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.kanslia-workspace__quick-action {
    min-height: 150px;
    gap: 10px;
    padding: 20px;
}

.kanslia-workspace__quick-tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eef5fb;
    color: #082b59;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.kanslia-workspace__priority-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.kanslia-workspace__priority-card {
    display: grid;
    gap: 10px;
    padding: 20px;
    border: 1px solid #dbe5f0;
    border-radius: 18px;
    background: linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
    text-align: left;
    color: #0f172a;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.04);
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.kanslia-workspace__priority-card:hover,
.kanslia-workspace__workflow-action:hover,
.kanslia-workspace__ongoing-card:hover {
    transform: translateY(-1px);
}

.kanslia-workspace__priority-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #fff4e8;
    color: #b45309;
    font-size: 12px;
    font-weight: 800;
}

.kanslia-workspace__priority-card strong,
.kanslia-workspace__ongoing-card strong,
.kanslia-workspace__workflow-summary strong {
    font-size: 17px;
    line-height: 1.3;
}

.kanslia-workspace__priority-card span:last-child,
.kanslia-workspace__workflow-summary span,
.kanslia-workspace__workflow-note span,
.kanslia-workspace__ongoing-card p {
    color: #475569;
    line-height: 1.55;
}

.kanslia-workspace__workflow-list {
    display: grid;
    gap: 14px;
}

.kanslia-workspace__workflow {
    border: 1px solid #dbe5f0;
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
}

.kanslia-workspace__workflow[open] {
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.05);
}

.kanslia-workspace__workflow-summary {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    cursor: pointer;
    list-style: none;
}

.kanslia-workspace__workflow-summary::-webkit-details-marker {
    display: none;
}

.kanslia-workspace__workflow-meta {
    flex-shrink: 0;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f8fafc;
    color: #082b59;
    font-size: 13px;
    font-weight: 700;
}

.kanslia-workspace__workflow-body {
    padding: 0 20px 20px;
}

.kanslia-workspace__checklist {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.kanslia-workspace__check-item {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.kanslia-workspace__check-item.is-done {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.kanslia-workspace__check-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    background: #fff;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    border: 1px solid #dbe5f0;
}

.kanslia-workspace__check-item.is-done .kanslia-workspace__check-indicator {
    background: #dcfce7;
    border-color: #86efac;
    color: #166534;
}

.kanslia-workspace__check-item strong,
.kanslia-workspace__workflow-note strong {
    display: block;
    margin-bottom: 4px;
    color: #0f172a;
}

.kanslia-workspace__check-item span:last-child {
    color: #64748b;
    line-height: 1.5;
}

.kanslia-workspace__workflow-footer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
    gap: 12px;
    margin-top: 16px;
}

.kanslia-workspace__workflow-note {
    padding: 14px 16px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.kanslia-workspace__workflow-action {
    align-self: stretch;
    min-width: 160px;
    border-radius: 16px;
}

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

.kanslia-workspace__ongoing-card {
    padding: 18px;
    border-radius: 18px;
    border: 1px solid #dbe5f0;
    background: #fff;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.04);
}

.kanslia-workspace__ongoing-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.kanslia-workspace__ongoing-head span,
.kanslia-workspace__ongoing-meta {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.kanslia-workspace__ongoing-progress {
    height: 10px;
    margin-bottom: 8px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

.kanslia-workspace__ongoing-progress span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #082b59 0%, #f97316 100%);
}

.kanslia-workspace__bottom {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) 320px;
    gap: 18px;
}

.kanslia-workspace__chat-card,
.kanslia-workspace__side-card {
    min-width: 0;
}

.kanslia-workspace__chat-intro {
    margin-bottom: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.kanslia-workspace__chat-intro p {
    margin: 0 0 10px;
    color: #475569;
    line-height: 1.55;
}

.kanslia-workspace__chat-shortcuts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.kanslia-workspace__chat-box {
    min-height: 180px;
    max-height: 320px;
}

.kanslia-workspace__upload-row {
    margin-top: 10px;
}

.kanslia-minimal {
    padding: 56px 0 64px;
}

.kanslia-minimal__container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

.kanslia-minimal__container--with-archive {
    max-width: 1260px;
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.kanslia-minimal__archive {
    position: sticky;
    top: 96px;
    border: 1px solid #dbe5f0;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}

.kanslia-minimal__archive-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 20px;
    border-bottom: 1px solid #e8eef5;
}

.kanslia-minimal__archive-head h2 {
    margin: 0;
    color: #0f172a;
    font-size: 16px;
}

.kanslia-minimal__archive-link {
    color: #082b59;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.kanslia-minimal__archive-list {
    display: grid;
}

.kanslia-minimal__archive-item {
    display: grid;
    gap: 6px;
    padding: 16px 20px;
    border-bottom: 1px solid #eef3f8;
    color: #0f172a;
    text-decoration: none;
    transition: background 0.18s ease, border-color 0.18s ease;
}

.kanslia-minimal__archive-item:hover,
.kanslia-minimal__archive-item.is-active {
    background: #f8fbff;
}

.kanslia-minimal__archive-item strong {
    font-size: 14px;
    line-height: 1.35;
}

.kanslia-minimal__archive-item span {
    color: #64748b;
    font-size: 13px;
    line-height: 1.45;
}

.kanslia-minimal__archive-empty {
    padding: 18px 20px 22px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.55;
}

.kanslia-minimal__main {
    min-width: 0;
}

.kanslia-minimal__title {
    margin: 0 0 18px;
    color: #0f172a;
    font-size: 38px;
    line-height: 1.08;
}

.kanslia-minimal__input-shell {
    margin-top: 20px;
    border: 1px solid #d5e0ec;
    border-radius: 28px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow:
        0 18px 34px rgba(15, 23, 42, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.kanslia-minimal__input-shell:focus-within {
    border-color: rgba(8, 43, 89, 0.26);
    box-shadow:
        0 22px 40px rgba(15, 23, 42, 0.08),
        0 0 0 4px rgba(8, 43, 89, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.kanslia-minimal__input {
    width: 100%;
    min-height: 220px;
    max-height: 420px;
    padding: 20px 24px;
    border: none;
    border-radius: 28px;
    background: transparent;
    color: #0f172a;
    font: inherit;
    font-size: 17px;
    line-height: 1.55;
    resize: vertical;
}

.kanslia-minimal__input::placeholder {
    color: #64748b;
}

.kanslia-minimal__input:focus {
    outline: none;
}

.kanslia-minimal__composer-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 20px 18px;
    flex-wrap: wrap;
}

.kanslia-minimal__attach {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid #dbe5f0;
    background: #f8fafc;
    color: #082b59;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease;
}

.kanslia-minimal__attach:hover {
    border-color: rgba(8, 43, 89, 0.26);
    background: #eff6ff;
}

.kanslia-minimal__send {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-left: auto;
    border-radius: 999px;
    border: 1px solid #082b59;
    background: #082b59;
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(8, 43, 89, 0.18);
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.kanslia-minimal__send:hover {
    background: #0b3b78;
    border-color: #0b3b78;
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(8, 43, 89, 0.24);
}

.kanslia-minimal__send:focus-visible {
    outline: 3px solid rgba(8, 43, 89, 0.22);
    outline-offset: 2px;
}

.kanslia-minimal__send:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.kanslia-minimal__send svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.kanslia-minimal--workspace .kanslia-minimal__container {
    max-width: 960px;
}

.kanslia-minimal--workspace .kanslia-minimal__input {
    min-height: 220px;
    max-height: 420px;
}

.kanslia-minimal--workspace .kanslia-minimal__send {
    display: inline-flex;
}

.kanslia-minimal__file {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.kanslia-minimal__file-name {
    min-height: 22px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.4;
}

.kanslia-minimal__file-name.is-hidden {
    display: none;
}

.kanslia-minimal__response {
    margin-top: 18px;
    padding: 22px 24px;
    border-radius: 22px;
    border: 1px solid #dbe5f0;
    background: #fff;
    color: #0f172a;
    line-height: 1.7;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.04);
}

.kanslia-minimal__response.is-hidden {
    display: none;
}

.kanslia-minimal__messages {
    display: grid;
    gap: 14px;
    margin-top: 10px;
}

.kanslia-minimal__messages.is-hidden {
    display: none;
}

.kanslia-minimal__message {
    display: flex;
}

.kanslia-minimal__message--user {
    justify-content: flex-end;
}

.kanslia-minimal__message--assistant {
    justify-content: flex-start;
}

.kanslia-minimal__message-inner {
    max-width: min(100%, 640px);
    padding: 16px 18px;
    border-radius: 22px;
    line-height: 1.7;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.04);
    border: 1px solid #dbe5f0;
    white-space: normal;
    word-break: break-word;
}

.kanslia-minimal__message--assistant .kanslia-minimal__message-inner {
    background: #fff;
    color: #0f172a;
}

.kanslia-minimal__message--thinking .kanslia-minimal__message-inner {
    display: inline-flex;
    align-items: center;
    min-width: 74px;
}

.kanslia-minimal__message--user .kanslia-minimal__message-inner {
    background: #082b59;
    border-color: #082b59;
    color: #fff;
}

.kanslia-minimal__thinking {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 22px;
}

.kanslia-minimal__thinking-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #94a3b8;
    animation: kansliaThinkingPulse 1.2s ease-in-out infinite;
}

.kanslia-minimal__thinking-dot:nth-child(2) {
    animation-delay: 0.18s;
}

.kanslia-minimal__thinking-dot:nth-child(3) {
    animation-delay: 0.36s;
}

@keyframes kansliaThinkingPulse {
    0%, 80%, 100% {
        opacity: 0.3;
        transform: translateY(0) scale(0.92);
    }
    40% {
        opacity: 1;
        transform: translateY(-2px) scale(1);
    }
}

@media (max-width: 1100px) {
    .kanslia-workspace__quick-actions,
    .kanslia-workspace__ongoing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .kanslia-workspace__bottom {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .kanslia-workspace__priority-list,
    .kanslia-workspace__workflow-footer {
        grid-template-columns: 1fr;
    }

    .kanslia-workspace__section-copy {
        max-width: none;
        text-align: left;
    }

    .kanslia-workspace__section-head {
        align-items: flex-start;
    }
}

@media (max-width: 760px) {
    .kanslia-minimal {
        padding: 36px 0 44px;
    }

    .kanslia-minimal__container--with-archive {
        grid-template-columns: 1fr;
    }

    .kanslia-minimal__archive {
        position: static;
    }

    .kanslia-minimal__title {
        font-size: 30px;
    }

    .kanslia-minimal__input {
        min-height: 90px;
        max-height: 220px;
        padding: 18px 18px 19px;
        font-size: 16px;
    }

    .kanslia-minimal--workspace .kanslia-minimal__input {
        min-height: 90px;
        max-height: 220px;
    }

    .kanslia-workspace__quick-actions,
    .kanslia-workspace__ongoing-grid {
        grid-template-columns: 1fr;
    }

    .kanslia-workspace__check-item {
        grid-template-columns: 1fr;
    }
}

.dashboard-overview__stage-bar span {
    display: block;
    height: 100%;
    border-radius: 999px;
}

.dashboard-overview__stage-row--risk .dashboard-overview__stage-bar span {
    background: linear-gradient(90deg, #f59e0b, #f97316);
}

.dashboard-overview__stage-row--opportunity .dashboard-overview__stage-bar span {
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
}

.dashboard-overview__stage-row--good .dashboard-overview__stage-bar span {
    background: linear-gradient(90deg, #22c55e, #15803d);
}

.dashboard-overview__stage-amount {
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.dashboard-overview__focus-footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #e2e8f0;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
}

.dashboard-overview__action-list {
    display: grid;
    gap: 12px;
}

.dashboard-overview__action-item {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    background: #fff;
}

.dashboard-overview__action-item--opportunity {
    background: linear-gradient(160deg, #fff9ef 0%, #ffffff 100%);
    border-color: #f2ddb3;
}

.dashboard-overview__action-item--good {
    background: linear-gradient(160deg, #f2fbf5 0%, #ffffff 100%);
    border-color: #ccebd7;
}

.dashboard-overview__action-item--risk {
    background: linear-gradient(160deg, #fff5f5 0%, #ffffff 100%);
    border-color: #f2d0d0;
}

.dashboard-overview__action-copy h3 {
    margin: 0 0 6px;
    font-size: 16px;
    color: #0f172a;
}

.dashboard-overview__action-copy p {
    margin: 0;
    color: #475569;
    line-height: 1.5;
}

.dashboard-overview__focus-list-title {
    margin: 2px 0 10px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dashboard-overview__preview-list--summary {
    margin-bottom: 4px;
}

.dashboard-overview__empty-note {
    margin-bottom: 4px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px dashed #cbd5e1;
    background: rgba(248, 250, 252, 0.92);
    color: #475569;
    line-height: 1.5;
}

.dashboard-overview__grid {
    gap: 14px;
}

.dashboard-overview__grid--nav {
    gap: 10px;
    margin-bottom: 18px;
}

.dashboard-overview__grid--choices {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dashboard-overview__card {
    border-radius: 20px;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.05);
}

.dashboard-overview__card--nav {
    padding: 16px 16px 14px;
    border-radius: 18px;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.04);
}

.dashboard-overview__card--nav::before {
    height: 4px;
    margin-bottom: 10px;
}

.dashboard-overview__card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.dashboard-overview__card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.dashboard-overview__card-icon svg {
    width: 18px;
    height: 18px;
}

.dashboard-overview__card-icon--green {
    background: rgba(34, 197, 94, 0.10);
    border-color: rgba(21, 128, 61, 0.16);
    color: #166534;
}

.dashboard-overview__card-icon--blue {
    background: rgba(59, 130, 246, 0.10);
    border-color: rgba(29, 78, 216, 0.16);
    color: #1d4ed8;
}

.dashboard-overview__card-icon--calendar {
    background: rgba(250, 204, 21, 0.14);
    border-color: rgba(202, 138, 4, 0.18);
    color: #a16207;
}

.dashboard-overview__card-icon--red {
    background: rgba(239, 68, 68, 0.10);
    border-color: rgba(185, 28, 28, 0.16);
    color: #b91c1c;
}

.dashboard-overview__card--nav .dashboard-overview__card-eyebrow {
    margin-bottom: 6px;
    font-size: 11px;
}

.dashboard-overview__card--nav .dashboard-overview__card-value {
    margin-bottom: 8px;
    font-size: 32px;
}

.dashboard-overview__card--nav .dashboard-overview__card-title {
    margin-bottom: 6px;
    font-size: 17px;
    line-height: 1.25;
}

.dashboard-overview__card--nav .dashboard-overview__card-meta {
    min-height: 34px;
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.4;
}

.dashboard-overview__card--nav .dashboard-overview__breakdown {
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 12px;
}

.dashboard-overview__card--nav .dashboard-overview__breakdown-row {
    padding: 4px 0;
}

.dashboard-overview__card--nav .dashboard-overview__breakdown-label {
    font-size: 13px;
}

.dashboard-overview__card--nav .dashboard-overview__breakdown-value {
    font-size: 14px;
}

.dashboard-overview__card--nav .dashboard-overview__preview-list {
    gap: 8px;
    margin-bottom: 12px;
}

.dashboard-overview__card--nav .dashboard-overview__preview-item {
    grid-template-columns: 10px 78px 1fr;
    gap: 8px;
    font-size: 12px;
}

.dashboard-overview__card--nav .dashboard-overview__card-link {
    min-height: 36px;
    padding: 0 14px;
    font-size: 13px;
}

.dashboard-overview__card--choice .dashboard-overview__card-title {
    margin-bottom: 8px;
}

.dashboard-overview__choice-stat {
    margin: 0 0 14px;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.86);
}

.dashboard-overview__choice-stat span {
    display: block;
    margin-bottom: 4px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.dashboard-overview__choice-stat strong {
    color: #0f172a;
    font-size: 20px;
    line-height: 1.1;
}

.dashboard-overview__card-value {
    font-size: 42px;
}

.dashboard-overview__card-meta {
    min-height: 44px;
}

@media (min-width: 1180px) {
    .dashboard-overview {
        padding: 10px 10px 18px;
    }

    .dashboard-overview__hero--primary {
        margin-bottom: 14px;
        padding: 18px 20px;
    }

    .dashboard-overview__title {
        font-size: 28px;
    }

    .dashboard-overview__subtitle {
        display: block;
    }

    .dashboard-overview__metrics {
        gap: 10px;
        margin-bottom: 12px;
    }

    .dashboard-overview__metric-card {
        grid-template-rows: auto auto minmax(32px, auto) minmax(42px, auto) minmax(72px, auto);
        padding: 14px 14px 12px;
    }

    .dashboard-overview__metric-value {
        font-size: 28px;
    }

    .dashboard-overview__metric-meta {
        min-height: 32px;
        font-size: 12px;
    }

    .dashboard-overview__metric-estimate {
        margin-top: 10px;
        padding-top: 10px;
    }

    .dashboard-overview__metric-estimate-value {
        font-size: 18px;
    }

    .dashboard-overview__focus-grid {
        gap: 12px;
        margin-bottom: 12px;
    }

    .dashboard-overview__grid--nav {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        margin-bottom: 12px;
    }

    .dashboard-overview__grid--choices {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .dashboard-overview__card--nav {
        padding: 12px;
    }

    .dashboard-overview__card--nav .dashboard-overview__card-value {
        font-size: 24px;
    }

    .dashboard-overview__card--nav .dashboard-overview__card-title {
        font-size: 14px;
    }

    .dashboard-overview__card--nav .dashboard-overview__card-meta {
        min-height: 28px;
        font-size: 11px;
    }

    .dashboard-overview__card--nav .dashboard-overview__breakdown {
        margin-bottom: 8px;
        padding: 8px;
    }

    .dashboard-overview__card--nav .dashboard-overview__card-link {
        min-height: 30px;
        font-size: 11px;
    }

    .dashboard-overview__focus-card {
        padding: 18px;
    }

    .dashboard-overview__focus-title {
        font-size: 20px;
    }

    .dashboard-overview__focus-stats {
        gap: 10px;
        margin-bottom: 14px;
    }

    .dashboard-overview__quick-actions {
        gap: 8px;
    }

    .dashboard-overview__focus-stat {
        padding: 12px;
    }

    .dashboard-overview__focus-stat strong {
        font-size: 20px;
    }

    .dashboard-overview__action-item {
        padding: 14px;
    }
}

@media (min-width: 960px) and (max-width: 1179px) {
    .dashboard-overview__grid--nav {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .dashboard-overview__grid--choices {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .dashboard-overview__card--nav {
        padding: 13px;
    }

    .dashboard-overview__card--nav .dashboard-overview__card-value {
        font-size: 26px;
    }

    .dashboard-overview__card--nav .dashboard-overview__card-title {
        font-size: 14px;
    }

    .dashboard-overview__card--nav .dashboard-overview__card-meta {
        min-height: 30px;
        font-size: 11px;
    }
}

@media (max-width: 1080px) {
    .dashboard-overview__metrics,
    .dashboard-overview__focus-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-overview__quick-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

    .sponsor-overview__forecast-topline {
        flex-direction: column;
        align-items: flex-start;
    }

    .sponsor-overview__focus-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .dashboard-overview__hero--primary,
    .dashboard-overview__focus-head,
    .dashboard-overview__action-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-overview__hero-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .dashboard-overview__hero-highlight {
        width: 100%;
        min-width: 0;
    }

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

    .dashboard-overview__action-submit {
        width: 100%;
    }

    .dashboard-overview__metrics,
    .dashboard-overview__focus-stats,
    .dashboard-overview__grid {
        grid-template-columns: 1fr;
    }

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

    .dashboard-overview__card-icon {
        width: 30px;
        height: 30px;
        border-radius: 10px;
    }

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

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

.dashboard-module {
    min-width: 0;
}

.dashboard-module--full {
    grid-column: 1 / -1;
}

.dashboard-module--wide {
    grid-column: span 6;
}

.dashboard-module--small {
    grid-column: span 4;
}

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

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

.dashboard-module__title {
    margin: 4px 0 0;
    font-size: 22px;
    line-height: 1.15;
    color: #0f172a;
}

.dashboard-module__badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(8, 43, 89, 0.08);
    color: #082b59;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.dashboard-overview__metrics--module {
    margin-bottom: 0;
}

.dashboard-overview__quick-actions--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.dashboard-module__shortcut {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid #dbe5f0;
    background: #fff;
    color: #082b59;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
}

.dashboard-module__shortcut--green {
    background: linear-gradient(160deg, #f2fbf5 0%, #ffffff 100%);
    border-color: #ccebd7;
}

.dashboard-module__shortcut--blue {
    background: linear-gradient(160deg, #f5f9ff 0%, #ffffff 100%);
    border-color: #d4e4fb;
}

.dashboard-module__shortcut--calendar {
    background: linear-gradient(160deg, #fff9ef 0%, #ffffff 100%);
    border-color: #f2ddb3;
}

.dashboard-module__shortcut--red {
    background: linear-gradient(160deg, #fff5f5 0%, #ffffff 100%);
    border-color: #f2d0d0;
}

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

.dashboard-module__stat-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: rgba(255, 255, 255, 0.88);
}

.dashboard-module__stat-row span {
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}

.dashboard-module__stat-row strong {
    color: #0f172a;
    font-size: 15px;
}

.dashboard-customizer {
    position: fixed;
    inset: 0;
    z-index: 2000;
}

.dashboard-customizer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.46);
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.18s ease;
}

.dashboard-customizer__dialog {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: flex-end;
    align-items: stretch;
    min-height: 100%;
    padding: 0;
}

.dashboard-customizer__panel {
    width: min(520px, 100%);
    height: 100vh;
    max-height: 100vh;
    overflow: auto;
    padding: 24px 24px 28px;
    border-radius: 0;
    border: none;
    border-left: 1px solid rgba(8, 43, 89, 0.12);
    background: #fff;
    box-shadow: -18px 0 50px rgba(15, 23, 42, 0.16);
    transform: translateX(100%);
    transition: transform 0.22s ease;
}

.dashboard-customizer.is-open .dashboard-customizer__backdrop {
    opacity: 1;
}

.dashboard-customizer.is-open .dashboard-customizer__panel {
    transform: translateX(0);
}

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

.dashboard-customizer__title {
    margin: 4px 0 8px;
    font-size: 30px;
    line-height: 1.08;
    color: #0f172a;
}

.dashboard-customizer__copy {
    margin: 0;
    color: #475569;
    line-height: 1.6;
}

.dashboard-customizer__summary {
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #dbe5f0;
    color: #475569;
    font-weight: 600;
}

.dashboard-customizer--simple .dashboard-customizer__section {
    display: none;
}

.dashboard-customizer--simple .dashboard-customizer__summary {
    margin-bottom: 16px;
}

.dashboard-customizer--simple .dashboard-customizer__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.dashboard-picker-card {
    display: grid;
    gap: 12px;
    width: 100%;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid #dbe5f0;
    background: #fff;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.dashboard-picker-card:hover {
    border-color: rgba(8, 43, 89, 0.24);
    transform: translateY(-1px);
}

.dashboard-picker-card.is-active {
    border-color: rgba(8, 43, 89, 0.34);
    background: linear-gradient(160deg, #f8fbff 0%, #ffffff 100%);
    box-shadow: 0 16px 32px rgba(8, 43, 89, 0.08);
}

.dashboard-picker-card__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.dashboard-picker-card__icon,
.dashboard-picker-card__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    flex: 0 0 auto;
}

.dashboard-picker-card__icon {
    background: rgba(8, 43, 89, 0.07);
    color: #082b59;
}

.dashboard-picker-card__icon svg,
.dashboard-picker-card__check svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dashboard-picker-card__check {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: transparent;
}

.dashboard-picker-card__check.is-checked {
    border-color: #082b59;
    background: #082b59;
    color: #fff;
}

.dashboard-picker-card__title {
    color: #0f172a;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.25;
}

.dashboard-picker-card__copy {
    margin: 0;
    color: #475569;
    line-height: 1.55;
}

.dashboard-picker-card__pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #dbe5f0;
    color: #082b59;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.dashboard-picker-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.dashboard-customizer__section {
    display: grid;
    gap: 12px;
    margin-bottom: 16px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid #dbe5f0;
    background: linear-gradient(180deg, rgba(8, 43, 89, 0.03), rgba(255, 255, 255, 0.98));
}

.dashboard-customizer__section-title {
    margin: 0;
    color: #0f172a;
    font-size: 20px;
    line-height: 1.2;
}

.dashboard-customizer__copy--tight {
    margin-top: -4px;
}

.dashboard-customizer__role-note {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #dbe5f0;
}

.dashboard-customizer__role-note strong {
    color: #0f172a;
    font-size: 15px;
}

.dashboard-customizer__role-note span {
    color: #475569;
    line-height: 1.5;
}

.dashboard-role-picker {
    display: grid;
    gap: 10px;
}

.dashboard-role-option {
    display: grid;
    gap: 6px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid #dbe5f0;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.dashboard-role-option:hover {
    border-color: rgba(8, 43, 89, 0.26);
    transform: translateY(-1px);
}

.dashboard-role-option.is-selected {
    border-color: #082b59;
    box-shadow: 0 12px 24px rgba(8, 43, 89, 0.10);
}

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

.dashboard-role-option__title {
    color: #0f172a;
    font-size: 16px;
    font-weight: 800;
}

.dashboard-role-option__copy {
    color: #475569;
    line-height: 1.5;
}

.dashboard-customizer__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid #dbe5f0;
    background: #fff;
    color: #0f172a;
    font-size: 24px;
    cursor: pointer;
}

.dashboard-customizer__list {
    display: grid;
    gap: 12px;
}

.dashboard-customizer__list--shortcuts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-customizer__item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: start;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid #dbe5f0;
    background: #fff;
}

.dashboard-customizer__item.is-hidden {
    opacity: 0.72;
}

.dashboard-customizer__item-title {
    color: #0f172a;
    font-size: 17px;
    font-weight: 800;
}

.dashboard-customizer__item-copy {
    margin: 6px 0 0;
    color: #475569;
    line-height: 1.5;
}

.dashboard-customizer__item-main {
    display: grid;
    gap: 8px;
}

.dashboard-customizer__item-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    align-items: center;
}

.dashboard-customizer__toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid #dbe5f0;
    background: #f8fafc;
    color: #0f172a;
    font-weight: 700;
}

.dashboard-customizer__mode {
    display: inline-flex;
    gap: 6px;
    padding: 4px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #dbe5f0;
}

.dashboard-customizer__mode-btn,
.dashboard-customizer__text-btn {
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid #dbe5f0;
    background: #fff;
    color: #082b59;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.dashboard-customizer__mode-btn.is-active,
.dashboard-customizer__text-btn.is-active {
    background: #082b59;
    border-color: #082b59;
    color: #fff;
}

.dashboard-customizer__mode-btn:disabled,
.dashboard-customizer__text-btn:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.dashboard-customizer__footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

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

body.dashboard-customizer-open {
    overflow: hidden;
}

@media (max-width: 1100px) {
    .dashboard-overview__focus-grid--three-up {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .dashboard-overview__focus-card--hub {
        grid-column: 1 / -1;
    }

    .dashboard-module--wide,
    .dashboard-module--small {
        grid-column: span 6;
    }
}

@media (max-width: 820px) {
    .dashboard-overview__focus-grid--three-up {
        grid-template-columns: 1fr;
    }

    .dashboard-overview__topbar,
    .dashboard-overview__topbar-actions,
    .dashboard-overview__link-row {
        flex-direction: column;
        align-items: stretch;
    }

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

    .dashboard-overview__role-setup {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .dashboard-overview__module-grid,
    .dashboard-module__shortcut-list {
        grid-template-columns: 1fr;
    }

    .dashboard-module--wide,
    .dashboard-module--small,
    .dashboard-module--full {
        grid-column: 1 / -1;
    }

    .dashboard-overview__quick-actions--compact,
    .dashboard-overview__quick-actions {
        grid-template-columns: 1fr;
    }

    .dashboard-customizer__item,
    .dashboard-customizer__footer {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }

    .dashboard-customizer__item-controls,
    .dashboard-customizer__footer-actions {
        justify-content: flex-start;
    }

    .dashboard-customizer__panel {
        width: 100%;
        padding: 20px 18px 24px;
    }
}
