:root {
  --p24-brown: #9a6429;
  --p24-brown-dark: #704315;
  --p24-cream: #fbf5ea;
  --p24-line: #e5d5bd;
  --p24-ink: #231305;
  --p24-muted: #7b6753;
  --p24-green: #12aa78;
}

.js-menu_profile_logged[hidden] {
  display: none !important;
}

.p24-account-trigger {
  border: 1px solid rgba(154, 100, 41, 0.52) !important;
  border-radius: 8px !important;
  background: #fffaf1 !important;
  color: var(--p24-brown-dark) !important;
  box-shadow: 0 2px 8px rgba(89, 49, 10, 0.14) !important;
  min-height: 44px !important;
  padding: 6px 12px !important;
  text-decoration: none !important;
}

.p24-account-trigger.is-signed-in {
  min-width: 0;
  min-height: 0 !important;
  justify-content: flex-start !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  clip-path: none !important;
  overflow: visible !important;
  position: relative;
}

.p24-account-trigger.is-signed-in::before,
.p24-account-trigger.is-signed-in::after {
  display: none !important;
  content: none !important;
}

.p24-profile-button {
  --p24-profile-button-height: 44px;
  width: min(218px, 29vw);
  height: var(--p24-profile-button-height);
  padding: 0;
  display: flex;
  align-items: center;
  border: 1px solid rgba(125, 95, 61, 0.22);
  border-radius: calc(var(--p24-profile-button-height) / 2) 10px 10px calc(var(--p24-profile-button-height) / 2);
  background: linear-gradient(135deg, #f6eee2, #ead9c1);
  box-shadow: 0 4px 10px rgba(84, 63, 42, 0.18);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.p24-account-trigger:hover .p24-profile-button {
  transform: translateY(-2px);
  border-color: rgba(125, 95, 61, 0.36);
  box-shadow: 0 7px 14px rgba(84, 63, 42, 0.24);
}

.p24-account-trigger:active .p24-profile-button {
  transform: translateY(-1px) scale(0.996);
}

.p24-account-trigger:focus-visible .p24-profile-button {
  outline: 3px solid rgba(76, 132, 228, 0.28);
  outline-offset: 3px;
}

.p24-profile-button__avatar {
  flex: 0 0 var(--p24-profile-button-height);
  width: var(--p24-profile-button-height);
  height: var(--p24-profile-button-height);
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: inset -3px 0 6px rgba(0, 0, 0, 0.06);
  position: relative;
  isolation: isolate;
}

.p24-profile-button__avatar::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.34);
  pointer-events: none;
}

.p24-profile-button__avatar.classic {
  background: linear-gradient(145deg, #c9dcfa, #9fbcea);
}

.p24-profile-button__avatar-icon {
  width: 24px;
  height: 29px;
  position: relative;
  z-index: 1;
}

.p24-profile-button__avatar-icon path {
  fill: rgba(255, 255, 255, 0.28);
  stroke: #38537e;
  stroke-width: 3.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.p24-profile-button__id {
  display: block !important;
  min-width: 0;
  padding: 0 12px 0 10px;
  color: #2d241d !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hkpm_booknow.p24-account-trigger.is-signed-in .p24-profile-button {
  display: flex !important;
  position: relative !important;
  padding: 0 !important;
}

.hkpm_booknow.p24-account-trigger.is-signed-in .p24-profile-button__avatar {
  display: grid !important;
  position: relative !important;
  padding: 0 !important;
}

.hkpm_booknow.p24-account-trigger.is-signed-in .p24-profile-button__id {
  display: block !important;
  position: relative !important;
  padding: 0 12px 0 10px !important;
}

.hkpm_booknow.p24-account-trigger.is-signed-in .p24-profile-button::after,
.hkpm_booknow.p24-account-trigger.is-signed-in .p24-profile-button__id::after {
  display: none !important;
  content: none !important;
}

.hkpm_booknow.p24-account-trigger.is-signed-in .p24-profile-button__avatar::after {
  content: "";
  display: block !important;
  position: absolute;
  inset: 4px;
  width: auto;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  pointer-events: none;
}

.p24-login-chip,
.p24-profile-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.p24-login-chip__icon,
.p24-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  overflow: hidden;
  background: var(--p24-avatar-color, var(--p24-brown));
  color: #fff;
  font-weight: 800;
}

.p24-login-chip__icon {
  width: 30px;
  height: 30px;
  border: 2px solid #f5e8d5;
}

.p24-login-chip__copy,
.p24-profile-chip__copy {
  display: grid;
  gap: 1px;
  text-align: left;
  line-height: 1.1;
  min-width: 0;
}

.p24-login-chip__copy strong,
.p24-profile-chip__copy strong {
  color: var(--p24-ink);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.p24-profile-chip__copy strong {
  font-size: 13px;
  letter-spacing: 0;
}

.p24-login-chip__copy small,
.p24-profile-chip__copy small {
  color: var(--p24-brown);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.p24-profile-chip {
  width: 100%;
}

.p24-profile-chip__avatar {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  margin-left: -48px;
  border: 3px solid #fff7ea;
  box-shadow: 0 2px 7px rgba(55, 37, 17, 0.2);
  font-size: 18px;
}

.p24-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.p24-profile-chip__status {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--p24-green);
  margin-left: auto;
  box-shadow: 0 0 0 4px rgba(18, 170, 120, 0.1);
}

.p24-profile-chip__status.is-syncing {
  animation: p24-profile-sync 0.9s ease-in-out infinite alternate;
}

@keyframes p24-profile-sync {
  from {
    opacity: 0.38;
    transform: scale(0.82);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.pungsu24_pop {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(66, 46, 38, 0.66);
  overflow: hidden;
  overscroll-behavior: contain;
}

.pungsu24_pop.is-login-panel {
  align-items: stretch;
  justify-content: flex-end;
  padding: 0;
  background: rgba(24, 18, 15, 0.46);
}

.pungsu24_pop.is-ledger-panel {
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.pungsu24_pop.is-open {
  display: flex !important;
}

.pungsu24_pop.is-closing {
  display: flex !important;
  pointer-events: none;
}

.pungsu24_pop .hkpm_pop_body,
.pungsu24_pop .hkpm_pop_content,
.pungsu24_pop .js-pop_body {
  width: min(1150px, 100%);
  max-height: min(92vh, 900px);
}

.pungsu24_pop.is-login-panel .hkpm_pop_body,
.pungsu24_pop.is-login-panel .hkpm_pop_content,
.pungsu24_pop.is-login-panel .js-pop_body {
  width: auto;
  max-height: none;
  height: 100%;
}

.pungsu24_pop.is-ledger-panel .hkpm_pop_body,
.pungsu24_pop.is-ledger-panel .hkpm_pop_content,
.pungsu24_pop.is-ledger-panel .js-pop_body {
  height: min(92vh, 820px);
  max-height: min(92vh, 820px);
  overflow: hidden;
}

.p24-login-modal {
  position: relative;
  width: min(520px, 100vw);
  min-height: 100vh;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  padding: 0;
  color: var(--p24-ink);
  animation: p24SlideIn 180ms ease-out both;
}

.pungsu24_pop.is-closing .p24-login-modal {
  animation: p24FoldOut 220ms cubic-bezier(0.55, 0, 0.4, 1) both;
  transform-origin: right center;
}

@keyframes p24SlideIn {
  from {
    opacity: 0.6;
    transform: translateX(70px) scaleX(0.985);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes p24FoldOut {
  0% {
    opacity: 1;
    transform: translateX(0) scaleX(1);
  }
  45% {
    opacity: 1;
    transform: translateX(14px) scaleX(1.015);
  }
  100% {
    opacity: 0;
    transform: translateX(82px) scaleX(0.82);
  }
}

.p24-login-modal__inner {
  width: min(390px, calc(100% - 56px));
  margin: 0 auto;
  padding: clamp(128px, 22vh, 190px) 0 56px;
}

.p24-login-modal__outer-close {
  appearance: none;
  border: 1px solid #d9d9d9;
  border-radius: 999px;
  background: #fff;
  color: #001a1a;
  cursor: pointer;
  font: inherit;
  line-height: 1;
}

.p24-login-modal__outer-close {
  position: absolute;
  top: 34px;
  left: 34px;
  width: 56px;
  height: 56px;
  font-size: 24px;
}

.p24-login-modal h2 {
  margin: 0 0 22px;
  color: #ad9054;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
}

.p24-login-modal p {
  margin: 0 0 38px;
  color: #5f6272;
  font-size: 16px;
  line-height: 1.45;
}

.p24-auth-stack {
  display: grid;
  gap: 11px;
}

.p24-oauth-button,
.p24-auth-button {
  appearance: none;
  border: 1px solid #d7d3cb;
  border-radius: 6px;
  padding: 14px 18px;
  background: #fffaf3;
  color: var(--p24-ink);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.p24-oauth-button {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  min-height: 54px;
  text-align: left;
}

.p24-oauth-button__icon {
  width: 20px;
  height: 20px;
  border-radius: 0;
  display: grid;
  place-items: center;
  background: transparent;
  font-size: 22px;
  font-weight: 900;
}

.p24-oauth-button__icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.p24-oauth-button--google {
  background: #fff;
}

.p24-oauth-button--google .p24-oauth-button__icon {
  color: #4285f4;
}

.p24-oauth-button--kakao {
  background: #fee500;
  border-color: #e7cc00;
}

.p24-oauth-button--kakao .p24-oauth-button__icon {
  color: #000;
}

.p24-oauth-button--guest {
  background: #e9e4de;
  border-color: #d7d0c8;
}

.p24-oauth-button--guest .p24-oauth-button__icon {
  color: #5d3d92;
}

.p24-login-modal__note {
  margin: 20px 0 0 !important;
  color: #565866 !important;
  font-size: 15px !important;
}

.p24-auth-message {
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.55;
}

.p24-auth-message--error {
  background: #fff0e8;
  color: #8a321c;
  border: 1px solid #f0c9b8;
}

.p24-auth-message--success {
  background: #e9f8f1;
  color: #116b4c;
  border: 1px solid #bce7d4;
}

.p24-inline-auth-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin: 10px 0 0;
  padding: 0 14px;
  border: 1px solid #9d6729;
  border-radius: 7px;
  background: #9d6729;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.p24-inline-auth-button:hover {
  background: #7d4b18;
}

.p24-ledger-modal {
  width: min(1150px, 100%);
  height: min(92vh, 820px);
  display: grid;
  grid-template-columns: 288px 1fr;
  overflow: hidden;
  border-radius: 8px;
  background: var(--p24-cream);
  color: var(--p24-ink);
  border: 1px solid rgba(229, 213, 189, 0.9);
  box-shadow: 0 24px 80px rgba(40, 24, 8, 0.3);
  min-height: 0;
}

.p24-ledger-sidebar {
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  border-right: 1px solid var(--p24-line);
}

.p24-ledger-sidebar h2 {
  margin: 0 0 28px;
  font-size: 20px;
}

.p24-ledger-nav {
  display: grid;
  gap: 12px;
}

.p24-ledger-nav button {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  border: 0;
  border-radius: 8px;
  padding: 13px 14px;
  background: transparent;
  color: var(--p24-ink);
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.p24-ledger-nav button.is-active {
  background: var(--p24-brown);
  color: #fff;
  box-shadow: 0 8px 18px rgba(154, 100, 41, 0.24);
}

.p24-ledger-nav em {
  min-width: 22px;
  height: 20px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(154, 100, 41, 0.18);
  color: inherit;
  font-size: 12px;
  font-style: normal;
}

.p24-ledger-sidebar__footer {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--p24-line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
}

.p24-ledger-sidebar__avatar {
  width: 36px;
  height: 36px;
}

.p24-ledger-sidebar__footer strong,
.p24-ledger-sidebar__footer span {
  display: block;
}

.p24-ledger-sidebar__footer span {
  color: var(--p24-muted);
  font-size: 12px;
  word-break: break-all;
}

.p24-logout-button {
  grid-column: 1 / -1;
  margin-top: 10px;
  border: 1px solid var(--p24-line);
  border-radius: 8px;
  background: transparent;
  padding: 10px;
  color: var(--p24-brown-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.p24-ledger-main {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
}

.p24-ledger-topbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--p24-line);
  padding: 0 26px;
}

.p24-ledger-topbar div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.p24-ledger-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--p24-green);
}

.p24-ledger-close {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--p24-brown-dark);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.p24-ledger-scroll {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 28px;
}

.p24-connected-card,
.p24-account-hero,
.p24-account-grid article,
.p24-record-card,
.p24-report-summary-card {
  border: 1px solid var(--p24-line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 5px 18px rgba(76, 44, 12, 0.08);
}

.p24-connected-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 18px;
  background: #e8fbf1;
  border-color: #a9e4c9;
}

.p24-check-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 2px solid var(--p24-green);
  color: var(--p24-green);
  font-weight: 900;
}

.p24-connected-card p,
.p24-account-hero p,
.p24-account-grid p,
.p24-history-head p,
.p24-empty-records p {
  margin: 4px 0 0;
  color: var(--p24-muted);
  line-height: 1.65;
}

.p24-connected-card code {
  border: 1px solid #d8c9b1;
  border-radius: 6px;
  padding: 8px 12px;
  background: #fffaf1;
  color: var(--p24-brown-dark);
}

.p24-account-hero {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-top: 36px;
  padding: 34px 28px;
}

.p24-account-hero__avatar {
  width: 92px;
  height: 92px;
  flex: 0 0 92px;
  border: 4px solid #fff;
  box-shadow: 0 0 26px rgba(193, 83, 157, 0.24);
  font-size: 30px;
}

.p24-account-hero h3 {
  margin: 12px 0 10px;
  font-size: 22px;
}

.p24-account-hero h3 button,
.p24-account-grid button,
.p24-history-head button,
.p24-report-detail-head button,
.p24-profile-form button {
  border: 1px solid var(--p24-line);
  border-radius: 8px;
  padding: 9px 12px;
  background: var(--p24-brown);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.p24-account-hero h3 button {
  margin-left: 8px;
  background: transparent;
  color: var(--p24-brown-dark);
  padding: 2px 6px;
  text-decoration: underline;
}

.p24-account-email {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.p24-account-email span {
  border: 1px solid var(--p24-line);
  border-radius: 999px;
  padding: 4px 9px;
  color: var(--p24-brown-dark);
  background: #fff7e8;
  font-size: 12px;
  font-weight: 800;
}

.p24-account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.p24-account-grid article {
  padding: 24px;
}

.p24-account-grid h4 {
  margin: 0;
}

.p24-account-grid code {
  display: inline-block;
  margin-top: 18px;
}

.p24-profile-form {
  display: grid;
  gap: 8px;
  margin-top: 36px;
}

.p24-profile-form label {
  color: var(--p24-muted);
  font-weight: 800;
}

.p24-profile-form div {
  display: flex;
  gap: 10px;
}

.p24-profile-form input,
.p24-history-tools input {
  width: 100%;
  border: 1px solid var(--p24-line);
  border-radius: 8px;
  padding: 13px 14px;
  background: #fff;
  color: var(--p24-ink);
  font: inherit;
}

.p24-history-head {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: flex-start;
}

.p24-history-head h3 {
  margin: 0;
  font-size: 25px;
}

.p24-history-tools {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin: 22px 0 26px;
  padding-top: 22px;
  border-top: 1px solid var(--p24-line);
}

.p24-history-tools button {
  border: 1px solid var(--p24-line);
  border-radius: 8px;
  background: #fffaf3;
  color: var(--p24-brown-dark);
  padding: 0 14px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.p24-history-list {
  display: grid;
  gap: 14px;
}

.p24-record-card {
  position: relative;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 20px 210px 20px 28px;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.p24-record-card__score,
.p24-record-card__type,
.p24-record-card__date {
  border: 1px solid var(--p24-line);
  border-radius: 999px;
  padding: 4px 8px;
  color: var(--p24-brown-dark);
  background: #fff7e8;
  font-size: 12px;
  font-weight: 900;
}

.p24-record-card__score {
  background: #e2fff2;
  color: #087052;
}

.p24-record-card strong,
.p24-record-card small {
  grid-column: 1 / -1;
}

.p24-record-card strong {
  margin-top: 4px;
  font-size: 18px;
}

.p24-record-card small {
  color: var(--p24-muted);
  font-size: 14px;
}

.p24-record-card em {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--p24-brown-dark);
  font-style: normal;
  font-weight: 900;
}

.p24-empty-records {
  border: 1px dashed var(--p24-line);
  border-radius: 8px;
  padding: 28px;
  background: #fffaf3;
}

.p24-report-detail-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.p24-report-detail-head h3 {
  margin: 0 0 6px;
  font-size: 24px;
}

.p24-report-detail-head p {
  margin: 0;
  color: var(--p24-muted);
}

.p24-report-preview {
  overflow: auto;
  max-height: 62vh;
  border-radius: 8px;
  background: #e9ece6;
}

.p24-report-preview .a4-report {
  margin: 0;
  padding: 18px 0 28px;
}

.p24-report-preview .a4-page {
  width: min(210mm, calc(100vw - 96px));
  max-width: 100%;
  aspect-ratio: 210 / 297;
  height: auto;
  margin: 0 auto;
}

.p24-expired-report .a4-page {
  display: grid;
  align-items: center;
  text-align: center;
}

@media (max-width: 900px) {
  .pungsu24_pop {
    padding: 12px;
  }

  .pungsu24_pop.is-ledger-panel {
    align-items: stretch;
    padding: 8px;
    overflow-y: auto;
  }

  .pungsu24_pop.is-login-panel {
    padding: 0;
  }

  .p24-login-modal {
    width: min(480px, 100vw);
  }

  .p24-login-modal__inner {
    width: min(360px, calc(100% - 48px));
  }

  .p24-account-trigger.is-signed-in {
    min-width: 0;
  }

  .p24-profile-button {
    --p24-profile-button-height: 40px;
    width: min(132px, 34vw);
  }

  .p24-profile-button__id {
    padding: 0 9px 0 7px !important;
  }

  .p24-profile-button__avatar {
    font-size: 16px;
  }

  .p24-profile-button__avatar-icon {
    width: 22px;
    height: 26px;
  }

  .p24-ledger-modal {
    height: calc(100dvh - 16px);
    max-height: calc(100dvh - 16px);
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) minmax(136px, 30dvh);
  }

  .p24-ledger-sidebar {
    order: 2;
    display: flex;
    min-height: 0;
    overflow-y: auto;
    padding: 6px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    border-right: 0;
    border-top: 1px solid var(--p24-line);
    background: rgba(255, 250, 243, 0.94);
    -webkit-overflow-scrolling: touch;
  }

  .p24-ledger-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  .p24-ledger-nav button {
    grid-template-columns: auto 1fr;
    min-height: 30px;
    padding: 5px 8px;
    gap: 6px;
    font-size: 12px;
    line-height: 1.2;
  }

  .p24-ledger-nav em {
    grid-column: auto;
    justify-self: end;
    min-width: 18px;
    height: 18px;
    font-size: 11px;
  }

  .p24-ledger-sidebar h2 {
    margin: 0 0 4px;
    font-size: 12px;
  }

  .p24-ledger-sidebar__footer {
    margin-top: 0;
    padding-top: 6px;
    gap: 6px;
  }

  .p24-ledger-sidebar__avatar {
    width: 30px;
    height: 30px;
  }

  .p24-ledger-sidebar__footer strong {
    font-size: 13px;
    line-height: 1.2;
  }

  .p24-ledger-sidebar__footer span {
    font-size: 11px;
    line-height: 1.2;
    max-height: 2.4em;
    overflow: hidden;
  }

  .p24-logout-button {
    width: 100%;
    min-height: 32px;
    margin-top: 4px;
    padding: 6px 10px;
    font-size: 13px;
    flex-shrink: 0;
  }

  .p24-ledger-scroll {
    padding: 18px;
  }

  .p24-connected-card,
  .p24-account-grid,
  .p24-history-tools {
    grid-template-columns: 1fr;
  }

  .p24-account-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .p24-history-head,
  .p24-report-detail-head {
    flex-direction: column;
  }

  .p24-report-preview {
    max-height: 70vh;
  }

  .p24-report-preview .a4-report {
    padding: 12px 0 18px;
  }

  .p24-report-preview .a4-page {
    width: 100%;
    max-width: 100%;
    aspect-ratio: auto;
    overflow: visible;
  }

  .p24-record-card {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .p24-record-card em {
    position: static;
    transform: none;
    margin-top: 8px;
  }

  .p24-profile-form div {
    flex-direction: column;
  }
}
.hkpm_notice .hkpm_notice_body .swiper-slide a,.hkpm_notice .hkpm_notice_body .swiper-slide span{white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important;padding-right:20px!important;font-size:clamp(12px,1.35vw,14px)!important;line-height:1.3!important}
