/* Review proposal, 19 October 2026. Scoped to the three local word templates. */
.ww-word-template{--entry-accent:#008bc7;--entry-tint:#edf8fc;--entry-ink:#205b74}
.ww-word-template[data-word-class="Verb"]{--entry-accent:#b5673b;--entry-tint:#fff3eb;--entry-ink:#854c2b}
.ww-word-template[data-word-class="Substantiv"]{--entry-accent:#b48b20;--entry-tint:#fff9e7;--entry-ink:#786020}
.ww-word-template .ww-word-profile{background:var(--entry-tint);border-color:color-mix(in srgb,var(--entry-accent) 30%,white);border-top:4px solid var(--entry-accent)}
.ww-word-template .ww-profile-grid{gap:15px 20px;margin:18px 0}
.ww-word-template .ww-profile-grid dd{font-weight:400}.ww-word-template .ww-profile-grid strong{font-weight:600}
.ww-word-template .ww-profile-grid .ww-profile-wide{grid-column:1/-1;display:block}
.ww-word-template .ww-profile-wide dt,.ww-word-template .ww-profile-wide dd{display:inline}
.ww-word-template .ww-profile-wide dt:after{content:': '}
.ww-word-template .ww-profile-wide dd{font-size:.88em}
.ww-word-template .ww-profile-wide strong{font-weight:400}
.ww-word-template>.ww-word-lead{margin-bottom:22px}
.ww-word-template .ww-definition-label{font-size:.75em;font-weight:700;color:var(--entry-ink);letter-spacing:.04em;margin:0 0 7px!important}
.ww-word-template .ww-pronunciation{font-family:'Segoe UI',Arial,sans-serif}
.ww-word-template .ww-profile-hint{background:transparent;font-size:.85em}
.ww-word-template .ww-profile-more{background:color-mix(in srgb,var(--entry-accent) 6%,white)}
.ww-word-template .ww-profile-heading p{color:var(--entry-ink)}
.ww-word-template h2{scroll-margin-top:110px}
.ww-word-template h3{scroll-margin-top:110px;background:transparent!important;color:var(--entry-ink)!important;padding:0!important;border:0!important;box-shadow:none!important;display:block!important;line-height:1.5}
.ww-word-template h3::before,.ww-word-template h3::after{content:none!important}
.ww-word-template>h2{margin-top:2.4em!important;margin-bottom:1em!important}
.ww-word-template .ww-entry-jumps{display:flex;flex-wrap:wrap;gap:9px 20px;padding:15px 0 20px;margin:15px 0 30px;border-top:1px solid #dce8ed;border-bottom:1px solid #dce8ed;font-size:.82em;line-height:1.65}
.ww-word-template .ww-entry-jumps a{color:#087eae;font-weight:600;text-decoration:underline;text-underline-offset:4px;text-decoration-color:#b1d5e2}
.ww-word-template .ww-entry-jumps a:hover{color:#005d86;text-decoration-color:currentColor}
.ww-word-template .ww-synonym-list{margin:24px 0 36px}
.ww-word-template .ww-synonym-item{display:grid;grid-template-columns:minmax(140px,.34fr) minmax(0,1fr);column-gap:26px;padding:25px 0;border-bottom:1px solid #dce8ed}
.ww-word-template .ww-synonym-item:first-child{padding-top:10px}
.ww-word-template .ww-synonym-item h3{grid-column:1;grid-row:1/span 6;margin:2px 0 12px!important;padding:0!important;font-size:.91em;line-height:1.55;color:var(--entry-ink);background:none;border:0;box-shadow:none}
.ww-word-template .ww-synonym-item h3::before,.ww-word-template .ww-synonym-item h3::after{content:none}
.ww-word-template .ww-synonym-item p{grid-column:2;margin:9px 0!important;font-size:.88em;line-height:1.75}
.ww-word-template .ww-synonym-item .ww-synonym-words{margin:0 0 8px!important;font-size:1em;line-height:1.7;font-weight:600;color:var(--entry-ink)}
.ww-word-template .ww-synonym-words a{display:inline;padding:1px 3px;border-radius:3px;background:var(--entry-tint);color:#087eae;text-decoration:underline;text-decoration-color:#9fc9da;text-underline-offset:4px}
.ww-word-template .ww-synonym-words a:hover{background:#dceff6;text-decoration-color:currentColor}
.ww-word-template .ww-synonym-item .ww-synonym-example{border-left:3px solid #e5c566;padding:8px 0 8px 14px;margin-top:12px!important;background:#fffcf2;font-size:.84em}
.ww-word-template .ww-sense-number{background:var(--entry-tint);color:var(--entry-ink)}
.ww-word-template .ww-template-note{padding:15px 19px;background:#f2f8ed;border-left:4px solid #81a95c;border-radius:0 5px 5px 0;margin:24px 0;font-size:.93em}
.ww-word-template .ww-template-example{padding:6px 0 15px;margin:16px 0;border-bottom:1px solid #e2ebed}
.ww-word-template .ww-template-example h3{margin-top:10px!important}
.ww-word-template .ww-template-idiom{padding:1px 0 12px;margin:25px 0;border-bottom:1px solid #e2ebed}
.ww-word-template .ww-template-idiom:last-child{border:0}
.ww-word-template .ww-template-idiom p{margin-bottom:14px}
/* Tables belong to the article flow: no nested card, no disclosure, no tabs. */
.ww-word-template .ww-quality-forms,.ww-word-template .ww-template-comparison{border:0!important;border-radius:0!important;background:transparent;box-shadow:none;padding:0!important;margin:17px 0 30px!important;max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}
.ww-word-template .ww-quality-forms table,.ww-word-template .ww-template-comparison table{width:100%;margin:0!important;border-collapse:collapse;border:0;border-radius:0;box-shadow:none;font-size:.85em;line-height:1.55}
.ww-word-template .ww-quality-forms table{min-width:340px}
.ww-word-template .ww-quality-forms table:has(th:nth-child(5)){min-width:550px}
.ww-word-template .ww-template-comparison table{min-width:570px}
.ww-word-template .ww-quality-forms caption,.ww-word-template .ww-template-comparison caption{padding:7px 0 12px;background:transparent;text-align:left;color:#365f73;font-weight:600;caption-side:top}
.ww-word-template .ww-quality-forms th,.ww-word-template .ww-quality-forms td,.ww-word-template .ww-template-comparison th,.ww-word-template .ww-template-comparison td{padding:10px 12px;text-align:left;vertical-align:top;border:0;border-bottom:1px solid #dde7eb;background:transparent}
.ww-word-template .ww-quality-forms thead,.ww-word-template .ww-template-comparison thead{background:var(--entry-tint)}
.ww-word-template .ww-quality-forms tbody tr:nth-child(even),.ww-word-template .ww-template-comparison tbody tr:nth-child(even){background:#f8fafb}
.ww-word-template .ww-quality-forms th[scope="row"]{white-space:nowrap;font-weight:500}
.ww-word-template[data-word-class="Substantiv"] .ww-quality-forms table{min-width:0;table-layout:fixed}
.ww-word-template[data-word-class="Substantiv"] .ww-quality-forms th[scope="row"]{white-space:normal}
.ww-word-template[data-word-class="Substantiv"] .ww-quality-forms th:first-child{width:38%}
.ww-word-template .ww-quality-forms>.tableresp,.ww-word-template .ww-template-comparison>.tableresp{overflow:visible;margin:0;border:0}
.ww-word-template .ww-inline-paradigm{margin:0;padding:0;border:0;background:transparent}
.ww-word-template .ww-inflection-ending{padding:1px 0!important;background:#ffecad;border-radius:2px;color:inherit}
.ww-word-template .ww-quality-forms:focus-visible,.ww-word-template .ww-template-comparison:focus-visible{outline:3px solid #008bc7;outline-offset:3px}
.ww-preview-switch{font:15px/1.5 Wortwuchs,'Trebuchet MS',sans-serif;max-width:1180px;margin:20px auto 0;padding:12px 22px;background:#fff9e7;border:1px solid #eaddb1;border-radius:8px;color:#665b33;display:flex;gap:8px 20px;align-items:center;flex-wrap:wrap}
.ww-preview-switch>span{font-weight:600}.ww-preview-switch a{color:#21657f;text-decoration:underline;text-underline-offset:3px}.ww-preview-switch [aria-current="page"]{font-weight:700}
@media(min-width:1250px){.ww-word-template .ww-profile-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.ww-word-template .ww-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.ww-preview-switch{margin:14px 17px 0;font-size:13px;padding:11px 14px}.ww-word-template .ww-quality-forms th,.ww-word-template .ww-quality-forms td{padding:9px 10px}.ww-word-template .ww-template-note{padding:13px 15px}.ww-word-template .ww-synonym-item{display:block;padding:22px 0}.ww-word-template .ww-synonym-item h3{font-size:1em;margin-bottom:10px!important}.ww-word-template .ww-synonym-item p{font-size:.96em}.ww-word-template .ww-synonym-item .ww-synonym-example{font-size:.91em;padding:10px 12px}.ww-word-template .ww-entry-jumps{gap:10px 19px}}

/* Keep complete inflected forms intact; scroll only the existing table region. */
@media screen{
 .ww-word-template .ww-quality-forms td{white-space:nowrap;overflow-wrap:normal;word-break:normal}
 .ww-word-template[data-word-class="Substantiv"] .ww-quality-forms table{min-width:340px;table-layout:auto}
 .ww-word-template[data-word-class="Substantiv"] .ww-quality-forms th[scope="row"]{white-space:nowrap}
 .ww-word-template[data-word-class="Substantiv"] .ww-quality-forms th:first-child{width:auto}
}
