:root {
  --ink: #16191c;
  --slate: #59636f;
  --mute: #8b949e;
  --rule: #dde1e5;
  --soft: #eceff1;
  --paper: #f6f7f8;
  --panel: #fff;
  --support: #0f7a5e;
  --sales: #4b45a8;
  --marketing: #a8461f;
  --exec: #3b3f45;
  --fixed: #8a6d1a;
  --cust: #2f6f9f;
  --dev: #6b4fa0;
  --support-t: #e2f2ec;
  --sales-t: #ecebf8;
  --marketing-t: #f8ebe4;
  --fixed-t: #f6efd9;
  --cust-t: #e6f0f7;
  --dev-t: #efeafa;
  --late: #c0392b;
  --late-t: #fdecea;
  --ok: #0f7a5e;
  --ok-t: #e2f2ec;
  --up: #0f7a5e;
  --down: #c0392b;
  --flat: #59636f;
  --amber: #b8860b;
  --amber-t: #fbf1da;
  --new: #e8590c; /* a brand-new account – orange, so it is seen */
  --new-t: #fff3ea;
  --sans: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--sales);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--panel);
  border-bottom: 1px solid var(--rule);
}
.topin {
  max-width: 1320px;
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.brand {
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 16px;
  white-space: nowrap;
}
.brand small {
  background: var(--sales-t);
  color: var(--sales);
  padding: 2px 7px;
  border-radius: 20px;
  font-size: 11px;
  margin-left: 7px;
  font-family: var(--mono);
}

.nav a {
  font-size: 13px;
  color: var(--slate);
  padding: 6px 9px;
  border-radius: 6px;
}
.nav a.on {
  background: var(--ink);
  color: #fff;
}
.nav a:hover {
  text-decoration: none;
  background: var(--soft);
}
.nav a.on:hover {
  background: var(--ink);
}
select,
input[type="text"],
input[type="number"],
input[type="date"],
textarea {
  font: inherit;
  font-size: 13px;
  padding: 6px 9px;
  border: 1px solid var(--rule);
  border-radius: 7px;
  background: var(--paper);
  color: var(--ink);
}
input[type="text"] {
  min-width: 200px;
}
.sp {
  flex: 1;
}
.btn {
  appearance: none;
  font: inherit;
  font-size: 12.5px;
  padding: 6px 11px;
  border: 1px solid var(--rule);
  border-radius: 7px;
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
}
.btn:hover {
  background: var(--soft);
}
.btn.pri {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.btn.pri:hover {
  background: #000;
}
.btn.sm {
  font-size: 11.5px;
  padding: 3px 8px;
}
.btn.done {
  background: var(--ok);
  border-color: var(--ok);
  color: #fff;
}
.wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 22px 18px 80px;
}
/* the sign-in screens (signin.html and the app's signed-out state) */
.wrap.signin {
  max-width: 560px;
}
h1 {
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.018em;
  margin: 0 0 4px;
}
h2 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 3px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
h2 .c {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--mute);
  font-weight: 400;
}
.sub {
  color: var(--slate);
  font-size: 14px;
  margin: 0 0 16px;
}
.hint {
  font-size: 12.5px;
  color: var(--mute);
  margin: 0 0 12px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 16px;
}
.card.hi {
  border: 1px solid var(--fc, var(--rule));
  box-shadow: 0 1px 0 var(--fc, transparent);
}
/* a brand-new account on Sales records (John, 9 Nov 2026): meant to be seen */
.newlogo {
  margin-top: 12px;
  padding: 12px 14px;
  border: 2px solid var(--new);
  border-radius: 10px;
  background: var(--new-t);
}
.newlogo h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--new);
}
.newlogo h3 small {
  font-weight: 400;
  color: var(--ink2, var(--ink));
  font-size: 12.5px;
  margin-left: 8px;
}
.newlogo .form label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 900px) {
  .two {
    grid-template-columns: 1fr;
  }
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.grid.g4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
[data-go] {
  cursor: pointer;
}
[data-go]:hover {
  border-color: var(--slate);
}
@media (max-width: 900px) {
  .grid.g4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
a.kpilink {
  text-decoration: none;
  color: inherit;
  display: block;
}
a.kpilink .kpi {
  height: 100%;
  box-sizing: border-box;
  transition: border-color 0.12s;
}
a.kpilink:hover .kpi {
  border-color: var(--slate);
  cursor: pointer;
}
.kpi {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--slate);
  border-radius: 10px;
  padding: 13px 16px;
}
.kpi span {
  display: block;
  font-size: 12px;
  color: var(--slate);
  margin-bottom: 4px;
}
.kpi div {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.kpi small {
  font-size: 12px;
  color: var(--mute);
  font-family: var(--sans);
  display: block;
  margin-top: 3px;
}
.kpi.warn {
  background: var(--late-t);
  border-left-color: var(--late);
}
.kpi.warn div {
  color: var(--late);
}
.kpi.good {
  background: var(--ok-t);
  border-left-color: var(--ok);
}
.kpi.good div {
  color: var(--ok);
}
.kpi.accent {
  background: var(--sales-t);
  border-left-color: var(--sales);
}
.who {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.who .ini {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  background: var(--fc-t, var(--soft));
  color: var(--fc, var(--ink));
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.who .role {
  font-size: 16px;
  color: var(--ink);
  font-weight: 500;
}
.who .role small {
  display: block;
  font-size: 12.5px;
  color: var(--slate);
  font-weight: 400;
}
.it {
  display: flex;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid var(--soft);
  align-items: center;
}
.it:last-child {
  border-bottom: 0;
}
.it .k {
  width: 4px;
  align-self: stretch;
  border-radius: 2px;
  flex: none;
  min-height: 20px;
}
.it .ac {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--slate);
  width: 184px;
  flex: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.it .nm {
  flex: 1;
  font-size: 14px;
}
.it .rt {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--mute);
  white-space: nowrap;
}
.it.lt {
  background: var(--late-t);
  margin: 0 -8px;
  padding-left: 8px;
  padding-right: 8px;
  border-radius: 6px;
}
.it.lt .nm {
  color: var(--late);
  font-weight: 500;
}
.it.fx .ac {
  color: var(--fixed);
}
.it.fx .nm {
  font-weight: 500;
}
.it.dn .nm {
  color: var(--mute);
  text-decoration: line-through;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
th {
  text-align: left;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--slate);
  padding: 9px 9px;
  border-bottom: 2px solid var(--rule);
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  background: var(--soft);
}
th.r,
td.r {
  text-align: right;
}
td {
  padding: 8px 9px;
  border-bottom: 1px solid var(--soft);
  vertical-align: top;
}
tbody tr:nth-child(even) {
  background: #fafbfc;
}
tbody tr:hover {
  background: var(--sales-t);
}
tr:last-child td {
  border-bottom: 0;
}
td.m,
.m {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--slate);
  white-space: nowrap;
}
td.r {
  font-family: var(--mono);
  font-size: 12px;
  white-space: nowrap;
}
.scroll {
  overflow-x: auto;
}
.bad {
  color: var(--late);
  font-weight: 500;
}
.good {
  color: var(--ok);
  font-weight: 500;
}
.dim {
  color: var(--mute);
}
.rltab {
  width: 100%;
  font-size: 12.5px;
}
.rltab th {
  font-weight: 600;
  color: var(--slate);
  text-align: left;
  vertical-align: top;
}
.rltab td {
  vertical-align: top;
}
.pill {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  font-family: var(--mono);
  padding: 1px 7px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.lab {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  font-family: var(--mono);
  padding: 1px 6px;
  border-radius: 4px;
  margin-right: 4px;
  letter-spacing: 0.03em;
  vertical-align: middle;
}
.lab.int {
  background: #fff1d6;
  color: #8a5a00;
  border: 1px solid #f0d9a6;
}
.lab.cv {
  background: var(--support-t);
  color: var(--support);
}
.lab.res {
  background: #2b2f36;
  color: #fff;
}
.mailc {
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 12px;
  background: var(--paper);
}
.mailh {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
}
.mailh .from {
  font-weight: 600;
}
.mailh .from small {
  font-weight: 400;
  color: var(--mute);
}
.mailh .when {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mute);
  white-space: nowrap;
}
.mails {
  font-size: 14px;
  margin: 4px 0 2px;
}
.mailn {
  font-size: 12px;
  background: #fff1d6;
  border-radius: 6px;
  padding: 5px 8px;
  margin: 4px 0;
}
.mailb {
  font-size: 12.5px;
  color: var(--slate);
  white-space: pre-wrap;
  max-height: 120px;
  overflow: hidden;
}
.mailw {
  font-size: 11.5px;
  color: var(--mute);
  font-family: var(--mono);
  margin-top: 4px;
}
.cand {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 5px 0;
  border-top: 1px solid var(--soft);
}
.cand .ref {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--slate);
  flex: none;
}
.cand .nm {
  flex: 1;
  font-size: 13px;
}
.cand .nm small {
  display: block;
  font-size: 11px;
  color: var(--mute);
}
.casew {
  width: min(980px, 96vw) !important;
}
.panes {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 14px;
  margin-bottom: 8px;
}
.pane {
  min-width: 0;
}
.pane.team {
  background: #fffaf0;
  border: 1px solid #f0d9a6;
  border-radius: 10px;
  padding: 10px 12px;
}
.msg {
  border-top: 1px solid var(--soft);
  padding: 7px 0;
}
.msg.int {
  background: transparent;
}
.msgh {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
}
.msgh .msgt {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mute);
  white-space: nowrap;
}
.msgl {
  margin: 3px 0;
}
.msgb {
  white-space: pre-wrap;
  font-size: 12.5px;
}
.msga {
  margin-top: 5px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.rbox {
  background: var(--soft);
  border-radius: 8px;
  padding: 10px 12px;
  margin: 8px 0;
  font-size: 12.5px;
}
.rbox.comp {
  background: var(--paper);
  border: 1px solid var(--rule);
}
.rbox .row {
  margin-top: 8px;
}
.quoted {
  margin-top: 8px;
  font-size: 12px;
}
.quoted pre {
  white-space: pre-wrap;
  font: inherit;
  color: var(--slate);
  max-height: 160px;
  overflow: auto;
  background: var(--soft);
  padding: 8px;
  border-radius: 6px;
}
.guard {
  border-radius: 8px;
  padding: 8px 10px;
  margin-top: 8px;
  font-size: 12.5px;
}
.guard.ok {
  background: var(--support-t);
  color: var(--support);
}
.guard.warn {
  background: #fff1d6;
  color: #8a5a00;
}
.guard.bad {
  background: var(--late-t);
  color: var(--late);
}
.gf {
  margin-top: 6px;
  color: var(--ink);
}
.gf blockquote {
  margin: 4px 0 0;
  padding: 4px 8px;
  border-left: 3px solid currentColor;
  font-style: italic;
  background: rgba(255, 255, 255, 0.6);
}
.banner {
  background: var(--late-t);
  color: var(--late);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12.5px;
  margin-bottom: 8px;
}
.banner.soft {
  background: #fff1d6;
  color: #8a5a00;
}
.banner.itar {
  background: #2b2f36;
  color: #fff;
}
.banner.nda {
  background: var(--soft);
  color: var(--ink);
}
.cnt {
  display: inline-block;
  background: var(--late);
  color: #fff;
  border-radius: 10px;
  font-size: 10px;
  padding: 0 6px;
  font-family: var(--mono);
}
.closer {
  margin-top: 10px;
}
.closer summary {
  cursor: pointer;
  font-size: 12.5px;
  color: var(--slate);
}
.msgl,
.msgb,
.mailb,
.mails,
.rbox {
  overflow-wrap: anywhere;
}
.msgl .m {
  white-space: normal;
}
@media (max-width: 760px) {
  .panes {
    grid-template-columns: 1fr;
  }
  .mailh {
    flex-wrap: wrap;
  }
  .mailh .when {
    white-space: normal;
  }
  .cand {
    flex-wrap: wrap;
  }
  .cand .nm {
    flex-basis: 100%;
  }
  .mailc {
    padding: 10px;
  }
  .casew {
    width: 96vw !important;
  }
  .mback .row input[type="text"] {
    min-width: 0 !important;
    flex: 1;
  }
}
.pill.urgent {
  background: var(--late-t);
  color: var(--late);
}
.pill.high {
  background: var(--amber-t);
  color: var(--amber);
}
.note {
  margin: 14px 0 0;
  padding: 12px 14px;
  background: var(--soft);
  border-radius: 8px;
  color: var(--slate);
  font-size: 12.5px;
  max-width: none;
  line-height: 1.55;
}
.note b {
  color: var(--ink);
  font-weight: 500;
}
.mini {
  display: inline-block;
  height: 8px;
  border-radius: 2px;
  background: var(--sales);
  vertical-align: -1px;
}
.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 20px;
  background: var(--soft);
  color: var(--slate);
  margin-left: 6px;
  vertical-align: 1px;
}
.tag.risk {
  background: var(--late-t);
  color: var(--late);
}
.tag.lapsed {
  background: var(--fixed-t);
  color: var(--fixed);
}
.tag.syn {
  background: var(--soft);
  color: var(--mute);
}
.facts {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
.card > .facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2px;
}
.card > .facts {
  gap: 2px;
  background: var(--soft);
  border-radius: 10px;
  padding: 4px;
}
.fact {
  padding: 9px 14px;
  background: var(--panel);
  border-radius: 7px;
}
.fact span {
  display: block;
  font-size: 11.5px;
  color: var(--slate);
  margin-bottom: 3px;
}
.fact div {
  font-size: 14px;
  font-weight: 500;
}
.fact .mm {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
}
.contacts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}
.ct {
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 11px 13px;
  border-left: 3px solid var(--slate);
}
.ct b {
  font-weight: 600;
  display: block;
  font-size: 14px;
}
.ct span {
  display: block;
  font-size: 12.5px;
  color: var(--slate);
}
.ct .m {
  font-size: 11.5px;
}
.form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 10px;
}
.form label {
  font-size: 12px;
  color: var(--slate);
}
/* timeline */
.tl {
  position: relative;
  overflow-x: auto;
}
.tl svg {
  display: block;
}
.tl .lab {
  font-size: 10.5px;
  fill: #59636f;
}
.tl .lab2 {
  font-size: 10px;
  fill: #8b949e;
  font-family: "IBM Plex Mono", monospace;
}
.legend {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--slate);
  margin-top: 10px;
}
.dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  vertical-align: -1px;
  margin-right: 5px;
}
.diag {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 8px;
  margin-top: 8px;
}
.diag button {
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--panel);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
}
.diag button b {
  display: block;
  font-weight: 500;
}
.diag button span {
  font-size: 12px;
  color: var(--slate);
}
.diag button.on {
  border-color: var(--ink);
  background: #f0f2f4;
}
footer {
  font-size: 12px;
  color: var(--mute);
  margin-top: 10px;
  max-width: 90ch;
}
/* package V – scope switch, person filter, names that filter, More, View as */
.scopebar {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 0 12px;
}
.seg {
  display: inline-flex;
  gap: 2px;
  background: var(--soft);
  border-radius: 8px;
  padding: 2px;
}
.seg button {
  font: inherit;
  font-size: 12.5px;
  border: 0;
  background: transparent;
  color: var(--slate);
  padding: 5px 11px;
  border-radius: 6px;
  cursor: pointer;
}
.seg button.on {
  background: var(--panel);
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.scopebar select {
  font: inherit;
  font-size: 12.5px;
  padding: 4px 6px;
  border: 1px solid var(--rule);
  border-radius: 7px;
  background: var(--panel);
  max-width: 220px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  background: var(--ink);
  color: #fff;
  border-radius: 20px;
  padding: 3px 4px 3px 11px;
}
.chip small {
  color: #cfd6dd;
  font-size: 11.5px;
}
.chip button {
  border: 0;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  cursor: pointer;
  font-size: 11px;
  line-height: 20px;
  padding: 0;
}
.chip.soft {
  background: var(--soft);
  color: var(--ink);
  padding: 3px 11px;
  cursor: pointer;
  border: 1px solid var(--rule);
}
.chip.soft.on {
  background: var(--support-t);
  border-color: var(--support);
  color: var(--support);
}
a.who {
  font-family: var(--mono);
  font-weight: 600;
  color: var(--ink);
}
a.who:hover {
  color: var(--sales);
}
a.topage {
  font-size: 10.5px;
  color: var(--mute);
  margin-left: 5px;
  white-space: nowrap;
}
.whoc {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}
.form select {
  max-width: 100%;
}
details.more {
  position: relative;
}
details.more summary {
  list-style: none;
  font-size: 13.5px;
  color: var(--slate);
  padding: 7px 13px;
  border-radius: 8px;
  background: var(--soft);
  cursor: pointer;
}
details.more summary::-webkit-details-marker {
  display: none;
}
details.more.on summary {
  background: var(--ink);
  color: #fff;
}
details.more .morebox {
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  z-index: 30;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 6px;
  display: flex;
  flex-direction: column;
  min-width: 170px;
}
details.more .morebox a {
  background: transparent;
  padding: 7px 11px;
}
details.more .morebox a.on {
  background: var(--ink);
  color: #fff;
}
.asbanner {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  background: var(--marketing-t);
  border: 1px solid var(--marketing);
  color: var(--ink);
  border-radius: 10px;
  padding: 8px 12px;
  margin-bottom: 12px;
  font-size: 13px;
}
.asbanner .btn {
  margin-left: auto;
}
@media (max-width: 640px) {
  .tnav {
    margin-left: 0;
  }
  .mebtn .rl {
    font-size: 14px;
  }
  .scopebar select {
    max-width: 100%;
  }
  .scopebar .m {
    margin-left: 0;
  }
  .it {
    flex-wrap: wrap;
  }
  .it .ac {
    width: auto;
    max-width: 100%;
  }
  .it .nm {
    flex-basis: calc(100% - 20px);
  }
  .form select,
  .form input {
    max-width: 100%;
    min-width: 0 !important;
  }
  .m {
    overflow-wrap: anywhere;
  }
  .scopebar .m,
  .qtog .m {
    white-space: normal;
  }
  .qtog {
    flex-wrap: wrap;
  }
}
.layout {
  max-width: 1680px;
  margin: 0 auto;
  padding: 16px 16px 60px;
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.rail {
  position: sticky;
  top: 58px;
  max-height: calc(100vh - 70px);
  overflow: auto;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 14px 14px 12px;
  font-size: 13px;
}
.rail h4 {
  margin: 0 0 2px;
  font-size: 14px;
  font-weight: 600;
}
.rail .sub2 {
  font-size: 11px;
  color: var(--mute);
  margin: 0 0 10px;
}
.rail .lbl {
  font-size: 11px;
  color: var(--slate);
  margin: 14px 0 5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}
.rail .lbl:first-of-type {
  margin-top: 0;
}
.cnt {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}
.cnt a {
  flex: 1;
  text-align: center;
  background: var(--soft);
  border-radius: 8px;
  padding: 8px 6px;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid transparent;
}
.cnt a:hover {
  border-color: var(--rule);
}
.cnt a b {
  display: block;
  font-family: var(--mono);
  font-size: 19px;
  font-weight: 600;
}
.cnt a small {
  font-size: 11px;
  color: var(--slate);
}
.cnt a.warn {
  background: var(--late-t);
}
.cnt a.warn b,
.cnt a.warn small {
  color: var(--late);
}
.ri {
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 5px 0;
  border-top: 1px solid var(--soft);
}
.ri:first-child {
  border-top: 0;
}
.ri .k {
  width: 3px;
  height: 12px;
  border-radius: 1px;
  flex: none;
}
.ri .t {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 12.5px;
}
.ri .t small {
  display: block;
  font-size: 11px;
  color: var(--mute);
  font-family: var(--mono);
}
.ri .t.lt {
  color: var(--late);
}
.ri .go {
  appearance: none;
  border: 1px solid var(--rule);
  background: var(--panel);
  border-radius: 5px;
  font-size: 10px;
  padding: 1px 5px;
  cursor: pointer;
  color: var(--slate);
  flex: none;
  visibility: hidden;
}
.ri:hover .go {
  visibility: visible;
}
.rv {
  font-size: 12.5px;
  padding: 4px 0;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.rv span:last-child {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--slate);
  white-space: nowrap;
}
.rv.warn span {
  color: var(--late);
}
.navr {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--soft);
}
.navr a {
  font-size: 12px;
  color: var(--slate);
  padding: 5px 9px;
  border-radius: 6px;
  text-decoration: none;
  background: var(--soft);
}
.navr a:hover {
  background: var(--rule);
}
.navr a.on {
  background: var(--ink);
  color: #fff;
}
.rail input[type="text"] {
  width: 100%;
  min-width: 0;
  margin-top: 8px;
  font-size: 12px;
  padding: 5px 8px;
}
.rail .sr {
  min-width: 220px;
  left: 0;
}
.collapse {
  display: none;
}
.topnav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 9px 12px;
  margin-bottom: 16px;
}
.mebtn {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 4px 10px 4px 4px;
  border-radius: 9px;
  border: 1px solid transparent;
}
.mebtn:hover {
  background: var(--soft);
  text-decoration: none;
}
.mebtn.on {
  background: var(--fc-t, var(--soft));
  border-color: var(--fc, var(--rule));
}
.mebtn .ini {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 600;
  background: var(--fc-t, var(--soft));
  color: var(--fc, var(--ink));
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mebtn .rl {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
}
.mebtn .rl small {
  display: block;
  font-size: 12px;
  color: var(--slate);
  font-weight: 400;
}
.tnav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-left: auto;
}
.tnav a {
  font-size: 13.5px;
  color: var(--slate);
  padding: 7px 13px;
  border-radius: 8px;
  text-decoration: none;
  background: var(--soft);
}
.tnav a:hover {
  background: var(--rule);
  text-decoration: none;
}
.tnav a.on {
  background: var(--ink);
  color: #fff;
}
/* forecast matrix */
.fc {
  width: 100%;
  border-collapse: separate;
  border-spacing: 5px;
}
.fc th {
  background: transparent;
  border: 0;
  font-size: 11.5px;
  color: var(--slate);
  padding: 2px 6px;
  cursor: default;
  text-align: center;
}
.fc th.l {
  text-align: left;
  width: 190px;
}
.fc td {
  border: 0;
  padding: 0;
}
.fcell {
  border-radius: 9px;
  padding: 8px 10px;
  min-height: 52px;
}
.fcell b {
  display: block;
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.1;
}
.fcell span {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  opacity: 0.85;
  margin-top: 1px;
}
.fcell.z {
  background: var(--paper);
  border: 1px dashed var(--rule);
}
.fcell.z b {
  color: var(--mute);
  font-weight: 400;
  font-size: 14px;
}
.clsl {
  display: flex;
  gap: 9px;
  align-items: baseline;
}
.clsl b {
  font-family: var(--mono);
  font-size: 15px;
  width: 16px;
}
.clsl span {
  font-size: 12px;
}
.clsl small {
  display: block;
  font-size: 11px;
  color: var(--slate);
  font-weight: 400;
}
.board {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding-bottom: 6px;
}
.bcol {
  flex: 1 0 176px;
  min-width: 176px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 8px;
}
.bcol h5 {
  margin: 0 0 2px;
  font-size: 12px;
  font-weight: 600;
}
.bcol .cnt2 {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mute);
  margin-bottom: 7px;
  display: block;
}
.bcol .nx {
  font-size: 10.5px;
  color: var(--mute);
  line-height: 1.35;
  margin-bottom: 8px;
  min-height: 26px;
}
.pc {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--slate);
  border-radius: 8px;
  padding: 8px 9px;
  margin-bottom: 7px;
}
.pc b {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
}
.pc .meta {
  font-size: 10.5px;
  color: var(--slate);
  font-family: var(--mono);
  margin-top: 3px;
}
.pc .note2 {
  font-size: 11px;
  color: var(--mute);
  margin-top: 4px;
  line-height: 1.35;
}
.pc .foot {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  padding: 0 5px;
  border-radius: 3px;
  margin-right: 5px;
}
.pc .row2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
  gap: 6px;
}
.pc select {
  font-size: 10.5px;
  padding: 2px 4px;
  border-radius: 5px;
  border: 1px solid var(--rule);
  background: var(--paper);
}
.pc .age {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--mute);
}
.pc .age.old {
  color: var(--late);
  font-weight: 600;
}
.ovl {
  position: fixed;
  inset: 0;
  background: rgba(22, 25, 28, 0.42);
  z-index: 60;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 70px 20px 20px;
  overflow: auto;
}
.modal {
  background: var(--panel);
  border-radius: 14px;
  width: 100%;
  max-width: 640px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}
.modal header {
  padding: 16px 20px 12px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.modal header h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}
.modal header .x {
  margin-left: auto;
  cursor: pointer;
  color: var(--mute);
  font-size: 19px;
  line-height: 1;
  border: 0;
  background: none;
}
.modal .body2 {
  padding: 16px 20px;
}
.modal footer {
  padding: 12px 20px 16px;
  display: flex;
  gap: 9px;
  align-items: center;
  border-top: 1px solid var(--rule);
  background: var(--paper);
}
.fld {
  margin-bottom: 12px;
}
.fld label {
  display: block;
  font-size: 12px;
  color: var(--slate);
  margin-bottom: 4px;
  font-weight: 500;
}
.fld input,
.fld select,
.fld textarea {
  width: 100%;
  font-size: 13.5px;
  padding: 7px 9px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
}
.fld .hint2 {
  font-size: 11.5px;
  color: var(--mute);
  margin-top: 3px;
}
.two2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.three {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}
.route {
  background: var(--sales-t);
  border: 1px solid var(--sales);
  border-radius: 9px;
  padding: 10px 12px;
  font-size: 12.5px;
  color: var(--sales);
}
.route b {
  font-weight: 600;
}
.route small {
  display: block;
  color: var(--slate);
  font-size: 11.5px;
  margin-top: 3px;
}
.newlead {
  appearance: none;
  font: inherit;
  font-size: 13.5px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 8px;
  border: 0;
  background: var(--sales);
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
}
.newlead:hover {
  background: #3b3690;
}
.tl2 {
  margin-top: 4px;
}
.tlrow {
  display: grid;
  grid-template-columns: 92px 1fr 1fr;
  gap: 10px;
  align-items: start;
  padding: 5px 0;
}
.tlrow + .tlrow {
  border-top: 1px solid var(--soft);
}
.tldate {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mute);
  text-align: right;
  padding-top: 3px;
  white-space: nowrap;
}
.tlcell {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tlent {
  display: flex;
  gap: 7px;
  align-items: baseline;
  font-size: 12.5px;
  line-height: 1.35;
  padding: 3px 8px;
  border-radius: 7px;
  background: var(--paper);
  border-left: 3px solid var(--slate);
  min-width: 0;
}
.tlent .wh {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  flex: none;
  opacity: 0.85;
}
.tlent .tx {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tlent .tx small {
  display: block;
  font-size: 10.5px;
  color: var(--mute);
  white-space: normal;
  line-height: 1.3;
  margin-top: 1px;
}
.tlent.inb {
  border-left-color: var(--cust);
  background: var(--cust-t);
}
.tlgap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 3px 0 3px 102px;
  color: var(--mute);
  font-size: 10.5px;
  font-family: var(--mono);
}
.tlgap i {
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--rule) 0 3px, transparent 3px 7px);
  font-style: normal;
}
.tlgap.long i {
  background: repeating-linear-gradient(90deg, var(--rule) 0 2px, transparent 2px 4px);
  height: 3px;
}
.tlce {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  align-items: center;
  margin: 5px 0;
  padding: 6px 10px 6px 0;
  border-radius: 8px;
  background: var(--soft);
}
.tlce b {
  font-size: 12.5px;
}
.tlce .nt {
  font-size: 11px;
  color: var(--slate);
  display: block;
  margin-top: 1px;
  line-height: 1.35;
}
.tlce.up {
  background: var(--support-t);
}
.tlce.up b {
  color: var(--support);
}
.tlce.down {
  background: var(--late-t);
}
.tlce.down b {
  color: var(--late);
}
.tlnow {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  align-items: center;
  margin: 12px 0;
}
.tlnow .bar {
  height: 2px;
  background: var(--ink);
  position: relative;
}
.tlnow .bar b {
  position: absolute;
  top: -9px;
  left: 0;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  font-family: var(--mono);
  padding: 1px 7px;
  border-radius: 9px;
  font-weight: 600;
}
.tlhead {
  display: grid;
  grid-template-columns: 92px 1fr 1fr;
  gap: 10px;
  font-size: 10.5px;
  color: var(--slate);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 4px;
}
.tlplan {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  align-items: center;
  padding: 4px 0;
}
.tlplan + .tlplan {
  border-top: 1px solid var(--soft);
}
.tlbar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  padding: 4px 10px;
  border-radius: 7px;
  border: 1px dashed var(--rule);
  background: var(--panel);
}
.tlbar.dn {
  border-style: solid;
  background: var(--support-t);
  border-color: var(--support);
}
.tlbar.lt {
  border-style: solid;
  background: var(--late-t);
  border-color: var(--late);
  color: var(--late);
}
.tlbar .wh {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  margin-left: auto;
  flex: none;
}
.laer {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
@media (max-width: 1300px) {
  .laer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.lcol {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 10px 10px 8px;
  min-width: 0;
}
.lhead {
  padding: 4px 4px 10px;
  border-bottom: 2px solid var(--lc, var(--rule));
  margin-bottom: 10px;
}
.lhead .lt {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.lhead .lt b {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--lc, var(--ink));
}
.lhead .lt span {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--mute);
}
.lhead .ls {
  font-size: 12px;
  color: var(--slate);
  margin-top: 4px;
  line-height: 1.4;
}
.lhead .agg {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 7px;
}
.lhead .agg b {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 600;
  color: var(--lc, var(--ink));
}
.lhead .agg small {
  font-size: 11px;
  color: var(--mute);
}
.stk {
  display: flex;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  background: var(--soft);
  flex: 1;
}
.stk i {
  display: block;
  height: 100%;
}
.lcard {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 9px;
  padding: 8px 10px;
  margin-bottom: 7px;
  text-decoration: none;
  color: inherit;
  display: block;
  border-left: 3px solid var(--lc, var(--slate));
}
.lcard:hover {
  border-color: var(--lc, var(--slate));
  text-decoration: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
.lcard .r1 {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
}
.lcard .r1 b {
  font-size: 12.5px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.lcard .r1 span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--slate);
  flex: none;
}
.lcard .r2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.prog {
  flex: 1;
  height: 7px;
  border-radius: 4px;
  background: var(--soft);
  overflow: hidden;
}
.prog i {
  display: block;
  height: 100%;
  background: var(--lc, var(--slate));
  border-radius: 4px;
}
.lcard .pct {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--slate);
  width: 34px;
  text-align: right;
  flex: none;
}
.lcard .st {
  font-size: 10.5px;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 20px;
  flex: none;
  font-family: var(--mono);
}
.lcard .r3 {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 5px;
  font-size: 11px;
  color: var(--mute);
  line-height: 1.35;
}
.lcard .r3 .nx {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.lcard .r3 .wh {
  font-family: var(--mono);
  flex: none;
  color: var(--slate);
}
.lmore {
  appearance: none;
  width: 100%;
  border: 1px dashed var(--rule);
  background: transparent;
  border-radius: 8px;
  padding: 6px;
  font: inherit;
  font-size: 11.5px;
  color: var(--slate);
  cursor: pointer;
}
.lmore:hover {
  background: var(--soft);
}
.qtog {
  display: flex;
  gap: 4px;
  align-items: center;
  margin: 0 0 14px;
}
.qtog a {
  font-size: 12.5px;
  padding: 5px 11px;
  border-radius: 7px;
  background: var(--soft);
  color: var(--slate);
  text-decoration: none;
}
.qtog a.on {
  background: var(--ink);
  color: #fff;
}
.qtog .m {
  margin-left: auto;
}
.rates {
  display: flex;
  gap: 6px;
  align-items: flex-end;
  margin-top: 8px;
}
.rates div {
  flex: 1;
  text-align: center;
}
.rates .bar {
  background: var(--soft);
  border-radius: 4px 4px 0 0;
  position: relative;
  height: 38px;
  display: flex;
  align-items: flex-end;
}
.rates .bar i {
  display: block;
  width: 100%;
  background: var(--support);
  border-radius: 4px 4px 0 0;
}
.rates .bar.cur i {
  background: var(--sales);
}
.rates small {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--mute);
  margin-top: 3px;
}
.rates b {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
}
.modetog {
  display: flex;
  gap: 2px;
  background: var(--soft);
  border-radius: 8px;
  padding: 2px;
  margin-left: 8px;
}
.modetog a {
  font-size: 11.5px;
  padding: 4px 9px;
  border-radius: 6px;
  color: var(--slate);
  text-decoration: none;
}
.modetog a.on {
  background: var(--panel);
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.rtabs {
  display: flex;
  gap: 2px;
  background: var(--soft);
  border-radius: 8px;
  padding: 2px;
  margin-bottom: 12px;
}
.rtabs a {
  flex: 1;
  text-align: center;
  font-size: 12px;
  padding: 5px 6px;
  border-radius: 6px;
  color: var(--slate);
  text-decoration: none;
  white-space: nowrap;
}
.rtabs a.on {
  background: var(--panel);
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.rtabs a:hover {
  text-decoration: none;
}
.insp h4 {
  font-size: 15px;
  margin: 0 0 2px;
  line-height: 1.25;
}
.insp .sub2 {
  margin-bottom: 8px;
}
.insp .facts2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 10px;
  background: var(--soft);
  border-radius: 8px;
  padding: 8px 10px;
  margin: 8px 0;
}
.insp .facts2 div {
  font-size: 11.5px;
  color: var(--slate);
}
.insp .facts2 div b {
  display: block;
  font-size: 12.5px;
  color: var(--ink);
  font-weight: 500;
  font-family: var(--mono);
}
.insp .facts2 div.wide {
  grid-column: 1/-1;
}
.insp .openfull {
  display: inline-block;
  font-size: 11.5px;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  margin-top: 4px;
}
.insp .openfull:hover {
  text-decoration: none;
  background: #000;
}
.ih {
  display: flex;
  gap: 8px;
  padding: 6px 0;
  border-top: 1px solid var(--soft);
  align-items: flex-start;
}
.ih:first-child {
  border-top: 0;
}
.ih .d {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--mute);
  width: 58px;
  flex: none;
  padding-top: 2px;
  text-align: right;
}
.ih .g {
  width: 3px;
  border-radius: 2px;
  align-self: stretch;
  flex: none;
  min-height: 16px;
}
.ih .b {
  min-width: 0;
  flex: 1;
}
.ih .b .t {
  font-size: 12px;
  line-height: 1.3;
}
.ih .b .t small {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--slate);
  margin-right: 4px;
  font-weight: 600;
}
.ih .b .n {
  font-size: 11px;
  color: var(--mute);
  line-height: 1.35;
  margin-top: 1px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.ih.ev .b .t {
  font-weight: 600;
}
.ih.ev.up .b .t {
  color: var(--support);
}
.ih.ev.down .b .t {
  color: var(--late);
}
.ih.gap {
  padding: 2px 0 2px 66px;
  border-top: 0;
  font-size: 10px;
  color: var(--mute);
  font-family: var(--mono);
}
.ilog {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
}
.ilog .row {
  display: flex;
  gap: 5px;
  margin-bottom: 5px;
}
.ilog select,
.ilog input {
  font-size: 11.5px;
  padding: 4px 6px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--paper);
  min-width: 0;
  flex: 1;
}
.ilog button {
  font-size: 11.5px;
  padding: 4px 10px;
}
.ict {
  display: flex;
  gap: 6px;
  align-items: baseline;
  padding: 3px 0;
  font-size: 12px;
}
.ict small {
  color: var(--mute);
  font-size: 11px;
}
.iplan {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 4px 0;
  font-size: 12px;
  border-top: 1px solid var(--soft);
}
.iplan:first-child {
  border-top: 0;
}
.iplan .k {
  width: 3px;
  height: 14px;
  border-radius: 2px;
  flex: none;
}
.iplan .d {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--mute);
  margin-left: auto;
  flex: none;
}
.iplan.lt {
  color: var(--late);
}
.strip {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}
.strip .kpi {
  padding: 10px 13px;
  border-left-width: 3px;
}
.strip .kpi span {
  font-size: 11px;
  margin-bottom: 2px;
}
.strip .kpi div {
  font-size: 22px;
}
.strip .kpi small {
  font-size: 11px;
  line-height: 1.35;
  margin-top: 2px;
}
.strip .kpi .sub3 {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink);
  margin-top: 3px;
}
.strip .kpi .tgt {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 4px;
  font-size: 11px;
  color: var(--slate);
}
.strip .kpi .tgt input {
  width: 84px;
  font-size: 11px;
  padding: 1px 5px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  font-family: var(--mono);
}
.strip .kpi .tgt .bar {
  flex: 1;
  height: 5px;
  background: var(--soft);
  border-radius: 3px;
  overflow: hidden;
}
.strip .kpi .tgt .bar i {
  display: block;
  height: 100%;
  background: var(--support);
}
.clsbadge {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 20px;
}
.side {
  display: flex;
  gap: 9px;
  margin-top: 10px;
}
.side > div {
  flex: 1;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 9px;
}
@media (max-width: 1380px) {
  .layout {
    grid-template-columns: 232px minmax(0, 1fr) 300px;
  }
}
@media (max-width: 1180px) {
  .layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .rail {
    position: static;
    max-height: none;
  }
  .rail.right {
    order: 3;
  }
  .rail.left {
    order: 1;
  }
  #view {
    order: 2;
  }
}
.toast {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 13px;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
  z-index: 50;
}
.toast.show {
  opacity: 1;
}
.toast.err {
  background: var(--late);
  pointer-events: auto;
  cursor: pointer;
}
.strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
  background: var(--panel);
  border: 1px solid var(--soft);
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 8px;
  font-size: 12px;
}
.strip .sl {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--mute);
  display: block;
}
.strip .rc {
  display: flex;
  gap: 6px;
  align-items: baseline;
  flex-wrap: wrap;
}
.strip .rc .ref {
  font-family: ui-monospace, monospace;
  font-size: 11px;
}
.strip .ent {
  display: block;
}
.strip .ent.past {
  color: var(--late);
}
@media (max-width: 640px) {
  .strip {
    grid-template-columns: 1fr;
  }
}
.msgb.cut {
  max-height: 15em;
  overflow: hidden;
  position: relative;
}
.msgb.cut:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3em;
  background: linear-gradient(transparent, var(--panel, #fff));
}
.msg.int .msgb.cut:after {
  background: linear-gradient(transparent, var(--soft));
}
.more {
  font-size: 11.5px;
  color: var(--slate);
  cursor: pointer;
  text-decoration: underline;
  margin-top: 4px;
  display: inline-block;
}
.att {
  font-size: 11.5px;
  color: var(--slate);
  margin-top: 4px;
}
.att code {
  background: var(--soft);
  padding: 1px 5px;
  border-radius: 4px;
  margin-right: 4px;
}
.mention {
  background: var(--support-t);
  color: var(--support);
  border-radius: 4px;
  padding: 0 4px;
  cursor: help;
}
.casew {
  position: relative;
}
.casex {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: var(--slate);
}
.qf {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 0 0 10px;
}
.qf .chip {
  cursor: pointer;
}
.wo {
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 10px;
  background: var(--soft);
  color: var(--slate);
  white-space: nowrap;
}
.wo.customer {
  background: var(--support-t);
  color: var(--support);
}
.wo.us {
  background: var(--late-t);
  color: var(--late);
}
.wo.development {
  background: var(--dev-t);
  color: var(--dev);
}
.wo.licensing {
  background: var(--fixed-t, var(--soft));
  color: var(--fixed);
}
.wo.confirmation {
  background: var(--soft);
  color: var(--slate);
}
@media (max-width: 640px) {
  select#person {
    max-width: 150px;
  }
}
.clr {
  display: block;
  font-size: 11px;
  color: var(--slate);
  margin-top: 3px;
}
.search {
  position: relative;
}
.sr {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 8px;
  min-width: 320px;
  max-height: 320px;
  overflow: auto;
  z-index: 30;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.sr a {
  display: block;
  padding: 8px 11px;
  font-size: 13px;
  color: var(--ink);
  border-bottom: 1px solid var(--soft);
}
.sr a:last-child {
  border-bottom: 0;
}
.sr a:hover {
  background: var(--soft);
  text-decoration: none;
}
.sr a small {
  color: var(--mute);
  font-family: var(--mono);
  font-size: 11px;
  margin-left: 6px;
}
.pst {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  font-family: var(--mono);
  padding: 1px 7px;
  border-radius: 20px;
  white-space: nowrap;
  margin-left: 6px;
}
.pst.dark {
  background: #ebe3f6;
  color: #3b1f5e;
}
.pst.late {
  background: var(--late-t);
  color: var(--late);
}
.pst.due,
.pst.due_initial_brief {
  background: var(--amber-t);
  color: var(--amber);
}
.pst.current,
.pst.onboarding {
  background: var(--ok-t);
  color: var(--ok);
}
.pst.na {
  background: var(--soft);
  color: var(--mute);
}
.pst.p0 {
  background: var(--late);
  color: #fff;
}
.pst.p1 {
  background: var(--late-t);
  color: var(--late);
}
.pst.p2 {
  background: var(--amber-t);
  color: var(--amber);
}
.pst.p3,
.pst.p4 {
  background: var(--soft);
  color: var(--slate);
}
.connpanel {
  position: fixed;
  top: 54px;
  right: 16px;
  width: 360px;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 14px 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 60;
  display: none;
}
.connpanel.open {
  display: block;
}
.connpanel label {
  display: block;
  font-size: 11.5px;
  color: var(--slate);
  margin: 6px 0 2px;
}
.connpanel input {
  width: 100%;
  font: inherit;
  font-size: 13px;
  padding: 6px 8px;
  border: 1px solid var(--rule);
  border-radius: 7px;
}
.connpanel .st {
  font-size: 12px;
  color: var(--slate);
  margin-top: 8px;
  min-height: 16px;
}
.mback {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 70;
  padding: 12px;
}
.mback > div {
  background: var(--panel);
  border-radius: 12px;
  padding: 18px 20px;
  width: min(560px, 94vw);
  max-height: calc(100vh - 24px);
  overflow: auto;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}
.mback > div.wide {
  width: min(760px, 94vw);
}
.mback h3 {
  margin: 0 0 4px;
  font-size: 15px;
}
.mback textarea {
  width: 100%;
  min-height: 90px;
  font: inherit;
  font-size: 13px;
  padding: 8px;
  border: 1px solid var(--rule);
  border-radius: 7px;
  resize: vertical;
}
.mback .row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 10px;
}
.mback select,
.mback input {
  font: inherit;
  font-size: 13px;
  padding: 6px 8px;
  border: 1px solid var(--rule);
  border-radius: 7px;
  max-width: 100%;
}
.rulebox textarea {
  width: 100%;
  min-height: 220px;
  font-family: var(--mono);
  font-size: 12px;
  padding: 8px;
  border: 1px solid var(--rule);
  border-radius: 7px;
}
.rulebox .changes {
  max-height: 260px;
  overflow: auto;
  border: 1px solid var(--rule);
  border-radius: 8px;
  margin-top: 8px;
  font-size: 12px;
}
.rulebox .changes div {
  padding: 4px 8px;
  border-bottom: 1px solid var(--soft);
}
.kv2 {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 3px 10px;
  font-size: 12.5px;
  margin: 6px 0;
}
.kv2 span {
  color: var(--mute);
}
/* price calculator */
.pcwrap {
  container-type: inline-size;
}
.pcgrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
@container (max-width:620px) {
  .pcgrid {
    grid-template-columns: 1fr;
  }
  #pc_res {
    position: static;
  }
}
@media (max-width: 1100px) {
  .pcgrid {
    grid-template-columns: 1fr;
  }
}
#pc_res {
  position: sticky;
  top: 70px;
}
.pcrow {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin: 7px 0;
}
.pcrow > label:first-child {
  font-size: 12px;
  color: var(--slate);
  flex: 0 0 160px;
}
.pcrow > label.pcck:first-child {
  flex: 0 1 auto;
  color: var(--ink);
  font-size: 12.5px;
}
.pcrow > label:not(.pcck):not(:first-child) {
  font-size: 12px;
  color: var(--slate);
}
.pcsec {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 16px 0 6px;
  padding-top: 10px;
  border-top: 1px solid var(--soft);
}
.pcws {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr));
  gap: 2px 12px;
}
.pcgrid > * {
  min-width: 0;
}
.pclines {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.pcline {
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  cursor: pointer;
  background: var(--panel);
}
.pcline.on {
  border-color: var(--sales);
  background: var(--sales-t);
  font-weight: 600;
}
.pcline small {
  color: var(--mute);
  font-weight: 400;
}
.pcline a {
  margin-left: 4px;
  color: var(--mute);
}
.pclic {
  border: 1px solid var(--soft);
  border-radius: 8px;
  padding: 8px 10px;
  margin: 8px 0;
  cursor: pointer;
}
.pclic.on {
  border-color: var(--sales);
}
.pclh {
  font-size: 13px;
  margin-bottom: 4px;
}
.pclt {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  color: var(--slate);
  border-top: 1px solid var(--soft);
  padding-top: 4px;
  margin-top: 4px;
}
.pclt b {
  color: var(--ink);
}
.acpick {
  position: relative;
  display: inline-block;
  flex: 0 1 360px;
  min-width: 0;
  width: min(360px, 100%);
}
.acpick input {
  width: 100%;
  box-sizing: border-box;
}
.acpick .sr {
  min-width: 100%;
  max-width: min(480px, 92vw);
}
.sr a.on {
  background: var(--soft);
}
@container (max-width:420px) {
  .pcrow > label:first-child {
    flex: 1 1 100%;
  }
}
.pcck {
  font-size: 12.5px;
  color: var(--ink);
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.pcck.dim {
  color: var(--mute);
}
.pcrow .dim {
  font-size: 12px;
}
.pcchip {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  margin-right: 8px;
  font-size: 12px;
  color: var(--slate);
}
.pcform select {
  max-width: 100%;
}
.pcq td {
  font-size: 12.5px;
  padding: 7px 6px;
}
.pcq td .dim {
  font-size: 11px;
}
.pcq td.r {
  text-align: right;
  white-space: nowrap;
}

/* ===== the rebuilt front end (8 Nov 2026): tables, filters, pages ===== */
.back {
  margin: 0 0 6px;
  font-size: 12.5px;
}
.back a {
  color: var(--slate);
}
.tablewrap {
  margin-top: 4px;
}
.ttools {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  margin: -26px 0 4px;
}
.pager {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 12px;
  color: var(--slate);
  margin: 0 0 4px;
}
.cols {
  position: relative;
}
.cols summary {
  list-style: none;
  cursor: pointer;
}
.cols summary::-webkit-details-marker {
  display: none;
}
.colbox {
  position: absolute;
  right: 0;
  top: 28px;
  z-index: 15;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 10px 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 14px;
  min-width: 260px;
}
.colbox label {
  font-size: 12.5px;
  white-space: nowrap;
  display: flex;
  gap: 6px;
  align-items: center;
}
th[data-sort] {
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
th[data-sort]:hover {
  color: var(--ink);
}
th.on {
  color: var(--ink);
}
tr.tot td {
  font-weight: 600;
  border-top: 2px solid var(--rule);
  background: var(--paper);
}
tr.on td {
  background: var(--sales-t);
}
.sub2 {
  display: block;
  font-size: 11.5px;
  color: var(--mute);
  font-family: var(--sans);
  white-space: normal;
}
.sub3 {
  display: block;
  font-size: 10.5px;
  color: var(--mute);
  font-family: var(--sans);
}
.filters {
  margin: 6px 0 4px;
}
.filters label {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.chk {
  font-size: 12.5px;
  display: inline-flex;
  gap: 5px;
  align-items: center;
  white-space: nowrap;
}
.radio {
  display: block;
  margin: 3px 0;
  font-size: 13px;
}
.scopebar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin: 4px 0 8px;
}
.seg a {
  font: inherit;
  font-size: 12.5px;
  color: var(--slate);
  padding: 5px 11px;
  border-radius: 7px;
  text-decoration: none;
  cursor: pointer;
}
.seg a.on {
  background: var(--panel);
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.seg.wrap {
  flex-wrap: wrap;
}
.chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.chip.on {
  background: var(--ink);
  color: #fff;
}
.chip.soft a {
  color: inherit;
}
.btn.off {
  opacity: 0.45;
  pointer-events: none;
}
.pill.outline {
  background: transparent;
  border: 1px solid currentColor;
}
.pill.tone-late {
  background: var(--late-t);
  color: var(--late);
}
.pill.tone-ok {
  background: var(--ok-t);
  color: var(--ok);
}
.pill.tone-mute {
  background: var(--soft);
  color: var(--mute);
}
.pill.tone-dev {
  background: var(--dev-t);
  color: var(--dev);
}
.pill.tone-amber {
  background: var(--amber-t);
  color: var(--amber);
}
.pill.tone-clock {
  background: var(--ok-t);
  color: var(--ok);
}
.pill.tone-risk {
  background: var(--late-t);
  color: var(--late);
}
.pill.tone-proof {
  background: var(--cust-t);
  color: var(--cust);
}
.pill.tone-winback {
  background: var(--amber-t);
  color: var(--amber);
}
.tag.late {
  background: var(--late-t);
  color: var(--late);
}
.tag.amber {
  background: var(--amber-t);
  color: var(--amber);
}
.tag.res {
  background: #fff1d6;
  color: #8a5a00;
}
.tag.mute {
  background: var(--soft);
  color: var(--mute);
}
.stale {
  color: var(--late);
  font-weight: 600;
}
.dimmed {
  opacity: 0.55;
}
.mono {
  font-family: var(--mono);
}
.foot {
  margin: 24px 0 0;
  font-size: 11.5px;
  color: var(--mute);
  border-top: 1px solid var(--rule);
  padding-top: 10px;
}
.panel {
  padding: 8px 4px;
  background: var(--paper);
  border-radius: 8px;
  margin: 6px 0;
}
.qf {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
  margin: 6px 0;
}
.legend {
  display: flex;
  gap: 14px;
  font-size: 12px;
  margin: 2px 0 8px;
  flex-wrap: wrap;
}
.legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  vertical-align: -1px;
  margin-right: 4px;
}
.meter {
  height: 10px;
  border-radius: 5px;
  background: var(--soft);
  overflow: hidden;
  margin: 6px 0 10px;
}
.meter div {
  height: 100%;
  background: var(--support);
}
.bar3 {
  display: flex;
  flex: 1;
  min-width: 80px;
  height: 10px;
  border-radius: 3px;
  overflow: hidden;
  background: var(--soft);
}
.vgroup {
  border-top: 1px solid var(--rule);
  padding: 6px 0;
}
.vrow {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ladder {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin: 4px 0 12px;
}
.ladder span {
  font-size: 11px;
  padding: 3px 7px;
  border-radius: 12px;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--mute);
}
.ladder span.done {
  background: var(--soft);
  color: var(--slate);
}
.ladder span.on {
  background: var(--sales);
  border-color: var(--sales);
  color: #fff;
}
.classes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 6px;
  margin-bottom: 8px;
}
.classes > div {
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 11.5px;
}
.three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 16px;
}
@media (max-width: 900px) {
  .three {
    grid-template-columns: 1fr 1fr;
  }
}
.fld label {
  display: block;
  font-size: 11.5px;
  color: var(--slate);
  margin-bottom: 2px;
}
.fld input,
.fld select,
.fld textarea {
  width: 100%;
  box-sizing: border-box;
}
.fld.wide {
  grid-column: 1/-1;
}
.hint2 {
  font-size: 11px;
  color: var(--mute);
  margin-top: 2px;
}
.prompts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px 16px;
}
fieldset.group {
  grid-column: 1/-1;
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 8px 12px 10px;
  margin: 0;
}
fieldset.group legend {
  font-size: 12px;
  color: var(--slate);
  padding: 0 6px;
}
.rltab.edit input {
  width: 100%;
  box-sizing: border-box;
  font-size: 12px;
  padding: 3px 6px;
}
.rlcard h2 .btn {
  margin-left: 8px;
}
h2.area {
  margin: 18px 0 6px;
}
.changes {
  margin-top: 8px;
  font-size: 12px;
  max-height: 260px;
  overflow: auto;
  border-top: 1px solid var(--rule);
  padding-top: 6px;
}
.qopts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.qopt {
  flex: 1;
  min-width: 230px;
  margin: 0;
}
.qopt.fav {
  border: 2px solid var(--sales);
}
.pcgrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) {
  .pcgrid {
    grid-template-columns: 1fr;
  }
}
.pclic {
  cursor: pointer;
}
.pclic.on {
  outline: 2px solid var(--sales-t);
}
.pcline {
  cursor: pointer;
}
.banner.late {
  background: var(--late-t);
  color: var(--late);
}
.strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px 18px;
  background: var(--paper);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 10px;
  font-size: 12.5px;
}
.strip .sl {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 2px;
}
.strip .rc {
  display: flex;
  gap: 8px;
  align-items: baseline;
  font-size: 12px;
}
.strip .ent {
  display: block;
  font-size: 12px;
}
.strip .ent.past {
  color: var(--late);
}
.casew .lbl {
  font-size: 11px;
  color: var(--slate);
  margin: 12px 0 5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}
.casew .lbl .c {
  font-weight: 400;
  color: var(--mute);
}
.panes {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 16px;
}
.pane.team {
  background: var(--paper);
  border-radius: 10px;
  padding: 8px 12px;
}
.msga {
  margin-top: 4px;
  display: flex;
  gap: 6px;
}
.msgb.cut {
  max-height: 200px;
  overflow: hidden;
  position: relative;
}
.more {
  font-size: 11.5px;
}
.comp textarea {
  width: 100%;
  min-height: 140px;
  box-sizing: border-box;
  margin: 6px 0;
}
.quoted summary {
  font-size: 12px;
  color: var(--slate);
  cursor: pointer;
}
.quoted pre {
  font-size: 11.5px;
  white-space: pre-wrap;
  max-height: 220px;
  overflow: auto;
  background: var(--panel);
  padding: 8px;
  border-radius: 6px;
}
.wo {
  font-size: 11px;
  font-family: var(--mono);
  padding: 1px 6px;
  border-radius: 9px;
  background: var(--soft);
}
.wo.us {
  background: var(--cust-t);
  color: var(--cust);
}
.wo.customer {
  background: var(--soft);
  color: var(--slate);
}
.modal {
  max-width: 720px;
}
.area {
  font-size: 15px;
}
@media (max-width: 760px) {
  .ttools {
    margin: 0 0 4px;
    justify-content: flex-start;
  }
  .strip {
    grid-template-columns: 1fr;
  }
}
.pill.tone-accent {
  background: var(--sales-t);
  color: var(--sales);
}
.mback > div.modal {
  width: min(720px, 94vw);
}

/* the account peek (8 Nov 2026) */
.layout.with-peek {
  grid-template-columns: 232px minmax(0, 1fr) 340px;
}
.peek {
  position: sticky;
  top: 58px;
  max-height: calc(100vh - 70px);
  overflow: auto;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 14px 16px 12px;
  font-size: 13px;
}
.peek .pkhead {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
}
.peek .pkhead b {
  font-size: 15px;
}
.peek h4 {
  margin: 14px 0 6px;
  font-size: 11px;
  color: var(--slate);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}
.peek .pfs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
}
.peek .pf span {
  display: block;
  font-size: 11px;
  color: var(--slate);
}
.peek .pf div {
  font-size: 13px;
}
.peek .pkfoot {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 14px 0 0;
}
.peek .it {
  padding: 5px 0;
}
tr.pk {
  cursor: pointer;
}
tr.pk:hover td {
  background: var(--paper);
}
tr.pk-on td {
  background: var(--amber-t);
}
@media (max-width: 1200px) {
  .layout.with-peek {
    grid-template-columns: 232px minmax(0, 1fr);
  }
  .peek {
    position: fixed;
    right: 12px;
    top: 70px;
    width: 340px;
    z-index: 30;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  }
}

/* the LAER board (8 Nov 2026) */
.laer {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
@media (max-width: 1100px) {
  .laer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.lcol {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 10px;
}
.lhead {
  border-top: 3px solid var(--support);
  padding: 6px 4px 4px;
  margin-bottom: 6px;
}
.lhead h3 {
  margin: 0;
  font-size: 14px;
  display: inline;
}
.lhead h3 .c {
  font-size: 12px;
  color: var(--mute);
  font-weight: 400;
  margin-left: 4px;
}
.lhead .m {
  float: right;
  font-size: 12px;
}
.lhead .hint {
  margin: 4px 0 0;
  font-size: 11.5px;
}
.lcard {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 9px;
  padding: 8px 10px;
  margin-bottom: 8px;
  cursor: pointer;
}
.lcard:hover {
  border-color: var(--slate);
}
.lcard.pk-on {
  border-color: var(--amber);
  background: var(--amber-t);
}
.lrow {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
}
.lrow b {
  font-weight: 600;
}
.lval {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--slate);
  white-space: nowrap;
}
.lsub {
  font-size: 12px;
  color: var(--slate);
  margin-top: 3px;
}
.lsub.late {
  color: var(--late);
}
.lbar {
  display: inline-block;
  width: 70px;
  height: 6px;
  background: var(--soft);
  border-radius: 3px;
  vertical-align: middle;
  overflow: hidden;
  margin-right: 4px;
}
.lbar span {
  display: block;
  height: 100%;
}
.laer .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 5px;
  vertical-align: middle;
}
.who .hsw {
  margin-left: auto;
}
.seg.hsw a {
  font-size: 12.5px;
  padding: 5px 11px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--slate);
}
.seg.hsw a.on {
  background: var(--panel);
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.grid.g6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
@media (max-width: 1100px) {
  .grid.g6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ------------------------------------------------------------------ utilities
 * One class per declaration, used where the views formerly carried an inline style (FE
 * quality pass, 8 Nov 2026). !important so a utility wins exactly where the inline style
 * did; a screen's own rules stay as they are. Add a utility here rather than a style="…".
 */
.ai-center {
  align-items: center !important;
}
.bc-amber {
  border-color: var(--amber) !important;
}
.bc-late {
  border-color: var(--late) !important;
}
.bc-sales {
  border-color: var(--sales) !important;
}
.bg-amber {
  background: var(--amber) !important;
}
.bg-cust {
  background: var(--cust) !important;
}
.bg-late {
  background: var(--late) !important;
}
.bg-mute {
  background: var(--mute) !important;
}
.bg-ok {
  background: var(--ok) !important;
}
.bg-panel {
  background: var(--panel) !important;
}
.bg-rule {
  background: var(--rule) !important;
}
.bg-sales {
  background: var(--sales) !important;
}
.bg-support-t {
  background: var(--support-t) !important;
}
.bl-late {
  border-left: 3px solid var(--late) !important;
}
.block {
  display: block !important;
}
.bt-soft {
  border-top: 1px solid var(--soft) !important;
}
.c-amber {
  color: var(--amber) !important;
}
.c-amber-deep {
  color: #8a5a00 !important;
}
.c-inherit {
  color: inherit !important;
}
.c-ink {
  color: var(--ink) !important;
}
.c-late {
  color: var(--late) !important;
}
.c-ok {
  color: var(--ok) !important;
}
.c-sales {
  color: var(--sales) !important;
}
.c-support {
  color: var(--support) !important;
}
.fc-sales {
  --fc: var(--sales) !important;
}
.flex-1-1-200 {
  flex: 1 1 200px !important;
}
.flex-1-1-220 {
  flex: 1 1 220px !important;
}
.flex1 {
  flex: 1 !important;
}
.float-right {
  float: right !important;
}
.fs-11 {
  font-size: 11px !important;
}
.fs-11-5 {
  font-size: 11.5px !important;
}
.fs-12 {
  font-size: 12px !important;
}
.fs-12-5 {
  font-size: 12.5px !important;
}
.fs-18 {
  font-size: 18px !important;
}
.fw-400 {
  font-weight: 400 !important;
}
.fw-600 {
  font-weight: 600 !important;
}
.gap-10 {
  gap: 10px !important;
}
.gap-14 {
  gap: 14px !important;
}
.gap-4 {
  gap: 4px !important;
}
.gap-6 {
  gap: 6px !important;
}
.gap-8 {
  gap: 8px !important;
}
.m-0-0-10 {
  margin: 0 0 10px !important;
}
.m-0-0-14 {
  margin: 0 0 14px !important;
}
.m-0-0-6 {
  margin: 0 0 6px !important;
}
.m-0-0-8 {
  margin: 0 0 8px !important;
}
.m-1 {
  margin: 1px !important;
}
.m-10-0-0 {
  margin: 10px 0 0 !important;
}
.m-10-0-0-18 {
  margin: 10px 0 0 18px !important;
}
.m-12-0-0 {
  margin: 12px 0 0 !important;
}
.m-2-0-6 {
  margin: 2px 0 6px !important;
}
.m-4-0-0 {
  margin: 4px 0 0 !important;
}
.m-6-0 {
  margin: 6px 0 !important;
}
.m-6-0-0 {
  margin: 6px 0 0 !important;
}
.m-6-0-0-16 {
  margin: 6px 0 0 16px !important;
}
.m-8-0-0 {
  margin: 8px 0 0 !important;
}
.m-8-0-4 {
  margin: 8px 0 4px !important;
}
.m0 {
  margin: 0 !important;
}
.maxh-220 {
  max-height: 220px !important;
}
.maxh-320 {
  max-height: 320px !important;
}
.maxw-220 {
  max-width: 220px !important;
}
.maxw-480 {
  max-width: 480px !important;
}
.maxw-640 {
  max-width: 640px !important;
}
.mb-4 {
  margin-bottom: 4px !important;
}
.mb-8 {
  margin-bottom: 8px !important;
}
.minh-60 {
  min-height: 60px !important;
}
.minw-0 {
  min-width: 0 !important;
}
.minw-160 {
  min-width: 160px !important;
}
.minw-180 {
  min-width: 180px !important;
}
.minw-200 {
  min-width: 200px !important;
}
.minw-220 {
  min-width: 220px !important;
}
.minw-240 {
  min-width: 240px !important;
}
.minw-74 {
  min-width: 74px !important;
}
.ml-12 {
  margin-left: 12px !important;
}
.ml-auto {
  margin-left: auto !important;
}
.mono {
  font-family: var(--mono) !important;
}
.mt-0 {
  margin-top: 0 !important;
}
.mt-10 {
  margin-top: 10px !important;
}
.mt-12 {
  margin-top: 12px !important;
}
.mt-14 {
  margin-top: 14px !important;
}
.mt-3 {
  margin-top: 3px !important;
}
.mt-4 {
  margin-top: 4px !important;
}
.mt-6 {
  margin-top: 6px !important;
}
.mt-8 {
  margin-top: 8px !important;
}
.nowrap {
  white-space: nowrap !important;
}
.p0 {
  padding: 0 !important;
}
.preline {
  white-space: pre-line !important;
}
.prewrap {
  white-space: pre-wrap !important;
}
.pt-10 {
  padding-top: 10px !important;
}
.pt-9 {
  padding-top: 9px !important;
}
.ta-right {
  text-align: right !important;
}
.tt-none {
  text-transform: none !important;
}
.w-130 {
  width: 130px !important;
}
.w-140 {
  width: 140px !important;
}
.w-150 {
  width: 150px !important;
}
.w-28 {
  width: 28px !important;
}
.w-30p {
  width: 30% !important;
}
.w-64 {
  width: 64px !important;
}
.w-70 {
  width: 70px !important;
}
.w-full {
  width: 100% !important;
}
.wrap {
  flex-wrap: wrap !important;
}
