/* Compact report workspace. The surrounding landing page keeps its own layout. */
#report-preview{border:0;padding-top:0}
.report-retry-actions{display:flex;justify-content:flex-end;width:100%;max-width:660px;margin:16px auto 0}
.report-retry-actions:has(#retry-report[hidden]){display:none}
#retry-report{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:auto;max-width:100%;min-height:40px;margin:0;padding:9px 14px;border:1px solid #deded9;border-radius:8px;background:#fff;color:#444;font:500 12px/1.5 system-ui,-apple-system,sans-serif;box-shadow:0 1px 2px #00000005;cursor:pointer;transition:background .15s,border-color .15s}
#retry-report>span{font-size:17px;line-height:1}
#retry-report:hover{background:#f1f0ec;border-color:#c8c8c1;color:#171717}
#retry-report:focus-visible{outline:2px solid #171717;outline-offset:3px}
#retry-report:disabled{opacity:.5;cursor:wait}
.report-box{width:100%;max-width:660px;height:460px;aspect-ratio:auto;margin:0 auto;display:flex;flex-direction:column;position:relative;isolation:isolate;overflow:hidden;border:1px solid #e0e0e0;border-radius:16px;background:#fefefe;color:#171717;box-shadow:0 16px 40px -28px #36363635}
.report-box--single{height:340px}
.report-box--agency{height:500px}
.report-box-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 24px 16px;background:#fefefe}
.report-box h2{margin:5px 0 0;font-size:19px;font-weight:500;letter-spacing:-.5px}
.box-live{font-size:10px;color:#737373}
.box-workspace{display:grid;grid-template-columns:188px minmax(0,1fr);flex:1;min-height:0;border-top:1px solid #e9e9e9}
.box-tabs{display:block;overflow:auto;padding:18px 10px;background:#f7f7f7;border-right:1px solid #e9e9e9;scrollbar-width:thin;scrollbar-color:#dbdbdb transparent}
.box-nav-group{margin-bottom:22px}
.box-nav-group:last-child{margin-bottom:0}
.box-nav-group>p{margin:0 0 9px;padding:7px 8px;border:1px solid #dfdfdf;border-radius:5px;background:#e8e8e8;color:#555;font-size:10px;font-weight:600;line-height:1.5}
.box-tabs button{display:flex;align-items:center;gap:6px;width:100%;margin:2px 0;padding:9px 8px;border:1px solid transparent;border-radius:5px;background:transparent;box-shadow:none;color:#797979;font-size:10px;font-weight:400;line-height:1.5;text-align:left;white-space:normal;cursor:pointer;transition:background .15s,color .15s}
.box-tabs button>span{flex:1}
.box-tabs button:hover{background:#f5f5f5;color:#171717}
.box-tabs button strong{margin-left:auto;padding:0;border-radius:0;background:transparent;color:#9b9b9b;font-size:10px;font-weight:400;line-height:1.5;text-align:center;font-variant-numeric:tabular-nums}
.box-tabs button[aria-selected=true]{background:#ededed;border-color:#d4d4d4;color:#171717;font-weight:400}
.box-tabs button[aria-selected=true] strong{background:transparent;color:#171717}
.box-tabs button:focus-visible{outline:2px solid #171717;outline-offset:2px}
.box-tabs button.just-landed{animation:box-landed 1s ease}
.box-results{min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 22px;background:#fefefe;scrollbar-width:thin;scrollbar-color:#d1d1d1 transparent}
.box-results:focus-visible{outline-offset:-3px}
.report-box .signal-section,.report-box .generic-aeo{margin:0;padding:22px 0;border:0}
.report-box h3{margin:0 0 8px;color:#171717;font-size:12px;font-weight:500;letter-spacing:0}
.report-box .signal-section>p,.report-box .muted{font-size:11px;color:#929292}
.report-box .prospect{border-color:#ececec;animation:box-land .45s cubic-bezier(.16,1,.3,1) both}
.report-box .prospect>summary{padding:12px 0;gap:12px}
.report-box .prospect>summary::after{color:#737373}
.report-box .person{font-size:12px;font-weight:500;color:#171717;overflow-wrap:anywhere}
.report-box .person small{margin-top:3px;color:#919191;font-size:10px;font-weight:400;line-height:1.7}
.report-box .prospect-body{padding-right:0;font-size:12px}
.report-box .prospect-body dl>div{grid-template-columns:1fr;gap:3px;padding:7px 0}
.report-box .prospect-body dt{color:#737373;font-size:10px}
.report-box .prospect-body dd{color:#333;overflow-wrap:anywhere}
.box-empty{padding:16px 0 8px}
.box-empty i{display:block;height:6px;width:65%;margin-bottom:13px;border-radius:3px;background:linear-gradient(100deg,#eee 25%,#fafafa 45%,#eee 65%);background-size:250% 100%;animation:box-shimmer 2.5s infinite}
.box-empty i:nth-child(2){width:85%}.box-empty i:nth-child(3){width:45%}
.box-empty>span{display:block;margin-top:20px;color:#888;font-size:10px}
.report-box .generic-aeo h2{margin:0 0 14px;font-size:16px}
.report-box .aeo-opportunities-title{margin:0 0 16px;font-size:15px}
.report-box .aeo-opportunity{margin:20px 0}
.report-box .aeo-opportunity h4{font-size:12px;font-weight:500;color:#171717}
.report-box .aeo-opportunity-example{display:block;border-color:#ececec;font-size:12px;color:#333}
.report-box .aeo-opportunity-example .muted{display:block;margin-top:6px}
.report-box .aeo-metrics{display:grid;grid-template-columns:1fr 1fr;margin:20px 0;gap:18px}
.report-box .aeo-metrics>div+div{padding-left:18px;border-left:1px solid #e0e0e0}
.report-box .aeo-metrics strong,.report-box .aeo-metrics span{display:block}
.report-box .aeo-metrics strong{font-size:28px;color:#111}
.report-box .aeo-metrics span,.report-box .aeo-queries summary{font-size:11px}
.report-box .aeo-queries li,.report-box .generic-aeo td,.report-box .generic-aeo th{border-color:#ececec}
.report-box .query-body{font-size:12px;overflow-wrap:anywhere;color:#555}
.report-box .query-body pre{font-size:10px}
.report-box .generic-aeo td{font-size:11px;color:#333}
/* Page coordinates let airplanes cross the gap between the two cards. */
.box-paper-plane{position:absolute;z-index:30;top:0;left:0;width:68px;height:68px;pointer-events:none;filter:drop-shadow(0 7px 5px #0002)}
.box-paper-plane svg{width:100%;height:100%}
@keyframes box-land{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:none}}
@keyframes box-landed{30%{box-shadow:inset 0 0 0 1px #aaa}}
@keyframes box-shimmer{to{background-position:-150% 0}}
@media(max-width:560px){
 .report-box{height:460px;aspect-ratio:auto}
 .report-box--single{height:380px}
 .report-box--agency{height:500px}
 .report-box-heading{padding:20px 16px}
 .report-box h2{font-size:17px}
 .box-workspace{grid-template-columns:128px minmax(0,1fr)}
 .box-tabs{padding:14px 5px}
 .box-nav-group{margin-bottom:20px}
 .box-nav-group>p{padding:6px 5px;font-size:8px}
 .box-tabs button{padding:8px 5px;font-size:9px;gap:4px}
 .box-tabs button strong{padding:0;font-size:9px}
 .box-results{padding:0 13px}
 .report-box .signal-section,.report-box .generic-aeo{padding-top:20px}
 .report-box h3{font-size:12px}
 .report-box .person{font-size:11px}.report-box .person small{font-size:9px}
 .report-box .aeo-metrics{grid-template-columns:1fr;gap:12px}
 .report-box .aeo-metrics>div+div{border:0;padding:0}
 .report-box .aeo-metrics strong{font-size:24px}
 #report-cost{display:none}
}
@media(prefers-reduced-motion:reduce){.report-box *,.report-box *:before{animation:none!important;transition:none!important}.box-paper-plane{display:none}}

/* White header over the light workspace. */
.report-box-heading{background:#fff;color:#171717}
.report-box-heading h2{color:#171717}
.report-box-heading .box-live{color:#737373}
@media(max-width:560px){.report-tools{position:static!important;justify-content:flex-end;flex-wrap:wrap;padding:14px 24px 0;gap:8px!important}}
