:root { --bg:#f5f7fb; --surface:#fff; --surface2:#eef2f9; --ink:#14213d; --ink2:#4b566b; --mute:#6b7488; --line:#e2e7ef; --axis:#c9d1de; --bd:#dbe1ec; --acc:#2563eb; --good:#15803d; --bad:#dc2626; --s1:#2563eb; --s2:#f59e0b; --s4:#16a34a; --s6:#7c3aed;
  --disp:"Bricolage Grotesque",system-ui,-apple-system,"Segoe UI",sans-serif; --body:"Instrument Sans",system-ui,-apple-system,"Segoe UI",sans-serif; --hero:linear-gradient(135deg,#14213d,#2563eb 60%,#0d9488); color-scheme:light; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg:#0d1220; --surface:#151c2e; --surface2:#1e2740; --ink:#eef2fb; --ink2:#b9c3d9; --mute:#93a0bb; --line:#27314a; --axis:#3a4663; --bd:rgba(200,215,245,.16); --acc:#6ea2f5; --good:#4ade80; --bad:#f87171; color-scheme:dark; } }
:root[data-theme="dark"] { --bg:#0d1220; --surface:#151c2e; --surface2:#1e2740; --ink:#eef2fb; --ink2:#b9c3d9; --mute:#93a0bb; --line:#27314a; --axis:#3a4663; --bd:rgba(200,215,245,.16); --acc:#6ea2f5; --good:#4ade80; --bad:#f87171; color-scheme:dark; }
* { box-sizing:border-box; }
body { margin:0; background:var(--bg); color:var(--ink); font:14px/1.45 var(--body); font-variant-numeric:tabular-nums; }
h1,h2,h3 { font-family:var(--disp); margin:0; font-weight:600; letter-spacing:-.01em; text-wrap:balance; }
button,select,input { font:inherit; color:inherit; } button { cursor:pointer; }
a { color:var(--acc); } :focus-visible { outline:2px solid var(--acc); outline-offset:2px; border-radius:4px; }
.pad { padding-left:max(16px,env(safe-area-inset-left,0px)); padding-right:max(16px,env(safe-area-inset-right,0px)); }
.chrome { position:sticky; top:0; z-index:30; background:var(--surface); border-bottom:1px solid var(--line); }
.chrome .top { display:flex; align-items:center; gap:12px; flex-wrap:wrap; padding-block:14px; background:var(--hero); color:#fff; }
.brand { display:flex; align-items:center; gap:12px; min-width:0; } .brand b { font:600 20px var(--disp); display:block; color:#fff; } .brand small { display:block; font-size:12.5px; color:rgba(255,255,255,.85); }
.spacer { flex:1; }
.btn { background:var(--surface2); border:1px solid var(--bd); border-radius:8px; padding:5px 11px; text-decoration:none; color:var(--ink); display:inline-block; }
.btn:hover { border-color:var(--axis); }
.top .btn { background:rgba(255,255,255,.15); color:#fff; border-color:rgba(255,255,255,.35); } .top .btn:hover { background:rgba(255,255,255,.28); }
.top :focus-visible { outline-color:#fde68a; }
.badge { font-size:11px; font-weight:600; letter-spacing:.05em; text-transform:uppercase; border:1px solid rgba(255,255,255,.5); background:rgba(255,255,255,.12); color:#fff; border-radius:999px; padding:3px 10px; }
.fbar { display:flex; align-items:center; gap:10px 14px; flex-wrap:wrap; padding-block:9px; }
.fbar label { font-size:11.5px; text-transform:uppercase; letter-spacing:.05em; color:var(--mute); display:flex; align-items:center; gap:6px; }
.fbar select { background:var(--surface2); border:1px solid var(--bd); border-radius:8px; padding:4px 8px; text-transform:none; letter-spacing:0; font-size:13.5px; }
.chips { display:flex; gap:6px; flex-wrap:wrap; } .fcount { margin-left:auto; color:var(--mute); font-size:12.5px; }
.chip { background:var(--surface2); border:1px solid var(--bd); border-radius:999px; padding:3px 11px; font-size:12.5px; display:inline-flex; align-items:center; gap:6px; }
.chip:hover { border-color:var(--axis); } .chip[aria-pressed="true"], .chip.on { background:color-mix(in srgb,var(--acc) 15%,var(--surface)); border-color:var(--acc); }
.body { display:grid; grid-template-columns:232px minmax(0,1fr); gap:24px; padding-top:18px; padding-bottom:48px; max-width:1500px; margin:0 auto; }
#nav { position:sticky; top:150px; align-self:start; max-height:calc(100vh - 170px); overflow:auto; font-size:13.5px; }
#nav .ng { font-size:11px; letter-spacing:.09em; text-transform:uppercase; color:var(--mute); margin:16px 10px 4px; } #nav .ng:first-child { margin-top:0; }
#nav a { display:block; padding:6px 10px; border-radius:8px; color:var(--ink2); text-decoration:none; border-left:3px solid transparent; }
#nav a:hover { background:var(--surface2); } #nav a[aria-current="page"] { background:color-mix(in srgb,var(--acc) 12%,var(--surface)); color:var(--ink); font-weight:600; border-left-color:var(--acc); }
.ph { display:flex; gap:16px; justify-content:space-between; align-items:flex-start; margin-bottom:12px; }
.ph .grp { font-size:11px; letter-spacing:.09em; text-transform:uppercase; color:var(--acc); font-weight:600; } .ph h1 { font-size:28px; margin:2px 0 4px; } .ph p { margin:0; color:var(--ink2); max-width:70ch; }
.cmp { display:flex; flex-direction:column; align-items:flex-end; gap:6px; text-align:right; color:var(--mute); font-size:12.5px; flex-shrink:0; } .dictbtn { white-space:nowrap; font-size:13px; }
.dk-hint { color:var(--mute); font-size:12.5px; margin:0 0 12px; }
.kpis { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:12px; margin-bottom:14px; }
.kpi { background:var(--surface); border:1px solid var(--bd); border-radius:12px; padding:12px 14px 10px; display:flex; flex-direction:column; min-height:98px; }
.kpi.act { cursor:pointer; } .kpi.act:hover { border-color:var(--acc); }
.kl { font-size:12.5px; color:var(--ink2); } .kn { font:600 26px var(--disp); margin:2px 0 4px; letter-spacing:-.02em; } .kt { font:600 15px/1.3 var(--disp); margin-top:6px; } .kf { margin-top:auto; font-size:12px; color:var(--mute); display:flex; gap:8px; align-items:baseline; flex-wrap:wrap; }
.dl { font-weight:600; font-size:12px; } .dl.g { color:var(--good); } .dl.b { color:var(--bad); } .dl.n { color:var(--mute); font-weight:400; } .neg { color:var(--bad); }
.card { background:var(--surface); border:1px solid var(--bd); border-radius:14px; padding:16px 18px; margin-bottom:14px; min-width:0; }
.ch { display:flex; justify-content:space-between; align-items:baseline; gap:10px; flex-wrap:wrap; margin-bottom:10px; } .ch h2 { font-size:16px; } .ch small, h2 small, .sh small { font:400 12px var(--body); color:var(--mute); }
.sh { font-size:13.5px; margin:16px 0 8px; color:var(--ink2); }
.cols2 { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; } .cols2 > .card { margin-bottom:0; } .cols2 { margin-bottom:14px; }
.bars { display:flex; flex-direction:column; gap:3px; }
.br { display:grid; grid-template-columns:minmax(90px,170px) minmax(60px,1fr) 66px 70px; align-items:center; gap:8px; padding:3px 6px; border-radius:8px; font-size:13px; }
.br.act { cursor:pointer; } .br.act:hover { background:var(--surface2); } .br.sel { background:color-mix(in srgb,var(--acc) 13%,var(--surface)); outline:1px solid var(--acc); }
.bl { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } .bt { height:13px; background:var(--surface2); border-radius:7px; overflow:hidden; } .bt i { display:block; height:100%; border-radius:7px; } .bv { text-align:right; font-weight:600; } .bd { text-align:right; }
.chart { width:100%; height:auto; display:block; } .chart .gl { stroke:var(--line); } .chart .ax { fill:var(--mute); font-size:12.5px; } .chart .yr { stroke:var(--axis); stroke-dasharray:3 4; } .chart .pt { stroke:var(--surface); stroke-width:1; }
.lg { display:flex; flex-wrap:wrap; gap:6px 14px; font-size:12.5px; color:var(--ink2); margin-top:6px; } .lg i { display:inline-block; width:10px; height:10px; border-radius:3px; margin-right:5px; vertical-align:-1px; }
.stk { display:flex; height:22px; border-radius:7px; overflow:hidden; background:var(--surface2); } .stk i { display:block; height:100%; }
.tbl-wrap { overflow-x:auto; } .tbl { border-collapse:collapse; width:100%; font-size:13px; }
.tbl th { text-align:left; font-weight:600; font-size:11.5px; text-transform:uppercase; letter-spacing:.04em; color:var(--mute); padding:7px 10px; border-bottom:1px solid var(--bd); white-space:nowrap; } .tbl th button { background:none; border:0; padding:0; font:inherit; color:inherit; text-transform:inherit; letter-spacing:inherit; }
.tbl td { padding:7px 10px; border-bottom:1px solid var(--line); vertical-align:top; } .tbl .r { text-align:right; } .tbl tr.tot td { font-weight:600; background:var(--surface2); }
.tbl tr.act { cursor:pointer; } .tbl tr.act:hover td { background:var(--surface2); } .tbl tr.sel td { background:color-mix(in srgb,var(--acc) 13%,var(--surface)); }
.tfoot { display:flex; justify-content:space-between; align-items:center; margin-top:8px; color:var(--mute); font-size:12.5px; }
.ctl { margin-bottom:10px; } .ctl input { width:100%; max-width:360px; background:var(--surface2); border:1px solid var(--bd); border-radius:8px; padding:6px 10px; }
.pill { font-size:11px; font-weight:600; padding:2px 8px; border-radius:999px; white-space:nowrap; } .pill.s-d { background:#fef3c7; color:#92400e; } .pill.s-i { background:#dbeafe; color:#1e40af; } .pill.s-l { background:#ede9fe; color:#5b21b6; } .pill.s-o { background:#e2e8f0; color:#334155; }
.tilemap { display:grid; grid-template-columns:repeat(10,1fr); grid-template-rows:repeat(6,auto); gap:5px; } .tile { border:1px solid transparent; border-radius:8px; padding:8px 2px; color:#fff; background:color-mix(in srgb,#2563eb calc(var(--k)*100%),var(--surface2)); display:flex; flex-direction:column; align-items:center; line-height:1.15; } .tile b { font-size:14px; } .tile small { font-size:10.5px; opacity:.92; } .tile.sel { outline:3px solid #f59e0b; } .tile:hover { border-color:#fff; }
.note { color:var(--ink2); font-size:12.5px; margin:10px 0 0; } .lnk { color:var(--acc); }
.chk { margin:8px 0 0; padding-left:20px; } .chk li { margin:5px 0; }
.card.hd { display:flex; justify-content:space-between; gap:12px; align-items:flex-start; } .big { font-size:22px; } .sub { margin:4px 0 0; color:var(--ink2); }
@media (max-width:980px) { .body { grid-template-columns:minmax(0,1fr); } #nav { position:static; max-height:none; display:flex; flex-wrap:wrap; gap:4px; } #nav .ng { width:100%; margin:8px 4px 0; } #nav a { border:1px solid var(--bd); border-radius:999px; padding:4px 10px; } .cols2 { grid-template-columns:1fr; } .fcount { margin-left:0; } }
@media (max-width:560px) { .ph { flex-direction:column; } .cmp { align-items:flex-start; text-align:left; } .br { grid-template-columns:minmax(70px,110px) minmax(40px,1fr) 58px 62px; font-size:12px; } .ph h1 { font-size:23px; } }
.dict { background: var(--surface2); border-bottom: 1px solid var(--line); }
.dict-in { max-width: 1560px; margin: 0 auto; padding-block: 14px 16px; }
.dict-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 24px; margin-bottom: 12px; }
.dict-head > div:first-child { flex: 1; min-width: 260px; }
.dict .grp { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--acc); display: block; margin-bottom: 2px; }
.dict h2 { font-size: 19px; line-height: 1.2; }
.dict-head p { color: var(--ink2); margin: 4px 0 0; max-width: 78ch; font-size: 13px; }
.dict-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.dict-types { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(200px, 1fr) minmax(0, 2.4fr); gap: 10px; align-items: stretch; }
.dt-card { text-align: left; background: var(--surface); border: 1px solid var(--bd); border-radius: 12px; padding: 10px 14px; display: grid; gap: 2px; cursor: pointer; font: inherit; color: inherit; }
.dt-card:hover, .dt-card[aria-pressed="true"] { border-color: var(--axis); background: var(--surface); box-shadow: inset 0 0 0 1px var(--axis); }
.dt-card b { font: 700 26px/1.1 var(--disp); }
.dt-card small { color: var(--ink2); font-size: 12px; line-height: 1.35; }
.dt-own { background: var(--surface); border: 1px solid var(--bd); border-radius: 12px; padding: 10px 14px; }
.dt-lab { font-size: 12.5px; font-weight: 600; margin-bottom: 6px; }
.dt-lab small { font-weight: 400; color: var(--mute); margin-left: 6px; }
.dt-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.dt-chips .chip { cursor: pointer; font: inherit; font-size: 12.5px; color: inherit; }
.dt-chips .chip b { font-weight: 700; }
.ty { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; border: 1px solid; border-radius: 999px; padding: 2px 8px; white-space: nowrap; width: max-content; }
.dt-card .ty { align-self: start; line-height: 1.3; }
.ty.d { color: var(--s1); background: color-mix(in srgb, var(--s1) 12%, var(--surface)); }
.ty.m { color: var(--s2); background: color-mix(in srgb, var(--s2) 12%, var(--surface)); }
.st { font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.st.pv { color: var(--s6); } .st.ce { color: var(--s4); }
#dict-body { margin-top: 12px; }
.dict-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 8px; }
.dict-ctl input[type=search] { background: var(--surface); border: 1px solid var(--bd); border-radius: 8px; padding: 6px 10px; min-width: 250px; font: inherit; color: inherit; }
.dict-ctl label { font-size: 12.5px; color: var(--ink2); display: inline-flex; align-items: center; gap: 6px; }
.dict-ctl select { background: var(--surface); border: 1px solid var(--bd); border-radius: 8px; padding: 5px 8px; font: inherit; color: inherit; }
.dict-count { margin-left: auto; color: var(--mute); font-size: 12.5px; }
.dict-scroll { max-height: min(62vh, 560px); overflow: auto; background: var(--surface); border: 1px solid var(--bd); border-radius: 12px; }
.dtbl { border-collapse: separate; border-spacing: 0; width: 100%; font-size: 12.5px; }
.dtbl th { position: sticky; top: 0; z-index: 2; background: var(--surface); text-align: left; font-size: 11.5px; font-weight: 600; color: var(--ink2); padding: 8px 10px; border-bottom: 1px solid var(--axis); white-space: nowrap; }
.dtbl td { padding: 7px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.dtbl td.w { min-width: 230px; }
.dtbl td.f { min-width: 190px; }
.dtbl td.f b { display: block; }
.dtbl td.f code { font-size: 11px; color: var(--ink2); }
.dtbl th:first-child, .dtbl td.f { position: sticky; left: 0; background: var(--surface); box-shadow: 1px 0 0 var(--line); }
.dtbl th:first-child { z-index: 3; }
.dtbl tbody tr:hover td { background: color-mix(in srgb, var(--acc) 5%, var(--surface)); }
.dict-foot { color: var(--mute); font-size: 12px; margin: 8px 0 0; }
@media (max-width: 960px) { .dict-types { grid-template-columns: 1fr 1fr; } .dt-own { grid-column: 1 / -1; } .dict-ctl input[type=search] { min-width: 0; width: 100%; } .dict-count { margin-left: 0; } }
.dictpage { background: transparent; border: 0; }
.dictpage .dict-in { padding-inline: 0; padding-block: 0; }
.dictpage .dict-scroll { max-height: none; }

/* header: same look as the Data Transformation Project Plan page */
.chrome .top{background:linear-gradient(135deg,#14213d,#2563eb 60%,#0d9488);color:#fff;border-bottom:0;padding-block:14px}
.brand b{color:#fff;font-size:20px}.brand small{color:rgba(255,255,255,.85)}
.top .btn{background:rgba(255,255,255,.15);color:#fff;border-color:rgba(255,255,255,.35)}
.top .btn:hover{background:rgba(255,255,255,.28);border-color:rgba(255,255,255,.6)}
.top :focus-visible{outline-color:#fde68a}
.top .badge{color:#fff;border-color:rgba(255,255,255,.5);background:rgba(255,255,255,.12)}
.dictpage { background:transparent; border:0; } .dictpage .dict-in { padding-inline:0; padding-block:0; } .dictpage .dict-scroll { max-height:none; }
.tbl td .dl, .tbl td.r { white-space:nowrap; } .tbl td:first-child { min-width:120px; }

.blogo { height:22px; width:38px; object-fit:contain; vertical-align:middle; margin-right:8px; flex:none; background:#fff; border-radius:4px; padding:1px; }
.chip .blogo { height:16px; width:26px; margin-right:5px; }
.tbl td:has(.blogo) { white-space:nowrap; } .bl .blogo { margin-right:8px; }
