/* ---------------------------------------------------------------------------
   A development firm's deal pane and add form (home-sites.js), on Home's
   Properties tab and on /sites (2026-10-12). One copy for both pages: Home
   links it from index.html, /sites from sites-page.js. Theme tokens only, so
   dark mode needs nothing of its own. Served with maxAge 0 like the script it
   styles, so the two can never be a version apart.
   ------------------------------------------------------------------------- */
.hs-pane { margin: 0 0 10px; padding: 14px 14px 12px; border: 1px solid var(--edge); border-top-color: var(--hair); border-radius: 0 0 12px 12px; background: var(--card); box-shadow: 0 10px 22px -18px rgba(15, 23, 42, .4); }
.hs-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.hs-steps li { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding-right: 4px; min-width: 0; }
.hs-steps li::before { content: ""; position: absolute; top: 7px; left: 16px; right: 0; height: 2px; background: var(--line); }
.hs-steps li:last-child::before { display: none; }
.hs-steps li.done::before { background: var(--ink); }
.hs-dot { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 16px; height: 16px; border: 2px solid var(--ink-4); border-radius: 50%; background: var(--card); color: var(--card); }
.hs-steps li.done .hs-dot { background: var(--ink); border-color: var(--ink); }
.hs-steps li.now .hs-dot { border-color: var(--red-fill); box-shadow: 0 0 0 3px var(--err-bg); }
.hs-steps li.now .hs-dot::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red-fill); }
/* A phone's fifth of the column is narrower than "Entitlements": it
   hyphenates there (the page is lang="en") rather than splitting off an s. */
.hs-sl { font-size: 11.5px; font-weight: 600; line-height: 1.25; color: var(--ink-2); -webkit-hyphens: auto; hyphens: auto; }
.hs-steps li.now .hs-sl { color: var(--ink); }
.hs-steps li:not(.done):not(.now) .hs-sl { color: var(--ink-3); font-weight: 500; }
.hs-sd { font-size: 11px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.hs-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.hs-pane .hm-btn[disabled], .hs-add .hm-btn[disabled] { opacity: .6; cursor: default; }
.hs-pane .dk-msg { margin-top: 10px; }
.hs-grid { display: grid; gap: 12px; margin-top: 14px; }
.hs-blk { min-width: 0; padding-top: 12px; border-top: 1px solid var(--hair); }
.hs-blk h4 { margin: 0 0 8px; font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.hs-terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; margin: 0; }
.hs-terms dt { font-size: 12px; color: var(--ink-3); }
.hs-terms dd { margin: 2px 0 0; font-size: 14px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.hs-dates { list-style: none; margin: 0 0 6px; padding: 0; }
.hs-dates li { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto auto; gap: 8px; align-items: center; padding: 5px 0; font-size: 13px; color: var(--ink); }
.hs-dates li.past { color: var(--ink-3); }
.hs-dd { font-weight: 600; font-variant-numeric: tabular-nums; }
.hs-dw { min-width: 0; overflow-wrap: anywhere; }
.hs-xs { padding: 0 2px; border: 0; background: none; font-size: 16px; line-height: 1; color: var(--ink-3); cursor: pointer; }
.hs-xs:hover { color: var(--red); }
.hs-chip { display: inline-block; padding: 3px 7px; border-radius: 999px; background: var(--wash); box-shadow: inset 0 0 0 1px var(--line); font-size: 11px; font-weight: 600; line-height: 1; color: var(--ink-2); white-space: nowrap; }
.hs-chip.hot { background: var(--err-bg); box-shadow: inset 0 0 0 1px var(--err-rule); color: var(--err-text); }
.hs-chip.warn { background: var(--warn-bg); box-shadow: inset 0 0 0 1px var(--warn-rule); color: var(--warn-text); }
.hs-dform { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 8px; align-items: center; margin-top: 6px; }
.hs-dform .hm-btn { justify-self: start; }
.hs-lnk { padding: 0; border: 0; background: none; font: inherit; font-size: 13px; font-weight: 600; color: var(--red); cursor: pointer; }
.hs-lnk:hover { text-decoration: underline; }
.hs-notes { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-body); overflow-wrap: anywhere; }
.hs-mute { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--ink-3); }
.hs-passed { margin-top: 10px; }
.hs-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--hair); }
.hs-rm { margin-left: auto; padding: 0; border: 0; background: none; font: inherit; font-size: 13px; color: var(--ink-3); cursor: pointer; }
.hs-rm:hover { color: var(--red); text-decoration: underline; }
.hs-note { margin-top: 8px; }
.hs-val { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; }
.hs-vl { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.hs-vb { display: block; margin-top: 2px; font-family: Georgia, 'Times New Roman', serif; font-size: 24px; font-weight: 400; color: var(--ink); font-variant-numeric: tabular-nums; }
.hs-vs { display: block; margin-top: 2px; font-size: 12.5px; color: var(--ink-3); }
.hs-vc { display: block; margin: 2px 0 4px; font-size: 15px; font-weight: 600; color: var(--ink); }
.hs-up { font-weight: 600; color: var(--green); }
.hs-dn { font-weight: 600; color: var(--red); }
.hs-chart { display: block; width: 100%; height: auto; }
.hs-chart text { font-family: inherit; font-size: 11px; fill: var(--ink-3); }
.hs-chart text.hs-cv { font-weight: 600; fill: var(--ink-2); }
.hs-add { margin: 2px 10px 14px; padding: 14px; border: 1px solid var(--edge); border-radius: 12px; background: var(--card); }
.hs-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
.hs-form label { display: flex; flex-direction: column; gap: 4px; min-width: 0; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.hs-pane input, .hs-pane select, .hs-add input, .hs-add select { width: 100%; min-width: 0; padding: 7px 9px; border: 1px solid var(--edge); border-radius: 8px; background: var(--card); font: inherit; font-size: 14px; letter-spacing: 0; text-transform: none; font-weight: 400; color: var(--ink); }
.hs-pane input:focus, .hs-pane select:focus, .hs-add input:focus, .hs-add select:focus { outline: none; border-color: var(--ink-3); box-shadow: 0 0 0 3px var(--hair); }
.hs-wide { grid-column: 1 / -1; }
.hs-fa { display: flex; align-items: center; gap: 14px; }
.hs-kind { display: flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--wash-2); }
.hs-kind button { flex: 1; padding: 7px 6px; border: 0; border-radius: 8px; background: none; font: inherit; font-size: 13px; font-weight: 500; color: var(--ink-3); white-space: nowrap; cursor: pointer; }
.hs-kind button.on { background: var(--card); font-weight: 600; color: var(--ink); box-shadow: 0 1px 3px rgba(15, 23, 42, .15); }
.hs-kind button:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }
@media (max-width: 420px) { .hs-kind button { font-size: 12px; padding: 7px 4px; } .hs-form { grid-template-columns: minmax(0, 1fr); } .hs-sl { font-size: 10.5px; } }
