.hc { --hc-ink:#202735; --hc-muted:#626b7a; --hc-border:#dce1e8; --hc-red:#aa1939; color:var(--hc-ink); font-size:15px; line-height:1.5; letter-spacing:0; }
.hc *, .hc *::before, .hc *::after { box-sizing:border-box; letter-spacing:0; }
.hc h2 { font-size:26px; margin:0 0 4px; line-height:1.25; }
.hc h3 { font-size:18px; margin:0 0 12px; line-height:1.4; }
.hc p { margin:6px 0 14px; }
.hc a { color:var(--hc-red); }
.hc-header, .hc-section-heading, .hc-toolbar, .hc-widget, .hc-config { display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap; }
.hc-header { margin-bottom:20px; }
.hc .hc-eyebrow { font-size:12px; text-transform:uppercase; font-weight:700; color:var(--hc-muted); margin:0 0 6px; }
.hc-test { display:flex; gap:12px; flex-wrap:wrap; padding:12px 16px; background:#fff7e8; border-left:3px solid #a47015; color:#725017; margin-bottom:20px; }
.hc-section { padding:22px 0; border-top:1px solid var(--hc-border); }
.hc-section-heading { margin-bottom:16px; }
.hc-section-heading h3 { margin:0; }
.hc-actions, .hc-footer { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.hc-footer { justify-content:flex-end; padding-top:20px; margin-top:20px; border-top:1px solid var(--hc-border); }
.hc .hc-button, .hc .hc-icon { appearance:none; display:inline-flex; align-items:center; justify-content:center; width:auto; min-height:40px; padding:9px 15px; border:1px solid #ccd3de; border-radius:6px; background:#fff; color:var(--hc-ink); font:600 14px/1.4 inherit; font-family:inherit; text-decoration:none; cursor:pointer; box-shadow:none; }
.hc .hc-button:hover { background:#f3f5f8; }
.hc .hc-button { font-size:14px; font-weight:600; line-height:1.4; }
.hc .hc-text-button { font-size:15px; font-weight:600; line-height:1.5; }
.hc .hc-field input, .hc .hc-field select, .hc .hc-field textarea { font-size:16px; font-weight:400; line-height:1.4; }
.hc .hc-button--primary { background:var(--hc-red); border-color:var(--hc-red); color:#fff; }
.hc .hc-button--primary:hover { background:#8f1530; }
.hc .hc-button:disabled, .hc .hc-icon:disabled { opacity:.5; cursor:not-allowed; }
.hc .hc-icon { width:38px; height:38px; min-height:38px; padding:0; font-size:20px; }
.hc button:focus-visible, .hc a:focus-visible, .hc input:focus-visible, .hc select:focus-visible, .hc textarea:focus-visible { outline:3px solid #548ac1; outline-offset:2px; }
.hc .hc-text-button { appearance:none; display:inline; padding:0; width:auto; border:0; border-radius:0; background:none; color:var(--hc-red); text-align:left; cursor:pointer; font:600 15px/1.5 inherit; font-family:inherit; box-shadow:none; }
.hc .hc-text-button:hover { text-decoration:underline; }
.hc-facts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; margin:0 0 20px; }
.hc-facts dt, .hc small { color:var(--hc-muted); font-size:13px; }
.hc-facts dd { margin:4px 0 0; font-weight:600; overflow-wrap:anywhere; }
.hc-table-wrap { overflow-x:auto; width:100%; }
.hc-table { width:100%; border-collapse:collapse; font-size:14px; }
.hc-table th { text-align:left; font-weight:600; color:var(--hc-muted); background:#f5f7f9; white-space:nowrap; }
.hc-table th, .hc-table td { padding:14px 12px; border-bottom:1px solid var(--hc-border); vertical-align:top; }
.hc-table td { min-width:120px; max-width:360px; overflow-wrap:anywhere; }
.hc-table td:first-child { min-width:220px; }
.hc-table small, .hc-file-list small, .hc-timeline small { display:block; margin-top:5px; }
.hc-status { display:inline-block; padding:3px 9px; border-radius:4px; background:#eef1f5; color:#485364; font-size:12px; font-weight:700; }
.hc-status--accepted { background:#e5f4ee; color:#087458; }
.hc-status--correction_required, .hc-status--failed, .hc-status--rejected { background:#fbecee; color:#a11b36; }
.hc-status--submitted, .hc-status--received, .hc-status--under_review { background:#e8f1fb; color:#245e99; }
.hc-status--ready_for_review, .hc-status--ready_for_authorization { background:#fff3dc; color:#80570d; }
.hc-form { max-width:900px; margin:auto; padding:22px 0; }
.hc-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.hc-field { display:flex; flex-direction:column; gap:7px; min-width:0; font-size:14px; font-weight:600; }
.hc-field--wide { grid-column:1/-1; }
.hc .hc-field input, .hc .hc-field select, .hc .hc-field textarea { display:block; width:100%; min-height:44px; margin:0; border:1px solid #c9d1dc; border-radius:5px; padding:10px 12px; background:#fff; color:var(--hc-ink); font:400 16px/1.4 inherit; font-family:inherit; }
.hc .hc-field textarea { min-height:95px; resize:vertical; }
.hc .hc-check, .hc .hc-check input { width:auto; }
.hc .hc-check { display:flex; align-items:flex-start; gap:12px; padding:16px 0; }
.hc input[type=checkbox], .hc input[type=radio] { appearance:auto; display:inline-block; width:18px; height:18px; min-width:18px; padding:0; margin:3px 0; accent-color:var(--hc-red); }
.hc-documents td:first-child { min-width:60px; }
.hc-documents td:nth-child(2) { min-width:220px; }
.hc-steps { display:flex; flex-wrap:wrap; gap:12px 20px; padding:14px 0 20px; margin:0; list-style:none; border-bottom:1px solid var(--hc-border); }
.hc-steps li { display:flex; align-items:center; gap:7px; color:var(--hc-muted); font-size:13px; font-weight:600; }
.hc-steps li span { width:25px; height:25px; border-radius:50%; background:var(--heirlo-surface-muted, #eef2f6); text-align:center; line-height:25px; }
.hc-steps [aria-current] { color:var(--hc-red); }
.hc-steps [aria-current] span { background:var(--hc-red); color:#fff; }
.hc-steps .is-complete span { background:#e3f2eb; color:#147854; }
.hc-detail-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.25fr); gap:36px; }
.hc-file-list, .hc-timeline { padding-left:22px; margin:16px 0 28px; }
.hc-file-list li, .hc-timeline li { padding:0 0 18px 5px; overflow-wrap:anywhere; }
.hc-timeline strong { font-size:14px; font-weight:500; }
.hc-validation { padding:12px 16px 12px 32px; background:#f8f9fb; }
.hc-validation li { margin:6px 0; }
.hc-issue--error { color:#a21b36; }
.hc-response { padding:14px; background:#eef4fa; border-left:3px solid #4575a6; }
.hc .hc-error { background:#fff0f2; color:#a11b36; padding:12px 16px; border-left:3px solid #a11b36; }
.hc [hidden] { display:none !important; }
.hc-empty { padding:24px 0; color:var(--hc-muted); }
.hc-config { border-top:1px solid var(--hc-border); margin-top:20px; padding:16px 0; color:var(--hc-muted); font-size:13px; }
.hc-widget { margin:20px 0; padding:20px; border-top:1px solid var(--hc-border); border-bottom:1px solid var(--hc-border); background:#fff; }
.hc-widget h3 { margin:0; }
.hc-dialog { position:fixed; inset:0; width:min(760px,calc(100vw - 32px)); max-height:calc(100dvh - 32px); margin:auto; padding:24px; border:1px solid var(--hc-border); border-radius:8px; background:white; overflow:auto; box-shadow:0 24px 80px #17202f38; }
.hc-dialog::backdrop { background:#17202f88; }
.hc-pdf { width:100%; height:65dvh; border:1px solid var(--hc-border); }
#courtWorkspace { padding:24px; }
.hc-profile-content { padding:24px 32px; background:#fff; }
@media(max-width:540px) { .hc-profile-content { padding:20px 12px; } }
@media(max-width:900px) { .hc-facts { grid-template-columns:repeat(2,minmax(0,1fr)); } .hc-detail-grid { grid-template-columns:1fr; gap:0; } }
@media(max-width:540px) { #courtWorkspace { padding:16px 8px; } .hc h2 { font-size:23px; } .hc-header { gap:12px; } .hc-form-grid { grid-template-columns:1fr; } .hc-steps { gap:10px; } .hc-steps li { font-size:12px; } .hc-facts { gap:14px; } .hc-dialog { padding:16px; } .hc-footer { justify-content:flex-start; } }
