.hcu{--hcu-accent:#405fe8;--hcu-ink:#27362f;--hcu-line:#e5eae6;color:var(--hcu-ink);font:15px/1.6 'DM Sans',Arial,sans-serif;background:#fff;border:1px solid var(--hcu-line);border-radius:22px;overflow:hidden;margin:24px 0 14px;box-shadow:0 12px 40px #243b2807}.hcu *{box-sizing:border-box}.hcu-top{padding:30px 32px;display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid var(--hcu-line)}.hcu .hcu-eyebrow{font:700 11px/1.5 Arial,sans-serif;letter-spacing:.13em;color:#77877e;margin:0 0 10px}.hcu h2{font-size:clamp(23px,2.5vw,34px);line-height:1.18;letter-spacing:-.04em;margin:0;max-width:600px}.hcu-help{flex-shrink:0;font-weight:600;font-size:13px;color:var(--hcu-accent);text-decoration:none;background:#eef2fd;padding:11px 15px;border-radius:10px}.hcu-work{display:grid;grid-template-columns:minmax(260px,340px) minmax(0,1fr)}.hcu-controls{padding:28px;background:#fafbfc;border-right:1px solid var(--hcu-line);display:flex;flex-direction:column;gap:18px}.hcu label{display:block;font-size:13px;font-weight:700;line-height:1.5}.hcu input,.hcu select,.hcu textarea{font:400 15px/1.5 Arial,sans-serif;border:1px solid #dce3e0;border-radius:10px;background:white;color:#27362f;min-height:46px;padding:10px 12px;width:100%;margin-top:7px;max-width:100%}.hcu input[type=color]{padding:5px}.hcu textarea{font:12px/1.5 monospace;resize:vertical;min-height:110px}.hcu .hcu-inputpair{display:grid;grid-template-columns:minmax(0,1fr) 115px;gap:8px}.hcu button{font:600 14px/1.4 Arial,sans-serif;cursor:pointer;min-height:46px;border-radius:10px;padding:12px 16px;border:1px solid transparent}.hcu button:disabled{opacity:.65;cursor:wait}.hcu-primary{background:var(--hcu-accent);color:white}.hcu-secondary{background:#fff;color:#405fe8;border-color:#dce3ef!important}.hcu button:hover{filter:brightness(.96)}.hcu :is(a,button,input,select,textarea):focus-visible{outline:3px solid #859cf3;outline-offset:3px}.hcu-output{min-width:0;padding:28px 32px;background:linear-gradient(145deg,#fff,#f7f9fc)}.hcu-small{font-size:12px!important;color:#718078;line-height:1.7!important;margin:0 0 14px!important;font-weight:400}.hcu p{margin:0 0 14px}.hcu .hcu-big{font-size:clamp(40px,5vw,64px);font-weight:800;letter-spacing:-.05em;line-height:1.1;color:var(--hcu-accent)}.hcu-chart{height:390px;position:relative;margin:30px 0 85px;border-bottom:2px solid #b8c7c0;background-image:linear-gradient(to top,#e7ecef 1px,transparent 1px);background-repeat:repeat-y;overflow:visible}.hcu-ruler{position:absolute;left:0;top:0;bottom:0;width:50px;font-size:10px;color:#7e8984}.hcu-ruler span{position:absolute;left:0;transform:translateY(50%);white-space:nowrap}.hcu-lineup{height:100%;display:flex;align-items:flex-end;gap:22px;padding:0 12px 0 55px;overflow:visible}.hcu-personcol{position:relative;display:flex;align-items:center;justify-content:flex-end;flex-direction:column;flex:1;min-width:55px;height:100%}.hcu-figure{max-width:110px;width:100%;display:flex;justify-content:center}.hcu-figure svg{height:100%;width:auto;max-width:100%;fill:var(--person-color);aspect-ratio:72/250}.hcu-caption{position:absolute;top:calc(100% + 12px);left:-10px;right:-10px;text-align:center;font-size:12px;overflow-wrap:anywhere}.hcu-caption strong,.hcu-caption span{display:block}.hcu-caption span{font-size:11px;color:#738178}.hcu-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.hcu-feedback{padding:0 28px 18px;font-size:13px;color:#405f50;overflow-wrap:anywhere;margin:0!important}.hcu-feedback:empty{padding:0}.hcu-conversions{display:grid;grid-template-columns:1fr 1fr;margin:15px 0}.hcu-conversions dt,.hcu-conversions dd{margin:0;padding:18px 0;border-bottom:1px solid #e1e7e5}.hcu-conversions dt{color:#718078}.hcu-conversions dd{text-align:right;font-size:20px;font-weight:700}.hcu-row{position:relative;border-bottom:1px solid #e0e6e3;padding:0 0 17px;margin-bottom:17px}.hcu-row label+label{margin-top:10px}.hcu-remove{background:transparent;color:#9b4e4e;font-size:12px!important;padding:7px 0!important;min-height:38px!important}.hcu-table{width:100%;font-size:13px;border-collapse:collapse}.hcu-table caption{text-align:left;font-weight:700;padding:10px 0}.hcu-table th,.hcu-table td{text-align:left;padding:10px;border-bottom:1px solid #e1e7e5}.hcu-twin{padding:18px 0;border-bottom:1px solid #e1e7e5}.hcu-twin h3{font-size:19px;margin:0 0 8px}.hcu-twin a{display:inline-block;font-size:12px;color:#405fe8;margin:0 15px 8px 0}.hcu-related{display:flex;flex-wrap:wrap;gap:10px;margin:15px 0 35px}.hcu-related a{background:#eef2fd;color:#405fe8;border-radius:20px;padding:8px 14px;font:600 12px/1.5 Arial,sans-serif;text-decoration:none}.hcu-widget{margin:0;padding:12px;background:#f6f7f9;font-family:Arial,sans-serif}.hcu-widget .hcu{margin:0;--hcu-accent:inherit}.hcu-widget .hcu-related,.hcu-widget .hcu-help{display:none}.hcu-powered{font:12px Arial,sans-serif;text-align:center;margin:20px}.hcu-powered a{color:#405fe8}.hcu [data-result]{min-width:0}.hcu-instructions{max-width:850px}.hcu-instructions h2{margin-top:36px}.hcu-instructions details{padding:16px 0;border-bottom:1px solid #dfe7e1}.hcu-instructions summary{font-weight:700;cursor:pointer}.hcu-instructions details p{margin-top:12px}
@media(max-width:760px){.hcu-top{padding:22px;align-items:flex-start;flex-direction:column;gap:15px}.hcu-work{grid-template-columns:1fr}.hcu-controls{padding:22px;border-right:0;border-bottom:1px solid var(--hcu-line)}.hcu-output{padding:24px 20px}.hcu-chart{height:310px}.hcu-lineup{gap:18px;padding-bottom:0}.hcu-personcol{flex:1 0 65px}.hcu-chart:has(.hcu-personcol:nth-child(4)){overflow-x:auto;overflow-y:hidden;height:400px;padding-bottom:80px}.hcu-chart:has(.hcu-personcol:nth-child(4)) .hcu-lineup{overflow:visible;height:310px;width:max-content;min-width:100%;padding-right:20px}.hcu-chart:has(.hcu-personcol:nth-child(4)) .hcu-ruler{bottom:80px}.hcu-caption{font-size:11px}.hcu-actions{flex-direction:column}.hcu-conversions dd{font-size:18px}.hcu-feedback{padding-left:22px;padding-right:22px}}
@media(prefers-reduced-motion:reduce){.hcu *{scroll-behavior:auto!important}}
@media(min-width:761px){.hcu-chart:has(.hcu-personcol:nth-child(4)){overflow-x:auto;overflow-y:hidden;height:470px;padding-bottom:80px}.hcu-chart:has(.hcu-personcol:nth-child(4)) .hcu-lineup{width:max-content;min-width:100%;height:390px;padding-right:20px}.hcu-chart:has(.hcu-personcol:nth-child(4)) .hcu-ruler{bottom:80px}.hcu-chart:has(.hcu-personcol:nth-child(4)) .hcu-personcol{flex:1 0 70px}}

.hcu-reference{padding:18px;border:1px solid #dce4ef;background:#fff;border-radius:12px;margin-top:22px;font-size:13px}.hcu-reference p{margin:8px 0}.hcu-reference a{color:#405fe8}

.hcu-save-png{display:inline-block;color:#405fe8;background:white;border:1px solid #c9d4ef;border-radius:10px;padding:12px 16px;margin-top:15px;min-height:46px;font-size:14px;font-weight:700;text-decoration:none}

/* Converter: keep answers prominent beside the inputs, with readable mobile cards. */
.hcu[data-tool="converter"] .hcu-work{grid-template-columns:minmax(260px,340px) minmax(0,1fr);align-items:stretch}
.hcu[data-tool="converter"] .hcu-output{padding:32px;background:#f1f5ff}
.hcu[data-tool="converter"] .hcu-eyebrow{color:#536176}
.hcu[data-tool="converter"] .hcu-converter-hero{font-size:clamp(32px,3.5vw,52px);font-weight:800;line-height:1.15;letter-spacing:-.035em;color:#233fba;margin:8px 0 12px;overflow-wrap:anywhere}
.hcu[data-tool="converter"] .hcu-converter-summary{font-size:17px;line-height:1.5;color:#34445b;margin:0 0 24px}
.hcu[data-tool="converter"] .hcu-conversions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}
.hcu[data-tool="converter"] .hcu-conversion-card{background:#fff;border:1px solid #d4ddef;border-radius:12px;padding:16px;min-width:0}
.hcu[data-tool="converter"] .hcu-conversions dt{font-size:14px;line-height:1.4;color:#4c5a70;padding:0;border:0;margin:0 0 7px}
.hcu[data-tool="converter"] .hcu-conversions dd{text-align:left;font-size:clamp(22px,2vw,28px);line-height:1.25;color:#182e57;font-weight:750;padding:0;border:0;margin:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.hcu[data-tool="converter"] .hcu-small{font-size:14px!important;color:#4c5a60}
@media(max-width:760px){.hcu[data-tool="converter"] .hcu-work{grid-template-columns:minmax(0,1fr)}.hcu[data-tool="converter"] .hcu-output{padding:24px 20px}.hcu[data-tool="converter"] .hcu-converter-hero{font-size:36px}.hcu[data-tool="converter"] .hcu-conversions{grid-template-columns:minmax(0,1fr)}.hcu[data-tool="converter"] .hcu-conversion-card{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;padding:16px}.hcu[data-tool="converter"] .hcu-conversions dt{margin:0}.hcu[data-tool="converter"] .hcu-conversions dd{font-size:25px}}
