.hems-shell {
  margin:0;
  background:#f4f6f8;
}
#hems-portal {
  --ink:#142b32;
  --muted:#596b73;
  --accent:#087b70;
  --line:#dce5e7;
  color:var(--ink);
  background:#f4f6f8;
  font:16px/1.6 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  min-height:100vh;
  text-align:left;
}
#hems-portal * {
  box-sizing:border-box;
}
#hems-portal a {
  color:var(--accent);
  text-decoration:none;
}
#hems-portal a:hover {
  text-decoration:underline;
}
#hems-portal h1,#hems-portal h2,#hems-portal h3 {
  font-family:inherit;
  color:var(--ink);
  line-height:1.2;
  margin:0 0 18px;
  font-weight:700;
  letter-spacing:-.025em;
}
#hems-portal h1 {
  font-size:clamp(30px,4vw,48px);
  max-width:800px;
}
#hems-portal h2 {
  font-size:23px;
}
#hems-portal h3 {
  font-size:20px;
}
#hems-portal p {
  margin:0 0 20px;
}
#hems-portal small {
  font-size:12px;
  color:var(--muted);
}
#hems-portal .hems-top {
  background:#fff;
  border-bottom:1px solid var(--line);
  padding:20px max(24px,calc((100vw - 1120px)/2));
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
}
#hems-portal .hems-brand {
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--ink);
  font-weight:800;
  letter-spacing:.05em;
}
#hems-portal .hems-brand small {
  display:block;
  font-weight:400;
  letter-spacing:0;
}
#hems-portal .hems-mark {
  background:var(--accent);
  color:#fff;
  border-radius:12px;
  padding:9px 17px;
  font-size:24px;
}
#hems-portal .hems-main {
  max-width:1168px;
  padding:28px 24px 60px;
  margin:auto;
}
#hems-portal .hems-nav {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  overflow:auto;
  padding-bottom:12px;
  margin-bottom:20px;
}
#hems-portal .hems-nav a {
  padding:10px 18px;
  border-radius:9px;
  color:var(--muted);
  white-space:nowrap;
  font-weight:600;
}
#hems-portal .hems-nav a[aria-current] {
  background:#dceeea;
  color:#075e56;
}
#hems-portal .hems-hero {
  padding:30px 0;
}
#hems-portal .hems-hero p {
  max-width:620px;
  color:var(--muted);
}
#hems-portal .hems-eyebrow {
  display:block;
  color:var(--accent);
  font-size:12px;
  letter-spacing:.15em;
  font-weight:800;
  margin-bottom:14px;
}
#hems-portal label {
  display:block;
  font-size:13px;
  font-weight:650;
  color:var(--ink);
  margin-bottom:16px;
}
#hems-portal input:not([type=hidden]):not([type=checkbox]),#hems-portal select,#hems-portal textarea {
  display:block;
  width:100%;
  max-width:100%;
  margin:6px 0 0;
  border:1px solid #bacbd0;
  background:#fff;
  border-radius:8px;
  padding:12px;
  font-size:15px;
  line-height:1.4;
  font-family:inherit;
  color:var(--ink);
  min-height:46px;
  box-shadow:none;
}
#hems-portal input[type=checkbox] {
  width:auto;
}
#hems-portal input:disabled {
  opacity:.6;
}
#hems-portal button,#hems-portal .hems-button,#hems-portal input[type=submit] {
  display:inline-block;
  width:auto;
  background:var(--accent);
  color:#fff;
  border:1px solid var(--accent);
  border-radius:8px;
  padding:12px 19px;
  min-height:46px;
  font:600 14px/1.5 system-ui;
  cursor:pointer;
  text-decoration:none;
}
#hems-portal button:hover,#hems-portal .hems-button:hover {
  background:#075f57;
}
#hems-portal :focus-visible {
  outline:3px solid #ddaa32;
  outline-offset:3px;
}
#hems-portal .hems-secondary {
  background:#fff;
  color:var(--accent);
}
#hems-portal .hems-secondary:hover {
  background:#e8f4f1;
}
#hems-portal .hems-search {
  background:white;
  padding:22px;
  border:1px solid var(--line);
  border-radius:14px;
  display:flex;
  gap:14px;
  align-items:flex-end;
  margin:0 0 32px;
}
#hems-portal .hems-search label {
  margin:0;
  min-width:150px;
}
#hems-portal .hems-grow {
  flex:1;
}
#hems-portal .hems-row {
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:12px;
}
#hems-portal .hems-row span {
  color:var(--muted);
  font-size:13px;
}
#hems-portal .hems-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
#hems-portal .hems-card {
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  padding:24px;
  display:flex;
  flex-direction:column;
  overflow-wrap:anywhere;
}
#hems-portal .hems-card h3 a {
  color:var(--ink);
}
#hems-portal .hems-card p {
  color:var(--muted);
  font-size:14px;
}
#hems-portal .hems-tag {
  align-self:flex-start;
  font-size:11px;
  letter-spacing:.04em;
  color:#09665d;
  background:#e7f2ef;
  padding:4px 9px;
  border-radius:6px;
  margin-bottom:18px;
  font-weight:700;
}
#hems-portal .hems-card-meta {
  font-size:12px;
  color:var(--muted);
  margin-top:auto;
  padding:16px 0 12px;
  border-top:1px solid var(--line);
}
#hems-portal .hems-panel,#hems-portal .hems-empty,#hems-portal .hems-login {
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:28px;
  margin-bottom:24px;
}
#hems-portal .hems-empty {
  text-align:center;
  padding:45px 24px;
}
#hems-portal .hems-login {
  max-width:620px;
  margin:40px auto;
}
#hems-portal .hems-login form {
  max-width:400px;
}
#hems-portal .hems-help {
  font-size:13px;
  color:var(--muted);
  margin-top:14px;
}
#hems-portal .hems-fields {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0 20px;
}
#hems-portal .hems-notice {
  background:#e0f2eb;
  padding:14px 20px;
  border-left:4px solid var(--accent);
  border-radius:5px;
}
#hems-portal .hems-back {
  display:inline-block;
  margin:12px 0 24px;
}
#hems-portal .hems-summary {
  white-space:normal;
  overflow-wrap:anywhere;
}
#hems-portal dl {
  display:grid;
  grid-template-columns:180px 1fr;
  gap:10px;
  margin-bottom:28px;
}
#hems-portal dt {
  color:var(--muted);
}
#hems-portal dd {
  margin:0;
  font-weight:600;
}
#hems-portal .hems-inline {
  display:inline-block;
  margin:0 0 24px 10px;
}
#hems-portal .hems-table {
  overflow-x:auto;
}
#hems-portal table {
  width:100%;
  border-collapse:collapse;
  font-size:14px;
}
#hems-portal th,#hems-portal td {
  text-align:left;
  padding:14px 12px;
  border-bottom:1px solid var(--line);
}
#hems-portal th {
  color:var(--muted);
  font-size:12px;
}
#hems-portal .hems-pagination {
  display:flex;
  justify-content:space-between;
  gap:20px;
  margin-top:24px;
}
#hems-portal .hems-footer {
  text-align:center;
  padding:24px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:12px;
}
@media(max-width:900px) {
  #hems-portal .hems-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  #hems-portal .hems-search {
    flex-wrap:wrap;
  }
  #hems-portal .hems-search .hems-grow {
    flex-basis:100%;
  }
}
@media(max-width:600px) {
  #hems-portal .hems-grid,#hems-portal .hems-fields {
    grid-template-columns:1fr;
  }
  #hems-portal .hems-main {
    padding:20px 16px 40px;
  }
  #hems-portal .hems-top {
    padding:16px;
  }
  #hems-portal .hems-brand {
    font-size:14px;
  }
  #hems-portal .hems-panel,#hems-portal .hems-search {
    padding:20px;
  }
  #hems-portal .hems-search label,#hems-portal .hems-search button {
    width:100%;
  }
  #hems-portal .hems-nav a {
    padding:9px 12px;
    font-size:14px;
  }
  #hems-portal dl {
    grid-template-columns:1fr;
    gap:4px;
  }
  #hems-portal dd {
    margin-bottom:12px;
  }
  #hems-portal .hems-inline {
    display:block;
    margin:16px 0;
  }
  #hems-portal .hems-login {
    margin:12px auto;
  }
}
