:root{--canvas:#f8fafc;--surface:#fff;--ink:#0f172a;--muted:#64748b;--subtle:#94a3b8;--border:#e2e8f0;--primary:#4f46e5;--teal:#0d9488;--blue:#0284c7;--green:#059669;--amber:#b45309;--red:#e11d48;--sidebar:244px;--radius:12px;--shadow:0 1px 2px rgba(15,23,42,.04)}
*{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--ink);font-family:Geist,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:13px;line-height:1.5;-webkit-font-smoothing:antialiased}h1,h2,h3,h4{font-family:"Hanken Grotesk",Geist,sans-serif;letter-spacing:-.02em;line-height:1.25;margin:0;font-weight:600}h1{font-size:24px}h2{font-size:20px}h3{font-size:15px}h4{font-size:13px}p{margin:0}a{color:var(--primary);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button,input,select,textarea,a{outline-offset:3px}button:focus-visible,a:focus-visible{outline:2px solid var(--primary)}input,select,textarea{width:100%;padding:9px 11px;border:1px solid var(--border);border-radius:6px;background:#fff;min-height:38px;transition:border-color .15s,box-shadow .15s}input:focus,select:focus,textarea:focus{outline:0;border-color:#818cf8;box-shadow:0 0 0 3px #eef2ff}input::placeholder,textarea::placeholder{color:#94a3b8}input[type=checkbox]{accent-color:var(--primary);width:16px;height:16px;min-height:16px;flex-shrink:0}input[type=color]{padding:3px}textarea{resize:vertical;min-height:92px}select{padding-right:25px}label.field{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:500}label.field small{font-size:11px;color:var(--muted);font-weight:400}label.check{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:400}code,.mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.93em}code{background:#f1f5f9;padding:2px 5px;border-radius:4px;overflow-wrap:anywhere}hr{border:0;border-top:1px solid var(--border);margin:20px 0}.muted{color:var(--muted)}.subtle{color:var(--subtle)}.tiny{font-size:11px}.small{font-size:12px}.number{font-variant-numeric:tabular-nums}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hidden{display:none!important}.spacer{flex:1}.icon{width:17px;height:17px;vertical-align:middle;flex-shrink:0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:7px 12px;border:1px solid var(--border);border-radius:6px;background:#fff;white-space:nowrap;font-size:12px;line-height:1.45;font-weight:500;box-shadow:var(--shadow);transition:background .12s,border-color .12s}.btn:hover{background:#f8fafc;border-color:#cbd5e1}.btn.primary{background:var(--primary);border-color:var(--primary);color:#fff}.btn.primary:hover{background:#4338ca}.btn.dark{background:#0f172a;color:#fff;border-color:#0f172a}.btn.ghost{background:transparent;box-shadow:none;border-color:transparent;color:var(--muted)}.btn.ghost:hover{background:#f1f5f9}.btn.danger{color:var(--red)}.btn.small{min-height:29px;font-size:11px;padding:4px 9px}.btn.full{width:100%}.btn .icon{width:15px;height:15px}.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border:1px solid transparent;background:transparent;border-radius:5px;color:var(--subtle);padding:5px;flex-shrink:0}.icon-btn:hover{background:#f1f5f9;color:#334155}.icon-btn.danger:hover{color:var(--red)}.icon-btn .icon{width:16px;height:16px}.badge{display:inline-flex;align-items:center;gap:5px;padding:2px 7px;border-radius:4px;font-size:10px;font-weight:500;line-height:1.5;white-space:nowrap;border:1px solid #e2e8f0;background:#f8fafc;color:var(--muted)}.badge.pill{border-radius:99px;padding:2px 9px}.badge.green,.green{color:#047857;background:#ecfdf5;border-color:#a7f3d0}.badge.blue,.blue{color:#0369a1;background:#f0f9ff;border-color:#bae6fd}.badge.indigo,.indigo{color:#4338ca;background:#eef2ff;border-color:#c7d2fe}.badge.amber,.amber{color:#92400e;background:#fffbeb;border-color:#fde68a}.badge.red,.red{color:#be123c;background:#fff1f2;border-color:#fecdd3}.dot{width:6px;height:6px;display:inline-block;border-radius:50%;background:currentColor;flex-shrink:0}.source-icon{display:inline-flex;align-items:center;justify-content:center;width:34px;height:36px;border:1px solid;border-radius:8px;flex-shrink:0}.source-icon.green{border-color:#d1fae5}.source-icon.blue{border-color:#e0f2fe}.source-icon.indigo{border-color:#e0e7ff}.source-icon .icon{width:17px;height:17px}.avatar{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#e0e7ff;color:#4338ca;font-weight:600;font-size:10px;flex-shrink:0}.logo{width:30px;height:30px;border-radius:9px;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:12px;flex-shrink:0;letter-spacing:-.04em}
/* App shell */
.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);display:flex;flex-direction:column;background:#fff;border-right:1px solid var(--border);z-index:30}.workspace{padding:17px 15px 14px;border-bottom:1px solid var(--border)}.brand{display:flex;align-items:center;gap:10px;margin-bottom:14px}.brand strong{font-size:12px;display:block;line-height:1.3;letter-spacing:-.025em}.brand p{font-size:10px;color:var(--muted);margin-top:2px}.customer-select{display:flex;align-items:center;gap:8px;background:#f8fafc;border:1px solid var(--border);border-radius:7px;padding:0 9px;color:var(--primary)}.customer-select select{border:0;background:transparent;font-size:11px;padding:7px 0;min-height:32px;box-shadow:none;color:#0f172a;min-width:0}.sidebar-nav{padding:12px 8px;display:flex;flex-direction:column;gap:3px}.nav-item{display:flex;align-items:center;gap:11px;padding:10px 12px;border:0;background:transparent;text-align:left;font-size:12px;color:#475569;border-radius:0 6px 6px 0;border-left:2px solid transparent;line-height:1.3;min-height:37px}.nav-item:hover{background:#f8fafc}.nav-item.active{color:#4338ca;background:#eef2ff;border-left-color:var(--primary);font-weight:500}.nav-item .icon{width:16px;height:16px}.nav-item .count{margin-left:auto;background:#e0e7ff;color:#4338ca;font-size:10px;padding:2px 5px;border-radius:4px}.source-tree{margin:0 12px 6px 30px;padding:2px 0 3px 10px;border-left:1px solid var(--border);display:flex;flex-direction:column;gap:3px}.source-tree button{display:flex;align-items:center;gap:6px;text-align:left;border:0;background:none;font-size:10px;padding:6px 0;color:#475569}.source-tree .icon{width:13px;height:13px}.source-tree .badge{margin-left:auto;font-size:9px;padding:1px 5px}.sidebar-bottom{margin-top:auto;padding:12px;border-top:1px solid var(--border);display:flex;flex-direction:column;gap:10px}.sidebar-status{display:flex;gap:8px;align-items:center;border:1px solid var(--border);border-radius:6px;background:#f8fafc;padding:7px 9px;font-size:10px}.sidebar-status .dot{color:var(--primary)}.user-snippet{display:flex;align-items:center;gap:7px;font-size:10px;color:var(--muted);padding-top:2px}.user-snippet .avatar{width:25px;height:25px}.shell{margin-left:var(--sidebar);min-height:100vh}.topbar{height:64px;position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:14px;padding:10px 27px;background:rgba(255,255,255,.97);border-bottom:1px solid var(--border)}.breadcrumbs{min-width:100px;display:flex;align-items:center;gap:10px;color:var(--muted);font-size:11px;flex:1;overflow:hidden}.breadcrumbs span:last-child{color:#4f46e5;font-weight:500}.breadcrumbs .sep{color:#cbd5e1!important;font-weight:400}.top-actions{display:flex;align-items:center;gap:7px;margin-left:auto}.top-actions .btn{font-size:11px;min-height:36px;padding:7px 10px}.date-button{background:#f8fafc}.mobile-menu{display:none}.content{padding:25px 26px 35px;margin:0 auto}.public-shell{margin-left:0}.public-shell .content{width:calc(100% - var(--sidebar));max-width:1720px}.http-notice{display:flex;align-items:center;gap:8px;color:#926318;font-size:10px;margin:0 0 14px;padding-left:2px}.http-notice .icon{width:13px;height:13px}.report-banner{display:flex;align-items:center;gap:17px;min-height:105px;background:#fff;border:1px solid var(--border);border-radius:12px;padding:22px;box-shadow:var(--shadow);margin-bottom:23px}.client-monogram{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:56px;height:58px;border:1px solid #e0e7ff;border-radius:9px;background:#eef2ff;color:#4338ca;font-weight:600;font-size:17px;box-shadow:var(--shadow)}.banner-copy{flex:1;min-width:0}.banner-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.banner-title h1{font-size:18px}.banner-copy p{font-size:11px;color:var(--muted);margin-top:6px;max-width:780px;line-height:1.7}.banner-meta{display:flex;align-items:center;gap:14px;text-align:right;flex-shrink:0;margin-left:auto}.banner-meta small{font-size:10px;color:var(--subtle);display:block}.banner-meta strong{display:block;font-size:11px;margin-top:3px;font-weight:500}.section-heading{display:flex;align-items:center;gap:12px;margin:24px 0 12px}.section-heading h2{font-size:15px}.section-heading:first-child{margin-top:0}.report-grid{display:grid;grid-template-columns:repeat(var(--columns,12),minmax(0,1fr));grid-auto-flow:row dense;grid-auto-rows:32px;gap:20px;margin-bottom:20px}.widget{grid-column:span var(--width,6);grid-row:span var(--height,8);background:#fff;border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow);min-width:0;min-height:0;display:flex;flex-direction:column;position:relative;overflow:hidden;transition:border-color .15s,box-shadow .15s}.widget:hover{border-color:#cbd5e1}.widget.drag-over{outline:2px dashed #818cf8;outline-offset:3px}.widget.dragging{opacity:.4}.widget-header{display:flex;gap:10px;align-items:center;padding:16px;min-height:70px;border-bottom:1px solid #f1f5f9;flex-shrink:0}.widget-heading{min-width:0;flex:1}.widget-heading h3{font-size:13px;line-height:1.4}.widget-heading p{color:var(--muted);font-size:10px;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.widget-actions{display:flex;gap:0;align-items:center;flex-shrink:0}.widget-actions .icon-btn{width:24px;height:26px}.drag-handle{cursor:grab}.widget-body{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column;scrollbar-width:thin}.widget-body.padded{padding:16px}.widget-footer{flex-shrink:0;border-top:1px solid #f1f5f9;background:#fafcff;padding:9px 15px;display:flex;gap:8px;align-items:center;justify-content:space-between;font-size:10px;color:var(--muted);min-height:35px}.widget-footer .footer-status{display:flex;align-items:center;gap:6px;min-width:0}.widget-footer .footer-status .dot{color:#10b981}.widget-footer .badge{font-size:9px}.widget-resize{position:absolute;bottom:1px;right:1px;width:15px;height:15px;border:0;background:linear-gradient(135deg,transparent 65%,#cbd5e1 66%,#cbd5e1 72%,transparent 73%,transparent 80%,#cbd5e1 81%,#cbd5e1 87%,transparent 88%);cursor:nwse-resize;opacity:0;z-index:2;touch-action:none}.widget:hover .widget-resize,.widget-resize:focus{opacity:1}.resizing{user-select:none;cursor:nwse-resize}.widget-tabs{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 15px;border-bottom:1px solid #f1f5f9}.range-chip{font-size:10px;padding:5px 7px;line-height:1.6;background:#f8fafc;border:1px solid var(--border);border-radius:5px;color:var(--muted)}.range-chip strong{color:#047857}.segments{display:flex;gap:1px;background:#f1f5f9;padding:2px;border:1px solid var(--border);border-radius:5px}.segments button{border:0;border-radius:3px;padding:3px 7px;background:none;color:var(--muted);font-size:10px;display:flex;gap:4px;align-items:center;white-space:nowrap}.segments .icon{width:12px;height:12px}.segments button.active{background:white;color:var(--ink);box-shadow:var(--shadow)}.table-wrap{overflow:auto;scrollbar-width:thin;flex:1}.data-table{width:100%;border-collapse:collapse;text-align:left;font-size:11px;font-variant-numeric:tabular-nums}.data-table th{color:#64748b;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;background:#f8fafc;padding:13px 14px;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:1}.data-table th.numeric,.data-table td.numeric{text-align:right}.data-table td{padding:13px 14px;border-bottom:1px solid #f1f5f9;max-width:210px;overflow:hidden;text-overflow:ellipsis;vertical-align:middle;line-height:1.5}.data-table td.numeric{white-space:nowrap}.data-table tbody tr:last-child td{border-bottom:none}.data-table tbody tr:hover{background:#fafcff}.data-table .positive{color:#059669;font-weight:500}.data-table .negative{color:#e11d48;font-weight:500}.data-table .highlight{color:#4f46e5;font-weight:600}.data-table td:first-child{font-weight:500}.table-sort{border:0;padding:0;background:none;text-align:inherit;font:inherit;color:inherit;letter-spacing:inherit;text-transform:inherit}.kpi-content{display:flex;flex-direction:column;justify-content:space-between;flex:1;padding:27px 15px 16px;gap:18px}.kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(78px,1fr));gap:9px}.kpi-tile{padding:13px 11px;background:#f8fafc;border:1px solid var(--border);border-radius:8px;min-height:124px;display:flex;flex-direction:column}.kpi-label{font-size:10px;color:var(--muted);margin-bottom:8px}.kpi-value{font-variant-numeric:tabular-nums;font-size:clamp(17px,1.65vw,25px);font-weight:650;line-height:1.25;letter-spacing:-.025em;overflow-wrap:anywhere}.kpi-value.blue-text{color:#0284c7}.kpi-unit{font-size:10px;color:var(--muted);margin-top:6px}.kpi-hint{margin-top:auto;padding-top:10px;font-size:9px;color:#059669;display:flex;align-items:center;gap:4px}.kpi-hint .icon{width:11px;height:11px}.spark-header{display:flex;justify-content:space-between;gap:8px;color:var(--muted);font-size:10px;margin-bottom:7px}.spark-panel{height:88px;padding:6px;background:#f8fafc;border:1px solid var(--border);border-radius:7px;overflow:hidden}.mini-chart{height:100%;width:100%;display:block}.data-chart{width:100%;height:100%;min-height:140px;max-height:340px;flex:1}.data-chart.mini-chart{min-height:0;max-height:none}.chart-container{padding:18px 16px 12px;flex:1;min-height:0;display:flex;flex-direction:column}.chart-grid{stroke:#e2e8f0;stroke-width:1;stroke-dasharray:3 4}.chart-tick{fill:#94a3b8;font:10px Geist,sans-serif}.chart-legend{display:flex;justify-content:center;gap:16px;font-size:10px;color:var(--muted);padding:9px 0 0;flex-wrap:wrap}.chart-legend span{display:flex;align-items:center;gap:5px}.chart-legend i,.donut-legend i{height:7px;width:7px;border-radius:2px;display:inline-block;flex-shrink:0}.donut-view{display:flex;align-items:center;justify-content:center;gap:18px;height:100%;padding:14px}.donut-view svg{max-width:220px;min-width:130px;flex:1}.donut-legend{display:flex;flex-direction:column;gap:8px;font-size:10px;min-width:80px}.donut-legend div{display:flex;align-items:center;gap:6px}.donut-legend span{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.donut-legend b{margin-left:auto}.donut-total{font-size:24px;font-weight:600;fill:#0f172a}.formula-content{padding:16px;display:flex;flex-direction:column;gap:14px;flex:1}.formula-box{padding:12px;background:#f8fafc;border:1px solid var(--border);border-radius:8px}.eyebrow{font-size:10px;letter-spacing:.05em;text-transform:uppercase;font-weight:500;color:var(--muted);margin-bottom:9px}.formula-tokens{display:flex;align-items:center;gap:5px;flex-wrap:wrap;padding:10px;background:#fff;border:1px solid var(--border);border-radius:5px;font-size:12px}.token-chip{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border:1px solid #c7d2fe;border-radius:4px;background:#eef2ff;color:#4338ca;font-size:10px}.token-chip .icon{width:12px;height:12px}.formula-result-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;flex:1}.formula-result{background:#f8fafc;border:1px solid var(--border);border-radius:8px;padding:15px;display:flex;flex-direction:column;justify-content:center}.formula-result .value{font-size:28px;letter-spacing:-.04em;font-weight:600;font-variant-numeric:tabular-nums;margin:7px 0 3px}.formula-breakdown{border:1px solid var(--border);border-radius:8px;padding:12px 14px;background:#f8fafc}.formula-breakdown>div{display:flex;justify-content:space-between;gap:10px;padding:6px 0;font-size:10px;border-bottom:1px solid #e2e8f0}.formula-breakdown>div:last-child{border-bottom:none}.text-content{padding:20px;font-size:12px;line-height:1.85;color:#475569;white-space:pre-wrap;overflow-wrap:anywhere}.data-warning{font-size:10px;color:#926318;background:#fffbeb;padding:6px 12px;border-top:1px solid #fef3c7;flex-shrink:0}.add-zone{border:1px dashed #cbd5e1;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:26px;background:#fff9;text-align:center;gap:8px;margin-top:4px}.add-zone:hover{border-color:#818cf8;background:#fff}.add-zone .round-plus{width:40px;height:40px;background:#eef2ff;color:#6366f1;display:flex;align-items:center;justify-content:center;border-radius:50%;margin-bottom:2px}.add-zone h3{font-size:13px}.add-zone p{font-size:11px;color:var(--muted)}.add-source-buttons{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:6px;flex-wrap:wrap}.report-bottom{display:flex;justify-content:space-between;color:var(--subtle);font-size:10px;padding:20px 0 0}.dirty-label{font-size:10px;color:#b45309}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;margin:7px 0 25px;gap:16px}.page-heading p{margin-top:7px;color:var(--muted);font-size:12px}.cards-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:25px}.card{background:#fff;border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow);padding:21px;min-width:0}.card-header{display:flex;align-items:center;gap:11px;margin-bottom:15px}.card p{font-size:12px;color:var(--muted);margin:8px 0;line-height:1.7}.card-actions{display:flex;align-items:center;gap:7px;margin-top:18px;flex-wrap:wrap}.list-panel{background:#fff;border:1px solid var(--border);border-radius:12px;overflow:hidden;margin:16px 0 24px}.panel-heading{padding:17px 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #f1f5f9;gap:12px}.list-row{display:flex;align-items:center;padding:16px 20px;gap:13px;border-bottom:1px solid #f1f5f9}.list-row:last-child{border-bottom:0}.list-row .row-copy{min-width:0;flex:1}.row-copy strong{font-size:12px;font-weight:500}.row-copy p{font-size:11px;color:var(--muted);margin:3px 0 0}.row-actions{display:flex;gap:4px;align-items:center}.list-row .source-icon{width:33px;height:34px}.notice{display:flex;align-items:flex-start;gap:9px;border:1px solid #e0e7ff;border-radius:8px;background:#f5f7ff;color:#475569;padding:13px 15px;font-size:12px;line-height:1.7;margin:14px 0}.notice .icon{margin-top:2px;color:#6366f1}.notice.warning{background:#fffbeb;border-color:#fde68a;color:#92400e}.notice.warning .icon{color:#b45309}.notice.error{background:#fff1f2;border-color:#fecdd3;color:#be123c}.notice.success{background:#ecfdf5;border-color:#a7f3d0;color:#047857}.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.info-line{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid #f1f5f9;font-size:12px}.info-line:last-child{border-bottom:0}.settings-form{display:flex;flex-direction:column;gap:13px}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:36px 20px;flex:1;min-height:140px;text-align:center}.empty-state>.icon{width:29px;height:29px;color:#94a3b8;margin-bottom:4px}.empty-state h3{font-size:14px}.empty-state p{color:var(--muted);font-size:12px;max-width:420px}.loading{display:flex;align-items:center;justify-content:center;gap:10px;color:var(--muted);padding:35px;flex:1}.spinner{width:17px;height:17px;border:2px solid #e0e7ff;border-top-color:#6366f1;border-radius:50%;animation:spin .8s linear infinite}.boot-loader{display:flex;align-items:center;justify-content:center;gap:10px;min-height:100vh;color:var(--muted);font-size:13px}@keyframes spin{to{transform:rotate(360deg)}}
/* Dialogs, editors and authentication */
.modal-backdrop{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(15,23,42,.34);backdrop-filter:blur(2px);z-index:80;padding:24px}.modal{background:#fff;border:1px solid #cbd5e1;border-radius:12px;box-shadow:0 24px 65px -12px #0f172a44;width:570px;max-width:100%;max-height:calc(100dvh - 48px);display:flex;flex-direction:column;animation:modal-in .15s ease-out}.modal.wide{width:820px}.modal.extra-wide{width:1040px}.modal-header{display:flex;align-items:center;gap:11px;padding:20px 22px 17px;border-bottom:1px solid #f1f5f9;flex-shrink:0}.modal-header h2{font-size:16px}.modal-header p{font-size:11px;color:var(--muted);margin-top:3px}.modal-header .icon-btn{margin-left:auto}.modal-body{padding:20px 22px;overflow:auto;min-height:0;scrollbar-width:thin}.modal-body form{display:flex;flex-direction:column;gap:15px}.modal-footer{display:flex;justify-content:flex-end;align-items:center;gap:8px;border-top:1px solid #f1f5f9;padding:13px 22px;flex-shrink:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-grid.three{grid-template-columns:1fr 1fr 1fr}.form-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.form-grid .full{grid-column:1/-1}.form-stack{display:flex;flex-direction:column;gap:14px}.inline-form{display:flex;align-items:end;gap:8px}.inline-form .field{flex:1;min-width:0}.inline-form>select{width:130px}.form-note{font-size:11px;line-height:1.65;color:var(--muted)}.form-divider{margin:4px 0 0;font-size:11px;text-transform:uppercase;color:var(--muted);letter-spacing:.04em;font-weight:500;border-top:1px solid #f1f5f9;padding-top:16px}.checkbox-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:210px;overflow:auto;border:1px solid var(--border);border-radius:7px;padding:9px;gap:4px}.checkbox-grid label{padding:5px;overflow:hidden;font-size:11px}.checkbox-grid label:hover{background:#f8fafc}.preview-panel{border:1px solid var(--border);border-radius:8px;overflow:hidden;max-height:280px;overflow:auto}.preview-panel .data-table th{z-index:1}.variable-row{padding:12px;border:1px solid var(--border);background:#f8fafc;border-radius:8px;display:flex;flex-direction:column;gap:10px}.variable-row .form-grid{gap:9px}.variable-row .field{font-size:10px}.variable-row input,.variable-row select{padding:6px 8px;font-size:11px;min-height:32px}.variable-title{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--primary);font-weight:600}.filter-row{display:grid;grid-template-columns:1fr 115px 1fr 28px;gap:7px;align-items:center}.filter-row input,.filter-row select{font-size:11px;min-height:33px;padding:6px 8px}.widget-filter-row{grid-template-columns:minmax(150px,1.25fr) 84px 115px minmax(120px,1fr) 28px}.variable-filter-row{grid-template-columns:minmax(180px,1.55fr) 82px minmax(135px,.9fr) minmax(190px,1.35fr) 32px;gap:9px}.variable-filter-row input[name="variableFilterValue"]{min-width:0;width:100%;background:#fff;border-color:#cbd5e1}.variable-filter-row input[name="variableFilterValue"]:focus{border-color:var(--primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 12%,transparent)}.variable-filter-group{padding:16px}.variable-filter-group .filter-group-head{margin-bottom:10px}.variable-filter-settings .advanced-settings-body{display:flex;flex-direction:column;gap:14px}.variable-filter-rows{gap:10px}.access-person{display:flex;align-items:center;gap:10px;padding:12px 11px;border-bottom:1px solid #f1f5f9}.access-person:last-child{border-bottom:0}.access-person .person-copy{flex:1;min-width:0}.person-copy strong{font-size:11px;font-weight:500;display:block;overflow:hidden;text-overflow:ellipsis}.person-copy small{font-size:10px;color:var(--muted)}.access-person select{width:136px;font-size:10px;padding:5px;min-height:28px}.people-list{border:1px solid var(--border);border-radius:8px;margin-top:8px;overflow:hidden}.share-setting{padding:14px;background:#f8fafc;border:1px solid var(--border);border-radius:8px;margin:17px 0;display:flex;align-items:center;gap:12px}.share-setting .icon{color:var(--primary);width:16px;height:16px}.share-setting strong{display:block;font-weight:500;font-size:11px}.share-setting p{font-size:10px;color:var(--muted);margin-top:4px}.share-setting .btn{margin-left:auto}.copy-box{background:#eef2ff;border:1px solid #c7d2fe;padding:12px;border-radius:7px;margin:12px 0}.copy-box .inline-form{align-items:center}.copy-box input{font-family:ui-monospace,monospace;font-size:10px;background:#fff}.copy-box p{font-size:10px;color:#4338ca;margin-top:8px}.auth-page{min-height:100dvh;display:grid;place-items:center;padding:30px;background:radial-gradient(ellipse at 30% 20%,#eef2ff 0,transparent 45%),#f8fafc}.auth-card{width:420px;max-width:100%;padding:32px;background:#fff;border:1px solid var(--border);border-radius:14px;box-shadow:0 8px 28px #0f172a07}.auth-card .brand{margin-bottom:30px}.auth-card h1{font-size:23px;margin-bottom:8px}.auth-card>p{font-size:12px;color:var(--muted);line-height:1.7}.auth-card form{margin-top:23px;display:flex;flex-direction:column;gap:16px}.auth-footer{font-size:10px;color:#94a3b8;text-align:center;margin-top:23px;line-height:1.7}.form-error{font-size:12px;color:#be123c;background:#fff1f2;padding:10px;border-radius:6px;border:1px solid #fecdd3}.form-error:empty{display:none}.toast-stack{position:fixed;bottom:24px;right:24px;z-index:150;display:flex;flex-direction:column;gap:8px;max-width:min(460px,calc(100vw - 40px))}.toast{display:flex;align-items:flex-start;gap:9px;background:#0f172a;color:#fff;box-shadow:0 6px 25px #0f172a33;padding:13px 16px;border-radius:9px;font-size:12px;animation:modal-in .15s ease-out}.toast.error{background:#9f1239}.toast .icon{margin-top:1px;flex-shrink:0}.keyboard-hint{font-size:10px;color:#94a3b8;margin-right:auto}.toolbar-note{font-size:10px;color:var(--muted)}.skeleton{height:16px;background:linear-gradient(90deg,#f1f5f9,#f8fafc,#f1f5f9);background-size:200%;border-radius:4px;animation:skeleton 1.4s infinite}@keyframes skeleton{to{background-position:-200%}}@keyframes modal-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1650px){.kpi-value{font-size:27px}.widget-heading h3{font-size:14px}.data-table{font-size:12px}.data-table td{padding:14px 16px}}

/* Authentication bootstrap: keep the public login page hidden until the session check resolves. */
.auth-boot-screen{position:fixed;inset:0;z-index:1000;display:none;align-items:center;justify-content:center;background:var(--canvas);color:var(--muted)}
.auth-boot-card{display:flex;align-items:center;gap:11px;font-size:12px}.auth-boot-card .logo{width:32px;height:32px}.auth-boot-card strong{display:block;color:var(--ink);font-size:12px}.auth-boot-card span{display:block;font-size:10px;margin-top:2px}
body.auth-checking #app{visibility:hidden}body.auth-checking .auth-boot-screen{display:flex}
@media(max-width:1279px){:root{--sidebar:220px}.topbar{padding:9px 20px;gap:8px}.content{padding:20px}.breadcrumbs{font-size:10px;gap:6px;min-width:80px}.top-actions{gap:5px}.top-actions .btn{padding:6px 8px;font-size:10px}.top-actions .btn.optional{display:none}.banner-title h1{font-size:17px}.banner-meta{display:none}.widget-header{padding:13px 12px}.widget-heading h3{font-size:12px}.widget-heading p{font-size:9px}.widget-header .source-icon{width:29px;height:32px}.widget-actions .drag-handle{display:none}.widget-tabs{padding:10px;flex-wrap:wrap}.data-table td,.data-table th{padding:11px 10px}.kpi-content{padding:20px 11px 13px}.kpi-grid{gap:6px}.kpi-tile{padding:10px 8px}.kpi-value{font-size:20px}.widget-footer{font-size:9px;padding:8px 10px}.cards-grid{gap:14px}.card{padding:16px}.formula-result .value{font-size:24px}}
@media(max-width:1050px){:root{--sidebar:205px}.topbar{height:auto;min-height:61px;flex-wrap:wrap}.breadcrumbs{max-width:100%;flex-basis:100%}.top-actions{margin-left:0;width:100%}.top-actions .btn.primary{margin-left:auto}.sidebar-nav{padding:10px 6px}.nav-item{font-size:11px;padding:10px}.source-tree{margin-left:26px}.report-grid{gap:15px;grid-auto-rows:32px}.widget{grid-column:span var(--width);grid-row:span var(--height)}.widget-heading p{max-width:160px}.kpi-grid{grid-template-columns:1fr 1fr}.kpi-tile{min-height:90px}.kpi-value{font-size:20px}.kpi-hint{display:none}.kpi-content{padding:12px;gap:12px}.spark-panel{height:70px}.formula-result-row{grid-template-columns:1fr}.formula-breakdown{display:none}.banner-copy p{font-size:10px}.report-banner{padding:18px;gap:13px}.cards-grid{grid-template-columns:1fr}.info-grid{grid-template-columns:1fr}.report-card{padding:19px}.sidebar-bottom{padding:10px}.source-tree .badge{font-size:8px}.source-tree button{font-size:9px}}
@media(max-width:767px){:root{--sidebar:244px}.sidebar{transform:translateX(-100%);transition:transform .2s}.sidebar.open{transform:translateX(0);box-shadow:10px 0 35px #0f172a25}.sidebar-backdrop{position:fixed;inset:0;background:#0f172a33;z-index:25}.shell{margin-left:0}.public-shell .content{width:100%}.topbar{padding:10px 14px;gap:8px}.mobile-menu{display:inline-flex}.breadcrumbs{flex-basis:auto;flex:1;font-size:11px}.top-actions{width:100%;gap:5px;overflow:auto}.top-actions .btn{font-size:10px;padding:6px 8px}.top-actions .btn.hide-mobile{display:none}.top-actions .btn.primary{margin-left:auto}.content{padding:16px}.http-notice{font-size:9px;align-items:flex-start}.report-banner{padding:17px;align-items:flex-start;min-height:0;margin-bottom:18px}.client-monogram{width:42px;height:44px;font-size:14px}.banner-title h1{font-size:16px}.banner-title{gap:7px}.banner-copy p{font-size:10px;line-height:1.7}.banner-title .badge{font-size:9px}.report-grid{display:flex;flex-direction:column;gap:16px}.widget{min-height:270px;max-height:none;height:auto}.widget.type-table{max-height:470px}.widget.type-kpi{min-height:360px}.widget.type-metric{min-height:325px}.widget.type-line,.widget.type-bar,.widget.type-area,.widget.type-donut{height:330px}.widget.type-text{min-height:200px}.widget-body{overflow:visible;min-height:150px}.widget.type-table .widget-body{overflow:auto}.widget-header{padding:15px}.widget-heading h3{font-size:13px}.widget-heading p{max-width:235px;font-size:10px}.widget-resize,.drag-handle{display:none!important}.kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.kpi-content{padding:20px 13px 15px;gap:24px}.kpi-tile{min-height:110px;padding:10px 7px}.kpi-label{font-size:9px}.kpi-value{font-size:19px}.kpi-unit{font-size:9px}.spark-panel{height:86px}.formula-result-row{grid-template-columns:1fr 1fr}.formula-breakdown{display:block}.formula-result .value{font-size:23px}.data-table{font-size:11px}.data-table th{font-size:9px}.data-table td{padding:12px 10px}.data-table td:first-child{min-width:110px}.widget-tabs{padding:11px 13px}.formula-content{padding:13px}.widget-footer{font-size:9px}.chart-container{min-height:210px}.text-content{font-size:12px;padding:18px}.report-bottom{font-size:9px}.page-heading h1{font-size:21px}.page-heading p{font-size:11px}.page-heading{align-items:center;gap:10px}.list-row{padding:13px 12px;gap:9px}.row-actions .btn span{display:none}.row-actions .btn{padding:6px}.card p{font-size:12px}.modal-backdrop{padding:10px}.modal{max-height:calc(100dvh - 20px)}.modal-header{padding:16px}.modal-body{padding:17px 16px}.modal-footer{padding:13px 16px}.modal-header h2{font-size:15px}.modal-header p{font-size:10px}.form-grid.three,.form-grid.four{grid-template-columns:1fr 1fr}.inline-form{flex-wrap:wrap}.inline-form .field{min-width:160px}.inline-form>select{width:140px}.checkbox-grid{grid-template-columns:1fr}.filter-row{grid-template-columns:1fr 92px 1fr 24px;gap:4px}.filter-row input,.filter-row select{font-size:10px;padding:5px}.widget-filter-row{grid-template-columns:minmax(115px,1.2fr) 70px 92px minmax(95px,1fr) 24px}.share-setting{gap:8px;padding:12px}.people-list .access-person{gap:7px;padding:11px 8px}.access-person select{width:109px;font-size:9px}.auth-card{padding:27px}.toast-stack{bottom:15px;right:15px}.public-shell .topbar{flex-wrap:wrap}.report-grid .empty-state{padding:25px 18px}.add-zone{padding:23px 12px}.donut-view{min-height:220px}}
@media(max-width:390px){.form-grid.four{grid-template-columns:1fr}.kpi-grid{grid-template-columns:1fr 1fr}.kpi-tile{min-height:85px}.kpi-content{gap:16px}.widget.type-kpi{min-height:420px}.formula-result-row{grid-template-columns:1fr}.formula-breakdown{display:none}.form-grid{grid-template-columns:1fr}.top-actions .date-button span{max-width:110px;overflow:hidden;text-overflow:ellipsis}.access-person .avatar{display:none}.person-copy strong{font-size:10px}}
@media print{body{font-size:11px;background:#fff;-webkit-print-color-adjust:exact;print-color-adjust:exact}.sidebar,.topbar,.http-notice,.add-zone,.report-bottom,.widget-actions,.widget-resize,#modal-root,#toast-root,.section-heading .btn{display:none!important}.shell{margin:0}.content{padding:0;max-width:none}.report-banner{box-shadow:none;margin-bottom:16px}.report-grid{display:grid;grid-template-columns:repeat(12,1fr);grid-auto-rows:auto;gap:14px}.widget{grid-column:span var(--width);grid-row:auto;height:auto;min-height:250px;break-inside:avoid;box-shadow:none;overflow:visible}.widget-body{overflow:visible;min-height:170px}.widget.type-table .widget-body,.table-wrap{overflow:visible;max-height:none}.data-table{font-size:10px}.data-table th{position:static}.data-table td,.data-table th{padding:8px}.kpi-value{font-size:19px}.kpi-grid{grid-template-columns:repeat(4,1fr)}.kpi-hint{display:none}.kpi-content{padding:12px}.formula-result-row{grid-template-columns:1fr 1fr}.formula-breakdown{display:block}.chart-container{height:215px}.chart-tick{font-size:10px}.widget-footer{font-size:8px}.data-warning{font-size:8px}.report-banner h1{font-size:18px}.source-icon{width:27px;height:29px}.widget-header{padding:11px}.widget-tabs{padding:7px}.banner-meta{display:block}.report-banner,.section-heading{break-after:avoid}}


/* Cohort heatmap --------------------------------------------------------- */
.widget.type-cohort{min-width:0}.widget.type-cohort .widget-body{overflow:auto}.cohort-wrap{background:var(--report-canvas,#f8fafc)}.cohort-table{min-width:max-content;width:100%;font-size:11px}.cohort-table th{background:var(--cohort-header,var(--report-cohort-header,#123f4a));color:var(--cohort-header-text,var(--report-cohort-header-text,#fff));text-transform:none;letter-spacing:0;font-size:10px;font-weight:650;text-align:center;white-space:nowrap;padding:8px 12px;border-right:1px solid rgba(255,255,255,.08);z-index:2}.cohort-table th:first-child{text-align:left;min-width:150px;left:0;z-index:4}.cohort-table th:nth-child(2){min-width:90px;z-index:3}.cohort-table td{padding:7px 10px;height:34px;border-right:1px solid rgba(226,232,240,.72);border-bottom:1px solid #edf2f7;max-width:none;white-space:nowrap}.cohort-table .cohort-label{background:#fff;color:#0f172a}.cohort-table td:first-child{position:sticky;left:0;z-index:2;font-weight:500;min-width:150px}.cohort-table .cohort-cell{text-align:right;min-width:82px;background:rgb(var(--cohort-heatmap-rgb,var(--report-cohort-heatmap-rgb,13 148 136)) / var(--cohort-alpha));color:var(--cohort-text,var(--report-cohort-text,#12323a));font-weight:500;font-variant-numeric:tabular-nums}.cohort-table .cohort-cell span{display:block}.cohort-table .cohort-empty{background:color-mix(in srgb,var(--report-canvas,#f8fafc) 76%,var(--report-surface,#fff))}.cohort-table tr:hover .cohort-label{background:#f8fafc}.cohort-table tr:hover .cohort-cell{box-shadow:inset 0 0 0 999px rgba(255,255,255,.08)}.cohort-table .cohort-summary td{border-top:2px solid rgb(var(--cohort-heatmap-rgb,var(--report-cohort-heatmap-rgb,13 148 136)) / .28);font-weight:650}.cohort-table .cohort-summary .cohort-label{background:rgb(var(--cohort-heatmap-rgb,var(--report-cohort-heatmap-rgb,13 148 136)) / .11)}.cohort-table .cohort-summary .cohort-cell{outline:1px solid rgb(var(--cohort-heatmap-rgb,var(--report-cohort-heatmap-rgb,13 148 136)) / .12);outline-offset:-1px}.cohort-config{border-color:#cde9e5;background:#f7fffd}.widget.type-cohort .range-chip strong{color:#0f766e}

/* Widget-specific periods and comparisons */
.widget-period-config{border-color:#dbeafe;background:#f8fbff}.comparison-toggle{margin:10px 0 2px}.comparison-strip{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:9px 14px;border-bottom:1px solid #eef2f7;background:#fbfdff;font-size:10px;color:#475569}.comparison-strip.pending{color:#64748b}.comparison-strip .icon{width:13px;height:13px}.comparison-caption{font-weight:600;color:#334155}.comparison-strip>span:not(.comparison-caption){display:inline-flex;align-items:center;gap:6px}.comparison-delta{display:inline-flex;align-items:baseline;gap:4px;font-size:10px;font-weight:600;color:#4338ca;white-space:nowrap}.comparison-delta small{font-size:9px;font-weight:400;color:#94a3b8}.kpi-tile .comparison-delta{margin-top:4px}.comparison-column{background:#fafbfc!important;color:#64748b!important}.comparison-delta-cell{font-weight:600;color:#4338ca}.comparison-table th.comparison-column{font-size:9px}.comparison-legend i{width:18px!important;height:0!important;border-top:2px dashed #64748b!important;background:transparent!important;border-radius:0!important}.formula-result .comparison-delta{font-size:12px;margin-top:6px}.widget.type-table .comparison-table{min-width:max-content}
@media(max-width:767px){.comparison-strip{padding:8px 11px;gap:8px}.comparison-strip>span:not(.comparison-caption){width:100%;justify-content:space-between}.comparison-delta{font-size:9px}}

/* Goal / target widget ---------------------------------------------------- */
.goal-config{border-color:#dbeafe;background:#fbfdff}.widget.type-goal .widget-body{display:flex;align-items:stretch;overflow:hidden}.goal-content{width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:18px 24px 14px;min-height:210px}.goal-heading{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:3px}.goal-metric{font-size:11px;font-weight:600;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.goal-state{display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:650;color:var(--primary);white-space:nowrap}.goal-content.achieved .goal-state{color:var(--green)}.goal-state .icon{width:13px;height:13px}.goal-gauge{position:relative;width:min(310px,92%);margin:2px auto -2px}.goal-gauge svg{display:block;width:100%;height:auto;overflow:visible}.goal-track,.goal-progress{fill:none;stroke-width:17;stroke-linecap:round}.goal-track{stroke:#eef2f7}.goal-progress{stroke:var(--primary);transition:stroke-dasharray .35s ease}.goal-content.achieved .goal-progress{stroke:var(--green)}.goal-value{position:absolute;left:50%;bottom:10px;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;line-height:1.05;white-space:nowrap}.goal-value strong{font-family:"Hanken Grotesk",Geist,sans-serif;font-size:31px;letter-spacing:-.04em;font-variant-numeric:tabular-nums}.goal-value span{margin-top:5px;font-size:10px;font-weight:600;color:var(--muted)}.goal-footer{width:min(360px,100%);display:flex;justify-content:space-between;gap:18px;border-top:1px solid #eef2f7;padding-top:10px;font-size:10px;color:var(--muted)}.goal-footer strong{color:var(--ink);font-variant-numeric:tabular-nums}.goal-comparison{margin-top:7px;min-height:17px}.goal-comparison .comparison-delta{font-size:10px}.widget.type-goal .widget-footer{margin-top:auto}
@media(max-width:767px){.widget.type-goal{min-height:320px}.goal-content{padding:15px 17px 12px}.goal-gauge{width:min(290px,94%)}.goal-value strong{font-size:27px}.goal-footer{gap:10px}}
@media print{.goal-content{min-height:180px;padding:10px}.goal-gauge{width:240px}.goal-value strong{font-size:24px}}

/* Single whole-period metric */
.single-metric-content{height:100%;min-height:130px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:24px;text-align:center;overflow-wrap:anywhere}
.single-metric-label{font-size:var(--widget-label-size,14px);font-weight:600;color:var(--muted)}
.single-metric-value{font-size:var(--widget-value-size,clamp(26px,3vw,52px));line-height:1.15;letter-spacing:-.035em;font-variant-numeric:tabular-nums;max-width:100%}
.single-metric-period{font-size:var(--widget-body-size,11px)}
.widget.type-single_metric .widget-footer{margin-top:auto}
@media print{.single-metric-value{font-size:var(--widget-value-size,32px)}}

/* Optional content-only widgets. Editor controls remain reachable. */
.widget.chrome-hidden > .widget-header,
.widget.chrome-hidden > .widget-tabs,
.widget.chrome-hidden > .widget-footer,
.widget.chrome-hidden > .data-warning{display:none!important}
.widget-chrome-tools{position:absolute;top:6px;right:6px;z-index:3;display:flex;gap:2px;background:var(--surface,#fff);border:1px solid var(--border);border-radius:6px;box-shadow:var(--shadow);opacity:0;pointer-events:none;transition:opacity .15s}
.widget.chrome-hidden:hover > .widget-chrome-tools,
.widget.chrome-hidden:focus-within > .widget-chrome-tools{opacity:1;pointer-events:auto}
.widget-chrome-tools .icon-btn{width:28px;height:28px}
@media(hover:none){.widget-chrome-tools{opacity:1;pointer-events:auto}}
@media print{.widget-chrome-tools{display:none!important}}

.metric-series-state{padding:10px 16px;font-size:11px;color:var(--muted)}
.metric-series-state details{margin-top:4px}.metric-series-state summary{cursor:pointer}.metric-series-state p{margin-top:4px}

.chart-responsive{position:relative;flex:1;min-width:0;min-height:180px;width:100%;height:100%;overflow:hidden}
.chart-responsive-mini{height:100%;min-height:0}
.chart-responsive > .data-chart{display:block;min-height:0;max-height:none;width:100%}
.chart-responsive .chart-tick{fill:#64748b;font:11px Arial,sans-serif}
.chart-responsive .chart-legend{padding-top:6px;min-height:24px}
@media print{.chart-responsive{height:240px;flex:none}}

/* Meta Ads native feed creative widget ------------------------------------ */
.widget.type-meta_ads_feed .widget-body{background:#f5f6f7;overflow:visible;align-items:stretch;flex:0 0 auto;min-height:0}
.meta-feed-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(500px,1fr));gap:18px;padding:18px;align-items:start;min-width:0}
.meta-feed-card{min-width:0;background:#fff;border:1px solid #dfe3e8;border-radius:10px;overflow:hidden;box-shadow:0 1px 2px rgba(15,23,42,.04)}
.meta-feed-card-head{display:flex;align-items:center;gap:10px;padding:11px 13px;border-bottom:1px solid #eef1f4;background:#fff}
.meta-feed-rank{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:28px;padding:0 8px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:11px;font-weight:700;font-variant-numeric:tabular-nums}
.meta-feed-ad-name{min-width:0;display:flex;flex-direction:column;gap:2px}.meta-feed-ad-name strong{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.meta-feed-ad-name span{font-size:9px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.meta-feed-preview-shell.native{position:relative;display:flex;justify-content:center;align-items:flex-start;overflow:hidden;background:#e4e6eb;padding:12px;border-bottom:1px solid #e8ebef}
.meta-native-ad{width:min(100%,500px);min-width:0;background:#fff;color:#050505;border-radius:8px;overflow:hidden;font-family:Arial,Helvetica,sans-serif;box-shadow:0 1px 2px rgba(0,0,0,.08)}
.meta-native-story-head{display:flex;align-items:center;gap:9px;padding:12px 12px 8px}.meta-native-avatar{width:40px;height:40px;border-radius:50%;background:#e4e6eb;display:flex;align-items:center;justify-content:center;overflow:hidden;font-size:12px;font-weight:700;color:#4b5563;flex:0 0 auto}.meta-native-avatar img{width:100%;height:100%;object-fit:cover}.meta-native-actor{min-width:0;display:flex;flex:1;flex-direction:column;line-height:1.2}.meta-native-actor strong{font-size:14px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.meta-native-actor span{font-size:12px;color:#65676b;margin-top:2px}.meta-native-more{color:#65676b;font-weight:700;letter-spacing:2px;align-self:flex-start;padding:4px 1px}
.meta-native-message{padding:0 12px 12px;font-size:14px;line-height:1.36;white-space:normal;overflow-wrap:anywhere}.meta-native-message-text{white-space:pre-wrap}.meta-native-message.clampable:not([data-expanded="true"]) .meta-native-message-text{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.meta-native-message-toggle{display:inline;border:0;background:transparent;padding:0;margin:2px 0 0;color:#65676b;font:inherit;font-weight:600;cursor:pointer}.meta-native-message-toggle:hover{text-decoration:underline}.meta-native-message-toggle:focus-visible{outline:2px solid #1877f2;outline-offset:2px;border-radius:2px}
.linkedin-native-preview{position:relative;width:min(100%,650px);height:580px;background:#fff;overflow:hidden;border-radius:8px}.linkedin-native-preview iframe{display:block;width:100%;height:100%;border:0;background:#fff}.linkedin-preview-open{position:absolute;right:10px;bottom:10px;z-index:2;padding:7px 10px;border-radius:7px;background:rgba(15,23,42,.82);color:#fff;text-decoration:none;font-size:10px;font-weight:700;box-shadow:0 1px 4px rgba(0,0,0,.2)}.linkedin-preview-open:hover{background:#0f172a}.linkedin-preview-link{display:block;width:100%;color:inherit;text-decoration:none}.linkedin-preview-fallback{min-height:220px}.linkedin-preview-link:hover .linkedin-preview-fallback{background:#f8fafc}
.meta-native-media{width:100%;background:#f0f2f5;display:flex;align-items:center;justify-content:center;overflow:hidden;min-height:180px}.meta-native-media img,.meta-native-media video{display:block;width:100%;height:auto;max-height:650px;object-fit:contain;background:#000}.meta-native-media.embed{aspect-ratio:16/9;min-height:0;background:#000}.meta-native-media.embed iframe{display:block;width:100%;height:100%;border:0;background:#000}.meta-native-media.missing{min-height:260px;flex-direction:column;gap:8px;color:#65676b;font-size:12px}.meta-native-media.missing .icon{width:26px;height:26px}.meta-native-media.poster-only{position:relative;color:#fff;text-decoration:none}.meta-native-media.video-link{cursor:pointer}.meta-native-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:54px;height:54px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.72);color:#fff;font-size:24px;padding-left:3px}.meta-native-video-open{position:absolute;left:50%;top:calc(50% + 40px);transform:translateX(-50%);padding:5px 9px;border-radius:6px;background:rgba(0,0,0,.72);color:#fff;font-size:11px;font-weight:700;white-space:nowrap}
.meta-native-link-panel{display:flex;align-items:center;gap:12px;padding:10px 12px;background:#f0f2f5;border-top:1px solid #e4e6eb;color:#050505;text-decoration:none}.meta-native-link-copy{min-width:0;display:flex;flex:1;flex-direction:column;gap:2px}.meta-native-domain{text-transform:uppercase;font-size:11px;color:#65676b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.meta-native-link-copy strong{font-size:15px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.meta-native-price{font-size:13px;font-weight:700;color:#050505;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.meta-native-description{font-size:12px;color:#65676b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.meta-native-cta{flex:0 0 auto;padding:8px 12px;border-radius:6px;background:#e4e6eb;color:#050505;font-size:12px;font-weight:700;white-space:nowrap}
.meta-native-carousel-wrap{position:relative;padding:0 0 12px;background:#fff}.meta-native-carousel{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;padding:0 12px 4px;overscroll-behavior-x:contain}.meta-native-carousel-card{flex:0 0 min(260px,72%);scroll-snap-align:start;border:1px solid #dddfe2;border-radius:8px;overflow:hidden;background:#fff;min-width:0}.meta-native-carousel-card .carousel-media{aspect-ratio:1/1;min-height:0;background:#f0f2f5}.meta-native-carousel-card .carousel-media img,.meta-native-carousel-card .carousel-media video{width:100%;height:100%;max-height:none;object-fit:cover}.meta-native-carousel-card .carousel-link{min-height:92px;border-top:1px solid #dddfe2}.meta-native-carousel-card .carousel-link .meta-native-link-copy strong{font-size:14px}.meta-native-carousel-card .carousel-link .meta-native-description{font-size:11px}.meta-native-carousel-card .carousel-link .meta-native-cta{padding:7px 9px;font-size:11px}.meta-carousel-nav{position:absolute;top:calc(50% - 26px);z-index:4;width:38px;height:38px;border:0;border-radius:50%;background:rgba(255,255,255,.94);box-shadow:0 1px 5px rgba(0,0,0,.28);color:#4b4f56;font-size:28px;line-height:1;cursor:pointer}.meta-carousel-nav.prev{left:5px}.meta-carousel-nav.next{right:5px}.meta-carousel-nav:hover{background:#fff}.meta-carousel-nav:focus-visible{outline:2px solid #1877f2;outline-offset:2px}
.meta-native-dynamic-note{padding:8px 12px;border-top:1px solid #e4e6eb;background:#fff8e6;color:#7c5a08;font-size:10px;line-height:1.4}
.meta-feed-preview-missing{width:min(100%,500px);min-height:360px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:28px;background:#fff;color:#64748b;text-align:center}.meta-feed-preview-missing .icon{width:24px;height:24px}.meta-feed-preview-missing strong{font-size:12px;color:#334155}.meta-feed-preview-missing span{font-size:10px;max-width:290px}
.meta-feed-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(105px,1fr));background:#fff}.meta-feed-metric{min-width:0;padding:10px 12px;border-right:1px solid #eef1f4;border-top:1px solid #eef1f4;display:flex;flex-direction:column;gap:3px}.meta-feed-metric span{font-size:9px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.meta-feed-metric strong{font-size:13px;font-weight:650;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.meta-feed-config{border-color:#dbeafe;background:#f8fbff}.widget.type-meta_ads_feed.chrome-hidden .meta-feed-grid{padding-top:12px}
@media(max-width:900px){.meta-feed-grid{grid-template-columns:1fr;padding:12px}.meta-feed-preview-shell.native{padding:8px}.meta-feed-card{min-width:0}.meta-native-carousel-card{flex-basis:min(245px,80%)}}
@media print{.widget.type-meta_ads_feed .widget-body{overflow:visible}.meta-feed-grid{grid-template-columns:1fr;gap:12px;padding:8px}.meta-feed-card{break-inside:avoid}.meta-feed-preview-shell{overflow:hidden}.meta-carousel-nav{display:none}.meta-native-carousel{overflow:visible;flex-wrap:wrap}.meta-native-carousel-card{flex:1 1 220px}.meta-native-ad{box-shadow:none;border:1px solid #dddfe2}.meta-native-media video{max-height:420px}}
/* Report branding --------------------------------------------------------- */
.report-surface{min-width:0}
.report-surface.branding-active{background:var(--report-canvas);color:var(--report-text);margin:-25px -26px -35px;padding:25px 26px 35px;min-height:calc(100vh - 64px)}
.report-surface.branding-active .report-banner,
.report-surface.branding-active .widget,
.report-surface.branding-active .add-zone{background:var(--report-surface);color:var(--report-text);border-color:color-mix(in srgb,var(--report-primary) 16%,#dfe5ec)}
.report-surface.branding-active .widget:hover{border-color:color-mix(in srgb,var(--report-primary) 34%,#cbd5e1)}
.report-surface.branding-active .banner-title h1,
.report-surface.branding-active .section-heading h2,
.report-surface.branding-active .widget-heading h3,
.report-surface.branding-active .data-table td,
.report-surface.branding-active .goal-value strong,
.report-surface.branding-active .single-metric-value,
.report-surface.branding-active .formula-result .value{color:var(--report-text)}
.report-surface.branding-active .banner-copy p,
.report-surface.branding-active .banner-meta small,
.report-surface.branding-active .widget-heading p,
.report-surface.branding-active .widget-footer,
.report-surface.branding-active .kpi-label,
.report-surface.branding-active .kpi-unit,
.report-surface.branding-active .spark-header,
.report-surface.branding-active .goal-metric,
.report-surface.branding-active .goal-footer,
.report-surface.branding-active .single-metric-label,
.report-surface.branding-active .chart-legend,
.report-surface.branding-active .donut-legend,
.report-surface.branding-active .report-bottom,
.report-surface.branding-active .muted{color:var(--report-muted)}
.report-surface.branding-active .client-monogram{background:color-mix(in srgb,var(--report-primary) 10%,var(--report-surface));border-color:color-mix(in srgb,var(--report-primary) 28%,var(--report-surface));color:var(--report-primary)}
.client-brand-logo{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:112px;height:64px;padding:8px 10px;border:1px solid var(--border);border-radius:10px;background:#fff;box-shadow:var(--shadow)}
.client-brand-logo img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.report-surface.branding-active .client-brand-logo{background:var(--report-logo-background,var(--report-surface));border:var(--report-logo-border-width,1px) solid var(--report-logo-border,#dfe5ec)}
.report-surface.branding-active .goal-progress{stroke:var(--report-primary)}
.report-surface.branding-active .goal-state,
.report-surface.branding-active .comparison-delta,
.report-surface.branding-active .comparison-delta-cell{color:var(--report-primary)}
.report-surface.branding-active .chart-tick{fill:var(--report-muted)}
.report-surface.branding-active .chart-grid{stroke:color-mix(in srgb,var(--report-muted) 25%,transparent)}
.report-surface.branding-active .widget-footer,
.report-surface.branding-active .data-table th,
.report-surface.branding-active .range-chip,
.report-surface.branding-active .kpi-tile,
.report-surface.branding-active .spark-panel{background:color-mix(in srgb,var(--report-canvas) 58%,var(--report-surface));border-color:color-mix(in srgb,var(--report-primary) 12%,#e2e8f0)}
.report-surface.branding-active .data-table th{color:var(--report-muted)}
.report-surface.branding-active .data-table td,
.report-surface.branding-active .widget-header,
.report-surface.branding-active .widget-tabs,
.report-surface.branding-active .widget-footer{border-color:color-mix(in srgb,var(--report-primary) 10%,#edf2f7)}
.report-surface.branding-active .round-plus{color:var(--report-primary);border-color:color-mix(in srgb,var(--report-primary) 30%,#cbd5e1);background:color-mix(in srgb,var(--report-primary) 8%,var(--report-surface))}
.report-surface.branding-active .cohort-table .cohort-label{background:var(--report-surface);color:var(--report-text)}
.report-surface.branding-active .meta-feed-rank{background:color-mix(in srgb,var(--report-primary) 10%,#fff);color:var(--report-primary)}

/* Branding editor */
.branding-logo-editor{display:grid;grid-template-columns:150px minmax(0,1fr) auto;align-items:center;gap:14px;padding:14px;border:1px solid var(--border);border-radius:9px;background:#f8fafc}
.branding-logo-current{display:flex;align-items:center;justify-content:center;width:150px;height:76px;padding:9px;border:1px dashed #cbd5e1;border-radius:8px;background:#fff;color:var(--primary);font-size:20px;font-weight:700}
.branding-logo-current img{max-width:100%;max-height:100%;object-fit:contain}.branding-file{min-width:0}.branding-logo-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.branding-option-block{display:flex;flex-direction:column;gap:10px;padding:12px;border:1px solid var(--border);border-radius:9px;background:#fff}.branding-header-options{display:flex;align-items:center;gap:22px;flex-wrap:wrap;padding:12px 0 2px}
.color-field{display:grid;grid-template-columns:46px minmax(0,1fr);gap:8px;align-items:center}.color-field input[type=color]{height:38px;min-height:38px;padding:3px}.color-field code{display:block;white-space:nowrap}
.branding-preview{display:grid;grid-template-columns:72px minmax(0,1fr) 150px;gap:14px;align-items:center;padding:16px;background:var(--report-canvas);border:1px solid color-mix(in srgb,var(--report-primary) 18%,#dfe5ec);border-radius:11px;color:var(--report-text);transition:opacity .15s}
.branding-preview.disabled{opacity:.48}.branding-preview-logo{height:52px;display:flex;align-items:center;justify-content:center;border-radius:8px;background:var(--report-logo-background,var(--report-surface));color:var(--report-primary);font-weight:700;border:var(--report-logo-border-width,1px) solid var(--report-logo-border,#dfe5ec);overflow:hidden}.branding-preview-logo img{max-width:100%;max-height:100%;object-fit:contain}.branding-preview-copy{min-width:0}.branding-preview-title-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.branding-preview-title-row [hidden]{display:none!important}.branding-preview-title-row .badge{font-size:8px}.branding-preview strong{font-size:13px}.branding-preview p{font-size:10px;color:var(--report-muted);margin-top:4px}.branding-preview-card{display:flex;flex-direction:column;gap:3px;padding:12px;background:var(--report-surface);border:1px solid color-mix(in srgb,var(--report-primary) 16%,#dfe5ec);border-radius:8px}.branding-preview-card span{font-size:9px;color:var(--report-muted)}.branding-preview-card b{font-size:21px;color:var(--report-primary);font-variant-numeric:tabular-nums}

/* Per-widget typography --------------------------------------------------- */
.widget.typo-title .widget-heading h3{font-size:var(--widget-title-size)!important}
.widget.typo-subtitle .widget-heading p{font-size:var(--widget-subtitle-size)!important}
.widget.typo-label .kpi-label,
.widget.typo-label .single-metric-label,
.widget.typo-label .goal-metric,
.widget.typo-label .goal-state,
.widget.typo-label .data-table th,
.widget.typo-label .meta-feed-metric span,
.widget.typo-label .google-product-info span,
.widget.typo-label .google-product-info small,
.widget.typo-label .google-product-metrics span,
.widget.typo-label .google-product-rank,
.widget.typo-label .formula-box .eyebrow,
.widget.typo-label .formula-result .small{font-size:var(--widget-label-size)!important}
.widget.typo-value .kpi-value,
.widget.typo-value .single-metric-value,
.widget.typo-value .goal-value strong,
.widget.typo-value .formula-result .value,
.widget.typo-value .formula-breakdown strong,
.widget.typo-value .meta-feed-metric strong,
.widget.typo-value .google-product-metrics b,
.widget.typo-value .donut-total,
.widget.typo-value .data-table td.numeric,
.widget.typo-value .cohort-cell{font-size:var(--widget-value-size)!important}
.widget.typo-body .single-metric-period,
.widget.typo-body .text-content,
.widget.typo-body .data-table td:not(.numeric),
.widget.typo-body .cohort-label,
.widget.typo-body .kpi-unit,
.widget.typo-body .kpi-hint,
.widget.typo-body .goal-footer,
.widget.typo-body .widget-footer,
.widget.typo-body .meta-feed-ad-name strong,
.widget.typo-body .google-product-info strong,
.widget.typo-body .meta-feed-ad-name span,
.widget.typo-body .meta-native-message,
.widget.typo-body .meta-native-actor,
.widget.typo-body .meta-native-link-panel,
.widget.typo-body .meta-native-dynamic-note,
.widget.typo-body .formula-breakdown,
.widget.typo-body .metric-series-state{font-size:var(--widget-body-size)!important}
.widget.typo-comparison .comparison-strip,
.widget.typo-comparison .comparison-caption,
.widget.typo-comparison .comparison-delta,
.widget.typo-comparison .comparison-delta small,
.widget.typo-comparison .goal-comparison,
.widget.typo-comparison .data-table th.comparison-column,
.widget.typo-comparison .data-table td.comparison-column,
.widget.typo-comparison .comparison-legend{font-size:var(--widget-comparison-size)!important}
.widget.typo-axis .chart-tick,
.widget.typo-axis .chart-responsive .chart-tick{font-size:var(--widget-axis-size)!important}
.widget.typo-axis .chart-legend,
.widget.typo-axis .donut-legend{font-size:var(--widget-axis-size)!important}

@media(max-width:767px){.report-surface.branding-active{margin:-16px;padding:16px;min-height:calc(100vh - 61px)}.client-brand-logo{width:88px;height:50px}.branding-logo-editor{grid-template-columns:1fr}.branding-logo-current{width:100%}.branding-logo-options{grid-template-columns:1fr}.branding-preview{grid-template-columns:56px 1fr}.branding-preview-card{grid-column:1/-1}}
@media print{.report-surface.branding-active{margin:0;padding:0;background:#fff;min-height:0}.client-brand-logo{box-shadow:none}}

.chart-trend-line{fill:none;stroke-width:2;stroke-dasharray:7 5;opacity:.78;pointer-events:none}.chart-target-line{stroke:var(--report-accent,#0284c7);stroke-width:2;stroke-dasharray:4 4;opacity:.9;pointer-events:none}.chart-target-label{fill:var(--report-accent,#0284c7);font:600 10px Geist,sans-serif}.trend-legend i{width:18px!important;height:0!important;border-top:2px dashed currentColor!important;background:transparent!important;border-radius:0!important}.target-legend i{width:18px!important;height:0!important;border-top:2px dashed var(--report-accent,#0284c7)!important;background:transparent!important;border-radius:0!important}.widget.typo-axis .chart-target-label{font-size:var(--widget-axis-size)!important}.chart-guides-config .check{margin-bottom:8px}

.meta-native-dynamic-note.warning{background:#fff4e5;color:#8a4b08;border-top:1px solid #f6d6a8}

/* Top products ------------------------------------------------------------ */
.widget.type-top_products .widget-body{display:block;overflow:auto;background:var(--report-surface,#fff)}
.top-products-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-bottom:1px solid var(--border,#e5e7eb)}
.top-products-summary>div{min-width:0;padding:15px 18px;display:flex;flex-direction:column;gap:2px}
.top-products-summary>div+div{border-left:1px solid var(--border,#e5e7eb)}
.top-products-summary span{font-size:var(--widget-label-size,10px);font-weight:650;color:var(--muted,#64748b);text-transform:uppercase;letter-spacing:.035em}
.top-products-summary strong{font-family:"Hanken Grotesk",Geist,sans-serif;font-size:var(--widget-value-size,25px);line-height:1.05;letter-spacing:-.035em;color:var(--report-text,var(--ink,#0f172a));font-variant-numeric:tabular-nums}
.top-products-summary small{font-size:var(--widget-body-size,9px);color:var(--report-muted,var(--muted,#64748b))}
.top-products-legend{display:flex;flex-wrap:wrap;gap:12px;padding:10px 18px 5px;font-size:var(--widget-label-size,9px);color:var(--report-muted,var(--muted,#64748b))}
.top-products-legend span{display:inline-flex;align-items:center;gap:5px}.top-products-legend i{width:15px;height:5px;border-radius:999px;background:var(--report-primary,var(--primary,#4f46e5))}.top-products-legend i.new{background:var(--report-accent,#0284c7)}
.top-products-list{padding:2px 18px 14px;display:flex;flex-direction:column}
.top-product-row{display:grid;grid-template-columns:26px minmax(120px,1.05fr) minmax(170px,1.7fr);gap:11px;align-items:center;padding:9px 0;border-bottom:1px solid color-mix(in srgb,var(--border,#e5e7eb) 72%,transparent)}
.top-product-row:last-child{border-bottom:0}.top-product-rank{width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:7px;background:color-mix(in srgb,var(--report-primary,var(--primary,#4f46e5)) 8%,#fff);color:var(--report-primary,var(--primary,#4f46e5));font-size:var(--widget-label-size,9px);font-weight:750;font-variant-numeric:tabular-nums}
.top-product-info{min-width:0;display:flex;flex-direction:column;gap:2px}.top-product-info strong{font-size:var(--widget-body-size,10px);font-weight:650;color:var(--report-text,var(--ink,#0f172a));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-product-info span{font-size:var(--widget-label-size,8px);color:var(--report-muted,var(--muted,#64748b));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.top-product-visual{min-width:0}.top-product-track{position:relative;height:10px;border-radius:999px;background:color-mix(in srgb,var(--report-canvas,#f8fafc) 82%,var(--border,#e5e7eb));overflow:hidden}.top-product-track>span{position:absolute;left:0;top:0;height:100%;border-radius:999px}.top-product-all{background:color-mix(in srgb,var(--report-primary,var(--primary,#4f46e5)) 72%,#fff)}.top-product-new{height:4px!important;top:3px!important;background:var(--report-accent,#0284c7)}
.top-product-values{display:flex;justify-content:space-between;gap:10px;margin-top:4px;font-size:var(--widget-label-size,8px);color:var(--report-muted,var(--muted,#64748b));font-variant-numeric:tabular-nums}.top-product-values span{min-width:0;white-space:nowrap}.top-product-values b{font-size:var(--widget-body-size,9px);color:var(--report-text,var(--ink,#0f172a));font-weight:700}
.top-products-config{border-color:#dbeafe;background:#fbfdff}
@media(max-width:720px){.top-product-row{grid-template-columns:26px minmax(0,1fr);gap:8px}.top-product-visual{grid-column:2}.top-products-summary>div{padding:12px}.top-products-list{padding-left:12px;padding-right:12px}.top-products-legend{padding-left:12px;padding-right:12px}}
@media print{.widget.type-top_products .widget-body{overflow:visible}.top-product-row{break-inside:avoid}}

/* Commerce product picker + filter reference -------------------------------- */
.product-exclusion-picker{margin-top:14px;padding-top:14px;border-top:1px solid var(--border,#e5e7eb)}
.product-exclusion-selected{display:flex;flex-wrap:wrap;gap:7px;margin:8px 0 10px;min-height:28px;align-items:center}
.product-exclusion-chip{appearance:none;border:1px solid color-mix(in srgb,var(--primary,#4f46e5) 25%,var(--border,#e5e7eb));background:color-mix(in srgb,var(--primary,#4f46e5) 7%,#fff);color:var(--ink,#0f172a);border-radius:999px;padding:6px 8px 6px 10px;display:inline-flex;align-items:center;gap:6px;font:600 11px Geist,sans-serif;cursor:pointer;max-width:100%}
.product-exclusion-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-exclusion-chip svg{width:13px;height:13px;flex:0 0 auto}
.product-picker-results{display:flex;flex-direction:column;border:1px solid var(--border,#e5e7eb);border-radius:10px;max-height:270px;overflow:auto;background:#fff}
.product-picker-result{appearance:none;border:0;border-bottom:1px solid color-mix(in srgb,var(--border,#e5e7eb) 75%,transparent);background:#fff;padding:9px 11px;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;cursor:pointer;color:var(--ink,#0f172a)}
.product-picker-result:last-child{border-bottom:0}.product-picker-result:hover{background:var(--surface-2,#f8fafc)}.product-picker-result>span:first-child{min-width:0;display:flex;flex-direction:column;gap:2px}.product-picker-result strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-picker-result small{font-size:10px;color:var(--muted,#64748b);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-picker-add{font-size:10px;font-weight:700;color:var(--primary,#4f46e5);white-space:nowrap}.product-picker-empty{padding:12px;margin:0}.product-picker-warning{margin-top:8px;color:#92400e}
.filter-reference{margin-top:14px;border-top:1px solid var(--border,#e5e7eb);padding-top:10px}.filter-reference summary{cursor:pointer;font-size:12px;font-weight:700;color:var(--ink,#0f172a);display:flex;align-items:center;justify-content:space-between;gap:10px}.filter-reference summary span{font-size:10px;font-weight:600;color:var(--muted,#64748b)}.filter-reference-body{padding-top:10px}.filter-reference-results{display:flex;flex-direction:column;border:1px solid var(--border,#e5e7eb);border-radius:10px;max-height:320px;overflow:auto;background:#fff}.filter-reference-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 10px;border-bottom:1px solid color-mix(in srgb,var(--border,#e5e7eb) 75%,transparent)}.filter-reference-row:last-child{border-bottom:0}.filter-reference-row>div{min-width:0;display:grid;grid-template-columns:minmax(120px,.8fr) minmax(180px,1.2fr);gap:2px 10px;align-items:center}.filter-reference-row strong{font-size:11px}.filter-reference-row code{font:10px ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--muted,#64748b);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.filter-reference-row small{grid-column:1/-1;font-size:9px;color:var(--muted,#64748b)}
@media(max-width:720px){.filter-reference-row{align-items:flex-start}.filter-reference-row>div{grid-template-columns:1fr}.filter-reference-row small{grid-column:auto}.product-picker-result{align-items:flex-start}.product-picker-add{padding-top:1px}}

/* LinkedIn professional demographics -------------------------------------- */
.widget.type-linkedin_demographics .widget-body{display:block;overflow:auto;background:var(--report-surface,#fff)}
.linkedin-demographic-summary{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;padding:12px 16px;border-bottom:1px solid var(--border,#e5e7eb);font-size:var(--widget-label-size,10px);color:var(--report-muted,var(--muted,#64748b))}
.linkedin-demographic-summary>span{font-weight:750;color:var(--report-text,var(--ink,#0f172a));text-transform:uppercase;letter-spacing:.035em}.linkedin-demographic-summary strong{font-size:var(--widget-body-size,10px);color:var(--report-primary,var(--primary,#4f46e5))}.linkedin-demographic-summary small{margin-left:auto;font-size:var(--widget-label-size,9px)}
.linkedin-demographic-list{padding:4px 16px 12px;display:flex;flex-direction:column}
.linkedin-demographic-row{display:grid;grid-template-columns:28px minmax(170px,1.6fr) minmax(250px,1fr);gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid color-mix(in srgb,var(--border,#e5e7eb) 72%,transparent)}
.linkedin-demographic-row:last-child{border-bottom:0}.linkedin-demographic-rank{width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:7px;background:color-mix(in srgb,var(--report-primary,var(--primary,#4f46e5)) 8%,#fff);color:var(--report-primary,var(--primary,#4f46e5));font-size:var(--widget-label-size,9px);font-weight:750;font-variant-numeric:tabular-nums}
.linkedin-demographic-main{min-width:0}.linkedin-demographic-main strong{display:block;font-size:var(--widget-body-size,11px);font-weight:650;color:var(--report-text,var(--ink,#0f172a));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.linkedin-demographic-track{height:7px;margin-top:6px;border-radius:999px;background:color-mix(in srgb,var(--report-canvas,#f8fafc) 80%,var(--border,#e5e7eb));overflow:hidden}.linkedin-demographic-track span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,var(--report-primary,var(--primary,#4f46e5)),var(--report-accent,#0284c7))}
.linkedin-demographic-values{display:grid;grid-template-columns:repeat(3,minmax(70px,1fr));gap:8px}.linkedin-demographic-values span{min-width:0;display:flex;flex-direction:column;align-items:flex-end}.linkedin-demographic-values small{font-size:var(--widget-label-size,8px);color:var(--report-muted,var(--muted,#64748b));white-space:nowrap}.linkedin-demographic-values b{font-size:var(--widget-body-size,10px);color:var(--report-text,var(--ink,#0f172a));font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
.linkedin-demographics-config{border-color:#cfe8f7;background:#fbfdff}.linkedin-campaign-picker{margin-top:10px;padding:9px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;border:1px solid var(--border,#e5e7eb);border-radius:10px;max-height:260px;overflow:auto;background:#fff}.linkedin-campaign-picker .check{margin:0;min-width:0}.linkedin-campaign-picker .check span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:820px){.linkedin-demographic-row{grid-template-columns:28px minmax(0,1fr)}.linkedin-demographic-values{grid-column:2;grid-template-columns:repeat(3,1fr)}.linkedin-demographic-values span{align-items:flex-start}.linkedin-demographic-summary small{margin-left:0;width:100%}.linkedin-campaign-picker{grid-template-columns:1fr}}
@media print{.widget.type-linkedin_demographics .widget-body{overflow:visible}.linkedin-demographic-row{break-inside:avoid}}

/* PDF layout studio ------------------------------------------------------- */
.modal.pdf-full{width:min(1580px,calc(100vw - 24px));height:calc(100dvh - 24px);max-height:none}.modal.pdf-full .modal-body{padding:0;background:#eef2f6;overflow:hidden}.modal.pdf-full .modal-footer{background:#fff;z-index:3}.pdf-studio{height:100%;min-height:0;display:grid;grid-template-columns:292px minmax(0,1fr)}.pdf-studio-sidebar{overflow:auto;padding:16px;background:#fff;border-right:1px solid var(--border);scrollbar-width:thin}.pdf-settings-group{padding:0 0 16px;margin:0 0 16px;border-bottom:1px solid #eef2f7;display:flex;flex-direction:column;gap:9px}.pdf-settings-group:last-child{border-bottom:0}.pdf-settings-group h3{font-size:12px}.pdf-settings-group .field>span{font-size:9px}.pdf-settings-group .field input,.pdf-settings-group .field select,.pdf-settings-group .field textarea{font-size:10px;padding:7px 8px;min-height:31px}.pdf-settings-group .check{font-size:10px;margin:0}.pdf-group-heading{display:flex;align-items:center;gap:8px}.pdf-group-heading span{margin-left:auto;font-size:9px;color:var(--muted);background:#f1f5f9;padding:2px 6px;border-radius:999px}.pdf-unplaced{display:flex;flex-direction:column;gap:6px}.pdf-unplaced-widget{border:1px solid var(--border);border-radius:8px;background:#fff;padding:8px;display:grid;grid-template-columns:30px minmax(0,1fr) 16px;gap:8px;align-items:center;text-align:left}.pdf-unplaced-widget:hover{background:#f8fafc;border-color:#c7d2fe}.pdf-unplaced-widget .source-icon{width:30px;height:30px}.pdf-unplaced-widget>span:nth-child(2){min-width:0}.pdf-unplaced-widget strong,.pdf-unplaced-widget small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pdf-unplaced-widget strong{font-size:10px}.pdf-unplaced-widget small{font-size:8px;color:var(--muted);margin-top:2px}.pdf-unplaced-widget>.icon{width:14px;height:14px;color:var(--primary)}.pdf-sidebar-actions{display:flex;flex-direction:column;gap:7px}.pdf-canvas-scroll{min-width:0;overflow:auto;padding:18px 24px 60px;scrollbar-width:thin}.pdf-canvas-toolbar{position:sticky;top:-18px;z-index:10;margin:-18px -24px 18px;padding:11px 20px;background:rgba(255,255,255,.95);border-bottom:1px solid var(--border);display:flex;align-items:center;gap:12px;backdrop-filter:blur(8px)}.pdf-canvas-toolbar>div{display:flex;flex-direction:column}.pdf-canvas-toolbar strong{font-size:11px}.pdf-canvas-toolbar span{font-size:9px;color:var(--muted)}.pdf-layout-state{padding:4px 8px;border-radius:999px;background:#ecfdf5;color:#047857!important;font-weight:650}.pdf-layout-state.dirty{background:#fff7ed;color:#c2410c!important}.pdf-page-shell{margin:0 auto 28px;display:flex;flex-direction:column;align-items:center;min-width:max-content}.pdf-page-label{width:var(--pdf-shell-width,1123px);max-width:none;display:flex;align-items:center;gap:8px;margin-bottom:7px;color:#475569;flex-wrap:wrap}.pdf-page-label strong{font-size:10px}.pdf-page-label span{font-size:9px;color:var(--muted)}.pdf-page-label input{width:260px;max-width:36vw;padding:5px 8px;border:1px solid var(--border);border-radius:6px;background:#fff;font-size:9px}.pdf-page{position:relative;width:var(--pdf-page-width,1123px);height:var(--pdf-page-height,794px);background:#fff;color:var(--report-text,var(--ink));box-shadow:0 10px 34px rgba(15,23,42,.15);overflow:hidden;flex:none;-webkit-print-color-adjust:exact;print-color-adjust:exact}.pdf-page-inner{position:absolute;inset:0;padding:var(--pdf-margin,38px);display:flex;flex-direction:column;gap:3mm}.pdf-report-header{height:11mm;flex:0 0 11mm;display:flex;align-items:center;gap:3mm;border-bottom:1px solid color-mix(in srgb,var(--report-primary,var(--primary)) 16%,#dfe5ec);padding-bottom:2mm}.pdf-brand-logo{display:flex;align-items:center;justify-content:center;background:var(--report-surface,#fff);overflow:hidden}.pdf-brand-logo img{max-width:100%;max-height:100%;object-fit:contain}.pdf-brand-logo.small{width:24mm;height:8mm;justify-content:flex-start}.pdf-brand-logo.cover{width:46mm;height:20mm;justify-content:flex-start;margin-bottom:18mm}.pdf-brand-monogram{display:flex;align-items:center;justify-content:center;background:color-mix(in srgb,var(--report-primary,var(--primary)) 10%,#fff);border:1px solid color-mix(in srgb,var(--report-primary,var(--primary)) 22%,#fff);color:var(--report-primary,var(--primary));font-weight:750}.pdf-brand-monogram.small{width:9mm;height:8mm;border-radius:2mm;font-size:9pt}.pdf-brand-monogram.cover{width:20mm;height:20mm;border-radius:4mm;font-size:18pt;margin-bottom:18mm}.pdf-report-header-copy{min-width:0;display:flex;flex-direction:column}.pdf-report-header-copy strong{font-size:9pt;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pdf-report-header-copy span{font-size:7.5pt;color:var(--report-muted,var(--muted));margin-top:1mm}.pdf-period{margin-left:auto;font-size:7.5pt;color:var(--report-muted,var(--muted));white-space:nowrap}.pdf-page-heading{font-size:12pt;font-weight:700;padding-bottom:2mm;border-bottom:1px solid var(--border)}.pdf-report-footer{height:7mm;flex:0 0 7mm;display:flex;align-items:flex-end;justify-content:space-between;gap:8mm;border-top:1px solid color-mix(in srgb,var(--report-primary,var(--primary)) 12%,#e2e8f0);padding-top:2mm;font-size:6.5pt;color:var(--report-muted,var(--muted))}.pdf-page-grid{min-height:0;flex:1;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-auto-flow:row dense;grid-auto-rows:max-content;gap:var(--pdf-gap,19px);align-content:start;overflow:hidden}.pdf-empty-page{grid-column:1/-1;min-height:45mm;border:1px dashed #cbd5e1;border-radius:3mm;display:grid;place-items:center;color:#94a3b8;font-size:9pt}.pdf-item{position:relative;min-width:0;min-height:0}.pdf-height-compact{height:38mm}.pdf-height-medium{height:61mm}.pdf-height-large{height:91mm}.pdf-height-auto{min-height:54mm;height:auto}.pdf-widget-frame{height:100%;min-height:0}.pdf-height-auto .pdf-widget-frame{height:auto}.pdf-render-widget{grid-column:auto!important;grid-row:auto!important;width:100%;height:100%!important;min-height:0!important;border-radius:2.4mm;box-shadow:none!important;transition:none!important}.pdf-height-auto .pdf-render-widget{height:auto!important;min-height:54mm!important}.pdf-render-widget .widget-actions,.pdf-render-widget .widget-resize,.pdf-render-widget .widget-chrome-tools{display:none!important}.pdf-render-widget .widget-body{min-height:0}.pdf-render-widget .chart-responsive{height:100%;min-height:28mm}.pdf-render-widget .chart-container{padding:3mm;min-height:0}.pdf-render-widget .data-chart{min-height:0;max-height:none}.pdf-render-widget .data-table{font-size:7pt}.pdf-render-widget .data-table th{font-size:6.5pt;padding:2mm;position:static}.pdf-render-widget .data-table td{padding:2mm;font-size:7pt}.pdf-render-widget .widget-header{min-height:12mm;padding:2.5mm 3mm}.pdf-render-widget .widget-heading h3{font-size:8.5pt}.pdf-render-widget .widget-heading p{font-size:6.5pt}.pdf-render-widget .widget-footer{min-height:7mm;padding:1.5mm 3mm;font-size:6pt}.pdf-render-widget .source-icon{width:8mm;height:8mm}.pdf-render-widget.pdf-chrome-compact .widget-header{min-height:9mm;padding:2mm 3mm}.pdf-render-widget.pdf-chrome-compact .widget-header .source-icon,.pdf-render-widget.pdf-chrome-compact .widget-heading p,.pdf-render-widget.pdf-chrome-compact .widget-footer,.pdf-render-widget.pdf-chrome-compact .widget-tabs,.pdf-render-widget.pdf-chrome-compact>.data-warning{display:none!important}.pdf-render-widget.pdf-chrome-clean>.widget-header,.pdf-render-widget.pdf-chrome-clean>.widget-tabs,.pdf-render-widget.pdf-chrome-clean>.widget-footer,.pdf-render-widget.pdf-chrome-clean>.data-warning{display:none!important}.pdf-render-widget.pdf-chrome-clean{border-color:transparent;background:transparent}.pdf-render-widget.pdf-chrome-clean>.widget-body{background:transparent}.pdf-item-toolbar{position:absolute;z-index:8;top:2mm;right:2mm;left:2mm;height:8mm;padding:1mm 1.5mm;display:flex;align-items:center;gap:1mm;border:1px solid #cbd5e1;border-radius:2mm;background:rgba(255,255,255,.96);box-shadow:0 2px 8px rgba(15,23,42,.12);opacity:0;transition:opacity .12s}.pdf-item:hover>.pdf-item-toolbar,.pdf-item:focus-within>.pdf-item-toolbar{opacity:1}.pdf-item-toolbar strong{font-size:7pt;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pdf-item-toolbar .icon-btn{width:6mm;height:6mm}.pdf-item-toolbar select{width:21mm;min-height:6mm;padding:.5mm 1mm;font-size:6.5pt;border:1px solid var(--border);border-radius:1mm}.pdf-drag{width:6mm;height:6mm;border:0;background:transparent;color:#64748b;display:grid;place-items:center;cursor:grab}.pdf-drag .icon{width:4mm;height:4mm}.pdf-width-buttons{display:flex;border:1px solid #dbe3ed;border-radius:1.2mm;overflow:hidden}.pdf-width-buttons button{border:0;border-right:1px solid #dbe3ed;background:#fff;min-width:6mm;height:5.5mm;padding:0 1mm;font-size:6pt}.pdf-width-buttons button:last-child{border-right:0}.pdf-width-buttons button.active{background:#eef2ff;color:#4338ca;font-weight:750}.pdf-item.dragging{opacity:.35}.pdf-item.pdf-drag-over,.pdf-page-grid.pdf-drag-over{outline:2px dashed #6366f1;outline-offset:2px}.pdf-editor-page.pdf-overflow{outline:3px solid #e11d48;outline-offset:4px}.pdf-editor-page.pdf-overflow:after{content:'Siden har for meget indhold';position:absolute;right:4mm;bottom:3mm;z-index:20;padding:1.5mm 2.5mm;border-radius:999px;background:#be123c;color:#fff;font-size:7pt;font-weight:700}.pdf-cover{background:var(--report-canvas,#f8fafc)}.pdf-cover-accent{position:absolute;inset:0 auto 0 0;width:8mm;background:var(--report-primary,var(--primary))}.pdf-cover-inner{position:absolute;inset:0;padding:var(--pdf-margin,38px) calc(var(--pdf-margin,38px) + 8mm);display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.pdf-cover-kicker{font-size:9pt;font-weight:750;text-transform:uppercase;letter-spacing:.09em;color:var(--report-primary,var(--primary));margin-bottom:4mm}.pdf-cover h1{font-size:30pt;line-height:1.05;max-width:78%;color:var(--report-text,var(--ink))}.pdf-cover p{font-size:11pt;line-height:1.65;color:var(--report-muted,var(--muted));max-width:72%;margin-top:6mm}.pdf-cover-period{display:flex;align-items:center;gap:2.5mm;margin-top:10mm;padding:3mm 4mm;border-radius:2mm;background:var(--report-surface,#fff);border:1px solid color-mix(in srgb,var(--report-primary,var(--primary)) 16%,#e2e8f0);font-size:9pt;font-weight:650;color:var(--report-text,var(--ink))}.pdf-cover-period .icon{width:4mm;height:4mm;color:var(--report-primary,var(--primary))}.pdf-cover-meta{position:absolute;left:calc(var(--pdf-margin,38px) + 8mm);right:var(--pdf-margin,38px);bottom:var(--pdf-margin,38px);display:flex;justify-content:space-between;font-size:7pt;color:var(--report-muted,var(--muted));border-top:1px solid color-mix(in srgb,var(--report-primary,var(--primary)) 14%,#e2e8f0);padding-top:3mm}.pdf-print-root{display:none}.pdf-measuring{display:block!important;position:fixed!important;left:-200vw!important;top:0!important;visibility:hidden!important;z-index:-1!important}.pdf-measuring .pdf-page{margin:0}.pdf-page-shell .pdf-page{margin:0 auto}
@media(max-width:980px){.modal.pdf-full{width:calc(100vw - 12px);height:calc(100dvh - 12px)}.pdf-studio{grid-template-columns:240px minmax(0,1fr)}.pdf-canvas-scroll{padding-left:14px;padding-right:14px}.pdf-canvas-toolbar{margin-left:-14px;margin-right:-14px}.pdf-page-label input{width:180px}}


/* Integrated report / PDF builder ---------------------------------------- */
.report-view-toggle{display:flex;align-items:center;gap:2px;padding:2px;border:1px solid var(--border);border-radius:7px;background:#f1f5f9;box-shadow:var(--shadow)}
.report-view-toggle button{height:30px;display:flex;align-items:center;gap:5px;border:0;border-radius:5px;padding:0 9px;background:transparent;color:var(--muted);font-size:11px;font-weight:600}
.report-view-toggle button .icon{width:13px;height:13px}
.report-view-toggle button.active{background:#fff;color:var(--primary);box-shadow:0 1px 3px rgba(15,23,42,.09)}
.pdf-builder-surface{min-height:calc(100vh - 115px)}
.pdf-report-banner{margin-bottom:16px}
.pdf-builder{min-width:0}
.pdf-inline-settings{margin-bottom:16px;padding:16px 18px;background:#fff;border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow)}
.pdf-inline-settings-heading{display:flex;align-items:flex-start;gap:12px;margin-bottom:14px}
.pdf-inline-settings-heading h2{font-size:14px}
.pdf-inline-settings-heading p{font-size:10px;color:var(--muted);margin-top:3px}
.pdf-inline-settings-heading .btn{margin-left:auto}
.pdf-inline-settings-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.pdf-inline-settings-grid .pdf-settings-group{margin:0;padding:0 18px 0 0;border:0;border-right:1px solid #eef2f7}
.pdf-inline-settings-grid .pdf-settings-group:last-child{padding-right:0;border-right:0}
.pdf-widget-tray{display:flex;align-items:center;gap:14px;margin-bottom:16px;padding:12px 14px;background:#fff;border:1px solid var(--border);border-radius:10px;box-shadow:var(--shadow);overflow:hidden}
.pdf-widget-tray-heading{min-width:210px;max-width:260px}
.pdf-widget-tray-heading>div{display:flex;align-items:center;gap:7px}
.pdf-widget-tray-heading strong{font-size:10px}
.pdf-widget-tray-heading span{font-size:9px;color:var(--primary);background:#eef2ff;padding:2px 6px;border-radius:999px}
.pdf-widget-tray-heading small{display:block;font-size:9px;color:var(--muted);margin-top:3px}
.pdf-widget-tray-items{display:flex;gap:7px;overflow:auto;padding-bottom:2px;scrollbar-width:thin}
.pdf-widget-tray .pdf-unplaced-widget{min-width:210px;max-width:260px;padding:7px}
.pdf-builder>.pdf-canvas-toolbar{position:sticky;top:64px;z-index:16;margin:0 0 14px;padding:10px 14px;border:1px solid var(--border);border-radius:9px;background:rgba(255,255,255,.96);box-shadow:var(--shadow);backdrop-filter:blur(8px)}
.pdf-builder>.pdf-canvas-scroll{overflow:auto;padding:18px 18px 36px;background:#e9eef4;border:1px solid #dbe3ed;border-radius:12px;scrollbar-width:thin}
.pdf-builder .pdf-page-shell{margin-bottom:28px}
.pdf-page-label [data-action="pdf-page-up"] .icon{transform:rotate(180deg)}.pdf-page-label .btn{flex:0 0 auto}.pdf-size-grid input[readonly]{background:#f8fafc;color:#64748b}
.pdf-add-zone{width:min(100%,1122px);margin:8px auto 0;background:rgba(255,255,255,.94)}
.pdf-item>.pdf-resize-handle{position:absolute;right:1.6mm;bottom:1.6mm;z-index:9;width:7mm;height:7mm;border:0;border-radius:1.5mm;background:rgba(255,255,255,.94);box-shadow:0 1px 5px rgba(15,23,42,.16);opacity:0;cursor:nwse-resize;touch-action:none}
.pdf-item>.pdf-resize-handle:after{content:'';position:absolute;right:1.5mm;bottom:1.5mm;width:3mm;height:3mm;border-right:1.2px solid #64748b;border-bottom:1.2px solid #64748b}
.pdf-item:hover>.pdf-resize-handle,.pdf-item>.pdf-resize-handle:focus{opacity:1}
.pdf-item-toolbar .icon-btn{flex:0 0 auto}
@media(max-width:1180px){.pdf-inline-settings-grid{grid-template-columns:1fr 1fr}.pdf-inline-settings-grid .pdf-settings-group{border-right:0;border-bottom:1px solid #eef2f7;padding:0 0 14px}.pdf-widget-tray{align-items:flex-start;flex-direction:column}.pdf-widget-tray-heading{max-width:none}.pdf-widget-tray-items{width:100%}}
@media(max-width:760px){.report-view-toggle button span{display:none}.pdf-inline-settings-grid{grid-template-columns:1fr}.pdf-builder>.pdf-canvas-scroll{padding-left:8px;padding-right:8px}.pdf-widget-tray .pdf-unplaced-widget{min-width:180px}}

@media print{
  body.pdf-printing{margin:0!important;background:#fff!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  body.pdf-printing #app,body.pdf-printing #modal-root,body.pdf-printing #toast-root,body.pdf-printing #auth-boot{display:none!important}
  body.pdf-printing #pdf-print-root{display:block!important;position:static!important;visibility:visible!important}
  body.pdf-printing .pdf-document{display:block!important}
  body.pdf-printing .pdf-page{box-shadow:none!important;margin:0!important;break-after:page;page-break-after:always;overflow:hidden!important}
  body.pdf-printing .pdf-page:last-child{break-after:auto;page-break-after:auto}
  body.pdf-printing .pdf-page{width:var(--pdf-page-width)!important;height:var(--pdf-page-height)!important}
  body.pdf-printing .pdf-render-widget{break-inside:avoid;page-break-inside:avoid;height:100%!important;min-height:0!important;overflow:hidden!important}
  body.pdf-printing .pdf-height-auto .pdf-render-widget{height:auto!important;min-height:54mm!important}
  body.pdf-printing .pdf-render-widget .widget-body{overflow:hidden!important}
  body.pdf-printing .pdf-render-widget.type-table .widget-body,body.pdf-printing .pdf-render-widget .table-wrap{overflow:hidden!important;max-height:none!important}
  body.pdf-printing .pdf-render-widget .chart-container{height:auto!important}
  body.pdf-printing .pdf-render-widget .chart-responsive{height:100%!important}
  body.pdf-printing .pdf-item-toolbar{display:none!important}
}

/* v29.3: PDF builder uses the same grid/drag/resize model as the report builder. */
.pdf-page-grid{grid-auto-rows:32px;grid-auto-flow:row dense;align-content:start}
.pdf-page-grid>.pdf-render-widget{grid-column:span var(--width,6)!important;grid-row:span var(--height,8)!important;width:auto!important;height:auto!important;min-height:0!important;align-self:stretch}
.pdf-editor-page .pdf-render-widget .widget-actions{display:flex!important}
.pdf-editor-page .pdf-render-widget .widget-resize{display:block!important}
.pdf-editor-page .pdf-render-widget .widget-chrome-tools{display:flex!important}
.pdf-print-widget .widget-actions,.pdf-print-widget .widget-resize,.pdf-print-widget .widget-chrome-tools{display:none!important}
.pdf-editor-page .pdf-render-widget{box-shadow:var(--shadow)!important;transition:border-color .15s,box-shadow .15s!important}
.pdf-editor-page .pdf-render-widget:hover{border-color:#c7d2fe;box-shadow:0 8px 28px rgba(15,23,42,.10)!important}
.pdf-editor-page .pdf-render-widget.dragging{opacity:.35}
.pdf-editor-page .pdf-render-widget.pdf-drag-over,.pdf-editor-page .pdf-page-grid.pdf-drag-over{outline:2px dashed #6366f1;outline-offset:2px}
.pdf-item-toolbar,.pdf-resize-handle,.pdf-width-buttons{display:none!important}
.pdf-only-badge{white-space:nowrap}

/* v29.4: PDF-aware visualization layout and compact ad feeds. */
.pdf-render-widget.type-meta_ads_feed,.pdf-render-widget.type-linkedin_ads_feed{container-type:inline-size}
.pdf-render-widget.type-meta_ads_feed .meta-feed-grid,.pdf-render-widget.type-linkedin_ads_feed .meta-feed-grid{grid-template-columns:1fr;gap:3mm;padding:3mm;align-items:start}
@container (min-width:560px){
  .pdf-render-widget.type-meta_ads_feed .meta-feed-grid,.pdf-render-widget.type-linkedin_ads_feed .meta-feed-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
.pdf-render-widget.type-meta_ads_feed .meta-feed-card,.pdf-render-widget.type-linkedin_ads_feed .meta-feed-card{min-width:0;border-radius:2mm;box-shadow:none}
.pdf-render-widget.type-meta_ads_feed .meta-feed-card-head,.pdf-render-widget.type-linkedin_ads_feed .meta-feed-card-head{padding:1.8mm 2.2mm;min-height:10mm;gap:2mm}
.pdf-render-widget.type-meta_ads_feed .meta-feed-ad-name strong,.pdf-render-widget.type-linkedin_ads_feed .meta-feed-ad-name strong{font-size:var(--widget-body-size,8.5pt);line-height:1.2}
.pdf-render-widget.type-meta_ads_feed .meta-feed-ad-name span,.pdf-render-widget.type-linkedin_ads_feed .meta-feed-ad-name span{font-size:var(--widget-label-size,6pt);line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pdf-render-widget.type-meta_ads_feed .meta-feed-rank,.pdf-render-widget.type-linkedin_ads_feed .meta-feed-rank{width:6mm;height:6mm;font-size:6.5pt;border-radius:1.5mm}
.pdf-render-widget.type-meta_ads_feed .meta-feed-preview-shell.native,.pdf-render-widget.type-linkedin_ads_feed .meta-feed-preview-shell.native{padding:1.5mm;min-height:0;overflow:hidden}
.pdf-render-widget.type-linkedin_ads_feed .linkedin-native-preview{width:100%;max-width:none;height:125px;border-radius:1.5mm}
.pdf-render-widget.type-linkedin_ads_feed .linkedin-preview-open{right:1.5mm;bottom:1.5mm;padding:1mm 1.6mm;border-radius:1mm;font-size:5.5pt}
.pdf-render-widget.type-meta_ads_feed .meta-native-ad,.pdf-render-widget.type-linkedin_ads_feed .meta-native-ad{width:100%;max-width:none;border-radius:1.5mm;box-shadow:none}
.pdf-render-widget.type-meta_ads_feed .meta-native-media img,.pdf-render-widget.type-meta_ads_feed .meta-native-media video,.pdf-render-widget.type-linkedin_ads_feed .meta-native-media img,.pdf-render-widget.type-linkedin_ads_feed .meta-native-media video{max-height:125px;object-fit:contain}
.pdf-render-widget.type-meta_ads_feed .meta-feed-metrics,.pdf-render-widget.type-linkedin_ads_feed .meta-feed-metrics{grid-template-columns:repeat(auto-fit,minmax(58px,1fr))}
.pdf-render-widget.type-meta_ads_feed .meta-feed-metric,.pdf-render-widget.type-linkedin_ads_feed .meta-feed-metric{padding:1.3mm 1.5mm;gap:.5mm}
.pdf-render-widget.type-meta_ads_feed .meta-feed-metric span,.pdf-render-widget.type-linkedin_ads_feed .meta-feed-metric span{font-size:var(--widget-label-size,5.5pt)}
.pdf-render-widget.type-meta_ads_feed .meta-feed-metric strong,.pdf-render-widget.type-linkedin_ads_feed .meta-feed-metric strong{font-size:var(--widget-value-size,8pt)}
.pdf-render-widget .donut-view{min-width:0;max-width:100%;overflow:hidden}
.pdf-render-widget .kpi-grid,.pdf-render-widget .linkedin-demographic-values,.pdf-render-widget .top-products-list{min-width:0}
.pdf-render-widget .table-wrap{max-width:100%}
.typography-surface-box+.typography-surface-box{margin-top:10px}

/* Klaviyo list growth */
.klaviyo-list-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:12px}
.klaviyo-list-summary>div{border:1px solid var(--border,#e2e8f0);border-radius:10px;padding:10px 12px;min-width:0}
.klaviyo-list-summary span{display:block;font-size:12px;color:var(--muted,#64748b);margin-bottom:4px}
.klaviyo-list-summary strong{display:block;font-size:20px;line-height:1.15}
.klaviyo-list-chart-label{font-size:12px;font-weight:600;color:var(--muted,#64748b);margin:0 0 4px}
@media(max-width:700px){.klaviyo-list-summary{grid-template-columns:1fr}}
.filter-group-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.widget-filter-group{margin:0;background:#fff}.widget-filter-group .widget-filter-rows{margin:8px 0}.widget-filter-config>#widget-filter-groups{gap:10px}

/* Guided widget builder */
.widget-builder-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:14px 16px;margin-bottom:14px;border:1px solid var(--border,#dbe2ea);border-radius:12px;background:var(--surface-subtle,#f8fafc)}
.widget-builder-intro>div:first-child{display:flex;flex-direction:column;gap:3px}.widget-builder-intro strong{font-size:14px}.widget-builder-intro span{font-size:12px;color:var(--muted,#64748b)}
.widget-builder-progress{display:flex!important;flex-direction:row!important;align-items:center;gap:6px;flex:0 0 auto}.widget-builder-progress span{width:24px;height:24px;border-radius:999px;border:1px solid var(--border,#cbd5e1);display:grid!important;place-items:center;color:var(--muted,#64748b);font-size:11px;font-weight:700;background:var(--surface,#fff)}.widget-builder-progress span.active{background:var(--primary,#4f46e5);border-color:var(--primary,#4f46e5);color:#fff}.widget-builder-progress i{width:18px;height:1px;background:var(--border,#cbd5e1)}
.widget-builder-step{border:1px solid var(--border,#dbe2ea);border-radius:14px;margin-bottom:14px;overflow:hidden;background:var(--surface,#fff)}
.widget-builder-step.is-primary{border-color:color-mix(in srgb,var(--primary,#4f46e5) 35%,var(--border,#dbe2ea))}
.widget-builder-step-head{display:flex;gap:12px;align-items:flex-start;padding:15px 17px 11px;border-bottom:1px solid var(--border,#e2e8f0);background:var(--surface-subtle,#fbfcfe)}
.widget-builder-step-number{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;background:var(--primary,#4f46e5);color:#fff;font-size:12px;font-weight:800;flex:0 0 auto}
.widget-builder-step-head h3{margin:0 0 3px;font-size:14px}.widget-builder-step-head p{margin:0;color:var(--muted,#64748b);font-size:12px;line-height:1.4}.widget-builder-step-body{padding:16px 17px}.widget-builder-step-body>.field:first-child{margin-top:0}
.widget-builder-advanced{border:1px solid var(--border,#dbe2ea);border-radius:14px;background:var(--surface,#fff);overflow:hidden;margin-top:14px}.widget-builder-advanced>summary{display:flex;align-items:center;gap:10px;padding:14px 16px;cursor:pointer;list-style:none;background:var(--surface-subtle,#f8fafc)}.widget-builder-advanced>summary::-webkit-details-marker{display:none}.widget-builder-advanced>summary>span:nth-child(2){display:flex;flex-direction:column;gap:2px;flex:1}.widget-builder-advanced>summary strong{font-size:13px}.widget-builder-advanced>summary small{font-size:11px;color:var(--muted,#64748b)}.widget-builder-chevron{font-size:18px!important;color:var(--muted,#64748b)!important;transition:transform .15s ease}.widget-builder-advanced[open] .widget-builder-chevron{transform:rotate(180deg)}.widget-builder-advanced-body{padding:16px 17px;border-top:1px solid var(--border,#e2e8f0)}
.widget-builder-step-body .formula-box{margin-top:12px}.widget-builder-step-body .form-divider:first-child{margin-top:0}
@media(max-width:760px){.widget-builder-intro{align-items:flex-start}.widget-builder-progress{display:none!important}.widget-builder-step-head{padding:13px}.widget-builder-step-body,.widget-builder-advanced-body{padding:13px}.widget-builder-step-body .form-grid.three{grid-template-columns:1fr}}
.widget-field-picker{border:1px solid var(--border,#dbe2ea);border-radius:12px;margin:12px 0;background:var(--surface,#fff);overflow:hidden}.widget-field-picker>summary{display:flex;align-items:center;gap:12px;justify-content:space-between;list-style:none;cursor:pointer;padding:12px 14px;background:var(--surface-subtle,#f8fafc)}.widget-field-picker>summary::-webkit-details-marker{display:none}.widget-field-picker>summary>span:first-child{display:flex;flex-direction:column;gap:2px}.widget-field-picker>summary strong{font-size:12px}.widget-field-picker>summary small{font-size:10px;color:var(--muted,#64748b)}.widget-field-picker[open] .widget-builder-chevron{transform:rotate(180deg)}.widget-field-picker-body{padding:12px 14px}.widget-field-search{display:flex;flex-direction:column;gap:5px;margin-bottom:10px}.widget-field-search span{font-size:11px;font-weight:650;color:var(--muted,#64748b)}.widget-field-search input{width:100%}.widget-field-grid{max-height:270px;overflow:auto;padding-right:4px}.widget-field-grid [hidden]{display:none!important}.widget-field-section+.widget-field-section{margin-top:14px;padding-top:12px;border-top:1px solid var(--border,#e2e8f0)}.widget-field-section>.eyebrow{margin-bottom:7px}.google-search-config .widget-field-section .widget-field-grid{max-height:190px}

/* Visual widget picker */
.visualization-picker{margin-top:14px}.visualization-picker-head{display:flex;flex-direction:column;gap:3px;margin-bottom:10px}.visualization-picker-head strong{font-size:12px}.visualization-picker-head span{font-size:11px;color:var(--muted,#64748b)}
.visualization-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.visualization-card{position:relative;display:grid;grid-template-columns:42px minmax(0,1fr) 22px;align-items:center;gap:11px;width:100%;min-height:82px;padding:12px;border:1px solid var(--border,#dbe2ea);border-radius:12px;background:var(--surface,#fff);color:var(--text,#0f172a);text-align:left;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease,transform .15s ease}.visualization-card:hover{border-color:color-mix(in srgb,var(--primary,#4f46e5) 45%,var(--border,#dbe2ea));box-shadow:0 5px 16px rgba(15,23,42,.07);transform:translateY(-1px)}.visualization-card:focus-visible{outline:3px solid color-mix(in srgb,var(--primary,#4f46e5) 25%,transparent);outline-offset:2px}.visualization-card.is-selected{border-color:var(--primary,#4f46e5);background:color-mix(in srgb,var(--primary,#4f46e5) 6%,var(--surface,#fff));box-shadow:0 0 0 1px color-mix(in srgb,var(--primary,#4f46e5) 30%,transparent)}
.visualization-card-icon{width:42px;height:42px;border-radius:10px;display:grid;place-items:center;background:var(--surface-subtle,#f8fafc);color:var(--muted,#64748b)}.visualization-card-icon svg{width:20px;height:20px}.visualization-card.is-selected .visualization-card-icon{background:color-mix(in srgb,var(--primary,#4f46e5) 12%,#fff);color:var(--primary,#4f46e5)}.visualization-card-copy{display:flex;flex-direction:column;gap:4px;min-width:0}.visualization-card-copy strong{font-size:12px;line-height:1.2}.visualization-card-copy small{font-size:10px;line-height:1.35;color:var(--muted,#64748b)}.visualization-card-check{width:20px;height:20px;border-radius:999px;display:grid;place-items:center;font-size:11px;font-weight:800;color:transparent;border:1px solid var(--border,#cbd5e1)}.visualization-card.is-selected .visualization-card-check{background:var(--primary,#4f46e5);border-color:var(--primary,#4f46e5);color:#fff}.visualization-native-select{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;overflow:hidden!important}.visualization-card-grid:has(.visualization-card:nth-child(n+7)){max-height:360px;overflow:auto;padding-right:4px}
@media(max-width:760px){.visualization-card-grid{grid-template-columns:1fr}.visualization-card-grid:has(.visualization-card:nth-child(n+7)){max-height:none;overflow:visible}}


/* Report grid ordering --------------------------------------------------- */
.report-section{position:relative;margin:0 0 22px}.section-layout-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 10px;padding:8px 10px;border:1px solid var(--border);border-radius:9px;background:#f8fafc}.section-layout-copy{display:flex;align-items:center;gap:9px;min-width:0}.section-layout-copy strong{font-size:11px;font-weight:550;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.section-layout-kicker{font-size:9px;font-weight:650;letter-spacing:.06em;text-transform:uppercase;color:#6366f1;background:#eef2ff;border-radius:999px;padding:4px 7px;white-space:nowrap}.section-layout-actions{display:flex;align-items:center;gap:4px;flex-shrink:0}.section-layout-actions .icon-btn{width:30px;height:30px;background:#fff;border:1px solid var(--border)}.section-layout-actions .icon-btn:hover:not(:disabled){border-color:#a5b4fc;color:#4f46e5;background:#eef2ff}.section-layout-actions .icon-btn:disabled{opacity:.32;cursor:not-allowed}.section-layout-actions .icon{width:14px;height:14px}@media(max-width:767px){.section-layout-bar{padding:7px 8px}.section-layout-copy strong{max-width:150px}.section-layout-actions .icon-btn{width:28px;height:28px}}@media print{.section-layout-bar{display:none!important}.report-section{margin-bottom:16px}}

/* Nested report grids ----------------------------------------------------- */
.section-nested-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:20px;margin-bottom:20px;align-items:start}
.nested-grid-cell{grid-column:span var(--cell-span,12);min-width:0;border-radius:12px;position:relative}
.nested-report-grid{margin-bottom:0;min-height:110px}
.nested-grid-label{display:inline-flex;align-items:center;margin:0 0 7px;padding:4px 7px;border-radius:999px;background:#eef2ff;color:#4f46e5;font-size:9px;font-weight:650;letter-spacing:.03em}
.nested-grid-empty{grid-column:1/-1;grid-row:span 3;min-height:84px;border:1px dashed #cbd5e1;border-radius:10px;background:#f8fafc;color:#94a3b8;display:flex;align-items:center;justify-content:center;font-size:10px}
.section-config-row{align-items:flex-start}.section-config-row>.form-grid{flex:1}
@media(max-width:1050px){.section-nested-grid{gap:15px}}
@media(max-width:767px){.section-nested-grid{display:flex;flex-direction:column;gap:16px}.nested-grid-cell{width:100%}.nested-grid-label{margin-bottom:5px}.nested-report-grid{min-height:0}}
@media print{.section-nested-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:14px;margin-bottom:16px}.nested-grid-cell{grid-column:span var(--cell-span,12)}.nested-grid-label,.nested-grid-empty{display:none!important}.nested-report-grid{margin-bottom:0}}

/* v30.0: PDF pages can use the same nested 12-column grid presets as report sections. */
.pdf-page-content{min-height:0;flex:1;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:var(--pdf-gap,19px);align-items:stretch;overflow:hidden}
.pdf-nested-cell{grid-column:span var(--pdf-cell-span,12);min-width:0;min-height:0;display:flex;flex-direction:column;position:relative;overflow:hidden}
.pdf-nested-cell>.pdf-page-grid{flex:1;min-height:0;margin:0}
.pdf-grid-cell-label{flex:0 0 auto;align-self:flex-start;margin:0 0 1.5mm;padding:1mm 1.7mm;border-radius:999px;background:#eef2ff;color:#4f46e5;font-size:6.5pt;font-weight:700;line-height:1}
.pdf-empty-cell{grid-column:1/-1;grid-row:span 3;min-height:24mm;border:1px dashed #cbd5e1;border-radius:2mm;display:grid;place-items:center;color:#94a3b8;font-size:7pt;background:#f8fafc}
.pdf-grid-preset-control{display:flex;align-items:center;gap:5px;font-size:9px;color:var(--muted)}
.pdf-grid-preset-control>span{font-size:9px;color:var(--muted)}
.pdf-grid-preset-control select{min-height:28px;padding:4px 26px 4px 7px;border:1px solid var(--border);border-radius:6px;background:#fff;font-size:9px;color:#334155}
@media print{.pdf-grid-cell-label,.pdf-empty-cell{display:none!important}.pdf-page-content{overflow:hidden!important}}

/* v33: richer widget variants, content widgets and styling controls ---------- */
/* Single metric */
.widget.type-single_metric{background:var(--single-bg,#fff)}
.widget.type-single_metric>.widget-header,.widget.type-single_metric>.widget-body,.widget.type-single_metric>.widget-footer{background:transparent}
.widget.type-single_metric .comparison-positive{color:var(--comparison-positive,#16a34a)!important}
.widget.type-single_metric .comparison-negative{color:var(--comparison-negative,#dc2626)!important}

/* Table styling */
.table-wrap .data-table th{background:var(--table-header-bg,#f8fafc);color:var(--table-header-text,#64748b)}
.table-wrap .data-table th.dimension-column,.table-wrap .data-table td.dimension-column{background:var(--table-dimension-bg,#fff);color:var(--table-dimension-text,#0f172a)}
.table-wrap.table-zebra .data-table tbody tr:nth-child(odd) td:not(.dimension-column){background:var(--table-row-odd,#fff)}
.table-wrap.table-zebra .data-table tbody tr:nth-child(even) td:not(.dimension-column){background:var(--table-row-even,#f8fafc)}
.table-wrap.table-zebra .data-table tbody tr:hover td{filter:brightness(.985)}

/* Horizontal ranked/progress bars */
.rank-progress-list{display:flex;flex-direction:column;gap:13px;padding:18px 20px;overflow:auto;min-height:0}
.rank-progress-row{display:flex;flex-direction:column;gap:6px;min-width:0}
.rank-progress-head{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;line-height:1.3}
.rank-progress-head>span{display:flex;align-items:center;gap:7px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--report-muted,var(--muted))}
.rank-progress-head strong{font-size:12px;color:var(--report-text,var(--ink));font-variant-numeric:tabular-nums;white-space:nowrap}
.rank-dot{display:inline-block;width:8px;height:8px;border-radius:2px;flex:0 0 auto;background:var(--report-chart-1,#4f46e5)}
.rank-dot-0,.rank-fill-0{background:var(--report-chart-1,#2563eb)}.rank-dot-1,.rank-fill-1{background:var(--report-chart-2,#0891b2)}.rank-dot-2,.rank-fill-2{background:var(--report-chart-3,#f4511e)}.rank-dot-3,.rank-fill-3{background:var(--report-chart-4,#7c3aed)}.rank-dot-4,.rank-fill-4{background:var(--report-chart-5,#16a34a)}
.rank-progress-track{height:8px;border-radius:999px;background:color-mix(in srgb,var(--report-muted,#64748b) 12%,#fff);overflow:hidden}
.rank-progress-fill{height:100%;display:block;border-radius:inherit;min-width:3px;transition:width .2s ease}

/* Donut summary */
.donut-summary{display:grid;grid-template-columns:minmax(150px,.9fr) minmax(180px,1.1fr);align-items:center;gap:18px;height:100%;padding:16px 20px;min-height:0}
.donut-summary-chart{min-width:0;display:grid;place-items:center}.donut-summary-chart svg{width:min(100%,230px);height:auto;overflow:visible}
.donut-summary-chart .donut-total{fill:var(--report-text,var(--ink));font:700 14px Geist,sans-serif}
.donut-summary-legend{display:flex;flex-direction:column;gap:9px;min-width:0}
.donut-summary-legend>div{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px;align-items:center;font-size:10px}
.donut-summary-legend span{display:flex;align-items:center;gap:7px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--report-muted,var(--muted))}
.donut-summary-legend b{font-size:10px;color:var(--report-text,var(--ink));font-variant-numeric:tabular-nums}.donut-summary-legend em{font-size:9px;font-style:normal;color:var(--report-muted,var(--muted));font-variant-numeric:tabular-nums;white-space:nowrap}
@media(max-width:620px){.donut-summary{grid-template-columns:1fr}.donut-summary-chart svg{width:min(72%,220px)}}

/* Goal tracking bar */
.goal-track-card{height:100%;display:flex;flex-direction:column;justify-content:center;gap:18px;padding:22px 24px;background:var(--report-surface,#fff)}
.goal-track-title{font-size:13px;color:var(--report-muted,var(--muted))}.goal-track-title strong{font-size:18px;color:var(--report-text,var(--ink));font-variant-numeric:tabular-nums}
.goal-track-line{position:relative;height:19px;border-radius:999px;background:color-mix(in srgb,var(--report-muted,#64748b) 12%,#fff);border:1px solid color-mix(in srgb,var(--report-muted,#64748b) 12%,transparent);overflow:visible;padding:3px}
.goal-track-fill{height:100%;border-radius:999px;background:linear-gradient(90deg,var(--report-primary,#4f46e5),color-mix(in srgb,var(--report-primary,#4f46e5) 75%,#1d4ed8));max-width:100%}
.goal-target-marker{position:absolute;top:1px;bottom:1px;right:3px;width:2px;background:#fff;border-radius:2px;box-shadow:0 0 0 1px rgba(15,23,42,.18)}
.goal-track-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--report-muted,var(--muted));font-size:12px}.goal-track-bottom>span:first-child strong{font-size:18px;color:var(--report-primary,#4f46e5);font-variant-numeric:tabular-nums}
.goal-track-status{display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border-radius:999px;background:#f8fafc;border:1px solid var(--border);color:#334155;font-weight:600}.goal-track-status .icon{width:15px;height:15px}.goal-track-card.achieved .goal-track-status{background:#ecfdf5;border-color:#bbf7d0;color:#15803d}
.goal-track-card .goal-comparison{margin-top:-7px}

/* Rich text and notes */
.text-note{margin:auto;width:100%;background:var(--note-bg,#fff);color:var(--note-text,#0f172a);border:1px solid var(--note-border,#e2e8f0);border-radius:var(--note-radius,12px);padding:var(--note-padding,20px);font-size:var(--note-font,14px);line-height:var(--note-line,1.6);overflow:auto}
.text-note h4{margin:0 0 10px;font-size:1.14em;line-height:1.35;color:inherit}.text-note-body{overflow-wrap:anywhere}.text-note-body p{margin:0 0 .75em}.text-note-body p:last-child{margin-bottom:0}.text-note-body ul{margin:.45em 0 .2em;padding-left:1.3em}.text-note-body li+li{margin-top:.2em}
.text-note-callout{border-left:5px solid var(--note-accent,#4f46e5)}
.text-note-quote{border:0;border-left:4px solid var(--note-accent,#4f46e5);border-radius:0;background:color-mix(in srgb,var(--note-accent,#4f46e5) 6%,var(--note-bg,#fff));font-style:italic}
.text-note-highlight{background:color-mix(in srgb,var(--note-accent,#4f46e5) 9%,var(--note-bg,#fff));border-color:color-mix(in srgb,var(--note-accent,#4f46e5) 28%,var(--note-border,#e2e8f0))}

/* Image widget */
.image-widget{margin:0;height:100%;display:flex;flex-direction:column;gap:8px;padding:var(--image-padding,12px);border-radius:var(--image-radius,12px);background:var(--image-bg,#fff);overflow:hidden}
.image-widget-media{flex:1;min-height:0;display:flex;align-items:stretch;justify-content:stretch;overflow:hidden;border-radius:calc(var(--image-radius,12px) * .7)}.image-widget-media>a{display:flex;width:100%;height:100%}.image-widget-media img{display:block;width:100%;height:100%;min-height:0;opacity:var(--image-opacity,1)}.image-widget figcaption{font-size:10px;line-height:1.4;color:var(--report-muted,var(--muted));text-align:center}
.widget-image-preview{margin-top:10px;min-height:90px;max-height:210px;border:1px dashed var(--border);border-radius:10px;background:#f8fafc;display:grid;place-items:center;overflow:hidden}.widget-image-preview img{width:100%;height:100%;max-height:210px;object-fit:contain}.widget-image-preview:empty:before{content:'Forhåndsvisning';font-size:10px;color:var(--muted)}

/* Report section/grid styling */
.styled-report-section{margin-top:var(--section-margin-top,0px)!important;margin-bottom:var(--section-margin-bottom,22px)!important;padding:var(--section-padding,0px);background:var(--section-bg,transparent);border:var(--section-border-width,0px) solid var(--section-border,transparent);border-radius:var(--section-radius,12px);box-shadow:var(--section-shadow,none);overflow:hidden}
.styled-report-section>.section-nested-grid,.styled-report-section>.report-grid{gap:var(--section-gap,20px);margin-bottom:0}
.styled-report-section>.section-heading{margin-top:0}
.section-config-main{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;flex:1}.section-style-details{border:1px solid var(--border);border-radius:10px;background:#fff;overflow:hidden}.section-style-details>summary{cursor:pointer;padding:10px 12px;font-size:11px;font-weight:600;background:#f8fafc;list-style:none}.section-style-details>summary::-webkit-details-marker{display:none}.section-style-body{padding:12px;border-top:1px solid var(--border)}

/* PDF compaction for new visuals */
.pdf-render-widget .rank-progress-list{padding:3mm;gap:2mm}.pdf-render-widget .rank-progress-head{font-size:6.5pt}.pdf-render-widget .rank-progress-head strong{font-size:7pt}.pdf-render-widget .rank-progress-track{height:2mm}
.pdf-render-widget .donut-summary{padding:3mm;gap:3mm;grid-template-columns:minmax(28mm,.9fr) minmax(34mm,1.1fr)}.pdf-render-widget .donut-summary-legend>div{gap:2mm;font-size:6.5pt}.pdf-render-widget .donut-summary-legend b{font-size:6.5pt}.pdf-render-widget .donut-summary-legend em{font-size:6pt}
.pdf-render-widget .goal-track-card{padding:4mm;gap:3mm}.pdf-render-widget .goal-track-title{font-size:7pt}.pdf-render-widget .goal-track-title strong,.pdf-render-widget .goal-track-bottom>span:first-child strong{font-size:10pt}.pdf-render-widget .goal-track-bottom{font-size:7pt}.pdf-render-widget .goal-track-status{padding:1.5mm 2.2mm;font-size:6.5pt}
.pdf-render-widget .text-note{padding:var(--note-padding,12px);font-size:var(--widget-body-size,8pt)}
@media print{.styled-report-section{break-inside:avoid;-webkit-print-color-adjust:exact;print-color-adjust:exact}.rank-progress-fill,.goal-track-fill,.text-note,.image-widget,.data-table th,.data-table td{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
.image-config-preview{margin-top:10px;min-height:90px;max-height:210px;border:1px dashed var(--border);border-radius:10px;background:#f8fafc;display:grid;place-items:center;overflow:hidden}.image-config-preview img{width:100%;height:100%;max-height:210px;object-fit:contain}

/* UX polish: switches, upload controls and transparent colors */
.switch-control{display:inline-flex!important;align-items:center!important;gap:9px!important;cursor:pointer;user-select:none;width:max-content;max-width:100%}.switch-control>input{position:absolute;opacity:0;pointer-events:none}.switch-ui{width:34px;height:19px;border-radius:999px;background:#cbd5e1;position:relative;flex:0 0 34px;transition:.16s ease}.switch-ui:after{content:"";position:absolute;width:15px;height:15px;left:2px;top:2px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0f172a33;transition:.16s ease}.switch-control>input:checked+.switch-ui{background:var(--primary)}.switch-control>input:checked+.switch-ui:after{transform:translateX(15px)}.switch-control>input:focus-visible+.switch-ui{outline:2px solid var(--primary);outline-offset:2px}.switch-label{font-size:12px;color:#334155}
.upload-field{display:flex;flex-direction:column;gap:6px}.upload-field>span{font-size:12px;font-weight:500}.upload-control{display:flex;align-items:center;gap:10px;padding:10px;border:1px dashed #cbd5e1;background:#f8fafc;border-radius:9px}.visually-hidden-file{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.upload-button{background:#fff;color:#4338ca;border-color:#c7d2fe;box-shadow:none}.upload-button:hover{background:#eef2ff;border-color:#a5b4fc}.upload-hint{font-size:11px;color:var(--muted)}
.color-option{display:grid;grid-template-columns:minmax(72px,1fr) minmax(105px,1.2fr);gap:7px;align-items:center}.color-option input[type=color]{min-height:38px}.color-option input[type=color]:disabled{opacity:.35;cursor:not-allowed}.color-option select{min-width:0}.color-option-field{min-width:0}
.text-note{border-width:var(--note-border-width,1px)}

.text-note.no-content-border{border:0!important}.text-note.no-content-border.text-note-callout,.text-note.no-content-border.text-note-quote{border-left:0!important}
.checkbox-grid .catalog-choice,.checkbox-grid .metric-choice{border:1px solid transparent;border-radius:7px;padding:7px 8px;transition:.12s ease;cursor:pointer}.checkbox-grid .catalog-choice:hover,.checkbox-grid .metric-choice:hover{background:#f8fafc;border-color:#e2e8f0}.checkbox-grid .catalog-choice:has(input:checked),.checkbox-grid .metric-choice:has(input:checked){background:#eef2ff;border-color:#c7d2fe;color:#3730a3}

/* Widget transparency + table totals */
.widget[style*="background:transparent"]{box-shadow:none}
.data-table tfoot td{position:sticky;bottom:0;z-index:1;background:var(--table-totals-bg,#f8fafc);color:var(--table-totals-text,#0f172a);font-weight:700;border-top:1px solid var(--border);border-bottom:0}
.data-table tfoot td.dimension-column{background:var(--table-totals-bg,#f8fafc);color:var(--table-totals-text,#0f172a)}

/* Advanced widget settings: grouped, calmer hierarchy */
.widget-builder-advanced-body{padding:18px;background:#f8fafc;display:flex;flex-direction:column;gap:14px}
.advanced-overview{padding:0 2px 2px}.advanced-overview p{margin:0;color:var(--muted);font-size:11px;line-height:1.65}
.advanced-panel{border:1px solid var(--border);border-radius:12px;background:#fff;overflow:hidden;box-shadow:0 1px 2px rgba(15,23,42,.025)}
.advanced-panel>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 16px;cursor:pointer;transition:background .15s ease}
.advanced-panel>summary::-webkit-details-marker{display:none}.advanced-panel>summary:hover{background:#fafbff}
.advanced-panel>summary>span:first-child{display:flex;flex-direction:column;gap:3px;min-width:0}.advanced-panel>summary strong{font-size:12px;color:var(--ink);font-weight:650}.advanced-panel>summary small{font-size:10px;color:var(--muted);font-weight:400;line-height:1.45}
.advanced-panel[open]>summary{background:#fafbff;border-bottom:1px solid #eef2f7}.advanced-panel[open]>summary .widget-builder-chevron{transform:rotate(180deg)}
.advanced-panel-body{padding:18px;display:flex;flex-direction:column;gap:18px}
.advanced-panel-body>.formula-box{margin:0;background:#fbfcfe;border-color:#e7ebf1;border-radius:10px;padding:15px}
.advanced-panel-body>.formula-box+.formula-box{margin-top:0}
.advanced-block{display:flex;flex-direction:column;gap:14px;padding:15px;border:1px solid #edf0f4;border-radius:10px;background:#fbfcfe}.advanced-block.compact{padding:14px}.advanced-block+.advanced-block{margin-top:2px}
.advanced-block-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:11px;border-bottom:1px solid #edf0f4}.advanced-block-head strong{font-size:11px;font-weight:650;color:var(--ink)}.advanced-block-head span{font-size:10px;color:var(--muted);text-align:right;line-height:1.45}
.advanced-spacious-grid{gap:16px 18px}.advanced-toggle-row{display:flex;align-items:center;gap:22px;flex-wrap:wrap;padding:2px 0}.advanced-toggle-row.single{padding:0 0 2px}.advanced-toggle-row .check{margin:0}
.advanced-subcard{padding:15px;border:1px solid #edf0f4;border-radius:10px;background:#fbfcfe;display:flex;flex-direction:column;gap:13px}.advanced-subcard+.advanced-subcard{margin-top:0}.advanced-subcard-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:10px;border-bottom:1px solid #edf0f4}.advanced-subcard-head strong{font-size:11px;font-weight:650}.advanced-subcard-head span{font-size:10px;color:var(--muted);line-height:1.45;max-width:70%;text-align:right}
.advanced-panel .field>span{margin-bottom:6px}.advanced-panel input,.advanced-panel select{min-height:38px}.advanced-panel .form-note{margin-top:1px}.advanced-panel .metric-alias-config .form-grid{gap:16px}.advanced-panel .metric-alias-config small{margin-top:5px}
@media(max-width:760px){.widget-builder-advanced-body{padding:12px;gap:10px}.advanced-panel>summary{padding:13px 14px}.advanced-panel-body{padding:14px;gap:14px}.advanced-panel-body .form-grid,.advanced-panel-body .form-grid.two,.advanced-panel-body .form-grid.three,.advanced-panel-body .form-grid.four{grid-template-columns:1fr}.advanced-block-head,.advanced-subcard-head{flex-direction:column;gap:4px}.advanced-block-head span,.advanced-subcard-head span{text-align:left;max-width:none}.advanced-toggle-row{align-items:flex-start;flex-direction:column;gap:10px}}

/* Report duplication: source mapping wizard */
.duplicate-mapping-head{margin:26px 0 12px;padding-top:22px;border-top:1px solid var(--border,#e2e8f0)}
.duplicate-mapping-head h3{margin:0 0 5px;font-size:16px}
.duplicate-mapping-head p{margin:0;color:var(--muted,#64748b);font-size:13px;line-height:1.55}
.duplicate-source-list{display:grid;gap:12px}
.duplicate-source-row{display:grid;grid-template-columns:minmax(220px,1fr) 36px minmax(260px,1.15fr);gap:14px;align-items:center;padding:14px 16px;border:1px solid var(--border,#e2e8f0);border-radius:14px;background:#fff}
.duplicate-source-from{display:flex;align-items:center;gap:12px;min-width:0}
.duplicate-source-from>div{min-width:0;display:grid;gap:3px}
.duplicate-source-from strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.duplicate-source-from small{color:var(--muted,#64748b);font-size:12px}
.duplicate-source-arrow{display:grid;place-items:center;color:#94a3b8}
.duplicate-source-row .field{margin:0}
@media(max-width:760px){.duplicate-source-row{grid-template-columns:1fr}.duplicate-source-arrow{transform:rotate(90deg)}}

@media(max-width:900px){.variable-filter-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:10px;border:1px solid var(--border);border-radius:8px;background:#fff}.variable-filter-row input[name="variableFilterField"],.variable-filter-row input[name="variableFilterValue"]{grid-column:1/-1}.variable-filter-row .icon-btn{justify-self:end}.widget-filter-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.widget-filter-row input[name="widgetFilterField"],.widget-filter-row input[name="widgetFilterValue"]{grid-column:1/-1}.widget-filter-row .icon-btn{justify-self:end}}

/* Google Ads PMax / Shopping products */
.google-products-list{display:flex;flex-direction:column;gap:10px;width:100%}.google-product-row{display:grid;grid-template-columns:42px minmax(190px,1.2fr) minmax(360px,2fr);gap:14px;align-items:center;padding:12px 14px;border:1px solid var(--border);border-radius:12px;background:#fff}.google-product-rank{font-size:var(--widget-label-size,11px);font-weight:750;font-variant-numeric:tabular-nums;color:var(--muted)}.google-product-info{min-width:0;display:flex;flex-direction:column;gap:3px}.google-product-info strong{font-size:var(--widget-body-size,12px);white-space:normal;overflow-wrap:anywhere;word-break:break-word}.google-product-info span,.google-product-info small{font-size:var(--widget-label-size,11px);color:var(--muted);white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;word-break:break-word;line-height:1.35}.google-product-metrics{display:grid;grid-template-columns:repeat(6,minmax(72px,1fr));gap:6px}.google-product-metrics>div{display:flex;flex-direction:column;gap:2px;padding:7px 8px;border-radius:8px;background:var(--google-product-metric-bg,#f8fafc);min-width:0}.google-product-metrics span{font-size:var(--widget-label-size,9px);color:var(--google-product-metric-label,var(--muted));white-space:normal;overflow-wrap:anywhere}.google-product-metrics b{font-size:var(--widget-value-size,12px);color:var(--google-product-metric-value,var(--ink));white-space:normal;overflow-wrap:anywhere}.google-product-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:14px;padding:2px}.google-product-card{display:flex;flex-direction:column;min-width:0;border:1px solid var(--border,#e2e8f0);border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 8px 18px rgba(15,23,42,.04)}.google-product-card-media{position:relative;aspect-ratio:4/3;background:linear-gradient(180deg,#f8fafc 0%,#eef2f7 100%);display:flex;align-items:center;justify-content:center;overflow:hidden}.google-product-card-media img{width:100%;height:100%;object-fit:cover;display:block}.google-product-card-rank{position:absolute;top:10px;left:10px;display:inline-flex;align-items:center;justify-content:center;min-width:32px;height:32px;padding:0 10px;border-radius:999px;background:#0f172a;color:#fff;font-size:11px;font-weight:700;box-shadow:0 6px 14px rgba(15,23,42,.18)}.google-product-card-fallback{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#475569;text-align:center;padding:18px}.google-product-card-fallback span{display:grid;place-items:center;width:58px;height:58px;border-radius:18px;background:#fff;color:#334155;font-size:22px;font-weight:800;box-shadow:0 6px 18px rgba(15,23,42,.08)}.google-product-card-fallback small{font-size:var(--widget-label-size,10px);color:#64748b}.google-product-card-body{display:flex;flex-direction:column;gap:12px;padding:14px}.google-product-card-meta{display:flex;flex-direction:column;gap:6px;min-width:0}.google-product-card-meta small{font-size:var(--widget-label-size,10px);color:var(--muted,#64748b);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.google-product-card-chip{display:inline-flex;align-self:flex-start;padding:4px 8px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:var(--widget-label-size,9px);font-weight:700}.google-product-card-copy{display:flex;flex-direction:column;gap:4px;min-width:0}.google-product-card-copy strong{font-size:var(--widget-body-size,12px);line-height:1.35;overflow-wrap:anywhere}.google-product-card-copy span{font-size:var(--widget-label-size,10px);line-height:1.4;color:var(--muted,#64748b);overflow-wrap:anywhere}.google-product-card-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.google-product-card-metric{display:flex;flex-direction:column;gap:3px;padding:9px 10px;border-radius:10px;background:var(--google-product-metric-bg,#f8fafc);min-width:0}.google-product-card-metric span{font-size:var(--widget-label-size,9px);line-height:1.25;color:var(--google-product-metric-label,var(--muted));overflow-wrap:anywhere}.google-product-card-metric b{font-size:var(--widget-value-size,13px);line-height:1.25;color:var(--google-product-metric-value,var(--ink));overflow-wrap:anywhere}.google-products-config{border-color:#dbeafe;background:#f8fbff}@media(max-width:900px){.google-product-row{grid-template-columns:34px minmax(0,1fr)}.google-product-metrics{grid-column:1/-1;grid-template-columns:repeat(3,1fr)}}@media(max-width:640px){.google-product-card-grid{grid-template-columns:1fr}.google-product-card-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* Google Display Ads visual feed */
.google-display-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px;padding:14px}
.google-display-card{min-width:0;border:1px solid var(--border,#e5e7eb);border-radius:12px;overflow:hidden;background:var(--report-surface,#fff);display:flex;flex-direction:column}
.google-display-head{display:flex;align-items:center;gap:9px;padding:11px 12px;border-bottom:1px solid var(--border,#e5e7eb)}
.google-display-head>div{min-width:0;display:flex;flex-direction:column}.google-display-head strong{font-size:var(--widget-body-size,11px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.google-display-head span:not(.meta-feed-rank){font-size:var(--widget-label-size,8px);color:var(--report-muted,var(--muted,#64748b));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.google-display-preview{background:#f8fafc;min-height:230px;display:flex;flex-direction:column}.google-display-preview>img{display:block;width:100%;aspect-ratio:1.91/1;object-fit:cover;background:#eef2f7}.google-display-missing{aspect-ratio:1.91/1;display:flex;align-items:center;justify-content:center;gap:8px;color:#64748b;font-size:10px;padding:18px;text-align:center}
.google-display-copy{display:flex;gap:10px;align-items:flex-start;padding:12px;background:#fff;border-top:1px solid #eef2f7}.google-display-logo{width:34px;height:34px;object-fit:contain;border-radius:6px;border:1px solid #e5e7eb}.google-display-copy>div{min-width:0;display:flex;flex-direction:column;gap:3px}.google-display-copy small{font-size:8px;color:#64748b}.google-display-copy strong{font-size:11px;line-height:1.25}.google-display-copy span{font-size:9px;line-height:1.35;color:#64748b}.google-display-assets{display:block;padding:0 12px 10px;color:#64748b;font-size:8px;background:#fff}
.widget.type-google_display_ads .widget-body{overflow:auto}.widget.type-google_display_ads .meta-feed-metrics{margin-top:auto}
@media(max-width:720px){.google-display-grid{grid-template-columns:1fr;padding:10px}}
@media print{.google-display-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:8px}.google-display-card{break-inside:avoid}.google-display-preview{min-height:0}}

/* Google Display Ads: uploaded creative styling + readable text */
.google-display-head>div{min-width:0}
.google-display-head strong,.google-display-head span:not(.meta-feed-rank){white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;word-break:break-word;line-height:1.3}
.google-display-preview{background:var(--google-display-preview-bg,#f8fafc)}
.google-display-missing{flex-direction:column;min-height:210px;aspect-ratio:auto;line-height:1.45}
.google-display-missing strong{font-size:var(--widget-body-size,12px);color:var(--ink,#0f172a)}
.google-display-missing span{max-width:44ch;font-size:var(--widget-label-size,10px);overflow-wrap:anywhere}
.google-display-missing a{font-size:var(--widget-label-size,10px);font-weight:700;color:var(--primary,#4f46e5);text-decoration:none}
.google-display-missing a:hover{text-decoration:underline}
.google-display-metrics .meta-feed-metric{background:var(--google-display-metric-bg,#f8fafc)}
.google-display-metrics .meta-feed-metric span{color:var(--google-display-metric-label,#64748b);font-size:var(--widget-label-size,10px);white-space:normal;overflow-wrap:anywhere}
.google-display-metrics .meta-feed-metric strong{color:var(--google-display-metric-value,#0f172a);font-size:var(--widget-value-size,14px);white-space:normal;overflow-wrap:anywhere}


/* Google Display HTML5 preview */
.google-display-html5-frame{display:flex;flex:1;min-height:230px;flex-direction:column;background:var(--google-display-preview-bg,#f8fafc)}
.google-display-html5-frame iframe{display:block;width:100%;min-height:210px;flex:1;border:0;background:#fff}
.google-display-html5-frame>span{padding:5px 8px;border-top:1px solid var(--border,#e5e7eb);font-size:var(--widget-label-size,9px);color:var(--muted,#64748b);text-align:right}

/* Google Ads search terms */
.google-search-terms{width:100%;overflow:auto;padding:4px 0}
.google-search-header,.google-search-row{display:grid;grid-template-columns:48px minmax(240px,2fr) repeat(var(--google-search-metric-count,7),minmax(100px,1fr));align-items:center;min-width:max-content}
.google-search-header{position:sticky;top:0;z-index:2;background:var(--report-surface,#fff);border-bottom:1px solid var(--border,#e2e8f0);color:var(--muted,#64748b);font-size:var(--widget-label-size,10px);font-weight:700}
.google-search-header>span{padding:9px 10px;white-space:nowrap}
.google-search-row{border-bottom:1px solid var(--border,#eef2f7);background:var(--report-surface,#fff)}
.google-search-row:last-of-type{border-bottom:0}
.google-search-rank{padding:12px 10px;font-size:var(--widget-label-size,11px);font-weight:750;color:var(--muted,#64748b);font-variant-numeric:tabular-nums}
.google-search-term{position:relative;min-width:0;padding:10px 12px;display:flex;flex-direction:column;gap:3px;overflow:hidden}
.google-search-term strong{position:relative;z-index:1;font-size:var(--widget-body-size,12px);line-height:1.35;overflow-wrap:anywhere}
.google-search-term>span{position:relative;z-index:1;max-width:70ch;color:var(--muted,#64748b);font-size:var(--widget-label-size,9px);line-height:1.3;overflow-wrap:anywhere}
.google-search-clickbar{position:relative;z-index:1;height:3px;margin-top:5px;border-radius:999px;background:#eef2f7;overflow:hidden}
.google-search-clickbar i{display:block;height:100%;border-radius:inherit;background:var(--primary,#4f46e5)}
.google-search-metric{padding:10px;display:flex;flex-direction:column;gap:2px;min-width:0}
.google-search-metric>span{display:none;color:var(--muted,#64748b);font-size:var(--widget-label-size,9px)}
.google-search-metric>strong{font-size:var(--widget-value-size,12px);font-variant-numeric:tabular-nums;white-space:nowrap}
.google-search-note{margin:8px 10px 2px;color:var(--muted,#64748b);font-size:var(--widget-label-size,9px);line-height:1.4}
.google-search-config{border-color:#dbeafe;background:#f8fbff}
.widget.type-google_search_terms .widget-body{overflow:auto}
@media(max-width:760px){.google-search-header{display:none}.google-search-row{min-width:0;grid-template-columns:36px minmax(0,1fr);padding:7px 0}.google-search-term{padding:8px}.google-search-metric{grid-column:2;display:grid;grid-template-columns:minmax(90px,.8fr) 1fr;padding:4px 8px}.google-search-metric>span{display:block}.google-search-metric>strong{text-align:right}}
@media print{.google-search-terms{overflow:visible}.google-search-header,.google-search-row{min-width:0}.google-search-note{break-inside:avoid}}

/* Table metric ordering */
.widget-metric-order{margin:0 0 14px;border:1px solid var(--border,#e2e8f0);border-radius:9px;background:#f8fafc;padding:10px}.widget-metric-order.empty{background:#fff}.widget-metric-order>div:first-child,.widget-metric-order-head{display:flex;flex-direction:column;gap:2px}.widget-metric-order strong{font-size:11px}.widget-metric-order small{font-size:10px;color:var(--muted,#64748b);font-weight:400}.widget-metric-order-list{display:flex;flex-direction:column;gap:5px;margin-top:8px}.widget-metric-order-item{display:flex;align-items:center;gap:8px;min-height:40px;padding:6px 7px;border:1px solid #dbe3ed;border-radius:7px;background:#fff;cursor:grab;transition:border-color .12s,box-shadow .12s,opacity .12s}.widget-metric-order-item:hover{border-color:#c7d2fe}.widget-metric-order-item.dragging{opacity:.4}.widget-metric-order-item.drag-over{border-color:var(--primary,#4f46e5);box-shadow:0 0 0 2px color-mix(in srgb,var(--primary,#4f46e5) 14%,transparent)}.widget-metric-order-grip{display:grid;place-items:center;color:#94a3b8;flex:0 0 18px}.widget-metric-order-grip .icon{width:16px;height:16px}.widget-metric-order-index{display:grid;place-items:center;width:22px;height:22px;border-radius:5px;background:#f1f5f9;color:#64748b;font-size:10px;font-variant-numeric:tabular-nums;flex:0 0 22px}.widget-metric-order-copy{display:flex;flex-direction:column;gap:1px;min-width:0;flex:1}.widget-metric-order-copy strong,.widget-metric-order-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.widget-metric-order-copy strong{font-size:11px;color:#0f172a}.widget-metric-order-copy small{font-size:9px}.widget-metric-order-actions{display:flex;gap:3px;flex:0 0 auto}.metric-order-button{width:26px;height:26px;padding:0;border:1px solid #dbe3ed;border-radius:5px;background:#fff;color:#64748b;line-height:1}.metric-order-button:hover:not(:disabled){background:#eef2ff;border-color:#c7d2fe;color:#4338ca}.metric-order-button:disabled{opacity:.3}.google-search-config .widget-metric-order{margin-top:0}

/* Polished report pages, metric variants, funnel, conversion breakdown and editorial tables */
.report-content-switch{display:flex;justify-content:flex-end;gap:3px;margin:-10px 0 16px}.report-content-switch button{min-height:32px;padding:6px 11px;border:1px solid var(--border,#e2e8f0);background:var(--report-surface,#fff);color:var(--report-muted,var(--muted,#64748b));font-size:10px;font-weight:650}.report-content-switch button:first-child{border-radius:7px 0 0 7px}.report-content-switch button:last-child{border-radius:0 7px 7px 0;margin-left:-4px}.report-content-switch button.active{position:relative;z-index:1;background:color-mix(in srgb,var(--report-primary,var(--primary,#4f46e5)) 10%,#fff);border-color:color-mix(in srgb,var(--report-primary,var(--primary,#4f46e5)) 38%,#cbd5e1);color:var(--report-primary,var(--primary,#4f46e5))}.report-page-layout.has-page-nav{display:grid;grid-template-columns:300px minmax(0,1fr);gap:26px;align-items:start}.report-page-nav{position:sticky;top:84px;display:flex;flex-direction:column;gap:3px;padding:8px;border:1px solid var(--border,#e2e8f0);border-radius:12px;background:var(--report-surface,#fff);box-shadow:var(--shadow);min-width:0}.report-page-layout.has-page-nav.page-nav-align-section-grid>.report-page-nav{margin-top:30px}.report-page-layout.has-page-nav.page-nav-align-editor-grid>.report-page-nav{margin-top:58px}.report-page-nav-title{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;padding:9px 10px 11px;border-bottom:1px solid #f1f5f9;margin-bottom:4px}.report-page-nav-title span{font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:.07em;color:var(--report-muted,var(--muted,#64748b))}.report-page-nav-title small{font-size:9px;color:var(--report-muted,var(--muted,#94a3b8))}.report-page-nav button{display:grid;grid-template-columns:26px minmax(0,1fr);align-items:center;width:100%;min-height:39px;padding:8px 9px;border:0;border-radius:8px;background:transparent;color:var(--report-text,var(--ink,#0f172a));text-align:left}.report-page-nav button:hover{background:#f8fafc}.report-page-nav button.active{background:var(--report-primary,var(--primary,#4f46e5));color:#fff}.report-page-number{font-size:9px;font-variant-numeric:tabular-nums;opacity:.62}.report-page-nav strong{font-size:11px;line-height:1.25;white-space:normal;overflow-wrap:anywhere}.report-page-content{min-width:0}.page-config-head,.page-config-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:18px 0 8px}.page-config-head>div,.page-config-section-head{font-size:11px}.page-config-head small,.page-config-section-head small{display:block;margin-top:2px;color:var(--muted,#64748b);font-size:9px;font-weight:400}.report-page-config-list,.page-section-assignment-list{display:flex;flex-direction:column;gap:7px}.report-page-config-row{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:9px;align-items:end;padding:9px;border:1px solid var(--border,#e2e8f0);border-radius:8px;background:#f8fafc}.page-config-index{display:grid;place-items:center;width:26px;height:30px;border-radius:6px;background:#eef2ff;color:#4338ca;font-size:10px;font-weight:750}.page-config-actions{display:flex;gap:4px;padding-bottom:2px}.metric-order-button.danger{color:#be123c}.metric-order-button.danger:hover:not(:disabled){background:#fff1f2;border-color:#fecdd3;color:#be123c}.page-section-assignment{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,260px);align-items:center;gap:12px;padding:9px 10px;border:1px solid var(--border,#e2e8f0);border-radius:8px;background:#fff}.page-section-assignment>div{display:flex;flex-direction:column;gap:2px;min-width:0}.page-section-assignment strong{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.page-section-assignment small{font-size:9px;color:var(--muted,#94a3b8)}

.single-metric-bars{display:flex;flex:1;min-height:0;justify-content:center;flex-direction:column;gap:9px;padding:18px 22px}.single-metric-bars-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:3px}.single-metric-bars-head>strong{font-size:var(--widget-body-size,13px);line-height:1.35;overflow-wrap:anywhere}.single-metric-bars-head>b{font-size:var(--widget-value-size,13px);font-variant-numeric:tabular-nums;white-space:nowrap}.single-period-row{display:grid;grid-template-columns:minmax(72px,100px) minmax(100px,1fr) minmax(62px,auto);align-items:center;gap:10px}.single-period-row>span{color:var(--report-muted,var(--muted,#64748b));font-size:var(--widget-label-size,10px);line-height:1.2}.single-period-row>strong{text-align:right;font-size:var(--widget-value-size,12px);font-variant-numeric:tabular-nums}.single-period-track{height:18px;border-radius:5px;background:#ececea;overflow:hidden}.single-period-track i{display:block;height:100%;border-radius:inherit;min-width:0;transition:width .25s ease}.single-period-track i.current{background:var(--metric-current,#f25f45)}.single-period-track i.previous{background:var(--metric-previous,#d9d9d7)}.single-metric-compact{display:flex;flex:1;min-height:0;justify-content:center;flex-direction:column;padding:22px 24px}.single-metric-compact-value{font-size:clamp(26px,2.8vw,42px);line-height:1;letter-spacing:-.045em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.single-metric-compact-label{margin-top:10px;font-size:var(--widget-body-size,13px);font-weight:650;color:var(--report-text,var(--ink,#0f172a))}.single-metric-compact-compare{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:9px}.single-metric-compact-compare>span{font-size:var(--widget-body-size,11px);color:var(--report-muted,var(--muted,#94a3b8));font-variant-numeric:tabular-nums}.single-metric-compact-compare small{font-size:inherit}.single-metric-compact-compare>b{font-size:var(--widget-value-size,12px);font-variant-numeric:tabular-nums;white-space:nowrap}.comparison-positive,.single-metric-bars-head .comparison-positive,.single-metric-compact-compare .comparison-positive{color:var(--comparison-positive,#16a34a)}.comparison-negative,.single-metric-bars-head .comparison-negative,.single-metric-compact-compare .comparison-negative{color:var(--comparison-negative,#dc2626)}

.metric-funnel,.conversion-breakdown{display:flex;flex:1;min-height:0;flex-direction:column;justify-content:center;gap:12px;padding:20px 24px}.metric-funnel-step,.conversion-breakdown-row{display:flex;flex-direction:column;gap:6px}.metric-funnel-head,.conversion-breakdown-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px}.metric-funnel-head strong,.conversion-breakdown-head strong{min-width:0;font-size:var(--widget-body-size,12px);line-height:1.25;overflow-wrap:anywhere}.metric-funnel-head>span,.conversion-breakdown-head>span{font-size:var(--widget-value-size,11px);font-variant-numeric:tabular-nums;white-space:nowrap}.metric-funnel-head small,.conversion-breakdown-head small{color:var(--report-muted,var(--muted,#94a3b8));font-size:inherit}.metric-funnel-track,.conversion-breakdown-track{height:12px;border-radius:4px;background:#ececea;overflow:hidden}.metric-funnel-track i,.conversion-breakdown-track i{display:block;height:100%;border-radius:inherit;background:var(--report-primary,var(--primary,#4f46e5));transition:width .25s ease}.conversion-breakdown{gap:11px}.conversion-breakdown-value{font-weight:600;color:var(--report-text,var(--text,#0f172a))}.conversion-breakdown-track{height:8px}.widget.type-funnel .widget-body,.widget.type-conversion_breakdown .widget-body{overflow:auto}

.table-wrap.table-style-editorial{padding:14px 18px 16px;background:var(--report-surface,#fff)}.table-style-editorial .data-table{border-collapse:separate;border-spacing:0;font-size:var(--widget-body-size,11px)}.table-style-editorial .data-table th{position:sticky;top:0;padding:10px 9px;background:var(--report-surface,#fff)!important;border-bottom:1px solid color-mix(in srgb,var(--report-text,var(--ink,#0f172a)) 18%,#e5e7eb);color:var(--report-muted,var(--muted,#737373));font-size:var(--widget-label-size,10px);font-weight:650;text-transform:none;letter-spacing:0}.table-style-editorial .data-table td{padding:10px 9px;border-bottom:1px solid #e9e9e5;background:transparent!important;font-size:var(--widget-body-size,11px);line-height:1.4}.table-style-editorial .data-table tbody tr:hover td{background:color-mix(in srgb,var(--report-primary,var(--primary,#4f46e5)) 3%,#fff)!important}.table-style-editorial .data-table td.dimension-column,.table-style-editorial .data-table th.dimension-column{background:transparent!important}.table-style-editorial .data-table tbody td:first-child{font-weight:500}.table-style-editorial .data-table .positive,.table-style-editorial .data-table .comparison-positive{color:#15803d;font-weight:750}.table-style-editorial .data-table .negative,.table-style-editorial .data-table .comparison-negative{color:#dc2626;font-weight:750}.table-style-editorial .data-table tfoot td{position:sticky;bottom:0;padding:11px 9px;border-top:1.5px solid color-mix(in srgb,var(--report-text,var(--ink,#0f172a)) 20%,#d4d4d4);border-bottom:0;background:color-mix(in srgb,var(--report-canvas,#f8fafc) 50%,#fff)!important;color:var(--report-text,var(--ink,#0f172a));font-weight:800}.table-style-editorial .data-table tfoot td:first-child{text-transform:uppercase;letter-spacing:.02em}.table-style-editorial.table-zebra .data-table tbody tr:nth-child(odd) td,.table-style-editorial.table-zebra .data-table tbody tr:nth-child(even) td{background:transparent!important}

@media(max-width:980px){.report-page-layout.has-page-nav{grid-template-columns:1fr;gap:14px}.report-page-layout.has-page-nav.page-nav-align-section-grid>.report-page-nav,.report-page-layout.has-page-nav.page-nav-align-editor-grid>.report-page-nav{margin-top:0}.report-page-nav{position:static;flex-direction:row;overflow:auto;padding:6px}.report-page-nav-title{display:none}.report-page-nav button{grid-template-columns:auto minmax(max-content,1fr);width:auto;min-width:max-content}.report-content-switch{justify-content:flex-start}.page-section-assignment{grid-template-columns:1fr}.single-period-row{grid-template-columns:76px minmax(90px,1fr) auto}}
@media(max-width:640px){.report-page-config-row{grid-template-columns:26px 1fr}.page-config-actions{grid-column:2}.single-metric-bars{padding:14px}.single-period-row{grid-template-columns:1fr auto}.single-period-track{grid-column:1/-1;grid-row:2}.metric-funnel,.conversion-breakdown{padding:15px}.table-wrap.table-style-editorial{padding:8px 10px 12px}}
@media print{.report-content-switch,.report-page-nav{display:none!important}.report-page-layout.has-page-nav{display:block}.metric-funnel,.conversion-breakdown,.single-metric-bars,.single-metric-compact{-webkit-print-color-adjust:exact;print-color-adjust:exact}.table-wrap.table-style-editorial{padding:2mm}}

/* Advanced analytical visualisations ------------------------------------------------ */
.single-metric-sparkline-card{display:flex;flex:1;min-height:0;flex-direction:column;justify-content:center;padding:20px 22px;position:relative;overflow:hidden}.single-metric-sparkline-label{font-size:var(--widget-label-size,11px);font-weight:650;color:var(--report-muted,var(--muted));margin-bottom:5px}.single-metric-sparkline-card>strong{font-size:clamp(25px,2.5vw,39px);line-height:1.05;letter-spacing:-.045em;font-variant-numeric:tabular-nums;z-index:1}.single-metric-sparkline-delta{display:inline-flex;align-items:center;align-self:flex-start;margin-top:8px;font-size:var(--widget-comparison-size,11px);font-weight:750;font-variant-numeric:tabular-nums;z-index:1}.single-metric-sparkline-chart{height:74px;margin:11px -3px -6px;min-height:45px}.metric-sparkline{display:block;width:100%;height:100%;overflow:visible}.metric-sparkline-area{fill:color-mix(in srgb,var(--report-primary,var(--primary)) 12%,transparent)}.metric-sparkline-line{fill:none;stroke:var(--report-primary,var(--primary));stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}

.what-if-simulator{display:grid;grid-template-columns:minmax(0,1fr) minmax(185px,.48fr);gap:24px;align-items:stretch;padding:20px 22px;min-height:100%;background:linear-gradient(135deg,color-mix(in srgb,var(--report-primary,var(--primary)) 2.5%,#fff),#fff)}.what-if-controls{display:flex;flex-direction:column;justify-content:center;gap:17px}.what-if-controls label{display:flex;flex-direction:column;gap:8px}.what-if-controls label>span{display:flex;justify-content:space-between;align-items:center;gap:12px}.what-if-controls strong{font-size:var(--widget-body-size,12px);font-weight:650}.what-if-controls em{font-size:var(--widget-value-size,11px);font-style:normal;font-weight:750;color:var(--report-primary,var(--primary));font-variant-numeric:tabular-nums}.what-if-controls input[type=range]{appearance:none;-webkit-appearance:none;width:100%;min-height:20px;height:20px;padding:0;border:0;background:transparent;box-shadow:none}.what-if-controls input[type=range]::-webkit-slider-runnable-track{height:5px;border-radius:99px;background:color-mix(in srgb,var(--report-primary,var(--primary)) 22%,#e2e8f0)}.what-if-controls input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:18px;height:18px;margin-top:-6.5px;border:3px solid #fff;border-radius:50%;background:var(--report-primary,var(--primary));box-shadow:0 1px 5px rgba(15,23,42,.18)}.what-if-controls input[type=range]::-moz-range-track{height:5px;border:0;border-radius:99px;background:color-mix(in srgb,var(--report-primary,var(--primary)) 22%,#e2e8f0)}.what-if-controls input[type=range]::-moz-range-thumb{width:14px;height:14px;border:3px solid #fff;border-radius:50%;background:var(--report-primary,var(--primary));box-shadow:0 1px 5px rgba(15,23,42,.18)}.what-if-result{display:flex;flex-direction:column;justify-content:center;padding:18px;border:1px solid color-mix(in srgb,var(--report-primary,var(--primary)) 13%,var(--border));border-radius:11px;background:color-mix(in srgb,var(--report-primary,var(--primary)) 4%,#fff)}.what-if-result>span,.what-if-result>small{font-size:10px;color:var(--report-muted,var(--muted));font-weight:650;text-transform:uppercase;letter-spacing:.045em}.what-if-result>strong{font-size:clamp(29px,3vw,45px);line-height:1;color:var(--green);letter-spacing:-.045em;margin:5px 0 15px;font-variant-numeric:tabular-nums}.what-if-result>b{font-size:clamp(18px,2vw,27px);line-height:1.15;letter-spacing:-.025em;margin-top:4px;font-variant-numeric:tabular-nums}.what-if-result>div{display:flex;justify-content:space-between;gap:12px;margin-top:16px;padding-top:12px;border-top:1px solid color-mix(in srgb,var(--report-text,var(--ink)) 7%,transparent);font-size:10px;color:var(--report-muted,var(--muted))}.what-if-result>div em{font-style:normal;font-weight:700;color:var(--report-text,var(--ink));font-variant-numeric:tabular-nums}

.growth-drivers{display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,.38fr);gap:22px;align-items:center;padding:20px 22px;min-height:100%}.growth-driver-list{display:flex;flex-direction:column;gap:14px}.growth-driver-row{display:grid;grid-template-columns:minmax(105px,.55fr) minmax(90px,1fr) auto;align-items:center;gap:11px}.growth-driver-row>span{font-size:var(--widget-body-size,11px);font-weight:600}.growth-driver-track{height:13px;border-radius:4px;background:#eef2f6;overflow:hidden}.growth-driver-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,color-mix(in srgb,var(--green) 78%,#fff),var(--green))}.growth-driver-track i.negative{background:linear-gradient(90deg,#fda4af,var(--red))}.growth-driver-row>strong{font-size:var(--widget-value-size,12px);font-variant-numeric:tabular-nums;white-space:nowrap}.growth-driver-row .positive,.growth-drivers-total .positive{color:var(--green);background:none}.growth-driver-row .negative,.growth-drivers-total .negative{color:var(--red);background:none}.growth-drivers-total{padding:16px;border:1px solid var(--border);border-radius:10px;background:color-mix(in srgb,var(--report-primary,var(--primary)) 2.5%,#fff);display:flex;flex-direction:column;justify-content:center;min-height:118px}.growth-drivers-total>span{font-size:10px;color:var(--report-muted,var(--muted));font-weight:650}.growth-drivers-total>strong{font-size:clamp(28px,3vw,43px);line-height:1.05;margin:5px 0 4px;letter-spacing:-.04em;font-variant-numeric:tabular-nums}.growth-drivers-total small{font-size:9px;color:var(--report-muted,var(--muted))}

.geo-distribution{display:grid;grid-template-columns:minmax(210px,.78fr) minmax(220px,1fr);gap:24px;align-items:center;padding:18px 22px;min-height:100%}.denmark-map{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:225px}.denmark-map svg{width:min(100%,320px);height:auto;max-height:300px;overflow:visible;filter:drop-shadow(0 4px 10px rgba(15,23,42,.08))}.geo-region-map{filter:drop-shadow(0 3px 7px rgba(15,23,42,.08))}.geo-region-shape{fill:var(--geo-fill,#dbeafe);stroke:#fff;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;transition:filter .18s,transform .18s;cursor:default}.geo-region-shape:hover{filter:brightness(.94) saturate(1.08)}.geo-map-value{fill:#fff;stroke:rgba(15,23,42,.62);stroke-width:3px;paint-order:stroke fill;font-size:12px;font-weight:800;letter-spacing:-.02em;pointer-events:none}.geo-scale{width:min(220px,80%);display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;margin-top:3px;color:var(--report-muted,var(--muted));font-size:9px;font-weight:700}.geo-scale i{height:7px;border-radius:999px;background:linear-gradient(90deg,var(--geo-low),var(--geo-high));box-shadow:inset 0 0 0 1px rgba(15,23,42,.06)}.denmark-map small{margin-top:5px;color:var(--report-muted,var(--muted));font-size:9px}.geo-legend{display:flex;flex-direction:column;gap:5px}.geo-legend>div{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:8px 0;border-bottom:1px solid color-mix(in srgb,var(--border) 75%,transparent)}.geo-legend>div:last-child{border-bottom:0}.geo-legend span{display:flex;align-items:center;gap:8px;min-width:0;font-size:11px}.geo-legend-swatch{width:10px;height:10px;border-radius:3px;background:var(--geo-swatch);box-shadow:inset 0 0 0 1px rgba(15,23,42,.08);flex:0 0 auto}.geo-legend strong{font-size:11px;font-variant-numeric:tabular-nums}.geo-legend small{min-width:70px;text-align:right;color:var(--report-muted,var(--muted));font-size:10px;font-variant-numeric:tabular-nums}.geo-toggle-row{display:flex;gap:18px;flex-wrap:wrap;margin-top:12px}

.device-performance{padding:14px 18px 18px;min-width:0}.device-performance-head,.device-performance-row{display:grid;grid-template-columns:minmax(115px,1.1fr) repeat(var(--device-columns,4),minmax(78px,1fr));align-items:center;gap:0}.device-performance-head{color:var(--report-muted,var(--muted));font-size:10px;font-weight:650;border-bottom:1px solid var(--border)}.device-performance-head>span{padding:9px 10px}.device-performance-row{border-bottom:1px solid #edf0f4;min-height:52px}.device-performance-row:last-child{border-bottom:0}.device-performance-row>span,.device-performance-row>strong{padding:10px;text-align:right;font-size:var(--widget-body-size,11px);font-variant-numeric:tabular-nums}.device-performance-row>.device-name,.device-performance-head>span:first-child{text-align:left}.device-name{display:flex;align-items:center;gap:10px;font-weight:650}.device-glyph{display:inline-block;position:relative;width:31px;height:31px;border-radius:9px;background:#eef2ff;border:1px solid #dfe4ff}.device-glyph:before{content:"";position:absolute;inset:7px 10px;border:1.8px solid var(--report-primary,var(--primary));border-radius:2px}.device-glyph.desktop{background:#eff6ff;border-color:#dbeafe}.device-glyph.desktop:before{inset:8px 5px 10px;border-color:#0284c7}.device-glyph.desktop:after{content:"";position:absolute;left:10px;right:10px;bottom:6px;height:1.5px;background:#0284c7}.device-glyph.tablet{background:#fff7ed;border-color:#fed7aa}.device-glyph.tablet:before{inset:6px 8px;border-color:#ea580c;border-radius:3px}

.product-treemap{display:flex;flex-wrap:wrap;align-content:stretch;gap:8px;padding:16px;min-height:100%}.product-treemap-tile{min-width:125px;min-height:92px;border:1px solid color-mix(in srgb,var(--tile,#4f46e5) 18%,#e2e8f0);border-radius:10px;padding:14px 15px;background:color-mix(in srgb,var(--tile,#4f46e5) 10%,#fff);display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}.product-treemap-tile strong{font-size:var(--widget-body-size,12px);overflow-wrap:anywhere}.product-treemap-tile b{font-size:clamp(19px,2vw,28px);letter-spacing:-.03em;line-height:1.05;font-variant-numeric:tabular-nums;margin-top:7px}.product-treemap-tile small{margin-top:7px;color:var(--report-muted,var(--muted));font-size:9px;font-variant-numeric:tabular-nums}.product-treemap-tile.tile-1{--tile:#0d9488}.product-treemap-tile.tile-2{--tile:#4f46e5}.product-treemap-tile.tile-3{--tile:#0284c7}.product-treemap-tile.tile-4{--tile:#d97706}.product-treemap-tile.tile-5{--tile:#7c3aed}.product-treemap-tile.tile-6{--tile:#64748b}

.metric-funnel-shape{display:flex;flex:1;min-height:0;flex-direction:column;justify-content:center;gap:7px;padding:16px 24px}.metric-funnel-shape-row{display:grid;grid-template-columns:minmax(130px,1fr) minmax(170px,.8fr);align-items:center;gap:22px;min-height:45px}.metric-funnel-shape-visual{height:37px;display:flex;align-items:center;justify-content:center}.metric-funnel-shape-visual i{display:block;height:100%;background:linear-gradient(90deg,color-mix(in srgb,var(--report-primary,var(--primary)) 58%,#fff),var(--report-primary,var(--primary)));clip-path:polygon(5% 0,95% 0,87% 100%,13% 100%);border-radius:5px;min-width:0}.metric-funnel-shape-copy{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #eef1f4;padding:7px 0}.metric-funnel-shape-copy>strong{font-size:var(--widget-body-size,11px);font-weight:650}.metric-funnel-shape-copy>span{display:flex;flex-direction:column;align-items:flex-end}.metric-funnel-shape-copy b{font-size:var(--widget-value-size,13px);font-variant-numeric:tabular-nums}.metric-funnel-shape-copy small{font-size:9px;color:var(--report-muted,var(--muted));font-variant-numeric:tabular-nums}

.product-treemap-config{display:flex;flex-direction:column;gap:12px}.product-treemap-groups{gap:10px}.product-treemap-group{margin:0}.product-treemap-filter-list{gap:7px}.product-treemap-filter-row{grid-template-columns:minmax(160px,1.25fr) minmax(130px,.85fr) minmax(150px,1fr) 30px}.product-treemap-filter-row .field{margin:0}.product-treemap-filter-row .field>span:empty{display:none}.product-treemap-filter-row select,.product-treemap-filter-row input{min-height:35px}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

@media(max-width:900px){.what-if-simulator,.growth-drivers,.geo-distribution{grid-template-columns:1fr}.what-if-result,.growth-drivers-total{min-height:0}.geo-distribution{gap:8px}.device-performance{overflow:auto}.device-performance-head,.device-performance-row{min-width:620px}.metric-funnel-shape-row{grid-template-columns:1fr;gap:3px}.metric-funnel-shape-copy{padding-bottom:8px}.product-treemap-filter-row{grid-template-columns:1fr 1fr}.product-treemap-filter-row .icon-btn{justify-self:end}}
@media(max-width:640px){.what-if-simulator,.growth-drivers,.geo-distribution{padding:14px}.growth-driver-row{grid-template-columns:minmax(90px,.7fr) 1fr auto}.product-treemap{padding:10px}.metric-funnel-shape{padding:12px 14px}.single-metric-sparkline-card{padding:16px}.product-treemap-filter-row{grid-template-columns:1fr}}
@media print{.what-if-simulator,.growth-drivers,.geo-distribution,.device-performance,.product-treemap,.metric-funnel-shape,.single-metric-sparkline-card{-webkit-print-color-adjust:exact;print-color-adjust:exact}}

/* Blended data source builder */
.page-heading-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.blend-builder-intro{background:linear-gradient(135deg,#f8fafc,#eef2ff 75%,#fff)}
.blend-source-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:9px;margin:12px 0 16px}.blend-source-choice{display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:10px;min-height:62px;padding:10px 12px;border:1px solid var(--border);border-radius:11px;background:#fff;cursor:pointer;transition:border-color .15s,box-shadow .15s,background .15s}.blend-source-choice:hover{border-color:#a5b4fc}.blend-source-choice.is-selected{border-color:#818cf8;background:#f5f7ff;box-shadow:0 0 0 1px #e0e7ff}.blend-source-choice>input{width:15px;height:15px;min-height:15px}.blend-source-choice>span:last-child{min-width:0;display:flex;flex-direction:column}.blend-source-choice strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.blend-source-choice small{font-size:10px;color:var(--muted)}
.blend-source-cards{display:flex;flex-direction:column;gap:12px}.blend-source-card{border:1px solid var(--border);border-radius:12px;background:#fff;overflow:hidden}.blend-source-card-head{display:flex;align-items:center;gap:10px;padding:12px 13px;background:#f8fafc;border-bottom:1px solid var(--border)}.blend-source-card-head>div:nth-child(2){display:flex;flex-direction:column;min-width:0}.blend-source-card-head strong{font-size:12px}.blend-source-card-head small{font-size:10px;color:var(--muted)}.blend-source-card .blend-field-picker{margin:12px}.blend-catalog-empty{padding:14px;color:var(--muted);font-size:11px}.blend-sheet-config{padding:12px 13px;border-bottom:1px solid var(--border);background:#fff}.blend-sheet-shortcuts{display:flex;gap:5px;flex-wrap:wrap;margin:9px 0}.blend-source-filters{border-width:1px 0 0;border-radius:0;margin:0}.blend-source-filter-list,.blend-filter-list{display:flex;flex-direction:column;gap:7px;margin:9px 0}.blend-source-filter-row,.blend-filter-row{grid-template-columns:minmax(160px,1.2fr) minmax(145px,.8fr) minmax(150px,1fr) 32px}
.blend-selected-fields{display:flex;flex-direction:column;gap:8px}.blend-selected-field-row{display:grid;grid-template-columns:minmax(190px,1.2fr) minmax(160px,1fr) minmax(120px,.65fr) minmax(130px,.75fr);gap:10px;align-items:end;padding:10px;border:1px solid var(--border);border-radius:10px;background:#fbfcfe}.blend-selected-field-copy{align-self:center;min-width:0}.blend-selected-field-copy strong{display:block;font-size:12px}.blend-selected-field-copy small{display:block;color:var(--muted);font-size:10px;margin-top:3px;overflow-wrap:anywhere}.blend-selected-field-copy code{font-size:9px}.blend-selected-field-row>.field{margin:0}
.blend-joins{display:flex;flex-direction:column;gap:12px;margin:14px 0}.blend-join-row{border:1px solid var(--border);border-radius:11px;overflow:hidden}.blend-join-main{padding:12px;background:#f8fafc;border-bottom:1px solid var(--border)}.blend-join-actions{display:flex;flex-direction:column;justify-content:flex-end}.blend-join-actions>.icon-btn{align-self:flex-start;border:1px solid var(--border);background:#fff}.blend-join-mappings{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;padding:12px}.blend-join-mapping{border:1px solid #edf0f4;border-radius:9px;padding:10px;background:#fff}.blend-join-mapping>span{display:flex;align-items:center;gap:6px;margin-bottom:8px;color:#475569}.blend-join-mapping>span .icon{width:14px;height:14px}.blend-join-mapping>span strong{font-size:11px}.blend-join-mapping .field{margin:0}
.blend-calculation-row{border:1px solid var(--border);border-radius:11px;padding:12px;margin-bottom:10px;background:#fff}.blend-calculation-head{display:flex;align-items:center;gap:8px;margin-bottom:10px}.blend-calculation-head strong{font-size:12px}.blend-calculation-head .icon-btn{margin-left:auto}.blend-formula-tokens{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:8px}.blend-formula-tokens>span{font-size:10px;color:var(--muted)}.blend-formula-token{border:1px solid #c7d2fe;background:#eef2ff;color:#4338ca;border-radius:999px;padding:4px 8px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:9px}.blend-formula-token:hover{background:#e0e7ff}
.blend-preview-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:5px;padding:24px;border:1px dashed #cbd5e1;border-radius:11px;background:#f8fafc;color:var(--muted)}.blend-preview-empty .icon{width:24px;height:24px;color:#6366f1}.blend-preview-empty strong{color:var(--ink);font-size:12px}.blend-preview-empty span{font-size:11px}.blend-match-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:8px;margin-bottom:12px}.blend-match-stat{display:flex;flex-direction:column;gap:2px;padding:10px 11px;border:1px solid var(--border);border-radius:10px;background:#fff}.blend-match-stat strong{font-size:10px;color:var(--muted)}.blend-match-stat b{font-size:20px;letter-spacing:-.03em}.blend-match-stat span{font-size:9px;color:var(--muted);line-height:1.4}.blend-match-stat.emphasis{background:#f5f7ff;border-color:#c7d2fe}.blend-preview-table{max-height:430px;overflow:auto}.blend-field-grid{max-height:250px}.blend-source-card .notice{margin:10px 12px}
@media(max-width:900px){.blend-selected-field-row{grid-template-columns:1fr 1fr}.blend-source-filter-row,.blend-filter-row{grid-template-columns:1fr 1fr}.blend-source-filter-row .icon-btn,.blend-filter-row .icon-btn{justify-self:end}.page-heading-actions{justify-content:flex-start}}
@media(max-width:640px){.blend-selected-field-row,.blend-source-filter-row,.blend-filter-row{grid-template-columns:1fr}.blend-source-choices{grid-template-columns:1fr}.blend-join-mappings{grid-template-columns:1fr}}

/* Looker Studio-inspired, single-page blended data editor */
.blend-simple-intro{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;margin-bottom:12px;background:#f4f7ff;border:1px solid #e2e8ff;border-radius:12px}
.blend-simple-intro>div{display:grid;gap:3px}.blend-simple-intro strong{font-size:16px}.blend-simple-intro span{font-size:11px;color:var(--muted)}
.blend-simple-main{padding:18px 16px;margin-bottom:14px;border:1px solid var(--border);border-radius:12px;background:var(--surface,#fff)}
.blend-simple-section-head{margin-bottom:14px}.blend-simple-section-head h3{font-size:14px;margin:0 0 4px}.blend-simple-section-head p{font-size:11px;color:var(--muted);margin:0}
.blend-basics{display:grid;grid-template-columns:minmax(230px,1fr) minmax(260px,1.3fr);gap:12px;align-items:end;margin-bottom:14px}.blend-basics>.field{margin:0}.blend-source-toolbar{display:flex;align-items:end;gap:10px}.blend-source-toolbar>.field{flex:1;min-width:0;margin:0}.blend-source-toolbar>.muted{padding-bottom:11px;white-space:nowrap}
.blend-look-studio-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,285px),1fr));align-items:stretch;gap:12px}.blend-look-studio-column{min-width:0;display:flex;flex-direction:column}.blend-look-studio-column-label{display:flex;justify-content:space-between;align-items:center;padding:8px 2px;color:var(--muted);font-weight:600;font-size:11px}.blend-remove-source{border:0;background:transparent;color:var(--muted);font-size:20px;cursor:pointer;line-height:1;padding:2px 8px}.blend-remove-source:hover{color:#dc2626}.blend-look-studio-column .blend-source-card{flex:1;display:flex;flex-direction:column}.blend-look-studio-column .blend-source-card .blend-field-picker{margin:9px;flex:1}.blend-look-studio-column .blend-field-grid{display:flex;flex-direction:column;gap:3px;max-height:280px;overflow:auto}.blend-look-studio-column .blend-catalog-choice{padding:5px 7px}.blend-look-studio-column .blend-source-card-head{padding:11px}.blend-look-studio-column .blend-source-card-head>.badge{display:none}.blend-look-studio-column .blend-source-filters{margin-top:auto}
.blend-simple-join .blend-joins{margin:14px 0}.blend-simple-advanced{margin-bottom:14px;border:1px solid var(--border);border-radius:12px;background:var(--surface,#fff);overflow:hidden}.blend-simple-advanced>summary{cursor:pointer;display:flex;align-items:center;gap:8px;padding:14px 16px;font-weight:600;font-size:12px}.blend-simple-advanced>summary span{color:var(--muted);font-size:10px;font-weight:400;margin-left:auto}.blend-simple-advanced-body{padding:6px 16px 18px;border-top:1px solid var(--border)}.blend-simple-advanced-body h3{font-size:12px;margin:18px 0 10px}
@media(max-width:680px){.blend-basics{grid-template-columns:1fr}.blend-simple-main{padding:13px}.blend-look-studio-cards{grid-template-columns:1fr}.blend-source-toolbar{flex-wrap:wrap}}

/* v48: Blend source cards must keep the entire filter editor visible at narrow widths. */
.blend-look-studio-column,.blend-look-studio-column .blend-source-card,
.blend-look-studio-column .blend-source-filters,
.blend-look-studio-column .widget-builder-advanced-body,
.blend-look-studio-column .blend-source-filter-list{min-width:0;max-width:100%;box-sizing:border-box}
.blend-look-studio-column .blend-source-filter-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) 30px;
  gap:8px;
  min-width:0;
  width:100%;
  box-sizing:border-box;
  align-items:center;
}
.blend-look-studio-column .blend-source-filter-row>select[name="blendSourceFilterField"]{
  grid-column:1/-1;
  min-width:0;
  width:100%;
}
.blend-look-studio-column .blend-source-filter-row>select[name="blendSourceFilterOp"]{grid-column:1;min-width:0;width:100%}
.blend-look-studio-column .blend-source-filter-row>input[name="blendSourceFilterValue"]{grid-column:2;min-width:0;width:100%}
.blend-look-studio-column .blend-source-filter-row>.icon-btn{grid-column:3;justify-self:center;min-width:0}
.blend-look-studio-column .blend-source-filters .widget-builder-advanced-body{padding-left:12px;padding-right:12px}
.blend-look-studio-column .blend-source-filters .form-grid{grid-template-columns:minmax(0,1fr)}
.blend-look-studio-column .blend-source-filter-row select,
.blend-look-studio-column .blend-source-filter-row input{max-width:100%;box-sizing:border-box}
.blend-look-studio-column .blend-field-grid{min-width:0;overflow-x:hidden;overflow-y:auto}
.blend-look-studio-column .blend-catalog-choice{min-width:0;max-width:100%;box-sizing:border-box;overflow:hidden}
.blend-look-studio-column .blend-catalog-choice>span{min-width:0;overflow-wrap:anywhere;word-break:break-word}
.blend-look-studio-column .blend-field-picker,
.blend-look-studio-column .widget-field-picker-body,
.blend-look-studio-column .widget-field-search{min-width:0;max-width:100%;box-sizing:border-box}
.blend-look-studio-column .widget-field-search input{min-width:0;width:100%;box-sizing:border-box}
@media(max-width:420px){.blend-look-studio-column .blend-source-filter-row{grid-template-columns:minmax(0,1fr) 30px}.blend-look-studio-column .blend-source-filter-row>select[name="blendSourceFilterOp"]{grid-column:1/-1}.blend-look-studio-column .blend-source-filter-row>input[name="blendSourceFilterValue"]{grid-column:1}.blend-look-studio-column .blend-source-filter-row>.icon-btn{grid-column:2}}


/* v50: isolated, accessible blended-source field rows */
.blend-look-studio-column .blend-field-grid{
 display:flex;flex-direction:column;gap:2px;min-width:0;max-height:290px;
 overflow-x:hidden;overflow-y:auto;padding:3px 5px 3px 0;align-items:stretch;
}
.blend-look-studio-column .blend-field-grid > label.blend-catalog-choice{
 display:grid;grid-template-columns:16px minmax(0,1fr);align-items:start;
 column-gap:10px;row-gap:0;flex:0 0 auto;width:100%;max-width:100%;min-width:0;
 min-height:34px;height:auto;padding:7px 8px;margin:0;border:1px solid transparent;
 border-radius:7px;overflow:visible;white-space:normal;line-height:1.4;
 cursor:pointer;text-align:left;
}
.blend-look-studio-column .blend-field-grid > label.blend-catalog-choice:hover{background:#f8fafc;border-color:#e2e8f0}
.blend-look-studio-column .blend-field-grid > label.blend-catalog-choice:has(input:checked){background:#eef2ff;border-color:#c7d2fe}
.blend-look-studio-column .blend-field-grid > label.blend-catalog-choice > input[type="checkbox"]{
 display:block;position:static;appearance:auto;width:16px;height:16px;min-width:16px;
 min-height:16px;max-height:16px;padding:0;margin:2px 0 0;border-radius:3px;
 align-self:start;flex:none;transform:none;opacity:1;
}
.blend-look-studio-column .blend-field-grid > label.blend-catalog-choice > span{
 display:block;min-width:0;width:auto;height:auto;min-height:0;line-height:1.4;
 overflow:visible;white-space:normal;overflow-wrap:break-word;word-break:normal;
 font-size:12px;
}
.blend-look-studio-column .blend-field-grid > label.blend-catalog-choice > span > small{
 display:inline;font-size:10px;font-weight:400;white-space:nowrap;
}

/* v54: Optional edge-to-edge report banner. Other page content retains its spacing. */
.report-surface.full-bleed-banner > .report-banner {
  margin: -25px -26px 23px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.report-surface.branding-active .client-brand-logo {
  width: var(--report-logo-width,112px);
  height: auto;
  min-height: 64px;
  aspect-ratio: 7 / 4;
  box-shadow: var(--report-logo-shadow,var(--shadow));
}
@media(max-width:767px) {
  .report-surface.full-bleed-banner > .report-banner { margin: -16px -16px 23px; }
  .report-surface.branding-active .client-brand-logo { min-height: 0; }
}
@media print {
  .report-surface.branding-active .client-brand-logo { box-shadow: none; }
}

/* v55: Report-wide widget outer borders, independent of internal table and chart dividers. */
.report-surface.branding-active .report-grid > .widget,
.report-surface.branding-active .report-grid .widget {
  border-width: var(--report-widget-border-width,1px);
  border-style: solid;
  border-color: var(--report-widget-border,#dfe5ec);
}
.report-surface.branding-active .report-grid .widget:hover {
  border-color: var(--report-widget-border,#dfe5ec);
}
.branding-preview .branding-preview-card {
  border-width: var(--report-widget-border-width,1px);
  border-color: var(--report-widget-border,#dfe5ec);
}

/* v56: proportional but legible, centered funnel segments */
.metric-funnel-pretty{gap:8px}.metric-funnel-pretty.spacing-compact{gap:3px}.metric-funnel-pretty.spacing-airy{gap:15px}.metric-funnel-pretty .metric-funnel-shape-row{min-height:47px}.metric-funnel-pretty .metric-funnel-shape-visual{height:39px;min-width:0}.metric-funnel-pretty .metric-funnel-shape-visual i{clip-path:polygon(0 0,100% 0,92% 100%,8% 100%);border-radius:0;min-width:0;flex-shrink:0}.metric-funnel-pretty .metric-funnel-shape-copy em{font-style:normal;font-size:10px;color:var(--report-muted,var(--muted))}.metric-funnel-pretty .metric-funnel-shape-copy>span{gap:2px}.metric-funnel-pretty .metric-funnel-shape-copy b small{font-size:9px;font-weight:400}@media(max-width:640px){.metric-funnel-pretty .metric-funnel-shape-row{min-height:55px}}

/* v57: visual bands join into a single, evenly tapering funnel. */
.metric-funnel-pretty{gap:0}
.metric-funnel-pretty.spacing-compact,.metric-funnel-pretty.spacing-airy{gap:0}
.metric-funnel-pretty .metric-funnel-shape-visual{height:100%;min-height:0}
.metric-funnel-pretty .metric-funnel-shape-row{min-height:49px}
.metric-funnel-pretty .metric-funnel-shape-visual i{border-radius:0}

.metric-funnel-pretty .metric-funnel-shape-visual{position:relative;align-self:stretch;height:auto}
.metric-funnel-pretty .metric-funnel-shape-visual i{position:absolute;top:0;bottom:0;left:50%;transform:translateX(-50%);height:100%}
/* Top Snapchat Ads */
.widget.type-snapchat_ads_feed .widget-body{background:#f5f6f7;overflow:visible;align-items:stretch;flex:0 0 auto;min-height:0}
/* A fixed viewport keeps vertical Story ads from stretching the entire Top Ads grid. */
.widget.type-snapchat_ads_feed .meta-feed-preview-shell.native{min-width:0;max-width:100%;align-items:center}
.snapchat-native-preview{width:100%;height:590px;min-height:0;min-width:0;display:flex;align-items:center;justify-content:center;background:#111827;color:white;border-radius:8px;overflow:hidden}
.snapchat-native-preview video,.snapchat-native-preview img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;background:#111827}
.snapchat-native-preview video{min-width:0;min-height:0}
.snapchat-native-preview .snapchat-preview-fallback{width:100%;min-height:0;height:100%}
@media(max-width:600px){.snapchat-native-preview{height:590px}}
@media print{.snapchat-native-preview{height:240px}}
.pdf-render-widget.type-snapchat_ads_feed .snapchat-native-preview{height:55mm}
.snapchat-preview-fallback{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:240px;padding:20px;gap:10px}
.snapchat-preview-fallback span{font-size:12px;opacity:.7}
.pdf-render-widget.type-snapchat_ads_feed{container-type:inline-size}
.pdf-render-widget.type-snapchat_ads_feed .meta-feed-grid{grid-template-columns:1fr;gap:3mm;padding:3mm;align-items:start}
@container (min-width: 130mm){.pdf-render-widget.type-snapchat_ads_feed .meta-feed-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.pdf-render-widget.type-snapchat_ads_feed .meta-feed-card{min-width:0;border-radius:2mm;box-shadow:none}
.pdf-render-widget.type-snapchat_ads_feed .meta-feed-metric{padding:1.3mm 1.5mm}

/* Dedicated Snapchat feed layout: does not alter Meta/LinkedIn cards. */
.widget.type-snapchat_ads_feed .snapchat-feed-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,290px),1fr));justify-content:start;align-items:start;gap:14px}
.widget.type-snapchat_ads_feed .snapchat-feed-card{width:100%;max-width:350px;min-width:0}
.widget.type-snapchat_ads_feed .snapchat-feed-card .meta-feed-preview-shell.native{padding:8px;min-width:0}
.widget.type-snapchat_ads_feed .snapchat-native-preview{width:100%;max-width:100%;height:590px}
@media(max-width:600px){.widget.type-snapchat_ads_feed .snapchat-feed-grid{grid-template-columns:minmax(0,1fr)}.widget.type-snapchat_ads_feed .snapchat-feed-card{max-width:350px}}
.pdf-render-widget.type-snapchat_ads_feed .snapchat-feed-card{max-width:100%}

/* Report table export: small, non-printing action above the table. */
.table-copy-toolbar{display:flex;justify-content:flex-end;align-items:center;padding:3px 9px 0;min-height:28px}
.table-copy-toolbar .btn{font-size:10px;min-height:23px;box-shadow:none}
.pdf-render-widget .table-copy-toolbar,.pdf-print-root .table-copy-toolbar{display:none!important}
@media print{.table-copy-toolbar{display:none!important}}

/* Report-wide font selection, including printable page widgets. */
.report-surface,.report-surface .widget,.report-surface .data-table,.pdf-page,.pdf-page *{font-family:var(--report-font,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif)}

/* Spacer widgets reserve exactly their grid footprint without showing chrome in reports. */
.widget.type-spacer{background:transparent!important;border:0!important;box-shadow:none!important}
.widget.type-spacer .widget-header,.widget.type-spacer .widget-footer,.widget.type-spacer .widget-body{display:none!important}
.widget.type-spacer .widget-chrome-tools{display:none}
.widget.type-spacer:hover .widget-chrome-tools,.widget.type-spacer:focus-within .widget-chrome-tools{display:flex;position:absolute;left:4px;top:4px;z-index:5;background:#fff;border:1px dashed #94a3b8;border-radius:6px}
.widget.type-spacer .widget-resize{opacity:0}
.widget.type-spacer:hover .widget-resize{opacity:1}
.widget.type-spacer:has(.widget-chrome-tools):hover{background:rgba(99,102,241,.04)!important;outline:1px dashed #818cf8}
.pdf-render-widget.type-spacer{background:transparent!important;border:0!important}

/* Four intentional, print-safe PDF cover treatments. */
.pdf-cover-editorial{background:#fff}.pdf-cover-editorial .pdf-cover-accent{width:100%;height:6mm;inset:0 0 auto}
.pdf-cover-editorial .pdf-cover-inner{padding-left:var(--pdf-margin,38px);padding-right:var(--pdf-margin,38px)}
.pdf-cover-editorial .pdf-cover h1,.pdf-cover-editorial h1{font-family:Georgia,"Times New Roman",serif;font-weight:500;font-size:35pt;letter-spacing:-.05em}
.pdf-cover-editorial .pdf-cover-meta{left:var(--pdf-margin,38px)}
.pdf-cover-minimal{background:#fff}.pdf-cover-minimal .pdf-cover-accent{display:none}
.pdf-cover-minimal .pdf-cover-inner{padding-left:var(--pdf-margin,38px)}
.pdf-cover-minimal .pdf-cover-meta{left:var(--pdf-margin,38px)}
.pdf-cover-minimal h1{font-size:36pt;font-weight:500;letter-spacing:-.06em}
.pdf-cover-dark{background:#101828;color:#fff}
.pdf-cover-dark .pdf-cover-accent{background:var(--report-primary,#818cf8);width:4mm}
.pdf-cover-dark h1,.pdf-cover-dark .pdf-cover-kicker{color:#fff}
.pdf-cover-dark p,.pdf-cover-dark .pdf-cover-meta{color:#ced5e3}
.pdf-cover-dark .pdf-cover-meta{border-top-color:rgba(255,255,255,.25)}
.pdf-cover-dark .pdf-cover-period{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.25);color:#fff}

/* Additional table layouts, consistent in dashboard and PDF exports. */
.table-style-compact .data-table{font-size:10px;border-collapse:collapse}
.table-style-compact .data-table th,.table-style-compact .data-table td{padding:5px 8px;line-height:1.2}
.table-style-compact .data-table th{text-transform:none;font-weight:650;background:var(--table-header-bg,#f8fafc)}
.table-style-financial .data-table{font-variant-numeric:tabular-nums;border-collapse:collapse}
.table-style-financial .data-table th{font-weight:750;border-bottom:2px solid var(--report-text,#0f172a);background:transparent!important;text-transform:none}
.table-style-financial .data-table td{border-bottom:1px solid #e2e8f0}
.table-style-financial .data-table td.numeric{text-align:right;font-variant-numeric:tabular-nums}
.table-style-financial .data-table tfoot td{font-weight:800;border-top:2px solid #64748b;background:#f8fafc!important}
.table-wrap.table-style-soft{padding:8px 10px;background:transparent}
.table-style-soft .data-table{border-collapse:separate;border-spacing:0 5px}
.table-style-soft .data-table th{background:transparent!important;color:var(--report-muted,#64748b);border:0;padding:9px 12px;text-transform:none}
.table-style-soft .data-table tbody td{background:var(--report-surface,#fff);border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;padding:11px 12px}
.table-style-soft .data-table tbody td:first-child{border-left:1px solid #e2e8f0;border-radius:8px 0 0 8px}
.table-style-soft .data-table tbody td:last-child{border-right:1px solid #e2e8f0;border-radius:0 8px 8px 0}
.table-wrap .data-table td[data-conditional-cell=true]{background:var(--condition-bg)!important;color:var(--condition-color)!important}

/* Independent 48-column PDF canvas, including print/PDF output. */
.pdf-page-grid{grid-template-columns:repeat(var(--pdf-columns,12),minmax(0,1fr))}
.pdf-page-content:has([style*="--pdf-columns:48"]){grid-template-columns:repeat(48,minmax(0,1fr))}
.pdf-page-content:has([style*="--pdf-columns:48"])>.pdf-nested-cell{grid-column:span 48}

.note-rich-toolbar{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 0;padding:8px;background:#f8fafc;border:1px solid #dbe3ed;border-radius:8px 8px 0 0}
.note-rich-toolbar button{border:1px solid #cbd5e1;border-radius:5px;background:#fff;padding:6px 10px;font-size:12px;cursor:pointer}
.note-rich-editor{min-height:175px;max-height:480px;overflow:auto;padding:14px;border:1px solid #dbe3ed;border-top:0;border-radius:0 0 8px 8px;outline-offset:3px;line-height:1.6;background:#fff}
.note-rich-editor p,.text-note-body p{margin:0 0 .6em}
.note-rich-editor ul,.text-note-body ul,.note-rich-editor ol,.text-note-body ol{padding-left:1.5em}

.isolated-html-widget{display:block;border:0;width:100%;height:100%;min-height:180px;background:transparent}
.widget.type-grid_spacer{background:transparent!important;border:0!important;box-shadow:none!important}
.widget.type-grid_spacer .widget-header,.widget.type-grid_spacer .widget-footer,.widget.type-grid_spacer .widget-body{display:none!important}
.widget.type-grid_spacer .widget-resize{opacity:0}
.widget.type-grid_spacer:hover .widget-resize{opacity:1}
.widget.type-grid_spacer:hover{outline:1px dashed #818cf8}

.table-drill-tree{display:grid;gap:8px;padding:12px;min-width:0}
.table-drill-tree>small{color:var(--muted);font-size:11px}
.table-drill-group{border:1px solid var(--border);border-radius:8px;overflow:hidden;min-width:0;background:var(--report-surface,#fff)}
.table-drill-group>summary{display:flex;gap:14px;align-items:center;flex-wrap:wrap;padding:11px 13px;cursor:pointer;list-style:none;font-size:12px}
.table-drill-group>summary:hover{background:#f8fafc}
.table-drill-group>summary>strong{min-width:110px}
.table-drill-group>summary>span{color:var(--muted);font-size:11px}
.table-drill-group>summary>span:last-child{margin-left:auto}
.table-drill-content{padding:8px 12px;border-top:1px solid var(--border);min-width:0}
.pdf-render-widget .table-drill-content{padding:2mm}
/* Compact gutters are essential: 47 standard PDF gaps would exceed the A4 page width. */
.pdf-nested-cell[style*="--pdf-columns:48"]>.pdf-page-grid{column-gap:2px;row-gap:var(--pdf-gap,19px)}
.widget.type-grid_spacer .widget-chrome-tools{display:none}
.widget.type-grid_spacer:hover .widget-chrome-tools,.widget.type-grid_spacer:focus-within .widget-chrome-tools{display:flex;position:absolute;left:4px;top:4px;z-index:5;background:#fff;border:1px dashed #94a3b8;border-radius:6px}
.pdf-render-widget.type-grid_spacer{background:transparent!important;border:0!important}

/* Drill-down: exact provider-level queries, breadcrumbs, and explicit hierarchy. */
.drill-dimension-editor-row{display:flex;align-items:center;gap:8px;margin-bottom:8px}
.drill-dimension-editor-row .field{flex:1;min-width:0}.drill-dimension-editor-row>span{min-width:22px}
.table-drill-navigation{display:flex;flex-direction:column;gap:5px;margin-bottom:10px}
.drill-breadcrumbs{display:flex;flex-wrap:wrap;align-items:center;gap:7px}
.drill-crumb,.drill-row-button{border:0;background:transparent;color:var(--accent,#4f46e5);cursor:pointer;font:inherit;padding:2px 4px;text-align:left}
.drill-crumb:hover,.drill-row-button:hover{text-decoration:underline}
.drill-row-button{width:100%;display:inline-flex;justify-content:space-between;gap:12px}
.drill-row-button span{opacity:.7}.table-drill-navigation small{opacity:.75}

/* 48-column-aware nested section layouts. */
.section-nested-grid{grid-template-columns:repeat(var(--nested-columns,12),minmax(0,1fr))}
.styled-report-section .section-nested-grid{grid-template-columns:repeat(var(--nested-columns,12),minmax(0,1fr))}
@media print{.section-nested-grid{grid-template-columns:repeat(var(--nested-columns,12),minmax(0,1fr))}}
@media(max-width:767px){.section-nested-grid{display:flex}}
/* Spacer outlines are visible only inside interactive editors. */
body:has(.section-layout-bar) .widget.type-spacer,body:has(.section-layout-bar) .widget.type-grid_spacer{outline:2px dashed #818cf8!important;outline-offset:-2px;background:repeating-linear-gradient(135deg,rgba(99,102,241,.10) 0 9px,rgba(99,102,241,.025) 9px 18px)!important;min-height:42px!important;position:relative}
body:has(.section-layout-bar) .widget.type-spacer::before,body:has(.section-layout-bar) .widget.type-grid_spacer::before{content:'Spacer · klik for at redigere eller fjerne';position:absolute;left:10px;top:10px;font-size:11px;font-weight:650;color:#5146a8;pointer-events:none}
body:has(.section-layout-bar) .widget.type-spacer .widget-chrome-tools,body:has(.section-layout-bar) .widget.type-grid_spacer .widget-chrome-tools{display:flex!important;position:absolute;right:6px;left:auto;top:5px;z-index:12;background:white;border:1px solid #a5b4fc;border-radius:7px}
body:has(.section-layout-bar) .widget.type-grid_spacer .widget-resize,body:has(.section-layout-bar) .widget.type-spacer .widget-resize{opacity:1}
.pdf-editor-page .widget.type-spacer,.pdf-editor-page .widget.type-grid_spacer{outline:2px dashed #818cf8!important;background:rgba(99,102,241,.08)!important}
.pdf-editor-page .widget.type-spacer::before,.pdf-editor-page .widget.type-grid_spacer::before{content:'Spacer';color:#5146a8;font-size:11px;position:absolute;top:40%;left:15px}
/* Keep table export action separate from floating move/edit controls. */
.widget .table-copy-toolbar{padding:8px 12px 4px;min-height:42px;justify-content:flex-start;position:relative;z-index:1}
.widget .table-copy-toolbar .btn{position:relative;z-index:1;white-space:nowrap}
.widget .widget-chrome-tools{z-index:6}
.widget-font-stepper{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:10px;border:1px solid #ddd6fe;border-radius:9px;margin-bottom:12px}.widget-font-stepper small{flex-basis:100%}
.text-note-body h1{font-size:2em;line-height:1.2}.text-note-body h2{font-size:1.6em;line-height:1.3}.text-note-body h3{font-size:1.3em;line-height:1.4}

/* Widget typography adjustments: always visible with an immediate live sample. */
.widget-typography-live .widget-font-stepper{background:var(--surface-subtle,#f8fafc);border:1px solid var(--border,#dbe2ea);padding:12px;border-radius:12px}
.widget-font-live-preview{display:grid;gap:8px;padding:14px;border:1px dashed var(--border,#cbd5e1);border-radius:12px;background:var(--surface,#fff);min-height:130px}
.widget-font-live-preview>div{display:flex;gap:12px;align-items:baseline}
.widget-font-live-preview [data-preview-font="subtitle"]{color:var(--muted,#64748b)}
.widget-font-live-preview [data-preview-font="comparison"]{color:#138351}

/* Mobile page navigation: desktop sidebar remains unchanged. */
.mobile-report-page-controls,.mobile-page-sheet{display:none}
@media(max-width:700px){
  .report-page-layout.has-page-nav{display:block}
  .report-page-layout.has-page-nav>.report-page-nav{display:none}
  .report-surface:has(.mobile-report-page-controls){padding-bottom:calc(92px + env(safe-area-inset-bottom,0px))}
  .mobile-report-page-controls{display:block;position:fixed;left:0;right:0;bottom:0;z-index:1050;padding:10px 14px calc(10px + env(safe-area-inset-bottom,0px));background:var(--report-surface,#fff);box-shadow:0 -6px 24px rgba(15,23,42,.12);border-top:1px solid var(--border,#e2e8f0)}
  .mobile-page-trigger{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:58px;padding:9px 16px;border-radius:13px;border:1px solid var(--border,#e2e8f0);background:var(--report-primary,var(--primary,#4f46e5));color:#fff;text-align:left;cursor:pointer}
  .mobile-page-trigger>span:first-child{display:flex;flex-direction:column;gap:3px;min-width:0}
  .mobile-page-trigger small{font-size:11px;font-weight:600;opacity:.82}
  .mobile-page-trigger strong{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .mobile-page-trigger-end{display:flex;align-items:center;gap:15px;flex:none;font-size:13px;font-weight:700;margin-left:10px}
  .mobile-page-trigger-end span{font-size:22px}
  .mobile-page-sheet{display:flex;position:fixed;inset:0;z-index:1100;flex-direction:column;overflow:hidden;background:var(--report-surface,#fff);color:var(--report-text,var(--ink,#0f172a));padding:calc(22px + env(safe-area-inset-top,0px)) 18px calc(18px + env(safe-area-inset-bottom,0px))}
  .mobile-page-sheet-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 3px 18px;border-bottom:1px solid var(--border,#e2e8f0)}
  .mobile-page-sheet-header small{font-size:12px;color:var(--report-muted,#64748b)}
  .mobile-page-sheet-header h2{font-size:23px;margin:4px 0 0}
  .mobile-page-close{width:48px;height:48px;flex:none;border:1px solid var(--border,#e2e8f0);border-radius:14px;background:transparent;color:inherit;font-size:30px;cursor:pointer}
  .mobile-page-sheet-list{flex:1;overflow:auto;overscroll-behavior:contain;padding:14px 0}
  .mobile-page-sheet-item{display:grid;grid-template-columns:45px minmax(0,1fr) 25px;align-items:center;gap:12px;min-height:64px;width:100%;padding:8px 12px;border:1px solid var(--border,#e2e8f0);border-radius:13px;margin:0 0 9px;background:transparent;color:inherit;text-align:left;font-size:16px;font-weight:650;cursor:pointer}
  .mobile-page-sheet-item.active{border-color:var(--report-primary,var(--primary,#4f46e5));background:color-mix(in srgb,var(--report-primary,var(--primary,#4f46e5)) 9%,white)}
  .mobile-page-sheet-index{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:color-mix(in srgb,var(--report-primary,var(--primary,#4f46e5)) 10%,white);font-size:14px}
  .mobile-page-sheet-footer button{min-height:52px;width:100%;border:1px solid var(--border,#e2e8f0);border-radius:12px;background:transparent;color:inherit;font-size:15px}
  body.mobile-page-picker-open{overflow:hidden}
}
@media print{.mobile-report-page-controls,.mobile-page-sheet{display:none!important}.report-surface:has(.mobile-report-page-controls){padding-bottom:0!important}}

/* Direct, non-disruptive font sizing in widget edit controls. */
.widget-quick-font{display:inline-flex;align-items:center;flex:0 0 auto;gap:2px;margin-inline:3px;padding:2px;border:1px solid #dbe3ef;border-radius:9px;background:rgba(248,250,252,.94)}
.widget-font-quick-button{display:grid;place-items:center;width:26px;height:26px;padding:0;border:0;border-radius:6px;background:transparent;color:#475569;font-size:19px;font-weight:600;line-height:1;cursor:pointer}
.widget-font-quick-button:hover{background:#e0e7ff;color:#4338ca}
.widget-font-quick-button:focus-visible{outline:2px solid #6366f1;outline-offset:1px}
.widget-quick-font.adjusted{border-color:#a5b4fc}
.widget.widget-chrome-hidden .widget-quick-font{background:#fff}
.pdf-print-widget .widget-quick-font,.pdf-print-root .widget-quick-font{display:none!important}

/* v13 - match every single-metric primary value, not only the classic presentation. */
.widget.typo-value .single-metric-sparkline-card > strong,
.widget.typo-value .single-metric-compact-value,
.widget.typo-value .single-period-row > strong,
.widget.typo-value .single-metric-bars-head > b,
.widget.typo-value .single-metric-compact-compare > b,
.widget.typo-value .single-metric-compact-compare > span {font-size:var(--widget-value-size)!important}
/* Uniform SVG actions for thumb-friendly mobile Page view. */
.mobile-nav-icon{display:block;width:19px;height:19px;flex:none}
.mobile-page-trigger-end .mobile-nav-icon{width:20px;height:20px}
.mobile-page-sheet-item > span:last-child{display:flex;align-items:center;justify-content:center}
.mobile-page-sheet-item > span:last-child .mobile-nav-icon{width:18px;height:18px}
.mobile-page-close{display:inline-flex;align-items:center;justify-content:center;padding:0;line-height:1}
.mobile-page-close .mobile-nav-icon{width:20px;height:20px}

.drill-pagination{display:flex;gap:12px;align-items:center;justify-content:center;flex-wrap:wrap;padding:12px 8px}.drill-pagination button{border:1px solid var(--border,#d9dfe8);border-radius:8px;background:transparent;padding:9px 14px;cursor:pointer}.drill-pagination button:disabled{opacity:.4;cursor:default}.drill-pagination span{font-size:12px;color:var(--muted,#64748b)}

/* Widget Builder 2.0 – integrated controls and persistent inspector */
.wb20-editor{min-width:0}.wb20-intro{padding:7px 2px 17px}.wb20-intro>div{display:flex;flex-direction:column;gap:4px}.wb20-intro strong{font-size:17px}.wb20-intro span{font-size:12px;color:var(--muted,#64748b)}
.wb20-tabs{display:flex;gap:5px;padding:5px;border:1px solid var(--border,#dbe2ea);border-radius:12px;background:var(--surface-subtle,#f8fafc);margin-bottom:16px;overflow-x:auto}
.wb20-tab{font:inherit;white-space:nowrap;flex:1;border:0;border-radius:9px;background:transparent;color:var(--muted,#64748b);font-size:12px;font-weight:700;padding:10px 9px;cursor:pointer;display:flex;align-items:center;gap:7px;justify-content:center}.wb20-tab.active{background:var(--surface,#fff);color:var(--primary,#4f46e5);box-shadow:0 1px 5px #0f172a12}.wb20-tab:focus-visible{outline:2px solid var(--primary,#4f46e5);outline-offset:1px}.wb20-tab-index{border:1px solid currentColor;opacity:.8;border-radius:50%;width:18px;height:18px;display:grid;place-items:center;font-size:10px}
.wb20-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,315px);gap:18px;align-items:start}.wb20-controls{min-width:0}.wb20-pane[hidden]{display:none!important}.wb20-pane>.widget-builder-step:first-child{margin-top:0}.wb20-pane .widget-builder-step{margin-bottom:12px}
.wb20-inspector{position:sticky;top:4px;border:1px solid var(--border,#dbe2ea);background:var(--surface,#fff);border-radius:15px;overflow:hidden;min-width:0}.wb20-inspector-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:15px;border-bottom:1px solid var(--border,#dbe2ea)}.wb20-inspector-head>div{display:flex;flex-direction:column;gap:3px}.wb20-inspector-head strong{font-size:12px}.wb20-inspector-head small{font-size:10px;color:var(--muted,#64748b)}.wb20-inspector-head .btn{font-size:10px;white-space:nowrap}.wb20-canvas{padding:20px 14px;background:repeating-linear-gradient(45deg,#f3f5f9,#f3f5f9 8px,#e9edf3 8px,#e9edf3 9px)}.wb20-preview-card{min-height:210px;border:1px solid #dfe5ee;border-radius:12px;box-shadow:0 12px 23px #0f172a12;padding:16px;display:flex;flex-direction:column;gap:8px}.wb20-preview-kicker{font-size:10px;color:#64748b}.wb20-preview-card>[data-wb20-title]{font-size:14px;color:#18243b;word-break:break-word}.wb20-placeholder{min-height:102px;border-radius:8px;border:1px dashed #cbd5e1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;background:#f8fafc;color:#334155;text-align:center}.wb20-placeholder strong{font-size:12px}.wb20-placeholder small{font-size:9px;color:#64748b;padding:0 10px}.wb20-field-list{display:flex;gap:4px;flex-wrap:wrap}.wb20-field-chip{background:#eef2ff;color:#4338ca;border-radius:5px;padding:4px 6px;font-size:10px}.wb20-preview-status{padding:10px 14px;font-size:11px;color:var(--muted,#64748b);border-bottom:1px solid var(--border,#dbe2ea)}.wb20-status-error{color:#be123c}.wb20-summary{padding:13px 14px;display:grid;gap:10px}.wb20-summary>div{display:flex;justify-content:space-between;gap:7px;font-size:11px}.wb20-summary span{color:var(--muted,#64748b)}.wb20-summary strong{text-align:right;overflow-wrap:anywhere}
@media(max-width:960px){.wb20-workspace{grid-template-columns:minmax(0,1fr)}.wb20-inspector{position:static;grid-row:1}.wb20-canvas{padding:12px}.wb20-preview-card{min-height:140px}.wb20-placeholder{min-height:60px}.wb20-summary{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.wb20-tab{font-size:11px;padding:9px 7px}.wb20-tab-index{display:none}.wb20-summary{grid-template-columns:1fr}.wb20-inspector-head{flex-wrap:wrap}}

/* Widget Builder 2.0: the same widget renderer as the report, isolated and read-only. */
.wb20-canvas{padding:12px;background:#eef1f6;min-height:230px;overflow:hidden}
.wb20-live-preview{width:100%;pointer-events:none;overflow:hidden}
.wb20-live-preview .widget{width:100%;min-width:0;min-height:240px;height:auto!important;max-height:410px;overflow:auto;margin:0;box-shadow:0 10px 22px #0f172a14}
.wb20-live-preview .widget-actions,.wb20-live-preview .widget-resize,.wb20-live-preview .widget-chrome-tools{display:none!important}
.wb20-live-preview .widget-body{min-height:145px}
.wb20-live-preview .chart-container{min-height:170px}
.wb20-live-preview .widget canvas,.wb20-live-preview .widget svg{max-width:100%}
.wb20-live-empty{min-height:190px;display:grid;place-items:center;text-align:center;padding:18px;border:1px dashed #cbd5e1;border-radius:10px;background:white;color:#64748b;font-size:12px}

/* Widget Builder 2.0: interactive real-render preview inspector. */
.wb20-preview-tools{display:flex;align-items:center;gap:6px;padding:9px 12px;background:var(--surface,#fff);border-bottom:1px solid var(--border,#dbe2ea)}
.wb20-preview-tools .btn[aria-pressed="true"]{background:#dce8f8;color:#1e40af;border-color:#93b4e5}
.wb20-preview-tool-spacer{flex:1}
.wb20-canvas.wb20-mobile .wb20-live-preview{max-width:350px;margin:0 auto}
.wb20-canvas.wb20-mobile{overflow-x:auto}

/* Widget Builder 2.0 visual editing: all controls target existing persisted form fields. */
.wb20-direct-design{display:flex;align-items:end;flex-wrap:wrap;gap:9px;padding:11px 12px;border-bottom:1px solid var(--border,#dbe2ea);background:var(--surface,#fff)}
.wb20-direct-design label{font-size:10px;font-weight:650;color:var(--muted,#64748b);display:flex;flex-direction:column;gap:5px}
.wb20-direct-title{min-width:140px;flex:1}.wb20-direct-title input{width:100%;box-sizing:border-box;padding:8px;border:1px solid var(--border,#dbe2ea);border-radius:8px;background:var(--surface,#fff);color:var(--text,#111827);font:inherit;font-size:12px}
.wb20-direct-color input{height:33px;width:45px;border:1px solid var(--border,#dbe2ea);border-radius:7px;background:transparent;cursor:pointer}
.wb20-direct-design .btn{min-height:33px}.wb20-direct-title input:focus-visible{outline:2px solid var(--primary,#4f46e5);outline-offset:1px}

/* Widget Builder 2.0: direct layout manipulation, with accessible step buttons. */
.wb20-layout-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:10px 12px;background:var(--surface,#fff);border-bottom:1px solid var(--border,#dbe2ea)}
.wb20-layout-toolbar strong{font-size:11px;margin-right:auto}
.wb20-layout-toolbar [data-wb20-layout-label]{font-size:10px;color:var(--muted,#64748b);width:100%;text-align:right}
.wb20-canvas{position:relative;touch-action:pan-y}
.wb20-canvas .wb20-live-preview{max-width:var(--wb20-drag-width,100%);min-height:var(--wb20-drag-height,auto);transition:max-width .12s ease}
.wb20-resize-grip{position:absolute;right:9px;bottom:9px;width:34px;height:34px;border-radius:9px;border:1px solid #94a3b8;background:#fff;color:#334155;cursor:nwse-resize;font-size:22px;display:grid;place-items:center;touch-action:none;z-index:3}
.wb20-resize-grip:focus-visible{outline:3px solid var(--primary,#4f46e5);outline-offset:2px}
@media(max-width:600px){.wb20-layout-toolbar .btn{font-size:10px;padding:6px 8px}}

/* Widget Builder 2.0: scoped direct element typography inspector. */
.wb20-element-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:10px 14px;border-bottom:1px solid var(--border,#dbe2ea);font-size:12px}
.wb20-element-toolbar select{max-width:155px;min-height:32px;border:1px solid var(--border,#dbe2ea);border-radius:7px;padding:5px;background:var(--surface,#fff);color:inherit}
.wb20-element-toolbar output{min-width:62px;text-align:center;font-variant-numeric:tabular-nums}
.wb20-element-toolbar small{flex-basis:100%;color:var(--muted,#64748b)}
.wb20-live-preview .widget-heading h3,.wb20-live-preview .widget-heading p,.wb20-live-preview .widget-body{cursor:pointer}
.wb20-live-preview .wb20-element-selected{outline:2px dashed #6366f1;outline-offset:3px;border-radius:3px}

/* Widget Builder: drag-and-drop field ordering uses the same saved metric list. */
.wb20-metric-layout{padding:10px 14px;border-bottom:1px solid var(--border,#dbe2ea);display:grid;gap:5px}
.wb20-metric-layout>strong{font-size:12px}.wb20-metric-layout>small{font-size:11px;color:var(--muted,#64748b)}
.wb20-metric-layout-list{display:flex;flex-wrap:wrap;gap:6px}
.wb20-metric-chip{display:flex;align-items:center;gap:6px;padding:4px 7px;border:1px solid var(--border,#dbe2ea);border-radius:7px;background:var(--surface,#fff);cursor:grab;font-size:12px}
.wb20-metric-chip button{cursor:pointer;border:0;background:transparent;color:inherit;min-width:23px;min-height:28px}.wb20-metric-chip button:disabled{opacity:.3;cursor:default}

/* Widget Builder 2.0: persisted header/content stacking in report and preview. */
.widget.widget-header-bottom{display:flex;flex-direction:column}
.widget.widget-header-bottom>.widget-header{order:2;flex-shrink:0;border-top:1px solid var(--border);border-bottom:0}
.widget.widget-header-bottom>.widget-body{order:1;flex:1 1 auto;min-height:0}
.widget.widget-header-bottom>.widget-tabs{order:0}
.widget.widget-header-bottom>.data-warning{order:3}
.widget.widget-header-bottom>.widget-footer{order:4}
.widget.widget-header-bottom>.widget-chrome-tools{order:0}
.wb20-header-layout{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:9px 0}
.wb20-header-layout strong{font-size:11px;margin-right:5px}
.wb20-header-layout button[aria-pressed="true"]{background:#e0e7ff;color:#3730a3}
.wb20-header-layout [data-wb20-header-drag]{cursor:grab}

/* Widget Builder 2.0: persisted heading alignment, shared by editor and reports. */
.widget.widget-heading-align-center .widget-heading{text-align:center}
.widget.widget-heading-align-right .widget-heading{text-align:right}
.widget.widget-heading-align-left .widget-heading{text-align:left}
.wb20-layout-divider{font-size:11px;color:var(--muted);margin-left:8px}

/* Scoped content alignment: text and KPI cards only, never chart/table grids. */
.widget:is(.type-text,.type-single_metric,.type-metric).widget-content-align-left .widget-body{text-align:left}
.widget:is(.type-text,.type-single_metric,.type-metric).widget-content-align-center .widget-body{text-align:center}
.widget:is(.type-text,.type-single_metric,.type-metric).widget-content-align-right .widget-body{text-align:right}
.widget.type-single_metric.widget-content-align-center .widget-body :is(.single-metric-content,.single-metric-compact,.single-metric-bars){align-items:center}
.widget.type-single_metric.widget-content-align-right .widget-body :is(.single-metric-content,.single-metric-compact,.single-metric-bars){align-items:flex-end}

/* Widget Builder direct element size editor */
.wb20-element-size-label{display:inline-flex;align-items:center;gap:5px;font-size:12px}
.wb20-element-size-label input{width:69px;min-height:32px;padding:5px 7px;border:1px solid var(--border,#dbe2ea);border-radius:7px;background:var(--surface,#fff);color:inherit;font:inherit}

/* Widget Builder: per-element visibility in reports, PDF and previews. */
.widget.widget-subtitle-hidden .widget-heading>p{display:none}
.widget.widget-footer-hidden>.widget-footer{display:none}

/* Builder: source icon visibility is persisted in elementLayout and applies to reports/PDF. */
.widget.widget-source-icon-hidden>.widget-header>.source-icon{display:none}

/* Saved element layout: move footer before the body in the shared renderer. */
.widget.widget-footer-top{display:flex;flex-direction:column}
.widget.widget-footer-top>.widget-footer{order:-1;flex-shrink:0;border-bottom:1px solid var(--border);border-top:0}
.widget.widget-footer-top.widget-header-bottom>.widget-footer{order:-1}

/* Simplified Widget Builder: forms span the modal, with no live-preview sidebar. */
#widget-form .wb20-workspace{display:block;grid-template-columns:minmax(0,1fr)}
#widget-form .wb20-controls{width:100%;max-width:none;min-width:0}
#widget-form .wb20-inspector{display:none}

/* Metric Studio design collection: reusable across on-screen reports and print/PDF. */
.table-wrap.table-style-boardroom{padding:8px 12px}.table-style-boardroom .data-table{border-collapse:separate;border-spacing:0}.table-style-boardroom .data-table thead th{background:#17233d!important;color:#f8fafc!important;font-weight:700;letter-spacing:.02em;text-transform:none;padding:13px 12px}.table-style-boardroom .data-table thead th:first-child{border-radius:8px 0 0 0}.table-style-boardroom .data-table thead th:last-child{border-radius:0 8px 0 0}.table-style-boardroom .data-table td{padding:11px 12px;border-bottom:1px solid #e2e8f0}.table-style-boardroom .data-table tbody tr:hover td{background:#f1f5f9!important}.table-style-boardroom .data-table tfoot td{font-weight:750;background:#eef2ff!important;border-top:2px solid #64748b}
.table-wrap.table-style-ledger{padding:8px 10px}.table-style-ledger .data-table{font-variant-numeric:tabular-nums;border-collapse:collapse}.table-style-ledger .data-table th{background:transparent!important;text-transform:uppercase;font-size:.85em;letter-spacing:.07em;border-bottom:2px solid #334155;padding:12px 10px}.table-style-ledger .data-table td{padding:12px 10px;border-bottom:1px solid #e2e8f0}.table-style-ledger .data-table .numeric{text-align:right;font-variant-numeric:tabular-nums;font-weight:600}.table-style-ledger .data-table tfoot td{border-top:2px solid #334155;font-weight:800}
.table-wrap.table-style-stripe{padding:8px 14px}.table-style-stripe .data-table{border-collapse:separate;border-spacing:0}.table-style-stripe .data-table th{background:transparent!important;border-bottom:1px solid #cbd5e1;padding:14px 12px;text-transform:none}.table-style-stripe .data-table tbody tr:nth-child(even) td{background:#f7f9fc!important}.table-style-stripe .data-table tbody td{padding:15px 12px;border-bottom:0}.table-style-stripe .data-table tfoot td{background:#eaf0f9!important;font-weight:750;padding:13px 12px}
.single-metric-premium{display:flex;flex:1;min-height:0;flex-direction:column;justify-content:center;gap:12px;padding:clamp(14px,3vw,30px);overflow:hidden}.single-metric-premium-eyebrow{color:#64748b;text-transform:uppercase;font-weight:700;letter-spacing:.085em;font-size:var(--widget-label-size,11px)}.single-metric-premium-value{font-size:var(--widget-value-size,clamp(27px,3.8vw,54px));font-weight:770;letter-spacing:-.045em;line-height:1.13;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.single-metric-premium-foot{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:var(--widget-comparison-size,11px)}.single-metric-premium-trend{border-radius:100px;padding:6px 10px;background:#eaf7ee;color:#166534;font-weight:750}.single-metric-premium-trend.comparison-negative{background:#fff1f2;color:#be123c}.single-metric-premium-period{color:#64748b}.single-metric-spotlight{background:linear-gradient(135deg,#0f172a,#233c63);color:#fff;border-radius:12px}.single-metric-spotlight .single-metric-premium-eyebrow,.single-metric-spotlight .single-metric-premium-period{color:#cbd5e1}.single-metric-spotlight .single-metric-premium-trend{background:#e2e8f0;color:#0f172a}.single-metric-spotlight .single-metric-premium-trend.comparison-negative{background:#ffe4e6;color:#881337}
.widget-skeleton{display:flex;flex:1;flex-direction:column;justify-content:center;gap:15px;min-height:100px;padding:24px 18px}.widget-skeleton-bar{height:13px;width:100%;border-radius:7px;background:linear-gradient(90deg,#e2e8f0 20%,#f1f5f9 50%,#e2e8f0 80%);background-size:200% 100%;animation:widget-skeleton-pulse 1.6s linear infinite}.widget-skeleton-bar.short{width:36%}.widget-skeleton-bar.value{width:68%;height:33px}.widget-skeleton-bar.medium{width:54%}@keyframes widget-skeleton-pulse{to{background-position:-200% 0}}@media(prefers-reduced-motion:reduce){.widget-skeleton-bar{animation:none}}@media print{.widget-skeleton-bar{animation:none}.table-wrap.table-style-boardroom,.table-wrap.table-style-ledger,.table-wrap.table-style-stripe,.single-metric-premium{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
/* Responsive chart design collection (report and print share the same widget renderer). */
.data-chart.chart-design-editorial .chart-grid{stroke-dasharray:2 6;opacity:.55}
.data-chart.chart-design-minimal .chart-grid{opacity:.16}
.data-chart.chart-design-minimal .chart-tick{opacity:.75}
.data-chart.chart-design-executive rect{rx:3px}
.data-chart.chart-design-smooth path[fill]:not([fill="none"]){opacity:.16}
/* Container breakpoints follow individual widget widths, not the browser viewport. */
.widget{container-type:inline-size;min-width:0}
.widget .widget-body{min-width:0;overflow:hidden}
.widget .chart-responsive,.widget .chart-container{min-width:0;max-width:100%}
.widget .data-table{font-variant-numeric:tabular-nums}
.widget .table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
.widget .kpi-value,.widget .single-metric-premium strong,.widget .single-metric-sparkline-card strong{overflow-wrap:anywhere;font-size:clamp(1.1rem,5cqi,2.5rem)}
@container (max-width:420px){
 .widget .widget-header{gap:6px;padding:10px 12px}
 .widget .widget-heading h3{font-size:clamp(12px,3.6cqi,17px)}
 .widget .kpi-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr))}
 .widget .kpi-tile{min-width:0;padding:12px}
 .widget .chart-legend{gap:6px;font-size:10px;flex-wrap:wrap}
 .widget .data-table td,.widget .data-table th{padding:7px 9px}
}
@container (max-width:260px){
 .widget .widget-heading p{display:none}
 .widget .kpi-grid{grid-template-columns:minmax(0,1fr)}
 .widget .widget-body{padding-inline:4px}
}
@media print{
 .widget{container-type:normal}
 .pdf-render-widget{container-type:inline-size}
 .pdf-render-widget .data-chart{max-width:100%}
 .pdf-render-widget .table-wrap{overflow:visible}
}

/* October bug audit: shared links use the same usable report width as the editor. */
.public-shell .content{width:100%;max-width:none;box-sizing:border-box;}
.public-shell .report-surface{min-width:0;width:100%;}
/* Tables scroll inside a single bounded viewport; sticky header/footer stay opaque. */
.widget .widget-body:has(.table-wrap){overflow:hidden;min-height:0;}
.widget .table-wrap{position:relative;isolation:isolate;min-height:0;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;}
.widget .table-wrap{position:relative;isolation:isolate}
.widget .table-wrap .data-table thead{position:relative;z-index:5}
.widget .table-wrap .data-table th{background:var(--table-header-bg,#f8fafc);background-clip:padding-box;z-index:8;box-shadow:inset 0 -1px 0 var(--border,#e2e8f0),0 1px 0 rgba(148,163,184,.08)}
.widget .table-wrap .data-table tbody td{position:relative;z-index:1}
.widget .table-wrap .data-table tfoot td{position:sticky;bottom:0;background:var(--table-totals-bg,#f8fafc);z-index:4;box-shadow:inset 0 1px 0 var(--border,#e2e8f0)}
/* In-table drill controls are contextual row actions rather than raw text links. */
.drill-breadcrumbs{display:flex;align-items:center;gap:6px;flex-wrap:wrap;}
.drill-crumb{border:1px solid #e2e8f0;background:#fff;border-radius:999px;color:#475569;font-size:11px;font-weight:600;padding:6px 10px;transition:background .15s,border-color .15s;}
.drill-crumb:hover{background:#eef2ff;border-color:#c7d2fe;color:#4338ca;text-decoration:none;}
.drill-row-button{display:flex;align-items:center;width:100%;gap:10px;padding:7px 9px;margin:-7px -9px;border-radius:7px;min-width:0;color:var(--accent,#4f46e5);font-weight:600;transition:background .15s;}
.drill-row-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.drill-row-arrow{margin-left:auto;border-radius:6px;background:#eef2ff;padding:2px 7px;opacity:1;font-size:13px;}
.drill-row-button:hover{background:#eef2ff;text-decoration:none;}
.drill-row-button:focus-visible,.drill-crumb:focus-visible{outline:2px solid #6366f1;outline-offset:2px;}
/* Width-aware widget sizing, including the premium single-value variants. */
.widget .widget-body,.widget .kpi-content,.widget .chart-container,.widget .single-metric-compact{min-width:0;}
.widget .data-chart{width:100%;max-width:100%;height:auto;min-height:0;}
@container (max-width:320px){.widget .single-metric-premium strong,.widget .kpi-value{font-size:clamp(16px,7cqi,28px)}.widget .chart-legend{font-size:9px;gap:4px}.widget .widget-heading{min-width:0}.widget .widget-heading h3{overflow-wrap:anywhere}.widget .table-wrap .data-table{font-size:10px;}}

/* PDF ad cards honor the selected widget height. Media shrinks before print overflows. */
.pdf-render-widget.type-snapchat_ads_feed .snapchat-native-preview,
.pdf-render-widget.type-linkedin_ads_feed .linkedin-native-preview,
.pdf-render-widget.type-meta_ads_feed .meta-native-media{height:var(--pdf-feed-media-height,125px)!important;max-height:var(--pdf-feed-media-height,125px)!important;min-height:0!important;overflow:hidden;}
.pdf-render-widget.type-snapchat_ads_feed .snapchat-native-preview video,
.pdf-render-widget.type-snapchat_ads_feed .snapchat-native-preview img{height:100%;width:100%;object-fit:contain;}
.pdf-render-widget.type-linkedin_ads_feed .linkedin-native-preview iframe{height:100%;max-height:100%;width:100%;}
.pdf-render-widget.type-linkedin_ads_feed .linkedin-native-preview{background:#f8fafc;}
.pdf-render-widget .meta-feed-grid{min-width:0;}
.pdf-render-widget .meta-feed-card{min-width:0;overflow:hidden;}
.pdf-render-widget .meta-feed-card-head,.pdf-render-widget .meta-feed-metrics{min-width:0;}
.pdf-render-widget .meta-feed-metrics{overflow:hidden;}
.pdf-render-widget .meta-feed-metric{min-width:0;}
.pdf-render-widget .meta-feed-metric strong{overflow-wrap:anywhere;}
/* Overflow indicates a print constraint, never a disabled Save action. */
.pdf-editor-page.pdf-overflow:after{content:'Indholdet kan blive beskåret ved print – layoutet kan stadig gemmes';max-width:85%;white-space:normal;}

.pdf-render-widget.type-linkedin_ads_feed .linkedin-native-preview iframe{position:absolute;left:0;top:0;max-height:none!important;max-width:none!important;border:0;}
.pdf-render-widget.type-linkedin_ads_feed .linkedin-native-preview{position:relative;}
@media print{.pdf-render-widget.type-linkedin_ads_feed .linkedin-preview-open{display:none!important;}}

/* Mobile/narrow table fix: one bounded scrollport, no overlapping sticky table rows.
   On phones the table header and total are part of the content, rather than
   independently pinned layers that obscure rows during touch scrolling. */
@media screen and (max-width:760px){
  .widget:has(.table-wrap) .widget-body{min-height:0;min-width:0;overflow:hidden;overscroll-behavior:contain;}
  .widget .table-wrap{flex:1 1 0;min-height:0;min-width:0;max-height:100%;width:100%;overflow-x:auto;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-x pan-y;-webkit-overflow-scrolling:touch;}
  .widget .table-wrap .data-table{border-collapse:separate;border-spacing:0;}
  .widget .table-wrap .data-table thead th,
  .widget .table-wrap .data-table tfoot td{position:static;top:auto;bottom:auto;z-index:auto;}
}
/* A narrow widget can also occur in a wide desktop report or shared view. */
@container (max-width:420px){
  .widget .table-wrap .data-table{border-collapse:separate;border-spacing:0;}
  .widget .table-wrap .data-table thead th,
  .widget .table-wrap .data-table tfoot td{position:static;top:auto;bottom:auto;z-index:auto;}
}

/* Mobile table scroll opt-in: swipes go to the report until the table is activated. */
.mobile-table-scroll-toggle{display:none}
@media screen and (max-width:760px){
  .widget:has(.table-wrap) .widget-body{position:relative;overscroll-behavior:auto}
  .widget .mobile-table-scroll-toggle{display:block;position:relative;z-index:4;align-self:flex-start;flex:0 0 auto;margin:7px 10px 5px;padding:7px 11px;border:1px solid #c7d2fe;border-radius:7px;background:#eef2ff;color:#3730a3;font-size:11px;font-weight:600;line-height:1.3;cursor:pointer;touch-action:manipulation}
  .widget .table-wrap{overflow-x:hidden;overflow-y:hidden;touch-action:pan-y;overscroll-behavior:auto;-webkit-overflow-scrolling:auto}
  .widget.mobile-table-scroll-active .table-wrap{overflow-x:auto;overflow-y:auto;touch-action:pan-x pan-y;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
  .widget.mobile-table-scroll-active .mobile-table-scroll-toggle{background:#dcfce7;border-color:#86efac;color:#166534}
}
@media print{.mobile-table-scroll-toggle{display:none!important}}

/* Editor-only widget clipboard menu. No copy affordances in public links or PDF. */

/* Phase 1 read-only AI report panel */

/* Customer-scoped AI settings; no report/widget layout changes. */
.ms-ai-settings-card{max-width:1160px;margin-top:18px}
.ms-ai-context-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 22px;margin:22px 0}
.ms-context-field{min-width:0;display:flex;flex-direction:column;gap:7px}
.ms-context-field textarea{resize:vertical;min-height:105px;width:100%;box-sizing:border-box;padding:12px 14px;background:var(--surface,#fff);border:1px solid var(--border,#d9dde7);border-radius:10px;color:inherit;font:inherit;line-height:1.5}
.ms-context-field textarea:focus{outline:2px solid #6366f1;outline-offset:1px}
@media(max-width:780px){.ms-ai-context-grid{grid-template-columns:1fr}}

/* Metric Studio premium donut and column skins (SVG-only; report/PDF safe). */
.donut-modern{display:flex;align-items:center;justify-content:center;gap:16px;width:100%;height:100%;min-height:175px;padding:5px 6px;color:var(--report-text,#0f172a);min-width:0}
.donut-modern-plot{flex:1 1 54%;display:grid;place-items:center;min-width:0;min-height:0;max-width:440px;height:100%}
.donut-modern-svg,.donut-modern-plot svg{display:block;width:100%;height:100%;max-width:330px;max-height:335px;overflow:visible}
.donut-modern-center{text-anchor:middle;pointer-events:none}
.donut-modern-total{font-family:Geist,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:26px;font-weight:750;letter-spacing:-.035em;fill:var(--report-text,#111827);font-variant-numeric:tabular-nums}
.donut-modern-center-label{font:500 12px Geist,Inter,sans-serif;fill:var(--report-muted,#64748b)}
.donut-modern-legend{flex:0 1 45%;display:flex;flex-direction:column;gap:9px;min-width:0;max-height:100%;overflow-y:auto;scrollbar-width:thin;padding:5px 2px}
.donut-modern-legend-row{display:grid;grid-template-columns:10px minmax(0,1fr) auto;align-items:center;gap:9px;font-size:11px;line-height:1.45;min-width:0;color:var(--report-muted,#64748b)}
.donut-modern-legend-row i{display:block;width:9px;height:9px;border-radius:50%;flex:none}
.donut-modern-legend-row span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.donut-modern-legend-row b{font-weight:700;font-size:10px;font-variant-numeric:tabular-nums;color:var(--report-text,#0f172a);white-space:nowrap;text-align:right}
.donut-modern.legend-bottom{flex-direction:column;gap:7px}
.donut-modern.legend-bottom .donut-modern-plot{flex:1 1 auto;width:100%;min-height:120px}
.donut-modern.legend-bottom .donut-modern-legend{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:6px 18px;flex:0 0 auto;width:100%;max-width:100%;max-height:92px;overflow-y:auto}
.donut-modern.legend-none .donut-modern-plot{flex:1;max-width:100%}
.donut-modern.donut-design-three_d .donut-modern-plot svg{max-width:350px}
.donut-modern .donut-three-d-side{stroke:none}
.chart-modern-value{fill:var(--report-text,#0f172a);font-family:Geist,Inter,sans-serif;font-size:10px;font-weight:700;pointer-events:none}
.chart-modern-value.is-inside{fill:white}
.chart-sculpted-front{filter:drop-shadow(0 1px 1px rgba(15,23,42,.12))}
.chart-legend .bar-overlay-legend i{width:20px;height:0;border-radius:0;border-top:3px solid var(--report-text,#0f172a);background:transparent!important}
.chart-design-slider{padding:4px 0;min-width:0}
.chart-design-slider>span{display:flex;align-items:center;justify-content:space-between;gap:12px}
.chart-design-slider output{font-weight:750;color:var(--report-primary,#4f46e5);font-variant-numeric:tabular-nums;white-space:nowrap}
.chart-design-slider input[type=range]{height:24px;min-height:24px;padding:0;border:0;box-shadow:none;accent-color:var(--report-primary,#4f46e5);background:transparent;cursor:pointer;width:100%}
.chart-skins-config{margin-top:12px}
.chart-skins-config .advanced-toggle-row{flex-wrap:wrap;gap:10px 18px}
@media(max-width:700px){.donut-modern{gap:9px;padding:4px;flex-wrap:wrap;align-content:center}.donut-modern-plot{min-width:150px;max-height:235px}.donut-modern-legend{min-width:115px;gap:5px}.donut-modern-legend-row{font-size:10px;gap:6px}.donut-modern-legend-row b{font-size:9px}}
@media(max-width:430px){.donut-modern.legend-right{flex-direction:column}.donut-modern.legend-right .donut-modern-plot{width:100%;flex:1 1 auto;min-height:160px}.donut-modern.legend-right .donut-modern-legend{flex:0 0 auto;width:100%;max-width:none;max-height:85px;overflow-y:auto}}
.pdf-render-widget .donut-modern{padding:1mm;min-height:0;gap:2mm}
.pdf-render-widget .donut-modern-plot{min-height:0}
.pdf-render-widget .donut-modern-plot svg{max-width:100%;max-height:100%;width:100%;height:100%}
.pdf-render-widget .donut-modern-legend{gap:1mm;padding:1mm 0}
.pdf-render-widget .donut-modern-legend-row{font-size:6.5pt;gap:1mm;grid-template-columns:2.5mm minmax(0,1fr) auto}
.pdf-render-widget .donut-modern-legend-row b{font-size:6pt}
.pdf-render-widget .donut-modern-legend-row i{width:2mm;height:2mm}
@media print{.chart-sculpted-front{filter:none}.donut-modern-plot svg{overflow:visible!important}}

.chart-sculpted-badge-text{fill:#fff;font-size:10px;font-family:Geist,Inter,sans-serif;font-weight:800;pointer-events:none;font-variant-numeric:tabular-nums}

/* Continuous PDF studio v6: one export sheet with a designed cover, unbounded
   widget canvas and a designed footer. The page height is measured at export. */
.pdf-continuous-builder .pdf-inline-settings-grid{grid-template-columns:repeat(3,minmax(225px,1fr));gap:18px}
.pdf-continuous-builder .pdf-inline-settings-grid .pdf-settings-group{padding:14px;border:1px solid #e2e8f0;border-radius:12px;background:#fbfcff;display:flex;flex-direction:column;gap:10px;min-width:0}
.pdf-continuous-builder .pdf-inline-settings-grid .pdf-settings-group h3{font-size:13px;color:#17233f}
.pdf-continuous-builder .pdf-inline-settings-grid .pdf-settings-group .field{min-width:0}
.pdf-continuous-builder .pdf-inline-settings-grid .pdf-settings-group input:not([type=checkbox]),.pdf-continuous-builder .pdf-inline-settings-grid .pdf-settings-group textarea,.pdf-continuous-builder .pdf-inline-settings-grid .pdf-settings-group select{width:100%;max-width:100%;padding:7px 10px;border:1px solid #d7dfec;border-radius:7px;background:#fff;font-size:11px}
.pdf-continuous-builder .pdf-inline-settings-grid .pdf-settings-group input[type=color]{height:37px;padding:3px!important;cursor:pointer}
.pdf-continuous-builder .pdf-settings-group small,.pdf-continuous-builder .pdf-settings-note{font-size:10px;color:#64748b;line-height:1.5}
.pdf-continuous-builder .pdf-settings-group .check{display:flex;gap:8px;align-items:center;font-size:11px}
.pdf-continuous-builder .pdf-settings-group .check input{accent-color:#4f46e5}
.pdf-continuous-builder .pdf-page-shell{margin:0 auto 16px}
.pdf-continuous-builder .pdf-page-label{width:var(--pdf-shell-width);margin-bottom:10px}
.pdf-continuous-sheet.pdf-page{width:var(--pdf-page-width,1800px);height:auto!important;min-height:0;display:flex;flex-direction:column;position:relative;overflow:visible!important;background:var(--pdf-content-bg,#fff);box-shadow:0 14px 48px rgba(16,31,60,.18)}
.pdf-continuous-sheet .pdf-region{position:relative;isolation:isolate;min-height:var(--pdf-region-height,150px);height:auto;display:flex;flex-direction:column;flex:none;justify-content:var(--pdf-region-vertical,center);background:var(--pdf-region-bg,#fff);color:var(--pdf-region-text,#17233f);box-sizing:border-box}
.pdf-continuous-sheet .pdf-region-cover,.pdf-continuous-sheet .pdf-region-footer{padding:var(--pdf-region-padding,52px);height:var(--pdf-region-height,400px);min-height:var(--pdf-region-height,400px);max-height:var(--pdf-region-height,400px);overflow:hidden}
.pdf-continuous-sheet .pdf-region-background{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none}
.pdf-continuous-sheet .pdf-region-background-image{width:100%;height:100%;object-fit:cover;object-position:var(--pdf-region-image-position,center)}
.pdf-continuous-sheet .pdf-region-overlay{position:absolute;inset:0;background:#000}
.pdf-continuous-sheet .pdf-region-content{position:relative;display:flex;flex-direction:column;gap:14px;width:100%;max-width:100%;min-width:0;justify-content:center}
.pdf-continuous-sheet .pdf-region-cover h1{font-size:clamp(18px,var(--pdf-cover-title-size,56px),140px);line-height:1.08;letter-spacing:-.035em;max-width:85%;color:inherit;overflow-wrap:anywhere}
.pdf-continuous-sheet .pdf-region-cover .pdf-region-content[style*="center"] h1,.pdf-continuous-sheet .pdf-region-cover .pdf-region-content[style*="flex-end"] h1{max-width:100%}
.pdf-continuous-sheet .pdf-cover-eyebrow{color:var(--pdf-region-accent,#546be8);font-size:13px;font-weight:780;text-transform:uppercase;letter-spacing:.12em}
.pdf-continuous-sheet .pdf-region-cover p{font-size:17px;line-height:1.5;max-width:72%;color:inherit;opacity:.85;overflow-wrap:anywhere}
.pdf-continuous-sheet .pdf-region-period{font-size:13px;display:inline-flex;gap:9px;align-items:center;padding:9px 12px;border-radius:8px;background:color-mix(in srgb,var(--pdf-region-accent) 11%,transparent);color:inherit;border:1px solid color-mix(in srgb,var(--pdf-region-accent) 24%,transparent)}
.pdf-continuous-sheet .pdf-region-period .icon{width:15px;height:15px;color:var(--pdf-region-accent)}
.pdf-continuous-sheet .pdf-region-accent-line{position:absolute;top:0;left:0;bottom:0;width:7px;background:var(--pdf-region-accent);pointer-events:none}
.pdf-continuous-sheet .pdf-cover-minimal .pdf-region-accent-line{width:0}
.pdf-continuous-sheet .pdf-cover-editorial .pdf-region-accent-line{inset:auto 0 0 0;height:9px;width:auto}
/* A dark, full-bleed cover must not inherit the standard 7px accent rail.
   If the accent is white it looks exactly like an unintended page margin. */
.pdf-continuous-sheet .pdf-cover-dark .pdf-region-accent-line{display:none}
.pdf-continuous-sheet .pdf-cover-dark{background:var(--pdf-region-bg,#17233f)}
.pdf-continuous-sheet .pdf-cover-dark .pdf-region-content{filter:none}
.pdf-continuous-sheet .pdf-zone-logo{width:var(--pdf-logo-width,180px);max-width:100%;height:auto;max-height:145px;display:flex;justify-content:inherit;flex:none}
.pdf-continuous-sheet .pdf-zone-logo .pdf-brand-logo,.pdf-continuous-sheet .pdf-zone-logo .pdf-brand-monogram{width:100%!important;height:auto!important;max-height:125px!important;min-height:42px;display:flex;align-items:center;justify-content:center;margin:0!important;border-radius:8px;background:transparent;border:0}
.pdf-continuous-sheet .pdf-zone-logo .pdf-brand-logo img{width:100%;height:100%;max-width:100%;max-height:120px;object-fit:contain;object-position:inherit}
.pdf-continuous-sheet .pdf-zone-logo .pdf-brand-monogram{font-size:36px;color:var(--pdf-region-accent)}
.pdf-continuous-sheet .pdf-region-widgets{min-height:var(--pdf-content-min-height,320px);height:auto!important;background:var(--pdf-content-bg,#fff);padding:var(--pdf-margin,32px);display:block;overflow:visible!important;flex:none}
.pdf-continuous-sheet .pdf-region-widget-inner{height:auto;min-height:0;width:100%;overflow:visible}
.pdf-continuous-sheet .pdf-page-content{display:block!important;overflow:visible!important;width:100%;height:auto!important;min-height:0;flex:none!important}
.pdf-continuous-sheet .pdf-nested-cell{display:block!important;overflow:visible!important;min-height:0!important;height:auto!important;width:100%;grid-column:auto!important;flex:none!important}
.pdf-continuous-sheet .pdf-page-grid{display:grid!important;grid-template-columns:repeat(48,minmax(0,1fr))!important;grid-auto-rows:32px!important;grid-auto-flow:row dense!important;column-gap:2px!important;row-gap:var(--pdf-gap,14px)!important;height:auto!important;overflow:visible!important;min-height:120px;align-content:start;width:100%;flex:none!important}
/* A narrow print page can activate general mobile widget styles, including
   .widget.type-table { max-height:470px }. The track still reserves its full
   row span, leaving a cropped table with a large blank rectangle underneath.
   Continuous PDF owns widget geometry in *all* viewport and print sizes. */
.pdf-continuous-sheet .pdf-page-grid>.pdf-render-widget{grid-column:span var(--width,24)!important;grid-row:span var(--height,8)!important;height:100%!important;max-height:none!important;overflow:hidden!important;min-width:0!important;min-height:0!important;align-self:stretch}
.pdf-continuous-sheet .pdf-render-widget .widget-body{min-height:0;flex:1}
/* Match the exact chosen PDF widget height. All remaining table rows stay
   clipped inside that height in BOTH the editor and the exported document. */
.pdf-continuous-sheet .pdf-render-widget:is(.type-table,.type-google_search_terms,.type-cohort)>.widget-body,
.pdf-continuous-sheet .pdf-render-widget .widget-body:has(.table-wrap){min-height:0!important;overflow:hidden!important}
.pdf-continuous-sheet .pdf-render-widget .widget-body .table-wrap{flex:1 1 0!important;min-height:0!important;max-height:100%!important;overflow:hidden!important}
.pdf-continuous-sheet .pdf-render-widget .widget-body .table-wrap .data-table tfoot td{position:static!important}
.pdf-continuous-sheet .pdf-render-widget.type-table .data-table{height:auto}
.pdf-continuous-sheet .pdf-region-footer .pdf-region-content{gap:10px}
.pdf-continuous-sheet .pdf-region-footer strong{font-size:var(--pdf-footer-font-size,16px);font-weight:680;color:inherit}
.pdf-continuous-sheet .pdf-region-footer p{font-size:calc(var(--pdf-footer-font-size,16px) * .86);line-height:1.5;color:inherit;max-width:760px;white-space:pre-line;overflow-wrap:anywhere;opacity:.78}
.pdf-continuous-sheet .pdf-region-footer-period{font-size:calc(var(--pdf-footer-font-size,16px) * .78);letter-spacing:.02em;color:var(--pdf-region-accent);font-weight:600}
.pdf-continuous-sheet .pdf-region-design-button{position:absolute;right:14px;top:14px;z-index:12;display:flex;align-items:center;gap:6px;padding:8px 11px;border:1px solid #d6deec;background:rgba(255,255,255,.97);color:#273550;border-radius:9px;font-size:11px;font-weight:700;box-shadow:0 2px 9px rgba(19,29,52,.12);opacity:0;transition:opacity .12s ease}
.pdf-continuous-sheet .pdf-region:hover>.pdf-region-design-button,.pdf-continuous-sheet .pdf-region-design-button:focus-visible{opacity:1}
.pdf-continuous-sheet .pdf-region-design-button .icon{width:14px;height:14px}
.pdf-continuous-sheet .pdf-editor-page.pdf-overflow:after{display:none}
.pdf-continuous-sheet.pdf-editor-page.pdf-overflow{outline:3px solid #e11d48;outline-offset:3px}
@media(max-width:1240px){.pdf-continuous-builder .pdf-inline-settings-grid{grid-template-columns:repeat(2,minmax(230px,1fr))}}
@media(max-width:780px){.pdf-continuous-builder .pdf-inline-settings-grid{grid-template-columns:minmax(0,1fr)}.pdf-continuous-builder .pdf-inline-settings-grid .pdf-settings-group{padding:12px}}
@media print{
  /* The export intentionally reserves a few rounding-safety pixels below
     the measured sheet. Paint them with the footer color, never white. */
  body.pdf-printing .pdf-page.pdf-continuous-sheet{background:var(--pdf-tail-bg,var(--pdf-content-bg,#fff))!important}
  body.pdf-printing .pdf-page.pdf-continuous-sheet{height:var(--pdf-export-height)!important;width:var(--pdf-page-width)!important;overflow:visible!important;margin:0!important;box-shadow:none!important;break-inside:avoid;break-after:auto!important;page-break-after:auto!important}
  body.pdf-printing .pdf-continuous-sheet .pdf-page-content,body.pdf-printing .pdf-continuous-sheet .pdf-page-grid,body.pdf-printing .pdf-continuous-sheet .pdf-nested-cell{overflow:visible!important;height:auto!important}
  body.pdf-printing .pdf-continuous-sheet .pdf-render-widget .widget-body:has(.table-wrap),
  body.pdf-printing .pdf-continuous-sheet .pdf-render-widget .widget-body .table-wrap{overflow:hidden!important;max-height:100%!important}
  /* Keep the widget's print box as tall as the editor's grid row span.
     Do not inherit any mobile max-height or legacy print constraints. */
  body.pdf-printing .pdf-continuous-sheet .pdf-page-grid>.pdf-render-widget{height:100%!important;max-height:none!important;min-height:0!important;overflow:hidden!important}
  body.pdf-printing .pdf-continuous-sheet .pdf-render-widget{break-inside:avoid;page-break-inside:avoid}
  body.pdf-printing .pdf-continuous-sheet .pdf-region-design-button,body.pdf-printing .pdf-continuous-sheet .pdf-grid-cell-label{display:none!important}
}

/* Match the report's branded CSS in the standalone PDF print tree.
   .report-surface.branding-active normally adds page padding and negative
   margins; those are editor-shell offsets, not part of the PDF geometry. */
.pdf-document.pdf-print-branding{
  margin:0;
  padding:0;
  min-height:0;
  background:transparent;
}

/* 2026-10-15: occupied-grid insertion preview in both report and PDF editors.
   Dashed secondary rectangles show where shifted widgets will end up while
   dragging. They are decorative only and never intercept drop/pointer events. */
.precise-placement-overlay>.precise-placement-shift{
  position:absolute;box-sizing:border-box;pointer-events:none;
  border:2px dashed #0d9488;border-radius:7px;
  background:rgba(13,148,136,.12);
  box-shadow:inset 0 0 0 1px rgba(13,148,136,.13);
  transition:left .055s ease,top .055s ease,width .055s ease;
}
.pdf-page-grid .precise-placement-overlay>.precise-placement-shift{border-radius:4px}

/* Continuous PDF preview: the real sheet stays at the export width (e.g.
   1800px), while an optional fit view scales only its on-screen presentation.
   The fixed-size frame prevents transform whitespace below a long sheet. */
.pdf-continuous-builder .pdf-preview-controls{display:flex;flex-direction:row;align-items:center;gap:5px;flex-wrap:wrap;justify-content:flex-end;flex:none}
.pdf-continuous-builder .pdf-preview-dimensions{font-size:10px;color:#475569;white-space:nowrap;font-variant-numeric:tabular-nums;margin-right:4px}
.pdf-continuous-builder .pdf-preview-mode{border:1px solid #d6dfec;background:#fff;color:#334155;border-radius:7px;padding:6px 9px;font-size:10px;font-weight:650;white-space:nowrap;cursor:pointer}
.pdf-continuous-builder .pdf-preview-mode.active{background:#eaf0ff;color:#3045a1;border-color:#aabce7}
.pdf-continuous-builder .pdf-preview-mode:focus-visible{outline:2px solid #586fe8;outline-offset:2px}
.pdf-continuous-builder .pdf-preview-frame{position:relative;margin:0 auto 16px;min-width:0;max-width:none;flex:none}
.pdf-continuous-builder .pdf-preview-frame>.pdf-page-shell{position:absolute;inset:0 auto auto 0;width:var(--pdf-shell-width,1800px);min-width:var(--pdf-shell-width,1800px);margin:0!important;transform-origin:top left}
@media(max-width:800px){.pdf-continuous-builder .pdf-canvas-toolbar{flex-wrap:wrap}.pdf-continuous-builder .pdf-preview-controls{margin-left:auto}}

/* Klientadgang: active share links — keep metadata and actions in separate rows. */
.access-share-link{
  display:grid;
  grid-template-columns:24px minmax(0,1fr);
  align-items:start;
  column-gap:12px;
  padding:15px 14px;
  min-width:0;
}
.access-share-link .access-share-icon{
  display:flex;
  justify-content:center;
  align-items:center;
  width:24px;
  height:25px;
  color:var(--muted);
}
.access-share-link .access-share-icon .icon{width:17px;height:17px;flex:none;}
.access-share-details{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;min-width:0;width:100%;}
.access-share-identity{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:8px 12px;min-width:0;}
.access-share-copy{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1 1 150px;}
.access-share-copy strong{font-size:12px;line-height:1.45;font-weight:650;white-space:normal;overflow-wrap:anywhere;}
.access-share-copy small{font-size:11px;line-height:1.5;color:var(--muted);white-space:normal;overflow-wrap:anywhere;}
.access-share-identity .badge{max-width:100%;flex:0 0 auto;white-space:normal;line-height:1.45;text-align:center;}
.access-share-identity .access-readonly-badge{background:#f1f5f9;color:#64748b;border:1px solid #dbe3ed;}
.access-share-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:6px;min-width:0;}
.access-share-actions .btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:0 1 auto;min-width:0;max-width:100%;white-space:normal;line-height:1.35;text-align:center;padding:7px 9px;}
.access-share-actions .btn span{display:inline!important;white-space:normal;}
.access-share-actions .btn .icon{flex:none;width:14px;height:14px;}
@media(max-width:540px){
  .access-share-link{padding:13px 11px;grid-template-columns:20px minmax(0,1fr);column-gap:9px;}
  .access-share-identity{gap:8px;}
  .access-share-actions{gap:6px;}
  .access-share-actions .btn{font-size:10px;padding:7px 8px;}
}

/* Executive summary cards — isolated from chart skins and ordinary widget CSS.
   Spacing/type/teal/navy palette follows the supplied reference screenshots. */
.visualization-picker-group{margin:0 0 16px;}
.visualization-picker-group>h4{font-size:12px;font-weight:700;letter-spacing:.02em;color:#687786;margin:0 0 10px;}
.visualization-picker-group.executive{padding:14px;border:1px solid #cfe8e6;background:#f6fbfa;border-radius:13px;}
.visualization-picker-group.executive>h4{font-size:13px;font-weight:750;color:#006e67;}
.visualization-picker-group.executive .visualization-card{background:#fff;min-height:82px;}
.visualization-picker-group.executive .visualization-card-icon{background:#edf6f5;color:#007b74;}
.visualization-picker-group.executive .visualization-card.is-selected{border-color:#008780;box-shadow:0 0 0 1px #008780;}
.visualization-picker-group.executive .visualization-card.is-selected .visualization-card-check{background:#007b74;border-color:#007b74;}
.visualization-picker-group.executive .visualization-card-grid{max-height:none;overflow:visible;}
.exw-decision-editor .formula-box{margin:10px 0;}

.widget:is(.type-ga4_channel_card,.type-google_ads_channel_card,.type-meta_ads_channel_card,.type-linkedin_ads_channel_card,.type-strategic_decisions,.type-consultant_contact_card){
  border:1px solid #e4e8eb;
  border-radius:14px;
  box-shadow:0 2px 7px rgba(15,23,42,.055);
  color:#071235;
}
.widget:is(.type-ga4_channel_card,.type-google_ads_channel_card,.type-meta_ads_channel_card,.type-linkedin_ads_channel_card,.type-strategic_decisions,.type-consultant_contact_card) > .widget-body{
  padding:0!important;overflow:auto;container-type:inline-size;
}
.widget:is(.type-ga4_channel_card,.type-google_ads_channel_card,.type-meta_ads_channel_card,.type-linkedin_ads_channel_card,.type-strategic_decisions,.type-consultant_contact_card) .widget-footer{display:none!important;}
.exw-channel,.exw-strategic,.exw-consultant{width:100%;height:100%;min-width:0;background:#fff;color:#081136;font-family:inherit;font-size:13px;line-height:1.55;}
.exw-channel{padding:20px 23px 22px;display:flex;flex-direction:column;gap:0;}
.exw-channel-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:50px;padding-bottom:14px;border-bottom:1px solid #e8ebee;}
.exw-channel-heading{display:flex;align-items:center;gap:12px;min-width:0;}
.exw-channel-icon{display:inline-grid;place-items:center;width:39px;height:39px;flex:0 0 39px;background:#f2f5f6;border-radius:10px;color:#007b74;}
.exw-channel-icon svg{width:20px;height:20px;stroke-width:2;}
.exw-channel-heading h3{margin:0;font-size:20px;font-weight:750;letter-spacing:-.035em;line-height:1.22;color:#070e2f;}
.exw-pill{display:inline-block;flex:0 0 auto;max-width:51%;padding:3px 10px;background:#e6f5f3;border-radius:999px;color:#007b73;font-size:12px;font-weight:700;line-height:1.3;text-align:center;overflow-wrap:anywhere;}
.exw-channel-body{display:flex;flex-direction:column;flex:1;min-height:0;}
.exw-top-metrics{display:grid;gap:11px;margin:18px 0 14px;}
.exw-top-2{grid-template-columns:repeat(2,minmax(0,1fr));}
.exw-top-3{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}
.exw-metric{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:2px;min-width:0;min-height:88px;padding:10px 13px;border-radius:10px;background:#f1f4f6;}
.exw-metric>span{font-size:12px;line-height:1.3;font-weight:500;color:#647482;}
.exw-metric>strong{font-size:20px;font-weight:780;line-height:1.2;letter-spacing:-.02em;color:#081133;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;}
.exw-top-3 .exw-metric{min-height:67px;align-items:center;text-align:center;padding:8px 5px;}
.exw-top-3 .exw-metric>strong{font-size:19px;}
.exw-metric>small{font-size:11px;font-weight:500;margin-top:1px;}
.exw-up{color:#007e76;}.exw-down{color:#b45353;}
.exw-midrows{margin-top:2px;}
.exw-row{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:43px;border-bottom:1px solid #e7e9ed;}
.exw-row>span{flex:1;min-width:0;color:#17233e;font-size:13px;line-height:1.35;}
.exw-row>strong{min-width:0;text-align:right;font-size:13px;font-weight:710;color:#070d2e;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;}
.exw-highlight{background:#f3f8f8;border:1px solid #bddddd;border-radius:10px;padding:15px 14px;color:#0b1937;font-size:13px;line-height:1.65;margin-top:18px;}
.exw-highlight strong{font-weight:750;}
.exw-highlight-small{background:#f1f4f6;border:0;}
.exw-channel:not(.exw-ga4_channel_card) .exw-channel-body:after{content:'';display:block;border-top:1px solid #e8ebed;margin-top:auto;transform:translateY(17px);}
.exw-ga-section{padding:10px 0 16px;border-bottom:1px solid #e8ebed;}
.exw-ga-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;line-height:1.3;font-size:12px;color:#344456;}
.exw-ga-heading>span:last-child{text-align:right;min-width:0;}
.exw-channel-stack{width:100%;display:flex;height:13px;overflow:hidden;border-radius:9px;background:#e7ecee;}
.exw-channel-stack span{height:100%;display:block;}
.exw-channel-legend{display:flex;justify-content:space-between;flex-wrap:wrap;gap:7px 11px;padding-top:10px;font-size:10px;color:#566678;}
.exw-channel-legend>span{display:inline-flex;align-items:center;gap:5px;min-width:0;}
.exw-channel-legend i{width:9px;height:9px;border-radius:50%;display:inline-block;flex:0 0 9px;}
.exw-ranking{padding-top:13px;padding-bottom:0;border-bottom:0;}
.exw-ranking h4{margin:0 0 4px;font-size:12px;line-height:1.4;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#57667b;}
.exw-ranking-head,.exw-ranking-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(50px,.7fr) minmax(74px,1fr);gap:8px;align-items:center;border-bottom:1px solid #e8eaee;min-height:39px;}
.exw-ranking-head{min-height:30px;font-size:11px;color:#67768a;}
.exw-ranking-head>span:nth-child(n+2){text-align:right;}
.exw-ranking-row{font-size:13px;}
.exw-ranking-row>span{color:#09143e;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.exw-ranking-row>strong{text-align:right;font-size:12px;color:#09143e;font-weight:700;white-space:nowrap;}
.exw-subtle{display:block;padding-top:10px;color:#7a8797;font-size:11px;}
.exw-linkedin-top{margin-top:0;}
.exw-linkedin-top>strong{font-weight:780;}

.widget.type-strategic_decisions{border-left:4px solid #0b0c2d;}
.exw-strategic{padding:26px 28px 25px;}
.exw-strategic-head{display:flex;align-items:center;gap:16px;border-bottom:1px solid #e5e8ec;padding-bottom:19px;margin-bottom:18px;}
.exw-strategic-symbol{width:40px;height:40px;border-radius:9px;flex:0 0 40px;background:#080e31;color:#fff;display:grid;place-items:center;}
.exw-strategic-symbol svg{width:21px;height:21px;}
.exw-strategic-head h3{margin:0;font-size:20px;font-weight:760;color:#0a1132;line-height:1.25;letter-spacing:-.02em;}
.exw-strategic-head p{margin:2px 0 0;font-size:13px;color:#14203a;}
.exw-decision-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:stretch;}
.exw-decision{position:relative;min-width:0;min-height:160px;padding:22px 18px 19px;border:1px solid #dce3e7;border-radius:13px;background:#f5f7f8;}
.exw-decision-index{position:absolute;top:19px;left:18px;width:29px;height:29px;display:inline-grid;place-items:center;border-radius:50%;background:#5dbbb5;color:#08223a;font-size:14px;font-weight:760;}
.exw-decision h4{margin:2px 0 15px;padding-left:40px;min-height:28px;font-size:15px;line-height:1.4;font-weight:760;letter-spacing:-.015em;color:#0a1234;}
.exw-decision p{margin:0;white-space:normal;color:#17233e;font-size:13px;line-height:1.7;}

.exw-consultant{padding:21px 23px;display:flex;align-items:center;justify-content:space-between;gap:22px;}
.exw-consultant-person{display:flex;align-items:center;gap:18px;min-width:0;}
.exw-avatar{position:relative;flex:0 0 63px;width:63px;height:63px;border-radius:50%;display:grid;place-items:center;background:#080e33;color:#69d4c7;font-size:21px;font-weight:730;box-shadow:0 3px 7px rgba(5,10,33,.12);}
.exw-avatar i{position:absolute;bottom:2px;right:2px;border-radius:50%;width:18px;height:18px;background:#57bfb5;border:2px solid #fff;}
.exw-consultant-copy{min-width:0;}
.exw-consultant-heading{display:flex;align-items:center;gap:9px;flex-wrap:wrap;}
.exw-consultant-heading h3{font-size:19px;font-weight:730;letter-spacing:-.02em;color:#0b1536;margin:0;}
.exw-label-pill{display:inline-block;border-radius:4px;padding:3px 10px;background:#e7f6f5;font-size:12px;line-height:1.2;color:#08776f;}
.exw-consultant-position{margin:0 0 7px;font-size:13px;color:#253249;}
.exw-consultant-details{display:flex;align-items:center;flex-wrap:wrap;gap:6px 19px;font-size:12px;line-height:1.4;}
.exw-consultant-details>a,.exw-consultant-details>span{display:inline-flex;gap:6px;align-items:center;min-width:0;color:#4d6478;text-decoration:none;}
.exw-consultant-details svg{width:14px;height:14px;flex:0 0 14px;color:#007e75;}
.exw-consultant-details .exw-meeting{color:#007e75;font-weight:650;}
.exw-book-link{margin-left:auto;display:inline-flex;align-items:center;justify-content:center;gap:9px;flex:0 0 auto;min-height:40px;padding:8px 17px;border:1px solid #e1e6eb;border-radius:10px;background:#fff;color:#090f31;text-decoration:none;font-size:12px;font-weight:750;box-shadow:0 2px 5px rgba(13,20,41,.035);}
.exw-book-link:hover{background:#f7fbfb;}
.exw-book-link svg{width:16px;height:16px;}
/* Respond to actual widget width, not the viewer's viewport. */
@container (max-width: 370px){
  .exw-channel{padding:15px 13px;}
  .exw-channel-heading h3{font-size:17px;}
  .exw-top-3{gap:5px;}
  .exw-metric{padding:10px 8px;}
  .exw-metric>strong,.exw-top-3 .exw-metric>strong{font-size:16px;}
  .exw-metric>span{font-size:10px;}
  .exw-channel-legend{justify-content:flex-start;}
  .exw-strategic{padding:17px 14px;}
  .exw-strategic-head h3{font-size:17px;}
  .exw-decision-list{grid-template-columns:1fr;gap:10px;}
  .exw-decision{min-height:0;padding:15px;}
  .exw-consultant{align-items:flex-start;flex-direction:column;padding:16px;}
  .exw-consultant-heading h3{font-size:17px;}
  .exw-book-link{margin-left:0;}
}
@container (min-width: 371px) and (max-width: 780px){
  .exw-decision-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
  .exw-strategic{padding:20px;}
  .exw-consultant{flex-wrap:wrap;}
}
@media print{
  .exw-channel,.exw-consultant,.exw-strategic{-webkit-print-color-adjust:exact;print-color-adjust:exact;}
}

/* Final reference-color refinements and explicit source error feedback. */
.exw-channel:not(.exw-ga4_channel_card) .exw-top-2 .exw-metric:nth-child(2)>strong,.exw-ga4_channel_card .exw-top-3 .exw-metric:nth-child(2)>strong{color:#00796f;}
.exw-error{margin:10px 0;padding:8px 10px;border-radius:8px;background:#fef2f2;color:#991b1b;border:1px solid #fecaca;font-size:12px;}


/* PDF v6: same remove/move tools for EVERY widget, independent of chrome. */
.pdf-editor-page .pdf-render-widget > .pdf-widget-editor-controls{
  position:absolute!important;
  z-index:60!important;
  top:6px;
  right:6px;
  display:flex!important;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:3px;
  max-width:calc(100% - 12px);
  padding:3px;
  border:1px solid #cbd5e1;
  border-radius:9px;
  background:rgba(255,255,255,.97);
  box-shadow:0 2px 8px rgba(15,23,42,.16);
  opacity:.85;
  pointer-events:auto;
  transition:opacity .12s ease;
}
.pdf-editor-page .pdf-render-widget:hover > .pdf-widget-editor-controls,
.pdf-editor-page .pdf-render-widget > .pdf-widget-editor-controls:focus-within{
  opacity:1;
}
.pdf-editor-page .pdf-render-widget > .pdf-widget-editor-controls .icon-btn{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  flex:none;
  width:26px;
  height:26px;
  min-width:0;
  min-height:0;
  padding:3px;
  color:#475569;
  border-radius:6px;
}
.pdf-editor-page .pdf-render-widget > .pdf-widget-editor-controls .icon-btn:hover{
  color:#b91c1c;
  background:#fef2f2;
}
.pdf-editor-page .pdf-render-widget > .pdf-widget-editor-controls .drag-handle:hover{
  color:#4338ca;
  background:#eef2ff;
}
.pdf-editor-page .pdf-render-widget > .pdf-widget-editor-controls [data-action="edit-widget"]:hover{
  color:#4338ca;
  background:#eef2ff;
}
.pdf-editor-page .pdf-render-widget > .pdf-widget-editor-controls .icon{
  width:16px;
  height:16px;
}
.pdf-editor-page .pdf-render-widget > .pdf-widget-editor-controls .pdf-only-badge{
  font-size:9px;
  padding:2px 6px;
}
/* The editor controls are never part of exported or printed PDF content. */
.pdf-print-widget > .pdf-widget-editor-controls,
.pdf-print-root .pdf-widget-editor-controls{
  display:none!important;
}
@media print{
  .pdf-widget-editor-controls{display:none!important}
}

/* PDF v6: edit even unplaced widgets without adding them to the PDF. */
.pdf-widget-tray-items .pdf-unplaced-widget-entry{
  display:flex;
  align-items:stretch;
  gap:5px;
  flex:0 0 276px;
  min-width:0;
}
.pdf-widget-tray-items .pdf-unplaced-widget-entry > .pdf-unplaced-widget{
  flex:1 1 auto;
  min-width:0;
  max-width:none;
}
.pdf-widget-tray-items .pdf-unplaced-widget-entry > .pdf-unplaced-edit{
  flex:0 0 33px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:7px;
  color:#475569;
  border:1px solid #dbe3ed;
  border-radius:8px;
  background:#fff;
}
.pdf-widget-tray-items .pdf-unplaced-widget-entry > .pdf-unplaced-edit:hover,
.pdf-widget-tray-items .pdf-unplaced-widget-entry > .pdf-unplaced-edit:focus-visible{
  color:#4338ca;
  border-color:#a5b4fc;
  background:#eef2ff;
}
.pdf-widget-tray-items .pdf-unplaced-widget-entry > .pdf-unplaced-edit .icon{
  width:16px;
  height:16px;
}
@media(max-width:760px){
  .pdf-widget-tray-items .pdf-unplaced-widget-entry{flex-basis:238px}
}
@media print{
  .pdf-unplaced-widget-entry,.pdf-widget-editor-controls{display:none!important}
}


/* Scalable integrations directory: the sidebar now contains one route, not 15+ providers. */
.integration-directory{margin-bottom:24px;}
.integration-directory-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 18px;}
.integration-directory-summary>div{display:flex;align-items:baseline;gap:12px;padding:15px 18px;border:1px solid var(--border);border-radius:11px;background:var(--surface,#fff);min-width:0;}
.integration-directory-summary strong{font-size:21px;font-weight:700;color:var(--ink,#0f172a);font-variant-numeric:tabular-nums;}
.integration-directory-summary span{font-size:12px;color:var(--muted,#64748b);}
.integration-directory-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:15px;background:#fff;border:1px solid var(--border);border-radius:12px;}
.integration-directory-search{display:flex;align-items:center;gap:10px;min-width:230px;flex:1 1 320px;max-width:530px;padding:0 12px;border:1px solid var(--border);background:#f8fafc;border-radius:9px;color:#64748b;}
.integration-directory-search:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px rgb(79 70 229 / 9%);}
.integration-directory-search .icon{width:16px;height:16px;flex:none;}
.integration-directory-search input{padding:12px 0;min-width:0;flex:1;border:0;background:transparent;box-shadow:none;outline:0;font:inherit;font-size:12px;color:var(--ink);}
.integration-directory-filters{display:flex;align-items:center;gap:5px;flex-wrap:wrap;}
.integration-directory-filter{display:inline-flex;align-items:center;gap:8px;padding:9px 11px;border:1px solid transparent;border-radius:8px;background:transparent;color:#526078;font:inherit;font-size:12px;cursor:pointer;}
.integration-directory-filter span{font-size:10px;color:#64748b;background:#f1f5f9;border-radius:999px;padding:2px 6px;min-width:22px;text-align:center;}
.integration-directory-filter:hover{background:#f8fafc;}
.integration-directory-filter.active{background:#eef2ff;border-color:#c7d2fe;color:#4338ca;font-weight:650;}
.integration-directory-filter.active span{background:#e0e7ff;color:#4338ca;}
.integration-directory-results{margin:11px 2px 12px;font-size:11px;color:var(--muted,#64748b);}
.integration-directory-grid>[hidden],#integration-directory-empty[hidden]{display:none!important;}
.integration-directory-card{min-width:0;}
.integration-directory-card .card-header{gap:10px;}
.integration-directory-card .card-header h3{min-width:0;overflow-wrap:anywhere;}
.integration-directory-card .card-actions{margin-top:auto;flex-wrap:wrap;}
.integration-directory-empty{padding:32px 16px;text-align:center;background:#fff;border:1px dashed var(--border);border-radius:12px;}
.integration-directory-empty strong{font-size:14px;}
.integration-directory-empty p{margin-top:6px;font-size:12px;color:var(--muted);}
@media(max-width:800px){.integration-directory-summary{grid-template-columns:repeat(2,minmax(0,1fr));}.integration-directory-toolbar{align-items:stretch;}.integration-directory-search{max-width:none;}.integration-directory-filters{width:100%;}}
@media(max-width:500px){.integration-directory-summary{grid-template-columns:1fr;}.integration-directory-summary>div{padding:12px 15px;}.integration-directory-filter{flex:1;justify-content:center;padding:8px 7px;font-size:11px;}.integration-directory-filter span{font-size:9px;}}


/* 2026-10-20 – optional PDF cover wave. All geometry belongs to the cover;
   the 48-column widget area, footer and PDF export size remain unchanged. */
.pdf-continuous-sheet .pdf-region-cover,
.pdf-continuous-sheet .pdf-region-cover *{font-family:"Exo 2",var(--report-font,system-ui,sans-serif)!important}
.pdf-continuous-sheet .pdf-region-cover.pdf-cover-wave-on{
  padding-bottom:calc(var(--pdf-region-padding,52px) + 78px);
}
.pdf-continuous-sheet .pdf-region-cover.pdf-cover-wave-on .pdf-region-background,
.pdf-continuous-sheet .pdf-region-cover.pdf-cover-wave-on .pdf-region-accent-line{display:none}
.pdf-continuous-sheet .pdf-region-cover.pdf-cover-wave-on .pdf-region-content{z-index:2}
.pdf-continuous-sheet .pdf-cover-wave{
  position:absolute;bottom:0;left:0;right:0;z-index:1;
  width:100%;height:110px;line-height:0;pointer-events:none;
  background:#090A26;
}
.pdf-continuous-sheet .pdf-cover-wave svg{
  display:block;width:100%;height:100%;
  /* User reference #1 has its valley at the centre, not a crest. */
  transform:rotate(180deg);
}
.pdf-continuous-sheet .pdf-cover-wave rect{fill:#090A26}
.pdf-continuous-sheet .pdf-cover-wave path{fill:var(--pdf-content-bg,#ffffff)}

/* Prevent the navy-to-white antialiasing seam at the bottom of the wave.
   Chromium can blend the 180deg-rotated SVG edge into a 1px grey line,
   especially in the scaled PDF preview. The last 3px must be identical
   to the widget canvas. Do not change cover height, wave curve, or layout. */
.pdf-continuous-sheet .pdf-region-cover.pdf-cover-wave-on,
.pdf-continuous-sheet .pdf-region-cover.pdf-cover-wave-on + .pdf-region-widgets{
  border:0;
  box-shadow:none;
}
.pdf-continuous-sheet .pdf-region-cover.pdf-cover-wave-on .pdf-cover-wave::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:3px;
  background:var(--pdf-content-bg,#ffffff);
  pointer-events:none;
  z-index:2;
}

/* The preview rescales the whole continuous sheet. Cover and widgets can
   land on fractional device pixels even if the SVG ends in white. Paint
   across their shared edge from the later (widget) region as well. */
.pdf-continuous-sheet .pdf-region-cover.pdf-cover-wave-on + .pdf-region-widgets::before{
  content:"";
  position:absolute;
  top:-2px;
  left:0;
  right:0;
  height:3px;
  background:var(--pdf-content-bg,#ffffff);
  pointer-events:none;
  z-index:10;
}


/* Text widgets: editing typography reflects the exported widget, including PDF. */
.note-rich-editor,.text-note,.text-note-body,.pdf-page .text-note,.pdf-page .text-note-body{
  font-family:var(--note-body-family,var(--report-font,Geist,Arial,sans-serif));
}
.note-rich-editor{
  font-size:var(--note-font,14px);
  line-height:var(--note-line,1.6);
}
.text-note,.pdf-render-widget .text-note{font-size:var(--note-font,14px)}
.note-rich-editor h1,.text-note-body h1{
  font-family:var(--note-heading-family,var(--note-body-family,inherit));
  font-size:var(--note-heading-size,2em);
  font-weight:var(--note-heading-weight,700);
  line-height:1.2;
}
.note-rich-editor h2,.text-note-body h2{
  font-family:var(--note-heading-family,var(--note-body-family,inherit));
  font-size:var(--note-heading-h2,1.6em);
  font-weight:var(--note-heading-weight,700);
  line-height:1.3;
}
.note-rich-editor h3,.text-note-body h3{
  font-family:var(--note-heading-family,var(--note-body-family,inherit));
  font-size:var(--note-heading-h3,1.3em);
  font-weight:var(--note-heading-weight,700);
  line-height:1.4;
}
.text-note h4,.pdf-page .text-note h4{
  font-family:var(--note-heading-family,var(--note-body-family,inherit));
  font-size:var(--note-heading-size,1.14em);
  font-weight:var(--note-heading-weight,700);
}
.pdf-page .text-note-body h1,.pdf-page .text-note-body h2,.pdf-page .text-note-body h3{
  font-family:var(--note-heading-family,var(--note-body-family,inherit));
  font-weight:var(--note-heading-weight,700);
}
.note-editor-heading-preview{
  padding:10px 12px;
  background:#f8fafc;
  border:1px dashed #dbe3ed;
  border-radius:8px;
  margin-top:8px;
  font-family:var(--note-heading-family,var(--note-body-family,inherit));
  font-size:var(--note-heading-size,calc(var(--note-font,14px) * 1.14));
  font-weight:var(--note-heading-weight,700);
  line-height:1.3;
  overflow-wrap:anywhere;
}
.note-typography-settings{margin-top:12px}
.note-typography-settings .eyebrow:not(:first-child){margin-top:14px}
.note-typography-settings .form-note{margin-top:8px}
/* The PDF document's global font selector must not override a note's font on nested inline tags. */
.pdf-page .text-note-body :where(*),
.pdf-page .text-note h4 :where(*){font-family:inherit}
/* A heading's bold toggle takes precedence over bold marks inside the heading. */
.note-rich-editor :is(h1,h2,h3) :is(b,strong),
.text-note-body :is(h1,h2,h3) :is(b,strong){font-weight:var(--note-heading-weight,700)}

/* Navigation remains first column after moving event marketing below it. */
.report-page-layout.has-page-nav.page-nav-align-section-grid > .report-page-sidebar { margin-top: 30px; }
.report-page-layout.has-page-nav.page-nav-align-editor-grid > .report-page-sidebar { margin-top: 58px; }
@media(max-width:980px){.report-page-layout.has-page-nav > .report-page-sidebar{margin-top:0!important}}
@media(max-width:700px){.report-page-sidebar > .report-page-nav{display:none}}
@media print {.report-page-layout.has-page-nav > .report-page-sidebar{display:none!important}}

/* Goal direction, bullet view and forecast */
.goal-bullet{display:flex;flex-direction:column;gap:15px;padding:14px 4px;min-width:0}
.goal-bullet-values{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:8px}
.goal-bullet-values strong{font-size:clamp(22px,3vw,36px);line-height:1.1;font-variant-numeric:tabular-nums}
.goal-bullet-values span,.goal-bullet-legend{font-size:12px;color:#64748b}
.goal-bullet-scale{position:relative;height:22px;border-radius:7px;background:#fee2e2;overflow:visible}
.goal-bullet-good{position:absolute;top:0;bottom:0;background:#bbf7d0;border-radius:7px}
.goal-bullet-current{position:absolute;top:-5px;bottom:-5px;width:5px;border-radius:4px;transform:translateX(-50%);background:#0f172a;z-index:2;box-shadow:0 0 0 2px #fff}
.goal-bullet-target{position:absolute;top:-8px;bottom:-8px;width:2px;border-left:2px dashed #475569;z-index:1}
.goal-bullet-legend{display:flex;align-items:center;justify-content:space-between;gap:8px}
.goal-forecast{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 12px;margin-top:12px;padding:11px 12px;background:#f8fafc;border-radius:9px;font-size:12px}
.goal-forecast>strong{font-size:15px;font-variant-numeric:tabular-nums}
.goal-forecast small.positive{color:#15803d}.goal-forecast small.negative{color:#b91c1c}


/* metric-studio-goal-bullet-padding-20261026 */
/* Match the spacing of other report cards; no change to widget/grid sizing. */
.widget.type-goal > .widget-body > .goal-bullet {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 20px clamp(16px, 1.5vw, 24px) 22px;
}
/* Let the data and forecast wrap naturally inside narrow cards. */
.widget.type-goal > .widget-body > .goal-bullet .goal-bullet-values,
.widget.type-goal > .widget-body > .goal-bullet .goal-heading {
  min-width: 0;
}
