.homestead { --hs-ink:#254c37; --hs-muted:#73816c; --hs-line:#e1e8d7; --hs-green:#365f42; margin:1.4rem 0; color:var(--hs-ink); }
.hs-heading { display:flex; justify-content:space-between; align-items:flex-start; gap:1rem; margin-bottom:1.2rem; }
.hs-heading h2 { font-family:var(--heading-font,Georgia,serif); font-weight:400; font-size:1.85rem; line-height:1.2; margin:.4rem 0 .55rem; }
.hs-heading p { margin:0; font-size:.9375rem; line-height:1.65; color:var(--hs-muted); }
.hs-trial-label { display:inline-flex; align-items:center; flex-shrink:0; background:#f7ecdc; border:1px solid #e9d9bb; color:#8f764e; font-size:.75rem; line-height:1.4; padding:.4rem .6rem; border-radius:8px; }
.hs-resource-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.8rem; margin:1rem 0; }
.hs-resource { background:#fff; border:1px solid var(--hs-line); border-radius:14px; padding:1rem; display:flex; gap:.7rem; align-items:center; }
.hs-resource-symbol { width:40px; height:40px; border-radius:11px; display:grid; place-items:center; flex-shrink:0; background:#e8f0e0; color:#608452; }
.hs-resource.water .hs-resource-symbol { background:#e4f0f0; color:#55878b; }
.hs-resource.food .hs-resource-symbol { background:#faeddd; color:#b38c53; }
.hs-resource strong { display:block; font-weight:600; font-size:1.65rem; line-height:1.1; }
.hs-resource small { display:block; color:var(--hs-muted); font-size:.8125rem; margin-top:.25rem; }
.hs-energy-track { width:75px; height:4px; border-radius:4px; overflow:hidden; background:#e7eddf; margin-top:.5rem; }
.hs-energy-track span { display:block; height:100%; background:#81a15f; }
.hs-plots { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.8rem; }
.hs-plot { background:#fdfdf8; border:1px solid var(--hs-line); border-radius:15px; overflow:hidden; min-width:0; }
.hs-plot-illustration { width:100%; height:auto; display:block; aspect-ratio:1.55; background:#f1f4e9; }
.hs-plot-content { padding:1rem; }
.hs-plot-content h3 { font-size:1rem; margin:0 0 .3rem; font-weight:650; }
.hs-plot-meta { color:var(--hs-muted); font-size:.8125rem; line-height:1.5; min-height:2.8em; margin:.3rem 0 .8rem; }
.hs-plot .btn { width:100%; justify-content:center; min-height:40px; padding:.65rem .6rem; font-size:.875rem; }
.hs-plot small { display:block; color:#7f8d74; font-size:.75rem; line-height:1.5; text-align:center; margin-top:.55rem; }
.hs-water-pips { display:flex; align-items:center; gap:.32rem; margin:.6rem 0 .8rem; }
.hs-water-pip { display:block; width:12px; height:12px; border:1px solid #c4d9d5; border-radius:2px 8px 8px 8px; transform:rotate(45deg); background:#f0f5f0; }
.hs-water-pip.filled { background:#86b7af; border-color:#77aaa3; }
.hs-water-count { font-size:.75rem; color:#73948b; margin-left:.4rem; }
.hs-action-row { display:flex; align-items:center; gap:1rem; justify-content:space-between; margin:1rem 0 0; padding:1rem; border:1px solid #e2e8d7; background:#f2f6ea; border-radius:12px; }
.hs-action-copy { min-width:0; }
.hs-action-copy strong { display:block; font-size:.9375rem; margin-bottom:.25rem; }
.hs-action-copy p { margin:0; color:var(--hs-muted); font-size:.8125rem; line-height:1.5; }
.hs-action-row .btn { flex-shrink:0; font-size:.875rem; }
.hs-commit { margin:1rem 0; background:#fcf6e9; border:1px solid #e9dfc7; border-radius:13px; padding:1.1rem; }
.hs-commit-top { display:flex; align-items:center; justify-content:space-between; gap:1rem; }
.hs-commit h3 { font-size:1rem; margin:0 0 .35rem; }
.hs-commit p { font-size:.875rem; color:#827959; line-height:1.55; margin:0; }
.hs-commit .btn { flex-shrink:0; }
.hs-commit-list { margin:.9rem 0 0; padding:0; list-style:none; display:flex; flex-wrap:wrap; gap:.5rem; }
.hs-commit-list li { display:inline-flex; align-items:center; gap:.35rem; background:#fff9ed; border:1px solid #e9dfc9; border-radius:7px; padding:.4rem .55rem; font-size:.8125rem; color:#817659; }
.hs-commit-list li.completed { background:#e9f1dc; border-color:#d7e3c8; color:#5b764c; }
.hs-commit-note { display:block; font-size:.75rem; color:#8e836b; line-height:1.5; margin:.7rem 0 0; }
.hs-building { margin-top:1.4rem; border:1px solid var(--hs-line); border-radius:16px; background:#fff; overflow:hidden; }
.hs-building-head { display:flex; justify-content:space-between; align-items:center; gap:1rem; padding:1.2rem; border-bottom:1px solid #e7ecdf; }
.hs-building-head h3 { font-family:var(--heading-font,Georgia,serif); font-size:1.4rem; font-weight:400; margin:0; }
.hs-building-head p { font-size:.8125rem; color:var(--hs-muted); margin:.3rem 0 0; }
.hs-ladder { padding:1.1rem 1.2rem; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:.6rem; }
.hs-stage { text-align:center; min-width:0; padding:.4rem .2rem; position:relative; }
.hs-stage-symbol { margin:0 auto .5rem; border:1px solid #dfe7d5; background:#f3f6ec; color:#8c9d7c; border-radius:14px; width:44px; height:44px; display:grid; place-items:center; }
.hs-stage.earned .hs-stage-symbol { background:#e0ebd5; color:#55783e; }
.hs-stage.current .hs-stage-symbol { background:#446e43; color:#fff5cf; border-color:#446e43; box-shadow:0 0 0 4px #e9f0df; }
.hs-stage strong { display:block; font-size:.8125rem; font-weight:600; line-height:1.35; }
.hs-stage small { display:block; font-size:.6875rem; color:#8a967f; line-height:1.4; margin-top:.25rem; }
.hs-next-build { padding:1.1rem 1.2rem 1.3rem; border-top:1px solid #e7ecdf; background:#fafcf5; }
.hs-next-build-heading { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:.9rem; }
.hs-next-build h4 { font-size:1.05rem; margin:0; }
.hs-next-build-heading>span { font-size:.8125rem; color:#7f8e72; }
.hs-build-gates { display:flex; flex-wrap:wrap; gap:.5rem; margin:.8rem 0 1rem; }
.hs-gate { display:flex; align-items:center; gap:.35rem; border:1px solid #e1e7d9; border-radius:8px; background:#fff; color:#829174; padding:.45rem .6rem; font-size:.8125rem; line-height:1.45; }
.hs-gate.met { color:#4f773b; background:#edf3e5; border-color:#d9e4cc; }
.hs-next-build .btn { min-width:150px; }
.hs-next-build .hs-muted { font-size:.8125rem; line-height:1.5; margin:.8rem 0 0; }
.hs-receipts { margin:1.1rem 0 0; border:1px solid var(--hs-line); border-radius:12px; background:#fff; padding:0 1rem; }
.hs-receipts summary { font-size:.875rem; color:#647e52; cursor:pointer; padding:1rem 0; }
.hs-receipt { display:flex; justify-content:space-between; align-items:flex-start; gap:1rem; padding:.75rem 0; border-top:1px solid #edf0e7; font-size:.8125rem; }
.hs-receipt p { margin:.15rem 0 0; color:var(--hs-muted); line-height:1.5; }
.hs-receipt time { font-size:.75rem; color:#8a967e; white-space:nowrap; }
.hs-note { font-size:.75rem; line-height:1.6; color:#849379; margin:.9rem .2rem 0; }
.hs-note b { font-weight:500; color:#688155; }
.hs-empty { padding:.6rem 0 1rem; text-align:center; color:#819272; font-size:.875rem; line-height:1.6; }
.hs-settings { border:1px solid var(--hs-line,#e1e8d7); background:#fff; border-radius:16px; padding:1.4rem; margin-top:1.4rem; }
.hs-settings h3 { font-size:1.2rem; margin:0 0 .5rem; }
.hs-settings p { font-size:.875rem; line-height:1.6; color:#78866b; }
.hs-setting-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.9rem; margin:1.1rem 0; }
.hs-field { display:flex; flex-direction:column; gap:.5rem; margin-bottom:.9rem; font-size:.875rem; color:#5c7250; min-width:0; }
.hs-field input,.hs-field select { box-sizing:border-box; width:100%; min-width:0; border:1px solid #dce5d3; border-radius:8px; padding:.7rem .8rem; font:inherit; color:#294e37; background:#fafcf5; }
.hs-settings-table-wrap { max-width:100%; overflow:auto; }
.hs-settings-table { border-collapse:collapse; width:100%; font-size:.875rem; text-align:left; }
.hs-settings-table th,.hs-settings-table td { padding:.65rem .4rem; border-bottom:1px solid #e8edde; }
.hs-settings-table th { font-weight:500; color:#7b896f; }
.hs-settings-table input { box-sizing:border-box; width:100%; min-width:75px; padding:.6rem; border:1px solid #dfe7d6; border-radius:7px; font:inherit; color:#294e37; background:#fafcf5; }
.hs-settings-table label { display:block; }
.hs-settings-table .hs-stage-name { min-width:110px; }
.hs-settings .btn { margin-top:1rem; }
.hs-modal-copy { font-size:.9375rem; line-height:1.6; color:#74806b; }
@media(max-width:680px) { .hs-resource-grid { gap:.5rem; } .hs-resource { display:block; padding:.85rem .7rem; } .hs-resource-symbol { width:32px; height:32px; margin-bottom:.55rem; } .hs-resource-symbol svg { width:19px; height:19px; } .hs-resource strong { font-size:1.4rem; } .hs-resource small { font-size:.75rem; } .hs-heading { gap:.7rem; } .hs-heading h2 { font-size:1.6rem; } .hs-trial-label { max-width:85px; font-size:.6875rem; } .hs-plots { grid-template-columns:1fr; gap:.65rem; } .hs-plot { display:grid; grid-template-columns:34% minmax(0,1fr); align-items:stretch; } .hs-plot-illustration { height:100%; min-height:165px; aspect-ratio:auto; object-fit:cover; } .hs-plot-content { padding:.9rem; } .hs-plot-meta { min-height:0; margin-bottom:.5rem; } .hs-plot .btn { min-height:37px; padding:.5rem; } .hs-water-pips { margin:.5rem 0; } .hs-action-row { gap:.8rem; } .hs-action-row .btn { padding:.6rem .7rem; } .hs-commit-top { flex-wrap:wrap; } .hs-commit-top .btn { width:100%; justify-content:center; } .hs-ladder { gap:.2rem; padding:1.1rem .6rem; } .hs-stage-symbol { width:36px; height:36px; border-radius:11px; } .hs-stage strong { font-size:.6875rem; } .hs-stage small { font-size:.625rem; } .hs-building-head { align-items:flex-start; } .hs-next-build-heading { align-items:flex-start; } .hs-setting-grid { grid-template-columns:1fr 1fr; gap:0 .9rem; } .hs-settings { padding:1.1rem; } }
@media(prefers-reduced-motion:no-preference) { .hs-plot.ready .hs-plant-leaves { animation:hs-sway 3s ease-in-out infinite; transform-origin:center bottom; } @keyframes hs-sway { 50% { transform:rotate(2deg) translateY(-1px); } } }
