.portal-layout { --report-surface: #151c2b; --report-border: #2a3447; }
.report-step-changing { overflow-anchor: none; }
#report-wizard-title:focus { outline: none; }
.portal-layout button, .portal-layout input, .portal-layout select, .portal-layout textarea { font-family: var(--font); }
.report-workspace { max-width: 1200px; margin: 0 auto; min-width: 0; }
.report-workspace[hidden], #portal-existing[hidden] { display: none !important; }
.report-workspace-heading { display: flex; justify-content: space-between; align-items: start; margin: 0 0 28px; }
.report-eyebrow { color: #7cc5f5; text-transform: uppercase; font-size: .76rem; font-weight: 750; letter-spacing: .1em; }
.report-workspace h1 { color: #f8fafc; margin: 8px 0; font-size: clamp(1.65rem, 3vw, 2.2rem); letter-spacing: -.03em; }
.report-workspace-heading p { color: #aab6c9; margin: 0; max-width: 700px; line-height: 1.6; }
.report-action-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.report-action-card, .report-years, .report-step-panel { background: #151c2b; border: 1px solid #2a3447; border-radius: 16px; padding: 26px; box-shadow: 0 12px 36px rgba(0,0,0,.12); }
.report-action-card { display: flex; flex-direction: column; min-height: 268px; }
.report-action-card[hidden] { display: none; }
.report-resume-card { grid-column: 1 / -1; min-height: 0; border-color: #65b9ed; background: #18283a; }
.report-resume-card[hidden] { display: none; }
.report-resume-card .report-primary-btn { align-self: flex-start; }
.report-action-card--muted { border-color: #273447; }
.report-action-icon { display: grid; place-items: center; width: 44px; height: 44px; background: #203b50; color: #80cdfc; border-radius: 11px; font-size: 1.35rem; }
.report-action-card h2, .report-years h2, .report-step-panel h2 { color: #f8fafc; margin: 18px 0 8px; font-size: 1.15rem; }
.report-action-card p, .report-step-panel > p { color: #aab6c9; line-height: 1.55; margin: 0 0 20px; }
.report-action-card label { color: #aab6c9; font-size: .8rem; margin-top: auto; margin-bottom: 7px; }
.report-action-row { display: flex; gap: 10px; }
.report-action-row select, .report-field input, .report-field textarea, .report-financial-input, .report-review-comment { background-color: #0d1421; border: 1px solid #35445a; border-radius: 8px; color: #f8fafc; padding: 10px 12px; font: inherit; }
.report-action-row select { min-width: 100px; }
.report-primary-btn, .report-secondary-btn { border-radius: 8px; min-height: 41px; padding: 9px 15px; cursor: pointer; font: inherit; font-weight: 650; }
.report-primary-btn { color: #071523; background: #7cc5f5; border: 1px solid #7cc5f5; }
.report-secondary-btn { color: #dce7f3; background: #1d293b; border: 1px solid #40516a; }
.report-primary-btn:hover { background: #a0d9fb; }
.report-secondary-btn:hover { background: #26364d; }
.report-draft-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.report-danger-btn { color: #f4b5b5; border-color: #975658; }
.report-danger-btn:hover { background: #40272e; }
.report-danger-btn[hidden] { display: none; }
.report-primary-btn:disabled, .report-secondary-btn:disabled { opacity: .45; cursor: not-allowed; }
.report-action-card > .report-secondary-btn { margin-top: auto; align-self: flex-start; }
.report-years { margin-top: 22px; }
.report-years-heading { display: flex; justify-content: space-between; align-items: center; }
.report-years-heading h2 { margin: 0 0 15px; }
.report-years-heading span { color: #8293aa; font-size: .85rem; }
.report-year-row { display: grid; grid-template-columns: 80px max-content minmax(0,1fr) auto; align-items: center; gap: 18px; border-top: 1px solid #2a3447; padding: 15px 4px; }
.report-year-row strong { color: #f8fafc; }
.report-year-meta { color: #aab6c9; font-size: .86rem; }
.report-year-progress { display: block; color: #d2e4f4; margin-top: 5px; font-size: .82rem; }
.report-confirmation-card { max-width: 720px; margin: 5vh auto; background: #151c2b; border: 1px solid #2a3447; border-radius: 16px; padding: clamp(24px, 5vw, 48px); }
.report-confirmation-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; color: #0b251b; background: #a5e3be; border-radius: 50%; font-size: 1.6rem; font-weight: 800; }
.report-confirmation-card p { color: #cbd5e1; line-height: 1.6; }
.report-confirmation-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.report-status { display: inline-block; border-radius: 20px; padding: 5px 9px; font-size: .77rem; font-weight: 700; white-space: nowrap; }
.report-status--draft, .report-status--reopened { color: #f4d788; background: #463a1d; }
.report-status--submitted, .report-status--in_review { color: #92c8fc; background: #1c354d; }
.report-status--approved { color: #a5e3be; background: #1a3d34; }
.report-status--unknown { color: #cbd5e1; background: #354052; }
.report-feedback { color: #f4b5b5; min-height: 1.3em; margin-top: 12px; }
.report-wizard-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.report-text-btn { color: #8acbfa; border: 0; background: transparent; cursor: pointer; padding: 0 0 8px; font: inherit; font-size: .87rem; }
.report-save-state { color: #a5e3be; font-size: .84rem; }
.report-save-state--error { color: #f4b5b5; }
.report-save-wrap { display: inline-flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px; }
.report-save-wrap .report-secondary-btn { min-height: 34px; padding: 5px 10px; }
.report-current-step { display: none; color: #d7e8f5; font-weight: 650; margin: -8px 0 15px; }
.report-stepper { display: grid; grid-template-columns: repeat(4,1fr); list-style: none; margin: 0 0 22px; padding: 0; gap: 10px; }
.report-stepper button { width: 100%; display: flex; align-items: center; gap: 10px; text-align: left; padding: 12px; background: #151c2b; border: 1px solid #2a3447; border-radius: 10px; color: #aab6c9; cursor: pointer; font: inherit; }
.report-stepper button span { display: grid; place-items: center; width: 27px; height: 27px; flex: none; border-radius: 50%; background: #344258; color: #e5eef7; }
.report-stepper button[aria-current="step"] { color: #fff; border-color: #7cc5f5; background: #1d3044; }
.report-stepper button[aria-current="step"] span { background: #7cc5f5; color: #071523; }
.report-stepper button { flex-wrap: wrap; }
.report-stepper button small { flex-basis: 100%; padding-left: 37px; color: #aab6c9; font-size: .73rem; line-height: 1.3; }
.report-step-panel h2 { margin-top: 0; }
.report-field-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.report-field { display: grid; gap: 6px; color: #d7e2ef; font-size: .86rem; }
.report-field--wide { grid-column: 1 / -1; }
.report-readonly-field { padding: 13px 15px; border: 1px solid #35445a; border-radius: 8px; background: #101a2a; }
.report-readonly-field p { margin: 0; color: #f8fafc; line-height: 1.5; white-space: pre-wrap; }
.report-readonly-field small { color: #9fb2c7; }
.report-field input, .report-field textarea { width: 100%; box-sizing: border-box; }
.report-input-unit { display: flex; align-items: center; gap: 10px; min-width: 0; }
.report-input-unit input { flex: 1; min-width: 0; }
.report-input-unit > span { flex: none; color: #d7e2ef; }
.report-field textarea { min-height: 85px; resize: vertical; }
.report-media-slot { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 20px; }
.report-media-slot .info-card { margin: 0 !important; padding: 20px; background: #111e2e; border: 1px solid var(--report-border); box-shadow: none; }
.report-media-slot .company-logo-container { gap: 20px; }
.report-media-slot .company-logo-bg-toggles { flex-wrap: wrap; justify-content: center; }
.report-media-slot .company-logo-upload-box, .report-media-slot .company-image-upload-box { width: 100%; }
.report-draft-badge { display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 999px; background: #54451e; color: #f4d788; font-size: .72rem; font-weight: 700; }
.report-mode-banner { display: flex; align-items: flex-start; gap: 10px 16px; flex-wrap: wrap; padding: 13px 16px; margin: 0 0 20px; border: 1px solid; border-radius: 10px; line-height: 1.45; font-size: .88rem; }
.report-mode-banner strong { flex: 0 0 auto; }
.report-mode-banner span { flex: 1 1 320px; }
.report-mode-banner--draft { color: #f5e0a3; border-color: #6b5830; background: #30291e; }
.report-wizard--revision :is(.report-mode-banner, .report-stepper, .report-current-step, .report-wizard-nav, #report-wizard-intro) { display: none; }
.report-revision { display: grid; gap: 14px; }
.report-revision > button, .report-revision-card > button { justify-self: start; }
.report-revision-card { display: grid; gap: 16px; padding: clamp(16px, 3vw, 24px); border: 1px solid var(--border-light); border-radius: 12px; background: #141d2c; }
.report-revision-card h3 { font-size: 1.2rem; }
.report-revision :is(.report-revision-card, .report-revision-question) p { white-space: pre-wrap; overflow-wrap: anywhere; }
.report-revision-question { padding: 12px 16px; border-inline-start: 3px solid #7cc7f4; border-radius: 6px; background: #192d41; color: #e2f0fc; }
.report-revision-question p, .report-revision-original p { margin: 6px 0 0; line-height: 1.6; }
.report-revision-comparison { display: grid; gap: 14px; align-items: stretch; }
.report-revision-comparison--editable { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.report-revision-original { min-width: 0; padding: 12px 14px; background: #101825; border: 1px solid #303e50; border-radius: 8px; }
.report-revision-card label { min-width: 0; display: grid; grid-template-rows: auto 1fr; gap: 7px; }
.report-revision-card label > span { font-weight: 650; }
.report-revision-card :is(input,textarea,select) { width: 100%; padding: 10px 12px; font: inherit; line-height: 1.6; color: inherit; background: #0f1623; border: 1px solid #475569; border-radius: 8px; }
.report-revision-card :is(input,select) { align-self: start; }
.report-revision-card textarea { resize: vertical; }
.report-revision-card textarea.report-revision-long-text { min-height: 18rem; }
@media (max-width: 700px) {
    .report-revision-comparison--editable { grid-template-columns: minmax(0, 1fr); }
}
.report-mode-banner--live { color: #c5e8fc; border-color: #365a72; background: #162a3b; }
.report-subsection { margin-top: 24px; padding-top: 22px; border-top: 1px solid #2a3447; }
.report-section-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.report-section-nav a { color: #cce9fa; background: #1d3044; border: 1px solid #40516a; border-radius: 999px; padding: 7px 11px; font-size: .84rem; text-decoration: none; }
.report-section-nav a:hover, .report-section-nav a:focus-visible { background: #29455f; }
.report-subsection h3 { color: #f8fafc; margin: 0 0 8px; font-size: 1.04rem; }
.report-subsection > p { margin-bottom: 16px; }
.report-choice { background: #0d1421; border: 1px solid #35445a; border-radius: 8px; color: #f8fafc; padding: 10px 12px; width: 100%; font: inherit; }
.report-choice { appearance: none; padding-right: 2.4rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23a9c9e5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .7rem center; }
.report-field-help { display: block; color: #aab6c9; font-size: .82rem; line-height: 1.5; margin: 5px 0 7px; }
.report-word-count { display: block; color: #91a9c0; font-size: .78rem; text-align: right; margin-top: 4px; }
.report-word-count[data-over-limit="true"] { color: #f4d788; }
.report-climate-target { margin-top: 20px; }
.reporting-workspace-current-note { color: #aab6c9; margin: 0 0 16px; font-size: .85rem; }
.report-step-panel .overall-goals-table-wrap { max-width: 100%; margin: 16px 0; }
.report-step-panel .overall-goals-table th { background: #1b293b; color: #e4eef8; border-bottom: 1px solid #40516a; }
.report-step-panel .overall-goals-table { font-size: .86rem; }
.report-step-panel .overall-goals-actions small { display: block; color: #aab6c9; margin-bottom: 8px; }
.report-qualitative-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.report-sustainability-text-fields { display: grid; grid-template-columns: minmax(0,1fr); gap: 16px; margin-top: 18px; }
.report-sustainability-text-fields > .report-field-footnote textarea { background: #0d1421; border: 1px solid #35445a; border-radius: 8px; color: #f8fafc; padding: 10px 12px; font: inherit; resize: vertical; }
.report-sustainability-section .report-climate-target { margin-top: 20px; }
.report-sustainability-section .report-climate-target textarea,
.report-sustainability-text-fields textarea[data-draft-sustainability="nature_goals"] { min-height: 140px; }
.report-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.report-configured-guidance { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.65; }
.report-funding-table { width:100%; min-width:1050px; border-collapse:collapse; table-layout:fixed; margin:12px 0; }
.report-funding-table th,.report-funding-table td { padding:12px; border:1px solid #35445a; vertical-align:top; text-align:left; }
.report-funding-table th { background:#1d3044; color:#d7e2ef; }
.report-funding-table th:nth-child(2) { width:23%; }
.report-funding-table th:nth-child(3) { width:22%; }
.report-funding-table th:nth-child(4),.report-funding-table th:nth-child(5) { width:10%; }
.report-funding-table input,.report-funding-table textarea,.report-funding-table select { width:100%; box-sizing:border-box; background:#0d1421; color:#f8fafc; border:1px solid #35445a; border-radius:7px; padding:9px 7px; font:inherit; font-size:.83rem; }
.report-funding-table label { display:grid; gap:6px; margin-top:9px; color:#aab6c9; font-size:.8rem; }
.report-funding-table [hidden] { display:none !important; }
.report-funding-table .report-carry-note { display:block; font-size:.75rem; line-height:1.4; margin:8px 0; }
.report-field[hidden], .report-carry-text-columns[hidden], [data-goal-column][hidden],
.report-configured-guidance[hidden], #report-add-goal[hidden] { display: none !important; }
@media (max-width: 600px) {
    .report-sustainability-table thead th:last-child { width: 125px; }
    .report-sustainability-table th, .report-sustainability-table td { padding: 10px 8px; }
    .report-sustainability-table .report-choice { padding: 9px 4px; font-size: .8rem; }
    .report-sustainability-subrow th { padding-left: 20px; }
}
.report-note { border-left: 3px solid #80cdfc; padding: 12px 14px; background: #172b3a; color: #cbdceb; border-radius: 0 8px 8px 0; margin: 18px 0; }
.report-note--warning { border-color: #f4d788; background: #382f21; color: #f8e4ae; }
.report-financial-tools, .report-point-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin: 16px 0; color: #cbdceb; font-size: .86rem; }
.report-financial-tools input[type="search"], .report-point-tools input[type="search"], .report-point-tools select { background-color: #0d1421; border: 1px solid #40516a; border-radius: 8px; padding: 9px 12px; color: #f8fafc; font: inherit; }
.report-financial-tools input[type="search"], .report-point-tools input[type="search"] { flex: 1 1 250px; min-width: 0; }
.report-financial-tools [role="status"], .report-point-tools [role="status"] { color: #91a9c0; margin-left: auto; }
.report-filter-check { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.report-filter-check input { accent-color: #7cc5f5; }
.report-table tr[hidden], #financial-table tr[hidden] { display: none; }
.report-point-dimmed { opacity: .45; }
.report-point-selected { background: rgba(124,197,245,.12); }
.report-table-wrap { overflow-x: auto; border: 1px solid #2a3447; border-radius: 9px; }
.report-row-count { color: #91a9c0 !important; font-size: .86rem; margin-top: -10px !important; }
.report-table { width: 100%; border-collapse: collapse; }
.report-table th { position: sticky; top: 0; z-index: 1; background: #213145; color: #c4d5e7; text-align: left; padding: 11px; font-size: .8rem; }
.report-table td { padding: 9px 11px; border-top: 1px solid #2a3447; color: #e2eaf3; }
.report-table td:last-child { min-width: 180px; }
.report-table .report-group-row td { background: #1a2b3c; color: #86caff; font-weight: 700; text-transform: uppercase; font-size: .8rem; cursor: pointer; user-select: none; transition: background 0.15s ease; }
.report-table .report-group-row:hover td { background: #233b52; }
.report-group-toggle-icon { display: inline-block; width: 14px; margin-right: 6px; font-size: 0.85rem; transition: transform 0.15s ease; }
.report-group-row.is-collapsed .report-group-toggle-icon { transform: rotate(-90deg); }
.report-table tr[data-financial-row].is-group-collapsed { display: none !important; }
.report-tools-btn { background: #1d293b; border: 1px solid #40516a; border-radius: 6px; color: #cbdceb; font-size: 0.78rem; padding: 5px 10px; cursor: pointer; font-weight: 600; font-family: inherit; transition: background 0.15s ease, color 0.15s ease; }
.report-tools-btn:hover { background: #293d58; color: #fff; }
.report-attention-badge { display: inline-block; padding: 2px 7px; border-radius: 4px; font-size: 0.74rem; font-weight: 700; margin-right: 8px; text-transform: uppercase; letter-spacing: 0.03em; }
.report-attention-badge--blocking { background: rgba(239, 68, 68, 0.2); border: 1px solid rgba(239, 68, 68, 0.5); color: #fca5a5; }
.report-attention-badge--info { background: rgba(56, 189, 248, 0.15); border: 1px solid rgba(56, 189, 248, 0.4); color: #93c5fd; }
.report-previous-value { color: #92a3b8 !important; white-space: nowrap; }
.report-financial-input { width: 100%; max-width: 230px; box-sizing: border-box; }
select.report-financial-input { padding-right: 2rem; }
.report-missing-control { display: grid; gap: 5px; margin-top: 7px; max-width: 230px; color: #aab6c9; font-size: .78rem; }
.report-missing-control[hidden] { display: none; }
.report-missing-control select { width: 100%; background-color: #0d1421; border: 1px solid #40516a; border-radius: 7px; color: #f8fafc; padding: 7px 9px; font: inherit; }
.report-wizard-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--report-border); }
.report-wizard-next { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px; min-width: 0; }
#report-navigation-status { max-width: 420px; color: #a9cbe4; font-size: .9rem; line-height: 1.5; }
#report-navigation-status[data-error="true"], .report-navigation-field-error { color: #ffb4a9; }
.report-navigation-field-error { display: block; margin: 8px 0 0; font-size: .9rem; line-height: 1.5; }
[data-navigation-invalid] { outline: 2px solid #ffb4a9; outline-offset: 3px; scroll-margin-block: 130px; }
.report-review-list { display: grid; gap: 9px; margin: 20px 0; }
.report-review-list > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; justify-content: space-between; border-bottom: 1px solid #2a3447; padding-bottom: 9px; color: #cbd5e1; }
.report-review-group { border: 1px solid #35445a; border-radius: 9px; margin: 10px 0; background: #111c2c; }
.report-review-group summary { cursor: pointer; display: flex; justify-content: space-between; gap: 15px; padding: 13px 15px; font-weight: 650; color: #e6f1fa; }
.report-review-group summary span { color: #aab6c9; font-size: .84rem; font-weight: 400; }
.report-review-group dl { margin: 0; padding: 0 15px 10px; }
.report-review-group dl div { display: flex; justify-content: space-between; gap: 15px; padding: 8px 0; border-top: 1px solid #2a3447; }
.report-review-group dt { color: #cbd5e1; }
.report-review-group dd { margin: 0; color: #f8fafc; text-align: right; overflow-wrap: anywhere; }
.report-review-group > .report-text-btn { margin: 0 15px 12px; }
.report-review-group h4 { margin: 14px 15px 4px; color: #dcecf8; }
.report-review-empty { margin: 10px 15px; color: #aab6c9; }
.report-missing-value { color: #f4d788; }
.report-review-attention { margin: 18px 0; border: 1px solid #56472d; border-radius: 10px; background: #211f20; padding: 17px; }
.report-review-attention h3, .report-review-changes h3 { margin: 0 0 8px; color: #f8fafc; font-size: 1rem; }
.report-review-attention p, .report-review-changes p { margin: 0 0 10px; color: #b7c5d5; font-size: .86rem; }
.report-review-attention ul, .report-review-changes ul { list-style: none; padding: 0; margin: 0; }
.report-review-attention li, .report-review-changes li { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 14px; border-top: 1px solid rgba(255,255,255,.09); padding: 9px 0; color: #e4ecf4; font-size: .88rem; }
.report-review-attention li:first-child, .report-review-changes li:first-child { border-top: 0; }
.report-review-changes { margin: 18px 0; border: 1px solid #35445a; border-radius: 10px; background: #111c2c; padding: 17px; }
.report-review-change-values { color: #aab6c9; overflow-wrap: anywhere; }
.report-review-all { margin-top: 20px; }
.report-review-all > summary { cursor: pointer; font-weight: 700; color: #e6f1fa; padding: 13px 15px; border: 1px solid #35445a; border-radius: 9px; background: #172439; }
.report-review-all[open] > summary { margin-bottom: 12px; }
.report-review-comment { width: 100%; box-sizing: border-box; min-height: 80px; }
.report-confirm { display: flex; align-items: flex-start; gap: 9px; color: #d5e2ef; margin: 18px 0 14px; line-height: 1.4; font-size: .88rem; }
.report-confirm input { margin-top: 3px; accent-color: #7cc5f5; }
.report-step-panel button:focus-visible, .report-workspace button:focus-visible, .report-workspace input:focus-visible, .report-workspace select:focus-visible, .report-workspace textarea:focus-visible { outline: 2px solid #a0d9fb; outline-offset: 2px; }
@media (max-width: 760px) {
    .report-action-grid, .report-field-grid, .report-qualitative-fields { grid-template-columns: 1fr; }
    .report-year-row { grid-template-columns: 65px 1fr auto; gap: 8px; }
    .report-year-meta { grid-column: 1 / -1; grid-row: 2; }
    .report-stepper strong { display: none; }
    .report-current-step { display: block; }
    .report-stepper button { justify-content: center; }
    .report-stepper button small { padding-left: 0; text-align: center; }
    .report-year-row { grid-template-columns: 65px 1fr; }
    .report-year-row > button, .report-year-row > .report-draft-actions { grid-column: 1 / -1; justify-self: start; }
    .report-year-meta { grid-row: auto; }
    .report-review-group dl div { display: block; }
    .report-review-group dd { text-align: left; margin-top: 4px; }
    .report-action-row { flex-wrap: wrap; }
    .report-media-slot .info-card { padding: 16px; }
}
/* Shared draft and conflict notices use the portal's existing palette. */
.report-shared-notice { margin: 1rem 0; padding: 1rem 1.25rem; border: 1px solid var(--border); border-radius: 12px; color: var(--text-secondary); background: var(--bg-card, #142132); line-height: 1.6; }
.report-shared-notice button { margin: .5rem .5rem 0 0; }
.report-shared-notice[hidden] { display: none; }
#report-editor-notice[data-warning="true"] {
    position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%);
    width: min(900px, calc(100vw - 32px)); box-sizing: border-box; z-index: 1200;
    margin: 0; border-color: #b68a32; background: #302918; color: #ffe4a3;
    box-shadow: 0 6px 28px rgba(0,0,0,.45);
}
.report-draft-export { margin: 24px 0; padding: 20px; border: 1px solid #35445a; border-radius: 12px; background: #111c2c; }
.report-export-actions, .report-pdf-preview-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.report-draft-export p { color: #b7c5d5; font-size: .88rem; line-height: 1.6; }
.report-pdf-preview { margin-top: 20px; }
.report-pdf-preview[hidden] { display: none; }
.report-pdf-preview-heading { justify-content: space-between; }
.report-pdf-preview-heading h3 { margin: 0; font-size: 1rem; }
.report-pdf-preview iframe { display: block; width: 100%; height: 70vh; min-height: 360px; max-height: 900px; box-sizing: border-box; border: 1px solid #35445a; border-radius: 8px; background: #fff; }
@media (max-width: 760px) {
    .report-draft-export { padding: 14px; }
    .report-export-actions > button { width: 100%; }
}
/* Prior-year references are visually separate from editable current-year inputs. */
.report-carry-note { padding: 1rem; margin: 1rem 0; border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 8px; }
.report-carry-note button { margin: .5rem 0; }
.report-carry-text-columns { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.report-carry-text-columns:not(:has(.report-carry-reference)) { grid-template-columns: minmax(0, 1fr); }
.report-carry-text-columns > .report-field { grid-column: auto; }
.report-carry-reference { display: flex; flex-direction: column; gap: .6rem; padding: 1rem; border: 1px solid var(--border); border-radius: 8px; }
.report-carry-reference textarea { width: 100%; resize: vertical; background: var(--bg-main); color: var(--text-secondary); border: 1px solid var(--border); border-radius: 6px; padding: .75rem; }
.report-carry-previous { color: var(--text-secondary); white-space: pre-wrap; }
@media (max-width: 800px) { .report-carry-text-columns { grid-template-columns: 1fr; } }
.report-field-footnote { margin: 7px 0; min-width: 0; font-size: .85rem; }
.report-field:has(.report-field-footnote) { align-content: start; }
.report-field-footnote summary { color: var(--accent, #7dd3fc); cursor: pointer; }
.report-field-footnote textarea { display: block; width: 100%; box-sizing: border-box; margin: 6px 0; }
.report-field-footnote small { display: block; color: var(--text-secondary, #a5b4c7); font-weight: normal; }
.report-footnotes-summary { margin-top: 16px; }
.report-footnotes-summary dd { white-space: pre-wrap; overflow-wrap: anywhere; }
.company-board-row > .report-field-footnote { grid-column: 1 / -1; }

/* ==========================================================================
   Portal Welcome Hero Banner
   ========================================================================== */
.portal-welcome-card {
    background: linear-gradient(135deg, #151f32 0%, #101726 100%);
    border: 1px solid #2a3a52;
    border-radius: 18px;
    padding: 32px 36px 24px;
    margin: 0 0 32px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
    position: relative;
    overflow: hidden;
}

.portal-welcome-card::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 50%;
}

.portal-welcome-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 28px;
}

.portal-welcome-intro {
    flex: 1 1 auto;
    min-width: 0;
}

.portal-welcome-greeting {
    color: #f8fafc;
    margin: 10px 0 12px;
    font-size: clamp(1.8rem, 3.2vw, 2.4rem);
    font-weight: 750;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.portal-welcome-greeting span {
    color: #7cc5f5;
}

.portal-welcome-text {
    color: #cbd5e1;
    font-size: 1.05rem;
    line-height: 1.65;
    margin: 0;
    max-width: 720px;
}

.portal-welcome-text strong {
    color: #f8fafc;
    font-weight: 650;
}

.portal-welcome-company-logo-wrap {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 14px;
    padding: 10px 18px;
    min-width: 140px;
    max-width: 220px;
    min-height: 72px;
    max-height: 80px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.portal-welcome-company-logo-wrap.has-logo {
    background: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

.portal-welcome-company-logo {
    max-height: 56px;
    max-width: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.portal-welcome-company-logo-placeholder {
    color: #e2e8f0;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    letter-spacing: 0.02em;
}

/* ==========================================================================
   Portal Page Footer (NFD logo & Eierskapsavdelingen credit)
   ========================================================================== */
.portal-footer {
    max-width: 1200px;
    margin: 48px auto 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.portal-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.portal-footer-nfd {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.portal-footer-nfd-logo {
    height: 38px;
    width: auto;
    max-width: 220px;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.portal-footer-credit {
    flex: 1 1 auto;
    text-align: right;
    color: #64748b;
    font-size: 0.78rem;
    letter-spacing: 0.01em;
    line-height: 1.4;
}

@media (max-width: 760px) {
    .portal-welcome-card {
        padding: 24px 20px 20px;
    }
    .portal-welcome-top {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 16px;
    }
    .portal-welcome-company-logo-wrap {
        align-self: flex-start;
        min-width: 110px;
        max-height: 60px;
        padding: 6px 14px;
    }
    .portal-welcome-company-logo {
        max-height: 44px;
        max-width: 140px;
    }
    .portal-footer {
        margin-top: 32px;
        padding-top: 18px;
    }
    .portal-footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
}


