/**
 * 引越し不用品まるごとチェックリスト - 専用スタイル
 */
:root { --hkl-primary: #2DA68E; --hkl-primary-light: rgba(45,166,142,0.08); --hkl-primary-border: rgba(45,166,142,0.3); }

.hkl-main-area { padding: 24px 20px; }
.hkl-main-inner { max-width: 600px; margin: 0 auto; }

/* 部屋タブ */
.hkl-tabs { display: flex; gap: 6px; margin-bottom: 16px; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
.hkl-tab {
	display: flex; align-items: center; gap: 6px; padding: 8px 14px;
	font-family: inherit; font-size: 13px; font-weight: 600; color: var(--color-text-muted);
	background: var(--color-bg); border: 1px solid var(--color-border); border-radius: 20px;
	white-space: nowrap; cursor: pointer; transition: all 0.2s; flex-shrink: 0;
}
.hkl-tab:hover { color: var(--hkl-primary); }
.hkl-tab.active { color: #fff; background: var(--hkl-primary); border-color: var(--hkl-primary); }
.hkl-tab-count { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; font-size: 10px; font-weight: 700; background: rgba(255,255,255,0.25); border-radius: 9px; padding: 0 5px; }
.hkl-tab:not(.active) .hkl-tab-count { background: var(--hkl-primary-light); color: var(--hkl-primary); }
.hkl-tab-count.zero { display: none; }

/* アイテムグリッド */
.hkl-items {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
	margin-bottom: 20px; min-height: 200px;
}

.hkl-item-btn {
	display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 8px;
	font-family: inherit; color: var(--color-text); background: var(--color-white);
	border: 2px solid var(--color-border); border-radius: var(--radius);
	cursor: pointer; transition: all 0.2s; position: relative;
}
.hkl-item-btn:hover { border-color: var(--hkl-primary-border); }
.hkl-item-btn.checked { border-color: var(--hkl-primary); background: var(--hkl-primary-light); }

.hkl-item-icon {
	display: flex; align-items: center; justify-content: center;
	width: 38px; height: 38px; font-size: 15px; font-weight: 700;
	color: #fff; border-radius: 50%;
}
.hkl-item-name { font-size: 11px; font-weight: 600; text-align: center; line-height: 1.3; }

.hkl-item-check {
	position: absolute; top: 6px; right: 6px;
	width: 16px; height: 16px; border: 2px solid var(--color-border); border-radius: 4px; background: #fff;
	transition: all 0.2s;
}
.hkl-item-btn.checked .hkl-item-check {
	background: var(--hkl-primary); border-color: var(--hkl-primary);
}
.hkl-item-btn.checked .hkl-item-check::after {
	content: ''; position: absolute; top: 1px; left: 4px;
	width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

/* サマリー */
.hkl-summary {
	position: sticky; bottom: 0; background: var(--color-white);
	padding: 14px 0; border-top: 1px solid var(--color-border);
	margin: 0 -20px; padding-left: 20px; padding-right: 20px;
}
.hkl-summary-counts {
	text-align: center; font-size: 13px; font-weight: 600; color: var(--color-text-muted); margin-bottom: 10px;
}
.hkl-summary-counts strong { color: var(--hkl-primary); font-size: 16px; }

.hkl-result-btn {
	display: block; width: 100%; max-width: 400px; margin: 0 auto; padding: 14px;
	font-family: inherit; font-size: 16px; font-weight: 700; color: #fff;
	background: linear-gradient(135deg, #2DA68E, #25917B); border: none;
	border-radius: var(--radius); cursor: pointer; transition: all 0.2s;
}
.hkl-result-btn:hover:not(:disabled) { background: linear-gradient(135deg, #25917B, #1E7D68); }
.hkl-result-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ===== 結果エリア ===== */
.hkl-result-area { padding: 24px 20px; }
.hkl-result-inner { max-width: 600px; margin: 0 auto; }

.hkl-result-header { text-align: center; margin-bottom: 20px; opacity: 0; transform: translateY(12px); animation: hklIn 0.5s ease forwards 0.1s; }
@keyframes hklIn { to { opacity: 1; transform: translateY(0); } }

.hkl-result-title { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--color-text); }
.hkl-result-sub { font-size: 13px; color: var(--color-text-muted); margin-top: 4px; }

/* 3カテゴリ結果 */
.hkl-categories { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }

.hkl-cat-card {
	background: var(--color-white); border: 2px solid var(--color-border);
	border-radius: 12px; padding: 18px;
	opacity: 0; transform: translateY(12px); animation: hklIn 0.5s ease forwards;
}
.hkl-cat-card:nth-child(1) { animation-delay: 0.15s; }
.hkl-cat-card:nth-child(2) { animation-delay: 0.3s; }
.hkl-cat-card:nth-child(3) { animation-delay: 0.45s; }

.hkl-cat-card--sell { border-color: rgba(45,166,142,0.4); background: linear-gradient(135deg, rgba(45,166,142,0.04), rgba(45,166,142,0.01)); }
.hkl-cat-card--donate { border-color: rgba(61,122,191,0.4); background: linear-gradient(135deg, rgba(61,122,191,0.04), rgba(61,122,191,0.01)); }
.hkl-cat-card--dispose { border-color: rgba(192,57,43,0.4); background: linear-gradient(135deg, rgba(192,57,43,0.04), rgba(192,57,43,0.01)); }

.hkl-cat-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.hkl-cat-icon {
	display: flex; align-items: center; justify-content: center;
	width: 42px; height: 42px; font-size: 16px; font-weight: 700;
	color: #fff; border-radius: 50%; flex-shrink: 0;
}
.hkl-cat-info { flex: 1; }
.hkl-cat-label { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--color-text); }
.hkl-cat-count { font-size: 12px; color: var(--color-text-muted); margin-top: 2px; }
.hkl-cat-amount { font-family: var(--font-display); font-size: 20px; font-weight: 700; text-align: right; white-space: nowrap; }
.hkl-cat-amount--plus { color: #2DA68E; }
.hkl-cat-amount--minus { color: #C0392B; }
.hkl-cat-amount--neutral { color: var(--color-text-muted); }

.hkl-cat-items { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.hkl-cat-item { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; background: var(--color-bg); border-radius: 12px; font-size: 12px; color: var(--color-text); }
.hkl-cat-item-price { font-weight: 700; color: var(--color-text-muted); font-size: 11px; }

.hkl-cat-empty { font-size: 13px; color: var(--color-text-muted); font-style: italic; text-align: center; padding: 8px 0; }

/* 合計サマリー */
.hkl-totals {
	padding: 18px; background: linear-gradient(135deg, rgba(45,166,142,0.06), rgba(212,160,23,0.04));
	border: 1px solid var(--hkl-primary-border); border-radius: 12px; margin-bottom: 16px;
	opacity: 0; transform: translateY(12px); animation: hklIn 0.5s ease forwards 0.6s;
}
.hkl-totals-title { font-size: 13px; font-weight: 700; color: var(--color-text-muted); text-align: center; margin-bottom: 12px; }
.hkl-totals-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.hkl-total-item { text-align: center; padding: 10px; background: rgba(255,255,255,0.6); border-radius: 8px; }
.hkl-total-label { font-size: 11px; font-weight: 600; color: var(--color-text-muted); margin-bottom: 4px; }
.hkl-total-value { font-family: var(--font-display); font-size: 20px; font-weight: 700; }
.hkl-total-value--plus { color: #2DA68E; }
.hkl-total-value--minus { color: #C0392B; }

.hkl-totals-net {
	text-align: center; padding: 10px; background: var(--color-white); border-radius: 8px;
	border: 1px solid var(--hkl-primary-border);
}
.hkl-totals-net-label { font-size: 12px; font-weight: 600; color: var(--color-text-muted); margin-bottom: 4px; }
.hkl-totals-net-value { font-family: var(--font-display); font-size: 24px; font-weight: 700; }
.hkl-totals-net-value--plus { color: #2DA68E; }
.hkl-totals-net-value--minus { color: #C0392B; }
.hkl-totals-advice { font-size: 12px; color: var(--color-text); line-height: 1.7; margin-top: 8px; text-align: center; }

.hkl-back-btn { display: block; width: 100%; max-width: 300px; margin: 24px auto 0; }

/* CTA（コメントアウト状態で準備） */
/*
.hkl-cta-area { margin-top: 16px; padding: 18px; background: rgba(45,166,142,0.06); border: 1px solid var(--hkl-primary-border); border-radius: 10px; text-align: center; }
.hkl-cta-text { font-size: 13px; color: var(--color-text); line-height: 1.7; margin-bottom: 12px; }
.hkl-cta-button { display: inline-flex; padding: 10px 24px; font-family: inherit; font-size: 14px; font-weight: 600; color: #fff; background: linear-gradient(135deg, #2DA68E, #25917B); border: none; border-radius: var(--radius); text-decoration: none; cursor: pointer; }
*/

/* レスポンシブ */
@media (max-width: 480px) {
	.hkl-items { grid-template-columns: repeat(3, 1fr); gap: 6px; }
	.hkl-item-btn { padding: 10px 6px; }
	.hkl-item-icon { width: 34px; height: 34px; font-size: 13px; }
	.hkl-item-name { font-size: 10px; }
	.hkl-cat-amount { font-size: 17px; }
	.hkl-totals-grid { gap: 8px; }
	.hkl-total-value { font-size: 17px; }
	.hkl-totals-net-value { font-size: 20px; }
}
@media (max-width: 360px) { .hkl-main-area, .hkl-result-area { padding: 20px 14px; } }
