:root {
  font-family: var(--nagomi-sans);
  font-size: 16px;
  color: var(--nagomi-ink);
  background: var(--nagomi-cream);
}

body {
  background: var(--nagomi-cream);
  line-height: 1.5;
  min-width: 0;
}

.points-shell {
  --point-green: var(--nagomi-forest);
  --point-muted: var(--nagomi-muted);
  --point-line: var(--nagomi-line);
  font-family: var(--nagomi-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--nagomi-ink);
}

.points-shell button,
.points-shell input,
.points-shell select {
  font-family: inherit;
}

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

.points-shell :focus-visible {
  outline: 3px solid var(--nagomi-focus);
  outline-offset: 4px;
}

.point-skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 100;
  background: #fff;
  padding: 16px;
  border: 2px solid #285442;
  border-radius: 8px;
}

.point-skip-link:focus {
  top: 12px;
}

.point-topbar {
  background: var(--nagomi-paper);
  border-bottom: 1px solid var(--point-line);
}

.point-topbar-inner {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  max-width: 1232px;
  min-height: 80px;
  margin-inline: auto;
  padding: 12px 40px;
}

.point-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.point-brand strong {
  display: block;
  font: 600 21px/1.1 var(--nagomi-serif);
  letter-spacing: 0.12em;
}

.point-brand small {
  display: block;
  color: var(--point-muted);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.24em;
  margin-top: 4px;
}

.point-topbar nav {
  display: flex;
  justify-content: center;
  flex: 1;
  gap: 4px;
}

.point-topbar nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 9px 13px;
  border-radius: 11px;
  color: var(--point-muted);
  font-size: 14px;
  font-weight: 600;
}

.point-topbar nav a:hover,
.point-language-button:hover {
  background: var(--nagomi-matcha);
}

.point-topbar nav a[aria-current] {
  background: var(--nagomi-forest);
  color: var(--nagomi-paper);
}

.point-topbar-actions {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  margin-left: auto;
}

.point-language-button {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  border: 1px solid var(--point-line);
  border-radius: 11px;
  background: transparent;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
}

.point-language-button svg {
  flex-shrink: 0;
}

.point-main {
  max-width: 1232px;
  margin: auto;
  padding: 34px 40px 54px;
  min-height: calc(100dvh - 192px);
}

.points-intro {
  margin-bottom: 30px;
}

.point-eyebrow {
  color: #6a7854;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.points-intro h1 {
  font: 400 clamp(2rem, 4.2vw, 3.1rem) / 1.12 var(--nagomi-serif);
  letter-spacing: -1.2px;
  color: #244b37;
  margin: 0 0 12px;
}

.point-record-intro {
  border-radius: var(--nagomi-radius);
  padding: clamp(1.25rem, 3.2vw, 2.5rem);
}

.point-record-intro h1 {
  color: inherit;
}

.points-intro > p:not(.point-eyebrow),
.points-intro > div > p:not(.point-eyebrow) {
  font-size: 16px;
  line-height: 1.65;
  color: var(--point-muted);
  margin: 0;
  max-width: 680px;
}

.point-record-intro > p:not(.point-eyebrow) {
  color: var(--nagomi-gold);
}

.point-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
  gap: 22px;
  align-items: start;
}

.point-entry-card,
.point-recent-card,
.point-history-card,
.point-settings-card {
  background: var(--nagomi-paper);
  border: 1px solid var(--point-line);
  border-radius: var(--nagomi-radius);
  box-shadow: var(--nagomi-shadow);
  min-width: 0;
}

.point-entry-card {
  padding: 30px;
}

.point-card-heading {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-bottom: 24px;
}

.point-heading-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid #dce5d6;
  border-radius: 12px;
  background: #f6f8f1;
  color: #456745;
  flex-shrink: 0;
}

.points-shell h2 {
  font:
    600 22px/1.35 Georgia,
    'Times New Roman',
    serif;
  color: #2b4535;
  letter-spacing: -0.35px;
  margin: 0;
}

.point-card-heading p {
  font-size: 14px;
  color: var(--point-muted);
  margin: 3px 0 0;
}

.point-mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 25px;
}

.point-mode-button {
  position: relative;
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 2px 9px;
  text-align: left;
  min-height: 78px;
  padding: 12px;
  border: 1px solid var(--point-line);
  border-radius: 12px;
  background: #fff;
  color: #45594b;
}

.point-mode-button > span {
  grid-row: 1/3;
  display: grid;
  place-items: center;
}

.point-mode-button strong {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}

.point-mode-button small {
  font-size: 12px;
  color: #607164;
  line-height: 1.5;
}

.point-mode-button.selected {
  border-color: #3e6b4a;
  background: var(--nagomi-matcha);
  box-shadow: inset 0 0 0 1px #3e6b4a;
  color: var(--point-green);
}

.point-mode-button[data-kind='use'].selected {
  border-color: #9b673b;
  box-shadow: inset 0 0 0 1px #9b673b;
  background: #fcf5ed;
  color: #8a542e;
}

.point-entry-form {
  display: block;
}

.point-entry-form label,
.point-settings-card label,
.point-history-tools label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #344c3c;
  margin: 0;
}

.point-entry-form input,
.point-settings-card input,
.point-settings-card select,
.point-history-tools input,
.point-history-tools select {
  display: block;
  width: 100%;
  height: 58px;
  border: 1px solid #bccbb8;
  border-radius: 11px;
  background: #fff;
  padding: 13px 16px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  color: #263f30;
  box-shadow: none;
  margin-top: 8px;
  min-width: 0;
}

.point-entry-form input::placeholder,
.point-history-tools input::placeholder {
  color: #7c877b;
  opacity: 1;
  font-size: 17px;
}

.point-entry-form input:focus,
.point-history-tools input:focus {
  border-color: #3f754e;
}

.point-field-help {
  display: block;
  font-size: 13px;
  line-height: 1.55;
  color: var(--point-muted);
  margin: 8px 0 23px;
}

.point-amount-wrap {
  position: relative;
}

.point-amount-wrap input {
  padding-right: 85px;
  font-size: 24px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.point-amount-wrap > span {
  position: absolute;
  right: 17px;
  top: 17px;
  color: #607164;
  font-size: 15px;
  font-weight: 400;
  pointer-events: none;
}

.point-balance {
  padding: 17px 18px;
  margin: 22px 0;
  background: #f0f4e9;
  border-radius: 12px;
  border: 1px solid var(--point-line);
  min-height: 99px;
}

.point-balance-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.point-balance-copy > span {
  font-size: 14px;
  color: #52664e;
}

.point-balance-copy > strong {
  font-size: 22px;
  line-height: 1.4;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.point-balance-copy small {
  font-size: 14px;
  font-weight: 400;
}

.point-balance p {
  font-size: 13px;
  line-height: 1.6;
  color: #61725b;
  margin: 8px 0 0;
}

.point-balance .point-balance-warning {
  color: #8c4e27;
  font-weight: 600;
}

.point-balance a {
  text-decoration: underline;
}

.point-save-button,
.point-secondary-button,
.point-page-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 49px;
  border: 1px solid var(--point-line);
  border-radius: 11px;
  padding: 12px 17px;
  font-size: 15px;
  font-weight: 600;
  background: #fff;
  color: #2e533b;
  text-align: center;
}

.point-save-button {
  width: 100%;
  min-height: 58px;
  background: var(--point-green);
  border-color: var(--point-green);
  color: #fff;
  font-size: 18px;
  box-shadow: 0 4px 8px #28544212;
}

.point-save-button:hover {
  background: #1e4434;
}

.point-save-button.using-points {
  background: #8b5938;
  border-color: #8b5938;
}

.point-save-button:disabled,
.point-secondary-button:disabled,
.point-page-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.point-save-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 12px;
  color: #657460;
  margin: 13px 0 0;
  line-height: 1.5;
  text-align: center;
}

.point-save-note svg {
  flex-shrink: 0;
}

.point-form-error {
  padding: 13px;
  background: #fff1eb;
  color: #96381f;
  font-size: 15px;
  border: 1px solid #ebc4b4;
  border-radius: 8px;
  margin-bottom: 15px;
}

.point-side-column {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.point-recent-card {
  padding: 22px 24px 8px;
}

.point-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 12px;
}

.point-section-heading > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #476343;
  white-space: nowrap;
  padding: 10px 0;
  min-height: 44px;
}

.point-section-heading h2 {
  font-size: 21px;
}

.point-recent-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 85px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #eaf0e5;
  padding: 17px 0;
  text-align: left;
}

.point-recent-row:last-child {
  border-bottom: 0;
}

.point-recent-row:hover {
  background: #fafbf7;
}

.point-recent-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
}

.point-recent-row > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}

.point-recent-row strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.25px;
  overflow-wrap: anywhere;
}

.point-recent-row small {
  display: block;
  font-size: 12px;
  color: var(--point-muted);
  margin-top: 4px;
  font-weight: 400;
}

.point-recent-row > b {
  font-size: 23px;
  font-weight: 600;
  text-align: right;
  line-height: 1.2;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.point-recent-row > b small {
  font-size: 12px;
  margin-top: 5px;
}

.point-positive {
  color: #30603d;
}

.point-negative {
  color: #975a30;
}

.point-added {
  background: #eaf2e3;
  color: #36603f;
}

.point-used {
  background: #fbf0e3;
  color: #8a552c;
}

.point-help-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 0 12px;
  color: #67785f;
}

.point-help-note svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.point-help-note p {
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
  max-width: 390px;
}

.point-empty {
  text-align: center;
  padding: 65px 20px 70px;
  color: #8a9c7c;
}

.point-empty > svg {
  width: 38px;
  height: 38px;
  box-sizing: content-box;
  padding: 11px;
  border-radius: 50%;
  color: var(--point-green);
  background: var(--nagomi-matcha);
  margin-bottom: 14px;
  stroke-width: 1.2;
}

.point-empty h3 {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 500;
  color: #506649;
  margin: 0 0 8px;
  font-family: inherit;
}

.point-empty p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--point-muted);
  max-width: 250px;
  margin: 0 auto;
}

.point-success {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 20px 22px;
  background: #edf5e7;
  border: 1px solid #cfdcc4;
  border-radius: 13px;
}

.point-success-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 33px;
  height: 33px;
  background: #d4e6c8;
  border-radius: 50%;
  color: #355b36;
}

.point-success strong {
  font-size: 17px;
  font-weight: 600;
  color: #2a5135;
}

.point-success p {
  font-size: 16px;
  margin: 6px 0;
  color: #304c35;
  overflow-wrap: anywhere;
}

.point-success p > span {
  margin: 0 6px;
  color: #8a9d81;
}

.point-success small {
  font-size: 13px;
  color: #5d7255;
}

.point-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  max-width: 1232px;
  margin: 0 auto;
  padding: 20px 40px 28px;
  font-size: 12px;
  color: #69785f;
}

.point-footer > span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.point-footer > a {
  text-decoration: underline;
  text-underline-offset: 4px;
  min-height: 30px;
  display: flex;
  align-items: center;
}

.point-history-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.point-history-tools {
  display: flex;
  align-items: end;
  gap: 20px;
  padding: 26px 28px;
}

.point-history-tools .point-search-label {
  flex: 1;
}

.point-search-wrap {
  position: relative;
}

.point-phone-field {
  position: relative;
}

.point-phone-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 30;
  max-height: 275px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #9db398;
  border-radius: 9px;
  box-shadow: 0 10px 24px #243c3226;
  padding: 5px;
}

.point-phone-list[hidden],
.point-pattern-error[hidden] {
  display: none;
}

.point-phone-list > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  width: 100%;
  padding: 11px 10px;
  background: white;
  border: 0;
  border-radius: 5px;
  color: #2e533b;
  text-align: left;
}

.point-phone-list > button:hover,
.point-phone-list > button[aria-selected='true'] {
  background: #edf4e7;
  outline: 2px solid #83a374;
  outline-offset: -2px;
}

.point-phone-list strong {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.3px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.point-phone-list > button > span {
  font-size: 13px;
  font-weight: 400;
  color: #607168;
  white-space: nowrap;
}

.point-pattern-error {
  font-size: 13px;
  line-height: 1.5;
  color: #96381f;
  margin: 8px 0 0;
  font-weight: 400;
}

.point-search-help {
  display: block;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  color: #607168;
  margin-top: 8px;
}

.point-phone-field input[aria-invalid='true'] {
  border-color: #b26642;
}

.point-search-wrap svg {
  position: absolute;
  left: 16px;
  top: 18px;
  color: #76866b;
}

.point-history-tools .point-search-wrap input {
  padding-left: 46px;
  font-size: 18px;
}

.point-history-tools > label:last-child {
  min-width: 190px;
}

.point-history-tools select {
  font-size: 16px;
}

.point-table-scroll {
  overflow-x: auto;
  max-width: 100%;
  overscroll-behavior-x: contain;
}

.point-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.point-table th {
  padding: 15px 24px;
  color: #63735b;
  font-weight: 500;
  font-size: 13px;
  white-space: nowrap;
  background: #f5f7f0;
  border-top: 1px solid var(--point-line);
  border-bottom: 1px solid var(--point-line);
  text-align: left;
  letter-spacing: 0;
  text-transform: none;
}

.point-table td {
  padding: 13px 24px;
  border-bottom: 1px solid #eaf0e5;
  font-size: 15px;
  color: #3f5543;
  white-space: nowrap;
}

.point-table tbody tr:hover {
  background: #fafbf7;
}

.point-row-date {
  color: #6b7766;
  font-size: 14px;
}

.point-table .point-number {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.point-table td.point-positive {
  color: #30603d;
  font-weight: 600;
}

.point-table td.point-negative {
  color: #975a30;
  font-weight: 600;
}

.point-kind {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: 6px;
  font-size: 12px;
}

.point-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 7px 0;
  font-size: 15px;
  font-weight: 600;
  background: none;
  border: 0;
  color: #315c42;
  text-align: left;
}

.point-phone-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.point-table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 18px 28px;
  font-size: 14px;
  color: #62705b;
}

.point-table-footer > div {
  display: flex;
  gap: 8px;
}

.point-page-button {
  font-size: 13px;
  min-height: 44px;
  padding: 9px 15px;
}

.point-lookup-balance {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  background: #f0f5e9;
  border-top: 1px solid #e1e9d9;
  padding: 10px 28px;
  font-size: 15px;
}

.point-lookup-balance > span {
  font-weight: 600;
}

.point-lookup-balance > strong {
  font-size: 15px;
  font-weight: 400;
  color: #526646;
}

.point-lookup-balance > button {
  margin-left: auto;
}

.point-settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.point-settings-card {
  padding: 28px;
}

.point-settings-card h2 {
  margin-bottom: 16px;
}

.point-settings-card > p {
  color: var(--point-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.point-settings-card label {
  margin: 15px 0;
  font-size: 15px;
}

.point-settings-card input,
.point-settings-card select {
  font-size: 16px;
  height: 52px;
}

.point-settings-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.point-settings-wide {
  grid-column: 1/-1;
}

.point-sync-state {
  color: #687e59;
  font-size: 13px;
}

.point-connection-settings {
  border-top: 1px solid var(--point-line);
  margin-top: 24px;
  padding-top: 15px;
}

.point-connection-settings summary {
  cursor: pointer;
  min-height: 44px;
  padding: 10px 0;
  font-size: 14px;
  color: #5a6d50;
}

.point-connection-settings form {
  max-width: 650px;
}

.point-connection-settings form p {
  font-size: 14px;
  color: var(--point-muted);
  margin: 15px 0;
  line-height: 1.7;
}

.point-update-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 12px;
  background: #eef3df;
  font-size: 15px;
}

.point-update-notice button {
  padding: 9px 15px;
  border: 1px solid #9aaa88;
  border-radius: 6px;
  background: white;
  font-size: 14px;
}

.points-shell .button {
  font-size: 15px;
  min-height: 46px;
}

.points-shell .page-heading p {
  font-size: 16px;
}

.points-shell .error-notice {
  font-size: 15px;
  margin-bottom: 24px;
}

@media (min-width: 1500px) {
  .point-main {
    padding-top: 55px;
  }
}

@media (min-width: 761px) {
  .point-entry-form {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 0 16px;
  }

  .point-entry-form > label:first-of-type {
    grid-column: 1;
    grid-row: 1;
  }

  .point-entry-form > label:last-of-type {
    grid-column: 2;
    grid-row: 1;
  }

  .point-entry-form > .point-field-help {
    grid-column: 1/-1;
    margin: 8px 0 0;
  }

  .point-entry-form > .point-balance,
  .point-entry-form > .point-save-button,
  .point-entry-form > .point-save-note,
  .point-entry-form > .point-form-error {
    grid-column: 1/-1;
  }

  .point-entry-form > .point-form-error {
    margin-top: 0;
  }
}

@media (max-width: 1100px) {
  .point-topbar-inner {
    padding-inline: 28px;
  }

  .point-topbar nav a {
    padding: 12px;
  }

  .point-main {
    padding: 36px 28px 45px;
  }

  .point-workspace {
    gap: 24px;
  }

  .point-entry-card {
    padding: 25px;
  }

  .point-recent-card {
    padding: 22px 20px 5px;
  }

  .point-section-heading h2 {
    font-size: 20px;
  }

  .point-mode-button {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .point-mode-button > span {
    display: none;
  }

  .point-footer {
    padding: 20px 28px;
  }

  .point-table th,
  .point-table td {
    padding-left: 17px;
    padding-right: 17px;
  }
}

@media (max-width: 960px) {
  .point-topbar-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    min-height: 0;
    padding-block: 12px 0;
  }

  .point-topbar nav {
    grid-row: 2;
    grid-column: 1 / -1;
    border-top: 1px solid var(--point-line);
    padding-block: 7px;
  }

  .point-topbar nav a {
    flex: 1;
    min-width: 0;
    text-align: center;
  }
}

@media (max-width: 760px) {
  .point-topbar-inner {
    padding-inline: 20px;
  }

  .point-brand {
    gap: 8px;
  }

  .point-brand img {
    width: 36px;
    height: 36px;
  }

  .point-brand strong {
    font-size: 18px;
  }

  .point-language-button {
    font-size: 13px;
    padding-inline: 8px;
  }

  .point-topbar nav a {
    flex-direction: column;
    font-size: 13px;
    min-height: 54px;
    padding: 6px 4px;
    gap: 4px;
  }

  .point-topbar nav a svg {
    width: 18px;
    height: 18px;
  }

  .point-main {
    padding: 22px 20px 38px;
    min-height: calc(100dvh - 245px);
  }

  .points-intro {
    margin-bottom: 24px;
  }

  .points-intro h1 {
    font-size: 36px;
    letter-spacing: -1px;
    margin-bottom: 10px;
  }

  .points-intro > p:not(.point-eyebrow),
  .points-intro > div > p:not(.point-eyebrow) {
    font-size: 15px;
    line-height: 1.7;
  }

  .point-eyebrow {
    font-size: 11px;
    letter-spacing: 1.6px;
  }

  .point-workspace {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .point-entry-card {
    padding: 23px;
  }

  .point-card-heading {
    margin-bottom: 21px;
  }

  .point-mode-button {
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 6px;
    padding: 12px 9px;
  }

  .point-mode-button > span {
    display: grid;
    grid-row: 1;
  }

  .point-mode-button strong {
    font-size: 16px;
  }

  .point-mode-button small {
    font-size: 11px;
    grid-column: 1/-1;
  }

  .point-field-help {
    margin-bottom: 18px;
  }

  .point-entry-card .point-mode {
    margin-bottom: 20px;
  }

  .point-entry-form input {
    font-size: 21px;
  }

  .point-entry-form input::placeholder {
    font-size: 16px;
  }

  .point-save-note {
    font-size: 11px;
  }

  .point-side-column {
    gap: 20px;
  }

  .point-recent-card {
    padding: 23px 22px 6px;
  }

  .point-recent-card .point-empty {
    padding: 35px 20px 43px;
  }

  .point-recent-row {
    min-height: 82px;
  }

  .point-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 23px 24px;
    gap: 6px;
    font-size: 12px;
  }

  .point-history-intro {
    align-items: start;
    flex-direction: column;
    gap: 20px;
  }

  .point-history-tools {
    padding: 22px;
    gap: 17px;
    flex-direction: column;
    align-items: stretch;
  }

  .point-history-tools > label:last-child {
    min-width: 0;
  }

  .point-history-tools select {
    height: 50px;
  }

  .point-table {
    min-width: 650px;
  }

  .point-table th,
  .point-table td {
    padding: 12px 17px;
  }

  .point-table-footer {
    padding: 17px 20px;
    font-size: 12px;
    gap: 8px;
  }

  .point-page-button {
    padding: 8px 12px;
    font-size: 12px;
  }

  .point-lookup-balance {
    padding: 14px 22px;
    gap: 8px 15px;
  }

  .point-lookup-balance > strong {
    width: 100%;
    order: 2;
  }

  .point-lookup-balance > button {
    margin-left: auto;
  }

  .point-settings-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .point-settings-card {
    padding: 24px;
  }

  .point-settings-wide {
    grid-column: auto;
  }

  .point-settings-card .point-section-heading {
    align-items: start;
    flex-direction: column;
    gap: 0;
  }

  .point-sync-state {
    margin-bottom: 12px;
  }

  .point-settings-actions {
    gap: 12px 20px;
  }

  .point-help-note {
    padding: 0 5px;
  }

  .points-shell .page-heading h1 {
    font-size: 30px;
  }

  .points-shell .page-heading p {
    font-size: 15px;
  }

  .points-shell .conflict-row strong {
    font-size: 14px;
  }

  .points-shell .sync-main h2 {
    font-size: 22px;
  }
}

@media (max-width: 370px) {
  .point-topbar-inner {
    padding-inline: 14px;
  }

  .point-topbar nav a {
    font-size: 12px;
  }

  .point-language-button svg {
    display: none;
  }

  .point-main {
    padding-left: 14px;
    padding-right: 14px;
  }

  .points-intro h1 {
    font-size: 32px;
  }

  .point-entry-card {
    padding: 19px;
  }

  .point-mode {
    gap: 9px;
  }

  .point-mode-button {
    grid-template-columns: 1fr;
  }

  .point-mode-button > span {
    display: none;
  }

  .point-mode-button strong {
    font-size: 16px;
  }

  .point-section-heading h2 {
    font-size: 19px;
  }

  .point-section-heading > a {
    font-size: 12px;
  }

  .point-save-note {
    font-size: 10px;
  }
}

@media print {
  .point-topbar,
  .point-footer,
  .point-history-tools,
  .point-table-footer,
  .point-history-intro > button {
    display: none;
  }

  .point-main {
    padding: 0;
  }

  .point-table-scroll {
    overflow: visible;
  }

  .point-history-card {
    box-shadow: none;
    border: 0;
  }

  .point-table {
    min-width: 0;
    font-size: 12px;
  }
}
