/* Jz Scales portal (client): Home (home5.js). Stage 4 surfaces and type; the map hero (clienthome.css) is unchanged. */
.h5>*+*{margin-top:16px}
/* needs your attention: first, compact, every row a 44px+ target */
.h5-todo{border:1px solid #1E2026;border-radius:16px;background:radial-gradient(520px 180px at 0 0,rgba(255,70,54,.07),transparent 70%),linear-gradient(180deg,#14151A,#101115);padding:14px 8px 8px}
.h5-todo>header{display:flex;align-items:baseline;justify-content:space-between;padding:0 10px 6px}
.h5-todo h2{margin:0;font-size:15px;font-weight:800;color:#F3F4F6}.h5-todo>header span{font-size:13px;color:#A2A7AD}
.h5-todo ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:2px 8px}
.h5-todo a{display:flex;align-items:center;gap:12px;min-height:56px;padding:8px 10px;border-radius:12px;color:inherit;text-decoration:none}
.h5-todo a:hover{background:rgba(255,255,255,.03)}
.h5-ic{flex:none;width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#1A1C21;border:1px solid #23262C;color:#C9CDD3}.h5-ic svg{width:17px;height:17px}
.h5-todo a.hot .h5-ic{color:#FF8A7A;border-color:rgba(255,70,54,.35);background:rgba(255,70,54,.08)}
.h5-t{flex:1;min-width:0}.h5-t b{display:block;font-size:14.5px;color:#F3F4F6;overflow-wrap:anywhere}.h5-t small{display:block;margin-top:1px;font-size:13px;color:#A2A7AD;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.h5-go{color:#6E737C;font-size:18px}
.h5-todo.clear{display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px;padding:14px 16px}.h5-todo.clear b{color:#F3F4F6;font-size:14.5px}.h5-todo.clear .mut{font-size:13px;color:#A2A7AD}
.h5-ok{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:rgba(61,214,140,.12);color:#3DD68C;font-size:13px;font-weight:800}
/* bill and latest */
.h5-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:16px}
.h5-p{border:1px solid #1E2026;border-radius:16px;background:linear-gradient(180deg,#14151A,#101115);padding:16px 18px}
.h5-p>header{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:8px}.h5-p h2{margin:0;font-size:15px;font-weight:800;color:#F3F4F6}
.h5-p>header a,.h5-link{font-size:13px;font-weight:700;color:#C9CDD3;text-decoration:underline;text-decoration-color:#3A3E46;text-underline-offset:3px}
.h5-big{font-size:32px;font-weight:800;letter-spacing:-.025em;color:#F3F4F6;font-variant-numeric:tabular-nums}.h5-sub{margin:2px 0 10px;font-size:13.5px;color:#A2A7AD}
.h5-bill dl{margin:0;border-top:1px solid #1A1C21}.h5-bill dl>div{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid #1A1C21;font-size:13.5px}.h5-bill dt{color:#A2A7AD}.h5-bill dd{margin:0;color:#E6E8EB;font-weight:700;font-variant-numeric:tabular-nums}
.h5-news ul{list-style:none;margin:0;padding:0}.h5-news li{display:grid;grid-template-columns:1fr auto;gap:2px 12px;padding:10px 0;border-top:1px solid #1A1C21}.h5-news li:first-child{border-top:0}
.h5-news b{font-size:14px;color:#F3F4F6}.h5-news span{grid-column:1;font-size:13px;color:#A2A7AD}.h5-news time{grid-row:1;grid-column:2;font-size:12.5px;color:#8E939A;white-space:nowrap}
/* everything else: labelled expanders with the key figure in the closed line */
.h5-more{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;align-items:start}
.h5-x{border:1px solid #1E2026;border-radius:14px;background:linear-gradient(180deg,#13141A,#101115);overflow:hidden}
.h5-x>summary{list-style:none;display:flex;align-items:center;gap:12px;min-height:60px;padding:10px 16px;cursor:pointer;border-radius:14px}
.h5-x>summary::-webkit-details-marker{display:none}.h5-x>summary:hover{background:rgba(255,255,255,.025)}
.h5-xt{flex:1;min-width:0}.h5-xt b{display:block;font-size:14.5px;color:#F3F4F6}.h5-xl{display:block;margin-top:2px;font-size:13px;color:#A2A7AD;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.h5-chev{width:8px;height:8px;border-right:1.8px solid #8E939A;border-bottom:1.8px solid #8E939A;transform:rotate(45deg) translateY(-2px);transition:transform 240ms cubic-bezier(.2,.9,.3,1)}
.h5-x[open] .h5-chev{transform:rotate(-135deg) translateY(-1px)}
.h5-xb{padding:2px 16px 16px;font-size:14px;color:#C9CDD3}.h5-xb .mut{color:#A2A7AD;font-size:13.5px}
.h5-nums{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:12px;margin:4px 0 8px}.h5-nums b{display:block;font-size:22px;font-weight:800;color:#F3F4F6;font-variant-numeric:tabular-nums}.h5-nums span{font-size:13px;color:#A2A7AD}
.h5-scroll{overflow-x:auto;margin:0 -16px;padding:0 16px}.h5-t{width:100%;border-collapse:collapse;font-size:13.5px;font-variant-numeric:tabular-nums}
.h5-t th,.h5-t td{padding:8px 10px;border-top:1px solid #1A1C21;text-align:right;white-space:nowrap;color:#C9CDD3}.h5-t th:first-child,.h5-t td:first-child{text-align:left}.h5-t thead th{border-top:0;color:#8E939A;font-weight:600}.h5-t tbody th{color:#E6E8EB;font-weight:600}.h5-t small{color:#8E939A}
.h5-steps{list-style:none;margin:4px 0 10px;padding:0}.h5-steps li{display:flex;align-items:center;gap:10px;padding:7px 0;font-size:14px}.h5-steps i{width:9px;height:9px;border-radius:50%;background:#3A3E46}.h5-steps li.done i{background:#3DD68C}.h5-steps li.active i{background:var(--accent)}.h5-steps small{margin-left:auto;color:#8E939A;font-size:12.5px}
.h5-dl{margin:0}.h5-dl>div{display:grid;grid-template-columns:minmax(110px,40%) 1fr;gap:10px;padding:8px 0;border-top:1px solid #1A1C21;font-size:13.5px}.h5-dl>div:first-child{border-top:0}.h5-dl dt{color:#A2A7AD}.h5-dl dd{margin:0;color:#E6E8EB}
.h5-ads{list-style:none;margin:0;padding:0}.h5-ads li{padding:8px 0;border-top:1px solid #1A1C21}.h5-ads li:first-child{border-top:0}.h5-ads a{display:flex;justify-content:space-between;gap:10px;color:#F3F4F6;text-decoration:none;font-weight:700;font-size:14px}.h5-ads small{font-size:12.5px;color:#8E939A}
.h5-pill{font-style:normal;font-size:12px;font-weight:700;padding:2px 8px;border-radius:99px;background:#1A1C21;color:#C9CDD3}.h5-pill.q{color:#3DD68C;background:rgba(61,214,140,.1)}.h5-pill.n{color:#F2C46B;background:rgba(255,194,61,.1)}
.h5-refer{grid-column:1/-1;display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 16px;border:1px solid #1E2026;border-radius:14px;background:#101115}.h5-refer p{flex:1;min-width:220px;margin:0;font-size:13.5px;color:#C9CDD3}.h5-refer b{color:#F3F4F6}
@media(max-width:900px){.h5-row,.h5-more{grid-template-columns:minmax(0,1fr)}}
@media(max-width:640px){
  .h5>*+*{margin-top:12px}
  .h5-todo{padding:12px 4px 4px}.h5-todo ul{grid-template-columns:1fr}
  .h5-p{padding:14px}.h5-big{font-size:28px}
  .h5-x>summary{padding:10px 14px}.h5-xb{padding:2px 14px 14px}
}

/* the old three-column area under the map now holds one row of two panels */
.h5 .ch-below{display:block;margin-top:16px}
