#pdfReport{display:none}.report-preview .shell{display:none}.report-preview #pdfReport{display:block}.report-preview-tools{max-width:850px;margin:24px auto 18px;padding:0 18px}.report-preview-actions{display:flex;gap:12px;justify-content:space-between;align-items:center}.report-preview-filters{display:grid;grid-template-columns:2fr 1fr 1fr;gap:12px;margin-top:20px}.report-preview-filters label{font-size:12px;color:#48625e}.report-preview-filters select{width:100%;border:1px solid #ced9d0;border-radius:8px;padding:11px;margin-top:5px;background:white;color:#193b3b}.report-sheet{max-width:800px;background:white;margin:0 auto 35px;padding:40px;color:#193b3b;font:12px 'DM Sans',Arial,sans-serif}.report-sheet *{box-sizing:border-box}.report-heading{display:block!important;height:auto;border:0;border-bottom:2px solid #193b3b;padding:0 0 20px;margin-bottom:25px;background:transparent}.report-brand{font-weight:700;font-size:14px;letter-spacing:.2px;margin-bottom:20px}.report-heading h1{font-size:27px;margin:0 0 9px}.report-heading p{font-size:14px;margin:0 0 10px}.report-label{font-size:11px;color:#48625e}.report-section{margin:28px 0}.report-section h2{font-size:19px;border-bottom:1px solid #ced9d0;padding-bottom:9px;margin-bottom:15px}.report-section h3{font-size:14px;margin:20px 0 12px}.report-sheet .report-demo{padding:9px 12px;background:#f5d9c8;border:1px solid #edb591;border-radius:6px;font-size:11px;margin:12px 0}.report-note{font-size:11px;line-height:1.6;color:#48625e;margin:12px 0}.report-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:15px 0}.report-metrics.three{grid-template-columns:repeat(3,minmax(0,1fr))}.report-metric{border:1px solid #ced9d0;border-radius:8px;padding:13px 11px;break-inside:avoid}.report-metric span{display:block;font-size:10px;color:#48625e}.report-metric strong{display:block;font-size:17px;margin-top:9px;overflow-wrap:anywhere}.report-metric small{display:block;color:#48625e;font-size:9px;line-height:1.4;margin-top:7px}.report-chart{width:100%;height:auto;display:block;margin-bottom:10px}.report-chart text{font:10px Arial,sans-serif;fill:#31493f}.report-sheet table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:10px;margin:14px 0 18px}.report-sheet td,.report-sheet th{padding:9px 7px;word-break:normal;overflow-wrap:anywhere;border-bottom:1px solid #ced9d0;vertical-align:top}.report-sheet th{background:#e9efe8;color:#193b3b;font-weight:600}.report-post{break-inside:avoid;margin:14px 0;padding:14px;border:1px solid #ced9d0;border-radius:8px}.report-post h4{margin:0 0 5px;font-size:12px}.report-post p{margin:0;font-size:10px;color:#48625e}.report-post .report-metrics{margin-bottom:0}.report-post .report-metric{padding:8px;border:0;background:#f6f8f4}.report-end{font-size:10px;color:#48625e;margin-top:30px;padding-top:15px;border-top:1px solid #ced9d0}.report-print-tip{display:none}@media(max-width:680px){.report-preview-tools{padding:0 12px;margin-top:14px}.report-preview-actions strong{font-size:11px}.report-preview-actions .btn{font-size:12px;padding:10px}.report-preview-filters{grid-template-columns:1fr 1fr}.report-preview-filters label:first-child{grid-column:1/-1}.report-preview-filters select{font-size:16px}.report-sheet{padding:22px 15px}.report-metrics,.report-metrics.three{grid-template-columns:1fr 1fr}.report-metrics.three .report-metric:last-child{grid-column:1/-1}.report-heading h1{font-size:24px}.report-sheet table{font-size:9px}.report-sheet td,.report-sheet th{padding:8px 4px}}
@page{size:A4;margin:14mm 12mm}@media print{body.report-preview{background:white!important}body.report-preview>.shell{display:none!important}body.report-preview #pdfReport{display:block!important}.report-preview-tools{display:none!important}.report-sheet{margin:0;padding:0;max-width:none;font-size:10pt}.report-heading{display:block!important;break-after:avoid}.report-sheet h2,.report-sheet h3{break-after:avoid}.report-metrics{grid-template-columns:repeat(4,minmax(0,1fr))!important}.report-metrics.three{grid-template-columns:repeat(3,minmax(0,1fr))!important}.report-metrics.three .report-metric:last-child{grid-column:auto!important}.report-metric{padding:10px 8px}.report-metric strong{font-size:13pt}.report-sheet table{font-size:8pt}.report-sheet tr{break-inside:avoid}.report-sheet thead{display:table-header-group}.report-sheet h1{font-size:23pt}.report-chart{max-height:55mm;break-inside:avoid}.report-post{break-inside:avoid}.report-sheet *{print-color-adjust:exact;-webkit-print-color-adjust:exact}.report-section{break-inside:auto}.report-print-tip{display:block}}

.comparison-panel{margin:18px 0 24px}.comparison-panel summary{font-weight:700;cursor:pointer}.comparison-panel .report-demo{font-size:11px;color:#763c28;margin-top:15px}.comparison-panel .report-note{font-size:11px}.comparison-scroll{overflow-x:auto}.comparison-panel table{font-size:11px;min-width:650px}.comparison-panel th,.comparison-panel td{padding:12px 9px}.comparison-panel .report-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.comparison-panel .report-metric{padding:12px}.comparison-panel .report-metric strong{font-size:16px}.comparison-panel .report-metric small{font-size:11px}@media(max-width:680px){.comparison-panel .report-metrics{grid-template-columns:1fr!important}.comparison-panel .report-metric:last-child{grid-column:auto}.comparison-panel .report-metric{display:grid;grid-template-columns:1fr 1fr;gap:6px}.comparison-panel .report-metric strong{margin:0;text-align:right}.comparison-panel .report-metric small{grid-column:1/-1;margin:0}}@media print{.comparison-scroll{overflow:visible}.report-sheet .comparison-scroll table{table-layout:fixed;font-size:7pt}.report-sheet .comparison-scroll td,.report-sheet .comparison-scroll th{padding:7px 4px}}

.dashboard-filters{margin:20px 0}.dashboard-highlights{grid-template-columns:repeat(4,minmax(0,1fr));margin:20px 0}.dashboard-highlights .report-metric{background:white;padding:20px 15px}.dashboard-highlights .report-metric strong{font-size:23px}.unified-report .report-sheet{background:none;padding:0;max-width:none;margin:0}.unified-section{margin:14px 0}.unified-section>summary{font-size:16px;font-weight:700;cursor:pointer}.unified-section[open]>summary{margin-bottom:20px}.unified-section table{table-layout:auto}.unified-section .comparison-scroll table{min-width:650px}.unified-section .report-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.unified-section .report-metrics.three{grid-template-columns:repeat(3,minmax(0,1fr))}.unified-section .report-metric strong{font-size:19px}@media(max-width:680px){.dashboard-highlights{grid-template-columns:1fr 1fr}.dashboard-highlights .report-metric{padding:15px}.dashboard-highlights .report-metric strong{font-size:21px}.unified-section .report-metrics,.unified-section .report-metrics.three{grid-template-columns:1fr 1fr}.unified-section .report-metrics.three .report-metric:last-child{grid-column:1/-1}.unified-section .report-metric strong{font-size:16px}.unified-section .comparison-scroll table{font-size:10px}.unified-section{padding:17px}.unified-section table{font-size:10px}.unified-section table td,.unified-section table th{padding:8px 4px}}

@media(max-width:680px){.dashboard-highlights .report-metric:first-child strong{font-size:17px;white-space:nowrap}}

.period-field{min-width:0;flex:1;font-size:12px;color:#48625e}.period-picker{position:relative;margin-top:5px}.period-picker>summary{cursor:pointer;list-style:none;min-height:44px;background:white;border:1px solid #ced9d0;border-radius:9px;padding:12px;color:#193b3b;line-height:1.4;overflow-wrap:anywhere}.period-picker>summary:after{content:'⌄';float:right;margin-left:8px}.period-options{position:absolute;top:100%;left:0;z-index:30;background:white;border:1px solid #ced9d0;border-radius:9px;padding:12px;box-shadow:0 8px 25px #193b3b22;min-width:190px;max-height:360px;overflow:auto}.period-options label{display:flex!important;align-items:center;gap:10px;padding:8px!important;min-height:38px;color:#193b3b!important;font-size:14px!important}.period-options input{width:18px;height:18px;accent-color:#193b3b}.period-options button{width:100%;margin-top:10px}.period-options small{display:none;color:#a43d2f;margin-top:8px}.excel-picker .period-field{min-width:130px}.report-total{grid-template-columns:1fr!important;max-width:300px}@media(max-width:680px){.period-options{min-width:155px;max-width:calc(100vw - 44px)}.period-field:last-child .period-options{left:auto;right:0}}

.dashboard-graphs{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:20px 0 26px}.quick-chart{padding:22px;margin:0;min-width:0;background:white}.quick-chart-heading{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-bottom:18px}.quick-chart-heading h2{font-size:18px;margin:0}.quick-chart-heading .tag{flex-shrink:0;font-size:10px}.demo-tag{background:#f5d9c8;color:#763c28}.quick-bars{display:grid;gap:12px;margin:20px 0}.quick-bar-row{display:grid;grid-template-columns:75px minmax(24px,1fr) 112px;gap:10px;align-items:center;font-size:12px}.quick-bar-row>strong{text-align:right;font-size:12px;white-space:nowrap}.quick-bar-track{height:14px;background:#e9efe8;border-radius:4px;overflow:hidden}.quick-bar-track>div{height:100%;border-radius:4px;min-width:0}.quick-takeaway{border-top:1px solid #e1e8e2;padding-top:15px;font-size:13px;line-height:1.6;margin:20px 0 0}.quick-empty{color:#48625e;font-size:14px;line-height:1.7;padding:20px 0}.quick-chart>.report-note{margin-bottom:0}.stats.excel-cards+.quick-chart{margin:24px 0;max-width:100%}@media(min-width:900px){.unified-section>summary{font-size:20px}.unified-section[open]{padding:25px}.unified-section>summary::marker{color:#8ca89a}}@media(max-width:899px){.dashboard-graphs{grid-template-columns:1fr;gap:14px}.quick-chart{padding:18px}.quick-chart-heading h2{font-size:17px}.quick-bar-row{grid-template-columns:67px minmax(20px,1fr) 105px;gap:8px;font-size:11px}.quick-bar-row>strong{font-size:11px}.quick-bars{gap:11px}.quick-chart .report-note{font-size:11px}}

.dashboard-graphs>.reach-chart{grid-column:1/-1}.reach-chart .quick-bar-row{grid-template-columns:minmax(85px,180px) minmax(20px,1fr) 85px}.reach-chart .quick-bar-row>span{overflow-wrap:anywhere}.report-sheet .reach-chart{border:1px solid #ced9d0;border-radius:9px;padding:18px;margin-top:20px}.report-sheet .quick-chart-heading h2{border:0;padding:0;margin:0;font-size:16px}.report-sheet .reach-chart .quick-bar-row{grid-template-columns:140px 1fr 80px}@media(max-width:680px){.reach-chart .quick-bar-row,.report-sheet .reach-chart .quick-bar-row{grid-template-columns:95px minmax(20px,1fr) 65px}.reach-chart .quick-bar-row>strong{font-size:12px}}@media print{.reach-chart{break-inside:avoid}.reach-chart .quick-bar-track{background:#e9efe8!important}.quick-takeaway{font-size:10px}}

/* Match Stoltenberg's website palette and keep the mobile chart values beside their labels. */
body{--ink:#193b3b;--green:#193b3b;--pale:#e9efe8;--muted:#48625e;--line:#ced9d0;--bg:#faf8f3}.quick-chart,.report-sheet,.report-metric,.panel,.stat,aside,header,.period-options,.period-picker>summary{background-color:#fffefa}.dashboard-highlights .report-metric:first-child{background:#f5d9c8;border-color:#edb591}.report-heading{border-bottom-color:#193b3b}.report-brand{color:#193b3b}.quick-bar-track{background:#e9efe8}.nav.active{background:#e9efe8;color:#193b3b}.tag{background:#e9efe8;color:#48625e}.demo-tag{background:#f5d9c8;color:#763c28}@media(max-width:680px){.quick-chart{padding:18px 16px}.quick-chart-heading{align-items:flex-start;gap:8px}.quick-chart-heading h2{font-size:17px;line-height:1.35}.quick-bar-row,.reach-chart .quick-bar-row,.report-sheet .reach-chart .quick-bar-row{grid-template-columns:42px minmax(0,1fr);gap:5px 10px}.quick-bar-row>span{grid-column:1;grid-row:1}.quick-bar-row>strong{grid-column:2;grid-row:1;text-align:left;font-size:12px}.quick-bar-track{grid-column:1/-1;grid-row:2;height:11px}.quick-bars{gap:13px}.reach-chart .quick-bar-row{grid-template-columns:minmax(80px,1fr) auto}.reach-chart .quick-bar-row>strong{text-align:right}.quick-chart-heading .tag{font-size:9px}.stats.excel-cards strong{overflow-wrap:anywhere}}

.organic-topic{background:#e9efe8;border-left:4px solid #193b3b;border-radius:8px;padding:18px;margin:20px 0}.organic-topic>span{display:block;font-size:12px;color:#48625e}.organic-topic>strong{display:block;font-size:19px;margin-top:7px;color:#193b3b}.organic-topic p{font-size:12px;margin:10px 0 6px}.organic-topic small{font-size:10px;line-height:1.6;color:#48625e;display:block}@media print{.organic-topic{break-inside:avoid}}

.access-prototype{background:#f5d9c8;padding:13px 16px;border-radius:9px;color:#763c28;font-size:12px;margin:18px 0}.access-principle{margin-bottom:22px}.access-principle p{font-size:13px;line-height:1.7;max-width:750px}.access-search{display:block;font-size:12px;color:#48625e;margin:20px 0}.access-search input{display:block;width:100%;max-width:500px;padding:13px;border:1px solid #ced9d0;border-radius:9px;margin-top:7px;background:#fffefa}.access-card{margin-bottom:16px}.access-card-head{display:flex;justify-content:space-between;gap:20px}.access-card-head h2{margin:0 0 7px}.access-card-head p{margin:0 0 8px;overflow-wrap:anywhere}.access-card-head>.tag{align-self:flex-start}.access-tags{display:flex;flex-wrap:wrap;gap:7px;margin:18px 0}.access-actions{display:flex;flex-wrap:wrap;gap:9px}.access-history{margin-top:18px;font-size:12px;color:#48625e}.access-history p{font-size:11px}.access-empty{text-align:center;padding:45px 20px}#accessForm>label{display:block;font-size:13px;margin:14px 0}#accessForm>label input,#accessForm>label select{display:block;width:100%;padding:12px;border:1px solid #ced9d0;background:#fffefa;border-radius:7px;margin-top:6px}#accessForm fieldset{border:1px solid #ced9d0;border-radius:9px;padding:14px;margin:18px 0}#accessForm .access-check{display:flex;align-items:center;gap:10px;padding:9px 0;font-size:13px}#accessForm input[type=checkbox]{width:20px;height:20px;accent-color:#193b3b}#accessFormError{color:#a94525}.access-preview-banner{display:flex;justify-content:space-between;align-items:center;gap:15px;background:#f5d9c8;padding:15px;border-radius:9px;font-size:13px}.customer-preview:not(.report-preview) .shell{display:block}.customer-preview aside,.customer-preview header:not(.report-heading),.customer-preview #sharedMobileNav,.customer-preview #desktopSwitch,.customer-preview #mobileSwitch{display:none!important}.customer-preview main{max-width:1000px;margin:auto}.customer-preview .customer-sheet{margin:25px auto;background:#fffefa;border-radius:12px}.customer-filters{grid-template-columns:1fr 1fr;max-width:600px;margin:20px auto}.modal{max-height:90vh;overflow:auto}button:disabled{opacity:.5;cursor:not-allowed}@media(max-width:680px){.shared-mobile-nav{grid-template-columns:repeat(4,minmax(0,1fr))}.shared-mobile-nav button{font-size:11px}.access-card-head{flex-direction:column;gap:14px}.access-card{padding:18px}.access-card-head>.tag{font-size:11px}.access-actions .btn{flex:1;font-size:12px;padding:11px 8px}.access-preview-banner{flex-direction:column;align-items:flex-start}.customer-preview main{padding:16px}.customer-preview .customer-sheet{padding:20px 16px}.heading:has(+.access-prototype){flex-wrap:wrap;gap:15px}.customer-sheet .quick-bar-row{grid-template-columns:42px 1fr}}@media print{.access-preview-banner{display:none!important}}

.result-development{background:#fffefa;border:1px solid #ced9d0;border-radius:12px;padding:22px;margin:24px 0}.result-trend-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.result-trend-card{min-width:0;background:#faf8f3;border:1px solid #e5e9e2;border-radius:9px;padding:14px}.result-trend-card h3{font-size:14px;margin:0 0 10px}.result-trend-svg{width:100%;height:auto;display:block}.result-trend-svg text{font:13px Arial,sans-serif;fill:#48625e}.period-comparison{border-top:1px solid #ced9d0;padding-top:12px;line-height:1.6}.period-comparison strong{font-size:12px;display:block}.period-comparison span{display:block;font-size:10px;color:#48625e;margin-top:5px}.website-enquiries{border-top:1px solid #ced9d0;margin-top:24px;padding-top:15px}.cost-period-change{background:#e9efe8;border-radius:9px;padding:15px 18px;font-size:13px;line-height:1.6}.cost-period-change span{display:block;font-size:11px;color:#48625e}.report-sheet .result-development h2{font-size:17px;border:0;margin:0;padding:0}.report-sheet .result-trend-card h3{font-size:12px;margin:0 0 10px}.report-sheet .result-development{padding:15px}.report-sheet .result-trend-grid{grid-template-columns:1fr}.report-sheet .result-trend-svg{max-height:150px}@media(max-width:1000px){.result-trend-grid{grid-template-columns:1fr}.result-trend-card{padding:16px}.result-trend-svg{max-height:190px}.result-trend-svg text{font-size:16px}.result-development{padding:18px}.result-development>.quick-chart-heading{flex-wrap:wrap}.period-comparison strong{font-size:13px}.period-comparison span{font-size:12px}}@media print{.result-trend-card,.website-enquiries{break-inside:avoid}.result-development{break-inside:auto}.report-sheet .result-trend-svg{max-height:42mm}.report-sheet .comparison-scroll table{font-size:6.5pt}}

.result-trend-svg text{font-size:24px}@media(max-width:1000px){.result-trend-svg text{font-size:24px}}

.dashboard-graphs>.reach-chart{grid-column:auto}.dashboard-graphs>.cost-chart{grid-column:1/-1}.development-dropdown>summary{font-size:18px;font-weight:700;cursor:pointer;color:#193b3b}.development-dropdown:not([open])>*:not(summary){display:none}.development-dropdown[open]>summary{margin-bottom:18px}.development-dropdown>.quick-chart-heading{justify-content:flex-end}@media(max-width:680px){.development-dropdown>summary{font-size:16px}}

.source-status-line{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:11px;color:#48625e;margin:12px 0 18px}.source-status-line .btn{font-size:11px;padding:8px 12px}.source-alert{border:1px solid #d49b82;background:#f5d9c8;padding:16px;border-radius:9px;margin:16px 0;font-size:13px}.source-alert p{font-size:12px}.source-owner-note{font-size:12px;line-height:1.6;margin:20px 0}.source-cards{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:20px 0}.source-card .quick-chart-heading{align-items:flex-start}.source-card h2{font-size:17px}.source-card .tag{font-size:10px;white-space:normal}.source-card p{font-size:13px;line-height:1.7}.source-state-error,.source-state-stale{background:#f5d9c8;color:#763c28}.visible-freshness{display:flex;flex-direction:column;gap:5px;font-size:11px;line-height:1.6;color:#48625e;margin:18px 0;padding:12px 16px;border:1px solid #ced9d0;border-radius:8px;background:#faf8f3}.visible-freshness strong{color:#193b3b}.customer-preview #sourceStatusBar{display:none!important}@media(max-width:680px){.source-cards{grid-template-columns:1fr}.source-status-line{align-items:flex-start;font-size:10px}.source-status-line>span{max-width:230px}.source-card{padding:18px}}@media print{#sourceStatusBar{display:none!important}.visible-freshness{break-inside:avoid}}

.visible-freshness{display:block;background:none;border:0;border-radius:0;padding:0;margin:8px 0 14px;font-size:11px;color:#48625e;line-height:1.5}.source-status-line{margin-top:10px}.customer-sheet .visible-freshness{margin:10px 0 16px}

.report-title-row{display:flex;align-items:baseline;justify-content:space-between;gap:10px 16px;flex-wrap:wrap;margin-bottom:12px}.report-title-row h1{margin:0!important;min-width:0}.report-title-row .visible-freshness{font-size:10px;line-height:1.5;text-align:right;margin:0 0 0 auto;max-width:170px;flex:0 1 auto}.customer-sheet .report-title-row .visible-freshness{margin:0 0 0 auto}@media(max-width:680px){.report-title-row{gap:8px}.report-title-row .visible-freshness{font-size:9px;max-width:145px}}

.verified-newspaper{border:1px solid #ced9d0;border-radius:10px;padding:18px;margin:16px 0;background:#fffefa}.verified-newspaper>.quick-chart-heading h3{font-size:16px;margin:0}.verified-newspaper .report-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.paper-source{font-size:11px;color:#48625e;margin-top:16px}.paper-source p{line-height:1.6}.paper-source a{color:#193b3b;text-decoration:underline}@media(max-width:680px){.verified-newspaper{padding:14px}.verified-newspaper .quick-chart-heading{flex-wrap:wrap}.verified-newspaper .report-metrics{grid-template-columns:1fr 1fr}.verified-newspaper .report-metric strong{font-size:16px}}@media print{.verified-newspaper .report-metrics{grid-template-columns:repeat(4,minmax(0,1fr))!important}.verified-newspaper{padding:12px}.paper-source{display:none}}

.saved-paper-link{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px;border:1px solid #ced9d0;border-radius:9px;margin-bottom:18px;background:#faf8f3}.saved-paper-link p{font-size:12px;line-height:1.6;margin:7px 0}.saved-paper-link small{font-size:11px;color:#48625e}.saved-paper-link .btn{flex-shrink:0}@media(max-width:680px){.saved-paper-link{flex-direction:column;align-items:flex-start;padding:14px}}

.app-brand-logo{display:block;width:180px;max-width:100%;height:auto;object-fit:contain}.brand>small{margin-top:12px}.report-brand-logo{display:block;width:160px;max-width:55%;height:auto}.report-input-tabs{display:flex;gap:10px;margin:20px 0}.report-input-tabs .btn{flex:1}.report-common-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:20px 0}.report-common-fields label,.report-input-area label{display:block;font-size:12px;font-weight:600}.report-common-fields input,.report-common-fields select,.report-input-area input[type=url],.report-input-area input[type=text],#reportname{display:block;width:100%;min-width:0;padding:12px;border:1px solid #ced9d0;border-radius:8px;background:#fffefa;color:#193b3b;margin:7px 0 0;font:inherit}.report-input-area{padding:22px;border:1px dashed #b6c9bd;border-radius:10px;background:#faf8f3;margin-bottom:20px}.report-input-area input[type=file]{max-width:100%;margin-top:12px;font-size:12px}.report-input-area label:not(:first-child){margin-top:18px}.report-input-area p,.report-local-note{font-size:11px;line-height:1.6;color:#48625e}.registered-report{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:18px 0;border-top:1px solid #ced9d0}.registered-report p{font-size:12px;line-height:1.6;margin:7px 0}.registered-report small{font-size:11px;color:#48625e}.registered-report .btn{flex-shrink:0}.registered-report strong{overflow-wrap:anywhere}@media(max-width:680px){.app-brand-logo{width:150px}.brand>small{margin-top:8px;font-size:9px}.report-brand-logo{width:140px}.report-common-fields{gap:12px}.report-common-fields label:first-child,.report-common-fields label:nth-child(2){grid-column:1/-1}.report-common-fields input,.report-common-fields select,.report-input-area input{font-size:16px}.report-input-tabs .btn{font-size:12px;padding:12px 8px}.report-input-area{padding:16px}.registered-report{flex-direction:column;align-items:flex-start}.registered-report .btn{width:100%}}@media print{.report-brand-logo{width:135px}.report-brand{margin-bottom:15px}}

.brand{width:180px;max-width:100%;text-align:center}.app-brand-logo{margin:0 auto}.brand>small,.report-brand-subtitle{display:block;font-family:'DM Sans',Arial,sans-serif;font-weight:500;font-size:9px;letter-spacing:1.3px;line-height:1.6;text-align:center;color:#48625e}.report-brand{width:160px;max-width:100%}.report-brand-logo{max-width:100%;width:100%;margin:auto}.report-brand-subtitle{margin-top:9px;font-size:8px;letter-spacing:1px}@media(max-width:680px){.brand{width:150px}.brand>small{font-size:8px;letter-spacing:1px}.report-brand{width:140px}}@media print{.report-brand{width:135px}.report-brand-logo{width:100%}.report-brand-subtitle{font-size:7px}}

.unified-report .result-trend-grid{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:1000px){.unified-report .result-trend-grid{grid-template-columns:1fr}}

.brand-updated{display:none}.header-updated{font-size:10px;color:#48625e;margin-left:auto;margin-right:18px;line-height:1.5;text-align:right}.source-status-line{justify-content:flex-end}.source-status-line:has(>.btn:only-child){margin:6px 0 10px}@media(max-width:680px){aside{position:relative;min-height:120px;padding-top:12px}.brand-updated{display:block;position:absolute;right:16px;left:auto;top:50%;transform:translateY(-50%);width:calc(100% - 190px);max-width:180px;font-size:10px;line-height:1.6;color:#48625e;text-align:center}.header-updated{display:none}}@media(max-width:350px){.brand{width:130px}.app-brand-logo{width:130px}.brand-updated{width:calc(100% - 175px);max-width:160px;font-size:9px}}


.customer-preview #app>.customer-top-brand{width:160px;max-width:100%;margin:0 0 24px;padding:0;background:transparent}.customer-top-brand .report-brand-logo{width:100%;max-width:100%}@media(max-width:680px){.customer-preview #app>.customer-top-brand{width:150px;margin-bottom:20px}}

.customer-preview-top{display:flex;justify-content:space-between;align-items:center;gap:20px;background:#fffefa;border-bottom:1px solid #ced9d0;padding:12px 16px;margin:0 0 22px;min-height:120px}.customer-preview-top .report-brand{width:150px;max-width:45%;margin:0;flex-shrink:0}.customer-preview-top .visible-freshness{width:180px;max-width:48%;text-align:center;font-size:10px;line-height:1.6;margin:0;padding:0}.customer-name-heading{margin:25px 0 0}.customer-name-heading h1{margin:0;font-size:30px}.customer-summary-header{border:0!important;padding:0!important;margin:0 0 20px!important}.customer-preview main>.footer{display:none}.customer-name-heading+.customer-filters{margin-top:18px}.footer,.report-end{line-height:1.7;text-align:center}@media(max-width:680px){.customer-preview-top{margin:-16px -16px 22px;gap:16px}.customer-name-heading h1{font-size:26px}.customer-preview-top .report-brand{width:150px;max-width:45%}.customer-preview-top .visible-freshness{font-size:10px;max-width:48%}.customer-filters{max-width:none}}@media(max-width:350px){.customer-preview-top .report-brand{width:130px}.customer-preview-top .visible-freshness{font-size:9px}}

.report-card-actions{display:flex;gap:8px;flex-wrap:wrap;flex-shrink:0}.report-edit-form>label,.report-edit-dates>label{display:block;font-size:12px;margin:14px 0}.report-edit-form input,.report-edit-form select{display:block;width:100%;padding:12px;margin-top:6px;border:1px solid #ced9d0;border-radius:8px;background:#fffefa;color:#193b3b}.report-edit-dates{display:grid;grid-template-columns:1fr 1fr;gap:12px}.report-edit-form input[readonly]{background:#e9efe8;color:#48625e}.report-edit-form #reportEditError{color:#a94525}.report-edit-form>button{margin-bottom:15px}@media(max-width:680px){.saved-paper-link .report-card-actions,.registered-report .report-card-actions{width:100%}.report-card-actions .btn{flex:1;min-width:0;font-size:12px}.report-edit-form input,.report-edit-form select{font-size:16px}}

.project-picker{display:flex;flex-direction:column;gap:8px}.project-picker .btn{font-size:12px;padding:8px;align-self:flex-start}.project-admin form{display:grid;gap:12px;margin-bottom:24px}.project-admin label{display:grid;gap:6px}.project-admin input,.project-admin select{width:100%;padding:12px;border:1px solid var(--line);border-radius:10px;font:inherit;background:white;color:var(--ink)}.project-admin h3{margin-bottom:0}.project-admin #projectError{font-weight:600}#pdfReport .project-picker .btn{display:none}@media(max-width:700px){.project-admin input,.project-admin select{font-size:16px}.project-picker{grid-column:1/-1}}

@media(min-width:701px){.dashboard-filters:has(.project-picker),#pdfReport .report-preview-filters:has(label select[aria-label="Kunde i PDF"]):has(.project-picker),.excel-picker:has(.project-picker){grid-template-columns:2fr 2fr 1fr 1fr}}

.unassigned-costs{margin:22px 0;background:#fffaf3}.unassigned-cost-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:14px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}.unassigned-cost-row:last-child{border:0}.unassigned-cost-row small{display:block;margin-top:4px;color:var(--muted)}.transfer-form{display:grid;gap:16px}.transfer-start,.transfer-remaining{display:flex;justify-content:space-between;gap:12px;padding:15px;background:#e9efe8;border-radius:10px}.transfer-remaining.invalid{background:#ffe6df;color:#862e1a}.transfer-line{border:1px solid var(--line);border-radius:12px;padding:14px;display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) auto;gap:12px;align-items:end;margin-bottom:12px}.transfer-line label{display:grid;gap:7px}.transfer-line input,.transfer-line select{width:100%;min-width:0;padding:11px;border:1px solid var(--line);border-radius:8px;font:inherit;background:white;color:var(--ink)}.new-transfer-project{grid-column:1/-1}.transfer-line [hidden]{display:none}.transfer-form>.btn{justify-self:start}.allocation-saved{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px}.allocation-saved .btn{padding:8px 12px}.transfer-form #transferError{color:#862e1a;margin:0}.transfer-form .report-note{margin:0}@media(max-width:680px){.transfer-line{grid-template-columns:minmax(0,1fr)}.transfer-remove{justify-self:start;padding:8px 12px}.transfer-line input,.transfer-line select{font-size:16px}.unassigned-cost-row{gap:8px;font-size:13px}.unassigned-cost-row .btn{padding:10px 12px}}

/* Bottom section and compact, dismissible sign-in. */
.workspace{display:flex;flex-direction:column;min-height:100dvh}
.workspace>main{width:100%;flex:1;display:flex;flex-direction:column;margin:0 auto;padding-bottom:0}
main>#app{flex:1}
main>.footer{display:block!important;order:100;margin:30px -40px 0;padding:24px 24px calc(24px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fffefa;flex-shrink:0;overflow-wrap:anywhere;font-size:12px}
main>#printAction{order:99}
.modal-bg{padding:16px;overflow:auto;align-items:center}
.modal{position:relative;max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain;padding:30px}
.modal-close{position:absolute;right:12px;top:10px;width:36px;height:36px;border:0;background:transparent;border-radius:50%;font-size:28px;line-height:1;z-index:1}
.modal #modaltitle{padding-right:30px}
.login-modal{max-width:420px;padding:32px}
.login-modal .db-form{margin-top:22px}
.login-modal .db-form input{min-height:48px;font-size:16px}
.login-modal .db-form>button{width:100%;min-height:48px}
.login-modal .login-forgot{border:0;background:transparent;padding:0;text-decoration:underline;margin-top:0}
.login-modal>p{margin:18px 0 0}
.login-modal>button:last-child{display:none}
#portalWelcome{display:none}
html.portal-locked body{min-height:100dvh}
html.portal-locked #portalWelcome{display:flex;min-height:100dvh;flex-direction:column;background:var(--bg)}
html.portal-locked .modal-bg{background:#102c2460}
.login-welcome-content{display:grid;place-items:center;padding:28px 20px;flex:1}
.login-welcome-card{text-align:center;max-width:440px;width:100%}
.login-welcome-card img{display:block;width:200px;max-width:65%;height:auto;margin:0 auto 28px}
.login-welcome-card p{color:var(--muted)}
.login-welcome-card .btn{min-height:48px;min-width:160px}
.site-login-footer{border-top:1px solid var(--line);background:#fffefa;padding:24px 20px calc(24px + env(safe-area-inset-bottom));text-align:center;font-size:12px;line-height:1.7;flex-shrink:0}
@media(max-width:680px){main>.footer{margin-left:-16px;margin-right:-16px;padding-left:20px;padding-right:20px}.modal{padding:26px 22px}.login-modal{padding:28px 24px}.login-welcome-card h1{font-size:26px}}
@media print{#portalWelcome,.site-login-footer,main>.footer{display:none!important}}

/* Keep database access beside data sources, above the sync status. */
.source-status-line{flex-wrap:wrap;justify-content:flex-end}.source-status-line .btn{min-height:44px}.db-toolbar{justify-content:flex-start!important;margin:8px 0 16px!important}.db-toolbar:empty{display:none}

/* Administrative connection controls never belong in customer views. */
.customer-preview .db-toolbar,.customer-preview #dbOpen{display:none!important}

.customer-cost-details>summary{font-size:20px;font-weight:700;cursor:pointer;padding:12px 0}.customer-cost-content{padding-top:12px}@media(min-width:681px){.customer-cost-details>summary{font-size:24px;list-style:none;pointer-events:none}.customer-cost-details>summary::-webkit-details-marker{display:none}}@media print{.customer-cost-details>summary{list-style:none}}

.report-attachment-list{display:grid;gap:12px}.report-attachment-list a{overflow-wrap:anywhere;white-space:normal}

/* Connection details are available inside Database; keep the page header concise. */
.db-toolbar{display:none!important}

.customer-report-files{display:grid;gap:14px}.customer-report-file{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid var(--line)}.customer-report-file p{font-size:12px;line-height:1.6}.report-attachment-image{display:block;width:100%;max-height:60vh;object-fit:contain;margin-bottom:12px}@media(max-width:680px){.customer-report-file{align-items:flex-start;flex-direction:column}.customer-report-open{width:100%}}@media print{.customer-report-open{display:none!important}}
