.dtwd-panel{margin:22px 0;padding:22px;border:1px solid #dce6df;border-radius:24px;background:#fffdf6;color:#294c59;font:inherit;line-height:1.6}.dtwd-panel summary{cursor:pointer;font-size:1.15rem;font-weight:750;padding:4px 0}.dtwd-brand{display:block;font:800 .69rem/1.8 system-ui,sans-serif;letter-spacing:.18em;color:#8b6b34}.dtwd-hint,.dtwd-counts{font-size:.86rem;color:#5b747a;margin:10px 0}.dtwd-counts{padding:9px 12px;background:#edf5ee;border-radius:10px}.dtwd-counts:empty{display:none}.dtwd-controls{display:grid;grid-template-columns:2fr 1fr 1fr;gap:10px;margin:16px 0}.dtwd-controls input,.dtwd-controls select,.dtwd-editor input,.dtwd-editor select,.dtwd-editor textarea{width:100%;min-width:0;box-sizing:border-box;background:#fff;border:1px solid #b8ced0;border-radius:10px;padding:10px;font:inherit;color:#294c59}.dtwd-controls .dtwd-field{grid-column:1/-1;display:flex;flex-direction:row-reverse;justify-content:flex-end;align-items:center}.dtwd-controls .dtwd-field input[type=checkbox]{width:auto}.dtwd-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.dtwd-card{display:flex;flex-direction:column;align-items:center;gap:6px;background:white;border:1px solid #e0e8df;padding:13px;border-radius:17px;text-align:center;min-width:0}.dtwd-card img{display:block;width:100%;max-width:180px;height:115px;object-fit:contain;margin:0 auto 7px}.dtwd-card p{margin:3px 0 0;font-size:.88rem;overflow-wrap:anywhere}.dtwd-card-compare{color:#80682f;font-size:.75rem}.dtwd-word,.dtu-app button.dtwd-word{display:inline!important;font:inherit!important;font-weight:700!important;color:#176a78!important;background:transparent!important;border:0!important;border-bottom:1px dotted #5797a0!important;border-radius:0!important;padding:0 2px!important;min-height:0!important;cursor:help!important;white-space:normal!important;line-height:inherit!important}.dtwd-word:focus-visible,.dtwd-panel :focus-visible,.dtwd-popover :focus-visible,.dtwd-editor :focus-visible{outline:3px solid #3996ac;outline-offset:3px}.dtwd-panel button:not(.dtwd-word),.dtu-app .dtwd-panel button:not(.dtwd-word),.dtwd-popover .dtwd-edit-link,.dtwd-editor button{font:inherit;font-size:.88rem;color:#246174!important;background:white;border:1px solid #bfd4d6;border-radius:12px;padding:9px 14px;cursor:pointer;margin-top:10px;min-height:44px}.dtwd-panel button:disabled,.dtwd-editor button:disabled{cursor:wait;opacity:.6}.dtwd-panel .dtwd-card-trigger,.dtu-app .dtwd-panel button.dtwd-card-trigger{display:block!important;width:100%!important;border-bottom:0!important;text-align:center!important}.dtwd-card-word{border-bottom:1px dotted #5797a0}.dtwd-card .dtwd-card-edit{font-size:.75rem!important;padding:6px 9px!important;margin-top:auto!important}.dtwd-status{font-size:.85rem;color:#4f7278;margin:10px 0;min-height:1.5em}.dtwd-empty{grid-column:1/-1}.dtwd-popover{position:fixed;z-index:2147483000;box-sizing:border-box;max-height:calc(100vh - 20px);overflow:auto;overscroll-behavior:contain;background:#fffef8;color:#284958;border:1px solid #b8d0cc;border-radius:20px;box-shadow:0 16px 48px #29495838;padding:17px;font:15px/1.6 system-ui,sans-serif;text-align:start}.dtwd-popover-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.dtwd-popover-heading strong{font-size:1.3rem;color:#215b6a}.dtwd-popover p{margin:7px 0;overflow-wrap:anywhere;white-space:normal}.dtwd-popover h4{font-size:.75rem;font-weight:700;color:#60777b;text-transform:uppercase;letter-spacing:.04em;margin:14px 0 7px}.dtwd-meaning{font-size:1.12rem;font-weight:700}.dtwd-definition,.dtwd-sense{font-size:.85rem;color:#5e747e}.dtwd-sense{font-style:italic}.dtwd-examples{list-style:decimal;padding:10px 12px 10px 30px!important;margin:5px 0;background:#edf5f1;border-radius:12px}.dtwd-examples li{margin:5px 0;padding-inline-start:3px;overflow-wrap:anywhere}.dtwd-popover small{font-size:.74rem;color:#647b83}.dtwd-popover button.dtwd-close,.dtu-app .dtwd-popover button.dtwd-close{font:22px/1 system-ui!important;min-height:44px!important;min-width:44px!important;background:#edf3ef!important;color:#335d65!important;border:0!important;padding:3px!important;border-radius:50%!important;cursor:pointer}.dtwd-visuals{display:grid;grid-template-columns:1fr;gap:9px;margin:10px 0}.dtwd-visuals-compare{grid-template-columns:1fr 1fr}.dtwd-figure{min-width:0;margin:0;padding:9px;background:#fff;border:1px solid #e1e6df;border-radius:12px;align-self:start}.dtwd-figure img{display:block;object-fit:contain;width:100%;height:135px;margin:0 auto}.dtwd-figure figcaption{font-size:.8rem;text-align:center;color:#526d73;margin-top:5px;overflow-wrap:anywhere}.dtwd-compare-label{font-size:.78rem;color:#8a642c;text-align:center}.dtwd-image-pending{display:flex;align-items:center;justify-content:center;min-height:60px;padding:12px;background:#f0f3ed;border:1px dashed #bfcec5;border-radius:10px;color:#6c8177;font-size:.75rem}.dtwd-comparison-word{align-self:center;text-align:center;font-weight:700}.dtwd-lesson-meaning{padding:8px 10px;background:#fcf0d9;border-radius:10px;font-size:.88rem}.dtwd-lesson-meaning small{color:#785b35}.dtwd-error{color:#9d3e2d}.dtwd-editor{width:min(790px,calc(100vw - 30px));max-height:calc(100vh - 40px);overflow:auto;overscroll-behavior:contain;box-sizing:border-box;border:1px solid #b8d0cc;border-radius:22px;padding:25px;background:#fffef8;color:#284958;font:15px/1.55 system-ui,sans-serif;box-shadow:0 20px 80px #193f4b44}.dtwd-editor::backdrop{background:#173c4d77}.dtwd-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.dtwd-editor h2{font-size:1.3rem;margin:0}.dtwd-editor-heading button{margin:0}.dtwd-editor-note{font-size:.83rem;color:#5c737b}.dtwd-editor-status{min-height:1.5em;padding:5px 0;font-size:.9rem;color:#6d5531}.dtwd-editor-status:not(:empty){border-bottom:1px solid #e3ddca}.dtwd-editor-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.dtwd-field{display:flex;flex-direction:column;gap:5px;margin:10px 0;font-size:.85rem;font-weight:600}.dtwd-field input[type=checkbox]{width:22px;height:22px;accent-color:#276f77}.dtwd-editor-fields .dtwd-field:has(textarea){grid-column:1/-1}.dtwd-editor textarea{min-height:90px;resize:vertical}.dtwd-editor fieldset{margin:18px 0;padding:13px 15px;border:1px solid #d5e1d7;border-radius:14px;min-width:0}.dtwd-editor legend{font-size:.85rem;font-weight:700;padding:0 5px}.dtwd-editor-image{display:grid;grid-template-columns:110px 1fr 1fr;gap:9px;align-items:center;margin:10px 0;padding:10px;border:1px solid #e0e6dc;border-radius:12px}.dtwd-editor-image img{width:110px;height:100px;object-fit:contain;grid-row:span 2}.dtwd-editor-image .dtwd-field{margin:0}.dtwd-editor-image button{margin:0}.dtwd-compare-preview img{max-height:130px;object-fit:contain}.dtwd-editor-actions{display:flex;flex-wrap:wrap;gap:10px;position:sticky;bottom:-25px;background:#fffef8;border-top:1px solid #d9e4da;padding:12px 0;margin-top:15px}.dtwd-editor .dtwd-primary{background:#246979;color:#fff!important;border-color:#246979}.dtwd-editor input:disabled,.dtwd-editor textarea:disabled{opacity:.6}.dtwd-panel [hidden],.dtwd-popover [hidden],.dtwd-editor [hidden]{display:none!important}@media(max-width:720px){.dtwd-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:560px){.dtwd-panel{padding:16px;border-radius:18px}.dtwd-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dtwd-controls{grid-template-columns:1fr 1fr}.dtwd-controls input[type=search]{grid-column:1/-1}.dtwd-card{padding:11px}.dtwd-card img{height:100px}.dtwd-popover{font-size:14px}.dtwd-editor{padding:17px;width:calc(100vw - 18px);max-height:calc(100vh - 18px)}.dtwd-editor-fields{grid-template-columns:1fr}.dtwd-editor-image{grid-template-columns:80px 1fr}.dtwd-editor-image img{width:80px;height:80px}.dtwd-editor-image .dtwd-field{grid-column:2}.dtwd-editor-actions{bottom:-17px}.dtwd-figure img{height:110px}}
/* Feedback-local word editor: no modal, nested form, or page navigation. */
.dtwd-inline-editor{box-sizing:border-box;min-width:0;margin:12px 0;padding:16px;border:1px solid #c9ded8;border-radius:17px;background:#f8fcf8;color:#294c59;font:inherit;line-height:1.5}.dtwd-inline-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.dtwd-inline-heading h4{margin:0!important;font-size:.95rem!important;color:#255d66}.dtwd-inline-editor .dtwd-inline-close,.dtwd-inline-editor button{font:inherit!important;font-size:.82rem!important;min-height:40px!important;white-space:normal!important;box-sizing:border-box;cursor:pointer;border:1px solid #bfd3d2!important;border-radius:10px!important;padding:8px 12px!important;background:#fff!important;color:#255f6d!important;width:auto!important;max-width:100%;margin:0!important}.dtwd-inline-editor .dtwd-inline-primary{background:#276d75!important;border-color:#276d75!important;color:#fff!important}.dtwd-inline-editor button:disabled{opacity:.6;cursor:wait}.dtwd-inline-main{display:grid;grid-template-columns:1fr 2fr;gap:10px}.dtwd-inline-main .dtwd-field:last-child{grid-column:1/-1}.dtwd-inline-editor .dtwd-field{font-size:.82rem;gap:4px;margin:8px 0;font-weight:650;min-width:0}.dtwd-inline-editor input:not([type=file]),.dtwd-inline-editor textarea{box-sizing:border-box!important;width:100%!important;min-width:0!important;border:1px solid #b8cecb!important;border-radius:10px!important;background:#fff!important;color:#244c55!important;font:inherit!important;line-height:1.5!important;padding:9px 11px!important;margin:0!important;min-height:42px!important}.dtwd-inline-editor textarea{resize:vertical;min-height:67px!important}.dtwd-inline-editor input[readonly]{background:#eef5f0!important;color:#526c70!important}.dtwd-inline-editor .dtwd-inline-status,.dtwd-inline-editor .dtwd-inline-note{font-size:.79rem;color:#647a7d;line-height:1.5;margin:7px 0;overflow-wrap:anywhere}.dtwd-inline-editor .dtwd-inline-status:not(:empty){padding:8px 10px;background:#edf4ed;border-radius:9px}.dtwd-inline-editor details{border:0;padding:0;margin-top:10px}.dtwd-inline-editor summary{font-size:.82rem!important;font-weight:650;cursor:pointer;color:#3e6870;padding:7px 0;white-space:normal}.dtwd-inline-languages{display:block}.dtwd-inline-languages[open]{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px}.dtwd-inline-languages>summary{grid-column:1/-1}.dtwd-inline-picture-title{font-weight:700;font-size:.82rem;margin:12px 0 7px}.dtwd-inline-picture{display:grid;grid-template-columns:90px 1fr auto;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid #e1ebe4}.dtwd-inline-picture-preview{margin:0;max-width:220px;border:1px solid #e0e8df;border-radius:10px;padding:7px;background:white}.dtwd-inline-picture-preview img{display:block;width:100%;height:100px;object-fit:contain}.dtwd-inline-picture-preview figcaption{font-size:.72rem;color:#697b7c}.dtwd-inline-picture .dtwd-inline-picture-preview img{height:70px}.dtwd-inline-upload{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:.82rem;font-weight:650;margin-top:10px}.dtwd-inline-upload input{font:inherit!important;min-width:0;max-width:100%;height:auto!important;width:auto!important;background:transparent!important;border:0!important;padding:0!important}.dtwd-inline-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.dtwd-inline-editor :focus-visible{outline:3px solid #36929c!important;outline-offset:2px}.dtwd-inline-editor [hidden]{display:none!important}.dtwd-main-example{padding:11px 13px;background:#edf5f1;border-radius:12px;font-size:.95rem}.dtwd-more-examples,.dtwd-upgrade{margin-top:12px;border-top:1px solid #e2e9e3;padding-top:7px}.dtwd-more-examples summary,.dtwd-upgrade summary{font-size:.8rem;cursor:pointer;color:#4e7277;padding:4px 0;font-weight:650}.dtwd-upgrade-basic{font-size:.85rem;color:#62777b}.dtwd-upgrade-improved{font-size:.9rem;color:#255e6b;font-weight:650}.dtwd-upgrade-note{font-size:.78rem;color:#6d7877}@media(max-width:560px){.dtwd-inline-editor{padding:12px;border-radius:14px}.dtwd-inline-main,.dtwd-inline-languages[open]{grid-template-columns:1fr}.dtwd-inline-main .dtwd-field:last-child{grid-column:auto}.dtwd-inline-picture{grid-template-columns:74px 1fr}.dtwd-inline-picture button{grid-column:2;justify-self:start}.dtwd-inline-actions>button{flex:1 1 160px}.dtwd-inline-heading h4{font-size:.9rem!important}}
.dtwd-dictionary-reference{margin:8px 0}.dtwd-dictionary-reference summary{font-size:.76rem;color:#6b7e81;cursor:pointer}.dtwd-dictionary-reference p{padding-left:9px;border-left:2px solid #d9e6e0}
/* The ring identifies one object without cropping or changing the licensed image. */
.dtwd-photo-frame,.dtwd-photo-focus{display:block;position:relative;width:100%;height:auto;line-height:0;margin:0 auto}
.dtwd-photo-frame>img,.dtwd-photo-focus>img{display:block!important;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;object-fit:initial!important;margin:0!important}
.dtwd-focus-marker{display:block;box-sizing:border-box;position:absolute;width:34px;height:34px;border:3px solid #0c7080;border-radius:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 2px #fff,0 1px 6px #163d4d66;pointer-events:none}
.dtwd-focus-marker[hidden]{display:none!important}
.dtwd-card .dtwd-photo-frame{max-width:180px;margin-bottom:7px}
.dtwd-card .dtwd-focus-marker{width:28px;height:28px}
.dtwd-figure>.dtwd-photo-frame{margin-top:auto}
.dtwd-editor-image>.dtwd-photo-frame{width:110px;grid-row:span 2}
.dtwd-inline-picture .dtwd-focus-marker,.dtwd-editor-image .dtwd-focus-marker{width:22px;height:22px;border-width:2px}
.dtwd-compare-preview>.dtwd-photo-frame{max-width:240px;margin:0}
@media(max-width:560px){.dtwd-editor-image>.dtwd-photo-frame{width:80px}.dtwd-card .dtwd-focus-marker{width:24px;height:24px}}
.dtwd-more-pictures,.dtwd-sources{margin-top:12px;padding-top:7px;border-top:1px solid #e2e9e3}.dtwd-more-pictures summary,.dtwd-sources summary{font-size:.74rem;color:#6c7e7d;cursor:pointer}.dtwd-sources p,.dtwd-sources a{font-size:.71rem;color:#6d7d7e;line-height:1.5}.dtwd-sources a{color:#31727d;text-decoration:underline}.dtwd-more-pictures .dtwd-figure{margin-top:8px}
/* Each comparison tile shows a single concept. Text and a check identify the learned word. */
.dtwd-visuals-contrast{align-items:stretch;gap:10px}.dtwd-visuals-contrast .dtwd-figure{display:flex;flex-direction:column;align-self:stretch;padding:10px;border-radius:14px}.dtwd-visuals-contrast .dtwd-figure-target{border:2px solid #227d7f;background:#f2faf6;box-shadow:0 0 0 2px #227d7f12}.dtwd-visuals-contrast .dtwd-figure-contrast{border:1px solid #d6dfdd;background:#fafbf8}.dtwd-visuals-contrast .dtwd-comparison-caption{display:flex;flex-direction:column;align-items:center;gap:3px;margin:0 0 9px;text-align:center;line-height:1.35}.dtwd-figure-tag{display:inline-block;font-size:.64rem;font-weight:750;letter-spacing:.02em;color:#617579}.dtwd-figure-target .dtwd-figure-tag{color:#176b70}.dtwd-figure-word{display:block;font-size:1.15rem;font-weight:800;letter-spacing:.025em;text-transform:uppercase;color:#244f5b}.dtwd-figure-target .dtwd-figure-word{color:#155f67}.dtwd-figure-meaning{font-size:.8rem;font-weight:650;color:#526e70;overflow-wrap:anywhere}.dtwd-visuals-contrast .dtwd-figure img{height:145px;background:white;border-radius:9px;margin-top:auto}.dtwd-visuals-contrast+.dtwd-compare-label{display:none}@media(max-width:420px){.dtwd-visuals-contrast{gap:7px}.dtwd-visuals-contrast .dtwd-figure{padding:7px}.dtwd-visuals-contrast .dtwd-figure img{height:115px}.dtwd-figure-word{font-size:1rem}.dtwd-figure-tag{font-size:.59rem}.dtwd-figure-meaning{font-size:.75rem}}
/* Keep the browsing grid even while the full photo remains available on its word card. */
.dtwd-card .dtwd-photo-frame:not(.dtwd-photo-focus)>img{height:115px!important;object-fit:contain!important}
.dtwd-inline-attribution{display:block;font:400 .7rem/1.45 system-ui,sans-serif!important;color:#536d73!important;text-align:center;overflow-wrap:anywhere;margin:5px 0 0}.dtwd-inline-attribution a{color:#236a78!important;text-decoration:underline}.dtwd-card>.dtwd-inline-attribution{margin:-2px 0 2px}.dtwd-editor-picture-preview,.dtwd-comparison-picture-preview{margin:0;min-width:0}.dtwd-editor-picture-preview{width:110px;grid-row:span 2}.dtwd-editor-picture-preview .dtwd-photo-frame{width:100%}.dtwd-comparison-picture-preview{max-width:240px}.dtwd-comparison-picture-preview .dtwd-photo-frame{margin:0}.dtwd-card-trigger>.dtwd-card-word:not(:last-child){display:block;margin-bottom:5px}@media(max-width:560px){.dtwd-editor-picture-preview{width:80px}}
.dtwd-figure>.dtwd-photo-frame:not(.dtwd-photo-focus)>img{max-height:300px!important;object-fit:contain!important}
@media(max-width:560px){.dtwd-card .dtwd-photo-frame:not(.dtwd-photo-focus)>img{height:100px!important}}
/* Browse pictured words first; text-only search results stay compact and useful. */
.dtwd-controls .dtwd-picture-filter{margin:0;padding:8px 11px;border-radius:10px;background:#f0f6f1;font-size:.82rem;font-weight:650;gap:8px}.dtwd-picture-filter input:disabled{opacity:.55}.dtwd-filter-note{font-size:.78rem;color:#607b7d;margin:-5px 0 10px}.dtwd-filter-note:empty{display:none}.dtwd-card-text{align-self:start;align-items:stretch;text-align:start;gap:4px;padding:14px 16px}.dtwd-card-text .dtwd-card-trigger,.dtu-app .dtwd-panel .dtwd-card-text button.dtwd-card-trigger{text-align:start!important;min-height:0!important}.dtwd-text-available{display:block;font-size:.73rem;line-height:1.45;color:#6a817c;margin:4px 0}.dtwd-entry-body>.dtwd-text-available{padding:0;margin:4px 0 10px;background:none;border:0;min-height:0}.dtwd-topic-editor{margin:12px 0;padding:9px 0;border-top:1px solid #dce6dd}.dtwd-topic-editor>summary{font-size:.82rem;font-weight:650;color:#416c72;cursor:pointer}.dtwd-topic-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px 9px;margin-top:10px}.dtwd-topic-choices>label{display:flex;align-items:center;gap:7px;margin:0;padding:7px 8px;background:#f0f6f0;border:1px solid #dce7dc;border-radius:9px;font-size:.8rem;line-height:1.35;cursor:pointer;min-width:0}.dtwd-topic-choices input[type=checkbox],.dtwd-inline-editor .dtwd-topic-choices input[type=checkbox]{flex:0 0 18px!important;width:18px!important;height:18px!important;min-height:18px!important;padding:0!important;margin:0!important;accent-color:#276e77}.dtwd-topic-choices span{overflow-wrap:anywhere}@media(max-width:560px){.dtwd-topic-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.dtwd-card-text{padding:12px}}

/* Group the expanded topics inside the existing optional editor. */
.dtwd-topic-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:10px;margin-top:10px}.dtwd-topic-groups>.dtwd-topic-group,.dtwd-editor .dtwd-topic-groups>.dtwd-topic-group{margin:0;padding:8px;border:1px solid #dce6dd;border-radius:11px;min-width:0}.dtwd-topic-group>legend{font-size:.76rem;font-weight:700;color:#4f7175;padding:0 4px}.dtwd-topic-group .dtwd-topic-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin:2px 0 0}.dtwd-topic-group .dtwd-topic-choices>label{padding:7px 6px;font-size:.76rem;min-height:30px}.dtwd-empty{padding:14px 16px;border:1px solid #dbe7df;border-radius:12px;background:#f3f8f3}.dtwd-empty p{margin:0}.dtwd-panel .dtwd-empty .dtwd-show-text{margin-top:10px;background:#e6f2eb;color:#225f68!important;border-color:#a8c9ba}@media(max-width:560px){.dtwd-topic-groups{grid-template-columns:1fr}.dtwd-topic-group .dtwd-topic-choices>label{min-height:32px}}

/* Keep checkbox controls visible even when a WordPress theme resets inputs. */
.dtwd-controls .dtwd-field input[type=checkbox],.dtwd-controls .dtwd-picture-filter input[type=checkbox]{display:inline-block!important;width:18px!important;min-width:18px!important;max-width:18px!important;height:18px!important;min-height:18px!important;max-height:18px!important;flex:0 0 18px!important;padding:0!important;box-sizing:border-box!important;accent-color:#276e77;vertical-align:middle}.dtwd-card-image-label{display:block;font-size:.66rem;font-weight:500;line-height:1.35;color:#657d78;margin:2px 0 5px}

.dtwd-official-reference{display:inline-flex;align-items:center;min-height:40px;padding:3px 11px;margin:3px 0 9px;border:1px solid #c8dbd2;border-radius:10px;color:#246575;text-decoration:underline;background:#f1f7f1;font-size:.8rem;line-height:1.4}

.dtwd-photo-description{font-size:13px;line-height:1.5;color:#475569;margin:5px 0 0;text-align:left;}
