/* The dictionary guide is scoped to its own Page. */
.wedcy-appendix {
    --wedcy-appendix-offset: 112px;
    --guide-brown: #663d20;
    --guide-border: #dadada;
    width: 100%; max-width: none; margin: 0; padding: 0;
    background: #fff; color: #333; font: 400 16px/1.75 Tahoma, sans-serif;
}
.wedcy-appendix *, .wedcy-appendix *::before, .wedcy-appendix *::after { box-sizing: border-box; }
.wedcy-appendix .wedcy-appendix__container { width: 100%; max-width: 1172px; margin-inline: auto; padding-inline: 16px; }
.wedcy-appendix a { color: var(--guide-brown); text-underline-offset: 3px; }
.wedcy-appendix a:hover { color: #8a5229; }
.wedcy-appendix :is(a, summary):focus-visible, .wedcy-appendix h2:focus-visible { outline: 2px solid #e08542; outline-offset: 4px; }
.wedcy-appendix :is(h1, h2, h3, p, ul, ol) { padding: 0; }
.wedcy-appendix p { margin: 0 0 14px; }
.wedcy-appendix :is(h1, h2, h3) { color: var(--guide-brown); font-family: Prompt, Tahoma, sans-serif; font-weight: 600; letter-spacing: normal; text-transform: none; }
.wedcy-appendix :is(h1, h2[id]) { scroll-margin-top: var(--wedcy-appendix-offset); }
.wedcy-appendix .wedcy-appendix__breadcrumbs { background: #f2f2f2; color: #333; font: 400 13px/1.4 Tahoma, sans-serif; padding: 4px 0; overflow-wrap: anywhere; }
.wedcy-appendix .wedcy-appendix__breadcrumbs .wedcy-appendix__container { display: block; max-width: 1170px; padding: 0 15px; }
.wedcy-appendix .wedcy-appendix__breadcrumbs p { margin: 0; }
.wedcy-appendix .wedcy-appendix__breadcrumbs a { color: #663d20; text-decoration: none; }
.wedcy-appendix .wedcy-appendix__breadcrumbs a:hover { color: #8a5229; text-decoration: underline; }
.wedcy-appendix .wedcy-appendix__hero { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; padding-block: 24px 30px; }
.wedcy-appendix .wedcy-appendix__hero h1 { margin: 0 0 18px; font-size: 36px; line-height: 1.45; white-space: nowrap; }
.wedcy-appendix .wedcy-appendix__intro { margin-bottom: 14px; line-height: 1.85; }
.wedcy-appendix .wedcy-appendix__hint { margin: 0; color: #666; font-size: 14px; }
.wedcy-appendix .wedcy-appendix__word-card { padding: 24px; border: 1px solid #c2b1a6; border-top: 4px solid var(--guide-brown); border-radius: 4px; background: #f9f6f2; }
.wedcy-appendix .wedcy-appendix__card-label { color: #85644d; font-size: 13px; margin-bottom: 10px; }
.wedcy-appendix .wedcy-appendix__sample-word { color: var(--guide-brown); font: 600 34px/1.4 Prompt, Tahoma, sans-serif; margin-bottom: 2px; }
.wedcy-appendix .wedcy-appendix__sample-meta { font-size: 14px; margin-bottom: 10px; }
.wedcy-appendix .wedcy-appendix__ipa { display: inline-block; margin-inline-start: 8px; color: var(--guide-brown); font-family: "Segoe UI", Tahoma, sans-serif; }
.wedcy-appendix .wedcy-appendix__sample-meaning { padding-block: 12px; border-block: 1px solid #ddd1c6; }
.wedcy-appendix .wedcy-appendix__text-link { font-size: 14px; }
.wedcy-appendix .wedcy-appendix__shortcuts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 36px; }
.wedcy-appendix .wedcy-appendix__shortcuts a { display: flex; align-items: flex-start; gap: 12px; min-width: 0; padding: 16px; border: 1px solid var(--guide-border); border-radius: 4px; text-decoration: none; background: #fff; }
.wedcy-appendix .wedcy-appendix__shortcuts a:hover { border-color: #c2b1a6; background: #faf7f3; }
.wedcy-appendix .wedcy-appendix__shortcuts strong { display: block; font: 500 17px/1.5 Prompt, Tahoma, sans-serif; margin-bottom: 3px; }
.wedcy-appendix .wedcy-appendix__shortcut-number { color: #85644d; font-size: 13px; line-height: 26px; }
.wedcy-appendix .wedcy-appendix__shortcut-note { display: block; color: #666; font-size: 13px; line-height: 1.6; }
.wedcy-appendix .wedcy-appendix__layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 32px; align-items: start; padding-bottom: 48px; }
.wedcy-appendix .wedcy-appendix__sidebar { grid-column: 2; grid-row: 1; position: sticky; top: var(--wedcy-appendix-offset); max-height: calc(100vh - var(--wedcy-appendix-offset) - 16px); max-height: calc(100dvh - var(--wedcy-appendix-offset) - 16px); overflow-y: auto; }
.wedcy-appendix .wedcy-appendix__toc { margin: 0; border: 1px solid var(--guide-border); border-radius: 4px; background: #fff; }
.wedcy-appendix .wedcy-appendix__toc > summary { display: flex; align-items: center; gap: 8px; padding: 14px 16px; color: var(--guide-brown); background: #f2f2f2; font: 600 18px/1.5 Prompt, Tahoma, sans-serif; cursor: pointer; list-style: none; }
.wedcy-appendix summary::marker { content: ""; }
.wedcy-appendix summary::-webkit-details-marker { display: none; }
.wedcy-appendix summary > svg { flex: 0 0 18px; margin-left: auto; }
.wedcy-appendix details[open] > summary > svg { transform: rotate(180deg); }
.wedcy-appendix .wedcy-appendix__toc-count { margin-left: auto; font: 400 12px/1.5 Tahoma, sans-serif; color: #666; }
.wedcy-appendix .wedcy-appendix__toc-count + svg { margin-left: 0; }
.wedcy-appendix .wedcy-appendix__toc-links { padding: 4px 0 14px; }
.wedcy-appendix .wedcy-appendix__toc-group { margin: 14px 16px 4px; font-size: 12px; color: #85644d; font-weight: 700; }
.wedcy-appendix .wedcy-appendix__toc-links ol { margin: 0; padding: 0; list-style: none; }
.wedcy-appendix .wedcy-appendix__toc-links a { display: flex; align-items: baseline; gap: 8px; padding: 7px 13px; border-left: 3px solid transparent; color: #444; font-size: 14px; line-height: 1.6; text-decoration: none; }
.wedcy-appendix .wedcy-appendix__toc-links a:hover { background: #faf7f3; color: var(--guide-brown); }
.wedcy-appendix .wedcy-appendix__toc-links a[aria-current="location"] { border-left-color: var(--guide-brown); background: #f5eee8; color: var(--guide-brown); }
.wedcy-appendix .wedcy-appendix__toc-number { flex: 0 0 18px; color: #85644d; font-size: 12px; }
.wedcy-appendix .wedcy-appendix__article { grid-column: 1; grid-row: 1; min-width: 0; overflow-wrap: anywhere; }
.wedcy-appendix .wedcy-appendix__section { margin: 0 0 40px; }
.wedcy-appendix .wedcy-appendix__section h2 { display: flex; align-items: baseline; gap: 12px; margin: 0 0 20px; padding: 0 0 12px; border-bottom: 2px solid #c2b1a6; font-size: 24px; line-height: 1.6; }
.wedcy-appendix .wedcy-appendix__section-number { display: inline-flex; flex: 0 0 34px; align-items: center; justify-content: center; height: 32px; border-radius: 4px; background: var(--guide-brown); color: #fff; font: 500 15px/1 Prompt, Tahoma, sans-serif; }
.wedcy-appendix .wedcy-appendix__section h3 { margin: 24px 0 12px; font-size: 19px; line-height: 1.6; }
.wedcy-appendix .wedcy-appendix__section :is(ul, ol) { margin: 0 0 18px; padding-inline-start: 24px; }
.wedcy-appendix .wedcy-appendix__section li { margin-bottom: 8px; padding-inline-start: 2px; }
.wedcy-appendix .wedcy-appendix__table { width: 100%; margin: 18px 0 22px; border: 1px solid #c2b1a6; border-radius: 4px; overflow: hidden; }
.wedcy-appendix .wedcy-appendix__table table { width: 100%; margin: 0; border: 0; border-collapse: collapse; table-layout: auto; font-size: 15px; line-height: 1.7; }
.wedcy-appendix .wedcy-appendix__table :is(th, td) { padding: 10px 12px; text-align: left; vertical-align: top; border: 0; border-bottom: 1px solid #e2dbd5; overflow-wrap: anywhere; }
.wedcy-appendix .wedcy-appendix__table th { color: #fff; background: var(--guide-brown); font-weight: 600; }
.wedcy-appendix .wedcy-appendix__table td { background: transparent; line-height: inherit; }
.wedcy-appendix .wedcy-appendix__table tbody tr:nth-child(even) { background: #faf8f5; }
.wedcy-appendix .wedcy-appendix__table tbody tr:last-child td { border-bottom: 0; }
.wedcy-appendix .wedcy-appendix__cell-label { display: none; }
.wedcy-appendix .wedcy-appendix__cell-value { min-width: 0; }
.wedcy-appendix .wedcy-appendix__note { padding: 14px 16px; border-left: 3px solid #a38b79; border-radius: 0 4px 4px 0; background: #f8f3eb; }
.wedcy-appendix .wedcy-appendix__example { padding: 14px 16px; border-left: 3px solid #bad5e7; border-radius: 0 4px 4px 0; background: #f0f7fc; }
.wedcy-appendix .wedcy-appendix__translation { margin-top: -10px; padding: 0 16px 12px; border-left: 3px solid #bad5e7; background: #f0f7fc; }
.wedcy-appendix .wedcy-appendix__faq { margin: 0 0 10px; border: 1px solid var(--guide-border); border-radius: 4px; }
.wedcy-appendix .wedcy-appendix__faq > summary { display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; font-weight: 600; color: var(--guide-brown); cursor: pointer; list-style: none; }
.wedcy-appendix .wedcy-appendix__faq > summary > svg { margin-top: 5px; }
.wedcy-appendix .wedcy-appendix__faq[open] > summary { background: #faf7f3; }
.wedcy-appendix .wedcy-appendix__faq-answer { padding: 14px 16px 0; }
.wedcy-appendix .wedcy-appendix__back { margin: 0; padding-top: 16px; border-top: 1px solid var(--guide-border); text-align: right; font-size: 14px; }
.wedcy-appendix .wedcy-appendix__sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 1024px) {
    .wedcy-appendix .wedcy-appendix__container { padding-inline: 20px; }
    .wedcy-appendix .wedcy-appendix__hero { grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; padding-top: 24px; }
    .wedcy-appendix .wedcy-appendix__hero h1 { font-size: clamp(26px, 3.7vw, 30px); }
    .wedcy-appendix .wedcy-appendix__shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 24px; }
    .wedcy-appendix .wedcy-appendix__layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .wedcy-appendix .wedcy-appendix__sidebar { grid-column: 1; grid-row: 1; position: static; max-height: none; overflow: visible; }
    .wedcy-appendix .wedcy-appendix__article { grid-column: 1; grid-row: 2; }
}
@media (max-width: 767px) {
    .wedcy-appendix { --wedcy-appendix-offset: 80px; }
    .wedcy-appendix .wedcy-appendix__container { padding-inline: 16px; }
    .wedcy-appendix .wedcy-appendix__breadcrumbs .wedcy-appendix__container { padding-inline: 10px; }
    .wedcy-appendix .wedcy-appendix__hero { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-block: 16px 24px; }
    .wedcy-appendix .wedcy-appendix__hero h1 { font-size: clamp(18px, 5.7vw, 28px); margin-bottom: 14px; }
    .wedcy-appendix .wedcy-appendix__word-card { padding: 20px; }
    .wedcy-appendix .wedcy-appendix__sample-word { font-size: 30px; }
    .wedcy-appendix .wedcy-appendix__shortcuts { gap: 8px; }
    .wedcy-appendix .wedcy-appendix__shortcuts a { gap: 7px; padding: 12px 10px; }
    .wedcy-appendix .wedcy-appendix__shortcuts strong { font-size: 16px; }
    .wedcy-appendix .wedcy-appendix__shortcut-note { font-size: 12px; }
    .wedcy-appendix .wedcy-appendix__section { margin-bottom: 32px; }
    .wedcy-appendix .wedcy-appendix__section h2 { gap: 10px; font-size: 22px; }
    .wedcy-appendix .wedcy-appendix__section-number { flex-basis: 30px; height: 30px; font-size: 14px; }
    .wedcy-appendix .wedcy-appendix__table { border: 0; border-radius: 0; overflow: visible; }
    .wedcy-appendix .wedcy-appendix__table :is(table, tbody) { display: block; }
    .wedcy-appendix .wedcy-appendix__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
    .wedcy-appendix .wedcy-appendix__table tbody tr { display: block; margin: 0 0 10px; padding: 8px 12px; border: 1px solid #d8cbc0; border-radius: 4px; background: #fff; }
    .wedcy-appendix .wedcy-appendix__table tbody tr:nth-child(even) { background: #faf8f5; }
    .wedcy-appendix .wedcy-appendix__table td { display: grid; grid-template-columns: minmax(70px, 30%) minmax(0, 1fr); gap: 12px; padding: 7px 0; border: 0; }
    .wedcy-appendix .wedcy-appendix__table .wedcy-appendix__cell-label { display: block; color: var(--guide-brown); font-size: 13px; line-height: 1.8; }
    .wedcy-appendix .wedcy-appendix__note, .wedcy-appendix .wedcy-appendix__example { padding-inline: 12px; }
    .wedcy-appendix .wedcy-appendix__translation { padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .wedcy-appendix *, .wedcy-appendix *::before, .wedcy-appendix *::after { scroll-behavior: auto; }
}
