.hc-shell {
  --hc-ink: #f1f1eb;
  --hc-muted: #a6a6a0;
  --hc-rule: #363733;
  --hc-field: #111211;
  --hc-card: #181917;
  --hc-accent: #ff823e;
  color: var(--hc-ink);
  font-family: var(--sans, "Geist", system-ui, sans-serif);
  padding: clamp(34px, 6vw, 80px) 0 clamp(64px, 9vw, 120px);
  min-width: 0;
  color-scheme: dark;
}
.hc-shell *, .hc-shell *::before, .hc-shell *::after { box-sizing: border-box }
.hc-shell h1, .hc-shell h2, .hc-shell p { margin: 0; color: inherit }
.hc-shell a { color: inherit; text-decoration: none }
.hc-shell button, .hc-shell select, .hc-shell input, .hc-shell textarea { font: inherit; color: inherit }
.hc-shell button { cursor: pointer }
.hc-shell button:disabled { cursor: default; opacity: .42 }
.hc-shell :is(button, a, input, select, textarea, [tabindex]):focus-visible { outline: 2px solid var(--hc-accent); outline-offset: 3px }
.hc-shell a:hover { color: var(--hc-accent) }
.hc-crumb, .hc-demo, .hc-stat-label, .hc-muted, .hc-output-head, .hc-output-meta, .hc-key-code, .hc-key-date, .hc-table th, .hc-money, .hc-key-status, .hc-filter, .hc-bottom, .hc-pages, .hc-output-text, .hc-await, .hc-toast, .hc-secret, .hc-receipt dd {
  font-family: var(--mono, "IBM Plex Mono", ui-monospace, monospace);
}
.hc-crumb { display:flex; align-items:center; gap:12px; color:var(--hc-muted); font-size:13px }
.hc-crumb span { color:#686a64 }
.hc-title-row { display:flex; align-items:center; gap:20px; margin:20px 0 36px }
.hc-shell h1 { font-size:clamp(44px, 6vw, 80px); letter-spacing:-.072em; font-weight:520; line-height:1.04 }
.hc-demo { display:inline-flex; align-items:center; gap:8px; color:#fc9a68; background:#2a211b; border:1px solid #4c3224; padding:5px 9px; font-size:12px; line-height:1.3; white-space:nowrap }
.hc-demo::before { content:""; width:6px; height:6px; background:currentColor }
.hc-summary { display:grid; grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr); border:1px solid var(--hc-rule); background:var(--hc-card) }
.hc-balance, .hc-activity { min-width:0; padding:24px clamp(19px,3vw,35px); position:relative; display:flex; flex-direction:column; align-items:flex-start }
.hc-balance { border-right:1px solid var(--hc-rule) }
.hc-stat-label { color:var(--hc-muted); font-size:13px; letter-spacing:.012em }
.hc-balance strong, .hc-activity strong { display:block; font-size:clamp(36px,4.3vw,60px); letter-spacing:-.065em; line-height:1; font-weight:490; margin:15px 0 24px; font-variant-numeric:tabular-nums }
.hc-activity strong { margin-bottom:auto; padding-bottom:25px }
.hc-muted { color:var(--hc-muted); font-size:12px; line-height:1.7 }
.hc-bars { align-self:flex-end; position:absolute; right:clamp(17px,3vw,34px); bottom:28px; display:flex; gap:clamp(3px,.55vw,8px); height:min(7.2vw,90px); width:33%; min-height:56px }
.hc-day { position:relative; flex:1; display:flex; align-items:flex-end; border-bottom:1px solid #4f5149 }
.hc-day span { height:var(--hc-height); min-height:1px; max-height:100%; width:100%; background:repeating-linear-gradient(to top,#777970 0px,#777970 3px,transparent 3px,transparent 5px) }
.hc-day:last-child span { background:repeating-linear-gradient(to top,var(--hc-accent) 0px,var(--hc-accent) 3px,transparent 3px,transparent 5px) }
.hc-day small { position:absolute; top:100%; padding-top:5px; width:100%; text-align:center; color:var(--hc-muted); font:10px/1 var(--mono,monospace) }
.hc-icon { display:inline-block; vertical-align:middle; flex:none }
.hc-button { display:inline-flex; align-items:center; justify-content:center; gap:8px; border:1px solid var(--hc-rule); background:transparent; border-radius:0; min-height:40px; padding:9px 15px; line-height:1.25; text-decoration:none; white-space:nowrap; font-size:14px!important; font-weight:520!important }
.hc-button:hover:not(:disabled), .hc-icon-button:hover:not(:disabled), .hc-amounts button:hover { border-color:#73756d; background:#262723 }
.hc-button.hc-dark { background:var(--hc-ink); border-color:var(--hc-ink); color:var(--hc-field) }
.hc-button.hc-dark:hover:not(:disabled) { background:#fff; border-color:#fff; color:#0a0b09 }
.hc-button.hc-danger { background:#e78865; border-color:#e78865; color:#1f120b }
.hc-button.hc-danger:hover { background:#f69d78; border-color:#f69d78 }
.hc-tabs { display:flex; border-bottom:1px solid var(--hc-rule); margin-top:32px; gap:clamp(12px,3vw,34px) }
.hc-tabs button { min-height:48px; background:transparent; border:0; border-radius:0; color:var(--hc-muted); padding:8px 0; position:relative; font-size:15px; font-weight:510 }
.hc-tabs button[aria-selected=true] { color:var(--hc-ink) }
.hc-tabs button[aria-selected=true]::after { content:""; position:absolute; height:2px; bottom:-1px; left:0; right:0; background:var(--hc-accent) }
.hc-tabs button:hover { color:var(--hc-ink) }
.hc-content { min-height:218px }
.hc-panehead { display:flex; align-items:center; justify-content:space-between; gap:18px; margin:32px 0 22px }
.hc-shell h2 { font-size:clamp(24px,2.7vw,36px); font-weight:520; line-height:1.16; letter-spacing:-.048em }
.hc-panehead p, .hc-dialog p { color:var(--hc-muted); line-height:1.55; font-size:15px; margin-top:7px; max-width:62ch }
.hc-table-scroll { max-width:100%; overflow:auto; scrollbar-width:thin; scrollbar-color:var(--hc-rule) transparent }
.hc-table { border-collapse:collapse; width:100%; text-align:left; background:transparent; color:var(--hc-ink); font-size:15px }
.hc-table th { background:var(--hc-card); border-block:1px solid var(--hc-rule); color:var(--hc-muted); font-size:12px; font-weight:400; padding:11px 14px; white-space:nowrap }
.hc-table td { border-bottom:1px solid var(--hc-rule); padding:14px; line-height:1.35; vertical-align:middle }
.hc-table b { font-weight:530; overflow-wrap:anywhere }
.hc-key-name { display:flex; align-items:center; gap:11px }
.hc-key-name i { width:31px; height:31px; display:grid; place-items:center; background:var(--hc-card); border:1px solid var(--hc-rule); color:var(--hc-muted); flex:none }
.hc-key-code, .hc-key-date { font-size:12px; color:var(--hc-muted); white-space:nowrap }
.hc-key-status { display:inline-flex; align-items:center; gap:7px; font-size:12px; color:var(--hc-muted); white-space:nowrap }
.hc-key-status::before { content:""; width:6px; height:6px; border:1px solid currentColor }
.hc-live::before { border-color:#bad38c; background:#bad38c }
.hc-actions-cell { text-align:right; white-space:nowrap }
.hc-icon-button { display:inline-grid; place-items:center; width:32px; height:32px; border:1px solid transparent; border-radius:0; background:transparent; color:var(--hc-muted)!important }
.hc-icon-button.hc-revoke:hover { color:#ff966a!important }
.hc-bottom { display:flex; justify-content:space-between; gap:18px; margin-top:27px; color:var(--hc-muted); font-size:12px }
.hc-bottom a { display:inline-flex; align-items:center; gap:6px }
.hc-shell label { display:flex; flex-direction:column; gap:7px; color:var(--hc-muted); font-size:13px; font-weight:500 }
.hc-shell :is(input,textarea,select) { min-width:0; width:100%; padding:10px 12px; border:1px solid #454741; border-radius:0; background:var(--hc-field); color:var(--hc-ink); font-size:15px; font-weight:400; line-height:1.4 }
.hc-shell select { appearance:none; cursor:pointer; padding-right:36px; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='m3 5 4 4 4-4' fill='none' stroke='%23aaa99f' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 12px center }
.hc-shell textarea { resize:vertical; min-height:84px }
.hc-shell input:focus, .hc-shell textarea:focus, .hc-shell select:focus { border-color:var(--hc-accent) }
.hc-test-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:20px }
.hc-test-form { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:14px 12px }
.hc-test-form label:has(textarea), .hc-test-form .hc-form-error { grid-column:1/-1 }
.hc-test-form .hc-button { width:max-content; margin-top:0 }
.hc-output { background:#151613; border:1px solid var(--hc-rule); min-height:200px; min-width:0; display:flex; flex-direction:column }
.hc-output-head { display:flex; min-height:42px; align-items:center; justify-content:space-between; border-bottom:1px solid var(--hc-rule); padding:0 13px; font-size:13px }
.hc-output-head b { font-weight:500 }
.hc-output-head small { color:var(--hc-muted); font-size:12px }
.hc-output-head > div { display:flex; align-items:center; gap:4px }
.hc-output-head button:not(.hc-icon-button) { border:0; border-radius:0; background:transparent; color:var(--hc-muted); padding:5px 6px; font:12px var(--mono,monospace) }
.hc-output-head button[aria-pressed=true] { background:#30312b; color:var(--hc-ink) }
.hc-await { flex:1; display:flex; flex-direction:column; justify-content:center; align-items:center; gap:12px; padding:24px; font-size:12px; color:var(--hc-muted) }
.hc-await svg { width:22px; height:22px; color:#777971 }
.hc-output-text { min-width:0; padding:21px 18px; margin:0; color:var(--hc-ink); font-size:13px; line-height:1.6; white-space:pre-wrap; overflow-wrap:anywhere; max-height:400px; overflow:auto }
.hc-output-meta { margin-top:auto; padding:9px 15px; color:var(--hc-muted); border-top:1px solid var(--hc-rule); font-size:12px }
.hc-form-error { color:#ffab87; font-size:14px; line-height:1.4 }
.hc-form-error:empty { display:none }
.hc-shell select.hc-filter { width:auto; min-width:145px; font-size:13px }
.hc-item-sub { display:block; color:var(--hc-muted); font:12px/1.55 var(--mono,monospace); margin-top:3px }
.hc-history-table td:first-child { color:var(--hc-muted); font:12px var(--mono,monospace) }
.hc-history-table :is(th,td):last-child { text-align:right; white-space:nowrap }
.hc-money { font-size:13px }
.hc-pages { display:flex; justify-content:flex-end; align-items:center; gap:13px; margin-top:16px; color:var(--hc-muted); font-size:12px }
.hc-pages .hc-button { min-height:31px; padding:4px 9px; font-size:12px!important }
.hc-dialog { color:var(--hc-ink); background:#1c1d1a; border:1px solid #53554c; border-radius:0; width:min(440px,calc(100vw - 32px)); padding:0; margin:auto; max-height:calc(100dvh - 32px); overflow:auto; box-shadow:0 20px 90px #0009 }
.hc-dialog::backdrop { background:#070805bf; backdrop-filter:blur(3px) }
.hc-dialog form { padding:clamp(20px,3vw,29px); display:grid; gap:19px }
.hc-dialog-head { display:flex; justify-content:space-between; align-items:flex-start; gap:12px }
.hc-dialog h2 { font-size:29px }
.hc-dialog-head .hc-icon-button { margin:-4px -6px 0 0 }
.hc-dialog p { margin:0 }
.hc-dialog-foot { display:flex; justify-content:flex-end; gap:8px; flex-wrap:wrap; padding-top:16px; border-top:1px solid var(--hc-rule); margin-top:2px }
.hc-copy-new { justify-self:start }
.hc-dialog input.hc-secret { font-family:var(--mono,monospace); font-size:13px }
.hc-amounts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:7px; margin-top:-8px }
.hc-amounts button { background:transparent; border:1px solid var(--hc-rule); border-radius:0; font:12px var(--mono,monospace); padding:8px 2px; white-space:nowrap }
.hc-amounts button[aria-pressed=true] { border-color:var(--hc-accent); color:var(--hc-accent); background:#292018 }
.hc-receipt { margin:0; display:grid; gap:12px }
.hc-receipt div { display:flex; justify-content:space-between; align-items:baseline; gap:12px }
.hc-receipt dt { color:var(--hc-muted); font-size:14px }
.hc-receipt dd { margin:0; font-size:15px }
.hc-toast { position:fixed; right:clamp(12px,3vw,30px); bottom:24px; z-index:100; font-size:13px; background:#ecece5; color:#161713; padding:11px 16px; line-height:1.5; opacity:0; pointer-events:none; max-width:calc(100vw - 24px); transform:translateY(8px); transition:opacity .15s, transform .15s }
.hc-toast.hc-shown { opacity:1; transform:translateY(0) }
.hc-sr { width:1px; height:1px; position:absolute; clip:rect(0,0,0,0); overflow:hidden; white-space:nowrap }
.hc-loading { width:12px; height:12px; border:1px solid var(--hc-rule); border-top-color:var(--hc-accent); animation:hc-spin .65s linear infinite }
@keyframes hc-spin { to { transform:rotate(360deg) } }
@media(max-width:800px) {
  .hc-bars { width:27% }
  .hc-key-table th:nth-child(4), .hc-key-table td:nth-child(4) { display:none }
}
@media(max-width:640px) {
  .hc-shell { padding-top:32px; padding-bottom:64px }
  .hc-title-row { margin:16px 0 24px }
  .hc-summary { grid-template-columns:1fr 1fr }
  .hc-balance, .hc-activity { padding:17px 13px }
  .hc-stat-label { font-size:12px }
  .hc-balance strong, .hc-activity strong { font-size:clamp(27px,7vw,40px); margin:14px 0 17px; padding:0 }
  .hc-activity .hc-muted { display:none }
  .hc-bars { position:static; width:100%; height:27px; min-height:24px; max-width:180px; align-self:start; margin-bottom:13px }
  .hc-day small { font-size:8px; padding-top:3px }
  .hc-panehead { align-items:flex-start; margin:24px 0 17px; flex-wrap:wrap; gap:13px }
  .hc-shell h2 { font-size:26px }
  .hc-panehead p { font-size:14px }
  .hc-tabs { margin-top:20px; gap:22px }
  .hc-tabs button { font-size:14px }
  .hc-table th, .hc-table td { padding:10px 7px }
  .hc-key-name { font-size:14px; gap:6px }
  .hc-key-name i { display:none }
  .hc-key-table th:nth-child(2), .hc-key-table td:nth-child(2) { display:none }
  .hc-table .hc-actions-cell { padding-right:0; padding-left:0 }
  .hc-actions-cell .hc-icon-button { width:31px; height:35px }
  .hc-test-grid { grid-template-columns:1fr; gap:19px }
  .hc-history-table th, .hc-history-table td { padding:9px 5px }
  .hc-history-table td:first-child { max-width:82px; font-size:11px }
  .hc-history-table b, .hc-money { font-size:12px }
  .hc-history-table small { font-size:11px }
  .hc-bottom { flex-wrap:wrap; margin-top:24px; gap:12px }
  .hc-content { min-height:0 }
  .hc-filter { min-height:38px }
}
@media(max-width:370px) {
  .hc-test-form { grid-template-columns:1fr }
  .hc-summary { grid-template-columns:1fr }
  .hc-balance { border:0; border-bottom:1px solid var(--hc-rule) }
  .hc-activity strong { margin-bottom:0 }
  .hc-bars { position:absolute; right:13px; bottom:15px; width:35%; height:35px; margin:0 }
  .hc-table .hc-actions-cell .hc-icon-button { width:28px }
}
@media(prefers-reduced-motion:reduce) {
  .hc-toast, .hc-loading { animation:none; transition:none }
}
