/* Electro Scales Customer Portal — change the variables to match your brand. */
.es-portal {
	--es-primary: #0b3a66;
	--es-primary-ink: #fff;
	--es-accent: #f2a900;
	--es-ink: #17212b;
	--es-muted: #5b6875;
	--es-line: #dfe5eb;
	--es-bg: #f5f7f9;
	--es-radius: 10px;
	font-family: inherit;
	color: var(--es-ink);
	max-width: 1120px;
	margin: 0 auto;
	box-sizing: border-box;
}
.es-portal *, .es-portal *::before, .es-portal *::after { box-sizing: border-box; }
.es-portal h2 { margin: 4px 0 8px; font-size: clamp(1.4rem, 2.5vw, 2rem); line-height: 1.2; }
.es-eyebrow { display: inline-block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--es-accent); }

/* Buttons */
.es-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 8px; padding: 11px 18px; font-weight: 600; font-size: .95rem; text-decoration: none !important; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s; line-height: 1.1; }
.es-btn--primary { background: var(--es-primary); color: var(--es-primary-ink) !important; }
.es-btn--primary:hover { background: #082c4e; }
.es-btn--ghost { background: #fff; color: var(--es-primary) !important; border-color: var(--es-line); }
.es-btn--ghost:hover { border-color: var(--es-primary); }
.es-btn--sm { padding: 7px 12px; font-size: .85rem; }

/* Login */
.es-login { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 32px 0; }
.es-login__intro p { color: var(--es-muted); font-size: 1.05rem; }
.es-checks { list-style: none; padding: 0; margin: 18px 0 0; }
.es-checks li { padding: 6px 0 6px 28px; position: relative; }
.es-checks li::before { content: ""; position: absolute; left: 0; top: 10px; width: 16px; height: 16px; border-radius: 50%; background: var(--es-accent); box-shadow: inset 0 0 0 4px #fff4d6; }
.es-login__form { background: #fff; border: 1px solid var(--es-line); border-radius: var(--es-radius); padding: 28px; box-shadow: 0 10px 30px rgba(11, 58, 102, .08); display: flex; flex-direction: column; }
.es-login__form label { font-weight: 600; font-size: .9rem; margin: 10px 0 6px; }
.es-login__form input[type=text], .es-login__form input[type=password] { width: 100%; padding: 12px 14px; border: 1px solid var(--es-line); border-radius: 8px; font-size: 1rem; background: #fff; }
.es-login__form input:focus { outline: 2px solid var(--es-primary); outline-offset: 1px; }
.es-login__form .es-btn { margin-top: 18px; width: 100%; }
.es-help { font-size: .85rem; color: var(--es-muted); margin: 14px 0 0; }
.es-alert { background: #fdecea; color: #8a1c13; border: 1px solid #f5c2bd; padding: 10px 12px; border-radius: 8px; font-size: .9rem; margin-bottom: 6px; }

/* Portal */
.es-bar { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 24px 0 18px; border-bottom: 1px solid var(--es-line); margin-bottom: 20px; }
.es-code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .85rem; color: var(--es-muted); background: var(--es-bg); padding: 2px 8px; border-radius: 6px; }
.es-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; }
.es-folders { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 20px; }
.es-folders a { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px 10px 38px; border-radius: 8px; color: var(--es-ink) !important; text-decoration: none !important; position: relative; font-size: .95rem; }
.es-folders a::before { content: ""; position: absolute; left: 12px; top: 50%; width: 16px; height: 12px; margin-top: -6px; border-radius: 2px; background: var(--es-muted); opacity: .35; clip-path: polygon(0 0, 40% 0, 50% 20%, 100% 20%, 100% 100%, 0 100%); }
.es-folders a:hover { background: var(--es-bg); }
.es-folders a.is-active { background: var(--es-primary); color: #fff !important; }
.es-folders a.is-active::before { background: var(--es-accent); opacity: 1; }
.es-folders a.is-empty:not(.is-active) { color: var(--es-muted) !important; }
.es-folders b { font-weight: 600; font-size: .8rem; min-width: 24px; text-align: center; padding: 1px 6px; border-radius: 99px; background: rgba(0,0,0,.06); }
.es-folders a.is-active b { background: rgba(255,255,255,.2); }

.es-files__tools { margin-bottom: 12px; }
.es-search { width: 100%; padding: 11px 14px; border: 1px solid var(--es-line); border-radius: 8px; font-size: .95rem; }
.es-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--es-line); border-radius: var(--es-radius); background: #fff; overflow: hidden; }
.es-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-top: 1px solid var(--es-line); margin: 0; }
.es-item:first-child { border-top: 0; }
.es-item[hidden] { display: none; }
.es-item:hover { background: #fafbfc; }
.es-ext { flex: 0 0 44px; height: 52px; border-radius: 6px; background: #e8eef4; color: var(--es-primary); font-size: .7rem; font-weight: 800; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px; position: relative; }
.es-ext--pdf { background: #fde8e6; color: #b42318; }
.es-item__main { flex: 1; min-width: 0; }
.es-item__title { font-weight: 600; color: var(--es-ink) !important; text-decoration: none !important; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.es-item__title:hover { color: var(--es-primary) !important; text-decoration: underline !important; }
.es-item__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .82rem; color: var(--es-muted); margin-top: 3px; }
.es-new { background: var(--es-accent); color: #3b2a00; font-weight: 700; padding: 0 7px; border-radius: 99px; }
.es-item__actions { display: flex; gap: 8px; flex-shrink: 0; }
.es-empty { padding: 40px 20px; text-align: center; color: var(--es-muted); border: 1px dashed var(--es-line); border-radius: var(--es-radius); background: #fff; }
.es-empty--filter { margin-top: 12px; }
.es-empty[hidden] { display: none; }

@media (max-width: 820px) {
	.es-login { grid-template-columns: 1fr; gap: 24px; }
	.es-layout { grid-template-columns: 1fr; }
	.es-folders { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 6px; }
	.es-folders a { white-space: nowrap; flex-shrink: 0; }
	.es-item { flex-wrap: wrap; }
	.es-item__actions { width: 100%; padding-left: 58px; }
}

/* ===== v2 portal: brushed metal ===== */
.es-portal:has(.esp) { max-width: 1280px; }
.esp { --a: #C2410C; --ink: #1D2329; --mut: #4A535C; --line: #C7CDD3; font-family: Inter, system-ui, sans-serif; font-size: 16px; color: var(--ink); background: #E9ECEF; border-radius: 16px; overflow: hidden; }
.esp a { color: #1F4E8C; }
.esp h1, .esp h2, .esp h3 { font-family: Barlow, Inter, sans-serif; font-weight: 700; margin: 0; color: inherit; }
.esp-wrap { max-width: 1240px; margin: 0 auto; padding-left: clamp(16px, 3vw, 32px); padding-right: clamp(16px, 3vw, 32px); }
.esp-metal { background: repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, rgba(0,0,0,.04) 1px 3px), linear-gradient(180deg, #5B636B 0%, #3A4047 55%, #2B3036 100%); color: #F4F6F8; }
.esp-plate { background: repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 1px, rgba(0,0,0,.025) 1px 3px), linear-gradient(180deg, #F7F8F9, #E3E6E9); border: 1px solid var(--line); border-radius: 14px; }
.esp-mono { font-family: "JetBrains Mono", ui-monospace, monospace; }
.esp-head { border-bottom: 3px solid var(--a); }
.esp-head__row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding-top: 18px; padding-bottom: 14px; }
.esp-brand { display: flex; align-items: center; gap: 12px; flex: 1 1 240px; }
.esp-brand__mark { width: 44px; height: 44px; border-radius: 10px; background: var(--a); display: grid; place-items: center; color: #fff; }
.esp-brand b { display: block; font-family: Barlow, sans-serif; font-size: 22px; letter-spacing: .02em; }
.esp-brand small, .esp-who small { display: block; font-size: 13px; color: #C9CFD5; }
.esp-site { display: flex; flex-direction: column; gap: 4px; }
.esp-site label { font-size: 12px; font-weight: 600; letter-spacing: .06em; color: #C9CFD5; text-transform: uppercase; }
.esp-site select { font: 500 16px Inter, sans-serif; min-height: 44px; padding: 8px 12px; border-radius: 8px; border: 1px solid #77808A; background: #20252A; color: #fff; min-width: 200px; }
.esp-who { display: flex; align-items: center; gap: 12px; text-align: right; }
.esp-tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.esp .esp-tabs a { color: #C9CFD5; text-decoration: none; padding: 12px 18px; font-weight: 500; border-bottom: 3px solid transparent; margin-bottom: -3px; }
.esp .esp-tabs a.is-on { color: #fff; font-weight: 600; border-bottom-color: var(--a); }
.esp .esp-tabs a:hover { color: #fff; }
.esp-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 10px; font-weight: 600; text-decoration: none !important; border: 1px solid transparent; cursor: pointer; font-size: 15px; }
.esp .esp-btn--ghost { color: #fff; border-color: #77808A; background: transparent; }
.esp .esp-btn--ghost-dark { color: var(--ink); border-color: var(--line); background: #fff; }
.esp .esp-btn--accent { background: var(--a); color: #fff; }
.esp-main { padding-top: 28px; padding-bottom: 28px; display: flex; flex-direction: column; gap: 24px; }
.esp-hello { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.esp-hello h1 { font-size: clamp(26px, 3vw, 34px); }
.esp-hello p { margin: 6px 0 0; color: var(--mut); font-size: 17px; }
.esp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.esp-stats .esp-plate { padding: 18px 20px; }
.esp-stats small { display: block; font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--mut); }
.esp-stats b { display: block; font-family: Barlow, sans-serif; font-size: 44px; line-height: 1.15; margin-top: 4px; }
.esp-stats b.is-ok { color: #1E6B3A; } .esp-stats b.is-warn { color: #8A4B00; }
.esp-stats span { font-size: 14px; color: var(--mut); }
.esp-split { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.esp-split__main { flex: 999 1 540px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.esp-split__side { flex: 1 1 340px; min-width: 0; }
.esp-split h2 { font-size: 22px; }
.esp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.esp .esp-scale { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--ink); transition: box-shadow .15s, transform .15s; }
.esp .esp-scale:hover { box-shadow: 0 6px 18px rgba(0,0,0,.12); transform: translateY(-1px); }
.esp-scale__top { display: flex; justify-content: space-between; padding: 14px 18px; font-family: Barlow, sans-serif; font-weight: 600; font-size: 18px; }
.esp-scale__body { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px; }
.esp-kv { display: flex; justify-content: space-between; gap: 8px; } .esp-kv span { color: var(--mut); }
.esp-badge { align-self: flex-start; font-weight: 700; font-size: 14px; padding: 5px 12px; border-radius: 99px; white-space: nowrap; }
.esp-badge::before { content: "● "; }
.esp-badge--ok { background: #DDF1E3; color: #1E6B3A; }
.esp-badge--warn { background: #FDECC8; color: #7A4300; }
.esp-badge--bad { background: #FBDADA; color: #9B1C1C; }
.esp-badge--none { background: #E3E6E9; color: #3A4047; }
.esp-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.esp-card__head { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid #E1E5E9; }
.esp-year { font-size: 20px; color: #3A4047; padding: 16px 20px 4px; }
.esp-docs { list-style: none; margin: 0; padding: 0; }
.esp-doc { display: flex; align-items: center; gap: 14px; padding: 12px 20px; border-top: 1px solid #EEF1F3; }
.esp-doc__tag { width: 42px; height: 42px; flex: none; border-radius: 10px; display: grid; place-items: center; font-weight: 700; font-size: 12px; }
.esp-doc__tag--cal { background: #DCE7F5; color: #1F4E8C; } .esp-doc__tag--inv { background: #FBE3D6; color: #8A2E07; } .esp-doc__tag--quote { background: #E6E1F5; color: #4B3A8C; }
.esp-doc__main { flex: 1; min-width: 0; }
.esp .esp-doc__title { display: block; font-weight: 600; color: var(--ink); text-decoration: none; }
.esp .esp-doc__title:hover { text-decoration: underline; }
.esp-doc__meta { font-size: 14px; color: var(--mut); }
.esp-new { background: var(--a); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 99px; margin-left: 4px; }
.esp .esp-iconbtn { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); color: var(--ink); }
.esp-empty { color: var(--mut); padding: 20px; margin: 0; }
.esp-dashed { border: 2px dashed #B6BDC4; border-radius: 14px; padding: 22px; color: var(--mut); display: flex; flex-direction: column; gap: 6px; } .esp-dashed b { color: var(--ink); }
.esp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.esp .esp-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 99px; border: 1px solid #B6BDC4; background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.esp .esp-chip.is-on { background: #2B3036; border-color: #2B3036; color: #fff; }
.esp-filters { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.esp-search { font: 16px Inter, sans-serif; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; min-width: min(320px, 100%); }
.esp-back { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; min-height: 44px; align-self: flex-start; }
.esp-hero { overflow: hidden; }
.esp-hero__top { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; padding: 22px 24px; }
.esp-hero__top > div { flex: 1 1 260px; } .esp-hero__top h1 { font-size: 30px; } .esp-hero__top p { margin: 2px 0 0; color: #D5DAE0; }
.esp-hero__icon { width: 56px; height: 56px; border-radius: 12px; background: rgba(255,255,255,.12); display: grid; place-items: center; }
.esp-hero__icon svg { width: 32px; height: 32px; }
.esp-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px 24px; padding: 20px 24px; margin: 0; }
.esp-specs dt { font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--mut); } .esp-specs dd { margin: 4px 0 0; font-size: 19px; font-weight: 600; }
.esp-stack { display: flex; flex-direction: column; gap: 16px; } .esp-pad { padding: 20px; } .esp-pad h2 { font-size: 20px; margin-bottom: 12px; }
.esp-timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.esp-timeline li { position: relative; padding-left: 26px; } .esp-timeline li::before { content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; border-radius: 99px; background: #1E6B3A; }
.esp-timeline li.is-next::before { background: transparent; border: 3px solid var(--a); box-sizing: border-box; }
.esp-timeline b { display: block; } .esp-timeline span { color: var(--mut); font-size: 15px; }
.esp .esp-cta { display: flex; gap: 14px; align-items: center; background: #2B3036; color: #fff; text-decoration: none; border-radius: 14px; padding: 20px; }
.esp-cta b { display: block; font-size: 17px; } .esp-cta small { color: #C9CFD5; }
.esp-foot { color: var(--mut); font-size: 14px; margin: 0; }
@media (max-width: 640px) { .esp-who { text-align: left; } .esp-doc { padding: 12px 14px; } }

/* ===== v2.2 portal: service hub (lighter slate) ===== */
.es-portal:has(.esh) { max-width: 1400px; }
.esp.esh { --ink: #f3f6fc; --soft: #d3d9e6; --mut: #bcc4d6; --line: rgba(255,255,255,.1); --line2: rgba(255,255,255,.28); --card: linear-gradient(180deg,#4a5674,#434e6b); --foot: rgba(20,26,44,.32); --link: #c9d6ff;
	font-family: Inter, system-ui, sans-serif; font-size: 16px; color: var(--ink); background: linear-gradient(155deg,#4f5bc4 0%,#7f8de6 38%,#b9c2f3 72%,#e3e6fb 100%); border-radius: 22px; overflow: visible; padding: clamp(10px,3vw,40px); }
.esh *, .esh *::before, .esh *::after { box-sizing: border-box; }
.esh a { color: var(--link); text-decoration: none; }
.esh a:hover { text-decoration: underline; }
.esh h1, .esh h2, .esh h3 { font-family: Inter, system-ui, sans-serif; color: inherit; margin: 0; letter-spacing: -.01em; }
.esh :focus-visible { outline: 2px solid #ffd27a; outline-offset: 3px; }
.esh-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.esh-frame { max-width: 1320px; margin: 0 auto; border-radius: 24px; overflow: hidden; background: #3a4560; box-shadow: 0 40px 80px -30px rgba(30,36,90,.55); }
.esh-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 14px 24px; background: #323c55; border-bottom: 1px solid var(--line); }
.esh-logo img { display: block; height: 46px; width: auto; }
.esh-nav { display: flex; flex-wrap: wrap; gap: 4px; flex: 1 1 420px; }
.esh-nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid transparent; color: var(--ink); font: 700 13px Inter, sans-serif; letter-spacing: .05em; text-transform: uppercase; }
.esh-nav a svg { color: #6f9df2; width: 17px; height: 17px; }
.esh-nav a:hover { text-decoration: none; background: rgba(255,255,255,.06); }
.esh-nav a.is-on { border-color: var(--line2); }
.esh-bar__end { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.esh-site select { height: 42px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--ink); border: 1.5px solid var(--line2); padding: 0 14px; font: 600 14px Inter, sans-serif; }
.esh-site option { color: #1d2433; }
.esh-who { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg,#f5b941,#e0703a); color: #fff; display: grid; place-items: center; font: 700 14px Inter, sans-serif; }
.esh-iconbtn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--ink) !important; border: 1.5px solid var(--line2); }
.esh-iconbtn:hover { background: rgba(255,255,255,.08); text-decoration: none; }
.esh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; font: 700 13.5px Inter, sans-serif; letter-spacing: .02em; border: 1.5px solid transparent; cursor: pointer; color: var(--ink) !important; }
.esh-btn:hover { text-decoration: none !important; filter: brightness(1.08); }
.esh-btn svg { width: 17px; height: 17px; }
.esh-btn--green { background: #1f8f6e; color: #fff !important; }
.esh-btn--line { border-color: var(--line2); background: rgba(255,255,255,.08); border-radius: 10px; }
.esh-btn--sm { min-height: 38px; padding: 0 12px; font-size: 13px; }
.esh-body { padding: 26px 26px 30px; background: radial-gradient(900px 460px at 78% -5%,rgba(120,140,230,.35),transparent 65%), radial-gradient(700px 400px at 10% 110%,rgba(90,110,200,.25),transparent 60%), #3a4560; }
.esh-hello { margin: 0 0 22px 6px; }
.esh-hello h1 { font-size: clamp(24px,3vw,32px); font-weight: 700; }
.esh-hello p { margin: 4px 0 0; color: var(--soft); font-size: 15px; }
.esh-hello--row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; }
.esh-sec { font: 600 14.5px Inter, sans-serif !important; letter-spacing: .05em !important; text-transform: uppercase; display: flex; align-items: center; gap: 10px; margin: 0 0 0 6px; }
.esh-sec a { margin-left: auto; text-transform: none; letter-spacing: 0; font-size: 14px; }
.esh-sec--gap { margin-top: 36px; margin-bottom: 16px; }
.esh-count { min-width: 24px; height: 24px; border-radius: 12px; background: #4a74d1; color: #fff; font: 700 12px Inter, sans-serif; display: inline-grid; place-items: center; padding: 0 6px; }
.esh-count--red { background: #d64545; }
.esh-count--green { background: #2f9c84; }
.esh-heads, .esh-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 18px; }
.esh-heads { margin-bottom: 18px; align-items: end; }
.esh-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 14px 30px -18px rgba(10,14,40,.7); color: var(--ink); }
a.esh-card:hover { text-decoration: none; border-color: var(--line2); transform: translateY(-1px); }
.esh-flag { position: absolute; top: -12px; left: -6px; font: 700 11px Inter, sans-serif; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; color: #fff; background: #4f7fd0; }
.esh-flag--right { left: auto; right: 14px; top: -10px; }
.esh-flag--red { background: #d2584f; } .esh-flag--amber { background: #e0a02e; color: #1b1206; } .esh-flag--green { background: #2f9c84; } .esh-flag--teal { background: #2f9c84; } .esh-flag--grey { background: #6b7592; }
.esh-ic { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; flex: none; color: #fff; background: #5b8def; }
.esh-ic svg { width: 21px; height: 21px; }
.esh-ic--round { border-radius: 50%; width: 40px; height: 40px; }
.esh-ic--xl { width: 84px; height: 84px; border-radius: 20px; }
.esh-ic--xl svg { width: 42px; height: 42px; }
.esh-ic--red { background: #e0665c; } .esh-ic--amber { background: #e08a2e; } .esh-ic--green { background: #3e9c82; } .esh-ic--blue { background: #5b8def; } .esh-ic--violet { background: #7a6fd6; } .esh-ic--grey { background: #5f6b86; }
.esh-card__head { display: flex; gap: 14px; padding: 26px 22px 0; }
.esh-card__head h3, .esh-h { display: block; font-size: 17px; font-weight: 600; line-height: 23px; }
.esh-card__head p, .esh-crumb { display: block; margin: 4px 0 0; font-size: 13px; color: var(--mut); }
.esh-att { display: flex; flex-direction: column; padding-top: 6px; }
.esh-att__body { margin: 16px 22px 0; font-size: 14.5px; line-height: 22px; color: var(--soft); text-align: center; }
.esh-att__act { text-align: center; margin: 18px 0; }
.esh-strip { display: block; margin: auto 14px 12px; padding: 6px; border-radius: 6px; background: var(--foot); text-align: center; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--mut); }
.esh-scale { display: flex; flex-direction: column; padding-top: 14px; }
.esh-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px; }
.esh-tag { display: inline-block; font: 700 10.5px Inter, sans-serif; letter-spacing: .06em; text-transform: uppercase; padding: 5px 9px; border-radius: 6px; background: var(--foot); color: var(--mut); white-space: nowrap; }
.esh-tag--green { color: #8fe3c4; } .esh-tag--amber { color: #ffd27a; } .esh-tag--red { color: #ffb4ab; } .esh-tag--blue { color: #b9ccff; } .esh-tag--violet { color: #d4ccff; } .esh-tag--grey { color: var(--mut); }
.esh-tag--new { background: #4a74d1; color: #fff; }
.esh-scale .esh-card__head { padding-top: 20px; }
.esh-next { display: block; text-align: center; margin: 24px 0 20px; }
.esh-next span { display: block; font-size: 13px; color: var(--mut); }
.esh-next b { display: block; font-size: 17px; font-weight: 600; margin-top: 4px; }
.esh-by { display: flex; align-items: center; gap: 10px; padding: 0 18px; margin-top: auto; }
.esh-by img { width: 40px; height: auto; }
.esh-by b { display: block; font-size: 14px; font-weight: 600; }
.esh-by i { display: block; font-size: 12.5px; color: var(--mut); }
.esh-scale .esh-strip { margin-top: 12px; }
.esh-empty { padding: 22px; color: var(--soft); line-height: 22px; }
.esh-help { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.esh-tile { display: flex; gap: 16px; padding: 22px 22px 20px; }
.esh-tile b { display: block; font-size: 16.5px; font-weight: 600; }
.esh-tile span span { display: block; font-size: 14px; line-height: 20px; color: var(--soft); margin-top: 4px; }
.esh-ask { margin-top: 32px; padding: 16px 18px 12px; box-shadow: 0 0 0 1px rgba(245,185,65,.25), 0 14px 34px -12px rgba(224,112,58,.45); }
.esh-ask textarea { width: 100%; border: 0; background: transparent; color: var(--ink); font: italic 19px Inter, sans-serif; resize: vertical; outline: none; padding: 4px 6px; }
.esh-ask textarea::placeholder { color: var(--mut); }
.esh-ask__row { display: flex; align-items: center; gap: 12px; margin-top: 10px; font-size: 13px; color: var(--mut); }
.esh-send { margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #4a74d1; color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.esh-crumbs { margin: 0 0 18px 6px; font-size: 14px; color: var(--mut); }
.esh-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding: 26px; }
.esh-hero__main { flex: 1 1 260px; }
.esh-hero__main h1 { font-size: 38px; font-weight: 700; }
.esh-hero__main p { margin: 6px 0 0; color: var(--soft); }
.esh-ring { --p: 0; width: 128px; height: 128px; border-radius: 50%; background: conic-gradient(#4f9be0 calc(var(--p) * 1%), var(--foot) 0); display: grid; place-items: center; flex: none; }
.esh-ring span { width: 106px; height: 106px; border-radius: 50%; background: #3e4964; display: grid; place-content: center; text-align: center; }
.esh-ring small { font-size: 12px; color: var(--mut); }
.esh-ring b { font-size: 18px; }
.esh-hero__act { display: flex; flex-direction: column; gap: 10px; flex: 0 1 260px; }
.esh-specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; margin: 18px 0; }
.esh-specs .esh-card { padding: 14px 16px; }
.esh-specs span { display: block; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--mut); font-weight: 600; }
.esh-specs b { display: block; font-size: 16px; font-weight: 600; margin-top: 6px; }
.esh-split { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.esh-split .esh-list { flex: 999 1 540px; min-width: 0; }
.esh-side { flex: 1 1 280px; padding: 18px 22px; }
.esh-list { padding: 6px 0; }
.esh-list__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 22px 8px; }
.esh-year { font: 700 13px Inter, sans-serif !important; letter-spacing: .08em !important; color: var(--mut); padding: 14px 22px 6px; }
.esh-year small { font-weight: 500; margin-left: 6px; }
.esh-docs { list-style: none; margin: 0; padding: 0; }
.esh-doc { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 22px; border-top: 1px solid var(--line); }
.esh-doc .esh-ic { width: 38px; height: 38px; }
.esh-doc__main { flex: 1 1 220px; min-width: 0; }
.esh-doc__title { display: block; font-weight: 600; color: var(--ink) !important; }
.esh-doc__meta { display: block; font-size: 13px; color: var(--mut); }
.esh-doc__date { font-size: 13.5px; color: var(--soft); min-width: 92px; }
.esh-none { padding: 18px 22px; color: var(--soft); margin: 0; }
.esh-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px; margin-bottom: 18px; }
.esh-search { flex: 1 1 260px; display: flex; align-items: center; gap: 10px; min-height: 44px; border-radius: 10px; background: var(--foot); padding: 0 14px; color: var(--mut); }
.esh-search input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font: 15px Inter, sans-serif; outline: none; padding: 10px 0; }
.esh-search input::placeholder { color: var(--mut); }
.esh-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.esh-chip { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 9px; border: 1.5px solid var(--line2); color: var(--ink) !important; font: 600 13.5px Inter, sans-serif; }
.esh-chip:hover { text-decoration: none !important; background: rgba(255,255,255,.06); }
.esh-chip.is-on { border-color: #4f9be0; background: rgba(79,155,224,.22); }
.esh-timeline { list-style: none; margin: 14px 0 0; padding: 0 0 0 16px; border-left: 2px solid var(--line2); display: flex; flex-direction: column; gap: 16px; }
.esh-timeline li { position: relative; }
.esh-timeline li::before { content: ""; position: absolute; left: -23px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: #3e9c82; }
.esh-timeline li.is-next::before { background: #4f9be0; }
.esh-timeline b { display: block; font-weight: 600; }
.esh-timeline span { font-size: 13px; color: var(--mut); }
.esh-note { margin: 18px 0 0; padding: 14px; border-radius: 12px; background: var(--foot); font-size: 13.5px; line-height: 20px; color: var(--soft); }
.esh-foot { margin: 30px 6px 0; font-size: 13px; color: var(--mut); }
@media (max-width: 820px) {
	.esh-heads { display: none; }
	.esh-row::before { content: "Needs your attention · My scales"; grid-column: 1 / -1; font: 600 14px Inter, sans-serif; letter-spacing: .05em; text-transform: uppercase; margin-left: 6px; }
	.esh-bar { padding: 12px 14px; }
	.esh-logo img { height: 38px; }
	.esh-body { padding: 18px 14px 24px; }
	.esh-nav a span { font-size: 12px; }
}
/* v2.2.1: sign-in screen in the service-hub look */
.esh-signin__frame { display: flex; flex-wrap: wrap; align-items: stretch; }
.esh-signin__intro { flex: 1 1 380px; padding: clamp(28px,5vw,52px) clamp(22px,4vw,48px); background: radial-gradient(700px 380px at 90% -10%,rgba(120,140,230,.4),transparent 65%), #3a4560; }
.esh-signin__logo { display: block; height: 60px; width: auto; margin: 0 0 28px; }
.esh-kicker { display: inline-block; font: 700 11px Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; background: #4f7fd0; color: #fff; padding: 5px 10px; border-radius: 6px; }
.esh.esh-signin h2 { font: 700 clamp(26px,3.4vw,38px)/1.15 Inter, sans-serif; margin: 14px 0 12px; color: var(--ink); }
.esh.esh-signin p { color: var(--soft); font-size: 16px; line-height: 25px; margin: 0; }
.esh-checks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.esh-checks li { display: flex; gap: 12px; align-items: center; font-size: 15.5px; color: var(--ink); }
.esh-checks li::before { content: ""; width: 26px; height: 26px; border-radius: 50%; flex: none; background: #3e9c82 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 14px no-repeat; }
.esh.esh-signin .esh-signin__help { margin-top: 28px; font-size: 14px; color: var(--mut); }
.esh-signin__side { flex: 1 1 340px; display: flex; align-items: center; justify-content: center; padding: clamp(24px,4vw,44px) clamp(16px,3vw,40px); background: #323c55; }
.esh .esh-signin__form { width: 100%; max-width: 400px; padding: 28px; display: flex; flex-direction: column; }
.esh .esh-signin__form h3 { font: 700 22px Inter, sans-serif; margin: 0 0 8px; }
.esh .esh-signin__form label { font: 600 12.5px Inter, sans-serif; letter-spacing: .05em; text-transform: uppercase; color: var(--mut); margin: 14px 0 6px; }
.esh .esh-signin__form input[type=text], .esh .esh-signin__form input[type=password] { width: 100%; height: 50px; border-radius: 12px; border: 1.5px solid var(--line2); background: var(--foot); color: var(--ink); font: 500 17px Inter, sans-serif; padding: 0 16px; }
.esh .esh-signin__form input::placeholder { color: var(--mut); }
.esh .esh-signin__form input:focus { border-color: #6f9df2; outline: none; box-shadow: 0 0 0 3px rgba(111,157,242,.35); }
.esh .esh-signin__form .esh-btn { margin-top: 20px; width: 100%; min-height: 50px; border-radius: 12px; font-size: 15px; }
.esh .esh-alert { background: rgba(214,69,69,.2); border: 1px solid rgba(255,140,130,.55); color: #ffd6d1; border-radius: 10px; padding: 10px 12px; font-size: 14px; line-height: 20px; margin-top: 4px; }
.esh.esh-signin .esh-signin__small { font-size: 13px; color: var(--mut); margin-top: 14px; text-align: center; }
/* ===== v3.0 portal: brushed-metal command (steel side menu, aluminum plates) ===== */
.es-portal:has(.esm) { max-width: 1480px; }
.esp.esh.esm { --ink: #1b1f25; --soft: #2e343c; --mut: #3e4550; --line: rgba(0,0,0,.14); --line2: rgba(0,0,0,.3); --foot: rgba(0,0,0,.08); --link: #7a1218;
	--alu: url("https://electroscales.net/wp-content/uploads/2026/11/es-portal-brushed-aluminum.jpg");
	--steel: url("https://electroscales.net/wp-content/uploads/2026/11/es-portal-brushed-steel.jpg");
	--card: linear-gradient(180deg,rgba(255,255,255,.38),rgba(255,255,255,0) 30%,rgba(0,0,0,.05)), #cfd3d7 var(--alu) center / 900px auto;
	--plate: linear-gradient(180deg,rgba(255,255,255,.5),rgba(255,255,255,0) 45%,rgba(0,0,0,.08)), #d3d7db var(--alu) center / 600px auto;
	--well: linear-gradient(180deg,#0e0f11,#1b1d21);
	color: var(--ink); background: radial-gradient(1200px 700px at 75% -10%,#2c3036,#141619 65%); padding: clamp(8px,2vw,22px); border-radius: 22px; }
.esm :focus-visible { outline: 2px solid #b8202b; outline-offset: 3px; }
.esm-side :focus-visible, .esm-body > .esh-crumbs :focus-visible { outline-color: #f2d27a; }
.esm .esh-frame { max-width: 1440px; display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; background: transparent; box-shadow: none; border-radius: 0; overflow: visible; }
.esm-led { width: 10px; height: 10px; border-radius: 50%; flex: none; display: inline-block; background: #8e97a2; }
.esm-led--green { background: #3be38a; box-shadow: 0 0 8px #3be38a; }
.esm-led--red { background: #e23b45; box-shadow: 0 0 8px #e23b45; }
.esm-led--amber, .esm-led--gold { background: #f2d27a; box-shadow: 0 0 8px #f2d27a; }
.esm-led--blue { background: #6fb6ff; box-shadow: 0 0 8px #6fb6ff; }
.esm-mono { font-family: "JetBrains Mono", ui-monospace, monospace; }
.esm-plate { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 10px; background: var(--plate); color: #15181c !important; font: 700 14px Inter, sans-serif; text-decoration: none !important; box-shadow: inset 0 1px 0 #fff, 0 3px 8px rgba(0,0,0,.35); white-space: nowrap; }
.esm-plate:hover { filter: brightness(1.05); }
.esm-well { background: var(--well); box-shadow: inset 0 2px 7px rgba(0,0,0,.85), 0 1px 0 rgba(255,255,255,.55); }

/* side menu */
.esm-side { flex: 1 1 240px; max-width: 280px; align-self: stretch; padding: 22px 18px; border-radius: 18px; display: flex; flex-direction: column; gap: 22px; color: #e4e8ed; background: linear-gradient(180deg,rgba(255,255,255,.06),rgba(0,0,0,.25)), #33373d var(--steel) center / 900px auto; box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 12px 26px rgba(0,0,0,.45); }
.esm-logo img { display: block; width: 100%; max-width: 220px; height: auto; }
.esm-find { display: flex; flex-direction: column; gap: 6px; }
.esm-find label, .esm-label { font: 700 12px Inter, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #b9c1cb; }
.esm-find input { min-height: 44px; border-radius: 10px; border: 1px solid #3a3f47; background: var(--well); box-shadow: inset 0 2px 6px rgba(0,0,0,.8); color: #fff; font: 400 15px Inter, sans-serif; padding: 0 14px; }
.esm-find input::placeholder { color: #9aa3ae; }
.esm-nav { display: flex; flex-direction: column; gap: 4px; }
.esm-label { margin: 0 0 4px 10px; }
.esm-label--gap { margin-top: 16px; }
.esm-nav a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 14px; border-radius: 10px; color: #d9dee4 !important; font: 500 15px Inter, sans-serif; text-decoration: none !important; }
.esm-nav a:hover { background: rgba(255,255,255,.07); }
.esm-nav a svg { width: 18px; height: 18px; flex: none; }
.esm-nav a.is-on { background: var(--plate); color: #15181c !important; font-weight: 700; box-shadow: inset 0 1px 0 #fff, 0 3px 8px rgba(0,0,0,.45); }
.esm-num { margin-left: auto; font: 500 13px "JetBrains Mono", monospace; padding: 2px 10px; border-radius: 999px; background: var(--well); color: #e4e8ed; box-shadow: inset 0 2px 5px rgba(0,0,0,.8); }
.esm-help { margin-top: auto; padding: 14px; border-radius: 12px; background: var(--well); box-shadow: inset 0 2px 7px rgba(0,0,0,.85); font-size: 14px; line-height: 1.7; color: #c9d0d8; }
.esm-help a, .esm .esh-foot a, .esm-body > .esh-crumbs a { color: #f2d27a !important; font-weight: 600; }

/* main column + top plate */
.esm-main { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.esm-top { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; padding: 16px 20px; border-radius: 18px; background: var(--card); box-shadow: inset 0 1px 0 rgba(255,255,255,.8), inset 0 -1px 0 rgba(0,0,0,.25), 0 12px 26px rgba(0,0,0,.45); }
.esm-top__title { flex: 1 1 260px; min-width: 0; }
.esm.esh .esm-top h1 { font: 700 clamp(26px,3vw,34px)/1.1 "Barlow Condensed", Barlow, sans-serif; letter-spacing: .03em; text-transform: uppercase; color: #15181c; }
.esm-top p { margin: 4px 0 0; color: var(--mut); font-weight: 500; }
.esm-site { display: flex; align-items: center; gap: 8px; }
.esm-site label { font: 700 12px Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--mut); }
.esm .esm-site select { height: 44px; min-width: 170px; border-radius: 10px; border: 1px solid #a9afb6; background: linear-gradient(180deg,rgba(0,0,0,.1),rgba(255,255,255,.2)); color: #15181c; font: 600 15px Inter, sans-serif; padding: 0 12px; box-shadow: inset 0 2px 5px rgba(0,0,0,.2); }
.esm-out { min-height: 44px; padding: 0 14px 0 6px; }
.esm-badge { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-size: 13px; background: repeating-linear-gradient(45deg,rgba(0,0,0,.2) 0 4px,rgba(255,255,255,.05) 4px 8px), linear-gradient(135deg,#c21f2b,#7e0f17); }
.esm .esh-body { padding: 0; background: none; display: flex; flex-direction: column; gap: 20px; }
.esm .esh-body > * { margin-top: 0; margin-bottom: 0; }
.esm .esh-foot { color: #aeb6c0; margin: 6px 4px 0; }
.esm-body > .esh-crumbs { color: #c9d0d8; }
.esm-body > .esh-crumbs b { color: #fff; }

/* aluminum plates for every card */
.esm .esh-card { background: var(--card); border: 0; border-radius: 18px; color: var(--ink); box-shadow: inset 0 1px 0 rgba(255,255,255,.8), inset 0 -1px 0 rgba(0,0,0,.25), 0 12px 26px rgba(0,0,0,.45); }
.esm a.esh-card:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(0,0,0,.25), 0 16px 30px rgba(0,0,0,.55); }
.esm .esh-hello { background: var(--card); border-radius: 18px; padding: 16px 22px; box-shadow: inset 0 1px 0 rgba(255,255,255,.8), inset 0 -1px 0 rgba(0,0,0,.25), 0 12px 26px rgba(0,0,0,.45); }
.esm.esh .esh-hello h2 { font: 700 28px/1.1 "Barlow Condensed", Barlow, sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.esm .esh-hello p { color: var(--mut); }
.esm .esh-sec { color: var(--ink); }
.esm .esh-tag { background: #22252b; color: #e4e8ed; }
.esm .esh-tag--green { color: #9bf0c1; } .esm .esh-tag--amber { color: #ffd27a; } .esm .esh-tag--red { color: #ffb4ab; } .esm .esh-tag--blue { color: #b9ccff; } .esm .esh-tag--violet { color: #d4ccff; }
.esm .esh-tag--new { background: #b8202b; color: #fff; }
.esm .esh-ic--green { background: #2e8b5e; } .esm .esh-ic--blue { background: #3d6fc4; } .esm .esh-ic--grey { background: #5a6270; }
.esm .esh-btn--green { background: linear-gradient(180deg,#d3343e,#9a1720); color: #fff !important; border: 0; border-radius: 12px; box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 4px 10px rgba(0,0,0,.35); }
.esm .esh-btn--line { background: var(--plate); color: #15181c !important; border: 0; border-radius: 10px; box-shadow: inset 0 1px 0 #fff, 0 3px 8px rgba(0,0,0,.35); }
.esm .esh-chip { border-color: rgba(0,0,0,.25); color: var(--ink) !important; background: rgba(255,255,255,.25); }
.esm .esh-chip.is-on { background: #22252b; border-color: #22252b; color: #fff !important; }
.esm .esh-search { background: var(--well); box-shadow: inset 0 2px 7px rgba(0,0,0,.85); color: #9aa3ae; }
.esm .esh-search input { color: #fff; }
.esm .esh-search input::placeholder { color: #9aa3ae; }
.esm .esh-ring span { background: var(--plate); }
.esm .esh-ring { background: conic-gradient(#b8202b calc(var(--p) * 1%), #2a2d33 0); }
.esm .esh-row::before { content: none !important; }
.esm .esh-strip { background: rgba(0,0,0,.1); }

/* dashboard */
.esm-alerts { display: flex; flex-direction: column; gap: 12px; }
.esm-alert { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 14px 18px; }
.esm-alert > div { flex: 1 1 260px; }
.esm-alert b { display: block; font-size: 16px; }
.esm-alert span:not(.esm-led) { display: block; color: var(--soft); font-size: 14px; margin-top: 2px; }
.esm-alert--red { box-shadow: inset 4px 0 0 #b8202b, inset 0 1px 0 rgba(255,255,255,.8), 0 12px 26px rgba(0,0,0,.45) !important; }
.esm-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.esm-kpi { display: flex; align-items: center; gap: 14px; padding: 18px; }
.esm-kpi__main { flex: 1; min-width: 0; }
.esm-kpi__label { display: flex; align-items: center; gap: 8px; color: var(--mut); font: 700 13px Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.esm-kpi__val { display: block; font: 600 30px/1.2 "JetBrains Mono", monospace; margin-top: 6px; }
.esm-kpi__sub { display: block; font-size: 13px; color: var(--mut); margin-top: 2px; }
.esm-ring { --p: 0; --c: #8e97a2; width: 66px; height: 66px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--well); box-shadow: inset 0 2px 7px rgba(0,0,0,.85), 0 1px 0 rgba(255,255,255,.55); position: relative; }
.esm-ring::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: conic-gradient(var(--c) calc(var(--p) * 1%), #2a2d33 0); }
.esm-ring span { position: relative; width: 36px; height: 36px; border-radius: 50%; background: var(--plate); }
.esm-ring--green { --c: #3be38a; } .esm-ring--red { --c: #e23b45; } .esm-ring--gold { --c: #f2d27a; } .esm-ring--blue { --c: #6fb6ff; }
.esm-grid { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.esm-col { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.esm-rail { flex: 1 1 280px; display: flex; flex-direction: column; gap: 20px; }
.esm-panel { padding: 20px; }
.esm-panel__head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 14px; }
.esm-panel__head .esm-h { flex: 1; }
.esm-panel__head span { color: var(--mut); font-size: 14px; font-weight: 500; }
.esm-panel__head a { font-weight: 700; }
.esm.esh .esm-h { font: 700 24px/1.1 "Barlow Condensed", Barlow, sans-serif; letter-spacing: .04em; text-transform: uppercase; color: #15181c; margin: 0 0 6px; }
.esm-chart { border-radius: 14px; padding: 16px 14px 10px; height: 200px; display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 8px; align-items: end; }
.esm-bar { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 8px; height: 100%; }
.esm-bar i { font: 700 13px "JetBrains Mono", monospace; color: #f2d27a; font-style: normal; min-height: 16px; }
.esm-bar em { width: 100%; max-width: 24px; border-radius: 6px; background: #30343b; }
.esm-bar em.is-on { background: linear-gradient(180deg,#f2d27a,#b98a2b); }
.esm-bar small { font-size: 12px; color: #aeb6c0; }
.esm-scroll { overflow-x: auto; }
.esm-table { width: 100%; min-width: 520px; border-collapse: collapse; }
.esm-table th { padding: 10px 8px; text-align: left; font: 700 12.5px Inter, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--mut); }
.esm-table td { padding: 10px 8px; border-top: 1px solid rgba(0,0,0,.14); box-shadow: inset 0 1px 0 rgba(255,255,255,.5); color: var(--soft); }
.esm-table td.esm-mono { font-weight: 600; color: var(--ink); }
.esm-right { text-align: right; }
.esm-pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: var(--well); color: #e4e8ed; font-size: 13px; font-weight: 600; box-shadow: inset 0 2px 5px rgba(0,0,0,.8); white-space: nowrap; }
.esm-pill .esm-led { width: 8px; height: 8px; }
.esm-account { border-radius: 18px; padding: 20px; color: #fff; background: repeating-linear-gradient(45deg,rgba(0,0,0,.2) 0 4px,rgba(255,255,255,.05) 4px 8px), linear-gradient(135deg,#c21f2b,#7e0f17); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 12px 26px rgba(0,0,0,.45); }
.esm-account__k { display: block; font: 700 13px Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #ffd9dc; }
.esm-account b { display: block; font: 600 30px "JetBrains Mono", monospace; margin: 6px 0; }
.esm-account__row { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: #ffe4e6; }
.esm-cycle { display: block; padding: 8px 0; color: var(--ink) !important; text-decoration: none !important; }
.esm-cycle__top { display: flex; justify-content: space-between; align-items: center; font-size: 14px; margin-bottom: 6px; }
.esm-cycle__top > span:first-child { display: flex; align-items: center; gap: 8px; }
.esm-cycle__top .esm-led { width: 8px; height: 8px; }
.esm-track { display: block; height: 10px; border-radius: 6px; padding: 2px; }
.esm-track span { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg,#b98a2b,#f2d27a); }
.esm-more { display: inline-block; margin-top: 8px; font-weight: 700; }

/* select + download several certificates */
.esh-bulk__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 10px 18px 4px; padding: 10px 14px; border-radius: 12px; background: rgba(0,0,0,.07); box-shadow: inset 0 2px 5px rgba(0,0,0,.15); }
.esh-bulk__allwrap { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; cursor: pointer; }
.esh-bulk__n { flex: 1; color: var(--mut); font-size: 14px; }
.esh-bulk__go[disabled] { opacity: .5; cursor: not-allowed; }
.esh-pickwrap { display: inline-grid; place-items: center; width: 44px; height: 44px; margin: -6px -6px -6px -10px; cursor: pointer; flex: none; }
.esh-bulk input[type=checkbox] { width: 22px; height: 22px; accent-color: #b8202b; cursor: pointer; }

/* sign-in in the metal look */
.esm.esh-signin .esh-frame { gap: 0; border-radius: 22px; overflow: hidden; }
.esm .esh-signin__intro { background: linear-gradient(180deg,rgba(255,255,255,.06),rgba(0,0,0,.25)), #33373d var(--steel) center / 900px auto; color: #e4e8ed; }
.esm .esh-kicker { background: #b8202b; }
.esm.esh.esh-signin h2 { color: #fff; }
.esm.esh.esh-signin .esh-signin__intro p { color: #c9d0d8; }
.esm .esh-checks li { color: #e4e8ed; }
.esm .esh-checks li::before { background-color: #2e8b5e; }
.esm.esh.esh-signin .esh-signin__help { color: #aeb6c0; }
.esm .esh-signin__side { background: #1b1d21; }
.esm .esh-signin__form h3 { color: #15181c; }
.esm .esh-signin__form label { color: var(--mut); }
.esm .esh-signin__form input[type=text], .esm .esh-signin__form input[type=password] { background: var(--well); border: 1px solid #3a3f47; color: #fff; box-shadow: inset 0 2px 6px rgba(0,0,0,.8); }
.esm .esh-signin__form input::placeholder { color: #9aa3ae; }
.esm .esh-signin__form input:focus { border-color: #b8202b; box-shadow: inset 0 2px 6px rgba(0,0,0,.8), 0 0 0 3px rgba(184,32,43,.35); }
.esm .esh-alert { background: rgba(184,32,43,.12); border-color: rgba(184,32,43,.5); color: #6b0d13; }
.esm.esh.esh-signin .esh-signin__small { color: var(--mut); }

@media (max-width: 820px) {
	.esm-side { max-width: none; flex-basis: 100%; gap: 14px; padding: 16px; }
	.esm-logo img { max-width: 200px; }
	.esm-nav { flex-direction: row; flex-wrap: wrap; }
	.esm-nav .esm-label { flex-basis: 100%; }
	.esm-nav a { flex: 1 1 45%; }
	.esm-help { display: none; }
	.esm-top { padding: 14px 16px; }
	.esm-chart { gap: 4px; padding: 12px 8px 8px; }
	.esh-bulk__bar { margin: 8px 10px 4px; }
}
/* v3.1: portal uses the full screen width (the theme caps page content at ~800px), My scales as a list */
.es-portal:has(.esm) { max-width: none; width: min(1480px, calc(100vw - 32px)); margin-left: 50%; transform: translateX(-50%); box-sizing: border-box; }
.es-portal:has(.esh-signin) { width: min(1100px, calc(100vw - 32px)); }
.esm .esh-frame { max-width: none; }
.esm-side { flex: 0 0 260px; max-width: 260px; }
.esm-table { min-width: 0; table-layout: auto; }
.esm-table td, .esm-table th { white-space: nowrap; }
.esm-table td:first-child, .esm-table th:first-child { width: 1%; }
.esm-scales__head { display: grid; grid-template-columns: minmax(0, 1fr) 170px 150px 190px 230px; gap: 12px; padding: 12px 22px 6px 76px; font: 700 12px Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--mut); }
.esm-scrow { display: grid; grid-template-columns: 42px minmax(0, 1fr) 170px 150px 190px 230px; align-items: center; gap: 12px; }
.esm-scrow__cell small { display: none; }
.esm-scrow__cell { font-size: 14px; color: var(--soft); }
.esm-scrow__cell b { margin-left: 6px; color: var(--ink); }
.esm-scrow__act { display: flex; gap: 8px; justify-content: flex-end; }
@media (max-width: 1100px) {
	.esm-scales__head { display: none; }
	.esm-scrow { grid-template-columns: 42px minmax(0, 1fr) auto; }
	.esm-scrow__cell, .esm-scrow__act { grid-column: 2 / -1; }
	.esm-scrow__act { justify-content: flex-start; }
	.esm-scrow__cell small { display: inline; margin-right: 6px; font-weight: 700; color: var(--mut); }
}
@media (max-width: 820px) {
	.es-portal:has(.esm) { width: calc(100vw - 16px); }
	.esm-side { flex: 1 1 100%; max-width: none; }
}

/* v3.2: anything the search hides stays hidden (row styles were overriding it); compact due-by-month chart; search button */
.esp [hidden], .esp-doc[hidden], .esh-doc[hidden], .esp-year[hidden], .esh-none[hidden] { display: none !important; }
.esm-find__row { display: flex; gap: 6px; }
.esm-find__row input { flex: 1; min-width: 0; }
.esm-find__row button { flex: none; width: 44px; min-height: 44px; border-radius: 10px; border: 1px solid #3a3f47; background: linear-gradient(180deg,#c8343c,#8e1b22); color: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; }
.esm-find__row button svg { width: 18px; height: 18px; }
.esm-panel.esm-due { padding: 14px 16px; }
.esm-due .esm-panel__head { margin-bottom: 8px; }
.esm.esh .esm-due .esm-h { font-size: 19px; margin: 0; }
.esm-due .esm-panel__head span { font-size: 13px; }
.esm-chart { height: auto; padding: 10px 12px 8px; gap: 6px; }
.esm-bar { height: auto; gap: 3px; }
.esm-bar em { flex: none; max-width: 18px; border-radius: 4px; }
.esm-bar i { font-size: 12px; min-height: 14px; line-height: 14px; }
.esm-bar small { font-size: 11px; line-height: 14px; }

/* v3.3: My scales type tabs (floor / truck / hopper) */
.esm-kinds { flex: 1 1 100%; order: -1; }
.esm-kinds .esh-chips { gap: 0; display: inline-flex; flex-wrap: wrap; border-radius: 11px; padding: 4px; background: var(--well); box-shadow: inset 0 2px 7px rgba(0,0,0,.85), 0 1px 0 rgba(255,255,255,.55); }
.esm .esm-kinds .esh-chip { border: 0; background: transparent; color: #c9d0d8 !important; min-height: 40px; padding: 0 18px; font: 700 15px/1 "Barlow Condensed", Barlow, sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.esm .esm-kinds .esh-chip:hover { color: #fff !important; background: rgba(255,255,255,.06); }
.esm .esm-kinds .esh-chip.is-on { color: #fff !important; background: linear-gradient(180deg,#c8343c,#8e1b22); box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 2px 6px rgba(0,0,0,.5); }
@media (max-width: 560px) { .esm-kinds .esh-chips { display: flex; } .esm .esm-kinds .esh-chip { flex: 1 1 45%; justify-content: center; padding: 0 10px; } }

/* v3.4: rows and headings switched off by the My scales tabs */
.esp .is-off { display: none !important; }

/* v3.5: search boxes. The site theme (Elementor kit) styles every input with a stronger rule
   (light grey box, near-black text), so the portal's own look is pinned with !important. */
.esp .esm-find__row,
.esp .esh-search { position: relative; display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 4px 4px 4px 14px; border-radius: 12px;
	background: linear-gradient(180deg, #111317, #1b1e23); border: 1px solid #3a3f47;
	box-shadow: inset 0 2px 8px rgba(0,0,0,.9), 0 1px 0 rgba(255,255,255,.45); color: #9aa3ae; transition: border-color .15s, box-shadow .15s; }
.esp .esm-find__row:focus-within,
.esp .esh-search:focus-within { border-color: #f2d27a; box-shadow: inset 0 2px 8px rgba(0,0,0,.9), 0 0 0 3px rgba(242,210,122,.28); }
.esp .esm-find__row::before { content: ""; flex: none; width: 18px; height: 18px; opacity: .75;
	background: no-repeat center/18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9d0d8' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E"); }
.esp .esm-find__row input[type="search"],
.esp .esh-search input[type="search"] { flex: 1; min-width: 0; min-height: 38px; margin: 0; padding: 0 4px !important; border: 0 !important; border-radius: 0 !important;
	background: transparent !important; box-shadow: none !important; outline: none !important;
	color: #fff !important; -webkit-text-fill-color: #fff; caret-color: #f2d27a; font: 500 15px/1.2 Inter, sans-serif !important; }
.esp .esm-find__row input::placeholder,
.esp .esh-search input::placeholder { color: #8e97a2 !important; -webkit-text-fill-color: #8e97a2; opacity: 1; }
.esp input[type="search"]::-webkit-search-cancel-button { filter: invert(1); opacity: .6; }
.esp .esm-find__row button { flex: none; width: 40px; height: 40px; min-height: 0; border-radius: 9px; border: 0 !important; padding: 0;
	background: linear-gradient(180deg, #d8424a, #8e1b22) !important; color: #fff !important;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 2px 5px rgba(0,0,0,.55); display: grid; place-items: center; cursor: pointer; }
.esp .esm-find__row button:hover { filter: brightness(1.12); }
.esp .esm-find__row button:focus-visible { outline: 2px solid #f2d27a; outline-offset: 2px; }
.esp .esm-find__row button svg { width: 18px; height: 18px; }
.esp .esh-search > svg { flex: none; color: #c9d0d8; opacity: .75; }

/* v3.6: in-place page switching */
.es-portal .esm-main { transition: opacity .15s ease; }
.es-portal.es-loading .esm-main { opacity: .55; pointer-events: none; }
.esm-top h1:focus { outline: none; }

/* v3.7: My scales as two columns of compact cards (one column on narrower screens) */
.esm-scales .esm-scales__head { display: none; }
.esm-scales .esh-year { padding: 12px 18px 2px; }
.esp .esm-scales .esh-docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 8px 14px 14px; margin: 0; }
.esp .esm-scales .esm-scrow { position: relative; display: grid; grid-template-columns: 38px auto minmax(0, 1fr) auto;
	grid-template-areas: "ic main main status" "ic last due act"; column-gap: 12px; row-gap: 5px; align-items: center;
	padding: 9px 12px 9px 14px; border: 1px solid rgba(0,0,0,.2); border-top: 1px solid rgba(0,0,0,.2); border-radius: 12px;
	background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.22));
	box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 1px 3px rgba(0,0,0,.18); transition: border-color .15s, box-shadow .15s, transform .15s; }
.esp .esm-scales .esm-scrow:hover { border-color: #b8262e; box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 4px 10px rgba(0,0,0,.22); transform: translateY(-1px); }
.esm-scales .esm-scrow > .esh-ic { grid-area: ic; align-self: start; width: 38px; height: 38px; }
.esm-scales .esm-scrow > .esh-doc__main { grid-area: main; min-width: 0; }
.esm-scales .esm-scrow .esh-doc__title { display: block; font-size: 16px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.esm-scales .esm-scrow .esh-doc__title::after { content: ""; position: absolute; inset: 0; border-radius: 12px; }
.esm-scales .esm-scrow .esh-doc__meta { display: block; font-size: 12.5px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.esm-scales .esm-scrow > .esm-scrow__status { grid-area: status; justify-self: end; }
.esm-scales .esm-scrow .esm-pill { font-size: 12px; padding: 4px 10px; gap: 6px; }
.esm-scales .esm-scrow > .esm-scrow__cell { font-size: 13px; white-space: nowrap; color: var(--soft); }
.esm-scales .esm-scrow > .esm-scrow__cell:nth-child(4) { grid-area: last; }
.esm-scales .esm-scrow > .esm-scrow__cell:nth-child(5) { grid-area: due; }
.esm-scales .esm-scrow > .esm-scrow__cell small { display: inline; margin-right: 5px; font: 700 10.5px Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--mut); }
.esm-scales .esm-scrow > .esm-scrow__cell b { margin-left: 4px; }
.esm-scales .esm-scrow > .esm-scrow__act { grid-area: act; justify-self: end; position: relative; z-index: 1; display: flex; gap: 6px; }
.esm-scales .esm-scrow .esm-scrow__more { display: none; }
.esm-scales .esm-scrow .esh-btn--sm { min-height: 28px; padding: 0 10px; font-size: 12.5px; }
.esm-scales .esm-scrow .esh-btn--sm svg { width: 16px; height: 16px; }
.esp .esm-scales .esh-none { grid-column: 1 / -1; }
@media (max-width: 1240px) { .esp .esm-scales .esh-docs { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
	.esp .esm-scales .esm-scrow { grid-template-columns: 38px minmax(0, 1fr); grid-template-areas: "ic main" "ic status" "ic last" "ic due" "ic act"; }
	.esm-scales .esm-scrow > .esm-scrow__status, .esm-scales .esm-scrow > .esm-scrow__act { justify-self: start; }
}

/* v3.8: compact Latest certificates (10 rows) and "Due for Calibration In" (12 scales) */
.esm-panel.esm-latest { padding: 14px 16px; }
.esm-latest .esm-panel__head { margin-bottom: 6px; }
.esm.esh .esm-latest .esm-h, .esm.esh .esm-due-in .esm-h { font-size: 19px; margin: 0; }
.esm-latest .esm-table th { padding: 6px 8px; font-size: 11px; }
.esm-latest .esm-table td { padding: 5px 8px; font-size: 13.5px; line-height: 1.3; }
.esm-latest .esm-pill { padding: 3px 9px; font-size: 12px; gap: 6px; }
.esm-latest .esm-plate { padding: 4px 10px; min-height: 0; font-size: 12px; line-height: 1.4; }
.esm-panel.esm-due-in { padding: 14px 16px; }
.esm-due-in .esm-h { margin-bottom: 6px !important; }
.esm-due-in .esm-cycle { padding: 5px 0; }
.esm-due-in .esm-cycle__top { font-size: 13.5px; margin-bottom: 4px; }
.esm-due-in .esm-track { height: 8px; }
.esm-due-in .esm-more { margin-top: 6px; }

/* v3.8.1: Latest certificates, tighter still */
.esm-panel.esm-latest { padding: 10px 14px 8px; }
.esm-latest .esm-panel__head { margin-bottom: 2px; }
.esm-latest .esm-table th { padding: 3px 6px; font-size: 10.5px; }
.esm-latest .esm-table td { padding: 2px 6px; font-size: 13px; line-height: 1.2; height: 26px; }
.esm-latest .esm-pill { padding: 1px 8px; font-size: 11.5px; gap: 5px; box-shadow: inset 0 1px 3px rgba(0,0,0,.8); }
.esm-latest .esm-pill .esm-led { width: 7px; height: 7px; }
.esm-latest .esm-plate { padding: 2px 9px; font-size: 11.5px; line-height: 1.35; border-radius: 7px; box-shadow: inset 0 1px 0 #fff, 0 1px 3px rgba(0,0,0,.35); }

/* v3.9: PDF open / download buttons in green */
.esp .esm-pdf, .esp a.esm-pdf:visited { background: linear-gradient(180deg, #2a9a5c, #17683d) !important; color: #fff !important; border: 1px solid #0f4d2c !important;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 2px 5px rgba(0,0,0,.35) !important; text-shadow: 0 1px 0 rgba(0,0,0,.35); }
.esp .esm-pdf:hover { background: linear-gradient(180deg, #31ad68, #1b7746) !important; color: #fff !important; text-decoration: none !important; }
.esp .esm-pdf:focus-visible { outline: 2px solid #f2d27a; outline-offset: 2px; }
.esp .esm-pdf svg { color: #fff; stroke: currentColor; }

/* v3.9.1: Latest certificates back to a comfortable size, with Type and Due columns */
.esm-panel.esm-latest { padding: 16px 18px 12px; }
.esm-latest .esm-panel__head { margin-bottom: 8px; }
.esm.esh .esm-latest .esm-h { font-size: 22px; }
.esm-latest .esm-table th { padding: 6px 8px; font-size: 11.5px; letter-spacing: .04em; }
.esm-latest .esm-table td { padding: 6px 8px; font-size: 14.5px; line-height: 1.3; height: auto; }
.esm-latest .esm-table td:nth-child(2) b { font-size: 15px; }
.esm-latest .esm-pill { padding: 4px 11px; font-size: 13px; gap: 7px; box-shadow: inset 0 2px 5px rgba(0,0,0,.8); }
.esm-latest .esm-pill .esm-led { width: 8px; height: 8px; }
.esm-latest .esm-plate { padding: 4px 12px; font-size: 13.5px; line-height: 1.3; border-radius: 9px; }

/* v3.10: 3D scale artwork tiles (picked by capacity) on dark steel */
.esp .esh-ic.esm-art { background: linear-gradient(180deg, #30353d, #1f2329); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 2px 5px rgba(0,0,0,.35); }
.esp .esh-ic.esm-art svg { width: 78%; height: 78%; }

/* v3.12: "Due for Calibration In" as dark capsules with glowing progress fills */
.esm-due-in .esm-cycle { padding: 9px 12px 10px; margin: 0 0 8px; border-radius: 12px; background: linear-gradient(180deg, #1e2228, #121418); border: 1px solid #2c3139;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 3px 8px rgba(0,0,0,.3); color: #e6e9ee !important; transition: border-color .15s, transform .15s; }
.esm-due-in .esm-cycle:hover { border-color: #4a515b; transform: translateY(-1px); }
.esm-due-in .esm-cycle__top { margin-bottom: 7px; font: 700 11px/1.2 Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #aeb6c0; }
.esm-due-in .esm-cycle__top b { color: #f1f3f6; font-weight: 700; }
.esm-due-in .esm-cycle__top .esm-mono { font-size: 11.5px; letter-spacing: .02em; color: #d3d8de; }
.esm-due-in .esm-cycle .esm-led { display: none; }
.esm-due-in .esm-track { height: 10px; padding: 2px; border-radius: 999px; background: #07080a; box-shadow: inset 0 1px 3px rgba(0,0,0,.9), 0 1px 0 rgba(255,255,255,.06); }
.esm-due-in .esm-track span { min-width: 6px; border-radius: 999px; }
.esm-glow--green span { background: linear-gradient(180deg, rgba(255,255,255,.4), rgba(255,255,255,0) 60%), linear-gradient(90deg, #38c776, #b9f56a); box-shadow: 0 0 9px rgba(150,240,110,.55); }
.esm-glow--yellow span { background: linear-gradient(180deg, rgba(255,255,255,.4), rgba(255,255,255,0) 60%), linear-gradient(90deg, #e9b934, #fff08a); box-shadow: 0 0 9px rgba(255,225,100,.5); }
.esm-glow--orange span { background: linear-gradient(180deg, rgba(255,255,255,.4), rgba(255,255,255,0) 60%), linear-gradient(90deg, #f0642f, #ffb36b); box-shadow: 0 0 9px rgba(255,140,80,.55); }
.esm-glow--red span { background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,0) 60%), linear-gradient(90deg, #d7263d, #ff7a8a); box-shadow: 0 0 9px rgba(255,80,100,.55); }
.esm-due-in .esm-more { display: inline-block; margin-top: 4px; }

/* v3.13: summary cards get upright glowing meters in place of the round gauges */
.esm-vbar { flex: none; display: flex; align-items: flex-end; width: 26px; height: 68px; padding: 4px; box-sizing: border-box; border-radius: 13px;
	background: linear-gradient(180deg, #1e2228, #0e1013); border: 1px solid #2c3139; box-shadow: inset 0 2px 5px rgba(0,0,0,.85), 0 1px 0 rgba(255,255,255,.55), 0 3px 8px rgba(0,0,0,.25); }
.esm-vbar span { display: block; width: 100%; height: var(--p, 0%); min-height: 0; border-radius: 9px; }
.esm-vbar[style*="--p:0%"] span { display: none; }
.esm-vbar--green span { background: linear-gradient(90deg, rgba(255,255,255,.4), rgba(255,255,255,0) 55%), linear-gradient(0deg, #38c776, #b9f56a); box-shadow: 0 0 10px rgba(150,240,110,.6); }
.esm-vbar--red span { background: linear-gradient(90deg, rgba(255,255,255,.35), rgba(255,255,255,0) 55%), linear-gradient(0deg, #d7263d, #ff7a8a); box-shadow: 0 0 10px rgba(255,80,100,.6); }
.esm-vbar--gold span { background: linear-gradient(90deg, rgba(255,255,255,.4), rgba(255,255,255,0) 55%), linear-gradient(0deg, #e9b934, #fff08a); box-shadow: 0 0 10px rgba(255,225,100,.55); }
.esm-vbar--blue span { background: linear-gradient(90deg, rgba(255,255,255,.4), rgba(255,255,255,0) 55%), linear-gradient(0deg, #2f7de1, #8fd0ff); box-shadow: 0 0 10px rgba(110,180,255,.6); }
.esm-vbar--violet span { background: linear-gradient(90deg, rgba(255,255,255,.4), rgba(255,255,255,0) 55%), linear-gradient(0deg, #7b4dff, #d79bff); box-shadow: 0 0 10px rgba(180,130,255,.6); }
.esm-vbar--grey span { background: linear-gradient(0deg, #5a6270, #9aa3ae); }
.esm-led--violet { background: #b07cff; box-shadow: 0 0 6px rgba(176,124,255,.8); }

/* v3.14 — page name beside the customer name */
.esm-top__name { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.esm-pagetag { display: inline-flex; align-items: center; gap: 9px; min-height: 34px; padding: 0 14px 0 12px; border-radius: 999px; background: linear-gradient(180deg,#2a2f36,#14171b); color: #f3f5f7; font: 700 15px/1 "Barlow Condensed", Barlow, sans-serif; letter-spacing: .09em; text-transform: uppercase; box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 -1px 0 rgba(0,0,0,.6), 0 3px 8px rgba(0,0,0,.35); white-space: nowrap; }
.esm-pagetag .esm-led { width: 8px; height: 8px; }
.esm-top__ask { flex: none; }
