/* home-dashboard: the BRIDGE look, the Star Trek computer look of design\mockup-starship.html (scope
   decisions 72 to 81). Below 760 pixels wide the phone layout takes over (decision 81). */

/* Antonio for everything, served from the site (Build-Plan-Bridge ruling 2); its license is beside it. */
@font-face { font-family: "Antonio"; src: url("../fonts/Antonio.ttf") format("truetype"); font-weight: 100 700; font-display: swap; }

/* Each device picks Auto, Light or Dark in Settings (decision 73); Auto follows the device. */
:root, :root[data-mode="dark"] { --bg:#000; --ink:#ECE9F6; --dim:#A19DB8; --title:#F0C48E; --num:#F0C48E; --lav:#C697D8; --peri:#9093EE; --sand:#EBC79B; --plum:#A2689F; --press:#5ED4E9; --presstx:#5ED4E9; --sel:#F4F1FF; --selt:#000; --card:#110F1B; --line:#2E2B42; --track:#2B2841; --fine:#D6D2EA; --amF:#FFB02E; --amT:#FFB940; --orF:#FF6B1F; --orT:#FF7A33; --ph:#7E7A96; --lab:#C697D8; --bmo:1; --shadow:rgba(0,0,0,.6); --scrim:rgba(0,0,0,.55); }
:root[data-mode="light"] { --bg:#EEEBF3; --ink:#1D1A2A; --dim:#5C586F; --title:#5A4FB8; --num:#3B3393; --lav:#B27DC6; --peri:#7476D6; --sand:#D2A66F; --plum:#8E5C90; --press:#1EA7BF; --presstx:#0A6676; --sel:#1D1A2A; --selt:#fff; --card:#fff; --line:#D8D3E3; --track:#E1DCEA; --fine:#BEB8D2; --amF:#F2A81D; --amT:#9A6500; --orF:#F2661C; --orT:#B8430A; --ph:#8D88A0; --lab:#6E3F86; --labink:#1D1A2A; --bmo:.5; --shadow:rgba(30,20,50,.22); --scrim:rgba(30,20,50,.3); }
@media (prefers-color-scheme: light) {
  :root:not([data-mode="dark"]):not([data-mode="light"]) { --bg:#EEEBF3; --ink:#1D1A2A; --dim:#5C586F; --title:#5A4FB8; --num:#3B3393; --lav:#B27DC6; --peri:#7476D6; --sand:#D2A66F; --plum:#8E5C90; --press:#1EA7BF; --presstx:#0A6676; --sel:#1D1A2A; --selt:#fff; --card:#fff; --line:#D8D3E3; --track:#E1DCEA; --fine:#BEB8D2; --amF:#F2A81D; --amT:#9A6500; --orF:#F2661C; --orT:#B8430A; --ph:#8D88A0; --lab:#6E3F86; --labink:#1D1A2A; --bmo:.5; --shadow:rgba(30,20,50,.22); --scrim:rgba(30,20,50,.3); }
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--bg); color: var(--ink); font-family: "Antonio", "Bahnschrift SemiCondensed", "Arial Narrow", sans-serif; font-size: 16px; font-variant-numeric: tabular-nums; }
button, input, select, textarea { font-family: inherit; }
.mono { font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* the title, BRIDGE, with the Integrity Technologies bridge behind it in its own colors (decision 72) */
.mark { position: relative; display: flex; align-items: center; justify-content: center; padding: 0 4px; color: var(--title); font-size: 44px; font-weight: 700; letter-spacing: .09em; line-height: 1; text-decoration: none; }
.mark img { position: absolute; left: 50%; top: 50%; width: 186px; height: 60px; transform: translate(-50%, -49%); opacity: var(--bmo); pointer-events: none; }
.mark span { position: relative; margin-right: -.09em; text-shadow: 0 0 5px var(--bg), 0 0 10px var(--bg); }

/* pills: the only shape you can press; cyan to press, white (dark ink in Light) for what's chosen */
.b { display: inline-flex; align-items: center; justify-content: center; height: 28px; padding: 0 14px; border-radius: 14px; border: 2px solid var(--press); background: transparent; color: var(--presstx); font-weight: 600; font-size: 14px; line-height: 1; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; white-space: nowrap; cursor: pointer; }
.b.f { background: var(--press); color: #000; }
.b:hover { filter: brightness(1.12); }
.b:focus-visible, .side a:focus-visible { outline: 2px solid var(--sel); outline-offset: 3px; }
.b:disabled { opacity: .6; cursor: wait; }
a.lnk, .foot a, .lab em a, .doc a, .rdl { color: var(--presstx); text-decoration: underline; text-underline-offset: 3px; }

.note { font-size: 15px; color: var(--dim); line-height: 1.45; }
.problem { color: var(--amT); border-left: 6px solid var(--amF); background: color-mix(in srgb, var(--amF) 10%, transparent); padding: 6px 12px; }
.w { color: var(--amT); }
.x { color: var(--orT); }
.small { font-size: 14px; color: var(--dim); }
.tabnote { margin: 4px 2px; font-size: 16px; color: var(--dim); }

/* the sign-in pages: BRIDGE on the bare background */
.center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 30px; text-align: center; }
.center form { margin: 0; }
.center .mark { font-size: 60px; height: 84px; padding: 0 22px; }
.center .mark img { width: 250px; height: 80px; }
.center .note { max-width: 360px; margin: 0; }
.center .b { height: 38px; border-radius: 19px; font-size: 16px; padding: 0 22px; }
.center .lead { font-size: 22px; margin: 0; max-width: 360px; line-height: 1.4; }
.center .fine { font-size: 13.5px; }

/* ---------- the frame ---------- */
.frame { height: 100vh; height: 100dvh; display: flex; flex-direction: column; width: 100%; }

/* the top frame: the left column sweeps into the bar under the header */
.top { position: relative; padding-bottom: 6px; flex: none; }
.tf { position: relative; margin-right: 30px; min-height: 96px; border-left: 140px solid var(--lav); border-bottom: 16px solid var(--lav); border-bottom-left-radius: 166px 64px; padding: 11px 22px 12px 26px; }
.tf .segs, .lf .segs { position: absolute; left: 80px; right: 0; bottom: -16px; height: 16px; display: flex; justify-content: flex-end; }
.lf .segs { left: 0; bottom: -10px; height: 10px; }
.segs i { display: block; height: 100%; border-left: 5px solid var(--bg); }
.segs .s1 { width: 120px; background: var(--peri); }
.segs .s2 { width: 44px; background: var(--sand); }
.segs .s3 { width: 280px; background: var(--plum); }
.tcap { position: absolute; right: 0; bottom: 6px; width: 25px; height: 16px; border-radius: 0 8px 8px 0; background: var(--lav); }
.tr1 { display: flex; align-items: center; gap: 10px; }
.tr1 .mark { margin-left: auto; flex: none; height: 56px; }

/* the search box, with its end cap */
.q { display: flex; height: 34px; width: 222px; flex: none; margin: 0; }
.q::before { content: ""; width: 20px; flex: none; margin-right: 4px; background: var(--lav); border-radius: 17px 0 0 17px; }
.q input { flex: 1; min-width: 0; height: 100%; background: transparent; border: 2px solid var(--lav); border-left: 0; border-radius: 0 17px 17px 0; color: var(--ink); font-size: 17px; padding: 0 14px; outline: none; }
.q input::placeholder { color: var(--ph); opacity: 1; }
.q input:focus { border-color: var(--press); }

/* the links, grouped by purpose: a group's links open when it's pointed at, or tapped on a phone (decision 74) */
.links { display: flex; flex-wrap: wrap; gap: 5px; min-width: 0; flex: 1; }
.lgrp { position: relative; }
.lgrp > .b { height: 34px; border-radius: 17px; padding: 0 9px; font-size: 15px; letter-spacing: .03em; }
.lgrp > .b::after { content: ''; border: 4px solid transparent; border-top: 5px solid currentColor; border-bottom: 0; margin-left: 6px; }
.lgrp:hover > .b, .lgrp.open > .b, .lgrp:focus-within > .b { background: var(--press); color: #000; }
.fly { display: none; position: absolute; top: 100%; left: 0; padding-top: 6px; z-index: 30; }
.lgrp:hover .fly, .lgrp:focus-within .fly, .lgrp.open .fly { display: block; }
.lgrp.rt .fly { left: auto; right: 0; }
.fly-in { display: flex; flex-direction: column; gap: 5px; min-width: 190px; max-height: 70vh; overflow: auto; background: var(--bg); border-left: 10px solid var(--lav); border-radius: 0 0 12px 0; padding: 10px 12px 12px 10px; box-shadow: 0 12px 26px var(--shadow); }
.fly-in a { display: flex; align-items: center; min-height: 28px; padding: 3px 14px; border: 2px solid var(--press); border-radius: 0 14px 14px 0; color: var(--presstx); font-size: 15px; font-weight: 500; letter-spacing: .03em; text-decoration: none; white-space: nowrap; }
.fly-in a:hover, .fly-in a:focus-visible { background: var(--press); color: #000; outline: none; }

/* the dials: one per section, its ring split the way its section is (decision 76) */
.dials { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.dial { display: flex; align-items: center; gap: 9px; min-width: 0; cursor: default; }
.ring { width: 72px; height: 72px; flex: none; }
.ring .rt { fill: none; stroke: var(--track); stroke-width: 11; }
.ring .a { fill: none; stroke-width: 11; }
.ring .a.lav { stroke: var(--lav); } .ring .a.peri { stroke: var(--peri); } .ring .a.sand { stroke: var(--sand); } .ring .a.plum { stroke: var(--plum); }
.ring .a.fine { stroke: var(--fine); } .ring .a.amb { stroke: var(--amF); } .ring .a.org { stroke: var(--orF); }
.ring .a.off { stroke: var(--dim); opacity: .45; }
.ring .a.hide { stroke: var(--bg); }
.ring .a.nr { stroke: var(--fine); stroke-width: 1.5; }
.ring text { font: 600 25px "Antonio", "Arial Narrow", sans-serif; fill: var(--ink); }
.dt2 { min-width: 0; line-height: 1.22; }
.dn { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--labink, var(--dc)); }
.d1 { font-size: 15px; }
.d2 { font-size: 13px; color: var(--dim); }

/* the tab bar's numbers: a piece per figure, as wide as its share; each says what fits (decision 77) */
.bl { height: 16px; line-height: 16px; padding: 0 10px 0 2px; background: var(--bg); color: var(--dim); font-size: 14px; letter-spacing: .06em; white-space: nowrap; }
.bdata { flex: 1; display: flex; min-width: 0; background: var(--bg); }
.bs { flex: var(--n) 1 0; min-width: 8px; margin-left: 5px; height: 16px; background: var(--peri); color: #000; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 16px; text-align: right; padding: 0 7px; white-space: nowrap; overflow: hidden; }
.bs:first-child { margin-left: 0; }
.bs.lav { background: var(--lav); } .bs.peri { background: var(--peri); } .bs.sand { background: var(--sand); } .bs.plum { background: var(--plum); }
.bs.fine { background: var(--fine); } .bs.amb { background: var(--amF); } .bs.org { background: var(--orF); }
.bs.off { background: var(--track); color: var(--ink); }
.bs.nr { background: transparent; border: 1px dashed var(--fine); line-height: 14px; font-size: 11.5px; color: var(--ink); }

/* the lower frame: the elbow with the tab's name in its bar, the tab column, the closing bracket */
.low { flex: 1; min-height: 0; display: grid; grid-template-columns: 140px minmax(0, 1fr); grid-template-rows: 40px minmax(0, 1fr) 30px; position: relative; }
.le { grid-column: 1 / 3; grid-row: 1; position: relative; margin-right: 30px; border-left: 140px solid var(--peri); border-top: 16px solid var(--peri); border-top-left-radius: 166px 40px; }
.tbar { position: absolute; left: 30px; right: 0; top: -16px; height: 16px; display: flex; }
.tn { height: 16px; line-height: 16px; padding: 0 10px; background: var(--bg); color: var(--title); font-size: 20px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.lcap { position: absolute; right: 0; top: 0; width: 25px; height: 16px; border-radius: 0 8px 8px 0; background: var(--peri); }
.side { grid-column: 1; grid-row: 2; display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.side > * { margin-top: 5px; flex: none; }
.side a { height: 58px; display: flex; align-items: flex-end; justify-content: flex-end; text-align: right; padding: 0 12px 6px; background: var(--press); color: #000; font-weight: 600; font-size: 17px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; line-height: 1.1; }
.side a:hover { filter: brightness(1.1); }
.side a.on { background: var(--sel); color: var(--selt); }
.side a.set { height: 46px; }
.side .fill { flex: 1; min-height: 8px; background: var(--plum); }
.side .f2 { height: 40px; background: var(--sand); }
.body { grid-column: 2; grid-row: 2; min-width: 0; min-height: 0; overflow: auto; padding: 4px 22px 16px 24px; }
.body::-webkit-scrollbar { width: 10px; }
.body::-webkit-scrollbar-thumb { background: var(--line); border-radius: 5px; }
.lf { grid-column: 1 / 3; grid-row: 3; position: relative; margin: 5px 30px 0 0; border-left: 140px solid var(--lav); border-bottom: 10px solid var(--lav); border-bottom-left-radius: 166px 25px; }
.lfcap { position: absolute; right: 0; bottom: 0; width: 25px; height: 10px; border-radius: 0 5px 5px 0; background: var(--lav); }
.toast { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); background: var(--sel); color: var(--selt); padding: 8px 16px; border-radius: 16px; font-size: 15px; letter-spacing: .03em; z-index: 9; box-shadow: 0 6px 20px var(--shadow); max-width: calc(100% - 24px); }

/* a tab's tool row: what it is, a filter, its buttons */
.ptop, .stop { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; min-height: 34px; flex-wrap: wrap; }
.lab2 { margin: 0; font-size: 16px; font-weight: 400; color: var(--dim); letter-spacing: .04em; }
.lab2 em { font-style: normal; }
.flt { margin-left: auto; height: 32px; width: 270px; background: transparent; border: 2px solid var(--line); border-radius: 16px; color: var(--ink); font-size: 16px; padding: 0 14px; outline: none; }
.flt::placeholder { color: var(--ph); opacity: 1; }
.flt:focus { border-color: var(--press); }

/* ---------- panels: a small elbow with the name set into its bar ---------- */
.mod { --pc: var(--lav); position: relative; padding: 22px 2px 12px 26px; min-width: 0; }
.mod::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 62px; border-left: 10px solid var(--pc); border-top: 10px solid var(--pc); border-top-left-radius: 34px 24px; border-bottom-left-radius: 5px; pointer-events: none; }
.lab { position: absolute; left: 66px; right: 0; top: 0; height: 10px; padding-right: 25px; display: flex; align-items: center; background: linear-gradient(var(--pc), var(--pc)) 0 50% / 100% 10px no-repeat; color: var(--labink, var(--pc)); font-size: 16px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 10px; }
.lab::after { content: ""; position: absolute; right: 0; top: 0; width: 20px; height: 10px; background: var(--pc); border-radius: 0 5px 5px 0; box-shadow: -5px 0 0 var(--bg); }
.lab > span { background: var(--bg); padding: 0 10px 0 14px; white-space: nowrap; line-height: 18px; }
.lab > em, .lab > .b { margin-left: auto; }
.lab > em { background: var(--bg); padding: 0 8px; font-style: normal; font-weight: 400; font-size: 14px; letter-spacing: .05em; text-transform: none; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 18px; }
.lab > .b { height: 24px; padding: 0 11px; font-size: 13px; background: var(--bg); }
.mod .note { margin: 4px 0 10px; }
.mod .note:last-child { margin-bottom: 0; }
.m-bp, .idash .mod:nth-child(2), .setcol:first-child .mod:nth-child(1) { --pc: var(--lav); }
.m-ak, .idash .mod:nth-child(3), .setcol:first-child .mod:nth-child(2), .pblk { --pc: var(--peri); }
.m-cu, .idash .mod:nth-child(1), .setcol:last-child .mod:nth-child(1) { --pc: var(--sand); }
.m-rp, .idash .mod:nth-child(4), .setcol:first-child .mod:nth-child(3), .setcol:last-child .mod:nth-child(2) { --pc: var(--plum); }

/* readouts: a big number beside its words */
.rd { display: flex; align-items: center; gap: 14px; margin: 0 0 4px; }
.big { font-size: 50px; font-weight: 700; color: var(--num); line-height: 1; }
.rd .sub { font-size: 18px; line-height: 1.35; }
.chip { display: inline-block; border-left: 6px solid var(--pc, var(--lav)); background: var(--card); padding: 1px 8px; font-size: 13.5px; letter-spacing: .08em; text-transform: uppercase; margin-right: 6px; }
.foot { margin-top: 10px; font-size: 13.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.tip { position: fixed; z-index: 8; pointer-events: none; background: var(--card); border: 2px solid var(--line); border-radius: 10px; padding: 6px 10px; font-size: 14px; color: var(--dim); box-shadow: 0 6px 18px var(--shadow); white-space: nowrap; letter-spacing: .03em; }
.tip b { display: block; font-size: 17px; color: var(--ink); margin-bottom: 1px; }

/* ---------- Command Center ---------- */
.cc { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 22px; padding-top: 4px; align-items: start; }
.m-bp { grid-row: span 2; }
.m-rp { grid-column: span 2; }
.it { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t a" "m m"; align-items: center; column-gap: 10px; padding: 4px 0; border-top: 1px solid var(--line); }
.it .tx { display: contents; }
.it .t { grid-area: t; font-size: 17px; font-weight: 500; line-height: 1.2; }
.it .m { grid-area: m; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--dim); margin-top: 2px; }
.pinl, .it.gone .m { color: var(--lab); font-weight: 600; }
.it.gone .t { text-decoration: line-through; color: var(--dim); }
.it .acts { grid-area: a; display: flex; gap: 6px; margin: 0; }
.rep { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 7px 0; border-top: 1px solid var(--line); font-size: 17px; line-height: 1.25; }
.rep .pj { font-size: 13px; letter-spacing: .08em; color: var(--lab); text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; }
.rep .ti { color: var(--ink); }
.rep a.ti { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.rep .ty { font-size: 13px; letter-spacing: .08em; color: var(--dim); text-transform: uppercase; }
.three { display: grid; grid-template-columns: 1.15fr 1.1fr .9fr; gap: 8px; }
.three div { min-width: 0; font-size: 12.5px; letter-spacing: .1em; color: var(--dim); text-transform: uppercase; }
.three b { display: block; font-size: 22px; font-weight: 600; color: var(--num); letter-spacing: 0; line-height: 1.15; text-transform: none; white-space: nowrap; }
.three i { display: block; font-size: 13px; letter-spacing: 0; color: var(--dim); font-style: normal; text-transform: none; white-space: nowrap; }
.pviz { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; margin: 10px 0 6px; }
.pviz .mc { height: 30px; margin-bottom: 3px; }
.pviz .mc .m.mute { fill: var(--track); }
.seg8 { display: flex; gap: 4px; height: 10px; margin: 4px 0 5px; outline: none; }
.seg8 i { display: block; height: 100%; min-width: 4px; }
.seg8 i:first-child { border-radius: 5px 0 0 5px; }
.seg8 i:last-child { border-radius: 0 5px 5px 0; }
.seg8 i:only-child { border-radius: 5px; }
.seg8 i.acc, .hb i.acc, .lg i.acc { background: var(--lav); }
.seg8 i.amb, .hb i.amb, .lg i.amb { background: var(--amF); }
.lg { display: flex; gap: 2px 14px; flex-wrap: wrap; font-size: 13px; color: var(--dim); }
.lg i { width: 10px; height: 10px; display: inline-block; margin-right: 5px; vertical-align: -1px; }
.lg.sm { font-size: 12.5px; }
.ivr { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t amt" "m b"; align-items: center; gap: 2px 10px; padding: 7px 0; border-top: 1px solid var(--line); }
.ivr .tx { display: contents; text-decoration: none; }
.ivr .t { grid-area: t; font-size: 17px; color: var(--ink); line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ivr .m { grid-area: m; font-size: 13px; letter-spacing: .05em; color: var(--dim); text-transform: uppercase; }
.ivr .amt { grid-area: amt; font-size: 18px; font-weight: 600; text-align: right; }
.ivr .b { grid-area: b; justify-self: end; height: 25px; padding: 0 11px; }
.ivr.gone .t { text-decoration: line-through; color: var(--dim); }
.ivr.gone .m { color: var(--lab); }
.ifoot { display: flex; gap: 8px; align-items: center; margin-top: 10px; flex-wrap: wrap; }
.ifoot .foot { margin: 0 auto 0 0; }
.ifoot .b { height: 25px; padding: 0 11px; }
.repos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.rp { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; column-gap: 6px; min-height: 50px; padding: 5px 8px; background: var(--card); border-left: 8px solid var(--press); border-radius: 12px 3px 3px 12px; color: var(--ink); text-decoration: none; line-height: 1.3; }
.rp:hover, .rp:focus-visible { filter: brightness(1.15); outline: none; }
.rp b { font-size: 17px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rp .v { font-size: 14.5px; color: var(--num); }
.rp .s { grid-column: 1 / 3; font-size: 13px; color: var(--dim); }

/* ---------- Projects ---------- */
.prow { display: grid; grid-template-columns: 1.6fr .55fr 1.3fr .7fr .5fr .55fr 90px 14px; gap: 12px; align-items: center; min-height: 42px; padding: 0 12px; margin-bottom: 6px; background: var(--card); border-left: 12px solid var(--press); border-radius: 12px 3px 3px 12px; cursor: pointer; font-size: 16px; list-style: none; }
.prow::-webkit-details-marker { display: none; }
.prow:hover { filter: brightness(1.15); }
.prow.h { min-height: 0; background: transparent; border: 0; cursor: default; padding: 0 12px 6px 24px; margin: 0; font-size: 13px; letter-spacing: .1em; color: var(--dim); text-transform: uppercase; filter: none; }
.prow b { font-size: 17.5px; font-weight: 600; }
.prow .v { color: var(--num); }
.prow .n, .prow .r { text-align: right; }
.prow .go { color: var(--presstx); font-size: 18px; text-align: right; }
.prow .stack { display: none; }
details[open] > .prow { display: none; }
.spark { display: flex; align-items: flex-end; gap: 2px; height: 20px; }
.spark i { width: 6px; background: var(--lav); display: block; min-height: 1px; }
.pblk { margin: 6px 0 14px; }
.pbh { display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.pbh b { font-size: 26px; font-weight: 600; }
.pbh .v { color: var(--num); font-size: 18px; }
.pbh .d { color: var(--dim); }
.pbh .b:first-of-type { margin-left: auto; }
.pcols { display: grid; grid-template-columns: 1.05fr 1fr 1fr; gap: 26px; font-size: 16px; line-height: 1.4; }
.pblk h4 { margin: 10px 0 3px; font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--lab); text-transform: uppercase; }
.pblk h4:first-child { margin-top: 0; }
.pblk ul, .pblk ol { margin: 0; padding-left: 18px; }
.pblk li { margin-bottom: 3px; }
.pblk li small { display: block; color: var(--dim); font-size: 14.5px; }
.pblk .none { color: var(--dim); }
.kv { font-size: 15px; line-height: 1.45; color: var(--dim); margin-bottom: 4px; }
.kv b { color: var(--ink); font-weight: 600; }
.docs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.docs .b { height: 25px; padding: 0 11px; }
.rdl { font-size: 14px; margin-left: 6px; }

/* each project's last 30 days (decision 79) and, on the PC, its dev sites (decision 80) */
.plist .prow { grid-template-columns: minmax(0, 1.6fr) .55fr 1.3fr .7fr 236px 64px 14px; }
.plist.dev .prow { grid-template-columns: minmax(0, 1.45fr) .5fr 1.2fr .62fr 236px 64px 132px 14px; }
.plist .prow > span { min-width: 0; }
.plist .prow > .d, .plist .prow > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prow .tt, .dtt { color: var(--num); white-space: nowrap; }
.dtt { font-size: 17px; cursor: default; }
/* a project untouched for 30 days: grayed, with all the same figures (decision 84) */
.prow.old { opacity: .5; }
.prow.old:hover { opacity: .72; filter: none; }
.pgh { margin-top: 18px; }
#projects > [data-filter-group]:first-child > .pgh { margin-top: 2px; }
/* a group folds under its name (decision 90); the cyan arrow marks it as pressable */
.pg > .pgh { list-style: none; cursor: pointer; }
.pg > .pgh::-webkit-details-marker { display: none; }
.pg > .pgh .cv { flex: none; width: 0; height: 0; border: 6px solid transparent; border-top: 8px solid var(--press); border-bottom: 0; }
.pg:not([open]) > .pgh .cv { border: 6px solid transparent; border-left: 8px solid var(--press); border-right: 0; }
.pg > .pgh:hover span:first-of-type, .pg > .pgh:focus-visible span:first-of-type { color: var(--ink); }
.pg > .pgh:focus-visible { outline: none; }
.pg:not([open]) > .pgh { margin-bottom: 4px; }
.pbh b[data-close-details] { cursor: pointer; }
.pbh b[data-close-details]:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.vw { display: flex; gap: 4px; margin-left: auto; }
.vw + .flt { margin-left: 0; }
.vw .b { height: 25px; border-radius: 13px; padding: 0 11px; }
.vw .b.on { background: var(--sel); border-color: var(--sel); color: var(--selt); cursor: default; }
.tcell { display: flex; align-items: center; gap: 8px; min-width: 0; }
.tcell .none, .devc .none { color: var(--dim); font-size: 14px; }
.m30 { display: flex; align-items: flex-end; gap: 1px; height: 30px; padding-top: 10px; flex: none; }
.m30 .d { width: 4px; display: flex; flex-direction: column; }
.m30 .d b { display: block; }
.m30 .d .c { background: var(--sand); }
.m30 .d .r { background: var(--lav); }
.m30 .d.z { height: 1px; background: var(--dim); opacity: .45; }
.m30 .wb { width: 1px; align-self: stretch; background: repeating-linear-gradient(to bottom, var(--dim) 0 2px, transparent 2px 4px); margin: 0 1px; }
.m30 .mb { width: 2px; align-self: stretch; background: var(--dim); margin: 0 1px; position: relative; }
.m30 .mb b { position: absolute; left: 4px; top: -11px; font-size: 10px; line-height: 1; font-weight: 600; letter-spacing: .08em; color: var(--ink); text-transform: uppercase; }
.m30.big { height: 44px; padding-top: 12px; gap: 2px; }
.m30.big .d { width: 6px; }
.m30.big .mb b { top: -13px; font-size: 11px; }
.tot { display: flex; flex-direction: column; font-size: 14px; line-height: 1.2; white-space: nowrap; }
.sq { display: inline-block; width: 8px; height: 8px; margin-right: 5px; vertical-align: 1px; }
.sq.c { background: var(--sand); }
.sq.r { background: var(--lav); }
.prow.h .sq { margin-left: 8px; }
.plist .prow.h > span { white-space: nowrap; letter-spacing: .05em; }
.dtm { display: flex; align-items: flex-end; gap: 10px; margin-left: 14px; }
.dtm .tot { font-size: 15px; }
.devc { display: flex; min-width: 0; }
.devc .b, .docs .dv { text-transform: none; letter-spacing: .02em; font-weight: 500; height: 25px; padding: 0 11px; }
.dvg .fly { left: auto; right: 0; }
.dvg .fly-in { min-width: 230px; }
.dvg .fly-in a { justify-content: space-between; gap: 14px; }
.dvg .fly-in a span { color: var(--dim); }
.lgrp.up .fly { top: auto; bottom: 100%; padding: 0 0 6px; }
.lgrp.up .fly-in { border-radius: 0 12px 0 0; }

/* a project's document: the words in a reading face, the headings in the frame's */
.doch { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.doch b { font-size: 22px; font-weight: 600; }
.doch em { font-style: normal; color: var(--dim); margin-left: auto; }
.doc { background: var(--card); border-left: 10px solid var(--peri); border-radius: 14px 4px 4px 14px; padding: 18px 24px; max-width: 900px; font-family: "Segoe UI", Arial, sans-serif; font-size: 15px; line-height: 1.55; color: var(--ink); overflow-wrap: anywhere; }
.doc h1, .doc h2, .doc h3, .doc h4 { font-family: "Antonio", "Arial Narrow", sans-serif; color: var(--title); letter-spacing: .03em; }
.doc h1 { font-size: 28px; margin: 0 0 8px; }
.doc h2 { font-size: 21px; margin: 18px 0 6px; }
.doc h3 { font-size: 17px; margin: 14px 0 4px; }
.doc blockquote { margin: 0 0 10px; padding: 6px 12px; border-left: 4px solid var(--lav); color: var(--dim); }
.doc code { font-family: Consolas, monospace; font-size: 13px; background: var(--bg); padding: 1px 5px; border-radius: 3px; }
.doc pre { background: var(--bg); border-radius: 6px; padding: 10px 12px; overflow: auto; }
.doc pre code { padding: 0; }
.doc ul, .doc ol { padding-left: 22px; margin: 4px 0 10px; }
.doc table { border-collapse: collapse; margin: 6px 0 12px; display: block; overflow-x: auto; }
.doc td, .doc th { border: 1px solid var(--line); padding: 4px 10px; font-size: 14px; text-align: left; vertical-align: top; }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 16px 0; }

/* segmented choices: pills joined end to end */
.seg { display: flex; gap: 4px; flex: none; }
.seg a, .seg button, .seg label { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; margin: 0; border: 0; background: var(--press); color: #000; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; white-space: nowrap; cursor: pointer; }
.seg > :first-child, .seg > input + label { border-radius: 15px 0 0 15px; }
.seg > :last-child { border-radius: 0 15px 15px 0; }
.seg > :only-child { border-radius: 15px; }
.seg .on, .seg label.on { background: var(--sel); color: var(--selt); }
.seg a:focus-visible, .seg button:focus-visible { outline: 2px solid var(--sel); outline-offset: 2px; }
.seg.radios { width: max-content; margin-top: 4px; }
.seg.radios.wrap { flex-wrap: wrap; width: auto; }
.seg.radios input { position: absolute; opacity: 0; pointer-events: none; }

/* ---------- Settings ---------- */
.setg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.setcol { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.fl { display: block; font-size: 13px; letter-spacing: .1em; color: var(--dim); text-transform: uppercase; margin-top: 12px; }
.modeseg.wide { width: max-content; margin-top: 4px; }
.lrow { display: flex; align-items: center; gap: 8px; padding: 5px 0; border-top: 1px solid var(--line); font-size: 16px; }
.lrow form { margin: 0; }
.lrow.dragging { opacity: .5; }
.lrow .hd { color: var(--dim); cursor: grab; font-size: 15px; letter-spacing: -2px; user-select: none; width: 14px; }
.lrow .rename { width: 150px; flex: none; }
.lrow input.nm { width: 100%; background: transparent; border: 2px solid transparent; border-radius: 6px; padding: 1px 6px; font-size: 16px; color: var(--ink); }
.lrow input.nm:hover, .lrow input.nm:focus { border-color: var(--line); outline: none; }
.lrow .nm.wide { flex: 1; }
.lrow .ad { flex: 1; min-width: 0; font-size: 14px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lrow .grp-form { flex: none; }
.gsel { height: 26px; background: transparent; border: 2px solid var(--line); border-radius: 13px; color: var(--ink); font-size: 14px; padding: 0 8px; }
.gsel option { background: var(--card); color: var(--ink); }
.lrow .b { height: 24px; padding: 0 10px; font-size: 13px; }
.lrow.add .field { margin: 0; }
.lrow.add .field:first-of-type { width: 150px; flex: none; }
.tag { font-size: 12px; letter-spacing: .08em; border-left: 5px solid var(--fine); background: var(--card); padding: 1px 7px; color: var(--dim); white-space: nowrap; text-transform: uppercase; }
.chk { width: 16px; height: 16px; border: 2px solid var(--press); border-radius: 4px; display: inline-block; flex: none; position: relative; }
.chk.on { background: var(--press); }
.chk.on::after { content: ""; position: absolute; left: 4px; top: 0; width: 4px; height: 9px; border: solid #000; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.lk { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--dim); cursor: pointer; white-space: nowrap; background: none; border: 0; padding: 0; }
.sw { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 18px; color: var(--ink); background: none; border: 0; padding: 0; }
.sw i { width: 42px; height: 22px; border-radius: 11px; background: var(--track); position: relative; flex: none; display: block; }
.sw i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--dim); }
.sw.on i { background: var(--press); }
.sw.on i::after { left: 23px; background: #000; }
.sw:focus-visible { outline: 2px solid var(--sel); outline-offset: 3px; }

/* ---------- Servers ---------- */
.counts { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 6px; }
.cnt { display: flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px 0 0; background: var(--card); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.cnt::before { content: ""; width: 12px; align-self: stretch; background: var(--fine); border-radius: 4px 0 0 4px; }
.cnt:has(.led.a)::before { background: var(--amF); }
.cnt:has(.led.o)::before { background: var(--orF); }
.cnt:has(.led.g)::before { background: transparent; border: 2px dashed var(--fine); border-right: 0; }
.cnt:last-child::before { background: var(--track); }
.cnt b { font-size: 17px; font-weight: 600; color: var(--ink); }
.cnt .led, .svc .led { display: none; }
.gh { display: flex; align-items: center; gap: 10px; margin: 16px 0 8px; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--lab); font-weight: 600; }
.gh::after { content: ""; order: 1; flex: 1; height: 4px; background: var(--line); }
.gh span:last-child { order: 2; color: var(--dim); font-weight: 400; font-size: 14px; }
.gh span:last-child:empty { display: none; }
.sgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.svc { display: block; min-width: 0; min-height: 92px; padding: 6px 10px 8px; background: var(--card); border-left: 12px solid var(--fine); border-radius: 14px 3px 3px 14px; color: inherit; text-decoration: none; }
.svc:hover, .svc:focus-visible { filter: brightness(1.12); outline: none; }
.svc.amber { border-left-color: var(--amF); background: color-mix(in srgb, var(--amF) 9%, var(--card)); }
.svc.orange { border-left-color: var(--orF); background: color-mix(in srgb, var(--orF) 10%, var(--card)); }
.svc.gray, .svc.off { background: transparent; border-left-color: transparent; outline: 2px dashed var(--line); outline-offset: -2px; }
.svc.off { opacity: .55; }
.svc .tx { display: block; min-width: 0; }
.svc .n { display: flex; align-items: baseline; gap: 6px; font-size: 18px; font-weight: 600; }
.svc .n small { margin-left: auto; font-size: 13px; font-weight: 400; color: var(--dim); white-space: nowrap; }
.svc .r { display: block; font-size: 14.5px; line-height: 1.3; color: var(--ink); }
.svc .r.p { color: var(--dim); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 2px; }
/* disk and memory: segments rising in a J-curve (decision 78) */
.gg { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 6px; }
.g { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; letter-spacing: .1em; color: var(--dim); }
.g .sg { display: flex; align-items: flex-end; gap: 2px; height: 18px; }
.g .sg i { width: 4px; height: calc(var(--h) * 1px); background: var(--track); }
.g .sg i.on { background: var(--lav); }
.g.a .sg i.on { background: var(--amF); }
.g.o .sg i.on { background: var(--orF); }
.g .gv { font-size: 14px; color: var(--ink); letter-spacing: 0; }
.gg.big { gap: 24px; margin: 4px 0 14px; }
.gg.big .g { font-size: 14px; }
.gg.big .sg { height: 29px; }
.gg.big .sg i { width: 9px; height: calc(var(--h) * 1.6px); }
.gg.big .gv { font-size: 18px; }

/* sheets: a frame-edged panel over the page */
.sheetbg { position: fixed; inset: 0; background: var(--scrim); display: flex; justify-content: flex-end; z-index: 5; }
.sheet { width: 480px; max-width: 100%; height: 100%; overflow: auto; background: var(--bg); border-left: 10px solid var(--peri); border-top: 10px solid var(--peri); border-top-left-radius: 34px 24px; padding: 16px 20px; box-shadow: -20px 0 30px -10px var(--shadow); }
.sheet form { margin: 0; }
.shd { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.shd b { font-size: 30px; font-weight: 600; }
.shd .dim { color: var(--dim); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.shd .b { margin-left: auto; }
.about { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 12px; }
.about p { flex: 1; min-width: 0; margin: 0; font-size: 16px; line-height: 1.45; color: var(--dim); }
.about .b { height: 25px; padding: 0 11px; }
.kvt, .sites { width: 100%; border-collapse: collapse; }
.kvt td { padding: 8px 0; border-top: 1px solid var(--line); vertical-align: top; font-size: 16.5px; line-height: 1.35; }
.kvt td:first-child { width: 96px; padding-right: 12px; font-size: 13px; letter-spacing: .1em; color: var(--dim); text-transform: uppercase; padding-top: 10px; }
.sites td { padding: 3px 0; border-top: 1px solid var(--line); font-size: 15px; overflow-wrap: anywhere; }
.sites td:last-child { text-align: right; color: var(--dim); padding-left: 10px; white-space: nowrap; }
.field { display: block; width: 100%; background: transparent; border: 2px solid var(--line); border-radius: 8px; padding: 6px 10px; font-size: 16px; color: var(--ink); margin: 4px 0; outline: none; }
.field:focus { border-color: var(--press); }
select.field option { background: var(--card); color: var(--ink); }
textarea.field { resize: vertical; line-height: 1.45; }
.sv { margin-top: 14px; display: flex; gap: 8px; align-items: center; }
.radio { display: flex; gap: 8px; align-items: flex-start; font-size: 16px; margin: 7px 0; cursor: pointer; line-height: 1.4; }
.radio input { position: absolute; opacity: 0; pointer-events: none; }
.radio i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--press); flex: none; margin-top: 2px; display: block; }
.radio input:checked + i { background: radial-gradient(var(--press) 0 4px, transparent 4.5px); }
.radio input:focus-visible + i { outline: 2px solid var(--sel); outline-offset: 2px; }
.addsrv .why, .addsrv .go-nr { display: none; }
.addsrv:has(input[value="notread"]:checked) .why { display: block; }
.addsrv:has(input[value="notread"]:checked) .go-nr { display: inline-flex; }
.addsrv:has(input[value="notread"]:checked) .go-rep { display: none; }
.keybox { font-size: 16px; background: var(--card); border-left: 8px solid var(--press); border-radius: 10px 3px 3px 10px; padding: 10px 12px; margin: 10px 0; display: flex; justify-content: space-between; align-items: center; gap: 10px; word-break: break-all; }
.siteadd { display: flex; gap: 6px; align-items: center; }
.siteadd input { flex: 1; min-width: 0; }
.siteadd select { width: 150px; flex: none; }
.srow { display: flex; align-items: center; gap: 8px; padding: 5px 0; border-top: 1px solid var(--line); font-size: 16px; }
.srow .sn { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.srow .ss { color: var(--dim); font-size: 14px; width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.srow .b { height: 24px; padding: 0 10px; font-size: 13px; }
.sheet .aboutedit { margin-bottom: 14px; }

/* ---------- Invoicing ---------- */
.idash { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-bottom: 20px; }
.kv2 { font-size: 38px; font-weight: 600; color: var(--num); line-height: 1.1; margin: 0 0 4px; white-space: nowrap; }
.sub2 { font-size: 14.5px; color: var(--dim); }
.icharts { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 22px; margin-bottom: 20px; align-items: start; }
.icharts.c2r { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.mc { display: block; width: 100%; height: auto; }
.chart-ph { display: none; }
.mc .grid { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 3; }
.mc .ax { fill: var(--dim); font: 13px "Antonio", "Arial Narrow", sans-serif; letter-spacing: .04em; }
.mc .vl { fill: var(--ink); font: 13px "Antonio", "Arial Narrow", sans-serif; }
.mc .hit { fill: transparent; }
.mc .m.acc { fill: var(--sand); }
.mc .m.mute { fill: var(--peri); }
.mc .col { outline: none; }
.mc .col:hover .m, .mc .col:focus .m { opacity: .75; }
.hb { flex: 1; display: flex; gap: 3px; height: 12px; min-width: 0; }
.hb i { display: block; height: 100%; }
.hb.none { font-size: 13px; color: var(--dim); height: auto; letter-spacing: .08em; text-transform: uppercase; }
.mrow3 { display: grid; grid-template-columns: 150px minmax(0, 1fr) 92px 74px; gap: 12px; align-items: center; padding: 7px 0; border-top: 1px solid var(--line); font-size: 16.5px; outline: none; color: inherit; text-decoration: none; }
.mrow3 .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mrow3 .v { text-align: right; font-weight: 600; }
.mrow3 .c2 { color: var(--dim); font-size: 13.5px; text-align: right; }
.mrow3.cl { grid-template-columns: 170px minmax(0, 1fr) 92px; }
.mrow3:hover .hb i, .mrow3:focus .hb i { opacity: .75; }
.tb { border-top: 1px solid var(--line); padding: 2px 0 6px; }
.tb .mrow3 { border-top: 0; padding-bottom: 2px; }
.tw { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--dim); }
.tw span:first-child { flex: 1; }
.tw .b { height: 25px; padding: 0 11px; }
.mt { width: 100%; border-collapse: collapse; font-size: 16px; }
.mt td { padding: 5px 0; border-top: 1px solid var(--line); color: var(--dim); }
.mt td.r { text-align: right; }
.mt td:first-child, .mt td.mono { color: var(--ink); }
.isec { --pc: var(--lav); position: relative; padding: 22px 2px 12px 26px; }
.isec::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 62px; border-left: 10px solid var(--pc); border-top: 10px solid var(--pc); border-top-left-radius: 34px 24px; border-bottom-left-radius: 5px; pointer-events: none; }
.isec h2.lab2 { font-size: 16px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--labink, var(--lab)); }
.isec h2.lab2 em { margin-left: 10px; font-weight: 400; font-size: 14px; letter-spacing: .05em; text-transform: none; color: var(--dim); }
.irow { display: grid; grid-template-columns: 1.7fr .7fr .7fr 1.2fr .8fr .8fr .8fr 140px; gap: 12px; align-items: center; padding: 7px 0; border-top: 1px solid var(--line); font-size: 16.5px; }
.irow.h { border-top: 0; padding: 0 0 4px; font-size: 13px; letter-spacing: .1em; color: var(--dim); text-transform: uppercase; }
.irow .r, .irow .n { text-align: right; }
.irow .n { font-weight: 600; }
.irow .c { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.irow .num, .ptab .num { color: var(--presstx); text-decoration: underline; text-underline-offset: 3px; }
.irow .d { color: var(--dim); }
.irow .b { justify-self: end; height: 25px; padding: 0 11px; }
.irow.gone .c, .irow.gone .n { text-decoration: line-through; color: var(--dim); }
.pc-only, .irow .stack { display: none; }
.saved { color: var(--lab); justify-self: end; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.ptab { width: 100%; border-collapse: collapse; margin-top: 4px; }
.ptab td { padding: 6px 0; border-top: 1px solid var(--line); font-size: 16px; vertical-align: middle; }
.ptab td.r { text-align: right; }
.ptab input { width: 96px; text-align: right; background: transparent; border: 2px solid var(--line); border-radius: 6px; padding: 3px 7px; font-size: 16px; color: var(--ink); }

/* the tab's name: on a phone it picks the tab (decision 87); on a wider screen it's only the name */
button.tn { border: 0; font-family: inherit; display: flex; align-items: center; gap: 7px; cursor: default; }
.tn .cv { display: none; border: 5px solid transparent; border-top: 7px solid var(--press); border-bottom: 0; }
.tmenu { display: none; }
/* the phone's Bridge tab (decision 89); a wider screen has the header on every page */
.brg { display: none; }

/* Memory Room (decision 82): a search by meaning, the sources picked, the passages found */
.mrq { display: flex; align-items: center; gap: 12px; margin: 2px 0 12px; }
.mrq .sl { width: 26px; height: 44px; flex: none; background: var(--sand); border-radius: 22px 0 0 22px; }
.mrq input { flex: 1; min-width: 0; height: 44px; margin-left: -8px; background: transparent; border: 2px solid var(--sand); border-left: 0; border-radius: 0 22px 22px 0; color: var(--ink); font-size: 21px; padding: 0 18px; outline: none; }
.mrq input:focus { border-color: var(--press); }
.mrq input::placeholder { color: var(--ph); opacity: 1; }
.b.lg { height: 34px; border-radius: 17px; font-size: 15px; padding: 0 18px; }
.mrsrc { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 8px; }
.mrsrc .lb { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-right: 4px; }
.chip { position: relative; display: inline-flex; align-items: center; height: 25px; padding: 0 11px; border-radius: 13px; border: 2px solid var(--press); color: var(--presstx); font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip i { width: 10px; height: 10px; border-radius: 2px; background: var(--sc); margin-right: 7px; }
.chip:has(input:checked) { background: var(--sel); border-color: var(--sel); color: var(--selt); }
.chip:has(input:focus-visible) { outline: 2px solid var(--sel); outline-offset: 3px; }
.mrfresh { margin: 0 0 4px; font-size: 15px; color: var(--dim); letter-spacing: .02em; }
.hit { margin-bottom: 6px; background: var(--card); border-left: 12px solid var(--sc); border-radius: 12px 3px 3px 12px; }
.hit > summary { display: block; list-style: none; padding: 8px 14px 10px; cursor: pointer; }
.hit > summary::-webkit-details-marker { display: none; }
.hit:not([open]):hover { filter: brightness(1.12); }
.hit .hbody { display: block; }
.hit .hd { display: flex; gap: 10px; align-items: baseline; min-width: 0; }
.hit .src { flex: none; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--labink, var(--lab)); font-weight: 600; }
.hit .wh { min-width: 0; font-size: 16.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hit .hh { min-width: 0; flex: 0 1 auto; font-size: 15px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hit .sc { margin-left: auto; flex: none; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
.hit .tx { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 2px; font-size: 16px; line-height: 1.38; white-space: pre-line; }
.hit[open] > summary { cursor: default; }
.hit[open] .tx { display: block; }
.hit .ft { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 0 14px 10px; }
.hit .ft .nt { font-size: 14px; color: var(--dim); }
.hit .ft [data-close-details] { margin-left: auto; }

@media (max-width: 1100px) { .sgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- the phone (decision 81): the top frame stays, the tabs become a row of blocks, the page scrolls as one ---------- */
@media (max-width: 760px) {
  .frame { height: auto; min-height: 100vh; min-height: 100dvh; }
  .tf { margin-right: 18px; min-height: 0; border-left-width: 30px; border-bottom-width: 12px; border-bottom-left-radius: 52px 44px; padding: 4px 8px 12px 12px; }
  .tf .segs { display: none; }
  .tcap { width: 14px; height: 12px; border-radius: 0 6px 6px 0; bottom: 6px; }
  .tr1 { flex-wrap: wrap; row-gap: 8px; }
  .tr1 .mark { order: -1; margin: 0 0 0 auto; font-size: 36px; height: 56px; padding: 0 14px; }
  .tr1 .mark img { width: 168px; height: 54px; }
  .q { width: 100%; height: 32px; flex: 1 1 100%; }
  .links { flex: 1 1 100%; }
  /* the header is the Bridge tab and the tabs are a list under the tab's name (decisions 87 and 89) */
  header.top, .side { display: none; }
  .low { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; align-content: start; }
  .lcap, .lfcap, .lf .segs { display: none; }
  .le { grid-column: 1; grid-row: 1; height: 30px; margin: 14px 18px 0 0; border-left-width: 22px; border-top-width: 12px; border-top-left-radius: 46px 30px; }
  .tbar { left: 14px; top: -12px; height: 12px; }
  .tn { font-size: 15px; height: 12px; line-height: 12px; padding: 0 6px; }
  button.tn { cursor: pointer; padding: 12px 0; margin: -12px 0; background-clip: content-box; box-sizing: content-box; }
  .tn .tl { padding-left: 6px; }
  .tn .cv { display: block; margin-right: 6px; }
  .tmo .tn .cv { border-top: 0; border-bottom: 7px solid var(--press); }
  .tmenu { position: absolute; left: 0; top: 40px; z-index: 40; width: 214px; flex-direction: column; gap: 5px; background: var(--bg); padding: 5px 8px 12px 0; border-radius: 0 0 16px 0; box-shadow: 0 14px 28px var(--shadow); }
  .tmo .tmenu { display: flex; }
  .tmenu a { height: 46px; display: flex; align-items: flex-end; justify-content: flex-end; padding: 0 12px 6px; background: var(--press); color: #000; font-weight: 600; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
  .tmenu a.on { background: var(--sel); color: var(--selt); }
  .tmenu a.set { height: 40px; margin-top: 8px; }
  .brg { display: block; padding: 6px 2px 4px; }
  .wide-only { display: none; }
  .brg .mark { justify-content: center; height: 76px; margin-bottom: 10px; font-size: 46px; }
  .brg .mark img { width: 206px; height: 66px; }
  .brg .q { width: 100%; height: 38px; margin-bottom: 12px; }
  .brg .q input { font-size: 18px; }
  .brg .links { margin-bottom: 20px; gap: 7px; }
  .brg .lgrp > .b { height: 32px; font-size: 15px; padding: 0 12px; border-radius: 16px; }
  .brg .dials { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; margin-top: 0; }
  .brg .dial { gap: 10px; align-items: center; }
  .brg .ring { width: 70px; height: 70px; }
  .brg .dn { font-size: 12.5px; letter-spacing: .1em; }
  .brg .d1 { font-size: 16px; line-height: 1.2; }
  .brg .d2 { font-size: 13.5px; line-height: 1.25; }
  .mrq { gap: 8px; }
  .mrq .sl, .mrq input { height: 38px; }
  .mrq input { font-size: 17px; padding: 0 12px; }
  .mrfresh { font-size: 13.5px; }
  .hit .hd { flex-wrap: wrap; row-gap: 0; }
  .hit .wh { order: 4; flex: 1 1 100%; }
  .hit .hh { display: none; }
  .hit .tx { font-size: 14.5px; }
  .bl { font-size: 11px; height: 12px; line-height: 12px; padding: 0 6px 0 0; }
  .bs { height: 12px; line-height: 12px; font-size: 10.5px; padding: 0 4px; margin-left: 3px; }
  .bs.nr { line-height: 10px; font-size: 10px; }
  .dials { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 6px; margin-top: 10px; }
  .dial { gap: 5px; align-items: flex-start; }
  .ring { width: 46px; height: 46px; }
  .dn { font-size: 10px; letter-spacing: .08em; }
  .d1 { font-size: 12.5px; line-height: 1.15; }
  .d2 { font-size: 11px; line-height: 1.2; }
  .body { grid-column: 1; grid-row: 2; overflow: visible; margin-top: 4px; padding: 6px 10px 16px 10px; border-left: 22px solid var(--peri); }
  .lf { grid-column: 1; grid-row: 3; height: 26px; margin: 4px 18px 0 0; border-left-width: 22px; border-bottom-width: 10px; border-bottom-left-radius: 46px 26px; }
  .mod, .isec { padding: 20px 0 10px 18px; }
  .mod::before, .isec::before { width: 44px; border-left-width: 7px; border-top-width: 8px; border-top-left-radius: 26px 18px; }
  .lab { left: 48px; height: 8px; padding-right: 22px; background-size: 100% 8px; font-size: 14px; line-height: 8px; letter-spacing: .1em; }
  .ph-hide { display: none; }
  .lab::after { height: 8px; width: 16px; }
  .lab > span { padding: 0 8px 0 10px; }
  .lab > em { font-size: 12px; padding: 0 6px; }
  .cc { display: flex; flex-direction: column; gap: 18px; }
  .it { grid-template-areas: "t t" "m a"; row-gap: 3px; }
  .it .m { align-self: center; }
  .three b { font-size: 20px; }
  .repos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ptop, .stop { row-gap: 8px; }
  .lab2 { width: 100%; font-size: 14px; }
  .flt { width: 100%; margin-left: 0; }
  .setg { grid-template-columns: minmax(0, 1fr); }
  .sgrid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .gh span:last-child { display: none; }
  .idash { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
  .kv2 { font-size: 25px; }
  .icharts, .icharts.c2r { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 16px; }
  .chart-pc { display: none; }
  .chart-ph { display: block; }
  .mrow3, .mrow3.cl { grid-template-columns: minmax(0, 1fr) 80px; gap: 3px 8px; }
  .mrow3 .nm { grid-column: 1 / -1; white-space: normal; }
  .mrow3 .c2 { display: none; }
  .irow { grid-template-columns: minmax(0, 1fr) auto; gap: 3px 8px; }
  .irow.h { display: none; }
  .irow > .d, .irow > .ph-hide, .irow > .num { display: none; }
  .irow > .c { grid-column: 1; grid-row: 1; }
  .irow > .n { grid-column: 2; grid-row: 1; }
  .irow > .stack { display: block; grid-column: 1; grid-row: 2; font-size: 13px; color: var(--dim); line-height: 1.4; }
  .irow > .b, .irow > .saved { grid-column: 2; grid-row: 2; }
  .prow { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; padding: 8px 10px; }
  .prow.h { display: none; }
  .prow > .v, .prow > .d, .prow > .n, .prow > .go { display: none; }
  .prow > .stack { display: block; grid-column: 1; font-size: 13.5px; color: var(--dim); line-height: 1.4; }
  .plist .prow, .plist.dev .prow { grid-template-columns: minmax(0, 1fr) auto; }
  .plist .prow > .tcell, .plist .prow > .devc { grid-column: 1 / -1; }
  .plist .prow > .tt { display: block; grid-column: 2; grid-row: 1; font-size: 14px; }
  .vw { flex: 1 1 100%; margin-left: 0; }
  .vw .b { flex: 1; }
  .dtm { margin-left: 0; width: 100%; }
  .m30.big { gap: 1px; height: 38px; }
  .m30.big .d { width: 4px; }
  .pcols { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .pbh b { font-size: 22px; }
  .doc { padding: 14px; font-size: 14.5px; }
  .lrow .ad { display: none; }
  .lrow .grp-form { margin-left: auto; }
  .lgrp > .b { height: 27px; border-radius: 14px; font-size: 13px; }
  .lrow .rename { flex: 1; width: auto; }
  .sheetbg { align-items: flex-end; }
  .sheet { width: 100%; height: 92%; border-left-width: 8px; border-top-width: 8px; }
}
