/* Homepage example only. Real viewer canvas shares the existing finish package. */
.drawing-demo{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);grid-template-rows:1fr auto;gap:28px 44px;align-items:start;padding:42px;border:1px solid #dce4ec;border-radius:20px;background:#f5f5f7}
.drawing-demo-intro{grid-column:1;grid-row:1;min-width:0;padding-top:8px}
.drawing-demo-eyebrow{font-size:15px;font-weight:600;color:#12385c;margin:0 0 22px}
.home-revised .drawing-demo h2{font-size:clamp(40px,3.8vw,52px);line-height:1.08;letter-spacing:-.035em;margin:0;max-width:380px}
.drawing-demo-intro>p:not(.drawing-demo-eyebrow){font-size:19px;line-height:1.55;color:#5c5c63;max-width:400px;margin:26px 0 0}
.drawing-demo-steps{display:grid;gap:14px;counter-reset:drawing-step;list-style:none;padding:0;margin:30px 0 0}
.drawing-demo-steps li{counter-increment:drawing-step;display:flex;gap:13px;align-items:center;font-size:16px;line-height:1.5;color:#465768}
.drawing-demo-steps li::before{content:counter(drawing-step,decimal-leading-zero);display:flex;align-items:center;justify-content:center;width:30px;height:30px;border:1px solid #cdd8e2;border-radius:50%;font-size:12px;font-weight:600;color:#12385c;flex:0 0 30px}
.drawing-demo-actions{grid-column:1;grid-row:2;align-self:end;padding-bottom:5px}
.drawing-demo-actions .btn{min-height:56px;font-size:17px;padding:16px 28px;min-width:235px}
.drawing-demo-actions>p{margin:21px 0 0;font-size:14px;line-height:1.6;color:#626269;max-width:355px}
.drawing-demo-example{grid-column:2;grid-row:1/span 2;min-width:0;background:#fff;border:1px solid #e0e4e9;border-radius:14px;overflow:hidden}
.drawing-demo-process{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 20px;border-bottom:1px solid #edf0f3}
.drawing-demo-section{display:grid;grid-template-columns:84px auto;align-items:center;gap:12px;min-width:0}
.drawing-demo-section img{display:block;width:84px;height:42px;object-fit:contain}
.drawing-demo-section span,.drawing-demo-result-label>span{font-size:12px;font-weight:600;color:#12385c;line-height:1.35}
.drawing-demo-section span{max-width:74px}.drawing-demo-arrow{font-size:19px;color:#7c8d9e}
.drawing-demo-result-label{display:flex;flex-direction:column;gap:4px;min-width:0}.drawing-demo-result-label small{font-size:10px;color:#6a7178;line-height:1.4}
.drawing-demo-render{position:relative;margin:0;background:#f5f5f7}
.drawing-demo-stage{position:relative;isolation:isolate;width:100%;height:320px;overflow:hidden}
.drawing-demo-stage>canvas,.drawing-demo-stage>img{display:block;width:100%;height:100%;object-fit:contain}
.drawing-demo-stage>canvas{position:absolute;inset:0;cursor:grab;touch-action:none}.drawing-demo-stage>canvas:active{cursor:grabbing}
.drawing-demo-stage>canvas:focus-visible{outline:2px solid #1f5fa0;outline-offset:-4px}
.drawing-demo-stage>[hidden],.drawing-demo [hidden]{display:none!important}
.drawing-demo-render figcaption{position:absolute;bottom:12px;left:18px;color:#465768;font-size:12px;line-height:1.4;pointer-events:none}
.drawing-demo-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:12px 16px 0}
.drawing-demo-tools button,.drawing-demo-retry{display:inline-flex;align-items:center;justify-content:center;min-height:36px;border:1px solid #d5dee5;border-radius:7px;background:#fff;color:#12385c;font:500 12px/1.3 Inter,sans-serif;padding:7px 10px;cursor:pointer;touch-action:manipulation;transition:background-color .18s,border-color .18s}
.drawing-demo-tools button[aria-pressed=true]{background:#e8f0f6;border-color:#98adbf}
.drawing-demo-tools button:disabled{color:#8a9299;cursor:default;background:#f6f7f8}
.drawing-demo-tools button:focus-visible,.drawing-demo-swatch:focus-visible,.drawing-demo-retry:focus-visible{outline:2px solid #1f5fa0;outline-offset:3px}
.drawing-demo-zoom{display:flex;align-items:center;margin-left:auto;gap:4px}.drawing-demo-zoom button{font-size:20px;line-height:1;min-width:36px;padding:6px}.drawing-demo-zoom>span{font-size:12px;min-width:37px;text-align:center;color:#526372;font-variant-numeric:tabular-nums}
.drawing-demo-hint{font-size:11px;line-height:1.5;color:#687580;margin:9px 16px 12px}
.drawing-demo-colors{padding:16px 18px 18px;border-top:1px solid #edf0f3}
.drawing-demo-colors>p:first-child{font-size:13px;font-weight:600;color:#4a535c;margin:0 0 11px}
.drawing-demo-swatches{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.drawing-demo-swatch{display:grid;grid-template-columns:34px 1fr;gap:6px 7px;align-content:center;align-items:center;min-width:0;min-height:67px;padding:9px;border:1px solid #dce1e6;border-radius:8px;background:#fff;color:#3d4853;text-align:left;cursor:pointer;font-family:inherit;transition:border-color .18s,background-color .18s;touch-action:manipulation}
.drawing-demo-swatch img{display:block;width:34px;height:17px;border-radius:3px;object-fit:cover}.drawing-demo-swatch strong{font-size:11px;line-height:1.25;font-weight:600}.drawing-demo-swatch>span{grid-column:1/-1;font-size:11px;line-height:1.3}
.drawing-demo-swatch.is-selected{background:#edf3f8;border-color:#12385c;box-shadow:inset 0 0 0 1px #12385c;color:#12385c}
.drawing-demo-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.drawing-demo-status.is-error{position:static;width:auto;height:auto;margin:12px 0 0;overflow:visible;clip-path:none;white-space:normal;font-size:12px;line-height:1.5;color:#526372}.drawing-demo-retry{margin-top:10px}
@media(hover:hover) and (pointer:fine){.drawing-demo-swatch:hover,.drawing-demo-tools button:not(:disabled):hover,.drawing-demo-retry:hover{background:#f0f4f7;border-color:#8399ae}}
@media(min-width:1001px) and (max-width:1150px){.drawing-demo{gap:26px;padding:30px}.home-revised .drawing-demo h2{font-size:43px}.drawing-demo-process{gap:10px;padding-inline:14px}.drawing-demo-section{grid-template-columns:68px auto;gap:9px}.drawing-demo-section img{width:68px}.drawing-demo-stage{height:300px}.drawing-demo-tools{padding-inline:12px;gap:6px}.drawing-demo-tools button{font-size:11px;padding-inline:8px}.drawing-demo-zoom button{font-size:20px}.drawing-demo-zoom{gap:2px}.drawing-demo-colors{padding-inline:14px}}
@media(max-width:1000px){.drawing-demo{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:26px;padding:26px}.home-revised .drawing-demo h2{font-size:37px}.drawing-demo-intro>p:not(.drawing-demo-eyebrow){font-size:17px}.drawing-demo-steps{margin-top:24px;gap:12px}.drawing-demo-steps li{font-size:14px}.drawing-demo-process{gap:9px;padding:13px 12px}.drawing-demo-section{grid-template-columns:55px auto;gap:7px}.drawing-demo-section img{width:55px}.drawing-demo-section span,.drawing-demo-result-label>span{font-size:11px}.drawing-demo-stage{height:280px}.drawing-demo-colors{padding:14px 12px}.drawing-demo-swatch{grid-template-columns:26px 1fr;padding:8px 6px;column-gap:5px}.drawing-demo-swatch img{width:26px;height:15px}.drawing-demo-tools{padding-inline:12px;gap:6px}.drawing-demo-actions .btn{font-size:16px;min-width:0;width:100%}.drawing-demo-actions>p{font-size:13px}.drawing-demo-zoom{margin-left:0}}
@media(max-width:700px){.drawing-demo{grid-template-columns:minmax(0,1fr);gap:26px;padding:24px}.drawing-demo-intro{grid-column:1;grid-row:1;padding:0}.drawing-demo-example{grid-column:1;grid-row:2}.drawing-demo-actions{grid-column:1;grid-row:3;padding:0}.home-revised .drawing-demo h2{font-size:38px;max-width:390px}.drawing-demo-eyebrow{margin-bottom:17px}.drawing-demo-intro>p:not(.drawing-demo-eyebrow){font-size:17px;margin-top:20px;max-width:none}.drawing-demo-steps{display:flex;gap:12px 18px;flex-wrap:wrap;margin-top:22px}.drawing-demo-steps li{font-size:13px;gap:7px}.drawing-demo-steps li::before{width:25px;height:25px;flex-basis:25px;font-size:10px}.drawing-demo-actions .btn{min-height:54px}.drawing-demo-actions>p{text-align:center;max-width:none;margin-top:16px}.drawing-demo-stage{height:270px}.drawing-demo-process{padding:13px 12px;gap:10px}.drawing-demo-section{grid-template-columns:64px auto}.drawing-demo-section img{width:64px;height:38px}.drawing-demo-tools{gap:7px}.drawing-demo-zoom{margin-left:auto}.drawing-demo-swatch{min-height:68px}.drawing-demo-hint{font-size:10px;margin-inline:12px}}
@media(max-width:420px){.drawing-demo-tools{justify-content:space-between}.drawing-demo-tools>button{flex:1}.drawing-demo-zoom{width:100%;justify-content:center;margin-left:0}.drawing-demo-zoom button{min-height:34px}.drawing-demo-swatch>span{font-size:10px}}
@media(max-width:359px){.drawing-demo{padding:18px}.home-revised .drawing-demo h2{font-size:32px}.drawing-demo-intro>p:not(.drawing-demo-eyebrow){font-size:16px}.drawing-demo-stage{height:240px}.drawing-demo-section{grid-template-columns:48px auto;gap:6px}.drawing-demo-section img{width:48px}.drawing-demo-process{gap:6px;padding:12px 9px}.drawing-demo-arrow{font-size:16px}.drawing-demo-section span,.drawing-demo-result-label>span{font-size:10px}.drawing-demo-result-label small{font-size:9px}.drawing-demo-colors{padding:12px 10px}.drawing-demo-swatches{gap:6px}.drawing-demo-swatch{grid-template-columns:22px auto;gap:5px 4px}.drawing-demo-swatch img{width:22px;height:13px}.drawing-demo-swatch strong{font-size:10px}}
@media(prefers-reduced-motion:reduce){.drawing-demo-swatch,.drawing-demo-tools button,.drawing-demo-retry{transition:none}}
