/* Homestead Manager (pgamo) — scoped styles. */
.pgamo-hs {
	/* Matches the pgamo.com site template: maroon, cream and gold with Gloock headings. */
	--hs-green: #4a1119;
	--hs-green-dark: #350c12;
	--hs-green-soft: #f6ecd9;
	--hs-gold: #b3823a;
	--hs-gold-dark: #96692b;
	--hs-gold-soft: #f7ecd6;
	--hs-red: #a3301f;
	--hs-red-soft: #f8e3dd;
	--hs-amber: #8a5f1c;
	--hs-amber-soft: #f7ecd6;
	--hs-ink: #2b1d1f;
	--hs-muted: #6b5b5d;
	--hs-line: #e6dad6;
	--hs-paper: #ffffff;
	--hs-cream: #fbf7f2;
	--hs-radius: 10px;
	--hs-shadow: 0 4px 18px rgba(74, 17, 25, .08);
	--hs-serif: Gloock, Georgia, 'Times New Roman', serif;
	color: #444;
	font-size: 16px;
	line-height: 1.55;
	max-width: 1140px;
	margin: 40px auto;
	padding: 0 16px;
}
.pgamo-hs *, .pgamo-hs *::before, .pgamo-hs *::after { box-sizing: border-box; }
.pgamo-hs h3, .pgamo-hs h4 { color: var(--hs-green); font-family: var(--hs-serif); font-weight: 600; margin: 0 0 .6em; line-height: 1.25; }
.pgamo-hs h3 { font-size: 1.6rem; }
.pgamo-hs h4 { font-size: 1.25rem; }
.pgamo-hs .hs-section-title { text-align: center; font-size: 2rem; margin: 36px 0 18px; }
.pgamo-hs a { color: var(--hs-green); }
.pgamo-hs small { color: var(--hs-muted); }

/* Tabs */
.pgamo-hs .hs-tabs {
	display: flex; gap: 4px; flex-wrap: nowrap; overflow-x: auto;
	border-bottom: 2px solid var(--hs-line); margin: 0 0 18px; padding: 0;
	-webkit-overflow-scrolling: touch; scrollbar-width: thin;
}
.pgamo-hs .hs-tabs a {
	flex: 0 0 auto; padding: 10px 14px; text-decoration: none; color: var(--hs-muted);
	font-weight: 600; border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap;
}
.pgamo-hs .hs-tabs a:hover { color: var(--hs-green); }
.pgamo-hs .hs-tabs a.is-active { color: var(--hs-green); border-bottom-color: var(--hs-gold); }

/* Cards */
.pgamo-hs .hs-card {
	background: var(--hs-paper); border: 0; border-radius: var(--hs-radius); box-shadow: var(--hs-shadow);
	padding: 22px; margin: 0 0 20px;
}
.pgamo-hs details.hs-card > summary {
	cursor: pointer; font-family: var(--hs-serif); font-weight: 600; font-size: 1.2rem; list-style: none; color: var(--hs-green);
}
.pgamo-hs details.hs-card > summary::-webkit-details-marker { display: none; }
.pgamo-hs details.hs-card > summary::before { content: '+ '; }
.pgamo-hs details.hs-card[open] > summary { margin-bottom: 14px; }
.pgamo-hs details.hs-card[open] > summary::before { content: '− '; }
.pgamo-hs .hs-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.pgamo-hs .hs-card-head h3, .pgamo-hs .hs-card-head h4 { margin: 0; }
.pgamo-hs .hs-welcome { background: var(--hs-cream); }

/* Stats */
.pgamo-hs .hs-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin: 0 0 16px; }
.pgamo-hs .hs-stat { background: var(--hs-paper); border: 0; border-top: 3px solid var(--hs-gold); border-radius: var(--hs-radius); padding: 14px 16px; box-shadow: var(--hs-shadow); }
.pgamo-hs .hs-stat-label { font-size: .82rem; color: var(--hs-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.pgamo-hs .hs-stat-value { font-family: var(--hs-serif); font-size: 1.7rem; font-weight: 600; color: var(--hs-green); font-variant-numeric: tabular-nums; line-height: 1.2; margin-top: 2px; }
.pgamo-hs .hs-stat-sub { font-size: .85rem; color: var(--hs-muted); }

/* Forms */
.pgamo-hs .hs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px 14px; margin-bottom: 12px; }
.pgamo-hs .hs-span-2 { grid-column: 1 / -1; }
.pgamo-hs .hs-form label, .pgamo-hs .hs-calc label { display: block; font-weight: 600; font-size: .92rem; margin: 0; }
.pgamo-hs .hs-form label > input, .pgamo-hs .hs-form label > select, .pgamo-hs .hs-form label > textarea, .pgamo-hs .hs-calc label > input, .pgamo-hs .hs-calc label > select { display: block; margin-top: 4px; }
.pgamo-hs .hs-opt { font-weight: 400; color: var(--hs-muted); }
.pgamo-hs input[type="text"], .pgamo-hs input[type="search"], .pgamo-hs input[type="number"], .pgamo-hs input[type="date"], .pgamo-hs input[type="tel"], .pgamo-hs input[type="email"], .pgamo-hs select, .pgamo-hs textarea {
	width: 100%; min-height: 44px; padding: 8px 10px; font: inherit; font-weight: 400; color: var(--hs-ink);
	background: #fff; border: 1px solid #bdb8aa; border-radius: 8px; margin: 0; box-shadow: none;
}
.pgamo-hs textarea { min-height: 64px; }
.pgamo-hs input:focus, .pgamo-hs select:focus, .pgamo-hs textarea:focus { outline: 2px solid var(--hs-green); outline-offset: 1px; border-color: var(--hs-green); }
.pgamo-hs .hs-from { margin: 0; padding: 10px 12px; background: var(--hs-green-soft); border-radius: 8px; }

/* Buttons */
.pgamo-hs .hs-btn, .pgamo-hs button.hs-btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px;
	background: var(--hs-gold); color: #f6ecd9; border: 2px solid var(--hs-gold); border-radius: 4px;
	font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; line-height: 1.2; text-transform: none; letter-spacing: 0;
}
.pgamo-hs .hs-btn:hover { background: var(--hs-gold-dark); border-color: var(--hs-gold-dark); color: #fff; }
.pgamo-hs .hs-btn-ghost, .pgamo-hs a.hs-btn-ghost, .pgamo-hs button.hs-btn-ghost { background: transparent; color: var(--hs-green); border-color: var(--hs-green); }
.pgamo-hs .hs-btn-ghost:hover { background: var(--hs-green-soft); color: var(--hs-green-dark); }
.pgamo-hs .hs-btn-link, .pgamo-hs button.hs-btn-link {
	background: none; border: 0; padding: 4px 6px; min-height: 0; color: var(--hs-green); font-weight: 600; text-decoration: underline; cursor: pointer; font: inherit;
}
.pgamo-hs .hs-btn-link.hs-danger, .pgamo-hs button.hs-danger { color: var(--hs-red); }
.pgamo-hs .hs-btn-link:hover { background: none; }
.pgamo-hs form.hs-inline { display: inline; margin: 0; }
.pgamo-hs form.hs-inline select { min-height: 36px; padding: 4px 8px; width: auto; max-width: 190px; }

/* Tables */
.pgamo-hs .hs-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -4px; }
.pgamo-hs .hs-table { width: 100%; border-collapse: collapse; font-size: .94rem; margin: 0; border: 0; }
.pgamo-hs .hs-table th, .pgamo-hs .hs-table td { padding: 9px 8px; border: 0; border-bottom: 1px solid var(--hs-line); text-align: left; vertical-align: middle; background: transparent; white-space: nowrap; }
.pgamo-hs .hs-table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; color: var(--hs-muted); white-space: nowrap; }
.pgamo-hs .hs-table tbody tr:hover td { background: var(--hs-cream); }
.pgamo-hs .hs-table tr.is-open td { background: var(--hs-green-soft); }
.pgamo-hs .hs-r { text-align: right !important; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pgamo-hs .hs-actions a { margin-right: 6px; font-weight: 600; }

.pgamo-hs .hs-pill { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.pgamo-hs .hs-pill-expense { background: var(--hs-red-soft); color: var(--hs-red); }
.pgamo-hs .hs-pill-sale { background: var(--hs-gold-soft); color: var(--hs-amber); }

/* Notices & hints */
.pgamo-hs .hs-notice { padding: 10px 14px; border-radius: 8px; margin: 0 0 14px; font-weight: 600; }
.pgamo-hs .hs-notice-ok { background: var(--hs-green-soft); color: var(--hs-green-dark); }
.pgamo-hs .hs-notice-err { background: var(--hs-red-soft); color: var(--hs-red); }
.pgamo-hs .hs-hint { color: var(--hs-muted); font-size: .9rem; margin: 6px 0 10px; }
.pgamo-hs .hs-empty { color: var(--hs-muted); margin: 0; }
.pgamo-hs .hs-export { font-size: .88rem; color: var(--hs-muted); border-top: 1px solid var(--hs-line); padding-top: 12px; margin-top: 8px; }

/* Chart */
.pgamo-hs .hs-chart-wrap { margin: 0; }
.pgamo-hs .hs-chart-wrap figcaption { font-weight: 700; margin-bottom: 8px; }
.pgamo-hs .hs-chart { width: 100%; height: 180px; display: block; }
.pgamo-hs .hs-chart rect { fill: var(--hs-green); }
.pgamo-hs .hs-chart rect:hover { fill: var(--hs-gold); }
.pgamo-hs .hs-chart text { font-size: 11px; fill: var(--hs-muted); }

/* Tasks */
.pgamo-hs .hs-tasks, .pgamo-hs .hs-list { list-style: none; margin: 0; padding: 0; }
.pgamo-hs .hs-list li { padding: 6px 0; border-bottom: 1px solid var(--hs-line); }
.pgamo-hs .hs-tasks li { display: flex; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--hs-line); align-items: flex-start; }
.pgamo-hs .hs-tasks li:last-child, .pgamo-hs .hs-list li:last-child { border-bottom: 0; }
.pgamo-hs .hs-task-when { flex: 0 0 120px; font-weight: 700; color: var(--hs-green-dark); display: flex; flex-direction: column; }
.pgamo-hs .hs-task-what { display: flex; flex-direction: column; }
.pgamo-hs .hs-task-what a { font-weight: 700; text-decoration: none; }
.pgamo-hs .hs-tasks li.is-overdue .hs-task-when { color: var(--hs-red); }
.pgamo-hs .hs-tasks li.is-today .hs-task-when { color: var(--hs-amber); }

/* Rabbit detail */
.pgamo-hs .hs-dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px 16px; margin: 0 0 8px; }
.pgamo-hs .hs-dl dt { font-size: .78rem; text-transform: uppercase; color: var(--hs-muted); font-weight: 600; margin: 0; }
.pgamo-hs .hs-dl dd { margin: 0; font-weight: 600; }
.pgamo-hs .hs-ped { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; align-items: center; }
.pgamo-hs .hs-ped-col { display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.pgamo-hs .hs-ped-cell { background: var(--hs-cream); border: 1px solid var(--hs-line); border-left: 4px solid var(--hs-gold); border-radius: 8px; padding: 8px 10px; font-weight: 600; word-break: break-word; }
.pgamo-hs .hs-ped-cell small { display: block; font-weight: 400; font-size: .75rem; text-transform: uppercase; }

/* Hub */
.pgamo-hs .hs-hello { margin-bottom: 14px; }
.pgamo-hs .hs-hub-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin: 0 0 20px; }
.pgamo-hs a.hs-hub-card {
	display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: var(--hs-radius);
	background: var(--hs-paper); border: 0; border-top: 4px solid var(--hs-gold); box-shadow: var(--hs-shadow);
	text-decoration: none; color: var(--hs-ink); transition: transform .12s ease, box-shadow .12s ease;
}
.pgamo-hs a.hs-hub-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(35, 40, 31, .1); color: var(--hs-ink); }
.pgamo-hs .hs-hub-kicker { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; color: var(--hs-gold); }
.pgamo-hs a.hs-hub-card strong { font-family: var(--hs-serif); font-weight: 600; font-size: 1.6rem; color: var(--hs-green); }
.pgamo-hs a.hs-hub-card span { color: var(--hs-muted); }
.pgamo-hs a.hs-hub-card .hs-hub-go { color: var(--hs-green); font-weight: 700; margin-top: 8px; }
.pgamo-hs .hs-gate { background: var(--hs-paper); border: 0; box-shadow: var(--hs-shadow); text-align: center; border-radius: var(--hs-radius); padding: 20px; margin: 0 0 20px; }
.pgamo-hs .hs-gate-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 12px 0 0; }
.pgamo-hs .hs-section-title { margin-top: 10px; }
.pgamo-hs .hs-calcs { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.pgamo-hs .hs-calc label { margin: 0 0 10px; }
.pgamo-hs .hs-calc-out { list-style: none; margin: 4px 0 0; padding: 0; }
.pgamo-hs .hs-calc-out li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px dashed var(--hs-line); flex-wrap: wrap; }
.pgamo-hs .hs-calc-out li strong { color: var(--hs-green-dark); }

/* v1.1 additions */
.pgamo-hs [hidden] { display: none !important; }
.pgamo-hs .hs-alert { background: var(--hs-red-soft); border: 1px solid #e3b5a7; border-left: 5px solid var(--hs-red); border-radius: var(--hs-radius); padding: 14px 16px; margin: 0 0 16px; color: #6e2a17; }
.pgamo-hs .hs-alert h4 { color: var(--hs-red); margin-bottom: 6px; }
.pgamo-hs .hs-alert ul { margin: 0; padding-left: 18px; }
.pgamo-hs .hs-hold { color: var(--hs-red); font-weight: 700; }
.pgamo-hs .hs-clear { color: var(--hs-muted); }
.pgamo-hs .hs-warn { color: var(--hs-amber); font-weight: 600; }
.pgamo-hs .hs-neg { color: var(--hs-red); }
.pgamo-hs .hs-pos { color: var(--hs-green-dark); }
.pgamo-hs .hs-table tr.hs-total td { font-weight: 700; border-top: 2px solid var(--hs-line); background: var(--hs-cream); }
.pgamo-hs .hs-bars { list-style: none; margin: 0; padding: 0; }
.pgamo-hs .hs-bars li { display: grid; grid-template-columns: minmax(110px, 200px) 1fr auto; gap: 10px; align-items: center; padding: 5px 0; }
.pgamo-hs .hs-bars-track { height: 12px; background: var(--hs-cream); border-radius: 6px; overflow: hidden; border: 1px solid var(--hs-line); }
.pgamo-hs .hs-bars-fill { display: block; height: 100%; background: var(--hs-green); }
.pgamo-hs .hs-bars-val { font-variant-numeric: tabular-nums; color: var(--hs-muted); font-size: .9rem; white-space: nowrap; }
.pgamo-hs .hs-filter { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 0; }
.pgamo-hs .hs-filter select { width: auto; min-height: 40px; }
.pgamo-hs .hs-btn.hs-btn-small, .pgamo-hs button.hs-btn-small { min-height: 34px; padding: 5px 12px; font-size: .88rem; }
.pgamo-hs .hs-form label.hs-check { display: flex; gap: 8px; align-items: center; font-weight: 600; align-self: end; min-height: 44px; }
.pgamo-hs .hs-form label.hs-check input { display: inline-block; width: 20px; height: 20px; min-height: 0; margin: 0; }
.pgamo-hs .hs-chart .hs-bar-exp { fill: var(--hs-green); }
.pgamo-hs .hs-chart .hs-bar-sale { fill: var(--hs-gold); }
.pgamo-hs .hs-legend { font-weight: 400; font-size: .85rem; color: var(--hs-muted); margin-left: 12px; white-space: nowrap; }
.pgamo-hs .hs-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 4px; vertical-align: middle; }
.pgamo-hs .hs-legend i.hs-bar-exp { background: var(--hs-green); }
.pgamo-hs .hs-legend i.hs-bar-sale { background: var(--hs-gold); }
.pgamo-hs .hs-journal { list-style: none; margin: 0; padding: 0; }
.pgamo-hs .hs-journal li { padding: 10px 0; border-bottom: 1px solid var(--hs-line); }
.pgamo-hs .hs-journal li:last-child { border-bottom: 0; }
.pgamo-hs .hs-journal p { margin: 6px 0 0; }
.pgamo-hs .hs-journal-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; }
.pgamo-hs .hs-pill-pest, .pgamo-hs .hs-pill-disease { background: var(--hs-red-soft); color: var(--hs-red); }
.pgamo-hs .hs-pill-soil, .pgamo-hs .hs-pill-amendment, .pgamo-hs .hs-pill-water, .pgamo-hs .hs-pill-weather, .pgamo-hs .hs-pill-note { background: var(--hs-amber-soft); color: var(--hs-amber); }
.pgamo-hs .hs-hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 0 0 20px; }
.pgamo-hs a.hs-mini { display: block; padding: 14px 16px; border: 0; border-left: 4px solid var(--hs-gold); box-shadow: var(--hs-shadow); border-radius: var(--hs-radius); background: var(--hs-paper); text-decoration: none; color: var(--hs-ink); }
.pgamo-hs a.hs-mini:hover { background: var(--hs-cream); color: var(--hs-ink); }
.pgamo-hs a.hs-mini strong { display: block; font-family: var(--hs-serif); font-weight: 600; font-size: 1.15rem; color: var(--hs-green); }
.pgamo-hs a.hs-mini span { display: block; font-size: .88rem; color: var(--hs-muted); }

@media (max-width: 600px) {
	.pgamo-hs .hs-bars li { grid-template-columns: 1fr auto; }
	.pgamo-hs .hs-bars-track { grid-column: 1 / -1; grid-row: 2; }
	.pgamo-hs .hs-card { padding: 14px; }
	.pgamo-hs .hs-stats { grid-template-columns: 1fr 1fr; gap: 8px; }
	.pgamo-hs .hs-stat-value { font-size: 1.3rem; }
	.pgamo-hs .hs-ped { grid-template-columns: 1fr; }
	.pgamo-hs .hs-task-when { flex-basis: 96px; }
	.pgamo-hs .hs-form .hs-btn { width: 100%; }
}

/* Anchor target used by the page layout ("Open My Tracker" button) */
.pgamo-hs-anchor { position: relative; top: -90px; height: 0; }
.pgamo-hs .hs-welcome { background: var(--hs-paper); border-top: 4px solid var(--hs-gold); }

/* ---------- v1.2: planner, space guide, custom types ---------- */
.pgamo-hs .hs-planner-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-bottom: 8px; }
.pgamo-hs .hs-planner-tools label { display: block; font-weight: 600; font-size: .92rem; }
.pgamo-hs .hs-planner-tools select { min-width: 240px; width: auto; display: block; margin-top: 4px; }
.pgamo-hs .hs-swatch { display: inline-block; width: 40px; height: 40px; border-radius: 8px; border: 2px solid var(--hs-line); }
.pgamo-hs .hs-btn.is-on { background: var(--hs-green); color: #fff; }
.pgamo-hs .hs-grid-scroll { overflow: auto; max-height: 70vh; border: 1px solid var(--hs-line); border-radius: 8px; background: #fff; padding: 8px; margin: 8px 0 14px; }
.pgamo-hs .hs-plan-grid { display: grid; grid-template-columns: repeat(var(--cols), 26px); gap: 2px; width: max-content; touch-action: none; user-select: none; }
.pgamo-hs button.hs-cell { width: 26px; height: 26px; min-height: 0; padding: 0; margin: 0; border: 1px solid #e3d8d2; border-radius: 3px; background: #f7f1ea; font: 700 11px/1 Arial, sans-serif; color: rgba(255, 255, 255, .9); cursor: crosshair; box-shadow: none; text-transform: none; }
.pgamo-hs button.hs-cell:hover { outline: 2px solid var(--hs-gold); outline-offset: -1px; }
.pgamo-hs button.hs-cell:focus-visible { outline: 2px solid var(--hs-green); }
.pgamo-hs button.hs-cell.is-rotation { box-shadow: inset 0 0 0 2px #d62f2f; }
.pgamo-hs .hs-dot { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 8px; vertical-align: middle; }
.pgamo-hs .hs-ok { color: #2f6b3a; font-weight: 700; }
.pgamo-hs .hs-ticks { margin: 6px 0 8px; padding-left: 20px; }
.pgamo-hs .hs-ticks li { margin: 3px 0; }
.pgamo-hs .hs-space .hs-stats { margin-bottom: 8px; }
.pgamo-hs .hs-mini-wrap { display: flex; flex-direction: column; gap: 4px; }
.pgamo-hs .hs-mini-actions { display: flex; gap: 10px; align-items: center; font-size: .88rem; padding-left: 4px; }
.pgamo-hs a.hs-mini.hs-mini-add { border-left-style: dashed; background: var(--hs-cream); }
.pgamo-hs fieldset.hs-checks { border: 1px solid var(--hs-line); border-radius: 8px; padding: 8px 12px 10px; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.pgamo-hs fieldset.hs-checks legend { font-weight: 600; font-size: .92rem; padding: 0 4px; }
.pgamo-hs fieldset.hs-checks label.hs-check, .pgamo-hs label.hs-check { display: flex; gap: 6px; align-items: center; font-weight: 500; min-height: 32px; }
.pgamo-hs label.hs-check input { width: 18px; height: 18px; min-height: 0; margin: 0; display: inline-block; }
.pgamo-hs .hs-family-crops { margin: 10px 0 14px; }
.pgamo-hs .hs-preset { display: block; font-weight: 600; margin-bottom: 12px; }
.pgamo-hs .hs-preset select { display: block; margin-top: 4px; max-width: 360px; }
.pgamo-hs .hs-pill-mine { background: var(--hs-gold-soft); color: var(--hs-amber); }
.pgamo-hs .hs-chip { display: inline-flex; align-items: center; gap: 4px; background: var(--hs-cream); border: 1px solid var(--hs-line); border-radius: 999px; padding: 2px 4px 2px 10px; margin: 2px 4px 2px 0; }
.pgamo-hs button.hs-chip-x { background: none; border: 0; color: var(--hs-red); font-weight: 700; cursor: pointer; padding: 0 6px; min-height: 0; line-height: 1.4; }
.pgamo-hs.hs-backbar { margin-bottom: -20px; }
.pgamo-hs.hs-backbar a { font-weight: 700; color: var(--hs-green); }
@media (max-width: 600px) {
	.pgamo-hs .hs-plan-grid { grid-template-columns: repeat(var(--cols), 22px); }
	.pgamo-hs button.hs-cell { width: 22px; height: 22px; font-size: 10px; }
	.pgamo-hs .hs-planner-tools select { min-width: 0; width: 100%; }
}

/* Calculator centre */
.pgamo-hs .hs-lead { text-align: center; max-width: 760px; margin: 0 auto 18px; }
.pgamo-hs .hs-pick { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 20px; }
.pgamo-hs a.hs-pick-btn { display: inline-block; padding: 10px 18px; border: 2px solid var(--hs-green); border-radius: 999px; color: var(--hs-green); background: var(--hs-paper); font-weight: 600; text-decoration: none; line-height: 1.2; }
.pgamo-hs a.hs-pick-btn:hover { background: var(--hs-green-soft); }
.pgamo-hs a.hs-pick-btn.is-active { background: var(--hs-green); color: #fff; }
.pgamo-hs a.hs-pick-btn.is-active small { color: #f3e3c4; }
.pgamo-hs .hs-calc-animal { background: var(--hs-cream); border: 1px solid var(--hs-line); border-radius: var(--hs-radius); padding: 22px 20px; margin: 0 0 30px; }
.pgamo-hs .hs-calc-animal > h3 { text-align: center; }
.pgamo-hs .hs-calc-animal .hs-tabs { flex-wrap: wrap; justify-content: center; }
.pgamo-hs .hs-calc-animal .hs-calcs { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); align-items: start; }
.pgamo-hs .hs-calc input, .pgamo-hs .hs-calc select { width: 100%; }
.pgamo-hs .hs-calc-out li strong { color: var(--hs-green); text-align: right; }
.pgamo-hs .hs-calc-no p { color: var(--hs-muted); margin: 0; }
.pgamo-hs .hs-pick-form { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 10px; margin: 0 0 20px; }
.pgamo-hs .hs-pick-form label { font-weight: 600; }
.pgamo-hs .hs-pick-form select { display: block; min-width: 240px; margin-top: 4px; }
.pgamo-hs .hs-calc-mine { text-align: center; background: var(--hs-gold-soft); border-radius: var(--hs-radius); padding: 10px 14px; }
.pgamo-hs .hs-calc-links { text-align: center; margin: 18px 0 0; }
.pgamo-hs .hs-calc-disclaimer { text-align: center; max-width: 760px; margin: 24px auto 0; }
@media (max-width: 600px) { .pgamo-hs .hs-calc-animal { padding: 16px 12px; } .pgamo-hs .hs-pick-form select { min-width: 0; width: 100%; } }
.pgamo-hs .hs-calc-animal .hs-calcs { grid-template-columns: repeat(auto-fit, minmax(min(100%, 500px), 1fr)); }
.pgamo-hs .hs-calc-animal .hs-calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 22px; align-content: start; }
.pgamo-hs .hs-calc-animal .hs-calc > h4, .pgamo-hs .hs-calc-animal .hs-calc > .hs-hint, .pgamo-hs .hs-calc-animal .hs-calc > p { grid-column: 1 / -1; }
.pgamo-hs .hs-calc-animal .hs-calc-out { background: var(--hs-cream); border-radius: 8px; padding: 6px 14px; margin: 0 0 10px; align-self: start; }
.pgamo-hs .hs-calc-animal .hs-calc-out li:last-child { border-bottom: 0; }
.pgamo-hs .hs-calc-animal .hs-calc-no { display: block; }
@media (max-width: 640px) { .pgamo-hs .hs-calc-animal .hs-calc { grid-template-columns: 1fr; } }

/* Foraging */
.pgamo-hs .hs-forage-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 8px; }
.pgamo-hs a.hs-forage-chip { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--hs-gold-soft); color: var(--hs-green); text-decoration: none; font-weight: 600; font-size: .92rem; }
.pgamo-hs a.hs-forage-chip:hover { background: var(--hs-green-soft); }
.pgamo-hs .hs-season th, .pgamo-hs .hs-season td { text-align: center; padding: 6px 4px; font-size: .85rem; }
.pgamo-hs .hs-season th[scope="row"] { text-align: left; white-space: nowrap; font-weight: 600; }
.pgamo-hs .hs-season td.on { background: var(--hs-gold); color: #fff; font-weight: 700; }
.pgamo-hs .hs-season .is-now { outline: 2px solid var(--hs-green); outline-offset: -2px; }
.pgamo-hs .hs-forage-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.pgamo-hs .hs-forage-card p { margin: 0 0 8px; text-align: left; }
.pgamo-hs .hs-forage-kind { color: var(--hs-gold-dark); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.pgamo-hs .hs-forage-warn { background: var(--hs-red-soft); border-left: 4px solid var(--hs-red); padding: 8px 10px; border-radius: 6px; color: #6e2a17; }
.pgamo-hs .hs-forage-links a { font-weight: 600; }
.pgamo-hs .hs-pick a.hs-pick-btn { padding: 7px 14px; }
.pgamo-hs .hs-guide-page { max-width: 900px; margin-left: auto; margin-right: auto; }
.pgamo-hs .hs-guide-section { margin: 0 0 16px; }
.pgamo-hs .hs-guide-section ul { margin: 0; padding-left: 20px; }
.pgamo-hs .hs-guide-section li { margin: 0 0 8px; text-align: left; }
.pgamo-hs p, .pgamo-hs li { hyphens: manual; }
.pgamo-hs .hs-lead, .pgamo-hs .hs-calc-mine, .pgamo-hs .hs-calc-disclaimer { text-align: center !important; text-align-last: center; }

/* Photos, near-me, lookups */
.pgamo-hs .hs-photo { margin: -18px -18px 12px; overflow: hidden; border-radius: var(--hs-radius) var(--hs-radius) 0 0; background: var(--hs-cream); }
.pgamo-hs .hs-photo img { display: block; width: 100%; height: 190px; object-fit: cover; }
.pgamo-hs .hs-photo figcaption { font-size: .72rem; color: var(--hs-muted); padding: 4px 10px; line-height: 1.3; }
.pgamo-hs .hs-photo-sm { margin: 0 0 8px; border-radius: 8px; max-width: 260px; }
.pgamo-hs .hs-photo-sm img { height: 150px; }
.pgamo-hs .hs-forage-sci { color: var(--hs-muted); margin-top: -6px !important; }
.pgamo-hs .hs-thumb { width: 40px; height: 40px; object-fit: cover; border-radius: 6px; vertical-align: middle; }
.pgamo-hs .hs-near { background: var(--hs-cream); border: 1px solid var(--hs-line); border-radius: var(--hs-radius); padding: 16px; margin: 0 0 24px; }
.pgamo-hs .hs-near-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; }
.pgamo-hs .hs-near-form { display: flex; gap: 8px; flex: 1 1 260px; max-width: 420px; }
.pgamo-hs .hs-near-form input { flex: 1; min-width: 0; }
.pgamo-hs .hs-near-where, .pgamo-hs .hs-near-credit { text-align: center; }
.pgamo-hs .hs-near-out { margin-top: 12px; }
.pgamo-hs .hs-near-count { font-weight: 700; color: var(--hs-green); }
.pgamo-hs .hs-toxic { border-top: 4px solid var(--hs-red); }
.pgamo-hs .hs-sub { margin: 18px 0 10px; }
.pgamo-hs .hs-sub-warn { color: var(--hs-red); }
.pgamo-hs .hs-lookup { background: var(--hs-gold-soft); border-radius: 8px; padding: 12px; margin: 0 0 12px; }
.pgamo-hs .hs-lookup-row { display: flex; gap: 8px; margin-top: 4px; }
.pgamo-hs .hs-lookup-row input { flex: 1; min-width: 0; }
.pgamo-hs .hs-lookup-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 8px; margin-top: 8px; }
.pgamo-hs button.hs-lookup-item { display: flex; gap: 10px; align-items: center; text-align: left; background: #fff; border: 1px solid var(--hs-line); border-radius: 8px; padding: 6px; color: var(--hs-ink); cursor: pointer; font-weight: 400; }
.pgamo-hs button.hs-lookup-item:hover, .pgamo-hs button.hs-lookup-item:focus { border-color: var(--hs-gold); background: var(--hs-cream); }
.pgamo-hs .hs-lookup-item img { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; flex: none; }
.pgamo-hs .hs-lookup-item em { color: var(--hs-muted); font-size: .85rem; }
.pgamo-hs .hs-lookup-picked:empty { display: none; }
.pgamo-hs .hs-lookup-picked { margin: 0 0 12px; }
.pgamo-hs .hs-months { display: flex; flex-wrap: wrap; gap: 6px 14px; border: 1px solid var(--hs-line); border-radius: 8px; padding: 8px 12px; margin: 8px 0; }
.pgamo-hs .hs-months .hs-check { margin: 0; }
.pgamo-hs .hs-grow-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 10px; }
.pgamo-hs .hs-grow { background: #fff; border: 1px solid var(--hs-line); border-left: 4px solid var(--hs-gold); border-radius: 8px; padding: 10px 12px; }
.pgamo-hs .hs-grow strong { display: block; color: var(--hs-green); }
.pgamo-hs .hs-grow span { font-size: .92rem; }
.pgamo-hs .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.pgamo-hs .hs-unit-row { display: flex; gap: 6px; margin-top: 4px; }
.pgamo-hs .hs-unit-row input { flex: 1; min-width: 0; margin: 0 !important; }
.pgamo-hs .hs-unit-row select { width: auto !important; flex: none; margin: 0 !important; }
.pgamo-hs .hs-calcs-wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); align-items: start; }
.pgamo-hs .hs-calcs-wide .hs-calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 20px; align-content: start; }
.pgamo-hs .hs-calcs-wide .hs-calc > h4, .pgamo-hs .hs-calcs-wide .hs-calc > .hs-hint { grid-column: 1 / -1; }
.pgamo-hs .hs-calcs-wide .hs-calc-out { background: var(--hs-cream); border-radius: 8px; padding: 6px 12px; align-self: start; }
@media (max-width: 640px) { .pgamo-hs .hs-calcs-wide .hs-calc { grid-template-columns: 1fr; } }

/* ---- Chores & reminders (1.6.0) ---- */
.pgamo-hs .hs-btn-sm, .pgamo-hs button.hs-btn-sm { padding: .3em .75em; font-size: .85rem; min-height: 0; }
.pgamo-hs .hs-chore-btns { display: inline-flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.pgamo-hs .hs-chore-btns form { margin: 0; display: inline; }
.pgamo-hs .hs-today li { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .75rem; }
.pgamo-hs .hs-today .hs-task-what { flex: 1 1 14rem; min-width: 0; }
.pgamo-hs .hs-tag { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; background: var(--hs-gold-soft); color: var(--hs-amber); border-radius: 999px; padding: .1em .6em; margin-right: .35em; vertical-align: middle; }
.pgamo-hs .hs-preset-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: .4rem 1rem; margin: .5rem 0 1rem; }
.pgamo-hs .hs-preset-grid label { display: flex; gap: .45rem; align-items: flex-start; font-weight: 400; }
.pgamo-hs .hs-feed code { display: block; overflow-wrap: anywhere; word-break: break-all; background: var(--hs-cream); border: 1px solid var(--hs-line); border-radius: 6px; padding: .5rem .65rem; margin: .4rem 0; font-size: .85rem; }
.pgamo-hs tr.is-muted td, .pgamo-hs .is-muted { color: var(--hs-muted); opacity: .75; }
.pgamo-hs a.hs-hub-card.hs-hub-today { border-top: 4px solid var(--hs-gold); }

/* ---- Shared household (1.7.0) ---- */
.pgamo-hs form[hidden], .pgamo-hs .hs-locked { display: none !important; }
.pgamo-hs .hs-household-bar { display: flex; flex-wrap: wrap; gap: .35rem 1rem; justify-content: space-between; align-items: center; background: var(--hs-green-soft); color: var(--hs-green-dark); border-left: 4px solid var(--hs-green); border-radius: 8px; padding: 8px 14px; margin: 0 0 14px; font-size: .95rem; }
.pgamo-hs .hs-household-bar.is-invite { background: var(--hs-gold-soft); border-left-color: var(--hs-gold); color: var(--hs-amber); }
.pgamo-hs .hs-household-bar a { font-weight: 600; white-space: nowrap; }
.pgamo-hs .hs-invite { border-top: 4px solid var(--hs-gold); }
.pgamo-hs .hs-role-form { display: inline-flex; gap: .35rem; align-items: center; flex-wrap: wrap; }
.pgamo-hs .hs-role-form select { width: auto; min-width: 8.5rem; }
.pgamo-hs .hs-role-list { margin: 0 0 .6rem; padding-left: 1.1rem; display: grid; gap: .3rem; }
.pgamo-hs .hs-hub-household { margin: -.4rem 0 1rem; }
.pgamo-hs .hs-table-wrap + .hs-card { margin-top: 1.25rem; }

/* ---- Weather, succession, weekly garden tasks (1.8.0) ---- */
.pgamo-hs .hs-wx-days { list-style: none; margin: .25rem 0 .75rem; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .4rem; }
.pgamo-hs .hs-wx-days li { display: flex; flex-direction: column; align-items: center; gap: .1rem; padding: .55rem .25rem; border: 1px solid var(--hs-line); border-radius: 8px; background: var(--hs-cream); text-align: center; min-width: 0; }
.pgamo-hs .hs-wx-days li.is-frost { border-color: #7aa3c4; background: #eef4f9; }
.pgamo-hs .hs-wx-days li.is-heat { border-color: var(--hs-red); background: var(--hs-red-soft); }
.pgamo-hs .hs-wx-day { font-weight: 600; font-size: .85rem; color: var(--hs-ink); }
.pgamo-hs .hs-wx-icon { color: var(--hs-green); }
.pgamo-hs .hs-wx-hi { font-weight: 700; font-variant-numeric: tabular-nums; }
.pgamo-hs .hs-wx-lo { color: var(--hs-muted); font-variant-numeric: tabular-nums; font-size: .9rem; }
.pgamo-hs .hs-wx-word { font-size: .72rem; color: var(--hs-muted); line-height: 1.2; overflow-wrap: anywhere; }
.pgamo-hs .hs-wx-rain { font-size: .72rem; color: #2f6690; font-variant-numeric: tabular-nums; }
.pgamo-hs .hs-wx-alerts { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: .4rem; }
.pgamo-hs .hs-wx-alerts li { padding: .5rem .75rem; border-radius: 8px; border-left: 4px solid var(--hs-gold); background: var(--hs-gold-soft); }
.pgamo-hs .hs-wx-alerts li.is-frost { border-left-color: #2f6690; background: #eef4f9; }
.pgamo-hs .hs-wx-alerts li.is-heat { border-left-color: var(--hs-red); background: var(--hs-red-soft); }
.pgamo-hs .hs-wx-alerts li span { display: block; font-size: .9rem; color: var(--hs-muted); }
.pgamo-hs .hs-hub-alert { display: block; margin-top: .3rem; font-weight: 600; color: var(--hs-red); }
@media (max-width: 640px) {
	.pgamo-hs .hs-wx-days { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.pgamo-hs .hs-wx-word { display: none; }
}
.pgamo-hs .hs-unit-row { align-items: center; }

/* ---- Bee Tracker (1.9.0) ---- */
.pgamo-hs .hs-hive-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1rem; margin: 0 0 1rem; }
.pgamo-hs .hs-hive-grid .hs-card { margin: 0; }
.pgamo-hs .hs-dl { display: grid; grid-template-columns: auto 1fr; gap: .25rem .75rem; margin: .5rem 0; font-size: .92rem; }
.pgamo-hs .hs-dl dt { color: var(--hs-muted); }
.pgamo-hs .hs-dl dd { margin: 0; min-width: 0; }
.pgamo-hs .hs-mite { display: inline-block; padding: .05em .55em; border-radius: 999px; font-weight: 700; font-variant-numeric: tabular-nums; background: var(--hs-green-soft); color: var(--hs-green-dark); }
.pgamo-hs .hs-mite.is-watch { background: var(--hs-gold-soft); color: var(--hs-amber); }
.pgamo-hs .hs-mite.is-treat { background: var(--hs-red-soft); color: var(--hs-red); }
.pgamo-hs .hs-checks { border: 1px solid var(--hs-line); border-radius: 8px; padding: .5rem .85rem .7rem; margin: .5rem 0 .8rem; display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; }
.pgamo-hs .hs-checks legend { font-weight: 600; padding: 0 .3rem; }

/* ---- Inventory & freezer (1.10.0) ---- */
.pgamo-hs .hs-stock { font-size: .88rem; color: var(--hs-muted); }
.pgamo-hs .hs-stock.is-low { color: var(--hs-red); font-weight: 600; }
.pgamo-hs .hs-inv-quick { list-style: none; margin: 0; padding: 0; }
.pgamo-hs .hs-inv-quick li { display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center; justify-content: space-between; padding: .6rem 0; border-bottom: 1px solid var(--hs-line); }
.pgamo-hs .hs-inv-name { display: flex; flex-direction: column; min-width: 0; flex: 1 1 14rem; }
.pgamo-hs .hs-inv-move { display: inline-flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.pgamo-hs .hs-inv-move select, .pgamo-hs .hs-inv-move input[type=number] { width: auto; min-width: 0; max-width: 9.5rem; margin: 0; }
.pgamo-hs .hs-inv-move .hs-check { margin: 0; font-size: .85rem; }
.pgamo-hs .hs-n { width: 4.2rem !important; margin: 0 !important; }
.pgamo-hs .hs-inv-sug { margin-top: 1rem; padding-top: .6rem; border-top: 1px dashed var(--hs-line); }
.pgamo-hs .hs-inv-sug ul { margin: .2rem 0 .4rem 1.1rem; }
.pgamo-hs .hs-small-link { font-size: .82rem; }

/* ---- Photos, year in review, goals (1.11.0) ---- */
.pgamo-hs .hs-photo-grid { list-style: none; margin: .5rem 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: .75rem; }
.pgamo-hs .hs-photo-grid li { display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.pgamo-hs .hs-photo-grid img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; display: block; background: var(--hs-cream); }
.pgamo-hs .hs-photo-cap { font-size: .85rem; line-height: 1.35; overflow-wrap: anywhere; }
.pgamo-hs .hs-photo-month { margin: 1rem 0 0; }
.pgamo-hs .hs-hive-cover { width: 100%; max-width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; margin: 0 0 .6rem; display: block; }
.pgamo-hs .hs-subtabs { margin-bottom: 1rem; }
.pgamo-hs .hs-ychart { width: 100%; height: auto; display: block; overflow: visible; }
.pgamo-hs .hs-ychart text { font-size: 11px; fill: var(--hs-muted); }
.pgamo-hs .hs-ychart .hs-grid-line { stroke: var(--hs-line); stroke-width: 1; }
.pgamo-hs .hs-series polyline { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.pgamo-hs .hs-series.is-now polyline { stroke: var(--hs-green); stroke-width: 3; }
.pgamo-hs .hs-series.is-now circle { fill: var(--hs-green); }
.pgamo-hs .hs-series.is-last polyline { stroke: var(--hs-gold); }
.pgamo-hs .hs-series.is-last circle { fill: var(--hs-gold); }
.pgamo-hs .hs-series.is-before polyline { stroke: #9a8f8c; stroke-dasharray: 4 3; }
.pgamo-hs .hs-series.is-before circle { fill: #9a8f8c; }
.pgamo-hs .hs-ylegend { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin: .2rem 0 .5rem; padding: 0; font-size: .85rem; }
.pgamo-hs .hs-ylegend span { display: inline-block; width: 1.4rem; height: 3px; vertical-align: middle; margin-right: .35rem; border-radius: 2px; }
.pgamo-hs .hs-ylegend .is-now span { background: var(--hs-green); height: 4px; }
.pgamo-hs .hs-ylegend .is-last span { background: var(--hs-gold); }
.pgamo-hs .hs-ylegend .is-before span { background: #9a8f8c; }
.pgamo-hs .hs-goal-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.pgamo-hs .hs-goal-list .hs-card { margin: 0; }
.pgamo-hs .hs-goal-head { display: flex; justify-content: space-between; gap: .5rem; align-items: baseline; flex-wrap: wrap; }
.pgamo-hs .hs-goal-state { font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--hs-muted); }
.pgamo-hs .hs-goal.is-on .hs-goal-state { color: var(--hs-green); }
.pgamo-hs .hs-goal.is-behind .hs-goal-state { color: var(--hs-red); }
.pgamo-hs .hs-goal-bar { position: relative; height: 12px; background: var(--hs-cream); border: 1px solid var(--hs-line); border-radius: 999px; overflow: visible; margin: .5rem 0; }
.pgamo-hs .hs-goal-bar span { display: block; height: 100%; background: var(--hs-gold); border-radius: 999px; }
.pgamo-hs .hs-goal.is-on .hs-goal-bar span { background: var(--hs-green); }
.pgamo-hs .hs-goal-bar i { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--hs-ink); }
.pgamo-hs .hs-goal-nums { margin: 0 0 .4rem; font-variant-numeric: tabular-nums; }
.pgamo-hs .hs-goal-update { display: inline-flex; gap: .4rem; align-items: center; flex-wrap: wrap; margin-right: .5rem; }
.pgamo-hs .hs-goal-update input { width: 7rem; margin: 0; }
.pgamo-hs .hs-pos { color: var(--hs-green); }

/* ---- Orchard & pasture (1.12.0) ---- */
.pgamo-hs .hs-pad-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 1rem; margin: 0 0 1rem; }
.pgamo-hs .hs-pad-grid .hs-card { margin: 0; border-top: 4px solid var(--hs-line); }
.pgamo-hs .hs-pad.is-grazing { border-top-color: var(--hs-green); }
.pgamo-hs .hs-pad.is-resting { border-top-color: var(--hs-gold); }
.pgamo-hs .hs-pad.is-ready { border-top-color: #4f7a3a; }
.pgamo-hs .hs-pad-state { font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--hs-muted); }
.pgamo-hs .hs-pad.is-grazing .hs-pad-state { color: var(--hs-green); }
.pgamo-hs .hs-pad.is-ready .hs-pad-state { color: #4f7a3a; }
.pgamo-hs .hs-rest-bar { display: block; height: 8px; margin-top: .4rem; background: var(--hs-cream); border: 1px solid var(--hs-line); border-radius: 999px; overflow: hidden; }
.pgamo-hs .hs-rest-bar span { display: block; height: 100%; background: var(--hs-gold); }
.pgamo-hs .hs-pad.is-ready .hs-rest-bar span { background: #4f7a3a; }

/* ---- Recipe box & preparedness (1.13.0) ---- */
.pgamo-hs .hs-recipe-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1rem; margin: 0 0 1rem; }
.pgamo-hs .hs-recipe-grid .hs-card { margin: 0; }
.pgamo-hs .hs-recipe-card { display: flex; flex-direction: column; gap: .25rem; color: inherit; text-decoration: none; min-width: 0; }
.pgamo-hs a.hs-recipe-card:hover { border-color: var(--hs-green); }
.pgamo-hs .hs-recipe-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; margin-bottom: .4rem; max-width: 100%; }
.pgamo-hs .hs-recipe-card summary { display: flex; flex-direction: column; gap: .25rem; cursor: pointer; list-style: none; }
.pgamo-hs .hs-recipe-card summary::-webkit-details-marker { display: none; }
.pgamo-hs details.hs-recipe-card[open] summary { margin-bottom: .6rem; padding-bottom: .6rem; border-bottom: 1px solid var(--hs-line); }
.pgamo-hs .hs-recipe-cols { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 1.5rem; margin-top: .75rem; }
@media (max-width: 720px) { .pgamo-hs .hs-recipe-cols { grid-template-columns: 1fr; } }
.pgamo-hs .hs-ingredients { margin: 0 0 1rem; padding-left: 1.1rem; }
.pgamo-hs .hs-ingredients li { margin: 0 0 .45rem; }
.pgamo-hs .hs-pantry-chip { display: block; width: fit-content; max-width: 100%; margin-top: .2rem; padding: .1rem .55rem; font-size: .8rem; color: var(--hs-green); background: var(--hs-cream); border: 1px solid var(--hs-line); border-radius: 999px; }
.pgamo-hs .hs-steps { margin: 0 0 1rem; padding-left: 1.3rem; }
.pgamo-hs .hs-steps li { margin: 0 0 .6rem; line-height: 1.55; }
.pgamo-hs .hs-cook-use { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .4rem; }
.pgamo-hs .hs-cook-use input.hs-n { width: 5rem; margin: 0 .35rem 0 0; display: inline-block; }
.pgamo-hs .hs-checklist { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: .4rem 1.25rem; }
.pgamo-hs .hs-checklist .hs-check { display: flex; gap: .5rem; align-items: flex-start; font-weight: 400; }
.pgamo-hs .hs-checklist input { margin-top: .25rem; width: auto; }

/* ---- Equipment & woodlot (1.14.0) ---- */
.pgamo-hs .hs-equip-due tr.is-overdue td { background: rgba(160, 50, 40, .06); }
.pgamo-hs .hs-equip-due .hs-due-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: .45rem; background: var(--hs-line); vertical-align: middle; }
.pgamo-hs .hs-equip-due tr.is-overdue .hs-due-dot { background: var(--hs-red); }
.pgamo-hs .hs-equip-due tr.is-soon .hs-due-dot { background: var(--hs-gold); }
.pgamo-hs .hs-due-state { font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .72rem; color: var(--hs-muted); }
.pgamo-hs tr.is-overdue .hs-due-state { color: var(--hs-red); }
.pgamo-hs .hs-equip-grid, .pgamo-hs .hs-wood-grid, .pgamo-hs .hs-equip-guide { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1rem; margin: 0 0 1rem; }
.pgamo-hs .hs-equip-grid .hs-card, .pgamo-hs .hs-wood-grid .hs-card, .pgamo-hs .hs-equip-guide .hs-card { margin: 0; min-width: 0; }
.pgamo-hs .hs-equip { border-top: 4px solid #4f7a3a; }
.pgamo-hs .hs-equip.is-soon { border-top-color: var(--hs-gold); }
.pgamo-hs .hs-equip.is-overdue { border-top-color: var(--hs-red); }
.pgamo-hs .hs-equip h4 { margin: .2rem 0; }
.pgamo-hs .hs-equip-state { font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #4f7a3a; margin: .25rem 0 .5rem; }
.pgamo-hs .hs-equip.is-soon .hs-equip-state { color: var(--hs-gold); }
.pgamo-hs .hs-equip.is-overdue .hs-equip-state { color: var(--hs-red); }
.pgamo-hs .hs-equip-guide ul { margin: 0; padding-left: 1.1rem; }
.pgamo-hs .hs-equip-guide li { margin: 0 0 .35rem; }
.pgamo-hs a.hs-hub-card.is-alert { border-top: 4px solid var(--hs-red); }
.pgamo-hs .hs-wood { display: flex; flex-direction: column; gap: .2rem; border-top: 4px solid var(--hs-line); }
.pgamo-hs .hs-wood strong { font-family: var(--hs-serif); font-size: 1.4rem; color: var(--hs-ink); }
.pgamo-hs .hs-wood.is-ready { border-top-color: #4f7a3a; }
.pgamo-hs .hs-wood.is-seasoning { border-top-color: var(--hs-gold); }
.pgamo-hs .hs-wood.is-green { border-top-color: #8a9a5b; }
.pgamo-hs .hs-wood-state { font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--hs-muted); }
.pgamo-hs .hs-wood.is-ready .hs-wood-state { color: #4f7a3a; }
.pgamo-hs .hs-wood small { color: var(--hs-muted); }
.pgamo-hs .hs-wood-bar { display: flex; height: 18px; background: var(--hs-cream); border: 1px solid var(--hs-line); border-radius: 999px; overflow: hidden; margin: .5rem 0; }
.pgamo-hs .hs-wood-bar span { display: block; height: 100%; }
.pgamo-hs .hs-wood-bar .is-ready, .pgamo-hs .hs-wood-legend .is-ready { background: #4f7a3a; }
.pgamo-hs .hs-wood-bar .is-seasoning, .pgamo-hs .hs-wood-legend .is-seasoning { background: var(--hs-gold); }
.pgamo-hs .hs-wood-legend { display: flex; flex-wrap: wrap; gap: .35rem 1rem; align-items: center; font-size: .9rem; font-variant-numeric: tabular-nums; margin: 0; }
.pgamo-hs .hs-wood-legend span { display: inline-block; width: 12px; height: 12px; border-radius: 3px; background: var(--hs-cream); border: 1px solid var(--hs-line); margin-right: -.6rem; }
.pgamo-hs .hs-wood-check { display: inline-flex; gap: .35rem; align-items: center; }
.pgamo-hs .hs-wood-check input { width: 5rem; margin: 0; }
.pgamo-hs .hs-by { color: var(--hs-muted); }
.pgamo-hs .hs-inline-form { display: flex; gap: .5rem; align-items: flex-end; flex-wrap: wrap; }

/* ---- Kids & 4-H projects, seasonal devotions (1.15.0) ---- */
.pgamo-hs .hs-devotion { margin: 0 0 1.25rem; padding: 1.1rem 1.25rem; background: var(--hs-cream); border: 1px solid var(--hs-line); border-left: 4px solid var(--hs-gold); border-radius: 10px; }
.pgamo-hs .hs-devotion h4 { margin: .2rem 0 .5rem; font-family: var(--hs-serif); font-size: 1.3rem; text-wrap: balance; }
.pgamo-hs .hs-devotion blockquote, .pgamo-hs .hs-devotion-item blockquote { margin: 0 0 .65rem; padding: 0 0 0 .9rem; border-left: 2px solid var(--hs-line); font-family: var(--hs-serif); font-style: italic; max-width: 65ch; }
.pgamo-hs .hs-devotion blockquote p, .pgamo-hs .hs-devotion-item blockquote p { margin: 0 0 .25rem; }
.pgamo-hs .hs-devotion cite, .pgamo-hs .hs-devotion-item cite { font-style: normal; font-size: .85rem; color: var(--hs-muted); }
.pgamo-hs .hs-devotion > p, .pgamo-hs .hs-devotion-item > p { max-width: 65ch; }
.pgamo-hs .hs-devotion-week { margin-bottom: .4rem; }
.pgamo-hs .hs-devotion-more { font-weight: 700; color: var(--hs-green); }
.pgamo-hs .hs-devotion-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: 1rem; margin: 0 0 1.25rem; align-items: start; }
.pgamo-hs .hs-devotion-list .hs-card { margin: 0; min-width: 0; }
.pgamo-hs .hs-devotion-item summary { display: flex; flex-direction: column; gap: .15rem; cursor: pointer; }
.pgamo-hs .hs-devotion-item[open] summary { margin-bottom: .6rem; }
.pgamo-hs .hs-devotion-item.is-now { border-left: 4px solid var(--hs-gold); }
.pgamo-hs .hs-kid-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1rem; margin: 0 0 1.25rem; }
.pgamo-hs a.hs-kid { display: flex; flex-direction: column; gap: .25rem; margin: 0; color: inherit; text-decoration: none; border-top: 4px solid var(--hs-green); min-width: 0; }
.pgamo-hs a.hs-kid:hover { border-color: var(--hs-gold); }
.pgamo-hs a.hs-kid.is-done { border-top-color: var(--hs-line); }
.pgamo-hs .hs-kid strong { font-family: var(--hs-serif); font-size: 1.25rem; color: var(--hs-ink); }
.pgamo-hs .hs-kid-nums { font-variant-numeric: tabular-nums; color: var(--hs-muted); font-size: .9rem; }
.pgamo-hs .hs-kid-state { font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--hs-green); margin-top: .25rem; }
.pgamo-hs .hs-kid-head h3 { margin: .2rem 0; }
.pgamo-hs [data-hs-kid-for][hidden] { display: none !important; }
/* Record book: a clean page on screen, and only the book when printed. */
.pgamo-hs .hs-book { max-width: 50rem; margin: 0 auto 2rem; padding: 2rem 2.25rem; background: #fff; color: #222; border: 1px solid var(--hs-line); border-radius: 6px; font-size: 1rem; line-height: 1.5; }
.pgamo-hs .hs-book h2 { margin: .2rem 0 1rem; font-family: var(--hs-serif); font-size: 1.9rem; color: #222; text-wrap: balance; }
.pgamo-hs .hs-book h3 { margin: 1.5rem 0 .5rem; padding-bottom: .25rem; border-bottom: 2px solid #222; font-family: var(--hs-serif); font-size: 1.2rem; color: #222; }
.pgamo-hs .hs-book-kicker { margin: 0; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #555; }
.pgamo-hs .hs-book-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: .5rem 1.25rem; margin: 0; }
.pgamo-hs .hs-book-facts dt { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #555; }
.pgamo-hs .hs-book-facts dd { margin: 0; }
.pgamo-hs .hs-book-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: .92rem; }
.pgamo-hs .hs-book-table th, .pgamo-hs .hs-book-table td { padding: .35rem .5rem; border-bottom: 1px solid #ccc; text-align: left; vertical-align: top; }
.pgamo-hs .hs-book-table .hs-r { text-align: right; }
.pgamo-hs .hs-book-table tfoot th { border-top: 2px solid #222; border-bottom: 0; }
.pgamo-hs .hs-book-small { font-size: .88rem; color: #444; }
.pgamo-hs .hs-book-lines { height: 8rem; background: repeating-linear-gradient(transparent, transparent 1.9rem, #bbb 1.9rem, #bbb 2rem); }
.pgamo-hs .hs-book-sign { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.5rem; font-size: .85rem; color: #444; }
.pgamo-hs .hs-book-sign span { display: block; height: 2.2rem; border-bottom: 1px solid #222; margin-bottom: .25rem; }
@media (max-width: 600px) { .pgamo-hs .hs-book { padding: 1.25rem 1rem; } .pgamo-hs .hs-book-sign { grid-template-columns: 1fr; } .pgamo-hs .hs-book .hs-book-table { display: block; overflow-x: auto; } }
@media print {
	body * { visibility: hidden !important; }
	.pgamo-hs .hs-book, .pgamo-hs .hs-book * { visibility: visible !important; }
	.pgamo-hs .hs-book { position: absolute; left: 0; top: 0; width: 100%; max-width: none; margin: 0; padding: 0; border: 0; }
	.pgamo-hs .hs-book section { break-inside: avoid; }
	.hs-noprint { display: none !important; }
}

/* ---- Trading Post & Seed Swap (1.16.0) ---- */
.pgamo-hs .hs-tp-filter .hs-grid { margin-bottom: .5rem; }
.pgamo-hs .hs-tp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 1rem; margin: 0 0 1.25rem; align-items: start; }
.pgamo-hs a.hs-tp-card { position: relative; display: flex; flex-direction: column; gap: .2rem; margin: 0; padding-top: .75rem; color: inherit; text-decoration: none; min-width: 0; }
.pgamo-hs a.hs-tp-card:hover { border-color: var(--hs-green); }
.pgamo-hs .hs-tp-card img, .pgamo-hs .hs-tp-nophoto { display: block; width: 100%; aspect-ratio: 4 / 3; max-width: 100%; object-fit: cover; border-radius: 8px; margin-bottom: .45rem; background: var(--hs-cream); }
.pgamo-hs .hs-tp-nophoto { display: grid; place-items: center; font-family: var(--hs-serif); font-size: 2.6rem; color: var(--hs-line); border: 1px solid var(--hs-line); }
.pgamo-hs .hs-tp-badge { position: absolute; top: 1.15rem; left: 1.15rem; padding: .1rem .55rem; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--hs-green); color: #fff; }
.pgamo-hs .hs-tp-card.is-trade .hs-tp-badge { background: var(--hs-gold); }
.pgamo-hs .hs-tp-card.is-free .hs-tp-badge { background: #4f7a3a; }
.pgamo-hs .hs-tp-card.is-want .hs-tp-badge { background: var(--hs-ink); }
.pgamo-hs .hs-tp-card strong { font-family: var(--hs-serif); font-size: 1.12rem; line-height: 1.3; color: var(--hs-ink); overflow-wrap: anywhere; }
.pgamo-hs .hs-tp-price { font-weight: 700; color: var(--hs-green); font-variant-numeric: tabular-nums; }
.pgamo-hs .hs-tp-price-lg { font-size: 1.4rem; margin: .1rem 0 .75rem; }
.pgamo-hs .hs-tp-meta { font-size: .85rem; color: var(--hs-muted); }
.pgamo-hs .hs-tp-view h3 { margin: .2rem 0; font-size: 1.6rem; text-wrap: balance; overflow-wrap: anywhere; }
.pgamo-hs .hs-tp-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: .5rem 1.25rem; margin: .75rem 0; }
.pgamo-hs .hs-tp-facts dt { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--hs-muted); }
.pgamo-hs .hs-tp-facts dd { margin: 0; overflow-wrap: anywhere; }
.pgamo-hs .hs-tp-desc { max-width: 65ch; overflow-wrap: anywhere; }
.pgamo-hs .hs-tp-contact { margin: 1rem 0 0; }
.pgamo-hs .hs-tp-photos { margin: 0 0 .75rem; }
.pgamo-hs .hs-tp-review.is-held { border-left: 4px solid var(--hs-red); }
.pgamo-hs .hs-tp-report summary { color: var(--hs-muted); font-size: .92rem; }

/* ---- Homestead School: courses, challenges, live Q&A (1.17.0) ---- */
.pgamo-hs .hs-course-grid, .pgamo-hs .hs-challenge-grid, .pgamo-hs .hs-event-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1rem; margin: 0 0 1.25rem; align-items: start; }
.pgamo-hs a.hs-course { display: flex; flex-direction: column; gap: .3rem; margin: 0; color: inherit; text-decoration: none; border-top: 4px solid var(--hs-gold); min-width: 0; }
.pgamo-hs a.hs-course:hover { border-color: var(--hs-green); }
.pgamo-hs .hs-course img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; max-width: 100%; }
.pgamo-hs .hs-course strong { font-family: var(--hs-serif); font-size: 1.3rem; color: var(--hs-ink); }
.pgamo-hs .hs-course span { color: var(--hs-muted); }
.pgamo-hs .hs-course .hs-hub-go { color: var(--hs-green); font-weight: 700; }
.pgamo-hs .hs-course-state { font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--hs-gold) !important; }
.pgamo-hs .hs-course-state.is-done { color: #4f7a3a !important; }
.pgamo-hs .hs-challenge, .pgamo-hs .hs-event { margin: 0; min-width: 0; border-top: 4px solid var(--hs-line); }
.pgamo-hs .hs-challenge.is-now { border-top-color: var(--hs-gold); }
.pgamo-hs .hs-challenge.is-done { border-top-color: #4f7a3a; }
.pgamo-hs .hs-challenge.is-over { opacity: .8; }
.pgamo-hs .hs-challenge h4, .pgamo-hs .hs-event h4 { margin: .2rem 0 .4rem; }
.pgamo-hs .hs-challenge .hs-goal-bar span { background: var(--hs-gold); }
.pgamo-hs .hs-challenge.is-done .hs-goal-bar span { background: #4f7a3a; }
.pgamo-hs .hs-challenge-join, .pgamo-hs .hs-challenge-board { margin-top: .6rem; }
.pgamo-hs .hs-challenge-join summary, .pgamo-hs .hs-challenge-board summary { cursor: pointer; font-weight: 700; color: var(--hs-green); }
.pgamo-hs .hs-challenge-board ol { margin: .5rem 0 0; padding-left: 1.3rem; }
.pgamo-hs .hs-challenge-board li span { display: inline-block; min-width: 0; margin-right: .4rem; }
.pgamo-hs .hs-challenge-board li strong { font-variant-numeric: tabular-nums; }
.pgamo-hs .hs-challenge-go { margin: .5rem 0 0; font-weight: 700; }
.pgamo-hs .hs-event.is-live { border-top-color: var(--hs-red); }
.pgamo-hs .hs-event.is-live .hs-hub-kicker { color: var(--hs-red); }

/* ---- Install to phone (1.18.0) ---- */
.pgamo-hs .hs-install { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin: 0 0 1.25rem; padding: .9rem 1rem; background: var(--hs-paper); border: 1px solid var(--hs-line); border-left: 4px solid var(--hs-green); border-radius: var(--hs-radius); box-shadow: var(--hs-shadow); }
.pgamo-hs .hs-install[hidden] { display: none; }
.pgamo-hs .hs-install img { width: 56px; height: 56px; border-radius: 13px; flex: none; }
.pgamo-hs .hs-install-text { flex: 1 1 14rem; min-width: 0; display: flex; flex-direction: column; gap: .2rem; }
.pgamo-hs .hs-install-text strong { font-family: var(--hs-serif); font-size: 1.12rem; color: var(--hs-ink); }
.pgamo-hs .hs-install-text span { color: var(--hs-muted); }
.pgamo-hs .hs-install-btns { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.pgamo-hs .hs-share-ico { display: inline-block; vertical-align: -2px; color: var(--hs-ink); }

/* ---- Homeschool K–12 (1.19.0) ---- */
.pgamo-hs .hs-hsc-student { margin: 0; min-width: 0; border-top: 4px solid var(--hs-gold); }
.pgamo-hs .hs-hsc-student h4 { margin: .2rem 0 .3rem; }
.pgamo-hs .hs-hsc-student h5 { margin: 1rem 0 .3rem; color: var(--hs-green); }
.pgamo-hs .hs-hsc-weekbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; margin: 0 0 .5rem; }
.pgamo-hs .hs-hsc-weekbar strong { font-family: var(--hs-serif); font-size: 1.15rem; color: var(--hs-green); }
.pgamo-hs .hs-hsc-week { display: grid; grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr)); gap: .75rem; margin: 0 0 1.25rem; align-items: start; }
.pgamo-hs .hs-hsc-day { background: var(--hs-paper); border-radius: var(--hs-radius); box-shadow: var(--hs-shadow); padding: .75rem; min-width: 0; border-top: 3px solid var(--hs-line); }
.pgamo-hs .hs-hsc-day.is-today { border-top-color: var(--hs-gold); background: var(--hs-cream); }
.pgamo-hs .hs-hsc-day h4 { font-size: 1.05rem; margin: 0 0 .5rem; }
.pgamo-hs .hs-hsc-day h4 small { font-family: inherit; font-weight: 400; }
.pgamo-hs .hs-hsc-lesson { display: flex; flex-direction: column; gap: .2rem; padding: .55rem 0; border-top: 1px solid var(--hs-line); min-width: 0; }
.pgamo-hs .hs-hsc-lesson strong { overflow-wrap: anywhere; }
.pgamo-hs .hs-hsc-lesson.is-done strong { text-decoration: line-through; text-decoration-color: var(--hs-gold); color: var(--hs-muted); }
.pgamo-hs .hs-hsc-lesson details summary { cursor: pointer; font-size: .88rem; color: var(--hs-green); }
.pgamo-hs .hs-hsc-lesson details p { margin: .3rem 0 0; font-size: .9rem; }
.pgamo-hs .hs-hsc-subj { align-self: flex-start; font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: .1rem .45rem; border-radius: 999px; background: var(--hs-gold-soft); color: var(--hs-amber); }
.pgamo-hs .hs-subj-math { background: #e5eef7; color: #24527a; }
.pgamo-hs .hs-subj-science { background: #e7f1e2; color: #3d6a2c; }
.pgamo-hs .hs-subj-english { background: #f3e6f0; color: #7a2d64; }
.pgamo-hs .hs-subj-history { background: #f6e9dc; color: #7a4a1c; }
.pgamo-hs .hs-subj-bible { background: var(--hs-green-soft); color: var(--hs-green); }
.pgamo-hs .hs-hsc-acts { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; }
.pgamo-hs .hs-hsc-done { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .4rem; }
.pgamo-hs .hs-hsc-score { display: flex; flex-direction: column; font-size: .78rem; color: var(--hs-muted); }
.pgamo-hs .hs-hsc-score input { width: 5.5rem; min-height: 2.25rem; }
.pgamo-hs .hs-hsc-days { border: 1px solid var(--hs-line); border-radius: 8px; padding: .5rem .75rem; display: flex; flex-wrap: wrap; gap: .4rem .9rem; align-items: center; margin: 0; }
.pgamo-hs .hs-hsc-days legend { font-weight: 600; padding: 0 .3rem; }
.pgamo-hs .hs-hsc-days .hs-check { display: inline-flex; align-items: center; gap: .3rem; }
.pgamo-hs .hs-hsc-weeks { display: inline-flex; align-items: center; gap: .35rem; }
.pgamo-hs .hs-hsc-weeks input { width: 4.5rem; }
.pgamo-hs .hs-hsc-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.pgamo-hs .hs-hsc-bars li { display: grid; grid-template-columns: minmax(8rem, 14rem) minmax(0, 1fr) 3.5rem; gap: .6rem; align-items: center; }
.pgamo-hs .hs-hsc-bar { height: .7rem; background: var(--hs-cream); border-radius: 999px; overflow: hidden; }
.pgamo-hs .hs-hsc-bar i { display: block; height: 100%; background: var(--hs-gold); border-radius: 999px; }
.pgamo-hs .hs-hsc-forms { display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: 1rem; align-items: start; }
.pgamo-hs .hs-hsc-forms .hs-card { margin: 0; min-width: 0; }
.pgamo-hs .hs-hsc-dl { display: grid; gap: .5rem; margin: .5rem 0; }
.pgamo-hs .hs-hsc-dl div { display: grid; grid-template-columns: minmax(8rem, 12rem) minmax(0, 1fr); gap: .75rem; }
.pgamo-hs .hs-hsc-dl dt { font-weight: 700; color: var(--hs-green); }
.pgamo-hs .hs-hsc-dl dd { margin: 0; }
.pgamo-hs .hs-hsc-band summary .hs-hint { display: block; font-family: inherit; font-weight: 400; font-size: .92rem; }
.pgamo-hs .hs-hsc-units { display: grid; grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); gap: 1rem; align-items: start; }
.pgamo-hs .hs-hsc-unit { margin: 0; min-width: 0; border-top: 4px solid var(--hs-gold); }
.pgamo-hs .hs-hsc-unit summary { display: flex; flex-direction: column; gap: .2rem; }
.pgamo-hs .hs-hsc-unit summary strong { font-size: 1.2rem; }
.pgamo-hs .hs-hsc-unit summary > span:last-child { font-family: inherit; font-weight: 400; font-size: .95rem; color: var(--hs-muted); }
.pgamo-hs .hs-hsc-unit ol li { margin-bottom: .4rem; }
.pgamo-hs .hs-hsc-levels { font-size: .92rem; color: var(--hs-muted); }
.pgamo-hs .hs-inline-edit { text-align: left; }
.pgamo-hs .hs-inline-edit summary { cursor: pointer; color: var(--hs-green); font-weight: 600; }
.pgamo-hs .hs-inline-edit[open] { min-width: min(30rem, 80vw); }
.pgamo-hs .hs-hsc-books li { margin-bottom: .2rem; }
.pgamo-hs .hs-transcript-years { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1rem 1.5rem; }
@media (max-width: 520px) {
	.pgamo-hs .hs-hsc-bars li { grid-template-columns: minmax(0, 1fr) 3.5rem; }
	.pgamo-hs .hs-hsc-bars .hs-hsc-bar { grid-column: 1 / -1; grid-row: 2; }
	.pgamo-hs .hs-hsc-dl div { grid-template-columns: 1fr; gap: .1rem; }
}
@media print {
	.pgamo-hs .hs-transcript-years { grid-template-columns: 1fr 1fr; }
	.pgamo-hs .hs-transcript section { break-inside: avoid; }
}
.pgamo-hs .hs-form .hs-hsc-days label, .pgamo-hs .hs-form .hs-hsc-days label.hs-check { display: inline-flex; flex-direction: row; align-items: center; gap: .35rem; margin: 0; font-weight: 400; }
.pgamo-hs .hs-form .hs-hsc-days label > input[type="number"] { display: inline-block; width: 4.5rem; margin: 0; }
.pgamo-hs .hs-form .hs-hsc-days label.hs-check { min-height: 2.25rem; align-self: center; }

/* ---- Self-reliance (1.20.0) ---- */
.pgamo-hs tr.is-late td { background: var(--hs-red-soft); }
.pgamo-hs tr.is-past td { color: var(--hs-muted); }
.pgamo-hs .hs-ferm-grid, .pgamo-hs .hs-trap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1rem; margin: 0 0 1.25rem; align-items: start; }
.pgamo-hs .hs-ferm, .pgamo-hs .hs-trap { margin: 0; min-width: 0; border-top: 4px solid var(--hs-line); }
.pgamo-hs .hs-ferm.is-ready { border-top-color: #4f7a3a; }
.pgamo-hs .hs-trap.is-due { border-top-color: var(--hs-gold); background: var(--hs-cream); }
.pgamo-hs .hs-ferm h4, .pgamo-hs .hs-trap h4 { margin: .2rem 0 .4rem; }
.pgamo-hs .hs-ferm-done, .pgamo-hs .hs-trap-form { display: grid; gap: .5rem; margin-top: .5rem; }
.pgamo-hs .hs-cellar-use { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.pgamo-hs .hs-cellar-use input[type="number"] { width: 5rem; min-height: 2.25rem; margin: 0; }
.pgamo-hs .hs-section-title small { font-family: inherit; font-weight: 400; font-size: .9rem; color: var(--hs-muted); }

/* ---- Composting (1.21.0) ---- */
.pgamo-hs .hs-compost-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1rem; margin: 0 0 1.25rem; align-items: start; }
.pgamo-hs a.hs-compost { display: flex; flex-direction: column; gap: .3rem; margin: 0; color: inherit; text-decoration: none; min-width: 0; border-top: 4px solid var(--hs-line); }
.pgamo-hs a.hs-compost strong { font-family: var(--hs-serif); font-size: 1.25rem; color: var(--hs-ink); }
.pgamo-hs a.hs-compost.is-building { border-top-color: var(--hs-gold); }
.pgamo-hs a.hs-compost.is-cooking { border-top-color: #b4532a; }
.pgamo-hs a.hs-compost.is-ready { border-top-color: #4f7a3a; }
.pgamo-hs .hs-compost-forms { display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: 1rem; align-items: start; }
.pgamo-hs .hs-compost-forms .hs-card { margin: 0; min-width: 0; }
.pgamo-hs .hs-compost-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: .6rem; }

/* Farm Stand & customers (1.22.0) */
.pgamo-hs .hs-fs-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 8px 12px; padding: 10px 0; border-top: 1px dashed var(--hs-line); margin-bottom: 4px; }
.pgamo-hs .hs-fs-row label { min-width: 0; }
.pgamo-hs .hs-fs-row select { max-width: 100%; }
.pgamo-hs tr.hs-muted td { opacity: .6; }
.pgamo-hs .hs-fs-contact { font-size: 1.05rem; margin: .25rem 0; overflow-wrap: anywhere; }
.pgamo-hs .hs-fs-link { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pgamo-hs .hs-fs-link input { flex: 1 1 16rem; min-width: 0; }
.pgamo-hs .hs-fs-live { border-left: 4px solid #4f7a3a; }
.pgamo-hs details.hs-fs-edit { text-align: left; }
.pgamo-hs details.hs-fs-edit[open] { min-width: min(30rem, 80vw); }
.pgamo-hs details.hs-fs-edit summary { cursor: pointer; color: var(--hs-green); font-weight: 600; }
.pgamo-hs .hs-fs-stands { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1rem; margin: 0 0 1.25rem; }
.pgamo-hs a.hs-fs-standcard { display: flex; flex-direction: column; gap: .3rem; margin: 0; color: inherit; text-decoration: none; min-width: 0; border-top: 4px solid var(--hs-gold); }
.pgamo-hs a.hs-fs-standcard strong { font-family: var(--hs-serif); font-size: 1.3rem; color: var(--hs-ink); }
.pgamo-hs .hs-fs-filter { display: flex; gap: 10px; align-items: end; margin: 0 0 1rem; max-width: 22rem; }
.pgamo-hs .hs-fs-filter label { flex: 1; }
.pgamo-hs ul.hs-fs-prods { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: 10px; }
.pgamo-hs ul.hs-fs-prods li { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; background: #fff; border: 1px solid var(--hs-line); border-radius: 10px; padding: 12px 14px; }
.pgamo-hs .hs-fs-prod-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 14rem; }
.pgamo-hs .hs-fs-prod-text strong { font-size: 1.1rem; }
.pgamo-hs .hs-fs-price { font-weight: 700; color: var(--hs-green); font-variant-numeric: tabular-nums; }
.pgamo-hs .hs-form label.hs-fs-qty { flex: 0 0 9rem; font-size: .85rem; }
.pgamo-hs .hs-fs-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pgamo-hs .hs-backup { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; margin-top: 1.25rem; }
.pgamo-hs .hs-backup > div { flex: 1 1 18rem; min-width: 0; }
.pgamo-hs .hs-backup h4 { margin: 0 0 .25rem; }
@media (max-width: 640px) {
	.pgamo-hs table.hs-fs-ptable thead { display: none; }
	.pgamo-hs table.hs-fs-ptable tr { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--hs-line); }
	.pgamo-hs table.hs-fs-ptable td { display: block; border: 0; padding: 0; text-align: left; }
	.pgamo-hs table.hs-fs-ptable td:first-child { flex: 1 1 100%; }
	.pgamo-hs table.hs-fs-ptable td:nth-child(2) { color: var(--hs-muted, #6b6457); font-size: .9rem; }
	.pgamo-hs table.hs-fs-ptable td.hs-r { text-align: left; }
	.pgamo-hs table.hs-fs-ptable td:last-child { flex: 1 1 100%; }
}
