pboProperty Ontology
css348 lines21.4 KB
RawDownload
1/* Property Ontology explorer — palette borrowed from the board report
2 (navy / teal / seafoam / cream) with a dark variant. */
3
4:root {
5 --navy: #1a2332;
6 --teal: #2d8b8b;
7 --teal-dk: #1f6b6b;
8 --seafoam: #a8dadc;
9 --cream: #f1faee;
10
11 --bg: #fbfdfb;
12 --bg-alt: #f1f6f3;
13 --panel: #ffffff;
14 --border: #d9e4e0;
15 --ink: #1a2332;
16 --muted: #5a6b7c;
17 --accent: var(--teal-dk);
18 --accent-soft: #e2f1f1;
19 --link: #1f6b6b;
20 --code-bg: #f4f7f6;
21 --shadow: 0 1px 2px rgba(26, 35, 50, .06), 0 8px 24px -16px rgba(26, 35, 50, .25);
22
23 --sidebar-w: 300px;
24 --aside-w: 240px;
25 --topbar-h: 52px;
26 --font: "Inter", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
27 --mono: "JetBrains Mono", "Fira Code", "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
28 color-scheme: light;
29}
30
31@media (prefers-color-scheme: dark) {
32 :root:not([data-theme="light"]) {
33 --bg: #0f1520;
34 --bg-alt: #141c29;
35 --panel: #18212f;
36 --border: #273241;
37 --ink: #e6edf3;
38 --muted: #97a6b8;
39 --accent: #5fc4c4;
40 --accent-soft: #163336;
41 --link: #7fd1d1;
42 --code-bg: #0d1117;
43 --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -16px rgba(0, 0, 0, .7);
44 color-scheme: dark;
45 }
46}
47:root[data-theme="dark"] {
48 --bg: #0f1520;
49 --bg-alt: #141c29;
50 --panel: #18212f;
51 --border: #273241;
52 --ink: #e6edf3;
53 --muted: #97a6b8;
54 --accent: #5fc4c4;
55 --accent-soft: #163336;
56 --link: #7fd1d1;
57 --code-bg: #0d1117;
58 --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -16px rgba(0, 0, 0, .7);
59 color-scheme: dark;
60}
61
62* { box-sizing: border-box; }
63html { scroll-padding-top: calc(var(--topbar-h) + 12px); }
64body {
65 margin: 0;
66 font-family: var(--font);
67 font-size: 15px;
68 line-height: 1.55;
69 color: var(--ink);
70 background: var(--bg);
71 min-height: 100vh;
72 display: flex;
73 flex-direction: column;
74}
75a { color: var(--link); text-decoration: none; }
76a:hover { text-decoration: underline; }
77code, pre, kbd, .mono { font-family: var(--mono); }
78code { font-size: .9em; }
79
80/* ---------- top bar ---------- */
81.topbar {
82 position: sticky; top: 0; z-index: 20;
83 height: var(--topbar-h);
84 display: flex; align-items: center; gap: 18px;
85 padding: 0 18px;
86 background: var(--navy); color: var(--cream);
87 border-bottom: 1px solid rgba(255,255,255,.08);
88}
89.brand { display: flex; align-items: center; gap: 10px; color: var(--cream); font-weight: 600; letter-spacing: .01em; }
90.brand:hover { text-decoration: none; }
91.brand-mark { font-family: var(--mono); font-size: 12px; background: var(--teal); color: #fff; padding: 3px 7px; border-radius: 5px; letter-spacing: .08em; }
92.topnav { display: flex; gap: 4px; margin-left: 8px; }
93.nav-link { color: var(--seafoam); padding: 6px 10px; border-radius: 6px; font-size: 14px; }
94.nav-link:hover { background: rgba(255,255,255,.08); text-decoration: none; color: #fff; }
95.nav-link.active { background: rgba(255,255,255,.12); color: #fff; }
96.topbar-actions { margin-left: auto; display: flex; gap: 8px; }
97.icon-btn {
98 background: rgba(255,255,255,.08); color: var(--cream); border: 1px solid rgba(255,255,255,.12);
99 border-radius: 6px; padding: 5px 10px; font: inherit; font-size: 13px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
100}
101.icon-btn:hover { background: rgba(255,255,255,.16); }
102.kbd { font-family: var(--mono); font-size: 11px; border: 1px solid rgba(255,255,255,.3); border-radius: 4px; padding: 0 5px; }
103
104/* ---------- shell layout ---------- */
105.shell { display: grid; grid-template-columns: 1fr; flex: 1; min-height: 0; }
106.shell.has-sidebar { grid-template-columns: var(--sidebar-w) 1fr; }
107.shell.has-sidebar.has-aside { grid-template-columns: var(--sidebar-w) 1fr var(--aside-w); }
108.main { min-width: 0; padding: 22px 32px 60px; }
109.page-home .main { max-width: 1120px; margin: 0 auto; width: 100%; }
110
111.sidebar {
112 border-right: 1px solid var(--border); background: var(--bg-alt);
113 position: sticky; top: var(--topbar-h); height: calc(100vh - var(--topbar-h)); overflow: auto;
114 font-size: 13.5px;
115}
116.aside {
117 border-left: 1px solid var(--border);
118 position: sticky; top: var(--topbar-h); height: calc(100vh - var(--topbar-h)); overflow: auto;
119 padding: 18px 14px; font-size: 13px;
120}
121
122.footer { border-top: 1px solid var(--border); color: var(--muted); font-size: 12.5px; padding: 14px 24px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
123
124/* ---------- sidebar tree ---------- */
125.sidebar-head { position: sticky; top: 0; background: var(--bg-alt); padding: 12px 12px 8px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px; z-index: 1; }
126#tree-filter { flex: 1; font: inherit; font-size: 13px; padding: 6px 9px; border: 1px solid var(--border); border-radius: 6px; background: var(--panel); color: var(--ink); }
127.tree-total { color: var(--muted); font-size: 11.5px; white-space: nowrap; }
128.tree, .tree ul { list-style: none; margin: 0; padding: 0; }
129.tree { padding: 8px 6px 20px; }
130.tree ul { padding-left: 14px; border-left: 1px dashed var(--border); margin-left: 9px; }
131.tree summary { list-style: none; display: flex; align-items: center; gap: 4px; cursor: pointer; padding: 2px 4px; border-radius: 4px; }
132.tree summary::-webkit-details-marker { display: none; }
133.tree summary:hover { background: var(--accent-soft); }
134.tree-caret { width: 10px; height: 10px; display: inline-block; position: relative; flex: none; }
135.tree-caret::before { content: ""; position: absolute; left: 3px; top: 2px; border: solid var(--muted); border-width: 0 1.5px 1.5px 0; padding: 2.5px; transform: rotate(-45deg); transition: transform .12s; }
136details[open] > summary .tree-caret::before { transform: rotate(45deg); top: 0; }
137.tree-link { color: var(--ink); display: inline-flex; align-items: center; gap: 6px; min-width: 0; padding: 2px 4px; border-radius: 4px; flex: 1; }
138.tree-link:hover { text-decoration: none; background: var(--accent-soft); }
139.tree-link.dir { font-weight: 600; }
140.tree-link.current { background: var(--accent); color: #fff; }
141.tree-link.current .fi { background: rgba(255,255,255,.2); color: #fff; }
142.tree-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
143.tree-count { margin-left: auto; color: var(--muted); font-size: 11px; padding-right: 4px; }
144.tree-file { padding: 0; }
145.tree li.filtered-out { display: none; }
146
147/* file-type badges */
148.fi {
149 display: inline-flex; align-items: center; justify-content: center;
150 min-width: 22px; height: 16px; padding: 0 4px; border-radius: 4px;
151 font: 600 9.5px/1 var(--mono); letter-spacing: .02em; color: #fff; background: #8a97a5; flex: none;
152}
153.fi-md, .fi-markdown { background: #3b6fb6; }
154.fi-py { background: #3572a5; }
155.fi-js, .fi-mjs { background: #b8a11a; }
156.fi-json, .fi-jsonl { background: #7a5ea7; }
157.fi-yaml, .fi-yml { background: #c2542d; }
158.fi-ttl { background: #1f6b6b; }
159.fi-rq { background: #2d8b8b; }
160.fi-sh { background: #4a5a3b; }
161.fi-html { background: #d85a30; }
162.fi-svg { background: #e0a020; }
163.fi-txt { background: #6c7a89; }
164.fi-docx { background: #2b5797; }
165.fi-zip { background: #555; }
166.fi-dir { background: transparent; color: var(--accent); font-size: 14px; }
167
168/* ---------- file header ---------- */
169.file-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--border); }
170.crumbs { font-size: 15px; display: flex; flex-wrap: wrap; align-items: center; gap: 2px; font-family: var(--mono); }
171.crumbs a { color: var(--link); }
172.crumb-sep { color: var(--muted); padding: 0 4px; }
173.crumb-current { font-weight: 600; color: var(--ink); }
174.file-meta { display: flex; gap: 6px; color: var(--muted); font-size: 12.5px; flex-wrap: wrap; }
175.file-meta span { background: var(--bg-alt); border: 1px solid var(--border); padding: 1px 8px; border-radius: 999px; }
176.file-actions { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; }
177.btn {
178 font: inherit; font-size: 13px; color: var(--ink); background: var(--panel); border: 1px solid var(--border);
179 border-radius: 6px; padding: 5px 11px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
180}
181.btn:hover { background: var(--accent-soft); text-decoration: none; border-color: var(--accent); }
182.btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }
183.btn.primary { background: var(--accent); color: #fff; border-color: var(--accent); }
184.btn.is-on { box-shadow: inset 0 0 0 1px var(--accent); }
185
186/* ---------- directory listing ---------- */
187.listing-wrap { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: var(--panel); box-shadow: var(--shadow); }
188.listing { width: 100%; border-collapse: collapse; font-size: 14px; }
189.listing td { padding: 8px 12px; border-top: 1px solid var(--border); vertical-align: middle; }
190.listing tr:first-child td { border-top: 0; }
191.listing tr:hover td { background: var(--bg-alt); }
192.col-icon { width: 44px; text-align: center; }
193.col-name a { color: var(--ink); font-weight: 500; }
194.col-name a:hover { color: var(--link); }
195.col-meta { color: var(--muted); width: 120px; font-size: 12.5px; }
196.col-size { color: var(--muted); width: 90px; text-align: right; font-family: var(--mono); font-size: 12px; }
197.row-parent td { color: var(--muted); }
198
199/* ---------- code view ---------- */
200.code-view { border: 1px solid var(--border); border-radius: 8px; overflow: auto; background: var(--code-bg); box-shadow: var(--shadow); }
201.code-view.hljs { padding: 0; }
202.code-table { border-collapse: collapse; font-family: var(--mono); font-size: 12.75px; line-height: 1.6; width: 100%; tab-size: 4; }
203.code-table td { padding: 0 14px 0 0; vertical-align: top; white-space: pre; }
204.code-table td.ln { user-select: none; text-align: right; color: var(--muted); padding: 0 12px 0 14px; width: 1%; min-width: 3.5em; border-right: 1px solid var(--border); position: sticky; left: 0; background: var(--code-bg); }
205.code-table td.ln a { color: inherit; opacity: .6; }
206.code-table td.ln a:hover { opacity: 1; text-decoration: none; }
207.code-table td.lc { padding-left: 14px; }
208.code-table tr:target td, .code-table tr.hl td { background: rgba(45, 139, 139, .14); }
209.code-table tr:target td.ln { background: rgba(45, 139, 139, .28); }
210.code-view.wrap .code-table td.lc { white-space: pre-wrap; word-break: break-word; }
211
212/* ---------- markdown body ---------- */
213.markdown-body { max-width: 900px; font-size: 15.5px; line-height: 1.65; }
214.page-file .markdown-body { max-width: none; }
215.markdown-body > :first-child { margin-top: 0; }
216.markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4 { line-height: 1.25; margin: 1.8em 0 .6em; scroll-margin-top: calc(var(--topbar-h) + 14px); position: relative; }
217.markdown-body h1 { font-size: 2em; border-bottom: 1px solid var(--border); padding-bottom: .3em; }
218.markdown-body h2 { font-size: 1.5em; border-bottom: 1px solid var(--border); padding-bottom: .3em; }
219.markdown-body h3 { font-size: 1.2em; }
220.markdown-body h1:hover .anchor, .markdown-body h2:hover .anchor, .markdown-body h3:hover .anchor, .markdown-body h4:hover .anchor { opacity: 1; }
221.markdown-body .anchor { position: absolute; left: -1.1em; opacity: 0; color: var(--muted); font-weight: 400; }
222.markdown-body p, .markdown-body ul, .markdown-body ol { margin: 0 0 1em; }
223.markdown-body li + li { margin-top: .25em; }
224.markdown-body blockquote { margin: 1em 0; padding: .4em 1em; border-left: 4px solid var(--seafoam); color: var(--muted); background: var(--bg-alt); border-radius: 0 6px 6px 0; }
225.markdown-body hr { border: 0; border-top: 1px solid var(--border); margin: 2em 0; }
226.markdown-body img { max-width: 100%; border-radius: 6px; }
227.markdown-body code { background: var(--code-bg); border: 1px solid var(--border); border-radius: 4px; padding: .1em .35em; font-size: .86em; }
228.markdown-body pre { background: var(--code-bg); border: 1px solid var(--border); border-radius: 8px; padding: 14px 16px; overflow: auto; font-size: 12.75px; line-height: 1.6; margin: 0 0 1.1em; }
229.markdown-body pre code { background: none; border: 0; padding: 0; font-size: inherit; }
230.md-code { position: relative; }
231.copy-btn { position: absolute; top: 8px; right: 8px; font: 11.5px var(--font); background: var(--panel); color: var(--muted); border: 1px solid var(--border); border-radius: 5px; padding: 2px 8px; cursor: pointer; opacity: 0; transition: opacity .12s; }
232.md-code:hover .copy-btn, .copy-btn:focus { opacity: 1; }
233.copy-btn.done { color: var(--accent); border-color: var(--accent); }
234.table-wrap { overflow-x: auto; margin: 0 0 1.2em; border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow); }
235.markdown-body table { border-collapse: collapse; font-size: 13.5px; width: 100%; min-width: 480px; }
236.markdown-body th, .markdown-body td { border-bottom: 1px solid var(--border); padding: 7px 12px; text-align: left; vertical-align: top; }
237.markdown-body th { background: var(--bg-alt); font-weight: 600; position: sticky; top: 0; }
238.markdown-body tbody tr:nth-child(even) td { background: color-mix(in srgb, var(--bg-alt) 50%, transparent); }
239.markdown-body tbody tr:last-child td { border-bottom: 0; }
240.markdown-body a.broken-link { color: #b04a3a; text-decoration: line-through dotted; }
241.markdown-body .task-list-item { list-style: none; margin-left: -1.4em; }
242.front-matter { margin: 0 0 1.5em; }
243.front-matter summary, .mermaid-src summary { cursor: pointer; color: var(--muted); font-size: 12.5px; }
244.front-matter pre { margin-top: .5em; }
245
246/* mermaid */
247.mermaid-block { margin: 1.2em 0; border: 1px solid var(--border); border-radius: 8px; background: var(--panel); padding: 10px 12px 6px; overflow: auto; box-shadow: var(--shadow); }
248.mermaid-block pre.mermaid { background: transparent; border: 0; padding: 0; margin: 0; min-height: 40px; color: var(--muted); font-size: 12px; overflow: visible; }
249.mermaid-block pre.mermaid:not([data-processed]) { white-space: pre-wrap; opacity: .55; }
250.mermaid-block pre.mermaid svg { max-width: 100%; height: auto; }
251.mermaid-block .mermaid-src { margin-top: 6px; }
252.mermaid-block .mermaid-src pre { margin: 6px 0 0; }
253.mermaid-error { color: #b04a3a; font-size: 12.5px; padding: 6px 0; }
254
255/* readme section on directory pages */
256.readme { margin-top: 28px; border: 1px solid var(--border); border-radius: 8px; background: var(--panel); box-shadow: var(--shadow); }
257.readme-head { padding: 10px 18px; border-bottom: 1px solid var(--border); font-family: var(--mono); font-size: 13px; color: var(--muted); background: var(--bg-alt); border-radius: 8px 8px 0 0; }
258.readme .markdown-body { padding: 18px 28px 28px; }
259
260/* toc */
261.toc-title { text-transform: uppercase; letter-spacing: .1em; font-size: 11px; color: var(--muted); margin-bottom: 8px; }
262.toc ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--border); }
263.toc li a { display: block; padding: 3px 10px; color: var(--muted); border-left: 2px solid transparent; margin-left: -1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
264.toc li a:hover { color: var(--ink); text-decoration: none; }
265.toc li.active a { color: var(--accent); border-left-color: var(--accent); }
266.toc-l1 a { font-weight: 600; }
267.toc-l3 a { padding-left: 22px; font-size: 12.5px; }
268
269/* jsonl */
270.file-body { min-width: 0; }
271.jsonl-view { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
272.jsonl-rec { border: 1px solid var(--border); border-radius: 8px; background: var(--panel); min-width: 0; overflow: hidden; }
273.jsonl-rec summary { cursor: pointer; padding: 8px 12px; font-family: var(--mono); font-size: 13px; display: flex; gap: 10px; align-items: center; }
274.jsonl-rec summary::-webkit-details-marker { display: none; }
275.jsonl-rec summary::before { content: "▸"; color: var(--muted); }
276.jsonl-rec[open] summary::before { content: "▾"; }
277.rec-n { color: var(--muted); }
278.rec-id { color: var(--accent); font-weight: 600; }
279.jsonl-rec pre { margin: 0; padding: 10px 14px; border-top: 1px solid var(--border); font-size: 12.5px; line-height: 1.55; overflow: auto; background: var(--code-bg); border-radius: 0 0 8px 8px; }
280.badge { font-size: 10.5px; padding: 1px 6px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--border); }
281.badge.warn { color: #b04a3a; }
282
283/* html preview / images / binary */
284.html-preview { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: var(--panel); box-shadow: var(--shadow); }
285.html-preview-bar { padding: 6px 12px; font-size: 12.5px; color: var(--muted); border-bottom: 1px solid var(--border); background: var(--bg-alt); }
286.html-preview iframe { width: 100%; height: calc(100vh - 220px); border: 0; background: #fff; }
287.image-view { display: flex; justify-content: center; padding: 24px; border: 1px solid var(--border); border-radius: 8px; background: repeating-conic-gradient(var(--bg-alt) 0 25%, transparent 0 50%) 0 0 / 20px 20px; }
288.image-view img { max-width: 100%; max-height: 80vh; }
289.binary-card { text-align: center; padding: 60px 20px; border: 1px dashed var(--border); border-radius: 12px; color: var(--muted); }
290.binary-card h2 { color: var(--ink); font-family: var(--mono); font-size: 18px; }
291.binary-icon { font: 700 14px var(--mono); display: inline-block; background: var(--accent); color: #fff; padding: 10px 14px; border-radius: 10px; margin-bottom: 12px; }
292
293/* ---------- home ---------- */
294.hero { padding: 28px 0 8px; }
295.kicker { margin: 0 0 8px; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
296.hero h1 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.1; margin: 0 0 14px; letter-spacing: -.01em; }
297.lead { font-size: 17px; color: var(--muted); max-width: 820px; margin: 0; }
298.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 28px 0 10px; }
299.card { display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 18px; border-radius: 12px; border: 1px solid var(--border); background: var(--panel); color: var(--ink); box-shadow: var(--shadow); transition: transform .12s, border-color .12s; }
300.card:hover { text-decoration: none; transform: translateY(-2px); border-color: var(--accent); }
301.card h2 { margin: 0; font-size: 20px; }
302.card p { margin: 0; color: var(--muted); font-size: 14px; flex: 1; }
303.card-kicker { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
304.card-foot { font-size: 12px; color: var(--muted); font-family: var(--mono); padding-top: 8px; border-top: 1px solid var(--border); }
305.card-report { border-top: 4px solid var(--navy); }
306.card-atlas { border-top: 4px solid var(--teal); }
307.card-files { border-top: 4px solid var(--seafoam); }
308.section { margin: 30px 0 0; }
309.section-title { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 12px; font-weight: 600; }
310.dir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
311.dir-card { display: block; padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px; background: var(--panel); color: var(--ink); }
312.dir-card:hover { text-decoration: none; border-color: var(--accent); background: var(--accent-soft); }
313.dir-card-name { font-family: var(--mono); font-weight: 600; font-size: 14px; }
314.dir-card-meta { color: var(--muted); font-size: 12px; margin-top: 2px; }
315.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
316.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--border); border-radius: 999px; font-size: 13px; background: var(--panel); color: var(--ink); font-family: var(--mono); }
317.chip b { color: var(--accent); }
318a.chip:hover { text-decoration: none; border-color: var(--accent); }
319
320/* ---------- search dialog ---------- */
321.search-dialog { border: 1px solid var(--border); border-radius: 12px; padding: 0; width: min(680px, 92vw); background: var(--panel); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0,0,0,.5); margin-top: 10vh; }
322.search-dialog::backdrop { background: rgba(10, 16, 26, .55); backdrop-filter: blur(2px); }
323.search-form { display: flex; gap: 8px; padding: 12px; border-bottom: 1px solid var(--border); }
324#search-input { flex: 1; font: inherit; font-size: 16px; padding: 8px 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); color: var(--ink); }
325.search-form .icon-btn { background: var(--bg-alt); color: var(--muted); border-color: var(--border); }
326.search-results { list-style: none; margin: 0; padding: 6px; max-height: 50vh; overflow: auto; }
327.search-results li a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 6px; color: var(--ink); font-family: var(--mono); font-size: 13px; }
328.search-results li a:hover, .search-results li.active a { background: var(--accent-soft); text-decoration: none; }
329.search-results .sr-dir { color: var(--muted); }
330.search-results .sr-size { margin-left: auto; color: var(--muted); font-size: 11.5px; }
331.search-results mark { background: transparent; color: var(--accent); font-weight: 700; }
332.search-empty { color: var(--muted); padding: 14px; text-align: center; font-size: 13.5px; }
333
334.empty { text-align: center; padding: 80px 20px; color: var(--muted); }
335.empty h1 { color: var(--ink); }
336
337/* ---------- responsive ---------- */
338@media (max-width: 1100px) {
339 .shell.has-sidebar.has-aside { grid-template-columns: var(--sidebar-w) 1fr; }
340 .aside { display: none; }
341}
342@media (max-width: 820px) {
343 .shell.has-sidebar, .shell.has-sidebar.has-aside { grid-template-columns: 1fr; }
344 .sidebar { position: static; height: auto; max-height: 40vh; border-right: 0; border-bottom: 1px solid var(--border); }
345 .main { padding: 16px; }
346 .topnav { display: none; }
347 .file-actions { margin-left: 0; }
348}