/* Local photo-to-sheet showcase; inherits the site's green and warm paper palette. */
.demo-section{background:#edf0e7;border-block:1px solid var(--line,#dce3d8)}
.demo-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:40px;margin-bottom:36px}
.demo-intro h2{white-space:pre-line}
.demo-intro>p{max-width:350px;padding-bottom:5px;color:var(--body,#52645d);font-size:14px}
.demo-workbench{overflow:hidden;border:1px solid #cbd6c5;border-radius:8px;background:#f8faf3;box-shadow:0 18px 48px #163f3a08}
.demo-workbench-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 28px;border-bottom:1px solid #d7dfd1;background:#fffef9}
.demo-workbench-header>span:first-child{font-size:10px;font-weight:650;letter-spacing:.1em;color:#60735f}
.demo-batch-label{font-size:11px;line-height:1.7;color:var(--green,#176b5c)}
.demo-batch-label::before{content:'✓';display:inline-block;margin-right:8px;font-weight:700}
.demo-workbench-body{display:grid;grid-template-columns:220px 38px minmax(0,1fr);align-items:center;gap:25px;padding:30px}
.demo-source{min-width:0;align-self:start}
.demo-source-heading{display:flex;align-items:center;gap:9px;margin-bottom:14px;font-size:12px;font-weight:600}
.demo-source-heading>span{color:#87977f;font-size:10px;font-variant-numeric:tabular-nums}
.demo-source-card{padding:15px 15px 12px;background:#fffef9;border:1px solid #d5dfce;border-radius:5px}
.demo-source-photo{display:block;width:min(100%,150px);margin-inline:auto;border:1px solid #dce3d8;background:#e6ece7}
.demo-source-photo img{width:100%;height:auto;aspect-ratio:2/3;object-fit:contain}
.demo-source-card figcaption{margin-top:12px;text-align:center;font-size:11px;line-height:1.7;color:var(--body,#52645d)}
.demo-source-card figcaption>span{display:block;margin-top:2px;font-size:10px;color:#74826e}
.demo-use-list{display:grid;gap:9px;list-style:none;margin:18px 0 0;padding:0}
.demo-use-list li{display:flex;align-items:center;gap:9px;font-size:12px;line-height:1.7;color:#3c5d4c}
.demo-use-list li::before{content:'✓';display:grid;place-items:center;width:17px;height:17px;flex:0 0 17px;border:1px solid #b8cbb7;border-radius:4px;background:#e8eee2;color:var(--green,#176b5c);font-size:10px;font-weight:700}
.demo-connector{display:flex;flex-direction:column;align-items:center;gap:9px;padding-top:20px;color:var(--green,#176b5c)}
.demo-connector>span{display:grid;place-items:center;width:37px;height:37px;border:1px solid #c8d4bf;border-radius:50%;background:#edf2e7;font-size:21px;line-height:1}
.demo-connector>small{font-size:9px;line-height:1.8;text-align:center;white-space:nowrap;color:#70846a}
.demo-gallery{min-width:0;align-self:stretch;display:flex;flex-direction:column}
.demo-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:15px;padding:5px;border:1px solid #d7e0d0;border-radius:7px;background:#e7eddf}
.demo-tab{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:67px;padding:11px 8px;border:1px solid transparent;border-radius:4px;background:transparent;color:#536b53;font-family:inherit;text-align:center;transition:background .18s,color .18s,border-color .18s}
.demo-tab>span{font-size:12px;font-weight:600;line-height:1.7}
.demo-tab>small{font-size:10px;font-variant-numeric:tabular-nums;line-height:1.6;letter-spacing:.02em}
.demo-tab:hover{background:#f4f7ee;color:var(--ink,#163f3a)}
.demo-tab[aria-selected=true]{border-color:#163f3a;background:var(--ink,#163f3a);color:#fffef8;box-shadow:0 2px 6px #163f3a12}
.demo-panel{min-width:0;flex:1;display:flex;flex-direction:column}
.demo-sheet-figure{display:flex;flex:1;flex-direction:column;min-width:0}
.demo-sheet-stage{position:relative;display:flex;flex:1;align-items:center;justify-content:center;min-height:310px;padding:25px;border:1px solid #d0dccc;border-radius:5px;background:#e4ebde}
.demo-sheet-link{position:relative;display:flex;align-items:center;justify-content:center;width:100%;min-width:0}
.demo-sheet-link img{width:100%;height:auto;max-height:430px;aspect-ratio:3/2;object-fit:contain;filter:drop-shadow(0 6px 10px #163f3a13)}
.demo-sheet-open{position:absolute;top:0;right:0;padding:6px 10px;border:1px solid #d0dbca;border-radius:4px;background:#fffef8f2;color:#365a45;font-size:9px;line-height:1.7;opacity:0;transition:opacity .18s}
.demo-sheet-link:hover .demo-sheet-open,.demo-sheet-link:focus-visible .demo-sheet-open{opacity:1}
.demo-image-status{max-width:270px;padding:50px 15px;color:#60745b;font-size:12px;text-align:center;line-height:1.9}
.demo-sheet-caption{display:flex;justify-content:space-between;align-items:center;gap:15px;padding-top:13px;font-size:11px;line-height:1.8;color:var(--body,#52645d)}
.demo-sheet-caption>strong{font-weight:600;color:var(--ink,#163f3a)}
.demo-sheet-caption>span{font-size:10px;white-space:nowrap;color:#697d61}
.demo-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;list-style:none;margin:0;padding:25px 30px 26px;border-top:1px solid #d7dfd1;background:#fffef8}
.demo-steps li{position:relative;display:flex;align-items:flex-start;gap:12px;min-width:0;padding-right:20px}
.demo-steps li+li{padding-left:22px;border-left:1px solid #dce4d6}
.demo-step-number{padding-top:3px;color:#8b9a80;font-size:10px;font-variant-numeric:tabular-nums;line-height:1.8}
.demo-steps h3{font-size:13px;font-weight:600;line-height:1.8}
.demo-steps p{margin-top:5px;color:var(--body,#52645d);font-size:11px;line-height:1.9}
.demo-notes{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-top:18px;color:#65795f;font-size:11px;line-height:1.9}
.demo-notes>p:first-child{flex-shrink:0;color:var(--green,#176b5c);font-weight:600}
.demo-notes>p:last-child{text-align:right}
.demo-noscript{margin-top:12px;color:var(--body,#52645d);font-size:12px}
.demo-noscript a{text-decoration:underline;text-underline-offset:3px}
.demo-section [hidden]{display:none!important}
@media(max-width:1100px){.demo-workbench-body{grid-template-columns:180px 30px minmax(0,1fr);gap:18px;padding:24px}.demo-source-card{padding:13px 12px 11px}.demo-source-photo{width:min(100%,140px)}.demo-sheet-stage{padding:18px;min-height:290px}.demo-steps{padding:24px}.demo-steps li{gap:9px;padding-right:14px}.demo-steps li+li{padding-left:15px}.demo-tab>span{font-size:11px}.demo-tab>small{font-size:9px}.demo-sheet-caption{align-items:flex-start;gap:8px;flex-direction:column}.demo-sheet-caption>span{white-space:normal}}
@media(max-width:760px){.demo-intro{display:block;margin-bottom:27px}.demo-intro>p{max-width:500px;margin-top:18px;padding-bottom:0;font-size:13px}.demo-workbench-header{padding:14px 18px;gap:12px;flex-wrap:wrap}.demo-workbench-header>span:first-child{font-size:9px}.demo-batch-label{font-size:10px}.demo-workbench-body{grid-template-columns:minmax(0,1fr);gap:18px;padding:20px 18px}.demo-source{display:grid;grid-template-columns:113px minmax(0,1fr);column-gap:20px;align-items:center}.demo-source-heading{grid-column:1/-1;margin-bottom:12px;font-size:12px}.demo-source-card{padding:9px 9px 8px}.demo-source-photo{width:100%}.demo-source-card figcaption{margin-top:7px;font-size:9px}.demo-source-card figcaption>span{font-size:8px}.demo-use-list{margin:0;gap:15px}.demo-use-list li{align-items:flex-start;gap:8px;font-size:12px}.demo-use-list li::before{margin-top:2px}.demo-connector{flex-direction:row;justify-content:center;gap:10px;padding:0}.demo-connector>span{width:28px;height:28px;font-size:16px;transform:rotate(90deg)}.demo-connector>small{font-size:10px}.demo-connector br{display:none}.demo-tabs{margin-bottom:12px;gap:3px;padding:4px}.demo-tab{min-height:64px;padding:9px 4px;gap:3px}.demo-tab>span{font-size:11px;line-height:1.6}.demo-tab>small{font-size:9px;letter-spacing:0}.demo-sheet-stage{min-height:205px;padding:15px}.demo-sheet-link img{max-height:380px}.demo-sheet-open{position:static;display:none}.demo-sheet-caption{flex-direction:row;align-items:flex-start;font-size:10px;gap:10px}.demo-sheet-caption>strong{max-width:70%}.demo-sheet-caption>span{font-size:9px;white-space:nowrap;padding-top:1px}.demo-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:21px 0;padding:22px 18px}.demo-steps li{gap:9px;padding-right:14px}.demo-steps li+li{padding-left:15px}.demo-steps li:nth-child(3){padding-left:0;border-left:0}.demo-steps h3{font-size:12px}.demo-steps p{font-size:10px}.demo-notes{display:block;margin-top:16px;font-size:10px}.demo-notes>p:last-child{text-align:left;margin-top:5px}}
@media(max-width:360px){.demo-workbench-body{padding-inline:14px}.demo-source{grid-template-columns:100px minmax(0,1fr);column-gap:14px}.demo-use-list li{font-size:11px}.demo-tab>span{font-size:10px}.demo-tab>small{font-size:8px}.demo-sheet-stage{min-height:185px;padding:11px}.demo-steps{padding-inline:14px}.demo-sheet-caption{flex-direction:column;gap:3px}.demo-sheet-caption>strong{max-width:100%}}
@media(prefers-reduced-motion:reduce){.demo-tab,.demo-sheet-open{transition:none}}

/* Two genuine sheets from the same prepared source, at their original aspect ratio. */
.demo-size-comparison{margin-top:42px;padding-top:32px;border-top:1px solid #cbd7c3}
.demo-size-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:23px}
.demo-size-intro h3{font-size:clamp(22px,2.2vw,28px);font-weight:600;line-height:1.65;letter-spacing:-.6px;color:var(--ink,#163f3a)}
.demo-size-intro p{margin-top:10px;font-size:13px;line-height:1.9;color:var(--body,#52645d)}
.demo-size-paper{flex-shrink:0;display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid #c4d2bb;border-radius:5px;color:var(--green,#176b5c);font-size:11px;line-height:1.7;white-space:nowrap;background:#f4f7ed}
.demo-size-paper::before{content:'▱';font-size:18px;line-height:1}
.demo-size-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.demo-size-card{min-width:0;overflow:hidden;border:1px solid #cbd7c3;border-radius:6px;background:#fffef9;box-shadow:0 8px 24px #163f3a06}
.demo-size-image{display:block;padding:23px;background:#e2e9db;border-bottom:1px solid #d3decb}
.demo-size-image img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;filter:drop-shadow(0 5px 8px #163f3a14)}
.demo-size-image:focus-visible{outline:3px solid var(--coral,#ed765c);outline-offset:-5px}
.demo-size-caption{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 20px 18px;font-size:12px;line-height:1.8;color:var(--ink,#163f3a)}
.demo-size-caption strong{display:block;font-weight:600;line-height:1.85}
.demo-size-caption small{display:block;margin-top:3px;color:#718369;font-size:10px;font-weight:400;line-height:1.7}
.demo-size-caption>span{flex-shrink:0;font-size:10px;color:var(--green,#176b5c);white-space:nowrap}
@media(max-width:1100px){.demo-size-grid{gap:19px}.demo-size-image{padding:18px}.demo-size-caption{padding:15px 17px;gap:10px;font-size:11px}.demo-size-caption>span{font-size:9px}}
@media(max-width:760px){.demo-size-comparison{margin-top:31px;padding-top:26px}.demo-size-intro{display:block;margin-bottom:19px}.demo-size-intro h3{font-size:23px;letter-spacing:-.4px}.demo-size-intro p{margin-top:10px;font-size:12px}.demo-size-paper{margin-top:15px;padding:6px 10px;font-size:10px}.demo-size-grid{grid-template-columns:minmax(0,1fr);gap:18px}.demo-size-image{padding:18px}.demo-size-caption{padding:15px 17px;font-size:12px}.demo-size-caption>span{font-size:10px}}
@media(max-width:360px){.demo-size-intro h3{font-size:21px}.demo-size-image{padding:13px}.demo-size-caption{align-items:flex-start;padding:13px 14px;font-size:11px;gap:9px}.demo-size-caption>span{padding-top:2px;font-size:9px}}
