.ed-lead{font-size:18px;max-width:850px;margin:0 0 28px;line-height:1.7}.ed-actions,.ed-pair-controls,.ed-pair-presets{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.ed-actions{margin-top:20px}.ed-copy{font-size:11px;background:transparent;border:1px solid var(--line);border-radius:4px;padding:7px 9px;min-height:32px}.color-facts dd{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}.ed-comparison-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.ed-comparison-swatch{display:flex;align-items:flex-end;padding:20px;min-height:145px;border-radius:10px;border:1px solid #00000015;font-family:ui-monospace,monospace;font-size:13px}.ed-comparison h3{margin:15px 0 8px}.ed-comparison p{font-size:13px;color:var(--muted)}.ed-comparison-grid+.small-note{margin-top:20px}.ed-examples{display:grid;grid-template-columns:1fr 1fr;gap:30px}.ed-example-art{height:340px;background:var(--ex-bg);color:var(--ex-text);border-radius:12px;position:relative;overflow:hidden}.ed-poster-art{padding:28px}.ed-art-kicker{font-size:9px;letter-spacing:.15em;position:relative;z-index:2}.ed-art-disc{position:absolute;right:25px;top:35px;width:180px;height:180px;border-radius:50%;background:var(--ex-main)}.ed-art-block{position:absolute;right:80px;top:95px;width:110px;height:130px;background:var(--ex-accent);transform:rotate(-13deg)}.ed-card-art{padding:20px}.ed-mini-nav{display:flex;justify-content:space-between;font-size:20px}.ed-mini-nav span{font-size:9px;letter-spacing:5px}.ed-mini-card{position:relative;background:var(--ex-surface);padding:22px;margin-top:17px;border-radius:9px;height:253px;overflow:hidden}.ed-mini-tag{font-size:9px;letter-spacing:.12em}.ed-mini-card>i{position:absolute;right:22px;top:40px;width:110px;height:110px;background:var(--ex-main);border-radius:50% 50% 8px 8px}.ed-mini-card>strong{position:relative;display:block;font-size:27px;margin-top:58px;line-height:1.1}.ed-mini-button{display:inline-block;background:var(--ex-accent);border-radius:6px;padding:10px 14px;margin-top:12px;font-size:11px;position:relative}.ed-example>h3{margin:20px 0 10px;font-size:22px}.ed-example>p{font-size:14px}.ed-example-codes{display:flex;gap:7px;flex-wrap:wrap;margin:15px 0}.ed-example-codes button{display:flex;align-items:center;gap:6px;padding:8px 9px;background:#fff;border:1px solid var(--line);border-radius:5px;font-size:11px}.ed-example-codes i{width:12px;height:12px;border-radius:50%;background:var(--chip);border:1px solid #0002}.ed-example .small-note{font-size:11px}.ed-example>.button{margin-top:15px}.ed-notes{display:grid;grid-template-columns:1fr 1fr;gap:45px}.ed-notes h2{font-size:26px;margin-bottom:18px}.ed-notes ul{padding-left:20px}.ed-notes li{line-height:1.7;margin:12px 0;font-size:14px}.ed-notes details{border-bottom:1px solid var(--line);padding:15px 0}.ed-notes summary{cursor:pointer;font-size:15px;line-height:1.5}.ed-notes details p{font-size:13px;margin-top:10px}.ed-field{display:flex;align-items:center;gap:12px;font-size:14px}.ed-field input[type=color]{height:44px;width:64px;border:1px solid var(--line);padding:4px;background:#fff;border-radius:5px;cursor:pointer}.ed-lab-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:center}.ed-text-preview,.ed-pair-preview{border-radius:10px;padding:30px;border:1px solid #0002;display:flex;flex-direction:column;gap:10px;min-height:130px}.ed-text-preview strong,.ed-pair-preview strong{font-size:24px}.ed-text-preview span,.ed-pair-preview span{font-size:14px}.ed-lab-grid .small-note{margin:15px 0}.ed-result{font-size:14px;margin:16px 0}.ed-contrast-reference{display:flex;gap:20px;flex-wrap:wrap;font-size:12px;color:var(--muted)}.ed-pair-lab{background:#fff;padding:28px;border:1px solid var(--line);border-radius:12px}.ed-ratio-label{display:block;font-size:14px;margin-top:24px}.ed-ratio-label output{font-weight:650;margin-left:15px}.ed-ratio-label input{display:block;width:100%;margin:12px 0;accent-color:var(--green)}.ed-ratio-art{height:220px;display:flex;border-radius:8px;overflow:hidden;margin:20px 0 12px}.ed-ratio-art span{min-width:0;display:flex;align-items:flex-end;justify-content:center;padding:20px 2px;font-size:12px;overflow:hidden}.ed-pair-preview{margin-top:22px}.ed-related h2{font-size:27px}.ed-copy-fallback{width:100%;padding:14px;min-height:65px;border:1px solid var(--line);border-radius:5px;font-family:monospace}.ed-catalog-intro{background:#edf1e7;padding:25px;border-radius:10px;margin-bottom:28px}.ed-catalog-intro p{max-width:860px;font-size:14px}.ed-tools-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:25px}.ed-tool-card{background:#fff;border:1px solid var(--line);padding:25px;border-radius:10px;display:flex;flex-direction:column;align-items:flex-start;gap:14px}.ed-tool-card h2{font-size:25px}.ed-tool-card p{font-size:14px;color:var(--muted)}.ed-tool-card>.text-link{margin-top:auto}.ed-copy-status{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:50;background:var(--ink);color:white;padding:10px 18px;border-radius:8px;max-width:90vw;font-size:13px}.ed-copy-status:empty{display:none}
@media(max-width:700px){.ed-lead{font-size:15px}.ed-examples,.ed-notes,.ed-lab-grid,.ed-tools-grid{grid-template-columns:1fr;gap:24px}.ed-comparison-grid{grid-template-columns:1fr 1fr;gap:15px}.ed-comparison-swatch{min-height:120px;padding:14px}.ed-comparison h3{font-size:17px}.ed-example-art{height:315px}.ed-poster-art{padding:22px}.ed-art-disc{width:150px;height:150px;right:18px;top:37px}.ed-mini-card{height:228px;padding:16px}.ed-mini-card>strong{font-size:25px;margin-top:45px}.ed-mini-card>i{width:85px;height:85px}.ed-pair-lab{padding:17px}.ed-ratio-art{height:175px}.ed-pair-controls{gap:15px}.ed-pair-controls .button{font-size:11px}.ed-field{font-size:12px;gap:8px}.ed-actions .button{flex:1;min-width:120px}.ed-text-preview,.ed-pair-preview{padding:22px}.ed-text-preview strong,.ed-pair-preview strong{font-size:22px}.ed-catalog-intro{padding:20px}.ed-tool-card{padding:20px}.ed-example-codes button{font-size:10px;padding:8px 7px}.ed-notes{gap:20px}.ed-notes h2{font-size:24px}}

/* Show the editorial surface behind the main caption, preserving its palette color. */
.ed-poster-art .ed-art-kicker{display:inline-block;background:var(--ex-bg);padding:2px 4px;border-radius:2px}
.ed-poster-caption{position:absolute;left:28px;right:28px;bottom:24px;z-index:2;padding:14px 16px;background:var(--ex-surface);color:var(--ex-text);border-radius:5px}
.ed-poster-caption strong{display:block;font-size:28px;line-height:1.12;font-weight:550;overflow-wrap:break-word}
.ed-poster-caption small{display:block;font-size:10px;line-height:1.4;margin-top:8px}
@media(max-width:700px){.ed-poster-caption{left:22px;right:22px;bottom:20px;padding:12px 14px}.ed-poster-caption strong{font-size:23px}.ed-poster-caption small{font-size:9px}}
/* Shared surfaces keep each example and its explanation in one visible card. */
.ed-comparison,.ed-example,.ed-notes>div,.ed-contrast-lab{background:#fff;border:1px solid var(--line);border-radius:12px;min-width:0}
.ed-comparison{padding:18px}
.ed-comparison h3{overflow-wrap:anywhere}
.ed-example{padding:0 22px 22px;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start}
.ed-example-art{align-self:stretch;flex-shrink:0;margin:0 -22px;border-radius:0}
.ed-example>.button{margin-top:auto}
.ed-example>.small-note{margin-bottom:20px}
.ed-notes{gap:24px;align-items:start}
.ed-notes>div,.ed-contrast-lab{padding:28px}
.ed-notes details:last-child{border-bottom:0}
.ed-related{padding:28px;background:#edf1e7;border:1px solid var(--line);border-radius:12px}
.ed-related .color-chips{margin-top:18px}
@media(max-width:700px){
 .ed-comparison{padding:12px}
 .ed-comparison-swatch{padding:10px;font-size:11px}
 .ed-example{padding:0 18px 20px}
 .ed-example-art{margin-left:-18px;margin-right:-18px}
 .ed-notes>div,.ed-contrast-lab,.ed-related{padding:20px}
 .ed-notes{gap:18px}
}

/* Authored third-color choices use the same card surfaces as the examples. */
.ed-third-colors>.small-note{margin-bottom:20px}.ed-third-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.ed-third-card{min-width:0;display:flex;flex-direction:column;align-items:flex-start;background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px}.ed-third-swatches{display:flex;width:100%;min-height:105px;overflow:hidden;border-radius:8px;border:1px solid #00000015}.ed-third-swatches span{flex:1;min-width:0;display:flex;align-items:flex-end;justify-content:center;padding:12px 2px;font-family:ui-monospace,monospace;font-size:11px}.ed-third-card h3{font-size:21px;margin:20px 0 8px}.ed-third-card>.text-link{font-size:12px;margin:0}.ed-third-card>p{font-size:14px;margin:16px 0 22px}.ed-third-card>.button{margin-top:auto;font-size:12px}
@media(max-width:900px){.ed-third-grid{grid-template-columns:1fr}.ed-third-card{padding:18px}.ed-third-swatches{min-height:100px}}

/* Flat colors and their separately authored highlight gradients. */
.ed-metallic{background:#fff;border:1px solid var(--line);border-radius:12px;padding:28px}
.ed-metallic>p{max-width:900px}.ed-metal-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:24px 0}
.ed-metal-swatch{height:210px;border:1px solid var(--line);border-radius:10px}.ed-metal-grid h3{font-size:21px;margin:14px 0 8px}.ed-metal-grid p{margin:0}
.ed-metal-control{display:block;max-width:620px;margin:24px 0 18px;font-size:14px}.ed-metal-control input{display:block;width:100%;margin-top:14px;accent-color:var(--green)}
.ed-metal-css{display:block;background:#f7f8f4;border:1px solid var(--line);border-radius:8px;padding:16px;font:12px/1.8 monospace;overflow-wrap:anywhere;white-space:normal;margin-bottom:18px}
.ed-metallic .ed-actions{margin-top:20px;flex-wrap:wrap}
@media(max-width:700px){.ed-metallic{padding:18px}.ed-metal-grid{grid-template-columns:1fr;gap:22px}.ed-metal-swatch{height:180px}.ed-metallic .ed-actions .button{max-width:100%;white-space:normal;text-align:center}}

/* Keep small-screen card captions on their own surface, below the illustration. */
@media(max-width:1100px){.ed-examples:not(.pc-examples) .ed-mini-card>i{top:15px;width:75px;height:75px}.ed-examples:not(.pc-examples) .ed-mini-card>strong{margin-top:78px;font-size:23px}}
