/* 我的授權 (WooCommerce My Account) — px units only. Colours come from the chosen macaron preset. */
.iwh-acc { --iwh-bg: #FFF8D6; --iwh-accent: #FFD400; --iwh-ink: #141414; color: var(--iwh-ink); }
.iwh-acc-card { background: var(--iwh-bg); border: 2px solid var(--iwh-ink); border-radius: 16px; padding: 18px; margin: 0 0 18px; }
.iwh-acc-card header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.iwh-acc-card h3 { margin: 0; font-size: 20px; }
.iwh-acc-card h4 { margin: 16px 0 8px; font-size: 16px; }
.iwh-acc-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; background: #fff; border: 2px solid var(--iwh-ink); }
.iwh-acc-red { background: #fde8e8; }
.iwh-acc-yellow { background: #fff4c2; }
.iwh-acc-key { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0; }
.iwh-acc-key span { font-size: 14px; }
.iwh-acc-key code { font-size: 17px; padding: 6px 10px; background: #fff; border-radius: 8px; user-select: all; word-break: break-all; }
.iwh-acc-meta { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.iwh-acc-meta li span { display: inline-block; min-width: 88px; font-weight: 700; }
.iwh-acc-note { background: #fff; border-radius: 10px; padding: 8px 12px; }
.iwh-acc-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border: 2px solid var(--iwh-ink); border-radius: 10px; background: #fff; color: var(--iwh-ink); font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; }
.iwh-acc-primary { background: var(--iwh-accent); }
.iwh-acc-btn:focus { outline: 3px solid var(--iwh-ink); outline-offset: 2px; }
.iwh-acc-dl, .iwh-acc-sites { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.iwh-acc-dl a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 0 14px; border-radius: 10px; background: #fff; border: 2px solid var(--iwh-ink); color: var(--iwh-ink); text-decoration: none; font-weight: 700; }
.iwh-acc-dl a small { font-weight: 400; }
.iwh-acc-sites li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; background: #fff; border-radius: 10px; }
.iwh-acc-sites form { margin: 0; }
.iwh-acc-help { border: 2px dashed var(--iwh-ink); border-radius: 16px; padding: 14px 18px; }
.iwh-acc-claim form p { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; }
.iwh-acc-claim input[type="text"] { flex: 1 1 240px; min-height: 44px; padding: 0 12px; border: 2px solid var(--iwh-ink); border-radius: 10px; font-size: 16px; font-family: monospace; box-sizing: border-box; }
.iwh-thanks code { font-size: 17px; padding: 6px 10px; background: #FFF8D6; border-radius: 8px; }
@media (max-width: 600px) {
	.iwh-acc-card { padding: 14px; }
	.iwh-acc-meta li span { display: block; }
}
