:root {
  --ink: #24231d;
  --paper: #fff8e8;
  --white: #fffcf3;
  --muted: #625e53;
  --lime: #caf55d;
  --pink: #ffa4c7;
  --lav: #bcadfa;
  --lemon: #ffdc67;
  --line: 2.5px solid var(--ink);
  --body: 'Bricolage Grotesque','PingFang SC','Hiragino Sans GB','Microsoft YaHei',sans-serif;
  --mono: 'Space Mono','IBM Plex Mono','SFMono-Regular',Consolas,monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding: 24px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  background-color: var(--paper);
  background-image: radial-gradient(#d3c8ac .95px,transparent 1.1px);
  background-size: 16px 16px;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--pink);
  color: var(--ink);
}

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

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

a,button,summary {
  touch-action: manipulation;
}

button,summary {
  cursor: pointer;
}

a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible {
  outline: 3px solid #735bc7;
  outline-offset: 3px;
}

button {
  background: transparent;
}

img {
  display: block;
  max-width: 100%;
}

h1,h2,h3,p {
  overflow-wrap: anywhere;
}

h1,h2,h3 {
  font-weight: 900;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -.045em;
}

h1 {
  font-size: clamp(38px,5.2vw,67px);
}

h2 {
  font-size: clamp(25px,3vw,36px);
}

h3 {
  font-size: 20px;
}

p {
  margin: 8px 0;
}

.frame {
  width: min(1136px,calc(100% - 80px));
  margin-inline: auto;
}

.skip {
  position: fixed;
  left: 12px;
  top: -70px;
  z-index: 20;
  background: var(--lemon);
  padding: 8px;
  border: var(--line);
}

.skip:focus {
  top: 8px;
}

.sitehead {
  background: var(--white);
  border-bottom: var(--line);
}

.mast,.topnav,.brand,.actions,.sectionhead,.pagehead,.footer,.planfoot,.filters,.pager {
  display: flex;
  align-items: center;
}

.mast {
  min-height: 78px;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  font-size: 21px;
  line-height: .98;
  font-weight: 900;
  letter-spacing: -.05em;
  gap: 10px;
  white-space: nowrap;
}

.brand small {
  font: 700 9px/1 var(--mono);
  letter-spacing: .19em;
  display: block;
  margin-top: 6px;
}

.brandicon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 40px;
  border: 2.5px solid var(--ink);
  border-radius: 13px 12px 11px 12px;
  background: var(--lime);
  box-shadow: 2px 2px 0 var(--ink);
  transform: rotate(-6deg);
}

.brandicon img {
  width: 39px;
  height: 39px;
}

.topnav {
  gap: clamp(18px,3vw,38px);
  font-size: 14px;
  font-weight: 750;
}

.navlink:hover,.textlink:hover,.bare:hover,.footer a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.navpill,.adminnav {
  border: var(--line);
  border-radius: 999px;
  padding: 7px 17px;
  background: var(--ink);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1.25;
}

.navpill span {
  color: var(--lime);
}

.adminnav {
  background: var(--lav);
  color: var(--ink);
  padding-inline: 11px;
}

.mainwrap {
  min-height: calc(100vh - 175px);
  padding-block: 44px 62px;
}

.card,.artwindow {
  background: var(--white);
  border: var(--line);
  border-radius: 17px;
  box-shadow: 5px 5px 0 var(--ink);
}

.lime,.color-0 {
  background: var(--lime)!important;
}

.pink,.color-2 {
  background: var(--pink)!important;
}

.lavender,.color-1 {
  background: var(--lav)!important;
}

.lemon {
  background: var(--lemon)!important;
}

.btn,.smallbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 850;
  border: var(--line);
  background: var(--white);
  border-radius: 11px;
  box-shadow: 3px 3px 0 var(--ink);
  line-height: 1.3;
  transition: transform .14s ease,box-shadow .14s ease;
}

.btn {
  min-height: 47px;
  padding: 12px 22px;
  font-size: 16px;
}

.btn span {
  font-size: 1.15em;
}

.smallbtn {
  min-height: 35px;
  padding: 7px 12px;
  font-size: 13px;
  border-width: 2px;
  box-shadow: 2px 2px 0 var(--ink);
  border-radius: 9px;
}

.btn:hover,.smallbtn:hover {
  transform: translate(-1px,-2px);
  box-shadow: 4px 5px 0 var(--ink);
}

.btn:active,.smallbtn:active {
  transform: translate(2px,2px);
  box-shadow: none;
}

.full {
  width: 100%;
}

.bare,.textlink,.back {
  border: 0;
  padding: 0;
  font-weight: 750;
  text-underline-offset: 4px;
}

.textlink,.back {
  text-decoration: underline;
}

.bare {
  font-size: 14px;
}

.back {
  display: inline-block;
  font-size: 14px;
  margin: 0 0 20px;
}

.actions {
  gap: 17px;
  flex-wrap: wrap;
}

.headingdot {
  color: var(--ink);
  margin-left: 2px;
}

.mainwrap>.notice {
  margin-bottom: 22px;
}

.notice {
  border: var(--line);
  border-radius: 10px;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 650;
  background: var(--lemon);
  box-shadow: 3px 3px 0 var(--ink);
}

.notice b {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lemon);
  text-align: center;
}

.inklabel,.chip,.tiny {
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .035em;
}

.inklabel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
  padding: 4px 12px;
}

.inklabel i {
  width: 9px;
  height: 9px;
  background: var(--lime);
  border-radius: 100%;
}

.chip {
  border: 2px solid var(--ink);
  border-radius: 99px;
  padding: 2px 10px;
  display: inline-block;
  line-height: 1.5;
}

.tiny {
  display: block;
}

.muted,.intro,.help,.sectionhint,small {
  color: var(--muted);
}

.help,.sectionhint {
  font-size: 14px;
}

.mono {
  font-family: var(--mono);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.footer {
  border-top: var(--line);
  justify-content: space-between;
  gap: 10px;
  padding: 19px 0 29px;
  font-weight: 750;
  font-size: 13px;
}

.footer span {
  font: 700 10px var(--mono);
  letter-spacing: .1em;
}

/* A window frame and a perforated pass hold the original globe illustration. */
.herogrid,.authspread {
  display: grid;
  align-items: center;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(35px,6vw,92px);
}

.herogrid {
  padding: 19px 0 30px;
}

.herocopy h1 {
  font-size: clamp(55px,6vw,86px);
  margin: 15px 0 16px;
  line-height: 1.05;
  letter-spacing: -.065em;
}

.herocopy mark {
  color: var(--ink);
  background: linear-gradient(transparent 62%,var(--pink) 62%,var(--pink) 93%,transparent 93%);
}

.herocopy p {
  font-size: 17px;
  color: #514d44;
  line-height: 1.65;
  margin: 0 0 25px;
}

.artwindow {
  overflow: hidden;
  transform: rotate(1.2deg);
  border-width: 3px;
  box-shadow: 7px 7px 0 var(--ink);
}

.chrome {
  height: 32px;
  border-bottom: var(--line);
  background: var(--lav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 0 13px;
  font: 800 11px var(--mono);
  letter-spacing: .13em;
}

.dots,.signal {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.dots i {
  height: 8px;
  width: 8px;
  background: var(--white);
  border: 1.6px solid var(--ink);
  border-radius: 100%;
}

.dots i:first-child {
  background: var(--pink);
}

.dots i:nth-child(2) {
  background: var(--lemon);
}

.dots i:nth-child(3) {
  background: var(--lime);
}

.signal {
  gap: 2px;
  align-items: end;
}

.signal i {
  width: 3px;
  height: 4px;
  background: var(--ink);
}

.signal i:nth-child(2) {
  height: 7px;
}

.signal i:nth-child(3) {
  height: 10px;
}

.stage {
  position: relative;
  isolation: isolate;
  background-color: var(--lime);
  background-image: linear-gradient(#b9e34d 1px,transparent 1px),linear-gradient(90deg,#b9e34d 1px,transparent 1px);
  background-size: 24px 24px;
}

.stage img {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
}

.tag-sticker {
  position: absolute;
  z-index: 2;
  left: 6%;
  top: 10%;
  font: 900 clamp(14px,1.6vw,22px)/1 var(--mono);
  border: 2.5px solid var(--ink);
  background: var(--white);
  padding: 5px 9px;
  box-shadow: 2px 2px var(--ink);
  transform: rotate(-10deg);
}

.tag-sticker b {
  color: #7452bd;
}

.chart-corner {
  position: absolute;
  right: 3%;
  bottom: 3%;
  font: 700 9px var(--mono);
  letter-spacing: .04em;
}

.authspread {
  grid-template-columns: 1.13fr .92fr;
  align-items: center;
  gap: clamp(34px,5vw,75px);
  max-width: 1032px;
  margin: 8px auto 48px;
}

.authposter {
  padding: 9px 6px 3px 0;
}

.ticket {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 21px 0 0 17px;
  padding: 15px 24px;
  background: var(--pink);
  border-radius: 11px;
  transform: rotate(-1.3deg);
  box-shadow: 4px 4px var(--ink);
}

.ticket h2 {
  font-size: clamp(22px,2.4vw,33px);
}

.ticket .tiny {
  font-size: 11px;
  margin-bottom: 2px;
}

.ticketcut {
  position: absolute;
  right: 32%;
  top: 0;
  bottom: 0;
  border-left: 2px dashed var(--ink);
}

.barcode {
  width: 24%;
  height: 31px;
  background: repeating-linear-gradient(90deg,var(--ink) 0 2px,transparent 2px 5px,var(--ink) 5px 10px,transparent 10px 12px,var(--ink) 12px 13px,transparent 13px 16px);
}

.formcard,.bodycard {
  padding: clamp(23px,2.7vw,38px);
}

.formcard h1 {
  font-size: clamp(36px,4vw,53px);
  margin: 22px 0 6px;
}

.intro {
  margin: 0 0 19px;
  font-size: 15px;
}

.seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #ede8da;
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 3px;
  gap: 3px;
}

.seg a {
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  padding: 5px;
  border-radius: 7px;
  border: 1.5px solid transparent;
}

.seg a[aria-current='page'] {
  background: var(--ink);
  color: var(--white);
}

.formstack {
  display: grid;
  gap: 14px;
}

.formstack label {
  display: grid;
  gap: 5px;
  font-size: 14px;
  font-weight: 750;
}

.formstack label small {
  font-weight: 500;
  font-size: 12px;
}

.formstack label:has(>small) {
  display: block;
}

.formstack label:has(>small) input {
  margin-top: 5px;
}

.formstack :is(input:not([type=checkbox]):not([type=hidden]),select,textarea) {
  width: 100%;
  border: 2px solid var(--ink);
  border-radius: 9px;
  background: #fffef8;
  min-height: 43px;
  padding: 9px 12px;
  line-height: 1.4;
  font-weight: 520;
}

.formstack textarea {
  resize: vertical;
}

.formstack input::placeholder {
  color: #777267;
}

.pwfield {
  display: block;
  position: relative;
}

.pwfield input {
  padding-right: 65px!important;
}

.reveal {
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  border: 1.5px solid var(--ink);
  border-radius: 5px;
  padding: 2px 7px;
  background: var(--lemon);
  font-size: 12px;
  font-weight: 800;
}

.formstack .btn {
  margin-top: 2px;
}

.formstack .check {
  display: flex;
  align-items: center;
  gap: 8px;
}

.check input {
  accent-color: var(--ink);
  width: 18px;
  height: 18px;
}

.fieldgrid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
}

.formstack .help {
  margin: 0;
}

/* Store and member screens */
.section,.clientsblock {
  margin-top: 41px;
}

.sectionhead,.pagehead {
  justify-content: space-between;
  align-items: end;
  gap: 14px;
  margin-bottom: 18px;
}

.sectionhint {
  font-weight: 650;
}

.pagehead h1 {
  margin-top: 5px;
}

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

.pagehead {
  margin-bottom: 25px;
}

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

.plan {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.plantop {
  position: relative;
  padding: 17px 21px 12px;
  border-bottom: var(--line);
}

.plantop h3 {
  font-size: 18px;
}

.planstamp {
  position: absolute;
  right: 18px;
  top: 14px;
  font-weight: 900;
  line-height: 1;
  font-size: 31px;
}

.bigval {
  font-family: 'Bricolage Grotesque','Helvetica Neue','PingFang SC',sans-serif;
  font-weight: 850;
  font-size: clamp(43px,4.6vw,65px);
  line-height: 1.05;
  letter-spacing: -.065em;
  margin: 13px 0 6px;
  font-variant-numeric: tabular-nums;
}

.bigval small {
  color: inherit;
  font: 750 19px var(--mono);
  letter-spacing: -.04em;
}

.plantop p,.planbody p,.client p {
  font-size: 14px;
  margin: 0;
}

.plantop p {
  font-weight: 700;
}

.planbody {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 20px;
  gap: 16px;
}

.planbody p,.client p {
  color: var(--muted);
}

.planfoot {
  justify-content: space-between;
  gap: 12px;
}

.planfoot strong,.money,.amount {
  font-weight: 850;
  font-size: 23px;
  letter-spacing: -.045em;
  white-space: nowrap;
}

.planfoot small {
  font-size: 15px;
  color: inherit;
}

.referralbanner {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 19px;
  padding: 19px 24px;
  background: var(--lemon);
}

.referralbanner h2 {
  font-size: 25px;
}

.referralbanner p {
  margin: 3px 0 0;
  font-size: 14px;
}

.staricon {
  font-size: 43px;
  line-height: 1;
}

.roundarrow {
  display: grid;
  place-items: center;
  margin-left: auto;
  width: 40px;
  height: 40px;
  flex: none;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
  font-size: 23px;
}

.clientsgrid,.dashgrid,.twogrid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 19px;
}

.client {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 19px 20px;
}

.client h3 {
  font-size: 18px;
}

.client p {
  font-size: 12px;
  margin-top: 2px;
}

.client a {
  margin-left: auto;
}

.device {
  display: block;
  width: 43px;
  height: 43px;
  background: var(--lav);
  border: 2px solid var(--ink);
  border-radius: 10px;
  position: relative;
  flex: none;
}

.device:before,.device:after {
  content: '';
  position: absolute;
  border: 2px solid var(--ink);
}

.monitor:before {
  width: 23px;
  height: 14px;
  border-radius: 3px;
  left: 6px;
  top: 8px;
  background: var(--white);
}

.monitor:after {
  width: 15px;
  border-width: 0 0 2px;
  left: 11px;
  top: 29px;
}

.mobile {
  background: var(--pink);
}

.mobile:before {
  width: 13px;
  height: 22px;
  left: 11px;
  top: 6px;
  border-radius: 4px;
  background: var(--white);
}

.mobile:after {
  width: 4px;
  left: 16px;
  top: 25px;
  border-width: 0 0 2px;
}

.narrow {
  width: min(100%,600px);
}

.narrow {
  margin-inline: auto;
}

.bodycard>.chip {
  margin-bottom: 13px;
}

.bodycard h1 {
  font-size: clamp(33px,4.6vw,49px);
}

.bodycard h2,.admgrid>section>h2 {
  margin-bottom: 16px;
}

.bodycard>.muted {
  margin: 0 0 16px;
}

.facts {
  margin: 17px 0 22px;
}

.facts>div,.record,.statsstrip>div,.fold summary,.filters,.pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.facts>div {
  padding: 9px 0;
  border-bottom: 1px dashed #b6ad95;
}

.facts dt {
  font-size: 14px;
  color: var(--muted);
}

.facts dd {
  margin: 0;
  font-weight: 750;
  text-align: right;
  overflow-wrap: anywhere;
  min-width: 0;
}

.qr {
  width: min(100%,260px);
  margin-top: 10px;
}

.metric {
  padding: 23px 24px;
}

.metric>span:not(.tiny) {
  font-size: 14px;
}

.metric>.smallbtn {
  display: table;
  margin-top: 15px;
}

.dashgrid+.sectionhead {
  margin-top: 34px;
}

.metric .actions {
  margin-top: 10px;
  font-size: 13px;
}

.statsstrip {
  padding: 15px 19px;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  margin: 22px 0;
}

.statsstrip>div {
  padding: 2px 15px;
  border-right: 2px dashed #c1b8a2;
}

.statsstrip>div:last-child {
  border: 0;
}

.statsstrip span {
  font-size: 13px;
}

.statsstrip b {
  font-size: 21px;
}

.tabs,.filters {
  display: flex;
  align-items: center;
  justify-content: start;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}

.tabs a,.filters a {
  border: 2px solid var(--ink);
  padding: 7px 14px;
  background: var(--white);
  font-weight: 700;
  border-radius: 99px;
  font-size: 14px;
}

.tabs a[aria-current='page'] {
  background: var(--ink);
  color: var(--white);
}

.filters a {
  padding: 3px 9px;
  font-size: 12px;
}

.filters a[aria-current='page'] {
  background: var(--lemon);
}

.count {
  margin-left: 5px;
  padding: 1px 5px;
  border-radius: 20px;
  background: var(--pink);
  color: var(--ink);
}

.recordlist {
  display: grid;
  gap: 13px;
}

.record {
  padding: 15px 20px;
}

.record h3 {
  font-size: 17px;
  margin: 3px 0;
}

.record p,.record small,.fold small {
  font-size: 12px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.record h3+.chip {
  margin-top: 4px;
}

.record>strong,.record>b {
  flex: none;
}

.empty {
  border: 2px dashed #928b76;
  border-radius: 14px;
  text-align: center;
  padding: 25px 18px;
  background: #fff9eac9;
  color: var(--muted);
}

.fold {
  padding: 16px 19px;
  align-self: start;
}

.fold summary {
  list-style: none;
  font-weight: 800;
}

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

.fold summary small {
  display: block;
  margin-top: 5px;
}

.fold summary>span:last-child:not(:first-child) {
  font-size: 20px;
}

.fold[open]>.formstack,.fold[open]>form {
  margin-top: 15px;
}

.inset {
  border: 2px dashed #b8ad94;
  border-radius: 11px;
  margin: 18px 0;
}

.admgrid {
  align-items: start;
}

.shortform {
  max-width: 410px;
}

.pager {
  justify-content: flex-start;
  gap: 12px;
  margin: 20px 0;
  font-size: 13px;
}

.sectionhint,.chart-corner,.tiny,.kicker,.planfoot strong,.statsstrip b {
  font-variant-numeric: tabular-nums;
}

@media(min-width:1300px) {
  .frame {
    width: min(1180px,88%);
  }
  .authspread {
    margin-block: 20px 53px;
  }
  .mainwrap {
    padding-top: 48px;
  }
}

@media(max-width:930px) {
  .frame {
    width: calc(100% - 54px);
  }
  .authspread {
    gap: 31px;
    grid-template-columns: 1fr 1fr;
  }
  .herogrid {
    gap: 33px;
  }
  .formcard {
    padding: 23px;
  }
  .statsstrip>div {
    display: block;
  }
  .statsstrip b {
    display: block;
  }
  .planbody,.plantop {
    padding-inline: 15px;
  }
}

@media(max-width:700px) {
  .frame {
    width: calc(100% - 36px);
  }
  .mainwrap {
    padding-block: 23px 38px;
  }
  .mast {
    min-height: 62px;
  }
  .brand {
    font-size: 17px;
    gap: 8px;
  }
  .brand small {
    font-size: 8px;
  }
  .brandicon {
    width: 35px;
    height: 33px;
  }
  .brandicon img {
    width: 32px;
    height: 32px;
  }
  .topnav {
    gap: 12px;
    font-size: 13px;
  }
  .navlink:nth-child(2) {
    display: none;
  }
  .navpill {
    padding: 5px 10px;
    gap: 5px;
  }
  .herogrid,.authspread {
    grid-template-columns: 1fr;
  }
  .herogrid {
    gap: 23px;
    padding: 4px 2px 5px;
  }
  .herocopy h1 {
    font-size: clamp(50px,12.3vw,68px);
    margin: 10px 0;
  }
  .herocopy p {
    font-size: 15px;
    margin-bottom: 17px;
  }
  .artwindow {
    max-width: 510px;
    width: 100%;
    justify-self: center;
    box-shadow: 4px 4px 0 var(--ink);
  }
  .authspread {
    margin: 0 0 28px;
    gap: 20px;
  }
  .authposter {
    padding: 0;
    position: relative;
  }
  .authposter .ticket {
    display: none;
  }
  .authposter .artwindow {
    max-width: none;
    transform: rotate(-.6deg);
  }
  .authposter .stage {
    height: clamp(116px,32vw,177px);
  }
  .authposter .stage img {
    height: 100%;
    width: 100%;
    object-fit: contain;
  }
  .authposter .chrome {
    height: 24px;
  }
  .authposter .tag-sticker {
    top: 19%;
    left: 8%;
  }
  .authposter .chart-corner {
    font-size: 8px;
    bottom: 8px;
  }
  .formcard {
    padding: 19px;
  }
  .formcard h1 {
    margin-top: 15px;
    font-size: 36px;
  }
  .intro {
    margin: 5px 0 15px;
    font-size: 14px;
  }
  .formstack {
    gap: 12px;
  }
  .herogrid .chart-corner {
    font-size: 8px;
  }
  .plansgrid,.clientsgrid,.twogrid,.dashgrid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .plansgrid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px;
  }
  .planstamp {
    right: 9px;
    top: 10px;
    font-size: 20px;
  }
  .plantop h3 {
    font-size: 16px;
    padding-right: 16px;
  }
  .plantop {
    padding: 14px 12px 10px;
  }
  .planbody {
    padding: 10px 12px;
    gap: 10px;
  }
  .planfoot {
    align-items: start;
    flex-wrap: wrap;
    gap: 6px;
  }
  .planfoot strong {
    font-size: 20px;
  }
  .plantop .bigval {
    font-size: 40px;
  }
  .bigval small {
    font-size: 15px;
  }
  .plantop p,.planbody p {
    font-size: 12px;
  }
  .section,.clientsblock {
    margin-top: 30px;
  }
  .sectionhead {
    margin-bottom: 13px;
  }
  .sectionhint {
    font-size: 12px;
  }
  .referralbanner {
    margin-top: 24px;
    gap: 11px;
    padding: 15px;
  }
  .referralbanner h2 {
    font-size: 21px;
  }
  .referralbanner p {
    font-size: 12px;
  }
  .staricon {
    font-size: 29px;
  }
  .roundarrow {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }
  .client {
    padding: 14px;
  }
  .pagehead h1 {
    font-size: 35px;
  }
  .pagehead {
    flex-wrap: wrap;
  }
  .metric {
    padding: 18px;
  }
  .statsstrip {
    padding: 10px;
    margin: 17px 0;
  }
  .statsstrip>div {
    padding: 0 7px;
  }
  .statsstrip span {
    font-size: 11px;
  }
  .statsstrip b {
    font-size: 17px;
  }
  .tabs {
    gap: 6px;
  }
  .tabs a {
    padding: 4px 9px;
    font-size: 13px;
  }
  .record {
    padding: 13px;
  }
  .record>strong,.record>b {
    font-size: 15px;
  }
  .back {
    margin-bottom: 14px;
  }
  .help,.facts dt {
    font-size: 13px;
  }
  .facts dd {
    font-size: 14px;
  }
  .mono {
    font-size: 11px!important;
  }
  .footer {
    font-size: 12px;
  }
  .qr {
    width: 220px;
  }
  .inset {
    padding: 12px;
  }
}

@media(max-width:375px) {
  .topnav {
    gap: 8px;
  }
  .brand {
    font-size: 16px;
  }
  .brandicon {
    width: 29px;
    height: 29px;
  }
  .brandicon img {
    width: 28px;
    height: 28px;
  }
  .adminnav {
    padding: 3px 7px;
  }
  .frame {
    width: calc(100% - 28px);
  }
  .fieldgrid {
    gap: 8px;
  }
  .plantop .bigval {
    font-size: 32px;
  }
  .topnav:has(.adminnav) .navlink:first-child {
    display: none;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none!important;
    animation: none!important;
  }
}

