/* Own Your Home — page-scoped styles. Light theme only. Uses the kit's tokens. */
.ho-hero{display:grid;grid-template-columns:260px minmax(0,1fr);gap:0;background:#fff;border:1px solid var(--ap-line);border-radius:16px;overflow:hidden;box-shadow:var(--ap-sh)}
.ho-hero .photo{background:#e7ecf3 center/cover no-repeat;min-height:190px;display:grid;place-items:center;color:#94a3b8;font-size:2rem}
.ho-hero .body{padding:20px 22px;display:flex;flex-direction:column;justify-content:center;gap:4px;min-width:0}
.ho-hero h2{margin:0;font-size:1.3rem;font-weight:800;letter-spacing:-.01em}
.ho-hero .sub{color:var(--ap-muted);font-size:.9rem}
.ho-hero .facts{display:flex;gap:14px;flex-wrap:wrap;font-size:.84rem;color:var(--ap-muted);margin-top:8px}
.ho-hero .facts b{color:var(--ap-ink)}
@media(max-width:700px){.ho-hero{grid-template-columns:minmax(0,1fr)}.ho-hero .photo{min-height:150px}}

.ho-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px}
.ho-tile{background:#fff;border:1px solid var(--ap-line);border-radius:14px;padding:16px 18px;position:relative}
.ho-tile small{display:block;font-size:.72rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--ap-muted)}
.ho-tile b{display:block;font-size:1.5rem;font-weight:800;letter-spacing:-.02em;margin-top:3px;line-height:1.1}
.ho-tile .note{font-size:.78rem;color:var(--ap-muted);margin-top:4px}
.ho-tile .spark{margin:8px -4px -6px}

/* health ring */
.ho-ring{display:flex;gap:18px;align-items:center;flex-wrap:wrap}
.ho-ring svg{flex:0 0 auto}
.ho-ring .n{font-size:1.9rem;font-weight:800;letter-spacing:-.02em}
.ho-comp{display:grid;gap:9px;margin-top:4px;flex:1 1 240px;min-width:220px}
.ho-comp .row{display:grid;grid-template-columns:1fr auto;gap:2px 10px;font-size:.84rem}
.ho-comp .row .lab{font-weight:700}
.ho-comp .row .det{grid-column:1/-1;color:var(--ap-muted);font-size:.78rem}
.ho-comp .bar{grid-column:1/-1;height:6px;border-radius:6px;background:#eef2f7;overflow:hidden}
.ho-comp .bar i{display:block;height:100%;border-radius:6px;background:var(--ap-c,#b45309)}

/* opportunity cards */
.ho-opp{display:flex;gap:14px;align-items:flex-start;border:1px solid #e8dfcd;background:linear-gradient(120deg,#fffdf7,#fff8ec);border-radius:14px;padding:16px 18px}
.ho-opp .ico{width:44px;height:44px;border-radius:12px;background:#b45309;color:#fff;display:grid;place-items:center;font-size:1.1rem;flex:0 0 auto}
.ho-opp b{display:block;font-size:1rem}
.ho-opp p{margin:4px 0 10px;font-size:.87rem;color:var(--ap-muted);line-height:1.5}
.ho-opp .amt{font-weight:800;color:#b45309;white-space:nowrap;font-size:1.05rem;margin-left:auto}
.ho-opp .head{display:flex;gap:10px;align-items:baseline}

/* task rows */
.ho-task{display:flex;gap:12px;align-items:flex-start;padding:13px 14px;border:1px solid var(--ap-line);border-radius:12px;background:#fff;margin-bottom:9px}
.ho-task.is-done{opacity:.6}
.ho-task .ck{width:24px;height:24px;border-radius:8px;border:2px solid var(--ap-line);display:grid;place-items:center;flex:0 0 auto;color:#fff;cursor:pointer;background:#fff;font-size:.72rem;transition:.15s}
.ho-task .ck:hover{border-color:var(--ap-ok)}
.ho-task.is-done .ck{background:var(--ap-ok);border-color:var(--ap-ok)}
.ho-task .mid{min-width:0;flex:1}
.ho-task .t{font-weight:700;font-size:.95rem}
.ho-task.is-done .t{text-decoration:line-through;color:var(--ap-muted)}
.ho-task .d{color:var(--ap-muted);font-size:.82rem;margin-top:2px;line-height:1.45}
.ho-task .meta{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:8px}
.ho-task .due{font-size:.76rem;font-weight:800;color:var(--ap-muted);white-space:nowrap}
.ho-task .due.late{color:var(--ap-bad)}
.ho-task .acts{display:flex;gap:6px;flex-wrap:wrap;margin-left:auto}
@media(max-width:600px){.ho-task .acts{margin-left:0;width:100%}}

/* year calendar */
.ho-cal{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}
@media(max-width:820px){.ho-cal{grid-template-columns:repeat(3,1fr)}}
@media(max-width:480px){.ho-cal{grid-template-columns:repeat(2,1fr)}}
.ho-cal a{display:block;border:1px solid var(--ap-line);border-radius:11px;padding:10px;text-decoration:none;color:inherit;background:#fff;text-align:center}
.ho-cal a.now{border-color:#b45309;box-shadow:0 0 0 2px #fdf1e0}
.ho-cal .m{font-size:.74rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:var(--ap-muted)}
.ho-cal .n{font-size:1.25rem;font-weight:800;margin-top:2px}
.ho-cal .load{height:5px;border-radius:5px;background:#eef2f7;margin-top:7px;overflow:hidden}
.ho-cal .load i{display:block;height:100%;background:#b45309;border-radius:5px}

/* project cards */
.ho-proj{border:1px solid var(--ap-line);border-radius:14px;background:#fff;padding:16px;display:flex;flex-direction:column;gap:6px}
.ho-proj .top{display:flex;gap:10px;align-items:center}
.ho-proj .ic{width:38px;height:38px;border-radius:11px;background:#fdf1e0;color:#b45309;display:grid;place-items:center;flex:0 0 auto}
.ho-proj h3{margin:0;font-size:1rem;font-weight:800}
.ho-proj .nums{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:8px 0 2px;text-align:center}
.ho-proj .nums div{background:#f8fafc;border-radius:9px;padding:8px 4px}
.ho-proj .nums small{display:block;font-size:.66rem;text-transform:uppercase;letter-spacing:.05em;color:var(--ap-muted);font-weight:800}
.ho-proj .nums b{font-size:.98rem;font-weight:800}
.ho-proj p{margin:0;font-size:.84rem;color:var(--ap-muted);line-height:1.5}
.ho-proj .note{font-size:.8rem;color:var(--ap-ink);background:#f8fafc;border-left:3px solid #b45309;padding:8px 10px;border-radius:0 8px 8px 0;line-height:1.45}

/* switcher */
.ho-switch{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:14px}
.ho-switch a{display:inline-flex;gap:7px;align-items:center;border:1px solid var(--ap-line);background:#fff;border-radius:999px;padding:6px 13px;font-size:.84rem;font-weight:700;text-decoration:none;color:var(--ap-muted)}
.ho-switch a.on{border-color:#b45309;color:#b45309;background:#fdf1e0}

/* misc */
.ho-note{font-size:.78rem;color:var(--ap-muted);line-height:1.5}
.ho-lead-hero{background:linear-gradient(135deg,#3b2205 0%,#8a4208 55%,#d97706 140%)}
.ho-addr{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}
.ho-addr input{flex:1 1 320px;min-width:0;padding:15px 16px;border-radius:12px;border:0;font-size:1rem;font:inherit;font-size:1rem}
.ho-addr button{flex:0 0 auto}
.ho-lead-hero .ho-addr button.ap-btn.p{background:#fff;color:#7c3a06}
.ho-lead-hero .ho-addr button.ap-btn.p:hover{background:#fff7ed;color:#7c3a06}
.ho-pillars{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
.ho-pillar{background:#fff;border:1px solid var(--ap-line);border-radius:14px;padding:20px}
.ho-pillar i{font-size:1.4rem;color:#b45309;margin-bottom:10px;display:block}
.ho-pillar h3{margin:0 0 6px;font-size:1.05rem;font-weight:800}
.ho-pillar p{margin:0;font-size:.89rem;color:var(--ap-muted);line-height:1.55}
.ho-amort{max-height:340px;overflow:auto}
.ho-doc{display:flex;gap:12px;align-items:center;padding:12px 14px;border:1px solid var(--ap-line);border-radius:12px;background:#fff;margin-bottom:8px}
.ho-doc .ic{width:38px;height:38px;border-radius:10px;background:#f1f5f9;color:#64748b;display:grid;place-items:center;flex:0 0 auto}
.ho-doc b{display:block;font-size:.92rem}
.ho-doc small{color:var(--ap-muted);font-size:.79rem}
@media print{.ap-crumbs,.ap-bar,.ap-tabs,.ho-switch,.ap-btn,header,footer,nav{display:none!important}.ap-main{max-width:100%;padding:0}.ap-card{box-shadow:none;break-inside:avoid}}
