:root {
  color-scheme: light;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 14px;
  color: #17223b;
  background: #f3f6fb;
  --muted: #556580;
  --line: #dbe3ef;
  --blue: #234dd6;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, p, dl { margin: 0; }
h1 { font-size: 34px; line-height: 1.15; letter-spacing: -.035em; }
h2 { font-size: 20px; line-height: 1.3; letter-spacing: -.02em; }
h3 { font-size: 15px; }
a { color: var(--blue); }
:focus-visible { outline: 3px solid #6685fc; outline-offset: 2px; }
.muted, small { color: var(--muted); }
.muted { line-height: 1.5; }
.topbar, .brand, .identity, .page-heading, .card-heading, .buttons { display: flex; }
.topbar {
  min-height: 66px;
  padding: 10px 28px;
  align-items: center;
  justify-content: space-between;
  background: white;
  border-bottom: 1px solid var(--line);
}
.brand, .identity { gap: 11px; align-items: center; }
.brand { font-size: 17px; }
.brand-mark, .avatar {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border-radius: 8px;
  background: var(--blue);
  color: white;
  font-weight: 700;
}
.brand-section { padding-left: 11px; border-left: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.avatar { background: #e9efff; color: #2444ae; border-radius: 50%; }
.identity-copy { display: grid; gap: 2px; }
.workspace { display: grid; grid-template-columns: 212px minmax(0, 1fr); min-height: calc(100vh - 66px); }
.sidebar { background: white; border-right: 1px solid var(--line); padding: 25px 15px; }
.sidebar nav { display: grid; gap: 5px; }
.sidebar a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 7px;
  color: #394863;
  text-decoration: none;
  font-weight: 600;
}
.sidebar a:hover, .sidebar a[aria-current] { background: #eaf0ff; color: #2144bc; }
.nav-icon { width: 15px; height: 15px; flex: none; display: inline-block; position: relative; }
.license-icon { border: 1.5px solid currentColor; border-radius: 3px; }
.license-icon::after { content: ""; position: absolute; inset: 4px 2px; border-block: 1px solid currentColor; }
.customer-icon::before { content: ""; position: absolute; inset: 0 5px 8px; border: 1.5px solid currentColor; border-radius: 50%; }
.customer-icon::after { content: ""; position: absolute; inset: 8px 1px 0; border: 1.5px solid currentColor; border-radius: 5px 5px 2px 2px; }
.plan-icon { border: 1.5px solid currentColor; border-radius: 50%; }
.plan-icon::after { content: ""; position: absolute; left: 6px; top: -1px; width: 6px; height: 6px; border-left: 1px solid; border-bottom: 1px solid; }
.content { width: 100%; max-width: 1570px; padding: 34px 28px 56px; margin-inline: auto; }
.page-heading { flex-direction: column; gap: 7px; margin-bottom: 22px; }
.grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.card { background: white; border: 1px solid var(--line); border-radius: 12px; min-width: 0; padding: 21px; box-shadow: 0 2px 5px #1c3a7010; }
.card-heading { align-items: start; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.stack, .editor { display: grid; gap: 14px; min-width: 0; }
.buttons { gap: 8px; align-items: center; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  min-height: 38px;
  border: 1px solid #c9d5e8;
  border-radius: 7px;
  background: white;
  color: #243862;
  text-decoration: none;
  font-weight: 650;
  cursor: pointer;
}
.button:hover { background: #f0f4ff; }
.button.primary { border-color: var(--blue); background: var(--blue); color: white; }
.button.primary:hover { background: #1b3db6; }
.button.quiet { border-color: transparent; }
.button:disabled { cursor: default; opacity: .52; }
.button.mobile-jump { display: none; }
label { display: grid; gap: 6px; font-weight: 650; }
.field { display: grid; gap: 6px; min-width: 0; }
input:not([type="checkbox"]), select, textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #c9d5e8;
  border-radius: 7px;
  min-height: 39px;
  padding: 8px 10px;
  background: white;
  color: inherit;
}
input:disabled, select:disabled, input:read-only { background: #f1f4f9; }
textarea { resize: vertical; }
.json { font-family: ui-monospace, Consolas, monospace; }
.check { display: flex; align-items: baseline; gap: 8px; }
.filters { display: grid; gap: 9px; grid-template-columns: minmax(0, 1fr) minmax(145px, auto); }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 11px 9px; border-bottom: 1px solid #e7edf5; overflow-wrap: break-word; vertical-align: middle; }
th { font-size: 12px; font-weight: 650; color: var(--muted); white-space: nowrap; background: #f7f9fd; }
tr.selected td { background: #eef3ff; }
.table-link { display: inline; background: none; border: 0; padding: 0; cursor: pointer; color: #2547b7; font-weight: 650; text-align: left; }
.table-link:hover { text-decoration: underline; }
.status { display: inline-flex; align-items: baseline; gap: 6px; font-size: 12px; font-weight: 650; }
.status::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.active { color: #18734e; }
.pending, .expiring, .grace { color: #895800; }
.expired, .revoked { color: #a1273b; }
.superseded, .archived { color: var(--muted); }
.divider { margin-top: 19px; padding-top: 19px; border-top: 1px solid var(--line); }
.divider .card-heading { margin-bottom: 0; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 17px; }
.facts dt { font-size: 12px; color: var(--muted); margin-bottom: 3px; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.drop { position: relative; justify-items: center; text-align: center; gap: 4px; border: 1.5px dashed #aabce4; border-radius: 9px; background: #f8faff; padding: 17px 10px; color: #2849b6; cursor: pointer; }
.drop:hover, .drop:focus-within { background: #ecf2ff; border-color: var(--blue); }
.drop:focus-within { outline: 3px solid #6685fc; outline-offset: 2px; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-mark { font-size: 22px; line-height: 1; }
.notice { border: 1px solid #ccdaf7; background: #edf3ff; color: #23419c; border-radius: 8px; padding: 10px 12px; overflow-wrap: anywhere; line-height: 1.45; }
.notice.success { border-color: #c1e6d5; background: #eefaf4; color: #186145; }
.notice.error { border-color: #efc5ca; background: #fff2f3; color: #9d2639; }
.notice.warning { border-color: #f0d4a1; background: #fff8eb; color: #76500f; }
#message { margin-bottom: 15px; }
.entry { display: grid; justify-items: center; padding: clamp(29px, 12vh, 120px) 16px 35px; }
.login { width: min(100%, 390px); display: grid; gap: 17px; padding: 28px; }
.login h1 { font-size: 28px; }
.login .muted { margin-top: -10px; }
details summary { cursor: pointer; font-weight: 650; color: #31477a; }
details[open] summary { margin-bottom: 10px; }
pre { margin: 0; padding: 10px; background: #f2f5fb; border-radius: 6px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; }
.empty { padding: 18px 4px; color: var(--muted); line-height: 1.5; }

@media (max-width: 1150px) {
  .workspace { grid-template-columns: 165px minmax(0, 1fr); }
  .content { padding-inline: 20px; }
  .grid { gap: 14px; }
  .card { padding: 16px; }
}
@media (max-width: 920px) {
  .grid { grid-template-columns: 1fr; }
  .button.mobile-jump { display: inline-flex; }
}
@media (max-width: 620px) {
  .topbar { padding: 9px 13px; min-height: 56px; }
  .identity-copy, .avatar { display: none; }
  .workspace { display: block; }
  .sidebar { border-right: 0; border-bottom: 1px solid var(--line); padding: 7px 9px; }
  .sidebar nav { display: flex; gap: 3px; }
  .sidebar a { padding: 9px; gap: 6px; }
  .content { padding: 23px 11px 36px; }
  h1 { font-size: 29px; }
  th, td { padding-inline: 6px; }
  .card-heading { flex-wrap: wrap; }
}
