/* Keep the brand credit beside Blossom without changing the home link label. */
.brand-group { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-credit { color: var(--muted); font-size: 10px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.brand-credit a { color: var(--green-dark); text-decoration: underline; text-underline-offset: 2px; }
.brand-credit a:hover { color: var(--green); }
.brand-credit a:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }

/* The guide is a small entry after the existing language selection outcome. */
.ai-fees-entry { margin: 11px 2px 0; }
.ai-fees-entry button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 6px 3px;
  border: 0;
  background: transparent;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.3;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ai-fees-entry button:hover { color: var(--green); }
.ai-fees-entry-icon { color: var(--coral); font-size: 13px; }
.ai-fees-entry button:focus-visible, .ai-fees-close:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }

.ai-fees-dialog {
  width: min(560px, calc(100% - 28px));
  max-height: min(760px, calc(100dvh - 28px));
  overflow-y: auto;
  margin: auto;
  padding: 26px 27px 27px;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(25, 59, 53, .17);
}
.ai-fees-dialog::backdrop { background: rgba(25, 59, 53, .33); }
.ai-fees-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.ai-fees-kicker { color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: .11em; }
.ai-fees-close { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--muted); font-size: 22px; line-height: 1; }
.ai-fees-close:hover { color: var(--ink); background: var(--mint); }
.ai-fees-dialog h2 { margin: 10px 0 9px; font-size: 25px; line-height: 1.3; letter-spacing: -.04em; }
.ai-fees-intro { margin: 0 0 18px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.ai-fees-how { margin: 0 0 18px; padding: 11px 13px; border-left: 3px solid var(--green); border-radius: 0 10px 10px 0; background: var(--mint); color: var(--green-dark); font-size: 13px; font-weight: 650; line-height: 1.7; }
.ai-fees-rules { display: grid; gap: 10px; }
.ai-fees-rules section { padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.ai-fees-rules h3 { margin: 0 0 4px; color: var(--green-dark); font-size: 13px; letter-spacing: -.01em; }
.ai-fees-rules p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.ai-fees-pending { margin: 15px 1px 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
@media (max-width: 720px) {
  .site-header { gap: 8px; }
  .brand-group { flex-direction: column; align-items: flex-start; gap: 0; }
  .brand-credit { margin-left: 37px; font-size: 8px; line-height: 1.1; }
  .ai-fees-entry { margin-top: 9px; }
  .ai-fees-dialog { padding: 21px 19px 22px; border-radius: 20px; }
  .ai-fees-dialog h2 { font-size: 21px; }
}
