:root{font-family:-apple-system,BlinkMacSystemFont,Hiragino Sans,Noto Sans JP,sans-serif;color:#253c38;background:#f7f5f0;font-synthesis:none;--green:#234f48;--muted:#77817b;--line:#dedfd5;--paper:#fffefa}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,label{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.42;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #bf8651;outline-offset:3px}button[hidden],[hidden]{display:none!important}.topbar{height:90px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 5%;background:#f7f5f0}.brand{display:flex;gap:13px;align-items:center;text-decoration:none;color:var(--green);font-size:20px;font-weight:650;letter-spacing:.04em}.brand small{display:block;font-size:9px;letter-spacing:.2em;color:#86908a;margin-top:5px}.brand-icon{display:grid;place-items:center;width:40px;height:46px;border:1px solid var(--green);border-radius:20px 20px 5px 5px;font-family:Georgia,serif;font-size:31px;font-weight:400}.local-badge{font-size:11px;color:#63756b;letter-spacing:.03em}main{max-width:1260px;margin:auto;padding:43px 40px 20px}.intro{margin-bottom:30px}.eyebrow{font-size:10px;font-weight:650;letter-spacing:.17em;color:#8b7159}.intro h1{font-size:32px;line-height:1.6;letter-spacing:.05em;font-weight:600;margin:10px 0 8px}.intro p{font-size:13px;color:#6c7871;margin:0;line-height:1.9}.mobile-break{display:none}.steps{display:flex;max-width:720px;margin:0 0 32px;border-bottom:1px solid var(--line);gap:20px}.step{display:flex;align-items:center;gap:9px;border:0;background:none;padding:12px 0 16px;color:#8b9189;font-size:12px;white-space:nowrap;border-bottom:2px solid transparent}.step span{width:23px;height:23px;border-radius:50%;background:#e9e9e0;display:grid;place-items:center;font-size:11px}.step.active{color:var(--green);font-weight:650;border-bottom-color:var(--green)}.step.active span{background:var(--green);color:#fff}.workspace{display:grid;grid-template-columns:minmax(300px,390px) minmax(0,1fr);gap:64px;align-items:start}.controls{padding-top:12px}.section-title{display:flex;align-items:center;gap:12px}.number{font-size:11px;color:#9b7e62;border:1px solid #d8c7b4;border-radius:50%;width:29px;height:29px;display:grid;place-items:center}h2{font-size:18px;letter-spacing:.02em;font-weight:600;margin:0}.description{font-size:12px;line-height:1.9;color:#7a837a;margin:15px 0 22px}.upload-area{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:150px;border:1px dashed #a6b9ad;border-radius:10px;background:#f0f3eb;gap:7px;cursor:pointer;overflow:hidden}.upload-area input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}.upload-icon{font-size:24px;color:#527564;font-weight:300}.upload-area strong{font-size:13px;font-weight:600}.upload-area small{font-size:10px;color:#8a9589}.upload-area.compact{min-height:130px}.photo-count{text-align:right;color:#8b9489;font-size:10px;margin:14px 0 9px;letter-spacing:.06em}.photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.photo-slot{position:relative;aspect-ratio:3/4;background:#eeeee5;border:1px solid #e0e2d7;border-radius:6px;overflow:hidden;color:#a2aa9d;padding:0;display:grid;place-items:center;min-width:0}.photo-slot>span{font-size:24px;font-weight:200}.photo-slot img{height:100%;width:100%;object-fit:cover}.photo-slot small{position:absolute;bottom:0;left:0;right:0;font-size:8px;background:#fff9;padding:5px;color:#617469}.photo-slot.selected{outline:2px solid #547867;outline-offset:2px}.panel-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:26px;padding-top:20px;border-top:1px solid var(--line)}#draft-state{font-size:9px;color:#8a9589;line-height:1.7;max-width:200px}.primary,.secondary,.small-button,.text-button{border:0;border-radius:7px;min-height:44px;padding:10px 17px;font-size:12px}.primary{background:var(--green);color:#fff;display:flex;justify-content:center;align-items:center;gap:15px}.primary:hover{background:#32665a}.secondary{background:#ecede5;border:1px solid #d8ddd1;color:var(--green)}.full{width:100%}.small-button{font-size:10px;min-height:38px;background:#efeee6;color:#57685b;padding:8px 11px}.danger{color:#a95d48}.text-button{background:none;color:#61776b;min-height:40px;padding:8px}.button-row{display:flex;gap:6px;flex-wrap:wrap;margin:14px 0}.preview-area{padding:0 12px 20px;min-width:0}.preview-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;gap:12px}.preview-heading .eyebrow{font-size:8px}.preview-heading h2{font-size:14px;margin-top:5px}.view-toggle{display:flex;background:#eaece3;border-radius:6px;padding:3px}.view-toggle button{border:0;background:none;border-radius:4px;padding:8px 12px;font-size:10px;color:#758174;min-height:36px}.view-toggle .active{background:#fffefa;color:var(--green);box-shadow:0 1px 3px #0001}.canvas-wrap{position:relative;background:#e8e8df;line-height:0;box-shadow:0 12px 32px #3649340b;border:5px solid #fffefa}.canvas-wrap canvas{width:100%;height:auto;display:block;touch-action:none}.empty-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;color:#7e8c7a;background:linear-gradient(135deg,#ebeee3e8,#e9e8dce8);line-height:1.5;pointer-events:none}.empty-grid{font-size:48px;font-weight:100;color:#a3b39d}.empty-overlay strong{font-size:15px;letter-spacing:.07em;font-weight:500}.empty-overlay>span:last-child{font-size:10px;color:#929d8b}.preview-help{font-size:10px;color:#8e9589;line-height:1.8;text-align:center;margin:14px auto;max-width:400px}.slider{font-size:12px;display:block;color:#54685b;margin:25px 0}.slider output{float:right;color:#8a9385;font-size:10px}input[type=range]{display:block;width:100%;accent-color:var(--green);margin-top:14px;height:26px}.field{font-size:12px;color:#6e7e6d;display:block;margin-top:22px}.field select{display:block;width:100%;padding:12px;margin-top:8px;border:1px solid var(--line);border-radius:6px;background:var(--paper);color:var(--green)}.advanced{margin-top:25px;border-top:1px solid var(--line);padding-top:18px}.advanced summary{font-size:11px;color:#71816f;cursor:pointer;padding:10px 0}.advanced p{font-size:11px;line-height:1.8;color:#8a9484}.radio{display:block;margin:13px 0;font-size:11px;color:#687c66}.radio input{accent-color:var(--green)}.layer-list{display:grid;gap:10px;margin-top:20px}.layer-item{padding:10px;display:flex;align-items:center;gap:12px;text-align:left;border:1px solid var(--line);border-radius:8px;background:#fffefa;min-width:0;color:var(--green)}.layer-item.selected{border-color:#4c7a65;background:#f0f4e9}.layer-item img{width:43px;height:59px;object-fit:contain;background:repeating-conic-gradient(#efeee8 0 25%,#fff 0 50%) 0/10px 10px;border-radius:4px}.layer-item span{font-size:12px;flex:1;min-width:0}.layer-item small{display:block;color:#90998b;font-size:9px;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:200px}.layer-item b{font-weight:400;font-size:9px;color:#7d8b75}.micro{font-size:10px;line-height:1.8;color:#899282;margin:10px 0}.note{font-size:11px;line-height:1.9;background:#eee9d9;color:#887954;border-radius:7px;padding:13px;margin:15px 0}.results{margin-top:50px;border-top:1px solid var(--line);padding-top:35px;scroll-margin-top:20px}.results-head h2{font-size:25px;margin:8px 0}.results-head p{font-size:12px;color:#8b9485}.result-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:24px}.result-card{background:var(--paper);padding:12px;border:1px solid #e6e6db;border-radius:10px;min-width:0}.result-number{display:flex;align-items:center;gap:8px;margin:3px 0 12px}.result-number b{font-family:Georgia,serif;font-size:24px;color:var(--green)}.result-number span{font-size:10px;color:#929a8b}.result-card img{display:block;width:100%;aspect-ratio:3/4;object-fit:contain;background:#edece5;border-radius:4px;margin-bottom:12px}.result-card .text-button{display:block;width:100%}footer{margin-top:60px;padding:24px 0;border-top:1px solid var(--line);font-size:12px;color:#7d8d77;display:flex;flex-wrap:wrap;gap:12px;align-items:center}footer>span{font-size:9px;flex:1;text-align:right}footer details{width:100%;font-size:9px}footer summary{cursor:pointer}footer p{max-width:650px;line-height:1.8}.toast{position:fixed;bottom:calc(20px + env(safe-area-inset-bottom));left:50%;transform:translate(-50%);padding:15px 20px;background:#253e35;color:#fff;border-radius:10px;box-shadow:0 6px 30px #0002;font-size:12px;line-height:1.8;width:min(90vw,500px);z-index:100}.busy{position:fixed;inset:0;z-index:200;background:#f7f5f0d9;display:grid;place-items:center;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.busy>div{text-align:center;width:min(85vw,440px)}.busy strong{display:block;font-size:15px;line-height:1.8}.busy p{font-size:11px;color:#8c9785}.spinner{display:block;width:30px;height:30px;border:2px solid #c5d0bf;border-top-color:#2b5947;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 20px}@keyframes spin{to{transform:rotate(360deg)}}dialog{border:0;border-radius:14px;padding:20px;width:min(92vw,540px);max-height:92dvh;color:var(--green);background:var(--paper)}dialog::backdrop{background:#1a2e25bb}dialog img{display:block;width:100%;max-height:65dvh;object-fit:contain}dialog p{font-size:11px;line-height:1.8}dialog .dialog-close{float:right;border:0;background:#eaece3;width:36px;height:36px;border-radius:50%;font-size:24px;color:var(--green)}.download-link{display:block;text-align:center;padding:15px;color:#6b7c65;font-size:11px}#photo-label{font-size:11px;color:#6b7e67;margin-top:18px}@media(min-width:1000px){.preview-area{max-width:535px;margin-left:auto;width:100%}}@media(max-width:760px){.topbar{height:75px;padding:0 20px}.brand{font-size:16px}.brand-icon{width:33px;height:38px;font-size:26px}.local-badge{font-size:9px}main{padding:28px 18px 15px}.intro h1{font-size:25px;line-height:1.6}.intro p{font-size:11px;max-width:310px}.mobile-break{display:block}.intro{margin-bottom:18px}.steps{gap:0;justify-content:space-between;margin-bottom:24px}.step{font-size:10px;gap:5px;padding:10px 0 13px}.step span{width:20px;height:20px;font-size:9px}.workspace{display:flex;flex-direction:column;gap:30px}.controls{width:100%;padding:0}.photo-grid{gap:8px;max-width:390px;margin:auto}.photo-slot{aspect-ratio:1;min-height:80px}.photo-slot small{font-size:9px}.preview-area{width:100%;padding:0;max-width:500px;margin:auto}.preview-heading{margin-top:2px}.preview-heading h2{font-size:15px}.canvas-wrap{border-width:4px}.description{font-size:12px}.panel-footer{margin-top:20px}.primary,.secondary{min-height:48px;font-size:13px}.small-button{min-height:44px;font-size:11px}.layer-item{min-height:76px}.result-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.result-card{padding:9px}.result-card .primary{font-size:11px;padding:9px 4px}.result-card .text-button{font-size:11px}.result-number b{font-size:23px}.result-number span{font-size:9px}.results{margin-top:35px}footer>span{text-align:left;flex-basis:100%;line-height:1.8}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important}}
