shashankadari's picture
Upload 7 files
32cddc6 verified
Raw History Blame Contribute Delete
18.8 kB
/* Layout concept: a warehouse control-tower briefing. A numbered stage track
(the real run order) leads into a notebook inventory and a lineage board,
styled like aisle signage: condensed display type, hi-vis yellow used sparingly. */
:root {
--paper: #eef2f5;
--panel: #ffffff;
--ink: #14202b;
--muted: #566573;
--rule: #cdd6de;
--flow: #1d5bb8;
--flow-soft: #dce8f8;
--signal: #f2b705;
--signal-ink: #14202b;
--ok: #2b7a4b;
--warn: #a35f00;
--crit: #b3261e;
--ok-soft: #e1f1e7;
--warn-soft: #fbedd6;
--crit-soft: #f8e1df;
--dim: 0.28;
--bar: #14202b;
--bar-fg: #eef2f5;
--f-display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
--f-body: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
--f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
--step--1: 0.8125rem;
--step-0: 1rem;
--step-1: 1.1875rem;
--step-2: 1.5rem;
--step-3: 2.25rem;
--step-4: clamp(2.75rem, 6vw, 4.5rem);
--radius: 6px;
--maxw: 72rem;
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
--paper: #0e151c;
--panel: #15202a;
--ink: #e5ebf0;
--muted: #93a2b0;
--rule: #283541;
--flow: #74a6f2;
--flow-soft: #1a2c44;
--signal: #f2b705;
--signal-ink: #14202b;
--ok: #6cc592;
--warn: #e9a647;
--crit: #f08a82;
--ok-soft: #173126;
--warn-soft: #36290f;
--crit-soft: #3a1a18;
--bar: #070c11;
--bar-fg: #e5ebf0;
color-scheme: dark;
}
}
:root[data-theme="dark"] {
--paper: #0e151c;
--panel: #15202a;
--ink: #e5ebf0;
--muted: #93a2b0;
--rule: #283541;
--flow: #74a6f2;
--flow-soft: #1a2c44;
--signal: #f2b705;
--signal-ink: #14202b;
--ok: #6cc592;
--warn: #e9a647;
--crit: #f08a82;
--ok-soft: #173126;
--warn-soft: #36290f;
--crit-soft: #3a1a18;
--bar: #070c11;
--bar-fg: #e5ebf0;
color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
margin: 0;
background: var(--paper);
color: var(--ink);
font-family: var(--f-body);
font-size: var(--step-0);
line-height: 1.6;
-webkit-font-smoothing: antialiased;
}
a { color: var(--flow); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, [tabindex]:focus-visible {
outline: 3px solid var(--signal);
outline-offset: 2px;
}
code, .mono { font-family: var(--f-mono); font-size: 0.86em; }
code { background: var(--flow-soft); padding: 0.05em 0.35em; border-radius: 3px; overflow-wrap: anywhere; }
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 700px) { .wrap { padding-inline: 32px; } }
/* ---------- Top bar ---------- */
.topbar {
position: sticky;
top: env(safe-area-inset-top, 0px);
z-index: 20;
background: var(--bar);
color: var(--bar-fg);
}
.topbar .wrap { display: flex; align-items: center; gap: 1.25rem; min-height: 3.25rem; }
.brand {
font-family: var(--f-display);
font-weight: 800;
font-size: 1.35rem;
letter-spacing: 0.04em;
text-transform: uppercase;
white-space: nowrap;
color: var(--bar-fg);
text-decoration: none;
}
.brand span { color: var(--signal); }
.nav { display: flex; gap: 0.25rem; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.nav::-webkit-scrollbar { display: none; }
.nav a {
color: var(--bar-fg);
opacity: 0.78;
text-decoration: none;
font-size: var(--step--1);
letter-spacing: 0.06em;
text-transform: uppercase;
padding: 0.4rem 0.6rem;
border-radius: 4px;
white-space: nowrap;
}
.nav a:hover { opacity: 1; background: color-mix(in srgb, var(--bar-fg) 14%, transparent); }
.hazard {
height: 8px;
background: repeating-linear-gradient(-45deg, var(--signal) 0 12px, var(--bar) 12px 24px);
}
/* ---------- Sections ---------- */
section { padding-block: 3.5rem; border-bottom: 1px solid var(--rule); }
section:last-of-type { border-bottom: 0; }
.eyebrow {
font-family: var(--f-mono);
font-size: var(--step--1);
letter-spacing: 0.12em;
text-transform: uppercase;
color: var(--muted);
margin: 0 0 0.5rem;
}
h1, h2, h3 { font-family: var(--f-display); text-wrap: balance; line-height: 1.05; margin: 0; }
h1 { font-size: var(--step-4); font-weight: 800; letter-spacing: 0.005em; text-transform: uppercase; }
h2 { font-size: var(--step-3); font-weight: 800; text-transform: uppercase; letter-spacing: 0.01em; margin-bottom: 0.75rem; }
h3 { font-size: var(--step-2); font-weight: 700; letter-spacing: 0.01em; }
p { margin: 0 0 1rem; }
.lede { font-size: var(--step-1); max-width: 62ch; }
.prose { max-width: 66ch; }
.muted { color: var(--muted); }
/* ---------- Hero ---------- */
.hero { padding-block: 3rem 2.5rem; }
.hero h1 { max-width: 16ch; margin-bottom: 1rem; }
.hero h1 mark { background: var(--signal); color: var(--signal-ink); padding: 0 0.15em; }
.route {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.4rem 0.5rem;
margin: 1.75rem 0 1.5rem;
font-family: var(--f-mono);
font-size: var(--step--1);
}
.route .hop {
border: 1.5px solid var(--ink);
padding: 0.3rem 0.6rem;
border-radius: 3px;
background: var(--panel);
white-space: nowrap;
}
.route .hop.sap { background: var(--signal); color: var(--signal-ink); border-color: var(--signal); }
.route .arrow { color: var(--muted); }
.facts { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; font-size: var(--step--1); color: var(--muted); }
.facts b { font-family: var(--f-display); font-size: 1.6rem; color: var(--ink); font-weight: 800; margin-right: 0.3rem; font-variant-numeric: tabular-nums; }
/* ---------- One-minute version ---------- */
.split { display: grid; gap: 2rem; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 3rem; } }
.analogy {
background: var(--panel);
border: 1px solid var(--rule);
border-radius: var(--radius);
padding: 1.25rem 1.4rem;
align-self: start;
}
.analogy h3 { font-size: var(--step-1); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.75rem; }
.analogy dl { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0.55rem 1rem; font-size: 0.95rem; }
.analogy dt { font-weight: 700; }
.analogy dd { margin: 0; color: var(--muted); }
/* ---------- Stage track ---------- */
.track {
list-style: none;
margin: 2rem 0 0;
padding: 0;
display: grid;
gap: 0.75rem;
grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 640px) { .track { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .track { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
.stage-btn {
all: unset;
box-sizing: border-box;
display: flex;
flex-direction: column;
gap: 0.35rem;
width: 100%;
height: 100%;
cursor: pointer;
background: var(--panel);
border: 1.5px solid var(--rule);
border-radius: var(--radius);
padding: 0.9rem 0.9rem 1rem;
transition: border-color 0.15s, transform 0.15s;
}
.stage-btn:hover { border-color: var(--flow); transform: translateY(-2px); }
.stage-btn[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 -5px 0 var(--signal); }
.stage-num {
font-family: var(--f-display);
font-weight: 800;
font-size: 2.4rem;
line-height: 1;
color: var(--flow);
font-variant-numeric: tabular-nums;
}
.stage-btn[aria-pressed="true"] .stage-num { color: var(--ink); }
.stage-name { font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; overflow-wrap: anywhere; line-height: 1.1; text-transform: uppercase; }
.stage-where { font-family: var(--f-mono); font-size: 0.72rem; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
.loopback {
margin-top: 0.75rem;
display: flex;
align-items: center;
gap: 0.75rem;
font-size: var(--step--1);
color: var(--muted);
}
.loopback svg { flex: 0 0 auto; }
.loopback .line { flex: 1; border-top: 2px dashed var(--flow); min-width: 1rem; }
.stage-detail {
margin-top: 1.5rem;
background: var(--panel);
border: 1.5px solid var(--ink);
border-radius: var(--radius);
padding: 1.5rem;
display: grid;
gap: 1.5rem;
}
@media (min-width: 860px) { .stage-detail { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.stage-detail h3 { margin-bottom: 0.5rem; }
.stage-detail .q { font-family: var(--f-mono); font-size: var(--step--1); color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.6rem; }
.stage-detail ul { margin: 0; padding-left: 1.1rem; }
.stage-detail li { margin-bottom: 0.4rem; }
.nb-list { display: flex; flex-direction: column; gap: 0.5rem; }
.nb-chip {
all: unset;
box-sizing: border-box;
cursor: pointer;
display: block;
font-family: var(--f-mono);
font-size: 0.8rem;
padding: 0.5rem 0.65rem;
border: 1px solid var(--rule);
border-radius: 4px;
overflow-wrap: anywhere;
}
.nb-chip:hover { border-color: var(--flow); color: var(--flow); }
.nb-chip small { display: block; font-family: var(--f-body); color: var(--muted); font-size: 0.78rem; margin-top: 0.15rem; }
/* ---------- Follow one order ---------- */
.story { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 0; }
.story li {
display: grid;
grid-template-columns: 3.25rem minmax(0, 1fr);
gap: 1rem;
padding-bottom: 1.5rem;
position: relative;
}
.story li::before {
content: "";
position: absolute;
left: 1.6rem;
top: 2.6rem;
bottom: 0;
border-left: 2px dotted var(--rule);
}
.story li:last-child::before { display: none; }
.story .t {
font-family: var(--f-mono);
font-size: 0.72rem;
width: 3.25rem;
height: 2.4rem;
display: grid;
place-items: center;
background: var(--ink);
color: var(--paper);
border-radius: 3px;
text-align: center;
line-height: 1.1;
}
.story h4 { margin: 0.1rem 0 0.25rem; font-size: var(--step-1); }
.story p { margin: 0; max-width: 64ch; }
.story .tag { margin-top: 0.4rem; font-family: var(--f-mono); font-size: 0.75rem; color: var(--muted); overflow-wrap: anywhere; }
.example-note {
display: inline-block;
font-family: var(--f-mono);
font-size: 0.75rem;
text-transform: uppercase;
letter-spacing: 0.08em;
padding: 0.2rem 0.5rem;
border: 1px dashed var(--muted);
border-radius: 3px;
color: var(--muted);
}
/* ---------- Run order ---------- */
.runs { display: grid; gap: 1.5rem; margin-top: 1.75rem; }
@media (min-width: 900px) { .runs { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }
.runbook { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.25rem 1.25rem 0.5rem; min-width: 0; }
.runbook h3 { font-size: var(--step-1); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1rem; }
.runbook ol { margin: 0; padding: 0; list-style: none; counter-reset: run; }
.runbook li {
counter-increment: run;
display: grid;
grid-template-columns: 2rem minmax(0, 1fr);
gap: 0.75rem;
padding: 0.6rem 0;
border-top: 1px solid var(--rule);
}
.runbook li::before {
content: counter(run, decimal-leading-zero);
font-family: var(--f-mono);
font-size: 0.8rem;
color: var(--flow);
padding-top: 0.15rem;
}
.runbook li b { display: block; }
.runbook li span { color: var(--muted); font-size: 0.92rem; }
.runbook li code { font-size: 0.75rem; }
/* ---------- Inventory ---------- */
.controls { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0 1rem; align-items: center; }
.controls input[type="search"] {
flex: 1 1 16rem;
min-width: 0;
font: inherit;
padding: 0.6rem 0.8rem;
border: 1.5px solid var(--rule);
border-radius: 4px;
background: var(--panel);
color: var(--ink);
}
.filters { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.filter {
all: unset;
cursor: pointer;
font-size: 0.8rem;
padding: 0.35rem 0.7rem;
border: 1.5px solid var(--rule);
border-radius: 999px;
background: var(--panel);
}
.filter:hover { border-color: var(--flow); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.count { font-size: var(--step--1); color: var(--muted); margin-left: auto; font-variant-numeric: tabular-nums; }
.inv { display: grid; gap: 0.75rem; }
.card {
background: var(--panel);
border: 1px solid var(--rule);
border-radius: var(--radius);
min-width: 0;
}
.card summary {
list-style: none;
cursor: pointer;
padding: 1rem 1.15rem;
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: 0.25rem 1rem;
align-items: start;
}
.card summary::-webkit-details-marker { display: none; }
.card summary:hover .fname { color: var(--flow); }
.fname { font-family: var(--f-mono); font-size: 0.9rem; font-weight: 600; overflow-wrap: anywhere; }
.ftitle { grid-column: 1 / -1; font-size: 0.95rem; color: var(--muted); }
.meta { display: flex; gap: 0.4rem; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.pill {
font-family: var(--f-mono);
font-size: 0.68rem;
letter-spacing: 0.04em;
text-transform: uppercase;
padding: 0.18rem 0.45rem;
border-radius: 3px;
border: 1px solid var(--rule);
white-space: nowrap;
}
.pill.stage { background: var(--flow-soft); border-color: transparent; color: var(--ink); }
.lines { font-family: var(--f-mono); font-size: 0.72rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.card .body { padding: 0 1.15rem 1.15rem; display: grid; gap: 1rem; border-top: 1px dashed var(--rule); padding-top: 1rem; margin-inline: 0; }
@media (min-width: 860px) { .card .body { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); } }
.card .body h5 { margin: 0 0 0.4rem; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.card .body ol, .card .body ul { margin: 0; padding-left: 1.1rem; font-size: 0.92rem; }
.card .body li { margin-bottom: 0.3rem; }
.tbl-list { list-style: none; padding: 0 !important; display: flex; flex-direction: column; gap: 0.25rem; }
.tbl-list li { font-family: var(--f-mono); font-size: 0.76rem !important; overflow-wrap: anywhere; margin: 0 !important; }
.tbl-list li::before { content: "▸ "; color: var(--muted); }
.tbl-list.w li::before { content: "◂ "; color: var(--warn); }
.empty { padding: 2rem; text-align: center; color: var(--muted); border: 1px dashed var(--rule); border-radius: var(--radius); }
/* ---------- Lineage board ---------- */
.lin-controls { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin: 1.5rem 0 1rem; }
.lin-controls label { font-size: var(--step--1); color: var(--muted); }
.lin-controls select {
font: inherit;
font-size: 0.9rem;
padding: 0.5rem 0.6rem;
border: 1.5px solid var(--rule);
border-radius: 4px;
background: var(--panel);
color: var(--ink);
max-width: 100%;
}
.legend { display: flex; gap: 1rem; flex-wrap: wrap; font-size: var(--step--1); color: var(--muted); }
.legend i { display: inline-block; width: 0.9rem; height: 0.9rem; border-radius: 2px; vertical-align: -0.15rem; margin-right: 0.35rem; }
.legend .r { border: 2px solid var(--flow); }
.legend .w { background: var(--signal); }
.board { display: grid; gap: 1rem; }
@media (min-width: 900px) { .board { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.col { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1rem; min-width: 0; }
.col h3 { font-size: var(--step-1); text-transform: uppercase; letter-spacing: 0.05em; }
.col .sub { font-size: 0.85rem; color: var(--muted); margin: 0.25rem 0 0.9rem; }
.col h6 { margin: 0.9rem 0 0.4rem; font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.tchips { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.tchip {
font-family: var(--f-mono);
font-size: 0.7rem;
padding: 0.2rem 0.4rem;
border: 1.5px solid var(--rule);
border-radius: 3px;
overflow-wrap: anywhere;
transition: opacity 0.15s;
}
.board.focus .tchip { opacity: var(--dim); }
.board.focus .tchip.r { opacity: 1; border-color: var(--flow); color: var(--flow); }
.board.focus .tchip.w { opacity: 1; background: var(--signal); border-color: var(--signal); color: var(--signal-ink); }
.board.focus .tchip.r.w { box-shadow: inset 0 0 0 2px var(--flow); }
/* ---------- Glossary ---------- */
.gloss { display: grid; gap: 0; margin-top: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .gloss { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; } }
.gloss div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; padding: 0.7rem 0; border-top: 1px solid var(--rule); }
.gloss dt { font-family: var(--f-mono); font-weight: 600; font-size: 0.85rem; overflow-wrap: anywhere; }
.gloss dd { margin: 0; font-size: 0.93rem; }
.gloss .guess { color: var(--muted); font-size: 0.8rem; }
/* ---------- Findings ---------- */
.findings { display: grid; gap: 0.75rem; margin-top: 1.5rem; }
.finding {
display: grid;
grid-template-columns: 6.5rem minmax(0, 1fr);
gap: 1rem;
background: var(--panel);
border: 1px solid var(--rule);
border-radius: var(--radius);
padding: 1rem 1.15rem;
}
@media (max-width: 560px) { .finding { grid-template-columns: 1fr; gap: 0.5rem; } }
.sev { align-self: start; justify-self: start; font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.25rem 0.5rem; border-radius: 3px; font-weight: 600; }
.sev.crit { background: var(--crit-soft); color: var(--crit); }
.sev.warn { background: var(--warn-soft); color: var(--warn); }
.sev.ok { background: var(--ok-soft); color: var(--ok); }
.finding h4 { margin: 0 0 0.25rem; font-size: 1.02rem; }
.finding p { margin: 0; font-size: 0.93rem; max-width: 72ch; }
.finding .where { font-family: var(--f-mono); font-size: 0.74rem; color: var(--muted); margin-top: 0.4rem; overflow-wrap: anywhere; }
a.nav-3d { color: var(--signal) !important; opacity: 1 !important; border: 1px solid color-mix(in srgb, var(--signal) 60%, transparent); }
.cta3d { margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; }
.cta3d a {
display: inline-block;
background: var(--signal);
color: var(--signal-ink);
font-weight: 700;
text-decoration: none;
padding: 0.55rem 1rem;
border-radius: 4px;
}
.cta3d a:hover { filter: brightness(1.05); }
.cta3d span { color: var(--muted); font-size: 0.92rem; }
footer { padding-block: 2rem 3rem; font-size: var(--step--1); color: var(--muted); }