.kj-edition { margin: 1rem 0; padding: 1rem; border: 1px solid #bdad9a; border-radius: 1rem; overflow-wrap: anywhere; }
.kj-edition summary { color: inherit; cursor: pointer; font-weight: bold; padding: .6em 0; }
.kj-edition[data-language="en"] [lang="ml"], .kj-edition[data-language="ml"] [lang="en"], .kj-edition [hidden] { display: none; }
.kj-edition-sheet { margin-top: 1rem; background: #fff8e7; color: #38233c; padding: clamp(.8rem, 4vw, 2rem); border-block: .24rem double #745536; }
.kj-edition-brand { font-weight: bold; color: #69522e; }
.kj-edition-sheet h3 { font-size: 1.65em; line-height: 1.5; margin: .2em 0; color: inherit; }
.kj-edition-sheet dl { margin-block: 1em; }
.kj-edition-sheet dt { font-size: .95em; }
.kj-edition-sheet dd { margin: 0 0 .55em; font-size: 1.25em; font-weight: bold; }
.kj-edition [data-copy-url] { display: block; width: 100%; box-sizing: border-box; min-height: 44px; font: inherit; }
.kj-edition button { min-height: 44px; max-width: 100%; font: inherit; background: #483051; color: white; border-radius: .55rem; padding: .5em 1em; }
.kj-edition :focus-visible { outline: 3px solid #9c6420; outline-offset: 3px; }
@media print { .kj-edition { display: none !important; } }
.kj-edition-options { margin: 1.25em 0; padding: .75em; min-width: 0; border: 1px solid #ad998b; border-radius: .6em; }
.kj-edition-options legend { font-weight: bold; max-width: 100%; }
.kj-edition-options label { display: block; margin-bottom: .8em; }
.kj-edition-options textarea { display: block; width: 100%; box-sizing: border-box; color: inherit; font: inherit; margin: .4em 0; }
.kj-edition-options img { display: block; width: 100%; max-width: 24rem; height: auto; margin: .8em auto; }
.kj-edition-options a { display: inline-block; padding: .6em 0; }

.kj-birthday-invite {
  margin-block: 1rem;
  padding: clamp(1rem, 4vw, 1.75rem);
  border: 1px solid var(--layout-rule, #d9d9e8);
  border-radius: 1rem;
  background: linear-gradient(130deg, rgba(255,255,255,.96), rgba(241,238,252,.92));
  color: var(--layout-ink, #25233e);
  box-shadow: var(--kj-shadow-soft, 0 6px 20px -12px rgba(66,54,103,.18));
  overflow-wrap: anywhere;
}
.kj-birthday-invite h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(1.3rem, 4vw, 1.65rem);
  line-height: 1.45;
}
.kj-birthday-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: .5rem;
  margin-block: .75rem;
}
.kj-birthday-invite button {
  min-height: 44px;
  max-width: 100%;
  padding: .5em .75em;
  border: 1px solid transparent;
  border-radius: .75rem;
  background: var(--layout-button, #483782);
  color: var(--layout-button-text, #fff);
  font: inherit;
  line-height: 1.5;
  cursor: pointer;
}
.kj-birthday-invite [data-start-date-only] {
  border-color: var(--layout-control, #74718c);
  background: var(--layout-paper, #fff);
  color: var(--layout-link, #493c86);
}
.kj-birthday-invite button:focus-visible { outline: 3px solid var(--layout-link, #493c86); outline-offset: 3px; }
.kj-birthday-invite p { margin: 0; color: var(--layout-muted, #53546b); }
.kj-birthday-invite[data-language="en"] [lang="ml"],.kj-birthday-invite[data-language="ml"] [lang="en"]{display:none}
@media print{.kj-birthday-invite{display:none}}
