.hc-page{background:#071e21;color:#f3f1e9;font:18px/1.65 system-ui,sans-serif;margin:0}.hc-wrap{max-width:760px;margin:auto;padding:24px clamp(16px,4vw,44px) 60px}.hc-page a,.hc-bar a{color:#c4edd9;text-underline-offset:.2em}.hc-page header{padding:22px 0}.hc-page h1{font-size:clamp(30px,5vw,48px);line-height:1.25;margin:8px 0}.hc-page h2{font-size:23px;margin:8px 0}.hc-page section{padding:20px 0;border-top:1px solid #456267}.hc-page button,.hc-invite button,.hc-bar button{font:inherit;cursor:pointer;padding:8px 16px;border-radius:8px;background:#c4ebd5;color:#133430;border:1px solid #88b7a4}/* Keep the action row reachable even in a short landscape viewport. */
.hc-invite {
  box-sizing:border-box;position:fixed;inset:auto max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) auto;
  z-index:2147483631;display:flex;flex-direction:column;gap:8px;margin:0;
  width:min(324px,calc(100vw - 24px - env(safe-area-inset-left) - env(safe-area-inset-right)));
  max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  padding:12px;background:#11383a;color:white;border:1px solid #9cbba7;border-radius:12px;
  font:15px/1.45 system-ui,sans-serif;text-align:start;box-shadow:0 6px 22px #0004
}
.hc-invite-copy{min-height:0;overflow:auto;overscroll-behavior:contain}
.hc-invite .hc-invite-copy p{margin:0;font:inherit}
.hc-invite small{display:block;margin:.45em 0 0;font-size:13px;color:#e1ece7}
.hc-benefit{color:#ffde82;font-size:1.18em;font-weight:800;text-decoration:underline;text-underline-offset:.16em}
.hc-invite-actions{display:flex;flex-wrap:wrap;gap:8px;flex:none}
.hc-invite-actions a,.hc-invite-actions button{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px;margin:0;padding:6px 14px;border:1px solid #88b7a4;border-radius:8px;color:#10312a;background:#c4ebd5;text-decoration:none;font:700 15px/1.3 system-ui;cursor:pointer}
.hc-invite-actions button{background:#123c40;color:white}
.hc-bar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;color:#fff;background:#123536;padding:10px 16px;margin:10px 0;font:16px/1.5 system-ui,sans-serif;border-radius:10px}.hc-toast{position:fixed;inset:auto;margin:0;pointer-events:none;background:#143e33;color:#fff;border:1px solid #cebe7a;border-radius:8px;padding:7px 12px;z-index:2147483647;font:600 16px system-ui}.hc-balance{font-size:clamp(30px,7vw,54px);color:#e5c989;letter-spacing:-.03em}.hc-history{padding:0;list-style:none}.hc-history li{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #345457;padding:12px 0}.hc-history small{display:block;color:#c0d2ce}.hc-page [hidden],.hc-bar [hidden],.hc-bar[hidden],.hc-invite[hidden]{display:none!important}

/* The existing ledger colors and layout remain; policy tables wrap on small screens. */
.hc-policy-nav{padding:0 0 18px}.hc-table-wrap{max-width:100%;overflow-x:auto}.hc-table-wrap table{width:100%;border-collapse:collapse;font-size:1rem;text-align:start}.hc-table-wrap th,.hc-table-wrap td{padding:12px 10px;border:1px solid #456267;vertical-align:top}.hc-table-wrap th{font-weight:700}.hc-policy-current{border-inline-start:3px solid #e5c989;padding-inline-start:14px}.hc-page .muted{color:#c0d2ce;font-size:1rem}.hc-page details{margin:16px 0}.hc-page summary{cursor:pointer;font-weight:700}.hc-policy-english{padding:16px 0;border-top:1px solid #456267}.hc-page section[id]{scroll-margin-top:20px}
