/* The data page (#2422; second round, "Strata"). The first screen is a working screen: the field (field.js, WebGL), one point per source, is the ground, and glass panels float on it; the sections follow on the page's canvas. Colors carry meaning only. The identity colors are the stage groups': berry = post-training, sky blue = mid-training, sand = pre-training, gray = in no stage; they color marks (points, the column's cores, dots), never text. Slate blue = the material sets in the charts and a fit that holds, gray = the corpora, rose = a problem. Two themes, by the reader's own setting (prefers-color-scheme): every surface and ink is a token of :root, with its dark value in the block under it; every text color passes WCAG AA (4.5:1) on the surfaces it is set on. IBM Plex Sans for text, IBM Plex Mono for labels and commands, Big Shoulders Display for the large figures (all under the SIL Open Font License, served from fonts/ of this folder); Chinese text in the system's faces. */ @font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap; src: url("fonts/plex-sans-400.woff2") format("woff2"); } @font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-display: swap; src: url("fonts/plex-sans-500.woff2") format("woff2"); } @font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-display: swap; src: url("fonts/plex-sans-600.woff2") format("woff2"); } @font-face { font-family: "IBM Plex Sans"; font-weight: 700; font-display: swap; src: url("fonts/plex-sans-700.woff2") format("woff2"); } @font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url("fonts/plex-mono-400.woff2") format("woff2"); } @font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url("fonts/plex-mono-500.woff2") format("woff2"); } @font-face { font-family: "Big Shoulders Display"; font-weight: 800; font-display: swap; src: url("fonts/big-shoulders-display-800.woff2") format("woff2"); } :root { color-scheme: light dark; /* surfaces */ --canvas: #e9eff3; --canvas-2: #dbe5ec; --card: #ffffff; --line: #d6dee4; --line-strong: #b9c7d1; --panel: rgba(255, 255, 255, 0.72); --panel-line: rgba(17, 37, 50, 0.14); --wash: rgba(17, 37, 50, 0.06); /* a row under the pointer */ --panel-top: rgba(255, 255, 255, 0.7); /* the light on a panel's top edge */ --hero-a: #0c1a24; --code: #0e1c26; --code-2: #17293a; --foot: #08131b; --on-dark: #e8f0f5; --on-dark-2: #b3c5d2; --on-dark-3: #8ea3b2; --glass: rgba(233, 239, 243, 0.8); --nav-line: rgba(17, 37, 50, 0.1); --sk-a: #dbe5ec; --sk-b: #eef3f6; /* ink */ --ink: #10222e; --ink-2: #41576a; --ink-muted: #586c7c; /* 4.7:1 on the canvas, 5.4:1 on a card */ /* the stage groups, the page's identity colors (field.js reads them as they are, so each is one hex color). The three hues pass the palette checks on the canvas and on a card in both themes (lightness band, chroma floor, separation over all pairs under protan, deutan and tritan vision at delta E 10.5 or more in light and 9.7 or more in dark, 3:1 on the surface); the neutral is gray by intent, apart from each hue by delta E 16.9 or more in light and 9.5 or more in dark, and below 3:1 on the light surfaces, where the labels and the list say what it marks */ --post: #c2456f; --mid: #1f7fb5; --pre: #a87a12; --none: #94a4b0; --accent: #c2456f; /* meaning in the charts and the list */ --ours: #3f6177; --ours-hover: #2f4c5f; --on-ours: #ffffff; --ours-wash: #e4ecf1; --problem: #b98b86; --problem-text: #8f5f5a; --other: #8c8c8c; /* the map of the sources (linked.js): an empty cell, and the low end of each layer's scale */ --map-empty: #dfe5e9; --map-low-ours: #c3cdd4; --map-low-other: #d2d5d7; /* the band of a source's file sizes (plots.js strip) */ --strip: #b0bdc6; --link: #1d5ab0; --visited: #8f2b78; --shadow: 0 1px 2px rgba(17, 37, 50, 0.06), 0 8px 24px -12px rgba(17, 37, 50, 0.18); --shadow-lift: 0 2px 4px rgba(17, 37, 50, 0.08), 0 18px 40px -16px rgba(17, 37, 50, 0.28); --cjk: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC"; --sans: "IBM Plex Sans", var(--cjk), system-ui, sans-serif; --mono: "IBM Plex Mono", "Cascadia Mono", Consolas, ui-monospace, monospace; --display: "Big Shoulders Display", var(--cjk), sans-serif; /* type: six steps, none under 12.5px; each holds its size up to a 1440px screen and grows with wider ones (a fifth more at 2560px), so the page reads from the same distance on a large display */ --fs-1: clamp(12.5px, 0.22vw + 9.3px, 15px); /* a label in capitals, a unit beside a figure */ --fs-2: clamp(14px, 0.25vw + 10.4px, 16.8px); /* a second line, a caption */ --fs-3: clamp(15px, 0.27vw + 11.1px, 18px); /* a row of a list, a control */ --fs-4: clamp(16px, 0.29vw + 11.8px, 19.2px); /* text in a panel */ --fs-5: clamp(17px, 0.31vw + 12.5px, 20.4px); /* the page's text */ --fs-6: clamp(18.5px, 0.33vw + 13.7px, 22px); /* a title in a row */ --fs-small: var(--fs-3); --fs-body: var(--fs-5); --fs-sub: clamp(21px, 0.4vw + 15.2px, 25px); --fs-h2: clamp(27px, 0.9vw + 16px, 36px); --fs-h1: clamp(34px, 1.1vw + 22px, 44px); /* spacing and width */ --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px; --s6: 48px; --s8: 64px; --s10: 80px; --page: 1680px; --pad: clamp(16px, 3.6vw, 72px); --edge: 20px; /* between the screen's edge and a floating panel */ --left-w: clamp(340px, 25vw, 440px); --right-w: clamp(360px, 26.5vw, 470px); --nav-h: 60px; --r: 14px; --t: 160ms; } @media (prefers-color-scheme: dark) { :root { --canvas: #08131b; --canvas-2: #10222e; --card: #0f202b; --line: #22333f; --line-strong: #364a58; --panel: rgba(13, 27, 37, 0.62); --panel-line: rgba(190, 215, 232, 0.16); --wash: rgba(190, 215, 232, 0.08); --panel-top: rgba(190, 215, 232, 0.08); --code: #050d13; --code-2: #0b1820; --glass: rgba(8, 19, 27, 0.8); --nav-line: rgba(190, 215, 232, 0.1); --sk-a: #13232e; --sk-b: #1c303d; --ink: #e8f0f5; --ink-2: #b3c5d2; --ink-muted: #8ea3b2; /* 7.2:1 on the canvas */ --post: #e0648e; --mid: #3a9cd2; --pre: #b98d22; --none: #4f6473; --accent: #f590b0; --ours: #81abc6; --ours-hover: #9dc4dd; --on-ours: #08131b; --ours-wash: #16303f; --problem-text: #dba9a4; --map-empty: #17262f; --map-low-ours: #2a3f4c; --map-low-other: #303a40; --strip: #4b5f6c; --link: #8cbaf7; --visited: #e39ecc; --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px -12px rgba(0, 0, 0, 0.6); --shadow-lift: 0 2px 4px rgba(0, 0, 0, 0.5), 0 18px 40px -16px rgba(0, 0, 0, 0.7); } } @media (prefers-reduced-motion: reduce) { :root { --t: 0ms; } } * { box-sizing: border-box; } [hidden] { display: none !important; } html { scroll-padding-top: calc(var(--nav-h) + 24px); background: var(--foot); } body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--sans); font-size: var(--fs-body); line-height: 1.5; -webkit-text-size-adjust: 100%; overflow-x: clip; } a { color: var(--link); text-underline-offset: 2px; } a:visited { color: var(--visited); } button, input, select { font: inherit; color: inherit; } button { cursor: pointer; } :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; } .visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; } .wrap { width: 100%; max-width: calc(var(--page) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); } .mono, code, pre { font-family: var(--mono); font-weight: 500; } .small { font-size: var(--fs-small); color: var(--ink-2); } .muted { color: var(--ink-muted); } .problem-text { color: var(--problem-text); } .num, td.r, th.r { font-variant-numeric: tabular-nums; } /* a large figure */ b.num, .big { font-family: var(--display); font-weight: 800; letter-spacing: 0.01em; line-height: 1; } /* a small label in capitals above a block */ .eyebrow { margin: 0; font-family: var(--mono); font-weight: 500; font-size: var(--fs-1); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); } .ico { flex: none; vertical-align: -0.2em; color: var(--ours); } .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; vertical-align: 1px; margin-right: 6px; flex: none; } .dot.problem { background: var(--problem); } .dot.ours { background: var(--ours); } .dot.other { background: var(--other); } .chip { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-small); color: var(--ink-2); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 0 11px; line-height: 30px; white-space: nowrap; } /* a chip that can wrap: a small radius, so two lines stay a box and do not become an ellipse */ .mono-chip { font-family: var(--mono); font-weight: 500; font-size: var(--fs-2); white-space: normal; overflow-wrap: anywhere; border-radius: 8px; } .chips { display: inline-flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; } /* ---- buttons: the ink on the surface; the solid one the surface on the ink ---- */ .btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-strong); background: var(--card); color: var(--ink); border-radius: 9px; padding: 0 14px; font-size: var(--fs-4); font-weight: 600; min-height: 40px; text-decoration: none; white-space: nowrap; transition: background var(--t), color var(--t), border-color var(--t); } .btn:visited { color: var(--ink); } .btn .ico { color: inherit; } .btn:hover:not(:disabled), .btn[aria-pressed="true"] { border-color: var(--ink); } .btn.solid, .btn.solid:visited { background: var(--ink); color: var(--canvas); border-color: var(--ink); } .btn.solid:hover:not(:disabled) { background: var(--ink-2); border-color: var(--ink-2); } .btn:disabled { border-color: var(--line); color: var(--ink-muted); background: var(--canvas); cursor: default; } .btn.on-dark { background: transparent; color: var(--on-dark); border-color: rgba(255, 255, 255, 0.28); } .btn.on-dark:hover { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.5); } .btn.small-btn { min-height: 34px; font-size: var(--fs-3); padding: 0 12px; } button.link { border: 0; background: none; color: var(--link); text-decoration: underline; padding: 4px 0; font-size: var(--fs-4); min-height: 28px; } .copy-wrap { display: inline-flex; align-items: center; gap: var(--s1); } .copy-state { font-size: var(--fs-small); color: var(--ink-2); min-width: 4.5em; } .copy-state:empty { min-width: 0; } .code-card .copy-state { color: var(--on-dark-2); } /* a segmented control: the pressed part the surface on the ink */ .seg-wrap { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px var(--s1); } .seg-label { font-size: var(--fs-small); color: var(--ink-muted); } .seg-label:empty { display: none; } .seg { position: relative; display: inline-flex; border: 1px solid var(--panel-line); border-radius: 9px; padding: 2px; gap: 2px; } .seg button { position: relative; border: 0; background: transparent; border-radius: 7px; padding: 5px 12px; font-size: var(--fs-3); line-height: 1.4; color: var(--ink-2); white-space: nowrap; transition: background var(--t), color 220ms; } .seg button[aria-pressed="true"] { background: var(--ink); color: var(--canvas); font-weight: 600; } /* the pill that slides to the pressed part (app.js setUpPills marks the control once it has one) */ .seg-pill { position: absolute; left: 0; top: 0; border-radius: 7px; background: var(--ink); pointer-events: none; transition: transform 300ms cubic-bezier(0.3, 0.8, 0.2, 1), width 300ms cubic-bezier(0.3, 0.8, 0.2, 1), opacity 160ms; } .seg.pilled button[aria-pressed="true"] { background: transparent; } @media (prefers-reduced-motion: reduce) { .seg-pill { transition: none; } } .seg button:hover:not([aria-pressed="true"]) { background: var(--wash); } /* ---- the nav: glass over the page, the mark, the three parts of the page with their progress, the links ---- */ .topnav { position: sticky; top: 0; z-index: 40; height: var(--nav-h); background: var(--glass); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--nav-line); } .nav-row { height: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--s4); padding-inline: var(--edge); } .brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: var(--fs-6); color: var(--ink); text-decoration: none; white-space: nowrap; } .brand:visited { color: var(--ink); } .brand .mark { display: block; flex: none; } .progress { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s2); max-width: 460px; width: 100%; justify-self: center; } .progress a { display: block; text-decoration: none; color: var(--ink-muted); font-size: var(--fs-3); line-height: 1; padding: 6px 0; } .progress a .pl { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* #1216: the short labels of the parts on a phone */ .progress a .pl-short { display: none; } .progress a:visited { color: var(--ink-muted); } .progress a[aria-current="true"] { color: var(--ink); font-weight: 600; } .progress .track { display: block; height: 2px; background: var(--panel-line); margin-top: 7px; border-radius: 2px; overflow: hidden; } .progress .fill { display: block; height: 100%; width: 0; background: var(--ink); border-radius: 2px; transition: width var(--t) linear; } .nav-links { display: flex; align-items: center; gap: 18px; font-size: var(--fs-3); } .nav-links a:not(.btn), .nav-links a:not(.btn):visited { color: var(--ink-2); text-decoration: none; } .nav-links a:not(.btn):hover { color: var(--ink); text-decoration: underline; } /* ---- skeletons: shapes, never words ---- */ .sk { display: block; border-radius: 8px; background: linear-gradient(90deg, var(--sk-a) 0%, var(--sk-b) 50%, var(--sk-a) 100%); background-size: 200% 100%; } @media (prefers-reduced-motion: no-preference) { .sk, .sk-tile { animation: shimmer 1.3s linear infinite; } } @keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } } .sk-line { display: inline-block; width: min(14em, 70vw); height: 0.9em; } .sk-num { display: inline-block; width: 2.4em; height: 0.82em; } .sk-block { height: 240px; } .sk-block.tall { height: 420px; } .sk-row { height: 44px; margin: 12px 0; } /* ---- the working screen: the field is the ground, the panels float on it ---- */ .work { position: relative; height: calc(100vh - var(--nav-h)); height: calc(100dvh - var(--nav-h)); min-height: 760px; overflow: hidden; background: radial-gradient(120% 90% at 50% 8%, var(--canvas-2), var(--canvas) 70%); border-bottom: 1px solid var(--line); } /* a breath of the two upper stages' colors behind the scene */ .work::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(38% 34% at 50% 40%, color-mix(in srgb, var(--post) 7%, transparent), transparent 72%), radial-gradient(32% 28% at 56% 62%, color-mix(in srgb, var(--mid) 7%, transparent), transparent 72%); } .field { position: absolute; inset: 0; } .field canvas { position: relative; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; outline-offset: -4px; } .field canvas.hot { cursor: pointer; } .field canvas.drag { cursor: grabbing; } /* the room the panels leave to the scene, for what is placed in its middle */ .field-ghost, .field-empty { --room-l: calc(var(--left-w) + 2 * var(--edge)); --room-r: calc(var(--right-w) + 2 * var(--edge)); } /* the outline of the strata until the scene is up */ .field-ghost { position: absolute; left: calc(var(--room-l) + 60px); top: 110px; width: calc(100% - var(--room-l) - var(--room-r) - 120px); height: calc(100% - 360px); fill: none; stroke: var(--line-strong); stroke-width: 1.2; vector-effect: non-scaling-stroke; transition: opacity 700ms; } @media (prefers-reduced-motion: no-preference) { .field-ghost path { animation: ghost 1.8s ease-in-out infinite; } .field-ghost path:nth-child(2) { animation-delay: 150ms; } .field-ghost path:nth-child(3) { animation-delay: 300ms; } .field-ghost path:nth-child(4) { animation-delay: 450ms; } } @keyframes ghost { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } } .work.field-up .field-ghost { opacity: 0; } .field-ov { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; } /* the ring of the point under the pointer; the two rings of the open source, the outer one going out again and again */ .field-ov circle { fill: none; stroke: currentColor; r: var(--r, 11px); } .field-ring circle { stroke-width: 1.5; } .field-open .a { stroke-width: 1.75; } .field-open .b { stroke-width: 1; opacity: 0; } @media (prefers-reduced-motion: no-preference) { .field-open .b { animation: ping 2.4s cubic-bezier(0.2, 0.6, 0.3, 1) infinite; } } @keyframes ping { from { r: var(--r, 11px); opacity: 0.8; } to { r: calc(var(--r, 11px) + 18px); opacity: 0; } } /* the open source's name beside its point */ .field-call { position: absolute; left: 0; top: 0; z-index: 1; pointer-events: none; will-change: transform; } .field-call { font-size: var(--fs-3); font-weight: 500; color: var(--ink); white-space: nowrap; max-width: 320px; overflow: hidden; text-overflow: ellipsis; margin: -38px 0 0 20px; padding: 4px 10px; border-radius: 7px; background: var(--panel); border: 1px solid var(--panel-line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); } .field-call.left { margin-left: -340px; text-align: right; } /* no source matches: said in the middle of the scene, with the way back */ .field-empty { position: absolute; z-index: 1; left: var(--room-l); right: var(--room-r); top: 40%; margin: 0; display: flex; justify-content: center; align-items: baseline; gap: 12px; font-size: var(--fs-5); color: var(--ink-2); } /* what a point's light says, in the top left corner of the scene's room */ .field-legend { position: absolute; z-index: 1; left: calc(var(--left-w) + 2 * var(--edge) + 6px); top: 22px; margin: 0; display: none; gap: 3px; font-size: var(--fs-2); color: var(--ink-muted); } .field-legend > span { display: flex; align-items: center; gap: 7px; } .field-legend i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); } .field-legend .l2 { opacity: 0.45; } .field-legend .l3 { opacity: 0.14; } @media (min-width: 1600px) { .field-legend:not([hidden]) { display: grid; } } /* a label of the field, at the projected place of its anchor */ .lab { position: absolute; left: 0; top: 0; pointer-events: none; white-space: nowrap; font-family: var(--mono); font-weight: 500; font-size: var(--fs-1); letter-spacing: 0.08em; color: var(--ink-2); opacity: 0; transition: opacity 500ms; will-change: transform; text-shadow: 0 0 3px var(--canvas), 0 0 8px var(--canvas); } .lab.on { opacity: 1; } /* a label that sets a filter (a stage's, a domain's): a button for the pointer */ .lab button { all: unset; cursor: pointer; border-radius: 6px; padding: 2px 6px; margin: -2px -6px; transition: background var(--t), color var(--t); } .lab.on button { pointer-events: auto; } .lab button:hover { background: var(--wash); color: var(--ink); } .lab button[aria-pressed="true"] { color: var(--ink); background: var(--wash); box-shadow: inset 0 0 0 1px var(--panel-line); } /* a label that ends at its anchor (a lane's name, left of the lane) */ .lab.end > * { display: block; transform: translate(-100%, -50%); } /* #2629: a domain's label, centered on its cluster: over its anchor (up) or under it (down), on the side of the cluster no point is on, and no wider than a column of the domains view (--col, set by field.js), its words wrapping */ .lab.up > *, .lab.down > * { display: block; width: max-content; max-width: var(--col, 12em); white-space: normal; overflow-wrap: anywhere; text-align: center; } .lab.up > * { transform: translate(-50%, -100%); } .lab.down > * { transform: translate(-50%, 0); } .lab b { font-family: var(--display); font-weight: 800; font-size: clamp(23px, 0.4vw + 17.2px, 28px); letter-spacing: 0.02em; color: var(--ink); margin-right: 6px; } .lab i { font-style: normal; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; background: var(--c); } @media (prefers-reduced-motion: reduce) { .lab { transition: none; } } .field-tip { position: absolute; left: 0; top: 0; z-index: 4; pointer-events: none; background: var(--card); border: 1px solid var(--panel-line); border-radius: 9px; padding: 8px 11px; font-size: var(--fs-3); max-width: 340px; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.35); will-change: transform; } .field-tip .t { font-weight: 500; } .field-tip .t i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 7px; vertical-align: 1px; } .field-tip .s { color: var(--ink-muted); font-size: var(--fs-2); margin-top: 1px; } .field-off { position: absolute; left: calc(var(--left-w) + 2 * var(--edge)); right: calc(var(--right-w) + 2 * var(--edge)); top: 30%; margin: 0 auto; max-width: 46ch; text-align: center; font-size: var(--fs-4); color: var(--ink-2); } .panel { position: absolute; z-index: 2; background: var(--panel); border: 1px solid var(--panel-line); border-radius: var(--r); -webkit-backdrop-filter: blur(16px) saturate(1.25); backdrop-filter: blur(16px) saturate(1.25); box-shadow: inset 0 1px 0 var(--panel-top), 0 30px 60px -40px rgba(0, 0, 0, 0.5); } /* the panels come up one after another when the page opens */ @media (prefers-reduced-motion: no-preference) { .work > .panel { animation: rise 600ms cubic-bezier(0.2, 0.7, 0.2, 1) both; } .work > .work-right { animation-delay: 90ms; } .work > .work-dock { animation-delay: 180ms; } .work > .views { animation-name: fade; } } @keyframes rise { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } } @keyframes fade { from { opacity: 0; } to { opacity: 1; } } .views { top: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; padding: 3px; border-radius: 12px; } .views .seg { border: 0; padding: 0; } .views .zoom button { min-width: 28px; font-size: var(--fs-5); line-height: 1.15; } .views .zoom svg { display: block; } .field-hint { position: absolute; z-index: 1; top: 66px; left: 50%; transform: translateX(-50%); margin: 0; color: var(--ink-muted); font-size: var(--fs-2); white-space: nowrap; transition: opacity 600ms; } /* the hint goes once the reader has turned or zoomed the scene */ .work.touched .field-hint { opacity: 0; } .work-left { left: var(--edge); top: 16px; bottom: var(--edge); width: var(--left-w); overflow: auto; overscroll-behavior: contain; } .work-right { right: var(--edge); top: 16px; bottom: var(--edge); width: var(--right-w); display: flex; flex-direction: column; min-height: 0; } .work-dock { left: calc(var(--left-w) + 2 * var(--edge)); right: calc(var(--right-w) + 2 * var(--edge)); bottom: var(--edge); padding: 12px 14px; } .pad { padding: 18px 18px 12px; } .work h1 { font-size: clamp(34px, 0.6vw + 25.4px, 41px); line-height: 1.12; font-weight: 700; letter-spacing: -0.01em; margin: 6px 0 8px; text-wrap: balance; } .work h1:lang(zh) { letter-spacing: 0.02em; } .lede { color: var(--ink-2); margin: 0; font-size: var(--fs-4); line-height: 1.5; } /* the stratigraphic column: one band per stage, top to bottom as the field stacks them; --c is the stage's color */ .stage-fig { margin: 0; } .stage-fig > .eyebrow { padding: 2px 18px 6px; } .column { display: grid; gap: 2px; margin: 0; padding: 0 12px; list-style: none; } .stratum { display: grid; grid-template-columns: 6px minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; width: 100%; min-height: 58px; text-align: left; padding: 7px 10px 7px 0; background: transparent; border: 0; border-radius: 8px; color: var(--ink); transition: background var(--t), opacity var(--t); } .stratum.sk-tile { background: linear-gradient(90deg, var(--sk-a) 0%, var(--sk-b) 50%, var(--sk-a) 100%); background-size: 200% 100%; } button.stratum:hover { background: var(--wash); } .stratum .core { align-self: stretch; border-radius: 3px; background: var(--c); transform-origin: left; transition: transform 220ms cubic-bezier(0.3, 0.8, 0.2, 1); } button.stratum:hover .core, .stratum[aria-pressed="true"] .core { transform: scaleX(1.5); } .stratum .nm { font-weight: 600; font-size: var(--fs-4); display: flex; gap: 8px; align-items: center; } .stratum .sub { display: block; color: var(--ink-muted); font-size: var(--fs-2); } .stratum .amount { text-align: right; white-space: nowrap; } .stratum .big { font-size: clamp(30px, 0.55vw + 22px, 36px); } .stratum .unit { font-size: var(--fs-1); color: var(--ink-muted); margin-left: 4px; } /* #2629: a line under the name and the figure: a stage's funnel (what meets its condition, then what each rule removes), or under the last band what no stage counts by reason; the core runs beside it */ .stratum.has-steps .core { grid-row: span 2; } .stratum .steps { grid-column: 2 / -1; color: var(--ink-muted); font-size: var(--fs-1); line-height: 1.35; } .stratum[aria-pressed="true"] { background: var(--wash); box-shadow: inset 0 0 0 1px var(--panel-line); } /* while one stage is picked the others step back */ .column.picked .stratum:not([aria-pressed="true"]) { opacity: 0.45; } /* a provisional stage: a dashed outline, as a stage the table marks provisional */ .prov { font-family: var(--mono); font-size: var(--fs-1); font-weight: 500; padding: 1px 6px; border: 1px dashed var(--ink-muted); border-radius: 999px; color: var(--ink-muted); white-space: nowrap; } /* the words the page counts in, under the stages: a lead and one button per word, and the popover a button opens */ .terms { margin: 10px 18px 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: var(--fs-2); color: var(--ink-muted); } .term { padding: 2px 0; border: 0; background: none; font: inherit; font-size: var(--fs-3); color: var(--ink); cursor: help; text-decoration: underline dotted var(--ink-muted); text-underline-offset: 4px; } .term:hover, .term:focus-visible { color: var(--link); text-decoration-color: currentColor; } .term-pop { position: fixed; inset: auto; margin: 0; width: min(420px, calc(100vw - 16px)); padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--card); color: var(--ink); font-size: var(--fs-4); line-height: 1.5; box-shadow: 0 12px 32px rgba(8, 19, 27, 0.22); } .term-pop strong { display: block; font-size: var(--fs-5); } .term-pop p { margin: 4px 0 0; } .term-pop ul { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: var(--fs-3); color: var(--ink-2); } .term-pop a { display: inline-block; margin-top: 10px; font-size: var(--fs-3); color: var(--link); } .stage-why { margin: 6px 18px 0; display: grid; gap: 2px; font-size: var(--fs-2); color: var(--problem-text); } /* the filters, in the left panel: the search, then two to a row */ .filters { margin-top: 10px; } .filter-toggle { display: none; } .filter-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 8px; padding: 4px 18px 0; } .filter-row > .wide, .filter-row > .eyebrow, .filter-row > .ext-fold, .filter-row > .filter-foot { grid-column: 1 / -1; } /* the search says what it searches in its box, so its label is kept for a screen reader only; the folded list of file types takes the free half beside the last select, and the whole row once it is open */ .filter-row > .wide > span:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } .filter-row > .ext-fold:not([open]) { grid-column: auto; align-self: end; padding-bottom: 6px; } .filter-row label { display: grid; gap: 4px; font-size: var(--fs-2); color: var(--ink-muted); min-width: 0; } .filter-row select, .filter-row input[type="search"] { min-width: 0; width: 100%; min-height: 38px; padding: 6px 9px; font-size: var(--fs-4); color: var(--ink); background: color-mix(in srgb, var(--card) 70%, transparent); border: 1px solid var(--panel-line); border-radius: 8px; transition: border-color var(--t); } .filter-row select:hover, .filter-row input[type="search"]:hover { border-color: var(--ink-muted); } /* the key that goes to the search, shown in the box while it is empty and not in use */ .q-wrap { position: relative; display: block; } .q-wrap kbd { position: absolute; right: 8px; top: 50%; translate: 0 -50%; font-family: var(--mono); font-size: var(--fs-1); line-height: 18px; padding: 0 6px; border: 1px solid var(--panel-line); border-radius: 4px; color: var(--ink-muted); pointer-events: none; transition: opacity var(--t); } .q-wrap:focus-within kbd, .q-wrap input:not(:placeholder-shown) + kbd { opacity: 0; } .filter-row select:disabled { color: var(--ink-muted); } /* #1524: the File type facet, a short scrolling list of checkboxes; folded while no type is checked, its summary saying how many are */ .ext-fold { font-size: var(--fs-2); color: var(--ink-muted); min-width: 0; } .ext-fold > summary { cursor: pointer; padding: 2px 0; } .ext-fold > summary:hover { color: var(--ink); } .ext-on { margin-left: var(--s1); color: var(--ink); font-weight: 600; } .ext-on:empty { display: none; } .ext-list { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2px 8px; max-height: 9rem; overflow-y: auto; overscroll-behavior: contain; margin-top: 4px; } .filter-row .ext-list label { display: flex; align-items: center; gap: 6px; font-size: var(--fs-3); color: var(--ink); } .filter-row .ext-list input[type="checkbox"] { margin: 0; accent-color: var(--ink); } .filter-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s1); } .filter-row .count { font-size: var(--fs-2); color: var(--ink-2); font-weight: 600; } .filter-row button.clear { border: 0; background: none; color: var(--link); text-decoration: underline; padding: 4px 0; font-size: var(--fs-3); } .filter-row button.clear:disabled { color: var(--ink-muted); text-decoration: none; cursor: default; } .work-foot { margin: 10px 18px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: var(--fs-2); color: var(--ink-muted); } .release-line { margin: 8px 0 0; font-size: var(--fs-2); color: var(--ink-muted); } .release-line a { white-space: nowrap; } .release-line a.mono { font-size: var(--fs-2); } .notice { color: var(--problem-text); } /* the right panel: the count of the selection, its filters as chips, the open source in short, the list */ .sel-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .work-right .count { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 10px 0 0; color: var(--ink-2); } .work-right .count .num { font-size: clamp(54px, 1vw + 39.6px, 65px); color: var(--ink); } .meta { display: flex; gap: 4px 14px; flex-wrap: wrap; margin: 6px 0 0; color: var(--ink-muted); font-size: var(--fs-3); } .meta b { color: var(--ink); font-weight: 600; } /* the selection: one removable chip per filter */ .sel-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; } .sel-chips:empty { display: none; } .sel-chip { padding-right: 2px; background: transparent; border-color: var(--panel-line); font-size: var(--fs-2); line-height: 28px; } .sel-chip .chip-k { color: var(--ink-muted); } .sel-chip b { color: var(--ink); font-weight: 600; max-width: 12em; overflow: hidden; text-overflow: ellipsis; } .chip-x { display: inline-flex; align-items: center; justify-content: center; border: 0; background: none; color: var(--ink-2); font-size: var(--fs-5); line-height: 1; width: 20px; height: 20px; border-radius: 50%; } .chip-x:hover { background: var(--wash); color: var(--ink); } .src-list { list-style: none; margin: 0; padding: 0 8px 4px; overflow: auto; overscroll-behavior: contain; flex: 1; min-height: 0; } .src-list .sk-row { margin: 8px 10px; } .src { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; gap: 3px 10px; align-items: center; width: 100%; text-align: left; background: none; border: 0; padding: 7px 10px; border-radius: 8px; color: var(--ink); } .src:hover, .src.on, .src.hot { background: var(--wash); } .src { transition: background var(--t); } .src .dot { transition: transform 200ms; } .src:hover .dot, .src.hot .dot, .src.on .dot { transform: scale(1.5); } /* a new list comes in row by row; the open source's card and a new chip come in too */ @media (prefers-reduced-motion: no-preference) { .src-list > li { animation: rowIn 380ms cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: calc(min(var(--i, 0), 16) * 22ms); } .card-s { animation: rise 320ms cubic-bezier(0.2, 0.7, 0.2, 1) both; } .sel-chip { animation: pop 260ms cubic-bezier(0.3, 1.4, 0.5, 1) both; } .src .barw u { transform-origin: left; animation: grow 600ms cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: inherit; } } @keyframes rowIn { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } } @keyframes pop { from { opacity: 0; scale: 0.9; } to { opacity: 1; scale: 1; } } @keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } } .src .dot { margin: 0; background: var(--c); } .src .t { display: block; font-size: var(--fs-3); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .src .s { display: block; font-size: var(--fs-2); color: var(--ink-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .src .sz { font-family: var(--mono); font-size: var(--fs-2); color: var(--ink-2); text-align: right; white-space: nowrap; } .src .barw { grid-column: 2 / 4; height: 2px; background: var(--panel-line); border-radius: 2px; overflow: hidden; } .src .barw u { display: block; height: 100%; background: var(--c); } .src-none { margin: 0; padding: 12px 18px; font-size: var(--fs-3); color: var(--ink-2); } .panel-foot { margin: 0; padding: 8px 18px 12px; border-top: 1px solid var(--panel-line); font-size: var(--fs-3); } .panel-foot:has(a:empty) { display: none; } .card-s { position: relative; margin: 0 12px 8px; padding: 12px 14px; border: 1px solid var(--panel-line); border-radius: 10px; background: color-mix(in srgb, var(--card) 60%, transparent); } .card-s h3 { margin: 0 22px 2px 0; font-size: var(--fs-4); line-height: 1.3; overflow-wrap: anywhere; } .card-s .src-id { display: block; } .card-s dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 3px 12px; margin: 8px 0 10px; font-size: var(--fs-3); } .card-s dt { color: var(--ink-muted); } .card-s dd { margin: 0; overflow-wrap: anywhere; } .card-s .x { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; background: none; border: 0; border-radius: 50%; color: var(--ink-muted); font-size: var(--fs-6); line-height: 1; } .card-s .x:hover { background: var(--wash); color: var(--ink); } .card-s .acts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: var(--fs-3); } /* the dock: the one command that takes the selection */ .dock-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; } .dock-top > .eyebrow { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /* where the room between the panels is too narrow for all four in a row, the dock's title takes a line of its own */ @media (max-width: 1679px) { .dock-top > .eyebrow { flex-basis: 100%; } } .dock-word { color: var(--ink-muted); font-size: var(--fs-2); white-space: nowrap; } .dock-foot { margin: 6px 2px 0; font-size: var(--fs-3); text-align: right; } /* an option's name in the command, apart from its value (the command card is dark in both themes) */ .dock-cmd .flag { color: #8fc7ee; } .dock-cmd .cont { color: #6b8496; } #dock-copy { min-width: 9.5em; justify-content: center; } .dock-cmd { margin: 0; background: var(--code); color: var(--on-dark); border-radius: 10px; padding: 12px 14px; font-size: var(--fs-3); font-weight: 400; line-height: 1.6; white-space: pre-wrap; word-break: break-all; max-height: 134px; min-height: 72px; overflow: auto; } /* ---- the sections under the working screen, full width on the canvas ---- */ .band { padding-block: clamp(48px, 4.4vw, 80px); } .band-alt { background: linear-gradient(180deg, var(--canvas-2) 0, var(--canvas) 200px); border-top: 1px solid var(--line); } .band-head { margin: 0 0 var(--s4); } .band-head.row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s2) var(--s3); } .band-head h2, .site-foot h2 { font-size: var(--fs-h2); line-height: 1.2; letter-spacing: -0.01em; font-weight: 600; margin: 0; min-height: 1.2em; } @media (prefers-reduced-motion: no-preference) { .js-reveal .reveal { opacity: 0; transform: translateY(14px); transition: opacity 500ms ease, transform 500ms ease; } .js-reveal .reveal.in { opacity: 1; transform: none; } } /* ---- cards ---- */ .card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); } .chart-card { margin: 0; padding: var(--s3); } .lift { transition: transform var(--t) ease, box-shadow var(--t) ease, border-color var(--t); } .lift:hover, .lift:focus-within { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--line-strong); } @media (prefers-reduced-motion: reduce) { .lift:hover, .lift:focus-within { transform: none; } } /* the map's color legend (Plot's ramp): its title and tick labels at the size of the page's small labels, over the 10px the axis sets on itself (linked.js LEGEND_FONT measures the labels at this size) */ #map svg[class$="-ramp"], #map svg[class$="-ramp"] g { font-size: 12.5px; overflow: visible; } /* the legend of a bar split into parts (the license of a source's rows; the bar is plots.js shares) */ .sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: var(--s1); vertical-align: -1px; } /* one color per layer across the page: material sets main, corpora gray */ .kind-material_set { background: var(--ours); } .kind-corpus { background: var(--other); } .kind-key { display: inline-flex; flex-wrap: wrap; gap: 4px var(--s2); font-size: var(--fs-small); color: var(--ink-2); } .kind-key > span { display: inline-flex; align-items: center; } .kind-key .sw { margin-right: 6px; } .chart-card .kind-key, .chart .kind-key { margin: 0 0 var(--s1); } .stack-labels { display: flex; flex-wrap: wrap; gap: 2px var(--s2); font-size: var(--fs-small); color: var(--ink-2); margin: 6px 0 var(--s1); } .stack-labels b { color: var(--ink); font-weight: 600; } .mini-title { display: flex; align-items: center; gap: 6px; font-size: var(--fs-small); color: var(--ink-2); margin: var(--s2) 0 6px; } /* ---- chart chrome ---- */ figure.chart { margin: 0; } .chart-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s1) var(--s2); align-items: center; margin-bottom: var(--s2); } .chart-title { font-size: var(--fs-5); font-weight: 600; margin: 0 0 var(--s1); color: var(--ink); } .chart-head .chart-title { margin: 0; } table.data { border-collapse: collapse; width: 100%; font-size: var(--fs-4); } table.data caption { text-align: left; font-size: var(--fs-small); color: var(--ink-2); padding-bottom: var(--s1); } table.data th, table.data td { text-align: left; padding: var(--s1) var(--s2) var(--s1) 0; border-bottom: 1px solid var(--line); vertical-align: top; } table.data th { font-weight: 600; color: var(--ink-2); font-size: var(--fs-small); } table.data td.r, table.data th.r { text-align: right; } table.data tbody tr:hover { background: var(--canvas); } .table-wrap { max-width: 100%; overflow-x: auto; } /* #2066: the charts of plots.js (Observable Plot): each tip takes the card's color, as their text takes the ink (currentColor) */ .plot-box svg { display: block; --plot-background: var(--card); } .sk-strip { height: 14px; width: 100%; max-width: 360px; margin: 6px 0; } .browse-main { container-type: inline-size; min-width: 0; } /* the map over the whole width, so its column labels have room; under it the bars by domain and by form, side by side */ .map-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3); } .side-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s5); align-items: start; } /* the map card and the bars card end level: the map card stretches */ #heat-fig { display: flex; flex-direction: column; } #map { margin-top: var(--s8); } /* a narrow results column: the category moves into the detail, so the source name has room */ @container (max-width: 1150px) { .src-table th.col-domain, .src-table td.cat-cell { display: none; } } @container (max-width: 1150px) and (min-width: 721px) { .src-table td.title { max-width: none; min-width: 16rem; } } /* the linked charts (Mosaic vgplot draws them as SVG): a wide map scrolls inside its card on a narrow screen */ .plot-wrap { max-width: 100%; overflow-x: auto; } .plot-wrap .plot { flex-direction: column; gap: var(--s1); } .plot-wrap svg { display: block; max-width: none; height: auto; font-family: var(--sans); } .plot-wrap svg g[aria-label="bar"] > *, .plot-wrap svg g[aria-label="cell"] > * { cursor: pointer; } .console-link { margin: var(--s2) 0 0; font-size: var(--fs-4); } /* ---- sources ---- */ .table-card { padding: var(--s2) var(--s3) var(--s3); } .list-key-fold > summary { display: none; } .list-key { display: flex; flex-wrap: wrap; align-items: center; gap: 6px var(--s2); margin: 0 0 var(--s2); font-size: var(--fs-small); color: var(--ink-2); } .fit-name { display: inline-flex; align-items: center; gap: 4px; } .fit-key { display: inline-flex; flex-wrap: wrap; gap: 4px var(--s2); margin-left: auto; } .fit-key > span { display: inline-flex; align-items: center; gap: 6px; } .fit { display: inline-block; width: 12px; height: 12px; border-radius: 50%; flex: none; } .fit-yes { background: var(--ours); } .fit-part { background: linear-gradient(90deg, var(--ours) 50%, var(--card) 50%); box-shadow: inset 0 0 0 1.5px var(--ours); } .fit-no { background: var(--problem); } .fit-unknown { background: var(--card); box-shadow: inset 0 0 0 1.5px var(--other); } /* #1302: the dots and their names over the column share one grid of a slot per fit (#1577: eight), so each name stands above its dot */ .fit-strip, .fit-heads { display: inline-grid; grid-template-columns: repeat(8, 2.25rem); justify-items: center; align-items: center; } .fit-head { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 0 0 var(--s1); font-size: var(--fs-1); font-weight: 500; line-height: 1.1; color: var(--ink-2); text-align: center; white-space: nowrap; } .src-table { border-collapse: collapse; width: 100%; font-size: var(--fs-5); } .src-table th { font-size: var(--fs-small); font-weight: 600; color: var(--ink-2); text-align: left; padding: 0; border-bottom: 1px solid var(--line); } .src-table th button { border: 0; background: none; padding: var(--s1) var(--s2) var(--s1) 0; cursor: pointer; font-size: var(--fs-small); color: var(--ink-2); text-align: inherit; width: 100%; min-height: 36px; white-space: nowrap; font-weight: 600; } .src-table th[aria-sort] button { color: var(--ink); } /* the list's head stays under the nav while the list scrolls (a phone's list has no table head) */ @media (min-width: 721px) { .src-table thead th { position: sticky; top: var(--nav-h); z-index: 3; background: var(--card); border-bottom: 0; box-shadow: inset 0 -1px 0 var(--line); } } .src-table th.r, .src-table td.r { text-align: right; white-space: nowrap; } .src-table td { padding: 14px var(--s2) 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; } .src-table tbody tr.row { transition: background var(--t); } .src-table tbody tr.row:hover, .src-table tbody tr.row:focus-within { background: var(--canvas); } .src-table tbody tr.row.open { background: var(--ours-wash); } .src-table td:first-child, .src-table th:first-child button { padding-left: 8px; } /* the heading of a group of the list (a collection); #2422: among material sets a toggle of the filter by collection */ .src-table .group-row th { text-align: left; font-weight: 600; padding: 12px 8px 6px; background: var(--canvas-2); } .group-row th .small { margin-left: var(--s1); font-weight: 400; } .group-btn { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 0; cursor: pointer; font: inherit; font-weight: 600; color: var(--ink); text-align: left; } .group-btn:hover { color: var(--link); text-decoration: underline; } .group-btn[aria-pressed="true"] { color: var(--ours); } .src-table td.title { max-width: 36rem; } .src-table td.title button { border: 0; background: none; padding: 0; color: var(--ink); cursor: pointer; text-align: left; font-size: var(--fs-5); font-weight: 600; min-height: 24px; display: inline-flex; gap: 6px; } .src-table td.title button:hover { color: var(--link); text-decoration: underline; } .src-table td.title .caret { color: var(--ink-muted); width: 12px; flex: none; } /* #1216: the kind mark and the id start at the title's left edge, past the caret (its width and the gap) */ .src-table td.title { --title-indent: 18px; } /* the kind of a source under its title (only when the list holds both kinds): a swatch in the kind's color and its name */ .kind-tag { display: flex; align-items: center; margin-left: var(--title-indent, 0); font-size: var(--fs-2); font-weight: 600; white-space: nowrap; } .kind-tag .sw { width: 8px; height: 8px; margin-right: 4px; vertical-align: 0; } .kind-tag-material_set { color: var(--ours); } .kind-tag-corpus { color: var(--ink-2); } /* a source is named by its title; its id is small, in monospace, below it */ .title-foot { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px var(--s2); margin-top: 2px; margin-left: var(--title-indent, 0); } .src-id { font-family: var(--mono); font-weight: 500; font-size: var(--fs-2); color: var(--ink-muted); overflow-wrap: anywhere; } /* #1216: "Preview" in the size and style of the id beside it */ .src-table td.title button.preview-btn { display: inline; font-family: var(--mono); font-size: var(--fs-2); font-weight: 500; color: var(--ink-muted); text-decoration: none; padding: 0; min-height: 24px; } .src-table td.title button.preview-btn:hover { color: var(--link); text-decoration: underline; } /* #1286: "Pick" beside "Preview"; once picked it says so in the main color, with a check, and the row is marked */ .src-table td.title button.pick-btn { font-family: var(--mono); font-size: var(--fs-2); font-weight: 500; color: var(--ink-muted); text-decoration: none; padding: 0; min-height: 24px; align-items: center; gap: 2px; } .src-table td.title button.pick-btn:hover { color: var(--link); text-decoration: underline; } .src-table td.title button.pick-btn[aria-pressed="true"] { color: var(--ours); font-weight: 600; } .src-table tbody tr.row.picked { box-shadow: inset 3px 0 0 var(--ours); } .src-table tr.preview-row > td { padding: 0 8px var(--s2); } /* #1256: the preview scrolls sideways in its own box (Bootstrap's responsive table); inline-size containment keeps its columns out of the list's width, so the page is never wider than the window */ .src-table tr.preview-row .table-wrap { max-height: 420px; overflow: auto; contain: inline-size; border: 1px solid var(--line); border-radius: 10px; background: var(--card); padding: 0 var(--s2); } .preview-table { width: max-content; min-width: 100%; } .preview-table th { white-space: nowrap; } .preview-table td > span { display: inline-block; max-width: 36ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: top; } .preview-table td > span.uri { max-width: none; } .cat-cell { color: var(--ink-2); font-size: var(--fs-4); max-width: 16rem; } .form-cell { white-space: nowrap; font-size: var(--fs-4); } .form-cell .ico { margin-right: 6px; } .unit-word { font-size: var(--fs-2); color: var(--ink-muted); } /* #2422: a source's size, the deduplicated one, and under it the estimate for its rows without a recorded size */ .size-cell b { display: block; font-weight: 600; } .size-sub { display: block; font-size: var(--fs-2); color: var(--ink-muted); white-space: nowrap; } .fit-cell { white-space: nowrap; padding-top: 18px !important; } .src-table tr.open td { border-bottom-color: transparent; } .src-table tr.detail-row > td { padding: 0 0 var(--s3); background: var(--ours-wash); } .more { margin: var(--s2) 0 0; } /* the size of the layer shown, and (#2422) how sizes are measured, folded */ .size-note { margin: var(--s2) 0 0; display: grid; gap: 4px; } .size-note > p { margin: 0; } .size-how > summary { width: fit-content; cursor: pointer; color: var(--link); } .size-how > p { margin: 4px 0 0; max-width: 96ch; } /* the detail, in the group's order */ .detail { padding: var(--s2) var(--s3) var(--s1); overflow-wrap: anywhere; } .fit-row { list-style: none; margin: 0 0 var(--s3); padding: 0; display: flex; flex-wrap: wrap; gap: var(--s1); } .fit-item { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-small); color: var(--ink-2); background: var(--card); border-radius: 999px; padding: 4px 10px 4px 8px; border: 1px solid var(--line); } .fit-no-item { border-color: var(--problem); } .d-list { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s2) var(--s5); margin: 0; } .d-item { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: var(--s1); align-items: start; } .d-item dt { display: flex; align-items: center; gap: var(--s1); font-size: var(--fs-small); font-weight: 600; color: var(--ink-2); padding-top: 2px; } .d-item dd { margin: 0; font-size: var(--fs-5); display: flex; flex-wrap: wrap; gap: 4px var(--s1); align-items: center; } .d-item dd details { width: 100%; } .d-item dd summary { cursor: pointer; } .d-item dd details p { margin: var(--s1) 0 0; font-size: var(--fs-4); color: var(--ink-2); } .lic { display: flex; flex-wrap: wrap; gap: 4px var(--s1); align-items: baseline; width: 100%; } .size-parts { width: 100%; } .lic-bars { width: 100%; max-width: 360px; } .lic-kinds { display: grid; gap: 6px; width: 100%; } .lic-kind { display: flex; flex-wrap: wrap; gap: 2px var(--s1); align-items: baseline; } /* #2588: a source's declared upstreams, one line each */ .upstreams { display: grid; gap: 6px; width: 100%; } .upstream { display: flex; flex-wrap: wrap; gap: 2px var(--s1); align-items: baseline; } .upstream a { overflow-wrap: anywhere; } .lic-bars .mini-title { margin-top: 4px; } .cmd-inline { display: block; width: 100%; white-space: pre-wrap; overflow-wrap: anywhere; font-size: var(--fs-2); background: var(--code); color: var(--on-dark); border-radius: 10px; padding: 10px 12px; } .example a { overflow-wrap: anywhere; } .d-more { margin-top: var(--s3); } .d-more summary { cursor: pointer; color: var(--link); font-size: var(--fs-4); } .d-more[open] summary { margin-bottom: var(--s1); } .sample td { font-family: var(--mono); font-weight: 500; font-size: var(--fs-2); word-break: break-all; } /* ---- 3. get the data: dark code cards beside the folder ---- */ #get-body { min-height: 360px; } .pick-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1) var(--s3); margin-bottom: var(--s3); } .pick-row .seg-wrap { margin-left: auto; } /* #1524: how many units to take from each source, above the commands */ .units-row { margin-bottom: var(--s2); } .fact-line { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-5); margin: 0; } .fact-line b { font-weight: 700; font-variant-numeric: tabular-nums; } /* the two commands share the height of the folder card, so both columns end level */ .get-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s4); align-items: stretch; } .cmd-steps { display: grid; gap: var(--s3); grid-auto-rows: 1fr; } .cmd-steps > .code-card { display: flex; flex-direction: column; } .cmd-steps > .code-card > pre.code { flex: 1; } .code-card { border-radius: var(--r); overflow: hidden; color: var(--on-dark); background: linear-gradient(180deg, var(--code-2) 0, var(--code) 64px); border: 1px solid rgba(255, 255, 255, 0.06); box-shadow: 0 2px 4px rgba(17, 37, 50, 0.12), 0 18px 40px -20px rgba(17, 37, 50, 0.5); } .code-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); } .code-ico { display: inline-flex; width: 34px; height: 34px; border-radius: 10px; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.08); } .code-ico .ico { color: #cfe0ea; } .code-head .step-n { display: inline-flex; width: 22px; height: 22px; border-radius: 50%; align-items: center; justify-content: center; font-size: var(--fs-2); font-weight: 700; color: var(--hero-a); background: var(--on-dark-2); } .code-title { font-size: var(--fs-6); font-weight: 600; flex: 1; } .code-card pre.code { margin: 0; padding: 18px 20px 20px; font-size: var(--fs-4); line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; color: #dfe8ee; max-height: 22rem; overflow: auto; } .tree-fig { margin: 0; padding: var(--s3); } .tree { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: var(--fs-3); } .tree li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: var(--s1); align-items: start; } .tree-name { display: flex; flex-wrap: wrap; gap: 0 var(--s1); align-items: baseline; overflow-wrap: anywhere; } .tree .small { color: var(--ink-muted); } .tree-note { margin: var(--s1) 0 0; color: var(--ink-muted); } .profile-title { margin-top: var(--s3); } /* #2422: what the default profile leaves out, each with the flag that takes it back */ ul.profile { list-style: none; margin: 0; padding: 0; display: grid; font-size: var(--fs-3); } ul.profile li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px var(--s2); padding: 5px 0; border-bottom: 1px dashed var(--line); } ul.profile code { font-size: var(--fs-2); color: var(--ink); background: var(--ours-wash); border-radius: 6px; padding: 1px 6px; white-space: nowrap; } .agent-links { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; margin: var(--s2) 0 0; } /* the selection kept as files, and the command that reads the selection file */ .keep-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s4); margin-top: var(--s4); align-items: stretch; } .keep-card { padding: var(--s3); display: flex; flex-direction: column; gap: var(--s2); } .keep-card .chart-title { margin: 0; } .keep-actions { display: flex; flex-wrap: wrap; gap: 10px; } .keep-card .small { margin: 0; overflow-wrap: anywhere; } .csv-card { display: flex; align-items: center; gap: var(--s2); padding: var(--s3); flex-wrap: wrap; max-width: 720px; } /* #2066: the two usage videos side by side; each video keeps its 16:9 box before its file is read, so the parts below it do not move when it arrives */ .video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); margin-top: var(--s5); align-items: start; } .video-card { padding: var(--s3) var(--s4); } .video-card h3 { margin: 0 0 4px; } .video-card p { margin: 0; } .video-card video { display: block; width: 100%; aspect-ratio: 16 / 9; margin-top: var(--s2); border-radius: 8px; background: #000; } .agents-card { margin-top: var(--s5); display: flex; align-items: center; flex-wrap: wrap; gap: var(--s2) var(--s3); padding: var(--s3) var(--s4); } .agents-ico { display: inline-flex; width: 64px; height: 64px; border-radius: 18px; align-items: center; justify-content: center; background: var(--ours-wash); } .agents-text { flex: 1; min-width: 14rem; } .agents-text h3 { margin: 0 0 4px; font-size: var(--fs-sub); } .agents-text p { margin: 0; } .agents-actions { display: flex; flex-wrap: wrap; gap: 10px; } /* ---- the dark footer ---- */ .site-foot { color: var(--on-dark); padding: clamp(56px, 5vw, 88px) 0 var(--s5); background: radial-gradient(900px 400px at 90% 0%, rgba(126, 168, 196, 0.18), transparent 60%), linear-gradient(180deg, var(--hero-a), var(--foot)); } .site-foot .ico { color: #cfe0ea; } .foot-grid { display: grid; gap: var(--s4); } .foot-cta { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s2) var(--s3); padding-bottom: var(--s4); border-bottom: 1px solid rgba(255, 255, 255, 0.1); } .foot-cta > div { flex: 1; min-width: 14rem; } .foot-cta h2 { color: #fff; } .foot-cta p { margin: 4px 0 0; color: var(--on-dark-2); } .foot-ico { display: inline-flex; width: 64px; height: 64px; border-radius: 18px; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.08); } .btn.on-dark-solid, .btn.on-dark-solid:visited { background: #fff; color: var(--hero-a); border-color: #fff; min-height: 44px; padding: 0 20px; font-size: var(--fs-5); } .btn.on-dark-solid:hover { background: #e6eef3; color: var(--hero-a); } .foot-links { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s4); list-style: none; margin: 0; padding: 0; } .foot-links a, .foot-links a:visited { color: var(--on-dark-2); text-decoration: none; font-size: var(--fs-5); } .foot-links a:hover { color: #fff; text-decoration: underline; } .foot-pin { margin: 0; font-size: var(--fs-2); color: var(--on-dark-3); } /* ---- #1617: the user manual, a view of its own (#manual): Markdown rendered by markdown-it in one card. #2614: its contents beside the card from 1024 px, sticky, and below that a menu above it, sticky under the header; the start one screen, with its three guides as links; each guide one screen at 1440 by 900, its steps and its one command; the reference and how it is made as closed parts (
). Text at the page's sizes: the text 17 px (16 on a phone), a list, a table, a command and the contents 15 (a command 13.5 on a phone, as the page's), a caption 14, nothing under 12.5 ---- */ .manual-on .progress { visibility: hidden; } .manual-view { padding-block: var(--s4) var(--s10); min-height: calc(100vh - var(--nav-h)); } .manual-wrap { max-width: calc(1240px + 2 * var(--pad)); } .manual-back { margin: 0 0 var(--s2); font-size: var(--fs-3); } .manual-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s2); } .manual-body { padding: var(--s4) var(--s5); line-height: 1.65; overflow-wrap: anywhere; } .manual-text { font-size: var(--fs-5); } .manual-body > :first-child, .manual-text > :first-child, .manual-part > :first-child { margin-top: 0; } .manual-part + .manual-part { margin-top: var(--s6); padding-top: var(--s4); border-top: 1px solid var(--line); } .manual-body h1 { font-size: var(--fs-h1); line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 var(--s2); } .manual-body h2 { font-size: var(--fs-h2); line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 var(--s2); } .manual-body h3 { font-size: var(--fs-sub); line-height: 1.3; margin: var(--s4) 0 var(--s1); } .manual-body h4 { font-size: var(--fs-6); line-height: 1.35; margin: var(--s3) 0 var(--s1); } .manual-body h5, .manual-body h6 { font-size: var(--fs-5); margin: var(--s3) 0 var(--s1); } .manual-body li, .manual-body table { font-size: var(--fs-3); } .manual-body li + li { margin-top: 4px; } .manual-body img { display: block; max-width: 100%; height: auto; margin: var(--s2) 0; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); } .manual-body .shot-link { display: block; width: fit-content; max-width: 100%; } .manual-body pre { background: var(--code); color: #dfe8ee; border-radius: 12px; padding: 12px 16px; font-size: var(--fs-3); line-height: 1.5; overflow: auto; max-height: 28rem; } /* a command or a query wraps, so all of it shows; an output or a table printed keeps its lines */ .manual-body pre > code.language-sh, .manual-body pre > code.language-sql { white-space: pre-wrap; overflow-wrap: anywhere; } .manual-body :not(pre) > code { background: var(--ours-wash); border-radius: 6px; padding: 1px 6px; font-size: 0.9em; } .manual-body table { border-collapse: collapse; } .manual-body th, .manual-body td { border: 1px solid var(--line); padding: 6px 10px; text-align: left; } /* the start: the line of terms (app.js renderTerms) and the three guides as links */ .manual-text .terms { margin: var(--s3) 0 0; } .manual-part[data-part="start"] > ul { list-style: none; margin: var(--s4) 0 0; padding: 0; display: grid; gap: var(--s2); grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); } .manual-part[data-part="start"] > ul li { margin: 0; font-size: var(--fs-6); } .manual-part[data-part="start"] > ul a { display: flex; justify-content: space-between; gap: var(--s2); height: 100%; padding: var(--s3); border: 1px solid var(--line); border-radius: 12px; background: var(--canvas); color: var(--ink); font-weight: 600; line-height: 1.35; text-decoration: none; transition: border-color var(--t), background var(--t); } .manual-part[data-part="start"] > ul a::after { content: "\2192"; color: var(--ink-muted); } .manual-part[data-part="start"] > ul a:hover { border-color: var(--line-strong); background: var(--wash); } /* a guide: its steps and its one command */ .manual-guide { margin-top: var(--s4); } .manual-guide + .manual-guide { padding-top: var(--s3); border-top: 1px dashed var(--line); } .manual-guide > h3 { margin-top: 0; } /* a closed part: its summary is its heading */ .manual-body details { border-bottom: 1px solid var(--line); } .manual-body h3 + details { border-top: 1px solid var(--line); } .manual-body summary { display: flex; align-items: baseline; gap: 10px; padding: 9px 6px; cursor: pointer; list-style: none; font-weight: 600; line-height: 1.4; } .manual-body summary::-webkit-details-marker { display: none; } .manual-body summary::before { content: "\25B8"; flex: none; color: var(--ink-muted); transition: transform var(--t); } .manual-body details[open] > summary::before { transform: rotate(90deg); } .manual-body summary:hover { background: var(--wash); } .manual-body details[open] { padding-bottom: var(--s2); } .manual-body details > :not(summary) { margin-inline: 6px; } /* the contents: below 1024 px a menu above the text, its summary a bar under the header; from 1024 px beside it */ .manual-toc { position: sticky; top: var(--nav-h); z-index: 30; margin-inline: calc(-1 * var(--pad)); padding: 6px var(--pad); background: var(--glass); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--nav-line); } .manual-menu > summary { display: flex; align-items: center; justify-content: space-between; min-height: 40px; cursor: pointer; list-style: none; font-size: var(--fs-4); font-weight: 600; } .manual-menu > summary::-webkit-details-marker { display: none; } .manual-menu > summary::after { content: "\25BE"; color: var(--ink-muted); } .manual-menu[open] > summary::after { content: "\25B4"; } .manual-menu ol { list-style: none; margin: 0; padding: 0; } .manual-menu > ol { display: grid; gap: 2px; font-size: var(--fs-3); max-height: 60vh; overflow: auto; padding-bottom: 8px; } .manual-menu ol ol { margin: 2px 0 6px 10px; padding-left: 8px; border-left: 1px solid var(--line); } .manual-menu a, .manual-menu a:visited { display: block; padding: 4px 10px; border-radius: 6px; color: var(--ink-2); line-height: 1.35; text-decoration: none; } .manual-menu > ol > li > a, .manual-menu > ol > li > a:visited { color: var(--ink); font-weight: 600; } .manual-menu a:hover { background: var(--wash); color: var(--ink); } .manual-menu a[aria-current] { background: var(--ours-wash); color: var(--ink); } /* below 1024 px a jump lands under the menu's bar too */ .manual-text [id] { scroll-margin-top: 56px; } @media (min-width: 1024px) { .manual-grid { grid-template-columns: 232px minmax(0, 1fr); gap: var(--s5); align-items: start; } .manual-toc { top: calc(var(--nav-h) + var(--s3)); max-height: calc(100vh - var(--nav-h) - var(--s5)); overflow: auto; margin: 0; padding: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; } .manual-menu > summary { display: none; } .manual-menu > ol { max-height: none; overflow: visible; } .manual-text [id] { scroll-margin-top: 0; } } /* a shot with no image on the Space yet: its name in its place */ .shot-missing { display: block; margin: var(--s2) 0; padding: var(--s3); border: 1px dashed var(--other); border-radius: 10px; font-family: var(--mono); font-size: var(--fs-2); color: var(--ink-muted); text-align: center; } @media (max-width: 720px) { .manual-view { padding-top: var(--s2); } .manual-body { padding: var(--s3) var(--s2); } .manual-text { font-size: var(--fs-4); } .manual-body pre { font-size: 13.5px; padding: 10px 12px; } .manual-part[data-part="start"] > ul { margin-top: var(--s3); gap: var(--s1); } .manual-part[data-part="start"] > ul li { font-size: var(--fs-4); } .manual-part[data-part="start"] > ul a { padding: 12px var(--s2); } } /* view transitions: brief, and none without motion */ ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 180ms; } @media (prefers-reduced-motion: reduce) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } } /* ---- below 1280 px: one column in Get the data and in a source's detail ---- */ @media (max-width: 1279px) { .get-grid, .keep-grid { grid-template-columns: minmax(0, 1fr); } .d-list { grid-template-columns: minmax(0, 1fr); } } /* ---- below 1100 px: the field on top, the panels after it in the flow ---- */ @media (max-width: 1099px) { :root { --edge: 16px; } .work { height: auto; min-height: 0; overflow: visible; display: flex; flex-direction: column; padding-bottom: 4px; } .field { position: relative; inset: auto; height: 62vh; min-height: 380px; max-height: 540px; } .field-ghost, .field-empty { --room-l: 0px; --room-r: 0px; } .field-ghost { left: 40px; top: 70px; width: calc(100% - 80px); height: calc(100% - 100px); } .field-empty { top: 180px; } .field[hidden] + .field-off { position: static; margin: var(--s3) auto 0; padding-inline: var(--edge); } .panel.work-left, .panel.work-right, .panel.work-dock { position: static; width: auto; margin: 12px var(--edge) 0; } .work-left { overflow: visible; } .work-right { max-height: 76vh; } .work-dock { margin-bottom: 12px; } .views { top: 12px; } .field-hint { display: none; } .side-card { grid-template-columns: minmax(0, 1fr); } .video-grid { grid-template-columns: minmax(0, 1fr); } } @media (max-width: 960px) { .nav-links a:not(.btn) { display: none; } } /* phone: every size one notch down; the nav keeps the mark, the three parts and the language switch */ @media (max-width: 720px) { :root { --fs-small: 12px; --fs-body: 15px; --fs-sub: 18px; --fs-h2: 24px; --fs-h1: 28px; --r: 12px; } .nav-row { gap: var(--s2); padding-inline: var(--edge); } .brand > span, .nav-links > :not(.lang-btn) { display: none; } .progress { gap: 6px; } .progress a { font-size: var(--fs-1); } .progress a .pl-long { display: none; } .progress a .pl-short { display: block; } .field { height: 50vh; min-height: 320px; } .views .zoom { display: none; } .lab { font-size: var(--fs-1); } .lab b { font-size: var(--fs-6); } .work h1 { font-size: 30px; } .band { padding-block: var(--s6); } .band-head { margin-bottom: var(--s3); } /* the filters fold behind one button */ .filter-toggle { display: flex; width: calc(100% - 36px); margin: 0 18px; justify-content: space-between; align-items: center; gap: 8px; border: 1px solid var(--panel-line); background: color-mix(in srgb, var(--card) 70%, transparent); border-radius: 8px; padding: 6px 12px; min-height: 40px; font-size: var(--fs-4); font-weight: 600; color: var(--ink); } .filter-toggle .state { color: var(--ink-muted); font-size: var(--fs-2); font-weight: 400; } .filters .filter-row { display: none; margin-top: 10px; } .filters.open .filter-row { display: grid; } .filter-title { display: none; } .src-table > tbody > tr.group-row > th { display: block; } .list-key-fold > summary { display: list-item; cursor: pointer; margin: 0 0 var(--s1); font-size: var(--fs-small); color: var(--ink-2); } .chart-card { padding: var(--s2); } .table-card { padding: var(--s1) var(--s2) var(--s2); } .fit-key { margin-left: 0; } .src-table, .src-table > thead, .src-table > tbody, .src-table > tbody > tr, .src-table > tbody > tr > td { display: block; width: 100%; } .src-table > thead { border-bottom: 1px solid var(--line); } .src-table > thead > tr { display: flex; flex-wrap: wrap; gap: 0 var(--s2); } .src-table > thead > tr > th { border: 0; width: auto; } .src-table > thead > tr > th button { padding: 4px 0; } .src-table > tbody > tr.row { padding: 12px 4px; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 4px var(--s2); } .src-table > tbody > tr.row > td { border: 0; padding: 0 !important; width: auto; font-size: var(--fs-3); color: var(--ink-2); } .src-table > tbody > tr.row > td.title, .src-table > tbody > tr.row > td.cat-cell { width: 100%; max-width: none; } .src-table > tbody > tr.row > td.r { text-align: left; } .src-table .unit-word { display: none; } .src-table > tbody > tr.row > td[data-label]::before { content: attr(data-label); color: var(--ink-muted); } .src-table > tbody > tr.row > td.form-same { display: none; } .src-table > tbody > tr.row > td.cat-cell::before { content: none; } /* #2422: a source's size on one line, its estimate after it */ .src-table .size-cell b, .src-table .size-sub { display: inline; } .src-table .size-sub::before { content: " \00b7 "; } .video-card { padding: var(--s3); } .detail { padding: var(--s2) var(--s1); } .d-item { grid-template-columns: minmax(0, 1fr); gap: 4px; } .pick-row .seg-wrap { margin-left: 0; } .code-card pre.code { font-size: 13.5px; padding: 14px 14px 16px; } .code-head { padding: 12px 14px; flex-wrap: wrap; } .agents-card { padding: var(--s3); } }