.h5app, .h5-sheet {
	--h5-blue: #1659ed;
	--h5-ink: #1c2430;
	--h5-muted: #5c6b7a;
	--h5-line: #e4e9f0;
	--h5-bg: #f4f6f9;
	color: var(--h5-ink);
	font-family: Roboto, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;
	margin: 24px 0 40px;
}
.h5-sheet { margin: 0; }
.h5app button, .h5app input, .h5app textarea, .h5-sheet button, .h5-sheet a { font-family: inherit; }
.h5-wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.h5app h1, .h5app h2, .h5app h3 { color: var(--h5-ink); font-family: Roboto, sans-serif; font-weight: 700; }
.h5app h1 { font-size: 1.7em; line-height: 1.3; margin: 0 0 8px; }
.h5app h2 { font-size: 1.4em; margin: 0 0 14px; }
.h5app h3 { margin: 0; font-size: 1.1em; }
.h5-lead, .h5-note, .h5-company { color: var(--h5-muted); }
.h5-lead { margin: 0 0 18px; }
.h5-search {
	width: 100%;
	max-width: 520px;
	border: 1px solid var(--h5-line);
	border-radius: 10px;
	padding: 12px 14px;
	margin: 0 0 16px;
	background: #fff;
}
.h5-tabs { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 18px; }
.h5-tab {
	border: 1px solid var(--h5-line);
	background: #fff;
	border-radius: 999px;
	padding: 8px 14px;
	white-space: nowrap;
	text-decoration: none;
	color: var(--h5-ink);
}
.h5-tab.is-on { background: var(--h5-blue); color: #fff; border-color: var(--h5-blue); }
.h5-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.h5-card {
	background: #fff;
	border: 1px solid var(--h5-line);
	border-radius: 12px;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.h5-card.is-hidden, .h5-card-more { display: none; }
.h5-grid.is-searching .h5-card-more { display: flex; }
.h5-grid.is-searching .h5-card-more.is-hidden { display: none; }
.h5-card-head { display: flex; gap: 10px; align-items: center; }
.h5-avatar {
	width: 48px;
	height: 48px;
	border-radius: 10px;
	display: grid;
	place-items: center;
	color: #fff;
	font-weight: 700;
	flex: none;
	background: var(--h5-blue);
	overflow: hidden;
}
.h5-avatar img { width: 48px; height: 48px; object-fit: cover; }
.h5-card h3 a { color: inherit; text-decoration: none; }
.h5-specs { list-style: none; margin: 0; padding: 0; font-size: 16px; }
.h5-specs li {
	display: grid;
	grid-template-columns: 108px 1fr;
	gap: 8px;
	padding: 6px 0;
	border-top: 1px solid var(--h5-line);
}
.h5-specs span, .h5-contact span { color: var(--h5-muted); }
.h5-open, .h5-btn {
	border-radius: 8px;
	padding: 8px 12px;
	text-decoration: none;
	text-align: center;
}
.h5-open { margin-top: auto; border: 1px solid var(--h5-blue); color: var(--h5-blue); background: #fff; }
.h5-btn-primary { background: var(--h5-blue); color: #fff; }
.h5-btn-ghost { background: #fff; color: var(--h5-ink); border: 1px solid var(--h5-line); }
.h5-crumb { font-size: 14px; color: var(--h5-muted); margin-bottom: 14px; }
.h5-crumb a { color: var(--h5-blue); }
.h5-hero, .h5-layout, .h5-calc { display: grid; gap: 20px; }
.h5-hero { grid-template-columns: 1.3fr .7fr; background: #fff; border: 1px solid var(--h5-line); border-radius: 12px; padding: 20px; }
.h5-layout { grid-template-columns: 1fr 300px; align-items: start; margin-top: 16px; }
.h5-calc { grid-template-columns: 1.1fr .9fr; }
.h5-excerpt, .h5-shot, .h5-panel, .h5-results { background: #fff; border: 1px solid var(--h5-line); border-radius: 12px; }
.h5-excerpt, .h5-panel, .h5-results { padding: 16px; }
.h5-excerpt { margin-top: 12px; background: var(--h5-bg); }
.h5-shot { min-height: 180px; display: grid; place-items: center; padding: 16px; background: var(--h5-bg); }
.h5-shot img { max-width: 100%; height: auto; border-radius: 12px; }
.h5-actions { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.h5-subnav { display: flex; gap: 8px; overflow-x: auto; position: sticky; top: 70px; z-index: 5; background: #fff; padding: 12px 0; }
.h5-subnav a { background: var(--h5-bg); border-radius: 8px; padding: 8px 12px; text-decoration: none; color: var(--h5-ink); }
.h5-panel { margin-bottom: 16px; }
.h5-sidebar { position: sticky; top: 120px; }
.h5-contact { display: grid; grid-template-columns: 88px 1fr; gap: 8px; font-size: 14px; padding: 6px 0; }
.h5-field { display: block; font-size: 16px; color: var(--h5-muted); margin-bottom: 12px; }
.h5-field-row { display: flex; gap: 8px; align-items: center; }
.h5-field input[type="text"] { width: 180px; border: 1px solid var(--h5-line); border-radius: 8px; padding: 8px; font-size: 16px; }
.h5-faq details { border: 1px solid #c5d4f5; border-radius: 10px; margin: 0 0 10px; overflow: hidden; background: #fff; }
.h5-faq summary { cursor: pointer; font-weight: 700; font-size: 1.05em; line-height: 1.4; padding: 14px 16px; background: #e8efff; color: #12306e; }
.h5-faq summary:hover { background: #dce7ff; }
.h5-faq-answer { padding: 4px 16px 14px; background: #fff; }
.h5-faq-answer p { margin: 10px 0 0; font-size: 16px; font-weight: 400; color: var(--h5-ink); }
.h5-milestones { list-style: none; margin: 0 0 12px; padding: 0; }
.h5-milestones li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--h5-line); }
.h5-field input[type="range"] { width: 100%; accent-color: var(--h5-blue); }
.h5-results div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--h5-line); }
.h5-results div:first-child { border-top: 0; }
.h5-chart { width: 100%; height: auto; display: block; }
.h5-article h2, .h5-article h3 { margin-top: 18px; }
.h5-intro { background: #fff; border: 1px solid var(--h5-line); border-radius: 12px; padding: 16px; }
.h5-intro h1 { font-size: 1.4em; margin: 0; }
.h5-intro .h5-company { margin: 2px 0 0; }
.h5-rate-line { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin-top: 4px; font-size: 14px; color: var(--h5-muted); }
.h5-vote { display: inline-flex; align-items: center; }
.h5-vote button { border: 0; background: transparent; color: #d5dbe3; font-size: 15px; line-height: 1; min-width: 22px; min-height: 22px; padding: 0 1px; cursor: pointer; touch-action: manipulation; }
.h5-vote button.is-on { color: #f5a623; }
.h5-hero-main { display: flex; flex-direction: column; }
.h5-hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: auto; padding-top: 16px; }
.h5-hero-actions .h5-open-sheet,
.h5-hero-actions .h5-read { width: 100%; margin: 0; text-align: center; padding: 12px 10px; border-radius: 8px; font-weight: 700; text-decoration: none; box-sizing: border-box; }
.h5-hero-actions .h5-read { display: block; border: 1px solid var(--h5-line); color: var(--h5-ink); background: #fff; }
.h5-intro .h5-excerpt { margin-top: 12px; }
.h5-open-sheet { display: block; width: 100%; margin-top: 12px; padding: 14px 16px; font-size: 16px; font-weight: 700; border: 0; cursor: pointer; }
.h5-read { display: block; margin-top: 8px; text-align: center; color: var(--h5-muted); }
.h5-sheet { position: fixed; inset: 0; z-index: 100000; display: grid; align-items: end; }
.h5-sheet[hidden] { display: none; }
.h5-sheet-backdrop { position: absolute; inset: 0; background: rgba(28, 36, 48, .45); }
.h5-sheet-panel { position: relative; background: #fff; border-radius: 16px 16px 0 0; padding: 12px 12px 16px; max-height: 88vh; overflow: auto; }
.h5-sheet-close { position: fixed; top: 12px; right: 12px; z-index: 100002; border: 0; background: #fff; color: #1c2430; cursor: pointer; padding: 8px 14px; border-radius: 999px; font-weight: 700; }
.h5-wait { text-align: center; padding: 36px 8px 28px; }
.h5-wait p { margin: 0; }
.h5-sheet-count { margin-top: 8px; color: var(--h5-blue); font-size: 40px; font-weight: 700; line-height: 1; }
.h5-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: start; }
.h5-opts-single { grid-template-columns: 1fr; }
.h5-opts[hidden], .h5-wait[hidden] { display: none; }
.h5-opt-main .h5-offer { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; border: 1px solid var(--h5-blue); border-radius: 12px; padding: 12px; background: #f3f7ff; }
.h5-sheet-label { margin: 0 0 8px; color: var(--h5-muted); font-size: 14px; }
.h5-offer-name { font-weight: 700; font-size: 16px; margin: 0; }
.h5-offer-go, .h5-sheet a.h5-side-btn {
	display: block;
	width: 100%;
	box-sizing: border-box;
	background: #1659ed;
	color: #fff;
	border-radius: 8px;
	padding: 8px 10px;
	font-size: 16px;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	line-height: 1.2;
}
.h5-side-card { padding: 8px 0 12px; border-top: 1px solid var(--h5-line); }
.h5-side-logo { display: block; width: 100%; max-width: 120px; height: 48px; object-fit: contain; object-position: left center; background: transparent; }
.h5-side-amount { margin: 2px 0 8px; color: var(--h5-muted); font-size: 14px; }
@media (min-width: 901px) {
	.h5-sheet { align-items: center; justify-items: center; }
	.h5-sheet-panel { width: min(560px, calc(100% - 32px)); border-radius: 16px; }
}
@media (max-width: 900px) {
	.h5app { margin-top: 8px; }
	.h5-crumb { margin-bottom: 8px; }
	.h5-grid, .h5-hero, .h5-layout, .h5-calc { grid-template-columns: 1fr; }
	.h5-sidebar { position: static; }
	.h5-hero { margin-top: 12px; }
}
