.hs-entry { display: flex; flex-direction: column; gap: var(--hs-space-12); min-width: 0; }
.hs-entry p { margin: var(--hs-space-8) 0; }
.hs-entry-fields { display: grid; gap: 17px; }
.hs-entry-progress-row { display: flex; align-items: center; gap: 14px; color: var(--hs-muted); font-size: 12px; margin-bottom: 18px; }
.hs-entry .hs-entry-progress { margin: 0; }
.hs-v2 .hs-entry-progress-row > .hs-track { flex: 1; height: 4px; }
.hs-entry .hs-field { gap: 7px; }
.hs-entry .hs-field-label { font-size: 13px; }
.hs-entry-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.hs-entry .hs-segments { grid-template-columns: 1fr 1fr; border-radius: 14px; }
.hs-entry-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px; gap: 8px; color: var(--hs-muted); font-size: 12px; margin-bottom: 7px; }
.hs-entry-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px; gap: 8px; position: relative; align-items: center; margin-bottom: 8px; }
.hs-entry-row .hs-field { min-width: 0; }
.hs-entry .hs-error:empty, .hs-entry .hs-field-hint:empty { display: none; }
.hs-entry input, .hs-entry select { max-width: 100%; box-sizing: border-box; border-color: var(--hs-input-line); caret-color: var(--hs-teal-text); }
.hs-entry input::placeholder { color: var(--hs-muted); opacity: 1; }
.hs-entry ::selection { background: var(--hs-teal-soft); color: var(--hs-ink); }
.hs-entry-row input[id*="ticker"] { text-transform: uppercase; }
.hs-entry-row input[id*="amount"], .hs-entry-cash input { text-align: right; }
.hs-v2 .hs-entry-remove { width: 44px; height: 44px; border-radius: 50%; background: var(--hs-soft); border: 0; box-shadow: none; background-image: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.hs-entry-add { display: inline-flex; align-items: center; gap: 6px; justify-self: start; color: var(--hs-teal-text); font-size: 13px; }
.hs-entry-add svg { width: 16px; height: 16px; }
.hs-entry .hs-entry-cash { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px; align-items: center; gap: 8px; }
.hs-entry .hs-entry-cash label { font-size: 14px; color: var(--hs-ink); }
.hs-entry-cash .hs-error, .hs-entry-cash .hs-field-hint { grid-column: 2; }
.hs-entry-row-hint { grid-column: 1 / -1; color: var(--hs-gold); }
.hs-entry-row-hint:empty { display: none; }
.hs-entry-toggle { display: flex; align-items: center; gap: 8px; padding-block: 12px; }
.hs-entry-toggle:has([role="switch"]) { justify-content: space-between; gap: 18px; }
.hs-entry-switch-copy { display: grid; gap: 4px; }
.hs-entry-switch-title { font-size: 15px; font-weight: 600; }
.hs-entry input[role="switch"] { appearance: none; flex: none; width: 48px; height: 29px; min-height: 0; padding: 0; margin: 0; border: 0; border-radius: 999px; background: var(--hs-line); position: relative; transition: background 200ms; cursor: pointer; }
.hs-entry input[role="switch"]::after { content: ''; position: absolute; width: 23px; height: 23px; top: 3px; left: 3px; border-radius: 50%; background: white; box-shadow: 0 1px 4px rgba(0,0,0,.2); transition: transform 220ms cubic-bezier(.2,.8,.2,1); }
.hs-entry input[role="switch"]:checked { background: var(--hs-teal); }
.hs-entry input[role="switch"]:checked::after { transform: translateX(19px); }
.hs-entry input[role="switch"]:focus-visible { outline: var(--hs-focus-ring); outline-offset: var(--hs-focus-offset); }
.hs-entry-options { scrollbar-color: var(--hs-muted) var(--hs-card); position: absolute; top: 100%; left: 0; right: 0; z-index: 4; background: var(--hs-card); border: 1px solid var(--hs-input-line); border-radius: var(--hs-radius-input); max-height: 16rem; overflow: auto; }
.hs-entry-options [role="option"] { padding: var(--hs-space-12); cursor: pointer; }
.hs-entry-options [aria-selected="true"], .hs-entry-options [role="option"]:hover { background: var(--hs-soft); outline: 1px solid var(--hs-input-line); }
/* Sticky so the next step stays reachable above an on-screen keyboard (P06). */
.hs-entry-footer { position: sticky; bottom: 0; z-index: 3; background: var(--hs-card); }
.hs-entry .hs-field { scroll-margin-block: 24px 150px; }
.hs-entry-actions { display: flex; justify-content: flex-end; gap: 10px; padding-block: var(--hs-space-12); background: var(--hs-card); }
.hs-entry-review-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 64px; gap: var(--hs-space-8); padding: 11px 0; border-bottom: 1px solid var(--hs-line); font-size: 14px; }
.hs-entry-margin, .hs-entry-margin-body { display: grid; gap: 17px; }
.hs-entry-review-row > span:last-child { text-align: right; font-weight: 600; }
.hs-entry-solo { grid-template-columns: minmax(0, 1fr) 44px; }
.hs-entry-maintenance { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.hs-v2 .hs-entry-maintenance input { width: 76px; flex: none; text-align: right; }
.hs-v2 :is(.hs-entry-maintenance, .hs-entry-allocation) button { min-height: 44px; border-radius: var(--hs-radius-pill); border: 1px solid var(--hs-line); background: var(--hs-card); color: var(--hs-ink); box-shadow: none; font-size: 12px; padding: 7px 12px; }
.hs-v2 .hs-entry-maintenance button[aria-pressed="true"] { background: var(--hs-ink); color: var(--hs-paper); }
.hs-entry-summary:not([hidden]), .hs-entry-allocation:not(:empty) { display: grid; gap: 8px; padding: 14px; border-radius: 14px; background: var(--hs-soft); }
.hs-entry-allocation:not(:empty) { display: flex; flex-wrap: wrap; }
.hs-entry-allocation > :is(p, small, .hs-track) { flex-basis: 100%; }
.hs-entry-summary p, .hs-entry-allocation > p { margin: 0; }
.hs-entry-coverage { display: grid; gap: 10px; justify-items: start; }
.hs-entry-coverage p { margin: 0; }
.hs-entry-preference-status:empty, .hs-entry-allocation:empty { display: none; }
.hs-entry-allocation .hs-track { width: 100%; height: 6px; background: var(--hs-line); }
.hs-check-page > button { margin: var(--hs-space-4); }
@media (max-width: 680px) {
  .hs-entry-pair { grid-template-columns: minmax(0, 1fr); }
  .hs-entry-actions > button { flex: 1; }
}

.hs-entry-margin, .hs-entry-summary, .hs-entry-coverage { font-size: 14px; margin: 0; }
.hs-entry .hs-entry-total-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.hs-entry-actions > .gold { flex: 1; }
.hs-entry-actions > .gold svg { width: 18px; height: 18px; flex: none; }
.hs-v2 .hs-sheet-panel:has(.hs-entry)::before { content: ''; display: block; width: 33px; height: 4px; flex: none; margin: -10px auto 14px; border-radius: 2px; background: var(--hs-line); }
@media (prefers-reduced-motion: reduce) {
  .hs-entry input[role="switch"]::after { transition: none; }
}
:root[data-motion="reduce"] .hs-entry input[role="switch"]::after { transition: none; }

.hs-entry-review-row:has(> :nth-child(2):last-child) { grid-template-columns: minmax(0, 1fr) 64px; }

/* D6 UI2: the quick-check result, in the cards of report step 1 (mockup quickScreen). */
.hs-v2 .hs-check-page { display: grid; gap: var(--hs-space-22); }
.hs-v2 .hs-check-lead { display: grid; gap: 6px; }
.hs-v2 .hs-check-lead p { margin: 0; }
.hs-v2 .hs-check-note { font-size: 15px; line-height: 1.5; color: var(--hs-ink); max-width: 56ch; }
.hs-v2 .hs-check-scope { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--hs-muted); font-variant-numeric: tabular-nums; }
.hs-v2 .hs-check-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hs-v2 .hs-check-actions .hs-button { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; }
.hs-v2 .hs-check-actions svg { width: 16px; height: 16px; }
