.hn-shell{max-width:1320px;margin:auto;color:#102447}.hn-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:8px 0 24px}.hn-head h1{display:flex;align-items:center;gap:12px;margin:0 0 10px;font-size:34px}.hn-head h1 img{width:49px;height:49px;object-fit:contain}.hn-head p,.hn-muted{color:#6782a8;font-size:14px;line-height:1.7;margin:6px 0}.hn-status{font-size:12px;border-radius:30px;padding:8px 13px;background:#e8f7f3;color:#16866e;white-space:nowrap}.hn-stats{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:0;border:1px solid #dceaff;border-radius:24px;background:linear-gradient(105deg,#fff,#f1f8ff);padding:27px;margin-bottom:22px;box-shadow:0 10px 34px #1265dd06}.hn-stats>div{padding:0 24px;border-left:1px solid #dce8fa;min-width:0}.hn-stats>div:first-child{padding-left:0;border:0}.hn-stats span{display:block;color:#6a80a1;font-size:13px}.hn-stats strong{display:block;font-size:29px;font-weight:750;color:#0c2452;margin-top:10px;overflow-wrap:anywhere}.hn-stats small{font-size:13px;color:#1371fd}.hn-tabs{display:flex;gap:4px;background:#eaf2fc;border:1px solid #dfebfb;border-radius:15px;padding:5px;width:fit-content;max-width:100%;margin:20px 0;overflow-x:auto}.hn-tabs button{border:0;background:transparent;white-space:nowrap;padding:12px 20px;border-radius:11px;color:#597ba9;font-weight:600}.hn-tabs button[aria-selected=true]{background:#fff;box-shadow:0 3px 10px #15397508;color:#1265f6}.hn-toolbar,.hn-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.hn-toolbar{justify-content:space-between;margin:18px 0}.hn-toolbar h2{margin:0;font-size:21px}.hn-toolbar .btn,.hn-actions .btn{min-height:42px}.hn-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.hn-card{border:1px solid #dce8fa;background:linear-gradient(145deg,#fff,#f6fbff);border-radius:23px;padding:25px;min-width:0}.hn-card h3{font-size:22px;margin:18px 0 12px;overflow-wrap:anywhere}.hn-card h3 small{font-size:14px;color:#6683aa}.hn-tags{display:flex;align-items:center;justify-content:space-between;gap:8px}.hn-tag{font-size:12px;color:#176bb7;background:#eaf3ff;border:1px solid #e1edff;border-radius:8px;padding:5px 9px}.hn-tag.green{color:#078b68;background:#e7f8f1;border-color:#d4f2e8}.hn-tag.amber{color:#a97316;background:#fff7e7;border-color:#ffedca}.hn-price{font-size:28px;font-weight:750;margin:5px 0 18px;color:#0b2452;overflow-wrap:anywhere}.hn-price small{font-size:13px;color:#156cf9}.hn-pair{display:flex;justify-content:space-between;gap:14px;font-size:13px;line-height:1.8;padding:7px 0;color:#6782a8}.hn-pair strong{color:#1d406b;text-align:right;overflow-wrap:anywhere}.hn-rule,.hn-warning,.hn-empty,.hn-pending{border:1px solid #deebfc;border-radius:17px;padding:19px 21px;margin:16px 0;color:#617fa5;font-size:13px;line-height:1.9;background:#f4f9ff}.hn-warning{background:#fff9ed;border-color:#f5e5bd;color:#98671b}.hn-empty{text-align:center;padding:40px 24px;background:#fff}.hn-empty img{width:70px;height:70px;object-fit:contain;margin:0 auto 14px}.hn-empty h2{font-size:21px;color:#173656}.hn-card .hn-actions{margin-top:18px}.hn-card .hn-actions .btn{flex:1;font-size:13px;white-space:nowrap}.hn-valuation{background:#edf5ff;border:1px solid #dceaff;border-radius:13px;padding:13px 15px;margin:16px 0}.hn-valuation span{display:block;color:#6c82a3;font-size:12px}.hn-valuation strong{display:block;font-size:20px;color:#1a4777;margin:4px 0}.hn-valuation small{font-size:11px;color:#758ba9}.hn-pagination{margin-top:22px;display:flex;gap:10px;align-items:center;justify-content:center}.hn-dialog{width:min(650px,calc(100vw - 28px));max-width:650px;max-height:88dvh;border:1px solid #e1ebfa;border-radius:24px;padding:0;color:#173756;box-shadow:0 24px 100px #0a285b33}.hn-dialog::backdrop{background:#152d4c66;backdrop-filter:blur(5px)}.hn-dialog-top{display:flex;align-items:center;justify-content:space-between;padding:22px 25px;border-bottom:1px solid #e5edf9;position:sticky;top:0;background:#fff;z-index:1}.hn-dialog-top h2{font-size:20px;margin:0}.hn-dialog-content{padding:23px 25px}.hn-dialog .form-field{display:flex;flex-direction:column;gap:8px;margin:0 0 17px;font-size:13px;font-weight:600}.hn-dialog input:not([type=checkbox]),.hn-dialog select,.hn-dialog textarea{width:100%;box-sizing:border-box;border:1px solid #d5e4fc;border-radius:12px;min-height:46px;padding:11px 13px;background:white;color:#254d7a}.hn-dialog textarea{min-height:90px;resize:vertical}.hn-dialog-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.hn-review-row{display:grid;grid-template-columns:minmax(100px,.8fr) minmax(0,1.4fr);gap:15px;border-bottom:1px solid #e7eef9;padding:12px 0;font-size:13px;line-height:1.6}.hn-review-row span{color:#6b84a6}.hn-review-row strong{text-align:right;overflow-wrap:anywhere;font-weight:600}.hn-review-row:has(span:first-child:last-child){display:block}.hn-review-args{margin:18px 0;color:#6a82a3;font-size:12px}.hn-epoch{display:flex;align-items:center;justify-content:space-between;padding:14px 0;border-bottom:1px solid #e5eefb;font-size:13px}.hn-pending a,.hn-card a{color:#1269e9}.hn-notice{color:#926718;font-size:13px;line-height:1.7;white-space:pre-wrap}.hn-notice:not(:empty){background:#fff9ed;border:1px solid #f2e3c1;padding:14px 18px;border-radius:14px;margin:12px 0}.hn-check{display:flex;align-items:flex-start;gap:9px;font-size:13px;line-height:1.8;margin:18px 0}.hn-check input{margin-top:5px}.hn-fill-option{border:1px solid #dce8fa;border-radius:12px;padding:12px;margin-bottom:12px}.hn-fill-option label{display:flex;align-items:center;gap:10px;font-size:13px}.hn-fill-option input[type=text]{margin-top:8px}.hn-scope{font-size:11px;color:#7890b1;overflow-wrap:anywhere}.hn-shell button:focus-visible,.hn-shell input:focus-visible,.hn-shell select:focus-visible{outline:3px solid #80b2ff;outline-offset:3px}.hn-dialog .hn-actions{margin-top:20px;justify-content:flex-end}.hn-dialog .hn-actions .btn{min-width:118px}.hn-dialog .hn-actions .btn:first-child{flex:1}.hn-recovery{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}.hn-recovery input{flex:1;min-width:160px;border:1px solid #d5e4fc;border-radius:10px;padding:9px}.hn-shell .btn:disabled{cursor:not-allowed;opacity:.5}.hn-shell .hn-actions .danger{color:#aa5b36;border-color:#f2ded5;background:#fffaf6}@media(max-width:720px){.hn-head{gap:10px;align-items:flex-start}.hn-head h1{font-size:28px}.hn-head h1 img{width:40px;height:40px}.hn-status{font-size:10px;padding:6px 9px}.hn-stats{padding:20px 15px;border-radius:19px;grid-template-columns:1fr 1fr}.hn-stats>div{padding:0 12px}.hn-stats>div:last-child{grid-column:1/-1;padding:15px 0 0;margin-top:15px;border-left:0;border-top:1px solid #deebfb;display:flex;align-items:center;justify-content:space-between}.hn-stats>div:last-child strong{font-size:20px;margin:0}.hn-stats strong{font-size:24px}.hn-tabs{width:100%;box-sizing:border-box}.hn-tabs button{padding:11px 14px;flex:1}.hn-grid{grid-template-columns:1fr}.hn-card{padding:22px 20px}.hn-toolbar{gap:14px}.hn-toolbar .hn-actions{width:100%}.hn-toolbar .hn-actions .btn{flex:1}.hn-dialog-top{padding:18px}.hn-dialog-content{padding:18px}.hn-dialog-grid{grid-template-columns:1fr;gap:0}.hn-review-row{grid-template-columns:minmax(90px,.75fr) minmax(0,1.25fr);gap:12px;font-size:12px}.hn-card .hn-actions .btn{white-space:normal}.hn-scope{font-size:10px}}
.hn-dialog .form-field[hidden]{display:none}
.mainnet-ui dialog.hn-dialog{width:min(650px,calc(100vw - 28px));max-width:650px;max-height:88dvh;box-sizing:border-box;overflow:auto;overscroll-behavior:contain;margin:auto}
/* Native radios must not inherit the full-width text-field treatment above. */
.mainnet-ui .hn-dialog input[type=radio]{appearance:auto;box-sizing:border-box;width:18px;height:18px;min-width:18px;max-width:18px;min-height:18px;max-height:18px;flex:0 0 18px;margin:0;padding:0;border:0;border-radius:50%;background:transparent;box-shadow:none;accent-color:#1265f6}
.hn-dialog .form-field,.hn-dialog .token-choice-grid,.hn-dialog .amount-input{min-width:0;max-width:100%}
.mainnet-ui .hn-dialog .token-choice{min-width:0;min-height:58px;box-sizing:border-box;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:12px;padding:13px 16px;border:1px solid #d5e4fc;border-radius:14px;background:#fff;cursor:pointer;transition:border-color .15s,background-color .15s,box-shadow .15s}
.mainnet-ui .hn-dialog .token-choice:has(input:checked){border-color:#1265f6;background:#eef5ff;box-shadow:0 0 0 1px #1265f6}
.mainnet-ui .hn-dialog .token-choice:has(input:focus-visible){outline:3px solid #80b2ff;outline-offset:3px}
.hn-dialog .token-choice .token-symbol{display:inline-flex;align-items:center;gap:9px;min-width:0;font-size:14px;font-weight:650;line-height:1.4;white-space:nowrap}
.hn-dialog .token-choice .coin-logo{width:24px;height:24px;flex:0 0 24px}
.mainnet-ui .hn-dialog .amount-input>input{min-width:0;padding-right:76px}
@media(max-width:420px){.mainnet-ui .hn-dialog .token-choice{gap:9px;padding:12px;min-height:54px}.hn-dialog .token-choice-grid{gap:10px}}
.hn-p2p-modes{display:flex;gap:28px;border-bottom:1px solid #e1eafa;margin:8px 0 24px}
.hn-p2p-modes button{padding:12px 4px 15px;border:0;border-bottom:3px solid transparent;background:none;color:#71839f;font:inherit;font-size:21px;cursor:pointer}
.hn-p2p-modes button[aria-pressed=true]{color:#112d52;border-bottom-color:#1265f6;font-weight:700}
.hn-p2p-overview{padding:28px 30px;border:1px solid #deebfb;border-radius:24px;background:#fff}
.hn-p2p-overview-top{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#617b9e;font-size:14px}
.hn-p2p-assets{display:flex;gap:5px;flex:none}.hn-p2p-assets button{padding:7px 12px;border:1px solid #e0eafb;border-radius:9px;background:#fff;color:#6a80a0;cursor:pointer}
.hn-p2p-assets button[aria-pressed=true]{background:#eff6ff;color:#1265f6;border-color:#abcaff;font-weight:650}
.hn-p2p-total{display:block;font-size:40px;line-height:1.4;margin:15px 0 22px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.hn-p2p-total small{font-size:14px;color:#7188a6;font-weight:500}
.hn-p2p-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:24px}.hn-p2p-summary div{min-width:0}.hn-p2p-summary span{display:block;font-size:12px;color:#7a8da6;margin-bottom:7px}.hn-p2p-summary strong{font-size:15px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.hn-p2p-overview>.btn{width:100%;min-height:48px;border-radius:13px}.hn-p2p-batch-note{margin:12px 0 0;font-size:11px;color:#8092ab;line-height:1.7}
.hn-p2p-shortcuts{display:flex;gap:16px;padding:26px 0;justify-content:space-around}.hn-p2p-shortcuts button{display:flex;flex-direction:column;align-items:center;gap:10px;border:0;background:transparent;color:#607a9f;padding:8px;min-width:0;font-size:13px;cursor:pointer}
.hn-p2p-shortcuts .tf-icon{width:26px;height:26px;padding:15px;border:1px solid #deE8f6;border-radius:50%;background:white;box-sizing:content-box}.hn-p2p-shortcuts button[aria-pressed=true]{color:#1265f6;font-weight:650}.hn-p2p-shortcuts button[aria-pressed=true] .tf-icon{background:#edf5ff;border-color:#9dc2ff}
.hn-p2p-list .hn-card{background:#fff;border-radius:18px;padding:24px}.hn-p2p-list .hn-card h3{font-size:30px;margin:18px 0 12px}.hn-p2p-order-meta{display:flex;flex-wrap:wrap;gap:8px 20px;color:#6b82a2;font-size:13px;margin:12px 0 18px}.hn-p2p-terms{font-size:12px;color:#6c84a5}.hn-p2p-terms summary{cursor:pointer}.hn-p2p-list .hn-valuation{background:#f6f9fe;padding:12px 15px}.hn-p2p-list .hn-valuation strong{font-size:18px}
.hn-p2p-rules{margin:22px 0;color:#6880a1;font-size:12px;line-height:1.9;border-top:1px solid #e1eafa;padding-top:18px}.hn-p2p-rules summary{cursor:pointer;font-weight:600}
.hn-dialog .hn-loan-amount{padding:18px;background:#f5f9ff;border:1px solid #e1ebfa;border-radius:16px;margin-bottom:22px}.hn-dialog .hn-loan-amount input{font-size:30px;font-weight:700;min-height:68px;text-align:center;font-variant-numeric:tabular-nums}.hn-dialog .hn-loan-amount .form-field:last-child{margin-bottom:0}
.mainnet-ui[data-workspace="customer"] dialog.hn-dialog .hn-loan-amount input{font-size:30px;min-height:68px}
@media(max-width:720px){.hn-p2p-modes{margin:0 0 18px;gap:24px}.hn-p2p-overview{padding:22px 18px;border-radius:20px}.hn-p2p-overview-top{font-size:12px;align-items:flex-start}.hn-p2p-assets button{padding:6px 8px;font-size:12px}.hn-p2p-total{font-size:34px}.hn-p2p-summary{gap:10px}.hn-p2p-summary span{font-size:10px;line-height:1.6}.hn-p2p-summary strong{font-size:12px}.hn-p2p-shortcuts{gap:4px;padding:20px 0}.hn-p2p-shortcuts button{font-size:11px;padding:6px 0}.hn-p2p-shortcuts .tf-icon{width:24px;height:24px;padding:12px}.hn-p2p-list .hn-card{padding:22px 18px}.hn-p2p-list .hn-card h3{font-size:28px}.hn-dialog .hn-loan-amount{padding:15px}}
/* Approved H artwork: decorative identity only; no financial controls. */
.hn-shell .coin-logo-h{display:inline-block;width:20px;height:20px;min-width:20px;flex:0 0 20px;background:transparent url("./h-token-v1.webp") center/contain no-repeat;border:0;border-radius:50%;box-shadow:none;vertical-align:-.15em;pointer-events:none}
.hn-shell .hn-unit{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;vertical-align:baseline}
.hn-shell .hn-stats .coin-logo-h{width:23px;height:23px;flex-basis:23px}
.hn-shell .hn-reference-icon>.coin-logo-h{width:34px;height:34px;flex-basis:34px}
.hn-shell .hn-p2p-order-meta>span{display:inline-flex;align-items:center;gap:6px}
.hn-shell .hn-p2p-order-meta .coin-logo-h,.hn-shell .hn-pair strong .coin-logo-h{width:18px;height:18px;min-width:18px;flex-basis:18px}
.hn-shell .hn-field-label>.coin-logo-h{width:18px;height:18px;min-width:18px;flex-basis:18px}
.hn-shell .hn-dialog .form-field>.hn-field-label:has(>.coin-logo-h){display:flex;align-items:center;gap:8px}
.hn-shell .hn-dialog select[name="collateral"]:has(option[value="H"]:checked){background-image:url("./h-token-v1.webp");background-position:13px center;background-size:20px 20px;background-repeat:no-repeat;padding-left:42px}
@media(max-width:720px){.hn-shell .hn-reference-icon>.coin-logo-h{width:28px;height:28px;flex-basis:28px}.hn-shell .hn-stats .coin-logo-h{width:20px;height:20px;flex-basis:20px}}
