/* Owner house directory and profile; service contracts retain their own pages. */
.consumer .owner-houses-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:22px}
.consumer .owner-houses-head>div{min-width:0}
.consumer .owner-houses-head h1{font-size:25px;line-height:1.4}
.consumer .owner-houses-head p{margin-top:5px;color:var(--muted);font-size:13px}
.consumer .owner-houses-head>.small-btn{min-height:44px;white-space:nowrap;padding:9px 13px;margin-top:0}
.owner-house-grid{display:grid;gap:16px}
.owner-house-grid{grid-template-columns:1fr}
.owner-house-card{display:block;overflow:hidden;border:1px solid var(--line);border-radius:14px;background:#fff;color:inherit;text-decoration:none}
.owner-house-card-main{display:flex;align-items:center;gap:13px;padding:16px}
.owner-house-cover{flex:0 0 64px;height:64px;border-radius:9px;overflow:hidden;background:var(--pale)}
.owner-house-cover img,.house-overview-cover img{display:block;width:100%;height:100%;object-fit:cover}
.owner-house-card-heading{flex:1;min-width:0}
.consumer .owner-house-card h2{font-size:18px;line-height:1.45;overflow-wrap:anywhere}
.owner-house-card-main>.icon{flex:0 0 15px;width:15px;height:24px;color:var(--brand)}
.owner-house-address{margin-top:5px;color:var(--muted);font-size:12px;line-height:1.65;overflow-wrap:anywhere}
.owner-house-basics{margin-top:5px;font-size:12px;line-height:1.6;color:var(--muted)}
.owner-house-card-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:13px 16px;border-top:1px solid var(--line);font-size:12px;line-height:1.6}
.owner-house-card-foot strong{font-size:17px;font-weight:600;color:var(--brand);font-variant-numeric:tabular-nums}
.owner-house-card-foot strong small{font-size:13px;font-weight:500}
.owner-house-card-main{color:inherit;text-decoration:none;min-height:96px}
.owner-house-current{display:flex;align-items:center;gap:12px;margin:0 16px;padding:18px 0;min-height:96px;border-top:1px solid var(--line);color:inherit}
.owner-house-current dl{flex:1;min-width:0;margin:0}
.owner-house-current dt{display:flex;align-items:center;gap:10px;font-size:12px;line-height:1.7;color:var(--muted)}
.owner-house-current dt>span{color:var(--brand)}
.owner-house-current dd{margin:5px 0 0;font-size:21px;line-height:1.5;font-weight:600;overflow-wrap:anywhere}
.owner-house-node-state{font-size:12px;color:var(--muted);max-width:30%;overflow-wrap:anywhere;text-align:right}
.owner-house-node-state.action{color:#80571f}
.owner-house-node-state.problem{color:var(--red)}
.owner-house-node-state.done{color:var(--brand)}
.owner-house-current>.icon{width:14px;height:18px;flex-shrink:0;color:var(--muted)}
.owner-house-next-action{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 16px;min-height:58px;background:var(--pale);color:var(--brand)}
.owner-house-next-action>span{display:flex;align-items:center;gap:8px;min-width:0;font-size:13px;line-height:1.7}
.owner-house-next-action>span:last-child{flex-shrink:0;font-size:12px}
.owner-house-next-action strong{font-weight:500;overflow-wrap:anywhere}
.owner-house-next-action .icon{width:16px;height:18px;flex-shrink:0}
.consumer .owner-house-waiting{display:flex;align-items:center;gap:8px;padding:14px 16px;margin:0;border-top:1px solid var(--line);font-size:12px;line-height:1.8;color:var(--muted)}
.owner-house-waiting>.icon{width:16px;height:18px;flex-shrink:0;color:var(--brand)}
.owner-house-card-foot{padding-top:8px;padding-bottom:8px}
.owner-house-manage{display:inline-flex;align-items:center;gap:3px;min-height:44px;color:var(--brand);white-space:nowrap}
.owner-house-manage .icon{width:13px;height:16px;flex:none}
.owner-house-idle{margin:0 16px;padding:13px 0 8px;border-top:1px solid var(--line);font-size:12px;color:var(--muted);line-height:1.7}
.owner-house-idle>a{display:flex;align-items:center;gap:8px;min-height:44px;color:var(--brand)}
.owner-house-idle .icon{width:15px;height:18px}
.house-services{scroll-margin-top:85px}
.consumer .owner-house-card a:focus-visible{outline:2px solid var(--brand);outline-offset:-3px;border-radius:4px}
@media(hover:hover){.owner-house-current:hover,.owner-house-card-main:hover{background:var(--pale)}.owner-house-next-action:hover{text-decoration:underline;text-underline-offset:4px}}
@media(max-width:360px){.owner-house-current,.owner-house-idle{margin-left:13px;margin-right:13px}.owner-house-current{gap:8px}.owner-house-current dd{font-size:19px}.owner-house-next-action{padding-inline:13px;gap:8px}.consumer .owner-house-waiting{padding-inline:13px}}
.owner-house-state{color:var(--muted);text-align:right}
.has-tasks{color:#80571f!important}
.owner-house-state.has-tasks{padding:3px 7px;border-radius:5px;background:#f8f0df}
.owner-legacy-section{margin-top:25px}
.owner-legacy-services{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);color:inherit;text-decoration:none}
.owner-legacy-services h2{font-size:15px;line-height:1.6}
.owner-legacy-services p{margin-top:3px;font-size:12px;line-height:1.7;color:var(--muted)}
.owner-legacy-services>.icon{flex:0 0 16px;color:var(--brand)}
.owner-house-links{margin:25px 0 10px;border-top:1px solid var(--line)}
.owner-house-links>a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:73px;border-bottom:1px solid var(--line);color:inherit;text-decoration:none}
.owner-house-links>a>span{display:flex;flex-direction:column;gap:3px;min-width:0}
.owner-house-links strong{font-size:14px;line-height:1.5;font-weight:550}
.owner-house-links small{font-size:12px;color:var(--muted);line-height:1.55}
.owner-house-links .icon{flex:0 0 16px;color:var(--brand)}
.consumer .house-overview{padding-top:18px}
.house-overview-hero{display:flex;align-items:flex-start;gap:15px}
.house-overview-cover{flex:0 0 94px;height:111px;overflow:hidden;border-radius:10px;background:var(--pale)}
.consumer .house-overview-heading{padding:1px 0 0;flex:1;min-width:0}
.consumer .house-overview-heading h1{font-size:21px;line-height:1.45;margin:0 0 5px;overflow-wrap:anywhere}
.consumer .house-overview-heading p{font-size:13px;line-height:1.7;overflow-wrap:anywhere}
.consumer .house-overview-heading p.small{font-size:12px}
.house-overview-summary{display:flex;justify-content:space-between;gap:12px;margin-top:18px;padding:15px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:12px;line-height:1.7}
.house-overview-summary strong{font-size:17px;color:var(--brand);font-variant-numeric:tabular-nums;font-weight:600}
.house-overview-summary>span:last-child{align-self:center;text-align:right;color:var(--muted)}
.house-services{margin-top:28px;margin-bottom:25px}
.consumer .house-overview .section-title{align-items:center;margin-bottom:3px;gap:10px}
.consumer .house-overview .section-title h2{font-size:18px;line-height:1.5}
.consumer .house-overview .section-title h2 small{display:inline;margin-left:5px;font-size:12px;font-weight:400;color:var(--muted)}
.house-services .section-title>.text-btn{min-height:44px;padding:8px 0;white-space:nowrap;color:var(--brand);font-size:13px}
.consumer .house-overview .house-service-sort{margin-bottom:9px;font-size:12px;line-height:1.7;color:var(--muted)}
.consumer .house-service-row{display:flex;align-items:center;gap:10px;padding:17px 0;border-bottom:1px solid var(--line);color:inherit;text-decoration:none}
.house-service-content{flex:1;min-width:0}
.house-service-title{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.consumer .house-service-row h3{margin:0;font-size:15px;line-height:1.6;overflow-wrap:anywhere}
.house-service-status{flex:0 0 auto;max-width:40%;margin-top:2px;font-size:11px;line-height:1.7;color:var(--muted);text-align:right}
.house-service-status.action{color:#80571f;font-weight:600}
.consumer .house-overview .house-service-next{margin-top:5px;font-size:13px;line-height:1.65;color:var(--muted)}
.needs-action .house-service-next{color:var(--brand)}
.consumer .house-overview .house-service-meta{margin-top:5px;font-size:12px;line-height:1.7;color:var(--muted)}
.house-service-row>.icon{flex:0 0 14px;color:var(--muted);width:14px}
.house-service-more,.house-project-plans{margin-top:8px;border-bottom:1px solid var(--line)}
.house-service-more>summary,.house-project-plans>summary,.house-record-more>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:50px;padding:12px 0;list-style:none;cursor:pointer;color:var(--brand);font-size:13px;line-height:1.7}
.house-service-more>summary::-webkit-details-marker,.house-project-plans>summary::-webkit-details-marker,.house-record-more>summary::-webkit-details-marker{display:none}
.house-service-more>summary .icon,.house-record-more>summary .icon{width:15px;transition:transform .18s ease}
.house-service-more[open]>summary .icon,.house-record-more[open]>summary .icon{transform:rotate(90deg)}
.house-services-empty{padding:15px 0}
.consumer .house-services-empty p{font-size:13px;line-height:1.75;color:var(--muted)}
.house-services-empty .btn{margin-top:12px}
.house-project-tasks{margin-top:22px}
.house-project-tasks h2{font-size:16px}
.house-project-tasks a,.house-project-plans a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:12px 0;border-bottom:1px solid var(--line);font-size:13px;color:var(--brand);line-height:1.65}
.house-project-tasks .icon,.house-project-plans .icon{width:15px;flex-shrink:0}
.house-project-plans>summary span{font-size:12px;color:var(--muted)}
.house-project-plans>p{margin-bottom:5px}
.house-records{margin-top:28px}
.house-record-list{margin-top:12px;border-top:1px solid var(--line)}
.house-record-list>a{display:flex;align-items:center;gap:11px;min-height:63px;border-bottom:1px solid var(--line);color:inherit;text-decoration:none}
.house-record-list>a>.icon:first-child{width:19px;color:var(--brand);flex:0 0 auto}
.house-record-list>a>span{flex:1;min-width:0}
.house-record-list strong,.house-record-list small{display:block}
.house-record-list strong{font-size:14px;line-height:1.5;font-weight:550}
.house-record-list small{margin-top:2px;color:var(--muted);font-size:12px;line-height:1.5}
.house-record-list>a>.icon:last-child{width:15px;color:var(--muted);flex:0 0 auto}
.house-record-more{border-bottom:1px solid var(--line)}
.house-record-more .house-record-list{margin-top:0;border-top:0}
.house-cover-options{border:0;padding:0;margin:22px 0}
.house-cover-options legend{font-size:14px;font-weight:550;margin-bottom:10px}
.house-cover-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.house-cover-choice{position:relative;display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-width:0;padding:8px;border:1px solid var(--line);border-radius:10px;cursor:pointer;font-size:12px}
.house-cover-choice:has(input:checked){border-color:var(--brand);background:var(--pale)}
.house-cover-choice img{display:block;width:100%;height:74px;object-fit:cover;border-radius:5px}
.house-cover-choice input{accent-color:var(--brand);width:16px;height:16px;margin:3px 0}
.consumer :is(.owner-house-card,.owner-house-links a,.owner-legacy-services,.house-overview a,.house-overview button,.house-overview summary,.house-cover-choice input):focus-visible{outline:2px solid var(--brand);outline-offset:4px}
.house-service-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.house-service-actions .text-btn{min-height:44px;padding:8px 0}.house-service-group{margin-top:22px}.house-service-group-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.house-service-group-title h2{font-size:16px;line-height:1.5}.house-service-group-title h2 small{margin-left:5px;font-size:12px;color:var(--muted);font-weight:400}.house-service-group-title .text-btn{min-height:44px;font-size:13px;padding:8px 0}.house-primary-service{display:block;padding:17px 0 16px;border-bottom:1px solid var(--line);color:inherit;text-decoration:none}.house-primary-service-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.house-service-kind{display:inline-flex;align-items:center;min-height:24px;padding:2px 8px;border-radius:6px;background:var(--pale);font-size:11px;line-height:1.5;color:var(--brand)}.house-primary-service h3{margin:9px 0 5px;font-size:16px;line-height:1.55;overflow-wrap:anywhere}.house-primary-service-scope{font-size:13px;line-height:1.7;color:var(--muted);overflow-wrap:anywhere}.house-primary-service-meta{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:10px;font-size:12px;line-height:1.6;color:var(--muted)}.house-primary-service-meta>span:last-child{display:flex;align-items:center;gap:5px;color:var(--brand);white-space:nowrap}.house-primary-service-meta .icon{width:14px}.house-internal-records{margin:25px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.house-internal-records>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:54px;padding:12px 0;color:var(--brand);font-size:13px;line-height:1.7;cursor:pointer}.house-internal-records>summary span{font-size:12px;color:var(--muted)}.house-internal-records>p{padding:0 0 9px}.house-internal-records>a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 0;border-top:1px solid var(--line);color:inherit}.house-internal-records>a>span{display:block;min-width:0}.house-internal-records strong,.house-internal-records small{display:block}.house-internal-records strong{font-size:13px;line-height:1.6;overflow-wrap:anywhere}.house-internal-records small{font-size:12px;color:var(--muted);margin-top:2px}.house-internal-records>a>.icon{width:15px;color:var(--muted);flex:0 0 auto}.house-project-tasks a>span{display:flex;flex-direction:column;gap:2px}.house-project-tasks a small{font-size:11px;color:var(--muted)}
@media(hover:hover){.owner-house-card:hover{border-color:var(--brand)}.house-service-row:hover{background:var(--pale)}}
@media(max-width:360px){.owner-house-card-main{padding:13px;gap:10px}.owner-house-cover{flex-basis:56px;height:56px}.consumer .owner-house-card h2{font-size:16px}.owner-house-card-foot{padding:12px 13px;gap:6px;font-size:11px}.owner-house-state.has-tasks{padding:3px 5px}.house-overview-cover{flex-basis:78px;height:102px}.consumer .house-overview-heading h1{font-size:19px}.house-service-title{display:block}.house-service-status{display:inline-block;max-width:none;margin-top:3px;text-align:left}.consumer .house-service-row h3{font-size:14px}}
@media(prefers-reduced-motion:reduce){.house-service-more>summary .icon,.house-record-more>summary .icon{transition:none}}
.house-current-service,.house-current-empty{margin:0 0 18px;padding:20px;background:var(--pale);border-radius:14px}
.house-current-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.consumer .house-current-heading h2{font-size:23px;margin:0;line-height:1.5;overflow-wrap:anywhere}
.house-current-heading>span{flex-shrink:0;font-size:12px;color:var(--brand)}
.consumer .house-current-empty h2{font-size:17px;margin:0;line-height:1.5}
.consumer .house-current-status{margin-top:5px;font-size:13px;line-height:1.7;color:var(--brand);overflow-wrap:anywhere}
.house-current-service .btn .icon{width:17px}
.house-current-tasks{margin-top:20px}
.house-current-tasks>strong{display:block;margin-bottom:9px;font-size:13px;font-weight:500;color:var(--brand)}
.house-current-tasks .btn{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px;line-height:1.6;text-align:left}
.house-current-tasks .icon{flex-shrink:0}
.house-extra-task{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;margin-top:7px;font-size:13px;line-height:1.6;color:var(--brand);overflow-wrap:anywhere}
.house-extra-task .icon{width:14px}
.consumer .house-no-task{margin-top:18px;color:var(--brand);font-size:13px;line-height:1.7}
.consumer .house-current-empty p{margin:8px 0 18px;color:var(--brand);font-size:14px}
.house-overview>.house-current-empty{margin-top:24px}
.house-next-service{margin-top:26px;padding-top:20px;border-top:1px solid var(--line)}
.house-next-service>.text-btn{display:flex;align-items:center;justify-content:center;min-height:44px;margin-top:8px}
.house-current-empty>.text-btn{display:flex;justify-content:center;align-items:center;min-height:44px;margin-top:8px}
.house-progress-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:28px;border-bottom:1px solid var(--line);padding-bottom:18px}
.house-progress-shortcuts>a{display:flex;align-items:center;gap:9px;min-height:48px;color:var(--ink)}
.house-progress-shortcuts>a+a{border-left:1px solid var(--line);padding-left:15px;margin-left:12px}
.house-progress-shortcuts>a>.icon:first-child{width:21px;height:21px;flex-shrink:0;color:var(--brand)}
.house-progress-shortcuts>a>span{flex:1;min-width:0}
.house-progress-shortcuts strong,.house-progress-shortcuts small{display:block;line-height:1.6;overflow-wrap:anywhere}
.house-progress-shortcuts strong{font-size:14px;font-weight:500}
.house-progress-shortcuts small{margin-top:2px;font-size:12px;color:var(--muted)}
.house-progress-shortcuts>a>.icon:last-child{width:13px;flex-shrink:0;color:var(--muted)}
.house-overview .owner-service-workspace{margin-top:18px}
.house-overview-cover{flex-basis:64px;height:76px}
.consumer .house-overview-heading h1{font-size:20px;margin-bottom:3px}
.consumer .house-overview-heading p{font-size:12px;line-height:1.6}
@media(max-width:360px){.house-current-service{padding:17px}.consumer .house-current-heading h2{font-size:21px}.house-progress-shortcuts>a{gap:7px}.house-progress-shortcuts>a+a{padding-left:10px;margin-left:8px}.house-progress-shortcuts>a>.icon:first-child{width:18px;height:18px}}
