/* Housing Connect 2.0 test copy: styles for added parts, matched to the prototype's look. */
:root { --hc-blue: rgb(35, 55, 198); --hc-navy: rgb(18, 24, 58); --hc-ink: rgb(36, 48, 79); --hc-muted: rgb(75, 83, 112); --hc-line: rgb(221, 225, 236); --hc-soft: rgb(238, 241, 251); --hc-green: rgb(31, 122, 77); --hc-green-soft: rgb(230, 243, 236); --hc-orange: rgb(194, 85, 26); --hc-red: rgb(176, 58, 46); --hc-red-soft: rgb(252, 236, 233); --hc-amber-soft: rgb(255, 244, 228); }
.hc-toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 9999; background: var(--hc-navy); color: #fff; font: 600 14px/1.4 "Public Sans", Helvetica, sans-serif; padding: 12px 18px; border-radius: 10px; box-shadow: 0 8px 24px rgba(18,24,58,.3); max-width: min(520px, 90vw); text-align: center; display: none; }
.hc-flash { animation: hcflash 1.6s ease-out 1; border-radius: 12px; }
@keyframes hcflash { 0% { box-shadow: 0 0 0 4px rgba(242,166,90,.9); } 100% { box-shadow: 0 0 0 0 rgba(242,166,90,0); } }
.hc-back { position: fixed; top: 12px; left: 12px; z-index: 100; background: #fff; border: 1.5px solid var(--hc-line); border-radius: 8px; padding: 8px 14px; font: 700 15px "Public Sans", sans-serif; color: var(--hc-blue); text-decoration: none; }
/* Cassie answers */
.hc-bubble { font: 15px/1.5 "Public Sans", sans-serif; border-radius: 14px; padding: 10px 14px; margin: 8px 0; max-width: 92%; }
.hc-bubble.me { background: var(--hc-blue); color: #fff; margin-left: auto; width: fit-content; }
.hc-bubble.cassie { background: var(--hc-soft); color: var(--hc-ink); }
.hc-bubble a { display: inline-block; margin-top: 6px; font-weight: 700; color: var(--hc-blue); }
.hc-src { font-size: 12px; color: var(--hc-muted); margin-top: 6px; }
.hc-chat { display: flex; flex-direction: column; margin: 8px 0; }
/* dashboard */
.hc-case { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font: 600 13px "Public Sans", sans-serif; color: var(--hc-muted); margin: -4px 0 4px; }
.hc-case a { color: var(--hc-blue); font-weight: 700; }
.hc-late { color: var(--hc-red); font-weight: 700; }
.hc-flagged { color: var(--hc-orange); font-weight: 700; }
.hc-pill-overdue { background: var(--hc-red) !important; color: #fff !important; }
.hc-overdue-alert { background: var(--hc-red-soft) !important; border-color: rgb(240, 196, 188) !important; }
.hc-note { font: 15px/1.5 "Public Sans", sans-serif; background: var(--hc-amber-soft); border: 1px solid rgb(244, 214, 170); border-radius: 12px; padding: 14px 16px; color: var(--hc-ink); }
.hc-note.ok { background: var(--hc-green-soft); border-color: rgb(191, 224, 204); }
.hc-note a { color: var(--hc-blue); font-weight: 700; margin-left: 4px; }
/* my household */
.hc-change-card { background: #fff; border: 1.5px solid var(--hc-blue); border-radius: 16px; padding: 20px 22px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; font-family: "Public Sans", sans-serif; }
.hc-change-card h2 { margin: 0 0 4px; font-size: 20px; color: var(--hc-navy); }
.hc-change-card p { margin: 0; color: var(--hc-muted); font-size: 15px; max-width: 46ch; }
.hc-change-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.hc-change-opts a { border: 1.5px solid var(--hc-line); border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 14px; color: var(--hc-blue); text-decoration: none; background: var(--hc-soft); }
.hc-log { background: #fff; border: 1px solid var(--hc-line); border-radius: 16px; padding: 18px 22px; font-family: "Public Sans", sans-serif; }
.hc-log h2 { margin: 0 0 4px; font-size: 18px; color: var(--hc-navy); } .hc-log p { margin: 0 0 8px; color: var(--hc-muted); font-size: 14px; } .hc-log ul { margin: 0; padding-left: 18px; }
/* new pages */
#hc-root { font-family: "Public Sans", "Helvetica Neue", Helvetica, sans-serif; color: var(--hc-ink); display: flex; flex-direction: column; gap: 18px; max-width: 980px; }
#hc-root h1 { font-size: clamp(26px, 4vw, 36px); line-height: 1.15; color: var(--hc-navy); margin: 0; }
#hc-root h2 { font-size: 20px; color: var(--hc-navy); margin: 8px 0 0; }
#hc-root h3 { font-size: 16px; color: var(--hc-navy); margin: 0 0 8px; }
.hc-kicker { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--hc-muted); }
.hc-lede { margin: 0; font-size: 17px; color: var(--hc-muted); }
.hc-crumb { font-size: 13px; color: var(--hc-muted); } .hc-crumb a { color: var(--hc-blue); }
.hc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.hc-choice { font: 700 16px "Public Sans", sans-serif; text-align: left; background: #fff; border: 1.5px solid var(--hc-line); border-radius: 12px; padding: 18px; cursor: pointer; color: var(--hc-navy); min-height: 64px; }
.hc-choice:hover, .hc-choice:focus-visible { border-color: var(--hc-blue); background: var(--hc-soft); outline: none; }
.hc-form { display: flex; flex-direction: column; gap: 16px; background: #fff; border: 1px solid var(--hc-line); border-radius: 16px; padding: 22px; }
.hc-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 15px; }
.hc-form input:not([type=radio]):not([type=checkbox]), .hc-form select, .hc-form textarea, .hc-side textarea, .hc-side select { font: 16px "Public Sans", sans-serif; border: 1.5px solid rgb(185, 192, 214); border-radius: 8px; padding: 12px 14px; color: var(--hc-ink); background: #fff; width: 100%; box-sizing: border-box; }
.hc-form fieldset { border: 1px solid var(--hc-line); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.hc-form legend { font-weight: 700; padding: 0 4px; }
.hc-radio { flex-direction: row !important; align-items: center; font-weight: 500 !important; gap: 10px !important; }
.hc-radio em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--hc-green); background: var(--hc-green-soft); border-radius: 999px; padding: 2px 8px; }
.hc-hint { margin: 0; font-size: 14px; color: var(--hc-muted); }
.hc-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hc-btn { font: 700 16px "Public Sans", sans-serif; background: var(--hc-blue); color: #fff; border: 0; border-radius: 8px; padding: 13px 22px; cursor: pointer; text-decoration: none; display: inline-block; }
.hc-btn.ghost { background: #fff; color: var(--hc-blue); border: 1.5px solid var(--hc-blue); }
.hc-btn.warn { background: var(--hc-orange); }
.hc-link { font: 700 15px "Public Sans", sans-serif; background: none; border: 0; color: var(--hc-blue); cursor: pointer; text-decoration: underline; padding: 6px 0; }
.hc-compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.hc-compare div { background: #fff; border: 1px solid var(--hc-line); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.hc-compare span { font-size: 13px; color: var(--hc-muted); font-weight: 600; } .hc-compare strong { font-size: 18px; color: var(--hc-navy); }
.hc-impact { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--hc-line); border-radius: 12px; overflow: hidden; font-size: 15px; }
.hc-impact th, .hc-impact td { text-align: left; vertical-align: top; padding: 12px 14px; border-top: 1px solid var(--hc-line); }
.hc-impact th { width: 34%; color: var(--hc-navy); } .hc-impact th span { display: block; font-weight: 500; font-size: 13px; color: var(--hc-muted); }
.hc-impact tr.bad td { color: var(--hc-red); font-weight: 600; }
.hc-why { background: var(--hc-soft); border-radius: 12px; padding: 14px 16px; font-size: 15px; line-height: 1.5; }
.hc-casehead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; }
.hc-pill { font: 700 13px "Public Sans", sans-serif; border-radius: 999px; padding: 6px 12px; color: #fff; }
.hc-pill.late { background: var(--hc-red); } .hc-pill.flag { background: var(--hc-orange); }
.hc-cols { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.hc-main { flex: 2 1 420px; min-width: 0; background: #fff; border: 1px solid var(--hc-line); border-radius: 16px; padding: 20px 22px; }
.hc-side { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.hc-side section { background: #fff; border: 1px solid var(--hc-line); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.hc-side section a { color: var(--hc-blue); font-weight: 700; }
.hc-side form { display: flex; flex-direction: column; gap: 10px; } .hc-side label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 14px; }
.hc-score { margin: 0; font-size: 14px; } .hc-score span { display: block; font-size: 12px; color: var(--hc-muted); margin-top: 4px; }
.hc-side p { margin: 0; }
.hc-timeline { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; }
.hc-timeline li { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 10px 0 10px 18px; border-left: 3px solid var(--hc-line); position: relative; }
.hc-timeline li::before { content: ""; position: absolute; left: -8px; top: 14px; width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 3px solid var(--hc-line); }
.hc-timeline li.done::before { background: var(--hc-green); border-color: var(--hc-green); }
.hc-timeline li.late::before { background: var(--hc-red); border-color: var(--hc-red); }
.hc-timeline li.flag::before { background: var(--hc-orange); border-color: var(--hc-orange); }
.hc-timeline .d { font-weight: 700; font-size: 14px; color: var(--hc-muted); }
.hc-timeline li div { display: flex; flex-direction: column; gap: 2px; font-size: 15px; } .hc-timeline li div span { color: var(--hc-muted); font-size: 14px; }
.hc-timeline li.late strong { color: var(--hc-red); }
.hc-quote { background: #fff; border-left: 4px solid var(--hc-orange); border-radius: 8px; padding: 14px 16px; font-size: 16px; } .hc-quote span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--hc-muted); margin-bottom: 4px; }
@media (max-width: 640px) { .hc-impact th { width: 42%; } .hc-timeline li { grid-template-columns: 60px 1fr; } }

.hc-slots { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 12px; }
.hc-slot { font: 700 15px "Public Sans", sans-serif; background: #fff; color: var(--hc-blue); border: 1.5px solid var(--hc-blue); border-radius: 999px; padding: 9px 14px; cursor: pointer; }
.hc-slot[aria-pressed=true] { background: var(--hc-blue); color: #fff; }
.hc-btn:disabled { opacity: .45; cursor: not-allowed; }

.hc-cta{display:flex;width:max-content;margin-top:12px!important;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;margin:4px 12px 4px 0;border-radius:8px;background:rgb(35,55,198);color:#fff!important;font-weight:700;text-decoration:none}
.hc-cta:hover{background:rgb(26,42,160)}

/* generic listing page */
.hc-listhead h1{margin:6px 0 4px;font-size:clamp(26px,5vw,36px);color:rgb(18,24,58)}
.hc-listhead p{margin:0;color:rgb(61,69,102)}
.hc-badge{display:inline-block;font-size:13px;font-weight:700;padding:4px 10px;border-radius:999px;background:rgb(236,238,251);color:rgb(35,55,198)}
.hc-badge.rr{background:rgb(255,240,226);color:rgb(138,58,14)}
.hc-verdict{margin:16px 0;border-radius:12px;padding:14px 16px;background:rgb(245,246,250);border:1px solid rgb(221,225,236);display:flex;flex-direction:column;gap:4px}
.hc-verdict.ok{background:rgb(230,243,236);border-color:rgb(191,224,204)}
.hc-verdict strong{font-size:18px;color:rgb(18,24,58)}
.hc-verdict span{color:rgb(61,69,102)}
.hc-tablewrap{overflow-x:auto}
.hc-units{width:100%;border-collapse:collapse;font-size:14px;min-width:560px}
.hc-units th,.hc-units td{padding:10px 12px;border-top:1px solid rgb(221,225,236);text-align:left;vertical-align:top}
.hc-units thead th{background:rgb(245,246,250);font-size:13px;color:rgb(61,69,102);border-top:0}
.hc-units thead th.you{background:rgb(230,243,236);color:rgb(20,90,56)}
.hc-units tbody th span{display:block;font-size:12px;font-weight:600;color:rgb(75,83,112)}
.hc-units td.you{font-weight:700;background:rgb(245,246,250);color:rgb(75,83,112)}
.hc-units td.you.may{background:rgb(230,243,236);color:rgb(20,90,56);box-shadow:inset 0 0 0 2px rgb(31,122,77)}
.hc-units td.you span{display:block;font-size:12px}
.hc-units td.dash{color:rgb(61,69,102)}
.hc-actions{margin:18px 0 8px;display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.hc-card{background:#fff;border:1px solid rgb(221,225,236);border-radius:16px;padding:18px 20px;display:flex;flex-direction:column;gap:8px}
.hc-card h2{margin:0!important}
.hc-card p{margin:0}

.hc-on{outline:2px solid rgb(35,55,198);background:rgb(238,241,251)!important}
.hc-report-top{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;background:rgb(238,241,251);border:1.5px solid rgb(35,55,198);border-radius:14px;padding:14px 16px;margin:12px 0}
.hc-report-top .hc-cta{margin:0!important}
.hc-report-top span{color:rgb(36,48,79);font-size:15px;flex:1 1 260px}
.hc-amb{display:flex;flex-direction:column;gap:8px;margin-top:10px}
.hc-amb .hc-choice{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:2px;padding:10px 12px;border:1.5px solid rgb(221,225,236);border-radius:10px;background:#fff;cursor:pointer;font:inherit}
.hc-amb .hc-choice span{font-size:14px;color:rgb(61,69,102)}
.hc-dialog{position:fixed;inset:0;z-index:200;background:rgba(10,14,40,.5);display:flex;align-items:center;justify-content:center;padding:16px}
.hc-dialog .hc-form{background:#fff;border-radius:16px;padding:20px;max-width:420px;width:100%;display:flex;flex-direction:column;gap:10px}
.hc-gallery{position:fixed;inset:0;z-index:200;background:rgba(10,14,40,.92);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:16px}
.hc-gallery img{max-width:100%;max-height:75vh;border-radius:10px}
.hc-gallery .hc-gx{position:absolute;top:12px;right:16px;font-size:32px;color:#fff;background:none;border:0;cursor:pointer}
.hc-gnav{display:flex;align-items:center;gap:16px;color:#fff;font-weight:700}
.hc-gnav button{background:#fff;color:rgb(18,24,58);border:0;border-radius:8px;padding:10px 14px;font-weight:700;cursor:pointer}
.hc-doc{display:flex;flex-direction:column;gap:12px;max-width:760px;line-height:1.6}
.hc-doc ul,.hc-doc ol{margin:0;padding-left:22px;display:flex;flex-direction:column;gap:6px}
.hc-steps li{padding-left:4px}
.hc-guides{list-style:none;padding:0!important}
.hc-guides a{font-weight:700;font-size:17px}
.hc-more{margin:6px 0 0;color:rgb(61,69,102)}

.hc-hero{width:100%;max-height:360px;object-fit:cover;border-radius:16px;display:block}

.hc-tile{cursor:pointer;transition:box-shadow .15s,transform .15s}
.hc-tile:hover{box-shadow:0 6px 20px rgba(18,24,58,.16);transform:translateY(-2px)}
@media (prefers-reduced-motion:reduce){.hc-tile{transition:none}.hc-tile:hover{transform:none}}
/* document statuses, Ready to Rent card, report link */
.hc-agentnote { display: block; color: rgb(138, 58, 14); font-weight: 600; }
.hc-btn.small { font-size: 14px; padding: 8px 14px; min-height: 0; }
#docs-alert.hc-calm-alert { background: rgb(238, 241, 251) !important; border-color: rgb(205, 212, 240) !important; }
.hc-rtr-card { display: flex; flex-direction: column; gap: 4px; text-decoration: none; border: 1.5px solid rgba(255,255,255,.55); border-radius: 12px; padding: 14px 16px; color: #fff; }
.hc-rtr-card strong { font-size: 17px; }
.hc-rtr-card span { color: rgb(211, 216, 236); font-size: 14px; line-height: 1.45; }
.hc-rtr-card:hover { background: rgba(255,255,255,.08); }
.hc-rtr-card.light { border-color: rgb(205, 212, 240); background: rgb(238, 241, 251); color: rgb(18, 24, 58); margin: 0 0 4px; }
.hc-rtr-card.light span { color: rgb(61, 69, 102); }
.hc-rtr-card.light strong { color: rgb(35, 55, 198); }
.hc-ambbook { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid rgb(221, 225, 236); border-radius: 12px; padding: 14px; margin-top: 10px; color: rgb(18, 24, 58); }
.hc-ambbook .hc-btn:disabled { opacity: .45; cursor: not-allowed; }

.hc-title-link { color: inherit; text-decoration: none; }
.hc-title-link:hover { text-decoration: underline; }
/* phones: Cassie shrinks to an icon so it doesn't cover what's on the page */
@media (max-width: 600px) {
  details.cassie { right: 12px !important; }
  details.cassie:not([open]) > summary { font-size: 0 !important; gap: 0 !important; padding: 6px !important; }
}
