@font-face {
  font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("./inter-cyrillic.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("./inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
:root {
  color-scheme: light;
  --paper: #f5f6f2;
  --white: #fff;
  --ink: #172a24;
  --dim: #56665f;
  --forest: #184b3e;
  --pine: #113b32;
  --line: #d9dfd7;
  --lime: #dcf49c;
  --mint: #eaf2e9;
  --radius: 18px;
  font: 15px/1.52 Inter, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box }
body { margin: 0; min-width: 280px }
h1, h2, h3, p, ul { margin: 0 }
button, input, select { font: inherit }
button { cursor: pointer }
button:disabled { cursor: not-allowed; opacity: .52 }
:focus-visible { outline: 3px solid #52876c; outline-offset: 3px }
[hidden] { display: none !important }
button, input, select { -webkit-tap-highlight-color: transparent }
input, select { color: var(--ink) }
button { color: inherit }
code, pre, .mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex: none }
.brand, .identity, .brand-mark, .btn, .avatar, .metric-head, .metric-icon, .card-label, .card-login,
.roster-title, .member, .member-icon, .empty-icon, .activation-icon { display: inline-flex; align-items: center }
.brand { gap: 11px; line-height: 1; user-select: none }
.brand-mark { height: 38px; width: 38px; border-radius: 11px; justify-content: center; color: var(--lime); background: var(--pine) }
.brand-mark .icon { width: 36px; height: 36px; stroke-width: 2.55 }
.wordmark { font-size: 25px; letter-spacing: -1.4px; font-weight: 690 }
.wordmark span { font-weight: 420 }
.btn { gap: 8px; justify-content: center; min-height: 42px; padding: 9px 16px; border-radius: 9px; border: 1px solid transparent; background: transparent; font-size: 13px; font-weight: 580; line-height: 1.35; transition: background-color .15s, border-color .15s, color .15s }
.btn .icon { width: 17px; height: 17px }
.btn[aria-busy=true] { cursor: progress; opacity: .72 }
.primary { background: var(--forest); color: white; border-color: var(--forest) }
.primary:hover { background: #0f372b }
.secondary { background: var(--white); border-color: #cfd8ce; color: var(--pine) }
.secondary:hover:not(:disabled), .logout:hover, .icon-button:hover { background: var(--mint) }
.small { min-height: 35px; padding: 7px 11px; font-size: 12px }
.icon-button { padding: 0; width: 34px; min-width: 34px; min-height: 34px; color: var(--dim) }
.icon-button span { display: none }
.danger { background: #8b382c; color: white }
.danger:hover { background: #743124 }
.danger-plain { color: #8b382c }
.danger-plain:hover { background: #f8ebe7 }
.muted, .dialog-description, .intro-copy { color: var(--dim) }
.loading { display: grid; min-height: 100svh; place-items: center; color: var(--dim) }

/* The sign-in panel shares its spectrum and ink colours with the license card. */
.entry { display: grid; grid-template-columns: 1.05fr 1fr; padding: 16px; min-height: 100svh }
.entry-cover { isolation: isolate; position: relative; min-height: 640px; overflow: hidden; border-radius: 20px; color: #fafdf5;
  padding: clamp(30px, 4vw, 78px); background: radial-gradient(ellipse at 84% 62%, #275b45 0, #143e33 38%, #0c302a 84%) }
.entry-cover::before, .license-card::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(90deg, #c7f1b010 1px, transparent 1px), linear-gradient(#c7f1b010 1px, transparent 1px);
  background-size: 54px 54px;
}
.entry-cover .brand-mark { background: var(--lime); color: #173f31 }
.entry-cover .wordmark { font-size: 27px }
.entry-intro { position: relative; margin-top: clamp(60px, 11vh, 130px); max-width: 530px }
.entry-intro h1 { font-size: clamp(54px, 5.3vw, 88px); font-weight: 510; letter-spacing: -.068em; line-height: 1.01 }
.entry-intro h1 span { display: block; color: var(--lime) }
.entry-intro p { max-width: 340px; margin-top: 23px; font-size: 16px; line-height: 1.55; color: #dbe9dd }
.entry-art, .license-card::after {
  pointer-events: none; position: absolute; z-index: -1; background: url("./spectrum.webp") center bottom / 100% 100% no-repeat;
}
.entry-art { width: 112%; height: auto; max-height: 57%; aspect-ratio: 1200 / 736; left: -6%; bottom: -1% }
.entry-side { display: grid; place-items: center; padding: 38px 8.5% }
.entry-form { width: 100%; max-width: 385px }
.entry-form h2 { font-size: clamp(31px, 3vw, 46px); line-height: 1.09; letter-spacing: -.055em; font-weight: 580 }
.intro-copy { margin: 14px 0 32px; font-size: 15px; line-height: 1.6 }
.form { display: grid; gap: 17px }
.field, .member-name { min-width: 0 }
.field label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 590 }
.input-wrap { position: relative }
.field input, .field select, .license-chooser select {
  width: 100%; min-width: 0; height: 45px; padding: 0 12px; background: #fff; border: 1px solid #c8d1c8; border-radius: 9px;
}
.field input:hover, .field select:hover, .license-chooser select:hover { border-color: #7e9788 }
.field input:focus, .field select:focus { border-color: #538368; outline: 2px solid #cfddcc; outline-offset: 0 }
.input-wrap .icon-button { position: absolute; right: 5px; top: 50%; transform: translateY(-50%) }
.field input.with-toggle { padding-right: 46px }
.entry-form .field input { height: 49px }
.submit { width: 100%; margin-top: 5px; min-height: 45px }
.entry-form .submit { margin-top: 8px; min-height: 49px; font-size: 15px }
.submit .icon { margin-left: 5px }

.shell { width: min(100% - 96px, 1280px); margin-inline: auto }
.masthead { border-bottom: 1px solid var(--line); background: #fcfdf9 }
.masthead-inner { min-height: 77px; display: flex; align-items: center; justify-content: space-between; gap: 16px }
.identity { gap: 11px; min-width: 0 }
.avatar, .metric-icon, .member-icon, .activation-icon { flex: none; justify-content: center }
.avatar { width: 36px; height: 36px; background: #e8eee2; border: 1px solid #d9e3d4; color: var(--forest); border-radius: 50% }
.avatar .icon { width: 17px; height: 17px }
.identity-text { display: grid; line-height: 1.35 }
.identity-text strong { font-size: 12px; font-weight: 620 }
.identity-text span { font-size: 11px; color: var(--dim) }
.logout { margin-left: 8px; padding-inline: 11px; color: var(--dim) }
.dashboard { padding-block: 48px 64px }
.toolbar, .tools, .card-top, .roster-head, .credentials-head, .dialog-head, .dialog-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px }
.toolbar { margin-bottom: 26px }
.toolbar h1 { font-size: clamp(35px, 3.2vw, 48px); line-height: 1.12; font-weight: 570; letter-spacing: -.062em }
.tools { gap: 9px; min-width: 0 }
.license-chooser { position: relative; display: inline-flex; align-items: center; gap: 8px; min-width: 0; min-height: 42px; padding: 8px 12px; background: var(--white); border: 1px solid #cfd8ce; border-radius: 9px; color: var(--pine); font-size: 13px; font-weight: 580; line-height: 1.35 }
.license-chooser:hover { background: var(--mint) }
.license-chooser:focus-within { outline: 3px solid #52876c; outline-offset: 3px }
.license-chooser select { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer }
.license-chooser .icon { width: 16px; height: 16px }
.license-chooser .icon:last-of-type { width: 13px; margin-left: auto }
.overview { display: grid; grid-template-columns: minmax(0,1.85fr) repeat(2,minmax(0,1fr)); gap: 16px }
.license-card, .metric, .roster { border-radius: var(--radius); min-width: 0 }
.license-card { isolation: isolate; position: relative; overflow: hidden; padding: 23px 26px 24px; display: flex; flex-direction: column;
  color: white; background: linear-gradient(110deg,#0f382f 15%,#1b503e 72%,#244e3d) }
.license-card::before { background-size: 36px 36px }
.license-card::after { content: ""; top: 16%; left: 50%; right: -25%; bottom: -35%; opacity: .47; mask-image: linear-gradient(90deg,transparent,black 43%) }
.card-top { min-height: 30px }
.card-label { gap: 8px; color: #d9ecce; text-transform: uppercase; letter-spacing: .085em; font-size: 10px; font-weight: 650 }
.card-label .icon { width: 16px; height: 16px }
.card-top .icon-button { border: 1px solid #ffffff35; background: #154331; color: #eaf5dd; width: 32px; min-width: 32px; min-height: 32px }
.card-top .icon-button:hover, .card-login .icon-button:hover { background: #396446 }
.license-card h2 { max-width: 94%; margin: 22px 0; font-size: clamp(23px,2.3vw,36px); line-height: 1.12; font-weight: 530; letter-spacing: -.045em; overflow-wrap: anywhere; text-wrap: balance }
.card-login { align-self: flex-start; gap: 4px; margin-top: auto; padding: 2px 2px 2px 9px; border-radius: 6px; border: 1px solid #cde5cd46; background: #10392fdd }
.card-login code { color: #e1eddb; font-size: 12px }
.card-login .icon-button { width: 27px; min-width: 27px; min-height: 27px; color: #d9eacb }
.card-login .icon-button .icon { width: 14px; height: 14px }
.metric, .roster, .credentials, .password-panel, .no-licenses { border: 1px solid var(--line); background: #fff }
.metric { padding: 24px; display: flex; flex-direction: column }
.metric-head { gap: 10px }
.metric-head h2 { font-size: 14px; font-weight: 590; line-height: 1.3 }
.metric-icon { width: 36px; height: 36px; border-radius: 10px; background: #eaf1e8; color: var(--forest) }
.metric:last-child .metric-icon { background: #edf0de; color: #576537 }
.metric-icon .icon { width: 19px; height: 19px }
.metric-value { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 22px 0 17px; font-variant-numeric: tabular-nums; line-height: 1; letter-spacing: -.045em }
.metric-value strong { font-size: clamp(48px,4.1vw,66px); font-weight: 500; letter-spacing: -.07em }
.metric-value span { font-size: 23px; color: #6e7970; font-weight: 410 }
.metric-value small { font-size: 11px; color: var(--dim); letter-spacing: 0 }
.track { display: block; appearance: none; color: var(--forest); width: 100%; height: 5px; min-height: 5px; margin-top: auto; border: 0; border-radius: 5px; background: #e8ece5; overflow: hidden }
.track::-webkit-progress-bar { background: #e8ece5 }
.track::-webkit-progress-value { border-radius: 5px; background: var(--forest) }
.track::-moz-progress-bar { border-radius: 5px; background: var(--forest) }
.metric-free { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; color: var(--dim); font-size: 12px }
.metric-free strong { color: var(--forest); font-weight: 650; font-variant-numeric: tabular-nums }
.rosters { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; align-items: start; margin-top: 19px }
.roster { overflow: hidden }
.roster-head { min-height: 76px; padding: 15px 23px; border-bottom: 1px solid #e5e9e2 }
.roster-title { gap: 9px; min-width: 0 }
.roster-title h2, .credentials h2 { font-size: 19px; font-weight: 600; letter-spacing: -.035em }
.count { display: grid; place-items: center; min-width: 23px; height: 22px; padding: 0 6px; background: #eff2ec; border-radius: 6px; color: #56665a; font-size: 11px; font-weight: 650 }
.empty { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 217px; text-align: center; padding: 28px 22px }
.empty-icon { justify-content: center; width: 46px; height: 46px; border-radius: 14px; border: 1px solid #d7e0d5; color: #536e5d; background: linear-gradient(145deg,#f8faf5,#e9efe5); box-shadow: inset 0 1px 0 white }
.empty-icon .icon { width: 23px; height: 23px }
.empty h3 { margin-top: 13px; font-size: 14px; font-weight: 600 }
.empty p { max-width: 330px; margin-top: 4px; color: var(--dim); font-size: 13px; line-height: 1.55; text-wrap: pretty }
.members { list-style: none; padding: 0 21px }
.member { display: flex; gap: 12px; min-height: 69px; padding: 11px 0 }
.member + .member { border-top: 1px solid #e8ebe6 }
.member-icon { width: 35px; height: 35px; background: #eef2ec; color: var(--forest); border-radius: 9px }
.member-icon.person { background: #eef1e3; border-radius: 50%; font-size: 12px; font-weight: 600 }
.member-name { flex: 1; overflow-wrap: anywhere }
.member-name strong, .member-name code { display: block }
.member-name strong { font-size: 14px; font-weight: 560 }
.member-name code { font-size: 12px; color: var(--dim) }
.activation, .credentials, .password-panel, .no-licenses { padding: 22px 24px; margin-bottom: 18px; border-radius: 14px }
.activation { display: flex; align-items: center; gap: 14px; border: 1px solid #bdcdaa; background: #eaf3dd }
.activation-icon { width: 40px; height: 40px; border-radius: 11px; background: #dae9c6; color: var(--forest) }
.activation-copy { flex: 1; min-width: 0 }
.activation-copy h2 { font-size: 17px; letter-spacing: -.025em }
.activation-copy p { margin-top: 3px; font-size: 13px; color: var(--dim); overflow-wrap: anywhere }
.activation .btn { max-width: 50%; overflow-wrap: anywhere }
.notice { display: flex; align-items: flex-start; gap: 9px; margin: 0 0 18px; padding: 12px 14px; background: #e9f2e3; border: 1px solid #c8dbc2; border-radius: 9px; color: #21482c; font-size: 13px }
.notice .icon { margin-top: 1px; width: 17px; height: 17px }
.notice.error { background: #fbefea; border-color: #e9cbc2; color: #802f22 }
.credentials p { margin-top: 3px; font-size: 13px }
.credentials pre { padding: 14px; border-radius: 8px; background: #f1f5ed; overflow-wrap: anywhere; white-space: pre-wrap; user-select: all; font-size: 14px }
.password-panel { max-width: 480px }
dialog { width: min(440px,calc(100% - 32px)); max-height: calc(100svh - 40px); border: 1px solid #ced9ce; border-radius: 18px; color: var(--ink); padding: 25px; box-shadow: 0 16px 64px #12342b35 }
dialog::backdrop { background: #102b24a3 }
.dialog-head { align-items: flex-start; margin-bottom: 20px }
.dialog-head h2 { font-size: 25px; line-height: 1.16; letter-spacing: -.045em; font-weight: 590; overflow-wrap: anywhere }
.dialog-description { margin-bottom: 18px; overflow-wrap: anywhere }
.dialog-actions { justify-content: flex-end; flex-wrap: wrap }
.dialog-body > .btn { width: 100%; margin: 3px 0 }
.settings-actions { display: grid; gap: 5px; margin-top: 22px; padding-top: 17px; border-top: 1px solid var(--line) }

@media (min-width: 1650px) {
  .entry { max-width: 1920px; margin-inline: auto }
}
@media (max-width: 1050px) {
  .shell { width: calc(100% - 52px) }
  .overview { gap: 12px; grid-template-columns: minmax(0,1.55fr) repeat(2,minmax(0,1fr)) }
  .metric { padding: 19px }
  .license-card { padding: 19px 21px }
  .roster-head { padding-inline: 17px }
}
@media (max-width: 790px) {
  .dashboard { padding-block: 30px 40px }
  .toolbar { align-items: flex-start; flex-wrap: wrap; gap: 14px }
  .overview { grid-template-columns: repeat(2,minmax(0,1fr)) }
  .license-card { grid-column: 1 / -1; min-height: 195px }
  .license-card h2 { max-width: 74%; margin: 12px 0 16px }
  .metric { padding: 15px 18px }
  .metric-value { margin: 17px 0 14px }
  .rosters { grid-template-columns: 1fr }
  .roster-head { min-height: 63px }
  .empty { min-height: 170px }
  .entry { grid-template-columns: .92fr 1fr; padding: 10px }
  .entry-cover { padding: 29px; min-height: 580px }
  .entry-intro h1 { font-size: 48px }
  .entry-intro p { font-size: 14px }
  .entry-side { padding: 28px }
}
@media (max-width: 620px) {
  .entry { display: block; padding: 0 0 24px }
  .entry-cover { min-height: auto; border-radius: 0 0 22px 22px; padding: 22px 24px 30px }
  .entry-cover .brand-mark { width: 30px; height: 30px; border-radius: 8px }
  .entry-cover .brand-mark .icon { width: 29px; height: 29px }
  .entry-cover .wordmark { font-size: 22px }
  .entry-intro { margin-top: 28px; max-width: 72% }
  .entry-intro h1 { font-size: 40px }
  .entry-intro p { display: none }
  .entry-art { width: 66%; max-height: none; left: 45%; bottom: -17%; opacity: .74 }
  .entry-side { padding: 35px 24px 18px }
  .entry-form { max-width: 440px }
  .entry-form h2 { font-size: 32px }
  .intro-copy { margin: 10px 0 22px }
  .shell { width: calc(100% - 32px) }
  .masthead-inner { min-height: 62px; gap: 8px }
  .brand { gap: 7px }
  .brand-mark { width: 31px; height: 31px; border-radius: 9px }
  .brand-mark .icon { width: 31px; height: 31px }
  .wordmark { font-size: 21px }
  .identity { gap: 7px }
  .identity-text strong { font-size: 11px }
  .avatar { display: none }
  .logout { padding: 0; min-width: 34px; min-height: 38px; margin-left: 2px }
  .logout span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%) }
  .toolbar, .tools { width: 100% }
  .toolbar { margin-bottom: 18px }
  .tools:empty { display: none }
  .license-chooser { flex: 1; min-width: 0; justify-content: center; padding-inline: 8px }
  .license-chooser .icon:first-child { display: none }
  .tools .btn { flex-shrink: 0; padding-inline: 11px }
  .overview, .rosters { gap: 10px }
  .license-card { min-height: 177px; padding: 17px 18px }
  .license-card h2 { max-width: 90%; font-size: 25px }
  .metric { padding: 14px 13px }
  .metric-head { gap: 7px }
  .metric-head h2 { font-size: 12px }
  .metric-icon { width: 27px; height: 27px; border-radius: 8px }
  .metric-icon .icon { width: 15px; height: 15px }
  .metric-value strong { font-size: 40px }
  .metric-value span { font-size: 18px }
  .rosters { margin-top: 12px }
  .roster-head { gap: 5px; padding: 12px 13px }
  .roster-head .small { padding: 7px; gap: 4px; font-size: 11px }
  .roster-title { gap: 6px }
  .roster-title h2 { font-size: 17px }
  .activation { flex-wrap: wrap; padding: 15px }
  .activation .btn { width: 100%; max-width: none }
  dialog { padding: 20px }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important }
}
