:root{--green:#285044;--ink:#293d35;--muted:#68756d;--line:#dde5de;--light:#eff5ef;--warm:#ad683a}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:20px}body{margin:0;background:#fcfdfb;color:var(--ink);font:16px/1.75 "Yu Gothic",Meiryo,sans-serif}a{color:inherit;text-underline-offset:4px}button,input,select,textarea{font:inherit}button,summary{cursor:pointer}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #b37b43;outline-offset:3px}h1,h2,p{margin:0}h1,h2{line-height:1.5}h1{font-size:clamp(1.7rem,3vw,2.3rem);letter-spacing:-.025em}h2{font-size:1.1rem}.wrap{width:calc(100% - 64px);max-width:1080px;margin:auto}.header{display:flex;justify-content:space-between;align-items:center;min-height:66px;border-bottom:1px solid var(--line);gap:15px}.brand{text-decoration:none;font-weight:bold;font-size:1rem}.brand span{font-weight:400;color:var(--muted);margin-left:12px;font-size:.75rem;border-left:1px solid var(--line);padding-left:12px}.header-link{font-size:.8rem}.intro{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:28px 0 25px}.eyebrow{font-size:.75rem;letter-spacing:.055em;color:var(--warm);font-weight:700;margin-bottom:8px}.intro p:not(.eyebrow){font-size:.875rem;color:var(--muted);margin-top:10px}.button{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:6px;padding:11px 17px;font-size:.875rem;font-weight:bold;line-height:1.5;text-decoration:none}.primary{color:white;background:var(--green)}.primary:hover:not(:disabled){background:#183c30}.intro-cta{white-space:nowrap}.demo-shell{border:1px solid #cbd9cd;border-radius:10px;background:white;overflow:hidden;box-shadow:0 6px 24px #243d2207}.demo-heading{padding:17px 20px 12px;display:flex;justify-content:space-between;align-items:center;gap:12px}.demo-heading h2{font-size:1.05rem}.sample{font-size:.75rem;color:var(--muted);white-space:nowrap}.filters{display:flex;flex-wrap:wrap;gap:6px;padding:0 20px 12px;border-bottom:1px solid var(--line);align-items:center}.filter{padding:5px 11px;border:1px solid var(--line);border-radius:5px;background:white;color:var(--green);font-size:.8rem}.filter.active{background:var(--green);border-color:var(--green);color:white}.filter span{opacity:.7;margin-left:6px;font-size:.75rem}#search{font-size:.8rem;margin-left:auto;width:200px;border:1px solid var(--line);border-radius:5px;padding:6px 10px;background:#f7f9f5;color:var(--ink)}.gallery-meta{padding:8px 20px;display:flex;justify-content:space-between;align-items:center;gap:8px;color:var(--muted);font-size:.75rem}.hint{margin-left:15px}.quiet{border:0;background:none;color:var(--muted);font-size:.75rem;text-decoration:underline;text-underline-offset:3px}.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:0 20px 16px}.photo-card{border:1px solid var(--line);border-radius:6px;padding:5px;min-width:0}.photo-card:has(input:checked){border-color:var(--green);background:#e9f2e7}.image-button{border:0;padding:0;width:100%;background:#eef0ec;border-radius:4px;overflow:hidden;display:block}.image-button img{display:block;width:100%;height:138px;object-fit:cover;transition:transform .2s}.image-button:hover img{transform:scale(1.035)}.photo-bottom{display:flex;align-items:center;justify-content:space-between;gap:7px;padding:6px 2px 2px}.photo-title{font-size:.75rem;line-height:1.5}.photo-title b{margin-right:5px}.photo-bottom label{font-size:.75rem;white-space:nowrap;display:flex;align-items:center;gap:2px}.photo-bottom input{width:16px;height:16px;accent-color:var(--green)}.photo-card details{font-size:.75rem;color:var(--muted);padding:0 2px}.photo-card summary{text-align:right;line-height:1.5}.photo-card details p{padding-top:6px}.selection-bar{background:var(--light);padding:12px 20px;display:flex;justify-content:space-between;align-items:center;gap:15px;border-top:1px solid var(--line)}.selection-bar b{font-size:.875rem;display:block}.selection-bar #selectedIds{font-size:.75rem;display:block}.selection-actions{display:flex;gap:12px;align-items:center}.selection-actions label{font-size:.75rem;display:flex;align-items:center;gap:7px}select{appearance:none;border:1px solid #b9cbb9;padding:7px 27px 7px 8px;border-radius:5px;background:white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='m2 4 4 4 4-4' fill='none' stroke='%23285044' stroke-width='1.5'/%3E%3C/svg%3E") right 8px center/12px no-repeat;color:var(--ink);font-size:.8rem}.demo-note{font-size:.75rem;color:var(--muted);margin-top:9px}.bottom-grid{display:grid;grid-template-columns:1fr 1fr;gap:35px;margin-top:27px}.howto{padding:7px 0}.howto h2{font-size:1.2rem}.howto ol{list-style:none;padding:0;margin:14px 0 0;counter-reset:steps}.howto li{counter-increment:steps;position:relative;padding-left:32px;margin:9px 0}.howto li::before{content:counter(steps);background:var(--light);color:var(--green);width:23px;height:23px;display:grid;place-items:center;border-radius:50%;position:absolute;left:0;top:2px;font-size:.75rem;font-weight:bold}.howto li b{font-size:.875rem;display:block}.howto li span{font-size:.75rem;color:var(--muted);display:block}.prompt-card{background:var(--light);border:1px solid #d5e2d4;border-radius:8px;padding:20px 24px}.prompt-card h2{font-size:1.15rem}.prompt-card>p:not(.eyebrow){font-size:.8rem;color:var(--muted);margin:9px 0 15px}.prompt-card>.button{width:100%}.prompt-details{margin-top:11px;font-size:.75rem;color:var(--muted)}.prompt-details textarea{display:block;width:100%;margin-top:10px;padding:12px;font-size:.8rem;line-height:1.9;resize:vertical;border:1px solid #bccfba;border-radius:5px;color:var(--ink)}.notes{border-top:1px solid var(--line);margin-top:25px;padding-top:15px;font-size:.75rem;color:var(--muted)}.notes p{margin-top:10px}.footer{margin-top:20px;display:flex;justify-content:space-between;gap:15px;padding:12px 0 20px;font-size:.75rem;color:var(--muted)}.mobile{display:none}.copy-fallback{padding:12px 20px;font-size:.8rem}.copy-fallback textarea{width:100%;display:block;margin-top:6px;padding:10px}#empty{padding:0 20px 20px}dialog{border:0;border-radius:8px;padding:15px;max-width:min(900px,94vw);max-height:94vh;color:var(--ink)}dialog::backdrop{background:#162d25df}dialog img{max-width:100%;max-height:72vh;object-fit:contain;display:block;margin:auto}dialog p{margin-top:8px;font-size:.9rem}#closeLightbox{display:block;margin:0 0 12px auto;border:0;border-radius:5px;background:var(--light);padding:6px 14px;font-size:.875rem}#toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:#173e30;color:white;padding:12px 18px;border-radius:7px;font-size:.875rem;z-index:10;max-width:90vw;opacity:0;pointer-events:none;box-shadow:0 5px 25px #0003}#toast.visible{opacity:1}[hidden]{display:none!important}@media(max-width:850px){.selection-bar{align-items:start}.selection-actions{flex-wrap:wrap;justify-content:end}.photo-bottom{flex-wrap:wrap;gap:2px}.photo-bottom label{margin-left:auto}.intro{gap:15px}.intro-cta{font-size:.8rem;padding:10px 12px}#search{width:175px}.image-button img{height:120px}.bottom-grid{gap:25px}}@media(max-width:600px){.wrap{width:calc(100% - 28px)}.header{min-height:55px}.brand{font-size:.875rem}.brand span{display:none}.header-link{font-size:.75rem}.intro{display:block;padding:20px 0}.intro h1{font-size:1.7rem;line-height:1.4}.intro p:not(.eyebrow){font-size:.8rem;margin-top:8px}.intro-cta{display:none}.mobile{display:block}.eyebrow{font-size:.7rem}.demo-heading{padding:12px 12px 10px;display:block}.demo-heading h2{font-size:.95rem}.sample{font-size:.65rem}.filters{padding:0 12px 10px;gap:5px}.filter{font-size:.75rem;padding:5px 7px}.filter span{margin-left:3px;font-size:.7rem}#search{width:100%;margin:3px 0 0;font-size:.8rem}.gallery-meta{padding:7px 12px;font-size:.7rem}.hint{display:none}.gallery{grid-template-columns:repeat(2,1fr);padding:0 12px 12px;gap:7px}.image-button img{height:105px}.photo-title{font-size:.7rem}.photo-bottom{padding-top:5px;align-items:start}.photo-bottom label{font-size:.7rem}.photo-card details{font-size:.65rem}.selection-bar{padding:10px 12px;display:block}.selection-bar>div:first-child{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.selection-actions{display:flex;justify-content:space-between;gap:8px;margin-top:8px}.selection-actions label>span{display:none}.selection-actions .button{font-size:.75rem;padding:9px 10px;flex:1}.selection-actions select{font-size:.75rem;max-width:130px}.demo-note{font-size:.65rem}.bottom-grid{grid-template-columns:1fr;gap:15px;margin-top:20px}.howto h2{font-size:1.1rem}.howto ol{margin-top:10px}.howto li{margin:7px 0}.prompt-card{padding:17px 18px}.prompt-card h2{font-size:1.05rem}.notes{margin-top:20px}.footer{font-size:.65rem}.selection-bar #selectedIds{font-size:.65rem}.photo-card input{width:15px;height:15px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

.real-example{margin-top:18px;border:1px solid var(--line);border-radius:7px;background:white}.real-example>summary{padding:12px 17px;font-size:.8rem;cursor:pointer}.real-example>summary span{margin-right:14px;color:var(--warm)}.real-example>summary b{font-weight:500}.real-example-body{padding:0 17px 15px}.real-example-body>p{font-size:.8rem;color:var(--muted);margin:0 0 12px}.real-categories{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}.real-categories span{background:#f1f5ee;padding:4px 9px;font-size:.75rem;border-radius:4px;color:var(--muted)}.real-categories .current{background:var(--green);color:white}.real-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.real-gallery figure{margin:0;border:1px solid var(--line);padding:5px;border-radius:5px}.real-gallery .image-button img{height:170px;object-fit:contain;background:#f3f5f1}.real-gallery figcaption{font-size:.75rem;padding:6px 2px;line-height:1.6}.real-gallery figcaption b{margin-right:5px}.real-example-body>.real-example-note{font-size:.75rem;margin:10px 0 0}@media(max-width:600px){.real-example>summary b{display:block;margin-top:3px;font-size:.75rem}.real-example>summary span{font-size:.8rem}.real-gallery{gap:6px}.real-gallery .image-button img{height:110px}.real-gallery figcaption{font-size:.65rem}.real-example-body{padding:0 12px 12px}}

.example-screen{display:block;width:100%;padding:0;border:0;background:white}.example-screen img{display:block;width:100%;height:auto;border:1px solid var(--line);border-radius:5px}
