@charset "UTF-8";

:root {
  --bg: #0b0f17;
  --surface: #121925;
  --surface-2: #161f2d;
  --surface-3: #1b2636;
  --line: #253246;
  --line-soft: #1d293a;
  --ink: #f1f5fc;
  --muted: #8c9db5;
  --mint: #8ce9c1;
  --mint-deep: #102f2b;
  --blue: #74adff;
  --violet: #b7a0ff;
  --amber: #f2c46b;
  --red: #ff9d9d;
  --radius: 18px;
  --shadow: 0 16px 40px #0002;
  font-family: Inter,"Segoe UI",Arial,sans-serif;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: .42;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 4px;
}

button:focus:not(:focus-visible) {
  outline: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -.045em;
}

h1 {
  font-size: 36px;
  font-weight: 760;
}

h2 {
  font-size: 22px;
  font-weight: 730;
}

p {
  color: var(--muted);
}

small {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

strong {
  font-weight: 650;
}

code,
.mono {
  font-family: ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
}

code {
  color: var(--mint);
  font-size: .92em;
}

.icon {
  width: 21px;
  height: 21px;
  flex: none;
  vertical-align: middle;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.block {
  display: block;
}

.eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .16em;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 650;
  color: var(--mint);
  white-space: nowrap;
}

.text-link .icon {
  width: 16px;
  height: 16px;
}

.text-link:hover {
  color: #c3ffe5;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 720;
  line-height: 1.25;
  white-space: nowrap;
  transition: background .18s,transform .18s,border-color .18s;
}

.btn .icon {
  width: 18px;
  height: 18px;
}

.btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.btn.primary {
  background: var(--mint);
  color: #09261e;
  box-shadow: 0 5px 20px #8ce9c115;
}

.btn.primary:hover {
  background: #b1f5d8;
}

.btn.secondary {
  background: #1c2839;
  border-color: #2b3b52;
  color: #d9e4f5;
}

.btn.secondary:hover {
  background: #24334a;
}

.btn.full {
  width: 100%;
}

.btn.small {
  min-height: 34px;
  padding: 8px 11px;
  font-size: 11px;
}

.button-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.square-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #30423c;
  background: #1a2e2a;
  color: var(--mint);
  border-radius: 12px;
  flex: none;
}

.square-icon .icon {
  width: 22px;
  height: 22px;
}

.square-icon.blue {
  background: #172944;
  color: var(--blue);
  border-color: #294568;
}

.square-icon.violet {
  background: #28213d;
  color: var(--violet);
  border-color: #3b3152;
}

.square-icon.amber {
  background: #32291e;
  color: var(--amber);
  border-color: #4c3d28;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  padding: 5px 9px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 650;
  border: 1px solid transparent;
}

.pill.good {
  background: #152d28;
  color: var(--mint);
  border-color: #264238;
}

.pill.warm {
  background: #322c21;
  color: #dfbe7c;
  border-color: #483c27;
}

.pill.dim {
  background: #33282a;
  color: #e4a2a2;
  border-color: #4c3538;
}

.pill.neutral {
  color: #a8b9cf;
  background: #1b2737;
  border-color: #2a3a50;
}

.help-text {
  font-size: 12px;
  color: var(--muted);
}

.alert {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  padding: 15px 17px;
  margin-bottom: 22px;
  border-radius: 11px;
  font-size: 13px;
}

.alert.error {
  background: #321e24;
  color: #ffc4cc;
  border-color: #61313e;
}

.alert.success {
  background: #163128;
  color: #b0efd0;
  border-color: #2b5140;
}

.alert.warning {
  background: #312a1d;
  color: #edd4a5;
  border-color: #594b30;
}

.skip-link {
  position: fixed;
  left: 260px;
  top: -60px;
  z-index: 99;
  padding: 12px 18px;
  background: var(--mint);
  color: #09261e;
  border-radius: 0 0 10px 10px;
}

.skip-link:focus {
  top: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  font-weight: 850;
  letter-spacing: -.045em;
  font-size: 17px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 35px;
  height: 39px;
  color: var(--mint);
  background: #18342d;
  border: 1px solid #345447;
  border-radius: 9px;
}

.brand-mark .icon {
  width: 25px;
  height: 25px;
}

.brand small {
  display: block;
  letter-spacing: .12em;
  font-size: 7px;
  font-weight: 650;
  color: #667c91;
  line-height: 1.6;
  margin-top: 4px;
}

.version {
  font-size: 9px;
  align-self: flex-start;
  padding: 3px 5px;
  margin: 2px 0 0 auto;
  letter-spacing: 0;
  color: #8ca2bf;
  background: #1d2a3e;
  border: 1px solid #2c3b50;
  border-radius: 4px;
}

.sidebar {
  position: fixed;
  z-index: 30;
  inset: 0 auto 0 0;
  width: 244px;
  background: #0e1520;
  border-right: 1px solid var(--line-soft);
  padding: 30px 20px 16px;
  display: flex;
  flex-direction: column;
}

.sidebar .brand {
  margin-bottom: 45px;
}

.nav-label {
  font-size: 9px;
  letter-spacing: .16em;
  font-weight: 750;
  color: #556981;
  padding: 0 13px;
  margin-bottom: 13px;
}

.nav-label.second {
  margin-top: 30px;
}

.main-nav {
  display: grid;
  gap: 5px;
}

.main-nav>a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  border-radius: 9px;
  padding: 0 13px;
  font-size: 12px;
  font-weight: 620;
  color: #8c9eb7;
  border: 1px solid transparent;
  position: relative;
}

.main-nav>a>.icon {
  color: #71859f;
  width: 18px;
  height: 18px;
}

.main-nav>a:hover {
  color: #dce9fc;
  background: #172230;
}

.main-nav>a.active {
  background: #193129;
  border-color: #2e4b3c;
  color: #b1f3d1;
}

.main-nav>a.active>.icon {
  color: #9ae6bf;
}

.nav-dot {
  width: 5px;
  height: 5px;
  background: var(--mint);
  border-radius: 50%;
  margin-left: auto;
}

.main-nav.secondary>a>.icon:last-child {
  width: 13px;
  height: 13px;
  margin-left: auto;
}

.sidebar-bottom {
  margin-top: auto;
  padding-top: 28px;
}

.profile-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px 17px;
  border-bottom: 1px solid var(--line-soft);
}

.profile-link strong {
  font-size: 11px;
  display: block;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-link small {
  font-size: 10px;
  display: block;
}

.profile-link>.icon {
  width: 15px;
  height: 15px;
  color: #60738f;
  margin-left: auto;
}

.avatar {
  height: 35px;
  width: 35px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  font-size: 12px;
  line-height: 1;
  font-weight: 750;
  flex: none;
}

.avatar-0 {
  background: #203550;
  color: #96bff5;
}

.avatar-1 {
  background: #2b3029;
  color: #d4d7a1;
}

.avatar-2 {
  background: #2c2844;
  color: #b9a8ed;
}

.avatar-3 {
  background: #213c35;
  color: #a3dfc5;
}

.profile-avatar {
  background: #254439;
  color: #b3ecd0;
  width: 31px;
  height: 31px;
}

.logout-btn {
  width: 100%;
  padding: 15px 8px 2px;
  display: flex;
  gap: 10px;
  align-items: center;
  border: 0;
  background: transparent;
  font-size: 10px;
  color: #6d819e;
  text-align: left;
}

.logout-btn .icon {
  width: 14px;
  height: 14px;
}

.logout-btn:hover {
  color: #e8f0ff;
}

.workspace {
  margin-left: 244px;
  min-width: 0;
}

.topbar {
  height: 77px;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  background: #0b111b;
  gap: 20px;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 17px;
}

.breadcrumb {
  font-size: 10px;
  color: #b5c4d7;
  font-weight: 600;
}

.breadcrumb span {
  margin: 0 13px;
  color: #4b607a;
}

.group-select {
  display: flex;
  align-items: center;
  border: 1px solid #29364b;
  background: #131e2d;
  border-radius: 9px;
  padding: 3px 6px 3px 12px;
  height: 36px;
  max-width: 350px;
}

.group-select label {
  display: grid;
  place-items: center;
}

.group-select .icon {
  width: 15px;
  height: 15px;
  color: #6d86a6;
}

.group-select select {
  border: 0;
  background: transparent;
  font-size: 11px;
  color: #b0c0d7;
  padding: 5px 22px 5px 9px;
  max-width: 265px;
  width: auto;
  min-height: unset;
}

.group-go {
  display: grid;
  place-items: center;
  border: 0;
  border-left: 1px solid #2a3c50;
  background: transparent;
  padding: 3px 3px 3px 8px;
}

.group-go:hover .icon {
  color: var(--mint);
}

.role-badge {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
  color: #b4c6df;
  border: 1px solid #314056;
  padding: 6px 9px;
  border-radius: 6px;
}

.menu-toggle,
.sidebar-shade {
  display: none;
}

.main-content {
  max-width: 1450px;
  margin: 0 auto;
  padding: 37px 38px 0;
}

.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.page-heading>.btn {
  margin-top: 13px;
}

.page-heading .eyebrow {
  font-size: 9px;
  margin-bottom: 10px;
  color: #758ba5;
}

.page-heading h1 {
  font-size: 30px;
  line-height: 1.1;
}

.heading-dot {
  color: var(--mint);
}

.page-heading p {
  font-size: 12px;
  margin-top: 10px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 16px;
  margin-bottom: 23px;
}

.stat-card {
  border: 1px solid var(--line-soft);
  background: var(--surface);
  padding: 19px 21px 17px;
  border-radius: 13px;
}

.stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.stat-top>span:first-child {
  font-size: 10px;
  font-weight: 620;
  color: #9dafc5;
}

.stat-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #1c2e42;
  color: var(--blue);
}

.stat-icon .icon {
  width: 16px;
  height: 16px;
}

.stat-icon.mint {
  background: #1d332e;
  color: #90d5b8;
}

.stat-icon.violet {
  background: #2c2940;
  color: #b6a4e2;
}

.stat-icon.amber {
  background: #342d23;
  color: #e2bb75;
}

.stat-card>strong {
  font-size: 30px;
  letter-spacing: -.035em;
  display: block;
  line-height: 1.1;
  margin: 13px 0 8px;
  font-weight: 740;
}

.stat-card>small {
  font-size: 9px;
  color: #667e98;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 22px;
}

.panel {
  padding: 25px;
  border: 1px solid var(--line-soft);
  background: var(--surface);
  border-radius: var(--radius);
  min-width: 0;
  box-shadow: var(--shadow);
}

.panel+.panel {
  margin-top: 22px;
}

.two-column>.panel+.panel {
  margin-top: 0;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 23px;
}

.panel-head .eyebrow {
  font-size: 8px;
  color: #6b839e;
  margin-bottom: 8px;
}

.panel-head h2 {
  font-size: 18px;
}

.panel-head .text-link {
  font-size: 10px;
}

.subtle-icon {
  color: #536d88;
}

.subtle-icon .icon {
  width: 25px;
  height: 25px;
}

.leader-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.leader-list>li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 65px;
  border-bottom: 1px solid var(--line-soft);
}

.leader-list>li:last-child {
  border-bottom: 0;
}

.rank {
  width: 23px;
  flex: none;
  text-align: center;
  font-size: 11px;
  color: #6c829f;
  font-weight: 650;
}

.rank-1 {
  color: var(--amber);
}

.rank-1 .icon {
  width: 18px;
  height: 18px;
}

.rank-2 {
  color: #c6d0dd;
}

.rank-3 {
  color: #bda78a;
}

.person {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.person strong {
  font-size: 11px;
  overflow-wrap: anywhere;
}

.person small {
  font-size: 9px;
  color: #647e9c;
}

.score {
  margin-left: auto;
  white-space: nowrap;
  text-align: right;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: -.03em;
  color: #c7e9db;
}

.score small {
  display: block;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0;
  color: #6b839c;
  line-height: 1.2;
  margin-top: 3px;
}

.mini-callout {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 14px 15px;
  background: #14202c;
  border: 1px solid #26374a;
  border-radius: 10px;
}

.mini-callout>.icon {
  width: 16px;
  height: 16px;
  color: #6f91af;
  margin-top: 2px;
}

.mini-callout p {
  font-size: 10px;
  line-height: 1.8;
  color: #869fb9;
}

.main-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid var(--line-soft);
  padding: 22px 0;
  margin-top: 35px;
  font-size: 8px;
  color: #48617c;
}

.main-footer>span {
  letter-spacing: .07em;
  font-weight: 700;
}

.main-footer b {
  font-size: 7px;
  padding: 2px 4px;
  border: 1px solid #263950;
  border-radius: 3px;
  margin-left: 6px;
}

.main-footer>p {
  color: #48617c;
}

.main-footer>a {
  color: #748da9;
}

.empty-state {
  text-align: center;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  min-height: 220px;
  padding: 32px 18px;
  gap: 12px;
}

.empty-state>.icon {
  width: 34px;
  height: 34px;
  color: #45637e;
  margin-bottom: 5px;
}

.empty-state strong {
  color: #c1cee0;
  font-size: 14px;
}

.empty-state p {
  font-size: 12px;
  max-width: 350px;
}

.empty-state.compact {
  min-height: 160px;
  padding: 25px 15px;
}

.empty-state.compact strong {
  font-size: 12px;
}

.empty-state.compact p {
  font-size: 11px;
}

.drop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 21px;
  padding: 15px 20px;
  border: 1px solid #26374b;
  background: #111c29;
  border-radius: 12px;
}

.window-note {
  display: flex;
  gap: 12px;
  align-items: center;
}

.window-note>.icon {
  color: #7aa4c6;
  width: 23px;
  height: 23px;
}

.window-note strong {
  display: block;
  font-size: 11px;
  color: #b8cbe1;
}

.window-note small {
  display: block;
  font-size: 10px;
  margin-top: 2px;
}

.permission-panel {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 22px;
}

.permission-panel h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.permission-panel p {
  font-size: 12px;
  max-width: 650px;
  margin-bottom: 20px;
}

.wizard-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.wizard-title .eyebrow {
  font-size: 9px;
  color: #7892aa;
  margin-bottom: 8px;
}

.wizard-title h2 {
  font-size: 24px;
}

.wizard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.wizard-step {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

.wizard-step+fieldset {
  border-left: 1px solid #27374b;
  padding-left: 28px;
}

.wizard-step legend {
  float: left;
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  font-weight: 650;
  font-size: 13px;
  line-height: 1;
  margin-bottom: 20px;
}

.wizard-step legend>span,
.step-inline {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid #456752;
  background: #223c30;
  color: #a3e9c7;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 750;
  vertical-align: middle;
  flex: none;
}

.step-inline {
  margin-right: 8px;
}

.wizard-step label {
  clear: both;
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #aebfd5;
  margin-bottom: 8px;
}

.wizard-step small {
  display: block;
  font-size: 10px;
  margin: 9px 0 23px;
  color: #6f88a3;
}

.wizard-step small:last-child {
  margin-bottom: 0;
}

input,
select,
textarea {
  color: #e3edfb;
  background: #0d1521;
  border: 1px solid #2c3b51;
  border-radius: 8px;
  min-height: 43px;
  padding: 10px 12px;
  width: 100%;
  font-size: 12px;
  line-height: 1.5;
  transition: border-color .15s;
}

select {
  padding-right: 27px;
}

input::placeholder,
textarea::placeholder {
  color: #506780;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #426080;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #86c5a7;
  box-shadow: 0 0 0 3px #8ce9c10d;
}

.wizard-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 27px;
}

.wizard-bottom p {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8b9fb7;
}

.wizard-bottom p>.icon {
  width: 16px;
  height: 16px;
  color: #73b998;
}

.drop-form>.alert {
  margin: 20px 0 0;
}

.drop-summary {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  border: 1px solid #2c3d50;
  border-radius: 10px;
  padding: 18px 20px;
  background: #0e1924;
  gap: 18px;
  margin-bottom: 15px;
}

.drop-summary span {
  display: block;
  font-size: 9px;
  color: #69849f;
  letter-spacing: .03em;
  margin-bottom: 7px;
}

.drop-summary strong {
  font-size: 11px;
  display: block;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.confirm-drop-form {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 20px;
}

.confirm-drop-form>small {
  font-size: 10px;
}

.table-panel {
  padding: 0;
  overflow: hidden;
  margin-top: 22px;
}

.table-panel>.panel-head {
  padding: 25px 25px 0;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  white-space: normal;
  text-align: left;
  font-size: 11px;
}

th {
  font-size: 9px;
  letter-spacing: .025em;
  color: #7890ac;
  font-weight: 600;
  background: #101a27;
  padding: 13px 25px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  white-space: nowrap;
}

td {
  padding: 18px 25px;
  vertical-align: middle;
  border-bottom: 1px solid var(--line-soft);
  color: #b7c7dc;
}

tbody tr:last-child td {
  border-bottom: 0;
}

td>strong {
  font-size: 11px;
  color: #d4deec;
}

td .block {
  font-size: 9px;
  margin-top: 4px;
  color: #657f9a;
}

td time {
  white-space: nowrap;
  font-size: 10px;
  color: #8ca3bb;
}

.winners-details {
  font-size: 10px;
}

.winners-details summary {
  color: var(--mint);
  cursor: pointer;
  white-space: nowrap;
}

.winners-details ul {
  padding: 0;
  margin: 10px 0;
  list-style: none;
  display: grid;
  gap: 7px;
}

.winners-details .mono {
  color: #7189a7;
}

.info-banner {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 21px 23px;
  background: #18233a;
  border: 1px solid #2b3e5b;
  border-radius: 13px;
  margin-bottom: 23px;
}

.info-banner>.icon {
  width: 28px;
  height: 28px;
  color: #92b7e8;
}

.info-banner strong {
  font-size: 13px;
  color: #c1d5ed;
}

.info-banner p {
  font-size: 11px;
  margin-top: 5px;
  color: #8ca6c4;
}

.info-banner code {
  color: #a7c9f3;
}

.table-person {
  display: flex;
  align-items: center;
  gap: 10px;
}

.table-person strong {
  display: block;
  font-size: 11px;
  overflow-wrap: anywhere;
}

.table-person small {
  display: block;
  font-size: 9px;
  color: #6c859f;
  margin-top: 3px;
}

.table-person .avatar {
  width: 31px;
  height: 31px;
  font-size: 10px;
  border-radius: 9px;
}

.referral-arrow {
  padding-left: 0;
  padding-right: 0;
  width: 14px;
  color: #4b665e;
}

.referral-arrow .icon {
  width: 16px;
  height: 16px;
}

.table-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 15px 25px;
  border-top: 1px solid var(--line);
}

.page-note {
  font-size: 10px;
  line-height: 1.8;
  margin-top: 16px;
  max-width: 820px;
  color: #647f9b;
}

.tabs {
  display: flex;
  background: #111b29;
  border: 1px solid #27384e;
  border-radius: 9px;
  padding: 4px;
  gap: 4px;
}

.tabs a {
  font-size: 11px;
  color: #7b94b1;
  border-radius: 6px;
  padding: 8px 13px;
  font-weight: 600;
}

.tabs a.selected {
  background: #243a32;
  color: #a7dfc3;
  box-shadow: 0 2px 6px #0002;
}

.tabs a:hover {
  color: #d8eee4;
}

.activity-columns {
  grid-template-columns: minmax(0,1.55fr) minmax(270px,1fr);
}

.activity-columns .leader-list>li {
  min-height: 72px;
}

.activity-columns .person strong {
  font-size: 12px;
}

.activity-columns .score {
  font-size: 17px;
}

.side-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.command-list {
  margin: 24px 0;
}

.command-list>div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #223145;
}

.command-list>div:last-child {
  border-bottom: 0;
}

.command-list dt {
  font-size: 11px;
}

.command-list dd {
  margin: 0;
  font-size: 10px;
  color: #7894b1;
  text-align: right;
}

.team-columns {
  grid-template-columns: minmax(0,1.25fr) minmax(0,1fr);
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.form-stack>label,
.field-pair label {
  font-size: 11px;
  font-weight: 600;
  color: #a9bdd5;
  margin-top: 12px;
}

.form-stack>label:first-child {
  margin-top: 0;
}

.form-stack>small {
  font-size: 10px;
  margin-bottom: 7px;
}

.form-stack>.btn {
  align-self: flex-start;
  margin-top: 16px;
}

.form-stack>.btn.full {
  align-self: stretch;
}

.field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
  margin-top: 9px;
}

.field-pair label {
  display: block;
  margin-top: 0;
  margin-bottom: 9px;
}

.field-pair:first-of-type {
  margin-top: 0;
}

.form-stack>.button-row {
  margin-top: 14px;
}

.group-checks {
  margin: 15px 0 0;
  padding: 15px;
  border: 1px solid #2a3b51;
  border-radius: 10px;
  display: grid;
  gap: 12px;
}

.group-checks legend {
  font-size: 11px;
  color: #91aac5;
  padding: 0 8px;
}

.check-line {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 11px;
  color: #a6bcd4;
}

.check-line input {
  width: 16px;
  height: 16px;
  min-height: 0;
  margin: 0;
  accent-color: var(--mint);
  border-radius: 3px;
  flex: none;
}

.group-checks p {
  font-size: 11px;
}

.enabled-line {
  padding: 12px 0;
}

.team-list {
  display: grid;
  gap: 16px;
}

.team-member {
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 18px;
}

.team-member:last-child {
  border: 0;
  padding-bottom: 0;
}

.team-member .table-person {
  align-items: center;
}

.team-member .pill {
  margin-left: auto;
  font-size: 8px;
  padding: 3px 7px;
}

.team-member .table-person>span:nth-child(2) {
  min-width: 0;
}

.team-member .table-person small {
  overflow-wrap: anywhere;
}

.team-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 41px;
  margin-top: 13px;
  gap: 12px;
  font-size: 9px;
  color: #67849f;
}

.team-meta .text-link {
  font-size: 9px;
}

.team-meta .text-link .icon {
  width: 13px;
  height: 13px;
}

.account-panel {
  max-width: 620px;
}

.password-wrap {
  display: flex;
  border: 1px solid #2c3b51;
  background: #0d1521;
  border-radius: 8px;
  align-items: center;
}

.password-wrap input {
  border: 0;
  background: transparent;
  min-width: 0;
}

.password-wrap:focus-within {
  border-color: #86c5a7;
  box-shadow: 0 0 0 3px #8ce9c10d;
}

.password-wrap input:focus {
  box-shadow: none;
}

.reveal {
  padding: 10px;
  border: 0;
  background: transparent;
  color: #768fa9;
  font-size: 10px;
  font-weight: 650;
}

.reveal:hover {
  color: var(--mint);
}

.confirm-dialog {
  max-width: 470px;
  width: calc(100% - 32px);
  padding: 30px;
  background: #152131;
  border: 1px solid #42536a;
  border-radius: 18px;
  color: var(--ink);
  box-shadow: 0 30px 120px #0009;
}

.confirm-dialog::backdrop {
  background: #020711b8;
  backdrop-filter: blur(5px);
}

.dialog-icon {
  width: 52px;
  height: 52px;
  background: #254235;
  border: 1px solid #3d654e;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--mint);
  margin-bottom: 22px;
}

.dialog-icon .icon {
  width: 28px;
  height: 28px;
}

.confirm-dialog .eyebrow {
  font-size: 8px;
  margin-bottom: 8px;
}

.confirm-dialog h2 {
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.confirm-dialog p {
  font-size: 12px;
  line-height: 1.8;
}

.confirm-dialog .button-row {
  margin-top: 24px;
  justify-content: flex-end;
}

.confirm-dialog .btn {
  font-size: 11px;
  padding: 11px 15px;
}

.daily-snapshot {
  display: grid;
  grid-template-columns: repeat(7,1fr);
  gap: 8px;
  margin-top: 20px;
}

.daily-snapshot>div {
  background: #0f1926;
  border: 1px solid #25374b;
  border-radius: 9px;
  padding: 12px 5px;
  text-align: center;
}

.daily-snapshot small {
  display: block;
  font-size: 9px;
  color: #6c87a3;
}

.daily-snapshot strong {
  display: block;
  font-size: 17px;
  margin: 6px 0;
  color: #c4ead8;
}

.drop-detail-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}

.delivery-note {
  margin-top: 10px;
  font-size: 10px;
  color: #7c96b0;
}

@media (min-width:1600px) {
  .main-content {
    padding-top: 44px;
  }

  .stat-card {
    padding: 23px;
  }

  .stat-top>span:first-child {
    font-size: 12px;
  }

  .stat-card>strong {
    font-size: 34px;
  }

  .stat-card>small {
    font-size: 10px;
  }

  .panel {
    padding: 29px;
  }

  .table-panel {
    padding: 0;
  }

  .leader-list>li {
    min-height: 74px;
  }

  .person strong {
    font-size: 13px;
  }

  .person small {
    font-size: 10px;
  }

  .panel-head h2 {
    font-size: 21px;
  }

  .panel-head .eyebrow {
    font-size: 9px;
  }

  .main-content {
    max-width: 1490px;
  }

  .topbar {
    padding-left: max(38px,calc((100vw - 244px - 1490px)/2 + 38px));
    padding-right: max(38px,calc((100vw - 244px - 1490px)/2 + 38px));
  }
}

@media (max-width:1180px) {
  .sidebar {
    width: 218px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .sidebar .brand {
    font-size: 15px;
    gap: 7px;
  }

  .brand-mark {
    width: 30px;
    height: 35px;
  }

  .brand-mark .icon {
    width: 23px;
    height: 23px;
  }

  .brand small {
    font-size: 6px;
  }

  .version {
    font-size: 8px;
    padding: 2px 4px;
  }

  .main-nav>a {
    font-size: 11px;
  }

  .workspace {
    margin-left: 218px;
  }

  .main-content {
    padding: 28px 25px 0;
  }

  .topbar {
    padding: 0 25px;
  }

  .stat-grid {
    gap: 12px;
  }

  .stat-card {
    padding: 15px;
  }

  .stat-top>span:first-child {
    font-size: 9px;
  }

  .stat-icon {
    width: 26px;
    height: 26px;
  }

  .stat-icon .icon {
    width: 14px;
    height: 14px;
  }

  .stat-card>strong {
    font-size: 27px;
  }

  .stat-card>small {
    font-size: 8px;
  }

  .panel {
    padding: 21px;
  }

  .table-panel {
    padding: 0;
  }

  .two-column {
    gap: 17px;
  }

  .panel-head h2 {
    font-size: 16px;
  }

  .panel-head .eyebrow {
    font-size: 7px;
  }

  .panel-head .text-link {
    font-size: 9px;
  }

  .leader-list>li {
    gap: 9px;
  }

  .leader-list .avatar {
    width: 31px;
    height: 31px;
  }

  .person strong {
    font-size: 10px;
  }

  .person small {
    font-size: 8px;
  }

  .score {
    font-size: 12px;
  }

  .mini-callout p {
    font-size: 9px;
  }

  .activity-columns {
    grid-template-columns: 1.25fr 1fr;
  }

  .team-columns {
    grid-template-columns: 1.25fr 1fr;
  }

  .field-pair {
    gap: 12px;
  }

  .group-select {
    max-width: 270px;
  }

  .group-select select {
    max-width: 190px;
  }

  td,
  th {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width:960px) {
  .sidebar {
    width: 200px;
    padding: 25px 11px 13px;
  }

  .sidebar .brand {
    gap: 6px;
    font-size: 14px;
  }

  .brand small {
    font-size: 5.5px;
  }

  .brand-mark {
    width: 27px;
    height: 32px;
  }

  .sidebar .brand-mark .icon {
    width: 20px;
    height: 20px;
  }

  .sidebar .version {
    margin-top: 1px;
  }

  .nav-label {
    padding: 0 10px;
  }

  .main-nav>a {
    gap: 10px;
    padding: 0 10px;
  }

  .main-nav>a>.icon {
    width: 16px;
    height: 16px;
  }

  .sidebar-bottom {
    padding-top: 22px;
  }

  .workspace {
    margin-left: 200px;
  }

  .main-content {
    padding: 27px 22px 0;
  }

  .topbar {
    padding: 0 22px;
    height: 67px;
  }

  .page-heading h1 {
    font-size: 27px;
  }

  .page-heading .btn {
    font-size: 11px;
    padding: 11px 13px;
    min-height: 40px;
  }

  .page-heading p {
    font-size: 11px;
  }

  .stat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .stat-card {
    padding: 17px 20px;
  }

  .stat-top>span:first-child {
    font-size: 11px;
  }

  .stat-card>strong {
    font-size: 30px;
  }

  .stat-card>small {
    font-size: 10px;
  }

  .stat-icon {
    width: 30px;
    height: 30px;
  }

  .stat-icon .icon {
    width: 17px;
    height: 17px;
  }

  .overview-columns {
    grid-template-columns: 1fr;
  }

  .overview-columns .panel {
    padding: 24px;
  }

  .overview-columns .panel-head h2 {
    font-size: 20px;
  }

  .overview-columns .person strong {
    font-size: 12px;
  }

  .overview-columns .score {
    font-size: 14px;
  }

  .overview-columns .leader-list .avatar {
    width: 35px;
    height: 35px;
  }

  .overview-columns .leader-list>li {
    min-height: 67px;
  }

  .mini-callout p {
    font-size: 10px;
  }

  .two-column.team-columns {
    grid-template-columns: 1fr;
  }

  .activity-columns {
    grid-template-columns: 1fr;
  }

  .activity-columns>.side-stack {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
    gap: 17px;
  }

  .command-list>div {
    gap: 10px;
  }

  .command-list dt {
    font-size: 10px;
  }

  .command-list dd {
    font-size: 9px;
  }

  .team-member .table-person strong {
    font-size: 12px;
  }

  .team-member .table-person small {
    font-size: 10px;
  }

  .wizard-grid {
    gap: 22px;
  }

  .wizard-step+fieldset {
    padding-left: 22px;
  }

  .wizard-title h2 {
    font-size: 21px;
  }

  .wizard-title .eyebrow {
    font-size: 8px;
  }

  .wizard-bottom {
    flex-wrap: wrap;
    gap: 15px;
  }

  .wizard-bottom .btn {
    margin-left: auto;
  }

  .wizard-step label {
    font-size: 10px;
  }

  .wizard-step small {
    font-size: 9px;
  }

  .wizard-step legend {
    font-size: 11px;
    gap: 8px;
  }

  .drop-summary {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 17px;
  }

  .confirm-drop-form {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .group-select {
    max-width: 245px;
  }

  .group-select select {
    max-width: 175px;
  }

  .topbar-right {
    gap: 10px;
  }

  .breadcrumb {
    font-size: 9px;
  }

  .breadcrumb span {
    margin: 0 8px;
  }

  .daily-snapshot {
    gap: 5px;
  }

  .daily-snapshot>div {
    padding: 10px 3px;
  }

  .daily-snapshot small {
    font-size: 7px;
  }

  .daily-snapshot strong {
    font-size: 15px;
  }
}

@media (max-width:760px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform .22s ease;
    width: 250px;
    padding: 27px 20px 17px;
    z-index: 50;
  }

  .sidebar .brand {
    font-size: 18px;
    gap: 9px;
    margin-bottom: 35px;
  }

  .sidebar .brand-mark {
    width: 35px;
    height: 40px;
  }

  .sidebar .brand-mark .icon {
    width: 26px;
    height: 26px;
  }

  .sidebar .brand small {
    font-size: 7px;
  }

  .sidebar .version {
    font-size: 9px;
    margin-top: 2px;
  }

  .main-nav>a {
    min-height: 46px;
    font-size: 12px;
    padding: 0 13px;
    gap: 12px;
  }

  .main-nav>a>.icon {
    width: 19px;
    height: 19px;
  }

  .nav-label {
    font-size: 9px;
    padding-left: 13px;
  }

  .sidebar-bottom {
    padding-top: 20px;
  }

  .menu-open .sidebar {
    transform: translateX(0);
  }

  .menu-open .sidebar-shade {
    display: block;
    position: fixed;
    inset: 0;
    background: #020711bd;
    backdrop-filter: blur(3px);
    z-index: 40;
  }

  .menu-open {
    overflow: hidden;
  }

  .workspace {
    margin-left: 0;
  }

  .topbar {
    height: 65px;
    padding: 0 20px;
    position: sticky;
    top: 0;
    z-index: 20;
    background: #0b111bf5;
    backdrop-filter: blur(10px);
  }

  .topbar-left {
    gap: 12px;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    background: #152132;
    border: 1px solid #2b3d55;
    border-radius: 7px;
    color: #aac1dc;
  }

  .menu-toggle>.icon {
    width: 18px;
    height: 18px;
  }

  .breadcrumb {
    font-size: 9px;
  }

  .topbar-right {
    gap: 9px;
  }

  .group-select {
    max-width: 240px;
    height: 34px;
  }

  .group-select select {
    font-size: 10px;
    max-width: 174px;
    padding-left: 8px;
  }

  .role-badge {
    font-size: 7px;
    padding: 5px 6px;
  }

  .main-content {
    padding: 26px 20px 0;
  }

  .page-heading h1 {
    font-size: 29px;
  }

  .page-heading .eyebrow {
    font-size: 8px;
  }

  .page-heading p {
    font-size: 11px;
  }

  .page-heading>.btn {
    font-size: 10px;
    padding: 10px 12px;
    gap: 7px;
    min-height: 38px;
  }

  .page-heading>.btn>.icon {
    width: 15px;
    height: 15px;
  }

  .stat-card>small {
    font-size: 9px;
  }

  .stat-top>span:first-child {
    font-size: 10px;
  }

  .stat-card>strong {
    font-size: 29px;
  }

  .main-footer {
    font-size: 7px;
    gap: 8px;
  }

  .main-footer>p {
    font-size: 7px;
  }

  .skip-link {
    left: 20px;
  }

  .daily-snapshot {
    gap: 7px;
  }

  .daily-snapshot small {
    font-size: 9px;
  }

  .daily-snapshot strong {
    font-size: 17px;
  }
}

@media (max-width:520px) {
  .topbar {
    padding: 0 16px;
    height: 62px;
  }

  .breadcrumb {
    display: none;
  }

  .topbar-left {
    gap: 0;
  }

  .group-select {
    max-width: 230px;
    height: 33px;
    padding-left: 8px;
  }

  .group-select select {
    max-width: 165px;
    font-size: 10px;
  }

  .group-select .icon {
    width: 14px;
    height: 14px;
  }

  .topbar-right {
    gap: 9px;
  }

  .main-content {
    padding: 25px 16px 0;
  }

  .page-heading {
    margin-bottom: 23px;
    align-items: flex-start;
  }

  .page-heading h1 {
    font-size: 27px;
  }

  .page-heading .eyebrow {
    font-size: 7px;
    margin-bottom: 9px;
  }

  .page-heading p {
    font-size: 10px;
    max-width: 230px;
    margin-top: 8px;
  }

  .page-heading>.btn {
    font-size: 0;
    min-width: 39px;
    width: 39px;
    height: 39px;
    padding: 9px;
    margin-top: 21px;
    border-radius: 10px;
  }

  .page-heading>.btn>.icon {
    width: 19px;
    height: 19px;
  }

  .stat-grid {
    gap: 11px;
    margin-bottom: 20px;
  }

  .stat-card {
    padding: 15px 16px;
    border-radius: 12px;
  }

  .stat-top>span:first-child {
    font-size: 9px;
  }

  .stat-icon {
    width: 25px;
    height: 25px;
    border-radius: 8px;
  }

  .stat-icon>.icon {
    width: 14px;
    height: 14px;
  }

  .stat-card>strong {
    font-size: 28px;
    margin-top: 12px;
    margin-bottom: 7px;
  }

  .stat-card>small {
    font-size: 8px;
    line-height: 1.5;
    display: block;
  }

  .overview-columns {
    gap: 18px;
  }

  .overview-columns .panel {
    padding: 21px;
  }

  .panel {
    padding: 21px;
    border-radius: 14px;
  }

  .table-panel {
    padding: 0;
  }

  .panel-head {
    gap: 10px;
    margin-bottom: 20px;
  }

  .overview-columns .panel-head h2 {
    font-size: 18px;
  }

  .panel-head .eyebrow {
    font-size: 7px;
    margin-bottom: 7px;
  }

  .overview-columns .person strong {
    font-size: 11px;
  }

  .overview-columns .person small {
    font-size: 8px;
  }

  .overview-columns .score {
    font-size: 13px;
  }

  .overview-columns .leader-list>li {
    gap: 10px;
    min-height: 65px;
  }

  .rank {
    width: 20px;
  }

  .leader-list .avatar {
    width: 32px!important;
    height: 32px!important;
    font-size: 11px;
  }

  .mini-callout {
    padding: 12px;
    gap: 9px;
  }

  .mini-callout p {
    font-size: 9px;
  }

  .main-footer {
    margin-top: 28px;
    padding: 20px 0;
    font-size: 6px;
    flex-wrap: wrap;
  }

  .main-footer>p {
    font-size: 6px;
  }

  .main-footer b {
    font-size: 6px;
  }

  .drop-toolbar {
    padding: 13px;
    gap: 10px;
    align-items: flex-start;
  }

  .window-note {
    gap: 9px;
    min-width: 0;
  }

  .window-note>.icon {
    width: 19px;
    height: 19px;
  }

  .window-note strong {
    font-size: 9px;
  }

  .window-note small {
    font-size: 8px;
    line-height: 1.6;
  }

  .drop-toolbar>.pill {
    font-size: 7px;
    padding: 4px 6px;
    margin-top: 3px;
    white-space: normal;
    max-width: 90px;
    text-align: center;
  }

  .wizard-title {
    margin-bottom: 24px;
    gap: 12px;
  }

  .wizard-title h2 {
    font-size: 21px;
    max-width: 230px;
  }

  .wizard-title>.square-icon {
    height: 36px;
    width: 36px;
    border-radius: 10px;
  }

  .wizard-title>.square-icon>.icon {
    width: 20px;
    height: 20px;
  }

  .wizard-title .eyebrow {
    font-size: 7px;
    margin-bottom: 8px;
  }

  .wizard-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .wizard-step+fieldset {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 23px;
  }

  .wizard-step legend {
    font-size: 12px;
    margin-bottom: 18px;
  }

  .wizard-step legend>span {
    width: 27px;
    height: 27px;
  }

  .wizard-step label {
    font-size: 11px;
  }

  .wizard-step small {
    font-size: 10px;
    margin-bottom: 20px;
  }

  .wizard-step legend {
    float: none;
  }

  .wizard-bottom {
    margin-top: 25px;
    padding-top: 20px;
    gap: 18px;
  }

  .wizard-bottom p {
    font-size: 9px;
  }

  .wizard-bottom .btn {
    width: 100%;
    font-size: 12px;
  }

  .permission-panel {
    gap: 14px;
    flex-direction: column;
  }

  .permission-panel h2 {
    font-size: 20px;
  }

  .permission-panel p {
    font-size: 11px;
  }

  .permission-panel .btn {
    font-size: 10px;
  }

  .permission-panel .text-link {
    font-size: 10px;
  }

  .drop-summary {
    padding: 14px;
    gap: 16px;
  }

  .drop-summary strong {
    font-size: 10px;
  }

  .drop-summary span {
    font-size: 8px;
  }

  .drop-confirm .help-text {
    font-size: 10px;
    line-height: 1.8;
  }

  .confirm-drop-form>.btn {
    width: 100%;
    font-size: 11px;
  }

  .confirm-drop-form>small {
    font-size: 9px;
  }

  .table-panel>.panel-head {
    padding: 21px 21px 0;
  }

  .table-panel .panel-head h2 {
    font-size: 18px;
  }

  th {
    font-size: 8px;
    padding: 12px 17px;
  }

  td {
    font-size: 10px;
    padding: 16px 17px;
  }

  td>strong {
    font-size: 10px;
  }

  td time {
    font-size: 9px;
  }

  .table-person {
    gap: 8px;
  }

  .table-person strong {
    font-size: 10px;
    min-width: 82px;
  }

  .table-person small {
    font-size: 8px;
  }

  .table-person>.avatar {
    display: none;
  }

  .referral-arrow {
    padding-left: 0;
    padding-right: 0;
  }

  .info-banner {
    padding: 17px;
    gap: 12px;
    align-items: flex-start;
  }

  .info-banner>.icon {
    width: 23px;
    height: 23px;
  }

  .info-banner strong {
    font-size: 11px;
  }

  .info-banner p {
    font-size: 10px;
    line-height: 1.8;
  }

  .info-banner code {
    font-size: 10px;
  }

  .table-panel .panel-head>.pill {
    font-size: 8px;
  }

  .page-note {
    font-size: 9px;
  }

  .tabs {
    padding: 3px;
  }

  .tabs a {
    font-size: 10px;
    padding: 8px 10px;
  }

  .activity-columns>.side-stack {
    display: flex;
  }

  .activity-columns .leader-list>li {
    min-height: 67px;
  }

  .activity-columns .person strong {
    font-size: 11px;
  }

  .activity-columns .score {
    font-size: 15px;
  }

  .activity-columns .square-icon {
    width: 36px;
    height: 36px;
  }

  .command-list dt {
    font-size: 11px;
  }

  .command-list dd {
    font-size: 10px;
  }

  .team-columns {
    gap: 18px;
  }

  .field-pair {
    grid-template-columns: 1fr;
    gap: 17px;
    margin-top: 9px;
  }

  .form-stack>label,
  .field-pair label {
    font-size: 11px;
  }

  .form-stack>small {
    font-size: 10px;
  }

  .team-list .table-person>.avatar {
    display: grid;
  }

  .team-list .table-person strong {
    min-width: 0;
    font-size: 11px;
  }

  .team-list .table-person small {
    font-size: 9px;
  }

  .team-meta {
    font-size: 9px;
  }

  .team-member .pill {
    font-size: 7px;
  }

  .group-checks legend {
    font-size: 10px;
  }

  .group-checks {
    padding: 13px;
  }

  .check-line {
    font-size: 10px;
  }

  .account-panel>.panel-head h2 {
    font-size: 21px;
  }

  .account-panel .btn {
    width: 100%;
    font-size: 12px;
  }

  .confirm-dialog {
    padding: 26px;
  }

  .confirm-dialog .button-row {
    flex-wrap: nowrap;
    gap: 10px;
  }

  .confirm-dialog .btn {
    font-size: 10px;
    padding: 10px 12px;
    min-height: 40px;
  }

  .confirm-dialog h2 {
    font-size: 22px;
  }

  .confirm-dialog p {
    font-size: 11px;
  }

  .confirm-dialog .dialog-icon {
    height: 46px;
    width: 46px;
  }

  .daily-snapshot {
    grid-template-columns: repeat(4,1fr);
    gap: 8px;
  }

  .daily-snapshot>div {
    padding: 13px 5px;
  }

  .daily-snapshot small {
    font-size: 8px;
  }

  .daily-snapshot strong {
    font-size: 18px;
  }

  .empty-state {
    padding: 28px 16px;
    min-height: 210px;
  }

  .empty-state strong {
    font-size: 13px;
  }

  .empty-state p {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *:before,
  *:after {
    transition: none!important;
    animation: none!important;
  }

  .btn:hover {
    transform: none!important;
  }
}

.detail-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding: 0 25px 20px;
  font-size: 10px;
  color: #7995af;
}

.detail-foot {
  padding: 17px 25px;
  border-top: 1px solid var(--line-soft);
}

.detail-foot p {
  font-size: 10px;
  line-height: 1.8;
}

.activity-columns+.panel {
  margin-top: 22px;
}

.candidate-details {
  margin-top: 20px;
  border: 1px solid #2b3c50;
  border-radius: 10px;
  overflow: hidden;
}

.candidate-details>summary {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 15px;
  color: #a9d5c1;
  font-size: 11px;
  cursor: pointer;
  list-style: none;
  background: #14231f;
}

.candidate-details>summary::-webkit-details-marker {
  display: none;
}

.candidate-details>summary>.icon {
  width: 17px;
  height: 17px;
}

.candidate-details>summary>span {
  margin-left: auto;
  color: #679780;
  font-size: 9px;
}

.candidate-details>p {
  font-size: 10px;
  padding: 14px 15px;
  line-height: 1.7;
}

.candidate-details th,
.candidate-details td {
  padding: 11px 15px;
}

.candidate-details td {
  font-size: 10px;
}

/* Operational pages: explanatory content is backed by the selected group's data. */

.sidebar {
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #2c425d transparent;
}

.sidebar .brand {
  margin-bottom: 28px;
}

.main-nav>a {
  min-height: 41px;
}

.nav-label.second {
  margin-top: 22px;
}

.sidebar-bottom {
  padding-top: 24px;
}

.inline-link {
  color: var(--mint);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.stock-summary {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.stock-summary>div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 19px;
}

.stock-summary span {
  display: block;
  font-size: 10px;
  color: #91a9c0;
}

.stock-summary strong {
  display: block;
  font-size: 28px;
  letter-spacing: -.03em;
  color: #d8ebe2;
  line-height: 1.2;
  margin: 8px 0 4px;
}

.stock-summary small {
  font-size: 9px;
  color: #6885a0;
}

.flow-chevron {
  color: #38566e;
  flex: none;
}

.flow-chevron>.icon {
  width: 17px;
  height: 17px;
}

.gift-catalog {
  margin-top: 22px;
}

.gift-list {
  display: grid;
  gap: 20px;
}

.gift-entry {
  border: 1px solid #2b3d51;
  border-radius: 12px;
  background: #0f1a27;
  padding: 21px;
}

.gift-heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.gift-heading>div {
  min-width: 0;
  flex: 1;
}

.gift-heading h3 {
  font-size: 17px;
  line-height: 1.35;
  color: #d5e7e0;
  overflow-wrap: anywhere;
}

.gift-heading p {
  font-size: 11px;
  line-height: 1.8;
  color: #829fb6;
  margin-top: 7px;
  overflow-wrap: anywhere;
}

.gift-heading>.pill {
  font-size: 9px;
  margin-top: 3px;
}

.gift-heading>.square-icon {
  width: 37px;
  height: 37px;
  border-radius: 10px;
}

.gift-heading>.square-icon .icon {
  width: 20px;
  height: 20px;
}

.gift-counts {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 13px;
  border-top: 1px solid #293e51;
  border-bottom: 1px solid #293e51;
  padding: 17px 0;
  margin: 20px 0 15px;
}

.gift-counts dt {
  font-size: 9px;
  color: #7b9bb2;
  margin-bottom: 6px;
}

.gift-counts dd {
  font-size: 20px;
  color: #c7e2d7;
  margin: 0;
  font-weight: 700;
}

.rules-details>summary {
  font-size: 11px;
  color: #b6d1e4;
  cursor: pointer;
  font-weight: 600;
}

.plain-content {
  overflow-wrap: anywhere;
  white-space: normal;
}

.rules-details .plain-content {
  font-size: 11px;
  line-height: 1.9;
  padding: 13px 0 4px;
  color: #91afc5;
}

.gift-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.gift-actions small {
  font-size: 9px;
}

.welcome-columns {
  align-items: start;
}

.setting-check {
  align-items: flex-start;
  padding: 15px;
  border: 1px solid #2f4256;
  border-radius: 10px;
  background: #101c2a;
  gap: 11px;
}

.setting-check>input {
  margin-top: 2px;
}

.setting-check strong {
  font-size: 11px;
  color: #bed5e5;
  display: block;
}

.setting-check small {
  font-size: 10px;
  display: block;
  margin-top: 5px;
  line-height: 1.8;
  color: #7394ad;
}

.placeholder-help {
  padding: 17px 15px;
  border: 1px solid #2a4053;
  background: #12212e;
  border-radius: 10px;
  margin: 10px 0;
}

.placeholder-help>strong {
  font-size: 11px;
  color: #adc7d9;
}

.placeholder-help dl {
  margin: 15px 0 0;
  display: grid;
  gap: 12px;
}

.placeholder-help dl>div {
  display: flex;
  align-items: center;
  gap: 15px;
}

.placeholder-help dt {
  font-size: 10px;
  min-width: 114px;
}

.placeholder-help dd {
  font-size: 10px;
  color: #7d9fb7;
  line-height: 1.6;
  margin: 0;
}

.message-preview {
  border: 1px solid #375775;
  border-radius: 14px;
  padding: 19px;
  background: #172a3d;
}

.message-preview-head {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-bottom: 17px;
  border-bottom: 1px solid #2d4b65;
}

.message-preview-head .avatar {
  width: 32px;
  height: 32px;
}

.message-preview-head .icon {
  width: 18px;
  height: 18px;
}

.message-preview-head strong {
  font-size: 11px;
  color: #acd4f1;
}

.message-preview-head small {
  display: block;
  font-size: 8px;
  color: #608aaa;
  margin-top: 2px;
}

.message-preview-text {
  font-size: 12px;
  line-height: 1.9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding: 18px 0 3px;
  color: #c5deed;
  min-height: 110px;
}

.explain-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  gap: 20px;
}

.explain-list>li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.explain-list>li>.icon {
  width: 20px;
  height: 20px;
  color: #729bbb;
  margin-top: 2px;
}

.explain-list strong {
  display: block;
  font-size: 12px;
  color: #b5ccde;
}

.explain-list p {
  font-size: 11px;
  line-height: 1.9;
  margin-top: 5px;
  color: #7898b3;
}

.explain-list.numbered>li>span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  background: #1e3a2f;
  color: #a6d5bd;
  border: 1px solid #3d5e4d;
  border-radius: 7px;
  font-size: 10px;
  font-weight: 700;
}

.log-filters {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.3fr auto;
  gap: 13px;
  align-items: end;
}

.log-filters label {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  color: #8daaC3;
  font-weight: 600;
}

.log-filters input,
.log-filters select {
  font-size: 11px;
  min-height: 40px;
}

.filter-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.filter-actions .btn {
  font-size: 11px;
  min-height: 40px;
  padding: 11px 15px;
}

.filter-actions .text-link {
  font-size: 10px;
}

.log-counts>div:last-child strong {
  color: #efb6a9;
}

.filter-panel {
  padding: 22px;
  margin-bottom: 22px;
}

.log-panel {
  margin-top: 22px;
}

.event-list {
  display: grid;
}

.event-item {
  display: flex;
  gap: 15px;
  padding: 22px 0;
  border-bottom: 1px solid #293a4e;
}

.event-item:first-child {
  padding-top: 0;
}

.event-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.event-symbol {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 10px;
  background: #1b2c3c;
  border: 1px solid #2d475e;
  color: #87a6c3;
}

.event-symbol .icon {
  width: 18px;
  height: 18px;
}

.event-symbol.success {
  color: #99d3b8;
  background: #183329;
  border-color: #305442;
}

.event-symbol.failure {
  color: #d49a9b;
  background: #332529;
  border-color: #56383c;
}

.event-symbol.pending {
  color: #d3b57f;
  background: #332d22;
  border-color: #55472e;
}

.event-body {
  min-width: 0;
  flex: 1;
}

.event-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.event-heading>strong {
  font-size: 12px;
  color: #ccdfeb;
  overflow-wrap: anywhere;
}

.event-heading>.pill {
  font-size: 8px;
  align-self: flex-start;
}

.event-body>p {
  font-size: 11px;
  line-height: 1.9;
  margin-top: 8px;
  color: #8aa7bd;
  overflow-wrap: anywhere;
}

.event-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 15px;
  margin-top: 10px;
  font-size: 9px;
  color: #65849e;
}

.event-meta .mono {
  font-size: 8px;
  color: #5b7a94;
}

.event-details {
  margin-top: 13px;
}

.event-details>summary {
  font-size: 10px;
  color: #90c0ad;
  cursor: pointer;
}

.event-details dl {
  padding: 13px 15px;
  border: 1px solid #2b4054;
  border-radius: 9px;
  background: #101d2a;
  margin: 10px 0 0;
  display: grid;
  gap: 12px;
}

.event-details dl>div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 15px;
}

.event-details dt {
  font-size: 9px;
  color: #6586a1;
}

.event-details dd {
  font-size: 10px;
  color: #b0cbdc;
  line-height: 1.8;
  margin: 0;
  overflow-wrap: anywhere;
}

.guide-flow {
  margin: 0 0 20px;
}

.guide-flow .step-inline {
  margin: 0;
}

.guide-panels {
  margin-top: 22px;
}

.guide-panels .text-link {
  font-size: 11px;
}

.command-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 15px;
}

.command-grid>article {
  padding: 18px;
  border: 1px solid #2a4055;
  border-radius: 11px;
  background: #101d2b;
  min-width: 0;
}

.command-grid code {
  display: block;
  font-size: 12px;
  color: #a4d8be;
}

.command-grid strong {
  display: block;
  font-size: 12px;
  color: #bdd6e5;
  margin: 12px 0 7px;
}

.command-grid p {
  font-size: 10px;
  color: #7595af;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.command-guide {
  margin-top: 22px;
}

.welcome-form-count {
  display: block;
  text-align: right;
  font-size: 9px;
  color: #597d99;
  margin-top: -3px;
}

.form-stack textarea {
  resize: vertical;
}

.setting-check input {
  accent-color: var(--mint);
}

@media (max-width:1180px) {
  .log-filters {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
  }

  .log-filters .search-field {
    grid-column: 1/3;
  }

  .log-filters .filter-actions {
    justify-content: flex-end;
  }

  .stock-summary {
    gap: 12px;
  }

  .stock-summary>div {
    padding: 17px;
  }

  .flow-chevron>.icon {
    width: 13px;
    height: 13px;
  }

  .welcome-columns {
    grid-template-columns: 1.1fr 1fr;
  }

  .placeholder-help dl>div {
    flex-wrap: wrap;
    gap: 4px;
  }

  .placeholder-help dt {
    font-size: 10px;
  }

  .placeholder-help dd {
    font-size: 9px;
  }

  .command-grid {
    gap: 12px;
  }

  .command-grid>article {
    padding: 16px;
  }

  .command-grid strong {
    font-size: 11px;
  }

  .command-grid p {
    font-size: 9px;
  }
}

@media (max-width:960px) {
  .sidebar .brand {
    margin-bottom: 25px;
  }

  .main-nav>a {
    min-height: 38px;
    font-size: 10px;
  }

  .nav-label.second {
    margin-top: 20px;
  }

  .sidebar-bottom {
    padding-top: 20px;
  }

  .stock-summary {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .stock-summary>div {
    padding: 18px;
  }

  .stock-summary span {
    font-size: 11px;
  }

  .stock-summary small {
    font-size: 9px;
  }

  .gift-catalog {
    margin-top: 22px;
  }

  .gift-counts {
    gap: 10px;
  }

  .gift-counts dt {
    font-size: 8px;
  }

  .gift-counts dd {
    font-size: 18px;
  }

  .welcome-columns {
    grid-template-columns: 1fr;
  }

  .welcome-columns>.side-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px;
  }

  .message-preview {
    padding: 15px;
  }

  .message-preview-text {
    font-size: 11px;
  }

  .explain-list strong {
    font-size: 11px;
  }

  .explain-list p {
    font-size: 10px;
  }

  .explain-list>li>.icon {
    width: 17px;
    height: 17px;
  }

  .welcome-columns .panel-head h2 {
    font-size: 16px;
  }

  .welcome-columns>.panel .panel-head h2 {
    font-size: 20px;
  }

  .command-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .command-grid strong {
    font-size: 12px;
  }

  .command-grid p {
    font-size: 10px;
  }

  .guide-panels {
    grid-template-columns: 1fr;
  }

  .guide-panels .panel {
    margin: 0;
  }

  .guide-panels .panel-head h2 {
    font-size: 19px;
  }

  .guide-panels .explain-list p {
    font-size: 11px;
  }
}

@media (max-width:760px) {
  .sidebar .brand {
    margin-bottom: 25px;
  }

  .main-nav>a {
    min-height: 40px;
    font-size: 11px;
  }

  .main-nav>a>.icon {
    width: 18px;
    height: 18px;
  }

  .sidebar-bottom {
    margin-top: 24px;
    padding-top: 0;
  }

  .sidebar .profile-link {
    padding-bottom: 14px;
  }

  .stock-summary strong {
    font-size: 29px;
  }

  .log-filters {
    grid-template-columns: 1fr 1fr;
  }

  .log-filters .search-field {
    grid-column: auto;
  }

  .log-filters .filter-actions {
    grid-column: 1/-1;
    justify-content: flex-start;
  }

  .event-heading>strong {
    font-size: 12px;
  }

  .guide-flow .step-inline {
    width: 28px;
    height: 28px;
  }

  .gift-heading h3 {
    font-size: 17px;
  }

  .event-details dl>div {
    grid-template-columns: 120px 1fr;
  }

  .welcome-columns>.side-stack {
    grid-template-columns: 1fr 1fr;
  }

  .gift-counts dt {
    font-size: 9px;
  }

  .placeholder-help dl>div {
    flex-wrap: nowrap;
    gap: 18px;
  }

  .placeholder-help dd {
    font-size: 10px;
  }
}

@media (max-width:520px) {
  .stock-summary {
    gap: 11px;
  }

  .stock-summary>div {
    padding: 15px;
  }

  .stock-summary span {
    font-size: 9px;
  }

  .stock-summary strong {
    font-size: 27px;
    margin-top: 7px;
  }

  .stock-summary small {
    font-size: 8px;
  }

  .gift-entry {
    padding: 17px;
  }

  .gift-heading {
    gap: 10px;
    flex-wrap: wrap;
  }

  .gift-heading>.square-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
  }

  .gift-heading>.square-icon .icon {
    width: 18px;
    height: 18px;
  }

  .gift-heading>div {
    min-width: 180px;
  }

  .gift-heading>.pill {
    margin-left: 42px;
    font-size: 8px;
  }

  .gift-heading h3 {
    font-size: 16px;
  }

  .gift-heading p {
    font-size: 10px;
    line-height: 1.8;
  }

  .gift-counts {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 17px 0 14px;
  }

  .gift-counts dt {
    font-size: 8px;
  }

  .gift-counts dd {
    font-size: 20px;
  }

  .rules-details>summary {
    font-size: 10px;
  }

  .rules-details .plain-content {
    font-size: 10px;
    line-height: 1.9;
  }

  .gift-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .gift-actions .btn {
    font-size: 9px;
  }

  .gift-actions small {
    font-size: 8px;
  }

  .setting-check {
    padding: 13px;
  }

  .setting-check strong {
    font-size: 10px;
  }

  .setting-check small {
    font-size: 9px;
  }

  .placeholder-help {
    padding: 14px;
  }

  .placeholder-help>strong {
    font-size: 10px;
  }

  .placeholder-help dl>div {
    flex-wrap: wrap;
    gap: 5px;
  }

  .placeholder-help dt {
    font-size: 10px;
  }

  .placeholder-help dd {
    font-size: 9px;
  }

  .welcome-columns>.side-stack {
    display: flex;
  }

  .message-preview {
    padding: 18px;
  }

  .message-preview-text {
    font-size: 12px;
  }

  .welcome-columns .panel-head h2 {
    font-size: 19px;
  }

  .explain-list strong {
    font-size: 11px;
  }

  .explain-list p {
    font-size: 10px;
  }

  .explain-list>li>.icon {
    width: 19px;
    height: 19px;
  }

  .log-filters {
    gap: 15px 12px;
  }

  .log-filters label {
    font-size: 10px;
  }

  .log-filters input,
  .log-filters select {
    font-size: 10px;
    min-height: 40px;
    padding: 9px 10px;
  }

  .log-filters .filter-actions {
    margin-top: 2px;
  }

  .filter-panel {
    padding: 19px;
  }

  .log-panel .panel-head h2 {
    font-size: 20px;
  }

  .log-panel .panel-head>.pill {
    font-size: 7px;
  }

  .event-item {
    gap: 11px;
    padding: 20px 0;
  }

  .event-symbol {
    width: 29px;
    height: 29px;
    border-radius: 8px;
  }

  .event-symbol .icon {
    width: 15px;
    height: 15px;
  }

  .event-heading {
    flex-wrap: wrap;
    gap: 7px;
  }

  .event-heading>strong {
    font-size: 11px;
    line-height: 1.6;
  }

  .event-heading>.pill {
    font-size: 7px;
    padding: 3px 6px;
  }

  .event-body>p {
    font-size: 10px;
    line-height: 1.9;
  }

  .event-meta {
    font-size: 8px;
    gap: 5px 10px;
  }

  .event-meta .mono {
    font-size: 7px;
  }

  .event-details>summary {
    font-size: 9px;
  }

  .event-details dl {
    padding: 12px;
  }

  .event-details dl>div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .event-details dt {
    font-size: 8px;
  }

  .event-details dd {
    font-size: 9px;
  }

  .command-grid {
    grid-template-columns: 1fr 1fr;
    gap: 11px;
  }

  .command-grid>article {
    padding: 14px;
  }

  .command-grid code {
    font-size: 11px;
    overflow-wrap: anywhere;
  }

  .command-grid strong {
    font-size: 10px;
    margin-top: 11px;
    line-height: 1.5;
  }

  .command-grid p {
    font-size: 9px;
    line-height: 1.8;
  }

  .guide-flow {
    padding: 17px;
  }

  .guide-flow strong {
    font-size: 10px;
  }

  .guide-flow small {
    font-size: 9px;
  }

  .guide-panels .panel-head h2 {
    font-size: 19px;
  }

  .guide-panels .explain-list p {
    font-size: 10px;
  }

  .guide-panels .explain-list strong {
    font-size: 11px;
  }

  .main-nav>a {
    min-height: 39px;
  }

  .main-footer>p {
    max-width: 140px;
    text-align: center;
    line-height: 1.6;
  }
}

/* Shared navigation and form controls. */

:root {
  --radius: 14px;
  font-family: "Segoe UI",Arial,sans-serif;
}

.panel-auth {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 42px 24px;
  background: #0d121b;
}

.simple-login {
  width: 100%;
  max-width: 340px;
}

.login-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -.035em;
  margin: 0 0 38px;
}

.login-mark {
  display: grid;
  place-items: center;
  width: 33px;
  height: 36px;
  color: var(--mint);
}

.login-mark .icon {
  width: 31px;
  height: 31px;
}

.simple-login h1 {
  font-size: 23px;
  margin-bottom: 25px;
  text-align: center;
  line-height: 1.35;
}

.simple-login .form-stack {
  gap: 10px;
}

.simple-login .form-stack>label {
  font-size: 13px;
  margin-top: 10px;
  color: #c0ccdb;
}

.simple-login input {
  min-height: 48px;
  font-size: 15px;
  background: #141d2b;
}

.simple-login .btn {
  min-height: 47px;
  margin-top: 16px;
  font-size: 14px;
}

.simple-login .reveal {
  font-size: 12px;
}

.simple-login .alert {
  font-size: 13px;
  line-height: 1.7;
}

.simple-login small {
  font-size: 12px;
}

.login-reset {
  display: block;
  margin: 22px auto 0;
  text-align: center;
  color: #a5b6cb;
  font-size: 13px;
}

.login-reset:hover {
  color: var(--mint);
}

.sidebar {
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  padding-top: 24px;
}

.sidebar .brand {
  margin-bottom: 26px;
  flex: none;
  font-size: 16px;
}

.unified-nav {
  display: block;
}

.unified-nav .nav-label {
  font-size: 10px;
  letter-spacing: .07em;
  color: #788ca5;
  margin: 24px 0 8px;
}

.unified-nav .nav-label:first-child {
  margin-top: 0;
}

.unified-nav .main-nav {
  gap: 3px;
}

.unified-nav .main-nav>a {
  min-height: 39px;
  font-size: 12px;
  font-weight: 500;
}

.unified-nav .main-nav>a>.icon {
  width: 17px;
  height: 17px;
}

.sidebar-bottom {
  margin-top: 25px;
  flex: none;
  padding-top: 0;
}

.sidebar-bottom .profile-link strong {
  font-size: 12px;
}

.sidebar-bottom .profile-link small,
.logout-btn {
  font-size: 11px;
}

.heading-dot {
  display: none;
}

.main-content {
  max-width: 1500px;
  margin: 0 auto;
}

.panel {
  box-shadow: none;
}

.panel h2 {
  font-size: 21px;
  letter-spacing: -.025em;
}

.page-heading h1 {
  font-size: 31px;
  letter-spacing: -.035em;
}

.page-heading>div>p {
  font-size: 13px;
  line-height: 1.8;
}

.panel-head {
  gap: 16px;
}

.section-help {
  font-size: 12px;
  line-height: 1.8;
  margin-top: 9px;
  color: var(--muted);
}

.form-stack>label,
.field-pair label,
.settings-grid label {
  font-size: 12px;
  line-height: 1.6;
  color: #b6c6d9;
}

.form-stack input,
.form-stack select,
.form-stack textarea {
  font-size: 13px;
}

.form-stack small {
  font-size: 12px;
  line-height: 1.75;
}

.management-columns {
  grid-template-columns: repeat(2,minmax(0,1fr));
  align-items: start;
}

.management-columns>.panel {
  min-width: 0;
}

.protection-state {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.protection-state p {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.8;
}

.protection-state .eyebrow {
  margin-bottom: 9px;
}

.btn.danger {
  background: #362329;
  border-color: #60333e;
  color: #fac5ce;
}

.btn.danger:hover {
  background: #482b35;
}

.inline-filter {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0 0 20px;
  flex-wrap: wrap;
}

.inline-filter input:not([type="hidden"]) {
  flex: 1;
  min-width: 160px;
  font-size: 13px;
}

.table-panel>.inline-filter {
  margin: 0 26px 20px;
}

.word-chips {
  padding: 0 26px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  gap: 9px;
}

.word-chips>label {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #152030;
  font-size: 12px;
  cursor: pointer;
  max-width: 100%;
}

.word-chips>label>span {
  overflow-wrap: anywhere;
  min-width: 0;
}

.word-chips input {
  width: 15px;
  height: 15px;
  min-height: 0;
  flex: none;
  accent-color: var(--mint);
}

.plain-details {
  border-top: 1px solid var(--line);
  margin-top: 23px;
  padding-top: 20px;
}

.panel>.plain-details:first-child {
  margin-top: 0;
  padding-top: 0;
  border: 0;
}

.plain-details>summary {
  color: #ccdaeb;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.6;
  cursor: pointer;
}

.plain-details[open]>summary {
  margin-bottom: 18px;
}

.plain-details>p {
  font-size: 12px;
  line-height: 1.85;
  margin: 12px 0 17px;
}

.plain-details .alert {
  margin: 18px 0 0;
  font-size: 12px;
}

.plain-details>.plain-content {
  font-size: 13px;
  line-height: 1.9;
  color: #b3c5d9;
}

.command-input {
  display: flex;
  align-items: center;
  gap: 0;
}

.command-input>span {
  padding: 12px 13px;
  border: 1px solid #304058;
  border-right: 0;
  border-radius: 9px 0 0 9px;
  background: #1c2a3b;
  min-height: 44px;
  font-family: monospace;
  color: var(--mint);
}

.command-input>input {
  border-radius: 0 9px 9px 0;
}

.reply-list {
  display: grid;
  gap: 20px;
}

.reply-list>article {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.reply-list>article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.reply-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.reply-heading code {
  font-size: 14px;
  overflow-wrap: anywhere;
}

.reply-list .plain-details {
  border: 0;
  margin: 14px 0 17px;
  padding: 0;
}

.reply-list .plain-details>summary {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
}

.registered-groups {
  display: grid;
  gap: 15px;
}

.registered-groups>div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.registered-groups>div>span {
  min-width: 0;
}

.registered-groups strong {
  display: block;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.registered-groups small {
  display: block;
  margin-top: 5px;
  font-size: 11px;
}

.spaced-form {
  margin-top: 22px;
}

.settings-summary {
  margin: 0 0 24px;
  display: grid;
  gap: 13px;
}

.settings-summary>div {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.settings-summary dt {
  color: var(--muted);
  font-size: 12px;
}

.settings-summary dd {
  margin: 0;
  color: #c3d3e6;
  text-align: right;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 20px;
}

.settings-grid>div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.settings-grid+.plain-details {
  margin-top: 10px;
}

.settings-grid+.check-line {
  margin-top: 20px;
}

.settings-grid input,
.settings-grid select {
  width: 100%;
}

.review-user-list {
  display: grid;
  gap: 18px;
}

.review-user-list article>strong {
  font-size: 13px;
}

.review-user-list article>small {
  display: block;
  margin-top: 5px;
}

.review-user-list article>p {
  font-size: 12px;
  line-height: 1.8;
  margin-top: 8px;
}

.section-copy {
  margin-top: 22px;
  display: grid;
  gap: 18px;
}

.section-copy p {
  font-size: 13px;
  line-height: 1.9;
}

.pre-line {
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.settings-grid input[type="datetime-local"] {
  min-width: 0;
}

.panel .button-row {
  align-items: center;
}

.panel .button-row>form {
  max-width: 100%;
}

.panel .button-row .btn {
  white-space: normal;
  text-align: center;
}

@media (max-width:1180px) {
  .management-columns {
    grid-template-columns: 1fr;
  }

  .management-columns>.panel {
    margin: 0;
  }

  .management-columns {
    margin-bottom: 22px;
  }
}

@media (max-width:760px) {
  .sidebar {
    width: 250px;
    padding: 24px 18px;
  }

  .unified-nav .main-nav>a {
    min-height: 40px;
    font-size: 13px;
  }

  .sidebar-bottom {
    margin-top: 25px;
  }

  .page-heading h1 {
    font-size: 28px;
  }

  .page-heading>div>p {
    font-size: 12px;
  }

  .panel h2 {
    font-size: 20px;
  }

  .main-content {
    padding-top: 27px;
  }

  .form-stack>label,
  .field-pair label,
  .settings-grid label {
    font-size: 12px;
  }

  .form-stack input,
  .form-stack select,
  .form-stack textarea,
  .settings-grid input,
  .settings-grid select {
    font-size: 16px;
  }

  .form-stack small,
  .help-text,
  .section-help {
    font-size: 12px;
  }

  .btn,
  .btn.small {
    font-size: 12px;
  }

  .protection-state {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .settings-summary>div {
    flex-wrap: wrap;
    gap: 5px 20px;
  }

  .settings-summary dd {
    text-align: left;
  }

  .plain-details>summary {
    font-size: 13px;
  }

  .plain-details>p,
  .section-copy p {
    font-size: 12px;
  }

  .table-panel>.inline-filter,
  .word-chips {
    margin-left: 0;
    margin-right: 0;
    padding-left: 19px;
    padding-right: 19px;
  }

  .command-grid strong,
  .command-grid p,
  .explain-list p {
    font-size: 12px;
  }

  .command-grid code {
    font-size: 13px;
  }

  .event-body>p,
  .event-details dd {
    font-size: 12px;
  }

  .event-heading>strong {
    font-size: 13px;
  }

  .event-meta,
  .event-details dt,
  .event-details>summary {
    font-size: 11px;
  }

  .gift-counts dt,
  .setting-check small {
    font-size: 11px;
  }

  .setting-check strong,
  .rules-details>summary,
  .rules-details .plain-content {
    font-size: 12px;
  }
}

@media (max-width:520px) {
  .simple-login {
    max-width: 340px;
  }

  .simple-login .form-stack>label {
    font-size: 13px;
  }

  .simple-login input {
    font-size: 16px;
  }

  .simple-login .btn {
    font-size: 14px;
  }

  .settings-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .panel-head {
    flex-wrap: wrap;
  }

  .panel .btn {
    white-space: normal;
  }

  .registered-groups>div {
    gap: 12px;
  }

  .registered-groups strong {
    font-size: 12px;
  }

  .reply-list .button-row {
    gap: 8px;
  }

  .word-chips {
    gap: 8px;
  }

  .word-chips>label {
    font-size: 12px;
    padding: 10px;
  }

  .main-footer {
    gap: 15px;
  }
}

/* Activity and manual bonus fulfillment. */

.period-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.period-summary .eyebrow {
  margin-bottom: 10px;
}

.period-summary p {
  font-size: 12px;
  margin-top: 12px;
}

.manual-stock-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.manual-gift-counts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bonus-tabs {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.bonus-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.bonus-tabs a span {
  font-size: 11px;
  color: var(--muted);
}

.bonus-panel td {
  vertical-align: top;
}

.bonus-panel .pill {
  max-width: 250px;
  white-space: normal;
  line-height: 1.6;
}

.bonus-panel td>small {
  margin-top: 7px;
}

.site-account-label {
  display: block;
  margin-top: 18px;
  font-size: 10px;
  color: var(--muted);
}

.site-account-name {
  display: block;
  font-size: 14px;
  color: var(--mint);
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.bonus-load-form {
  min-width: 250px;
  max-width: 340px;
  gap: 10px;
}

.bonus-load-form>label {
  font-size: 11px;
}

.bonus-load-form input {
  min-height: 40px;
  font-size: 13px;
}

.bonus-load-form small {
  font-size: 10px;
}

.bonus-load-form .plain-details {
  margin: 4px 0 5px;
  padding-top: 13px;
}

.bonus-load-form .plain-details summary {
  font-size: 11px;
  color: var(--muted);
}

.bonus-load-form .plain-details label {
  font-size: 11px;
  display: block;
  margin: 13px 0 7px;
}

.bonus-terms {
  margin-top: 15px;
}

.bonus-terms summary {
  font-size: 11px;
  cursor: pointer;
  color: var(--muted);
}

.bonus-terms .plain-content {
  padding-top: 12px;
  font-size: 12px;
  line-height: 1.8;
  max-width: 350px;
}

.referral-conditions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.referral-conditions>div {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  min-width: 0;
}

.referral-conditions .icon {
  margin-top: 3px;
  color: var(--mint);
}

.referral-conditions strong {
  font-size: 16px;
  display: block;
  overflow-wrap: anywhere;
}

.referral-conditions small {
  display: block;
  font-size: 11px;
  margin-top: 7px;
}

.referral-policy .plain-details>form {
  margin-top: 20px;
}

.referral-load-states {
  display: grid;
  gap: 13px;
  margin: 0;
  min-width: 160px;
}

.referral-load-states dt {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 4px;
}

.referral-load-states dd {
  font-size: 12px;
  color: #c1d3e8;
  margin: 0;
}

.countdown {
  color: var(--amber);
  margin-top: 8px;
  white-space: normal;
  min-width: 150px;
}

@media (max-width: 760px) {
  .period-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .referral-conditions {
    grid-template-columns: 1fr;
    gap: 21px;
  }

  .referral-conditions strong {
    font-size: 15px;
  }

  .bonus-tabs a {
    font-size: 12px;
    padding: 10px;
  }

  .bonus-panel .table-wrap {
    overflow: visible;
  }

  .bonus-panel table {
    display: block;
    min-width: 0;
    width: 100%;
  }

  .bonus-panel thead {
    display: none;
  }

  .bonus-panel tbody {
    display: block;
  }

  .bonus-panel tr {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px;
    border-top: 1px solid var(--line);
  }

  .bonus-panel td {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    font-size: 13px;
  }

  .bonus-panel .pill {
    max-width: none;
    font-size: 12px;
  }

  .bonus-load-form {
    min-width: 0;
    max-width: none;
    padding-top: 18px;
    border-top: 1px solid var(--line);
  }

  .bonus-load-form>label,
  .bonus-load-form .plain-details label,
  .bonus-load-form .plain-details summary,
  .bonus-load-form small {
    font-size: 12px;
  }

  .bonus-load-form input,
  .bonus-load-form textarea {
    font-size: 16px;
  }

  .bonus-load-form .btn {
    min-height: 44px;
  }

  .bonus-terms summary,
  .bonus-terms .plain-content,
  .site-account-label {
    font-size: 12px;
  }
}

@media (max-width: 520px) {
  .manual-stock-summary {
    grid-template-columns: 1fr;
  }

  .manual-stock-summary>div {
    padding: 18px;
  }

  .manual-stock-summary span,
  .manual-stock-summary small {
    font-size: 12px;
  }
}

/* Reporting, campaign settings, and scoped administration. */
.stat-grid.three-metrics,
.reward-tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.command-grid.two-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.command-grid.two-actions .icon {
  color: var(--mint);
}
.report-filter-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
}
.report-filter-panel>.page-note {
  flex-basis: 100%;
  margin: 0;
}
.report-periods {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.report-periods a {
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #9fb3cd;
  font-size: 12px;
}
.report-periods a.selected {
  color: var(--mint);
  background: #18312b;
  border-color: #355846;
}
.report-date-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
}
.report-date-form>div {
  min-width: 135px;
}
.report-date-form label {
  display: block;
  margin-bottom: 7px;
  font-size: 11px;
  color: var(--muted);
}
.report-date-form input {
  font-size: 12px;
  min-height: 41px;
  padding: 10px;
}
.report-date-form .btn {
  min-height: 41px;
  font-size: 12px;
}
.report-metrics {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.report-metric {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 19px 16px;
  min-width: 0;
}
.report-metric>div {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: space-between;
  font-size: 11px;
  color: #b1c1d6;
  min-height: 33px;
}
.report-metric .icon {
  width: 17px;
  height: 17px;
  color: #87afc5;
}
.report-metric>strong {
  display: block;
  font-size: 30px;
  font-weight: 650;
  margin: 12px 0 5px;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}
.report-metric>small {
  display: block;
  font-size: 10px;
  line-height: 1.8;
}
.report-hours .panel-head>.pill {
  max-width: 360px;
  white-space: normal;
  line-height: 1.7;
}
.report-chart {
  width: 100%;
  margin-top: 12px;
}
.report-chart svg {
  display: block;
  width: 100%;
  max-height: 290px;
}
.report-axis {
  stroke: #314154;
  stroke-width: 1;
}
.report-hour-bar {
  fill: #86cfb2;
}
.report-hour-bar:hover {
  fill: #bef8df;
}
.report-tick {
  fill: #99aec6;
  font-size: 10px;
  font-family: "Segoe UI", Arial, sans-serif;
}
.hour-values {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px 20px;
}
.hour-values>div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.hour-values span {
  color: var(--muted);
}
.report-columns {
  align-items: start;
}
.report-columns>.panel {
  min-width: 0;
}
.report-ranking,
.report-words {
  list-style: none;
  padding: 0;
  margin: 0;
}
.report-ranking>li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}
.report-ranking>li:first-child {
  padding-top: 0;
}
.report-ranking>li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.report-ranking>li>div {
  min-width: 0;
  flex: 1;
}
.report-ranking strong {
  font-size: 13px;
  overflow-wrap: anywhere;
}
.report-ranking small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
}
.report-rank {
  width: 24px;
  flex: none;
  text-align: center;
  color: #7188a4;
  font-size: 12px;
}
.report-value {
  flex: none;
  text-align: right;
  font-size: 17px;
  color: #c8e3d9;
}
.report-value small {
  font-size: 10px;
}
.report-words {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 22px;
}
.report-words>li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 12px;
  min-width: 0;
}
.report-words>li>span {
  overflow-wrap: anywhere;
}
.report-words strong {
  flex: none;
  font-size: 12px;
  color: #bbd2c8;
}
.report-words small {
  display: block;
  font-weight: 400;
  font-size: 9px;
}
.report-target {
  max-width: 600px;
  overflow-wrap: anywhere;
  white-space: normal;
  margin-top: 6px;
}
.coverage-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 30px;
  margin: 0;
}
.coverage-list>div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 12px;
}
.coverage-list dt {
  color: var(--muted);
}
.coverage-list dd {
  margin: 0;
  color: #bdcfdf;
}
.security-panel td {
  vertical-align: top;
}
.security-panel td>small {
  margin-top: 7px;
  max-width: 240px;
  white-space: normal;
}
.reward-tiers>article {
  border: 1px solid #314b41;
  border-radius: 12px;
  background: #142720;
  padding: 20px;
  min-width: 0;
}
.reward-tiers>article>span {
  display: block;
  font-size: 12px;
  color: #a4c6b4;
}
.reward-tiers strong {
  display: block;
  font-size: 31px;
  color: #c5f2db;
  margin: 10px 0;
  font-weight: 650;
}
.reward-tiers strong small {
  font-size: 12px;
  color: #9bc4ae;
  margin-left: 8px;
  font-weight: 400;
}
.reward-tiers p {
  font-size: 11px;
  color: #81a692;
}
.tier-editor,
.entry-settings {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 11px;
  margin: 15px 0;
}
.tier-editor legend,
.entry-settings legend {
  padding: 0 8px;
  font-size: 13px;
  color: #bbcbde;
  font-weight: 600;
}
.tier-row {
  display: grid;
  grid-template-columns: 1fr 22px 1fr auto;
  align-items: end;
  gap: 15px;
  margin-bottom: 18px;
}
.tier-row label {
  display: grid;
  gap: 8px;
  min-width: 0;
  font-size: 12px;
  color: #aabdd3;
}
.tier-arrow {
  margin-bottom: 12px;
  color: #69867b;
}
.tier-editor>small {
  display: block;
  margin-top: 15px;
}
.entry-settings {
  display: grid;
  gap: 16px;
}
.entry-settings>label:not(.check-line) {
  margin-bottom: -8px;
  font-size: 12px;
  color: #b6c6d9;
}
@media (max-width: 1250px) {
  .report-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .report-filter-panel {
    align-items: stretch;
    flex-direction: column;
  }
  .hour-values {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .report-columns {
    grid-template-columns: 1fr;
  }
  .coverage-list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .report-date-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .report-date-form>div {
    min-width: 0;
  }
  .report-date-form input,
  .tier-row input {
    font-size: 16px;
    min-width: 0;
  }
  .report-date-form label {
    font-size: 12px;
  }
  .report-periods a {
    font-size: 12px;
    padding: 10px 12px;
  }
  .report-hours .panel-head>.pill {
    max-width: 100%;
  }
  .report-metric>div,
  .report-metric>small {
    font-size: 12px;
  }
  .reward-tiers,
  .stat-grid.three-metrics {
    gap: 12px;
  }
  .reward-tiers>article {
    padding: 16px;
  }
  .reward-tiers strong {
    font-size: 27px;
  }
  .reward-tiers strong small {
    display: block;
    margin: 4px 0 0;
  }
  .tier-editor,
  .entry-settings {
    padding: 15px;
  }
  .tier-row {
    gap: 10px;
  }
  .report-chart {
    margin-top: 22px;
  }
}
@media (max-width: 520px) {
  .report-metrics,
  .stat-grid.three-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .report-metric {
    padding: 17px 15px;
  }
  .report-metric>strong {
    font-size: 29px;
  }
  .hour-values {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .hour-values>div {
    font-size: 11px;
    gap: 7px;
  }
  .report-words {
    grid-template-columns: 1fr;
  }
  .report-words>li,
  .report-words strong {
    font-size: 13px;
  }
  .report-words small {
    font-size: 11px;
  }
  .reward-tiers {
    grid-template-columns: 1fr;
  }
  .reward-tiers>article {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 8px 15px;
  }
  .reward-tiers strong {
    grid-column: 2;
    grid-row: 1 / 3;
    margin: 0;
    text-align: right;
  }
  .reward-tiers p {
    grid-column: 1;
    grid-row: 2;
  }
  .tier-row {
    grid-template-columns: 1fr 1fr;
    padding-bottom: 17px;
    border-bottom: 1px solid var(--line);
  }
  .tier-arrow {
    display: none;
  }
  .tier-row .btn {
    grid-column: 1 / -1;
    justify-self: end;
  }
  .command-grid.two-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .report-tick {
    font-size: 22px;
  }
}
