.esip-workspace {
  --ink: #25243a;
  --muted: #625f76;
  --line: #e7e4ef;
  --accent: #6350cf;
  --surface: #fff;
  --canvas: #f6f5fa;
  background: var(--canvas);
  font-family: "Instrument Sans", Inter, system-ui, -apple-system, sans-serif;
}
.esip-shell { grid-template-columns: 225px minmax(0, 1fr); }
.esip-sidebar { gap: 20px; padding: 20px 14px 16px; }
.esip-brand { gap: 10px; font-size: 1.12rem; }
.esip-mark { background: linear-gradient(135deg,#8773f5,#5a44cc); box-shadow: 0 4px 12px #6350cf32; }
.esip-nav-group summary { font-size: .77rem; letter-spacing: .04em; text-transform: uppercase; }
.esip-nav-group a { font-size: .9rem; padding: 7px 11px; }
.esip-topbar { margin: 14px clamp(14px,3vw,30px) 0; min-height: 49px; padding: 5px 14px; font-size: .85rem; }
.esip-topbar-title { color: var(--ink); margin-left: auto; }
.esip-content { max-width: 1500px; padding: 20px clamp(14px,3vw,30px) 36px; }
.esip-workspace h1 { color: var(--ink); font-size: clamp(1.55rem, 2.4vw, 2.05rem); font-weight: 750; letter-spacing: -.04em; }
.esip-workspace h2 { color: var(--ink); font-size: 1.03rem; font-weight: 700; margin: 0 0 12px; line-height: 1.25; }
.esip-workspace p { color: var(--muted); }
.esip-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.esip-heading p, .esip-panel-header p { margin: 3px 0 0; font-size: .88rem; }
.esip-action { background: #6350cf; color: #fff; border-radius: 8px; padding: 9px 14px; text-decoration: none; font-weight: 650; }
.esip-action:hover { background: #4d38b8; color: #fff; }
.esip-widgets { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 155px),1fr)); gap: 12px; margin-bottom: 15px; }
.esip-widget {
  min-width: 0; display: grid; align-content: center; gap: 3px; min-height: 78px;
  background: var(--surface); border: 1px solid var(--line); border-inline-start: 4px solid var(--tone, #7863e7);
  border-radius: 10px; padding: 10px 12px; box-shadow: 0 4px 14px #302c450a;
}
.esip-widget span { font-size: .79rem; color: var(--muted); }
.esip-widget strong { font-size: 1.31rem; color: var(--ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.esip-tone-green { --tone: #269c70; }
.esip-tone-amber { --tone: #c77d25; }
.esip-tone-blue { --tone: #397cc6; }
.esip-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; align-items: start; }
.esip-overview-grid { grid-template-columns: minmax(0,1.9fr) minmax(0,1fr); }
.esip-panel, .esip-content > .card {
  min-width: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
  padding: clamp(13px, 2vw, 20px); box-shadow: 0 7px 24px #302c450b;
}
.esip-content > .esip-page { width: 100%; max-width: none; display: flow-root; border: 0; background: transparent; box-shadow: none; padding: 0; }
.esip-page > h1 { margin-bottom: 12px; }
.esip-panel-header { display: flex; gap: 12px; justify-content: space-between; align-items: start; margin-bottom: 12px; }
.esip-panel-header h2 { margin: 0; }
.esip-panel-header > a { font-size: .82rem; white-space: nowrap; }
.esip-content form { max-width: none; margin: 0; }
.esip-input-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 13px; align-items: start; }
.esip-input-grid > button, .esip-input-grid > p { grid-column: 1 / -1; justify-self: start; }
.esip-field { min-width: 0; }
.esip-field > label { margin-bottom: 3px; }
.esip-workspace .esip-content input:not([type=hidden]), .esip-workspace .esip-content select {
  min-height: 39px; margin: 0 0 8px; width: 100%; padding: 7px 9px;
  border: 1px solid #cbc6d9; border-radius: 7px; font-size: .9rem; background: #fff;
}
.esip-workspace .esip-field input:not([type=hidden]), .esip-workspace .esip-field select { margin: 0; }
.esip-workspace .primary { min-height: 37px; padding: 7px 12px; font-size: .86rem; }
.esip-content form + h2 { margin-top: 17px; }
.esip-content .message { margin: 8px 0 12px; color: #423288; }
.esip-content .message.error { color: #96233d; }
.esip-content .intro { margin: 0 0 12px; }
.esip-content .esip-list { padding: 0; margin: 0; list-style: none; }
.esip-content .esip-list > li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.esip-content .esip-list > li:last-child { border-bottom: 0; }
.esip-list[hidden], .esip-content [hidden] { display: none !important; }
.esip-list .esip-compact-list { padding-left: 14px; }
.esip-quick-links { padding: 0; margin: 0; list-style: none; }
.esip-quick-links a { display: flex; justify-content: space-between; padding: 10px 0; gap: 8px; text-decoration: none; border-bottom: 1px solid var(--line); font-weight: 600; }
.esip-chart { margin: 0; }
.esip-bars { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); list-style: none; gap: 9px; padding: 0; margin: 0; text-align: center; }
.esip-bars li { display: grid; gap: 5px; justify-items: center; color: var(--muted); font-size: .76rem; }
.esip-bar-count { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.esip-bar-track { height: 96px; width: 100%; max-width: 38px; display: flex; align-items: end; border-radius: 6px; background: #f4f1fc; overflow: hidden; }
.esip-bar { width: 100%; border-radius: 5px; background: linear-gradient(175deg,#8a77e9,#6750cf); }
.esip-empty { margin: 0; padding: 16px 0; }
.esip-filter { display: flex; align-items: end; gap: 10px; margin: 8px 0 9px; flex-wrap: wrap; }
.esip-filter label { display: block; flex: 0 1 260px; margin: 0; }
.esip-filter label.esip-filter-page-size { flex: 0 0 76px; }
.esip-filter-status { font-size: .78rem; color: var(--muted); margin-bottom: 10px; }
.esip-pagination { display: flex; align-items: center; justify-content: end; gap: 8px; font-size: .8rem; margin-top: 9px; }
.esip-pagination button { border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); min-height: 36px; padding: 5px 10px; }
.esip-pagination button:disabled { opacity: .52; cursor: default; }
.esip-disclosure { border: 1px solid var(--line); border-radius: 8px; margin-top: 12px; padding: 8px 11px; }
.esip-disclosure > summary { cursor: pointer; font-weight: 650; }
.esip-disclosure[open] > summary { margin-bottom: 10px; }
.esip-login { background: radial-gradient(ellipse at 20% 12%,#ebe3ff,transparent 55%),#f6f5fa; }
.esip-login .login-shell { background: transparent; }
.esip-login .card { max-width: 420px; border-radius: 14px; border-top: 4px solid #7562e8; }
.esip-login .brand { margin-bottom: 20px; }
@media (max-width: 1030px) {
  .esip-grid { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 740px) {
  .esip-shell, .esip-shell:has(.esip-sidebar[hidden]) { grid-template-columns: minmax(0,1fr); }
  .esip-topbar { margin-top: 8px; }
  .esip-widgets { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 430px) {
  .esip-input-grid { grid-template-columns: minmax(0,1fr); }
  .esip-bars { gap: 5px; }
}
.esip-height-0 { height: 0%; }
.esip-height-1 { height: 5%; }
.esip-height-2 { height: 10%; }
.esip-height-3 { height: 15%; }
.esip-height-4 { height: 20%; }
.esip-height-5 { height: 25%; }
.esip-height-6 { height: 30%; }
.esip-height-7 { height: 35%; }
.esip-height-8 { height: 40%; }
.esip-height-9 { height: 45%; }
.esip-height-10 { height: 50%; }
.esip-height-11 { height: 55%; }
.esip-height-12 { height: 60%; }
.esip-height-13 { height: 65%; }
.esip-height-14 { height: 70%; }
.esip-height-15 { height: 75%; }
.esip-height-16 { height: 80%; }
.esip-height-17 { height: 85%; }
.esip-height-18 { height: 90%; }
.esip-height-19 { height: 95%; }
.esip-height-20 { height: 100%; }
.esip-stack { display: grid; gap: 14px; margin-top: 14px; }
.esip-page > nav { margin-bottom: 5px; font-size: .86rem; }
.esip-content .esip-cdr-search { max-width: 420px; }
