/* cube.css: the styles of xslt/cube.xslt (after report.css). */

/* the column of fact-refs right next to the tables, not at the page's
   right edge: the report part is as wide as its tables */
div.cube-page { display: flex; align-items: flex-start; gap: 32px; }
div.cube-report { flex: 0 1 auto; min-width: 0; }
aside.cube { flex: 0 0 24em; min-width: 0; overflow-wrap: anywhere; margin-top: 1.5em; padding-left: 16px; border-left: 1px solid var(--border); font-size: 0.85em; }
aside.cube h3 { margin: 0 0 0.3em; font-size: 1.05em; }
aside.cube h3 a { color: var(--fg); text-decoration: none; }
aside.cube h4 { margin: 0 0 0.2em; font-size: 1em; }
aside.cube p { margin: 0.2em 0; }
aside.cube p.cube-note { color: var(--callout); }
aside.cube a { color: var(--link); text-decoration: none; }
aside.cube a:hover { text-decoration: underline; }

/* the values with matches in the tables: plain links, underlined on hover */
table.statement td a { color: inherit; text-decoration: none; }
table.statement td a:hover { text-decoration: underline; }
table.statement td.selected { outline: 2px solid var(--fg-strong); outline-offset: -2px; font-weight: bold; }

p.cube-fact { font-weight: 600; margin-bottom: 0.6em; }
h4.cube-cells-head { margin-top: 1em; }
ol.cube-cells { list-style: none; margin: 0; padding: 0; }
ol.cube-cells > li:first-child { padding-top: 0; }
ol.cube-cells > li { padding: 6px 0; border-bottom: 1px solid var(--border-faint); }
p.cube-others-head { margin-top: 0.4em; color: var(--fg-3); }
span.cube-fact-id { font-family: "B612 Mono", monospace; }
p.cube-value, p.cube-position { color: var(--fg-3); font-variant-numeric: tabular-nums; }
ul.cube-facts { list-style: none; margin: 0.2em 0 0; padding: 0 0 0 12px; }
ul.cube-facts li { margin: 2px 0; }

@media (max-width: 900px) {
    div.cube-page { flex-direction: column; }
    aside.cube { flex: none; align-self: stretch; margin-top: 0; padding: 1em 0 0; border-left: 0; border-top: 1px solid var(--border); }
}
