:root {
	--hm-ag-brand: #935030;
	--hm-ag-brand-dark: #7a3f22;
	--hm-ag-bg: #fbf8f7;
	--hm-ag-ink: #1e1e1e;
	--hm-ag-muted: #6b6460;
	--hm-ag-line: #e6dcd6;
}
html.hm-ag-lock { overflow: hidden; }
.hm-ag-overlay {
	position: fixed; inset: 0; z-index: 999999;
	background: rgba(20, 14, 10, .55);
	display: flex; align-items: center; justify-content: center;
	padding: 16px;
}
.hm-ag-overlay[hidden] { display: none; }
.hm-ag-dialog {
	position: relative; width: 100%; max-width: 440px;
	max-height: calc(100vh - 32px); overflow: auto;
	background: var(--hm-ag-bg); color: var(--hm-ag-ink);
	border-radius: 14px; padding: 28px 24px 22px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
	font-size: 15px; line-height: 1.5;
	animation: hm-ag-in .18s ease-out;
}
@keyframes hm-ag-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hm-ag-dialog { animation: none; } }
.hm-ag-close {
	position: absolute; top: 8px; right: 10px;
	background: none; border: 0; padding: 4px 8px; margin: 0;
	font-size: 26px; line-height: 1; color: var(--hm-ag-muted); cursor: pointer;
	box-shadow: none; min-width: 0;
}
.hm-ag-close:hover { color: var(--hm-ag-ink); background: none; }
.hm-ag-eyebrow {
	margin: 0 0 6px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
	color: var(--hm-ag-brand); font-weight: 600;
}
.hm-ag-title { margin: 0 0 8px; font-size: 21px; line-height: 1.3; color: var(--hm-ag-ink); font-weight: 700; }
.hm-ag-sub { margin: 0 0 18px; color: var(--hm-ag-muted); }
.hm-ag-label { display: block; margin: 0 0 5px; font-weight: 600; font-size: 14px; }
.hm-ag-input {
	display: block; width: 100%; box-sizing: border-box;
	margin: 0 0 14px; padding: 11px 12px;
	border: 1px solid var(--hm-ag-line); border-radius: 8px;
	background: #fff; color: var(--hm-ag-ink); font-size: 16px;
}
.hm-ag-input:focus { outline: 2px solid var(--hm-ag-brand); outline-offset: 1px; border-color: var(--hm-ag-brand); }
.hm-ag-check { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 16px; font-size: 14px; color: var(--hm-ag-ink); cursor: pointer; }
.hm-ag-check input { margin-top: 3px; flex: 0 0 auto; width: 16px; height: 16px; accent-color: var(--hm-ag-brand); }
.hm-ag-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.hm-ag-error { margin: 0 0 12px; color: #b42318; font-size: 14px; }
.hm-ag-error[hidden], .hm-ag-step[hidden] { display: none; }
.hm-ag-submit {
	display: block; width: 100%; box-sizing: border-box; text-align: center;
	padding: 13px 16px; border: 0; border-radius: 8px;
	background: var(--hm-ag-brand); color: #fff !important; text-decoration: none !important;
	font-size: 16px; font-weight: 600; cursor: pointer; letter-spacing: 0; text-transform: none;
}
.hm-ag-submit:hover, .hm-ag-submit:focus { background: var(--hm-ag-brand-dark); color: #fff; }
.hm-ag-fine { margin: 12px 0 0; font-size: 12px; color: var(--hm-ag-muted); text-align: center; }
.hm-ag-fine a { color: var(--hm-ag-muted); text-decoration: underline; }
.hm-ag-sub .hm-ag-go { color: var(--hm-ag-brand); text-decoration: underline; }
.hm-ag-tool {
	display: block; margin: 0 0 18px; padding: 14px 16px;
	border: 1px solid var(--hm-ag-line); border-left: 4px solid var(--hm-ag-brand); border-radius: 10px;
	background: #fff; color: var(--hm-ag-ink) !important; text-decoration: none !important;
}
.hm-ag-tool:hover, .hm-ag-tool:focus { border-color: var(--hm-ag-brand); }
.hm-ag-tool strong { display: block; margin: 2px 0 4px; font-size: 16px; line-height: 1.35; }
.hm-ag-tool span { display: block; font-size: 14px; color: var(--hm-ag-muted); }
.hm-ag-tool .hm-ag-tool-label { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--hm-ag-brand); font-weight: 600; }
.hm-ag-more-title { margin: 0 0 6px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--hm-ag-muted); font-weight: 600; }
.hm-ag-more { list-style: none; margin: 0; padding: 0; }
.hm-ag-more li { margin: 0; padding: 0; border-top: 1px solid var(--hm-ag-line); }
.hm-ag-more li:last-child { border-bottom: 1px solid var(--hm-ag-line); }
.hm-ag-more a { display: block; padding: 10px 2px; color: var(--hm-ag-ink) !important; text-decoration: none !important; font-weight: 600; font-size: 15px; }
.hm-ag-more a:hover { color: var(--hm-ag-brand) !important; }
