.ew{margin:30px 0}.ew[hidden]{display:none}.ew-head{display:flex;align-items:start;justify-content:space-between;gap:20px;margin-bottom:22px}.ew-head h2{font-size:32px;margin:8px 0}.ew-head p{color:#637985;line-height:1.65;max-width:740px}.ew-layout{display:grid;grid-template-columns:245px minmax(0,1fr);gap:22px}.ew-tools{display:flex;flex-direction:column;gap:8px;align-self:start;position:sticky;top:18px}.ew-tools button{text-align:left;border:1px solid #d9e4e8;border-radius:12px;background:#fff;padding:14px 16px;color:#244756;line-height:1.4}.ew-tools button[aria-pressed=true]{background:#133347;color:white;border-color:#133347}.ew-body{padding:28px;background:white;border:1px solid #dce5e9;border-radius:18px;min-width:0}.ew-body h3{font-size:25px;margin:0 0 12px}.ew-body h4{font-size:18px;margin:25px 0 12px}.ew-description{line-height:1.7;color:#536e7b}.ew-storage,.ew-data{background:#f0f6f7;border-radius:10px;padding:12px 15px;color:#486974;font-size:13px;line-height:1.6;margin:16px 0}.ew-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.ew label:not(.ew-check){display:block;font-size:13px;font-weight:650;line-height:1.6;margin:12px 0;color:#355766}.ew input:not([type=checkbox]),.ew select,.ew textarea{width:100%;box-sizing:border-box;display:block;padding:11px;border:1px solid #c9d9df;border-radius:8px;font:inherit;background:white;color:#173c4f;margin-top:5px}.ew textarea{min-height:105px;resize:vertical}.ew button{cursor:pointer;min-height:42px;padding:10px 14px;border-radius:9px;border:1px solid #c7dce0;background:#f5fafb;color:#17515b;font:inherit;font-size:13px;font-weight:650}.ew button.primary{background:#087b80;color:white}.ew button:disabled{opacity:.5;cursor:wait}.ew-table:focus-visible,.ew button:focus-visible,.ew input:focus-visible,.ew select:focus-visible,.ew textarea:focus-visible{outline:3px solid #40a8ac;outline-offset:2px}.ew-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:20px 0}.ew-check{display:flex;align-items:start;gap:10px;font-size:14px;line-height:1.6;margin:12px 0}.ew-check input{margin-top:5px;width:17px;height:17px;flex-shrink:0}.ew fieldset{border:1px solid #dce6ea;border-radius:12px;padding:15px 20px;margin:20px 0}.ew legend{font-size:14px;font-weight:700;color:#315565;padding:0 8px}.ew-small,.ew-sources p{font-size:12px;color:#65808b;line-height:1.7}.ew-result{padding:15px 0;line-height:1.8;color:#235a62;overflow-wrap:anywhere}.ew-result:empty{display:none}.ew-table{overflow-x:auto;margin:20px 0}.ew table{border-collapse:collapse;width:100%;min-width:600px;font-size:13px}.ew-table button{white-space:nowrap}.ew th{text-align:left;font-size:11px;text-transform:uppercase;letter-spacing:.5px;color:#71848d;background:#f4f8fa}.ew th,.ew td{padding:12px;border-bottom:1px solid #e5ecef;vertical-align:top;line-height:1.65}.ew td{overflow-wrap:anywhere}.ew-empty{color:#70848e;padding:18px;background:#f7fafb;border-radius:10px}.ew-error{color:#9b352b;background:#fff1ed;border:1px solid #f0c2b8;padding:12px;border-radius:9px}.ew-sources{border-top:1px solid #e2ebee;margin:25px 0;padding:15px 0}.ew summary{cursor:pointer;font-size:14px;font-weight:700}.ew-sources button{display:block;margin:9px 0}.ew a{color:#087b80}.ew-compare{display:grid;grid-template-columns:1fr 1fr;gap:16px}.ew-mix-row{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:10px}.ew-case,.ew-learning article{padding:20px;background:#f6fafb;border:1px solid #dce7e9;border-radius:12px;margin:18px 0}.ew-file input{max-width:100%}#ewNotice:empty{display:none}#ewNotice:not(:empty){margin-bottom:16px;padding:12px;background:#eff8f5;border-radius:8px;line-height:1.6}#ewCaseResult{overflow-wrap:anywhere;padding:15px 0;color:#17696b}@media(max-width:850px){.ew-layout{grid-template-columns:1fr}.ew-tools{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.ew-body{padding:20px}.ew-compare{grid-template-columns:1fr}.ew-head{flex-direction:column}}@media(max-width:520px){.ew-fields{grid-template-columns:1fr}.ew-tools button{padding:11px;font-size:12px}.ew-mix-row{grid-template-columns:1fr}.ew-head h2{font-size:27px}}

.ew-head{background:#123247;color:#fff;border-radius:16px;padding:24px 28px}.ew-head h2{color:#fff}.ew-head p{color:#c8dce5}.ew-head .eyebrow{color:#8ed6d3}

.ew-table-hint{display:none}@media(max-width:520px){.ew-table-hint{display:block;font-size:12px;line-height:1.6;color:#486974;margin:16px 0 0}}

/* Keep each source-dashboard label together as a usable keyboard/touch target. */
.ew .ew-data a{display:inline-flex;align-items:center;min-height:32px;padding:3px 2px;white-space:nowrap}

.ew-lesson-result { width: min(17rem, 65vw); }
.ew-lesson-result summary { cursor: pointer; padding-block: .7rem; font-weight: 600; }
.ew-lesson-result summary:focus-visible { outline: 3px solid #40a8ac; outline-offset: 2px; }
.ew-lesson-result p { white-space: normal; overflow-wrap: anywhere; }
