:root{color-scheme:light;--ink:#243b35;--green:#28554c;--muted:#53655c;--paper:#f7f7f1;--line:#d7e0d5;font-size:18px}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:1rem/1.85 -apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN",sans-serif}body.huge{font-size:1.22rem}header,main,footer{max-width:1080px;margin:auto;padding:24px}.brand{display:flex;align-items:center;gap:15px}.brand img{flex:none}h1{font-size:clamp(25px,4vw,36px);line-height:1.45;margin:0}h2{font-size:1.4em;line-height:1.5;margin:0 0 16px;overflow-wrap:anywhere}h3{font-size:1.12em;line-height:1.6;overflow-wrap:anywhere}.eyebrow{font-size:12px;letter-spacing:.08em;color:var(--muted);margin:0 0 6px}.lead{font-size:1.1em}.sub,.notes{font-size:.86em;color:var(--muted)}.panel{background:#fffefa;border:1px solid var(--line);border-radius:18px;padding:28px;margin-bottom:24px;min-width:0}.section-head,.actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.actions{justify-content:flex-start;margin-top:20px}.section-head h2{margin:0}.pair{display:grid;grid-template-columns:1fr 1fr;gap:16px}.pair>div{min-width:0}label{display:block;font-size:.92em;font-weight:650;margin:18px 0 6px}input,textarea,select,button,.file-button{font:inherit;min-width:0;color:var(--ink)}input,textarea,select{width:100%;border:1px solid #9dab9e;border-radius:9px;padding:12px;background:white;min-height:48px}textarea{resize:vertical}button,.file-button{border:1px solid var(--green);border-radius:10px;min-height:50px;padding:11px 18px;background:var(--green);color:white;font-weight:650;cursor:pointer;line-height:1.65;white-space:normal;max-width:100%;text-align:center}button:disabled{opacity:.48;cursor:not-allowed}.secondary,.file-button{background:#fffefa;color:var(--green)}.danger{background:#fff8f5;border-color:#b77769;color:#853f32}button:hover{filter:brightness(.96)}.notice,.warning{padding:16px 20px;border-radius:12px;overflow-wrap:anywhere}.notice{background:#eaf0e5}.warning{background:#fff0e4;border:2px solid #b36a3e}.required{font-size:.8em;color:#95502d}.cards{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:24px 0}.card{border:1px solid var(--line);border-radius:14px;padding:20px;overflow-wrap:anywhere}.card h3{margin:8px 0}.card p{margin:6px 0}.tag{font-size:.8em;color:var(--muted)}.check-label,.filter-check label{display:flex;align-items:center;gap:10px}.filter-check{align-self:end}.check-label input,.filter-check input{width:24px;height:24px;min-height:24px;flex:none}.sample{border:2px dashed #94a88e;border-radius:13px;background:#f1f5ed;padding:20px;margin:28px 0}.sample-label{background:#fff0d8;padding:10px}.position{font-size:1.3em;font-weight:750}.reader-nav{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:24px 0}.step-text{font-size:1.3em;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}.photo-button{display:block;background:#f1f2ed;border:1px solid var(--line);padding:10px;color:var(--green);width:100%;margin:15px 0}.photo-button img{display:block;width:auto;height:auto;max-width:100%;max-height:420px;object-fit:contain;margin:auto;border-radius:8px}.photo-button span{display:block;font-size:.85em;margin-top:7px}.note-box{white-space:pre-wrap;overflow-wrap:anywhere;border-left:4px solid #8da780;padding:12px 18px;margin-top:24px;background:#f1f4eb}.step-editor{border:1px solid var(--line);border-radius:14px;padding:20px;margin:22px 0}.step-editor h4{margin:0;font-size:1.15em}.step-tools{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.step-tools button{font-size:.85em}.step-editor img{max-width:100%;max-height:220px;object-fit:contain}.all-step{border-bottom:1px solid var(--line);padding:24px 0}.file-button{position:relative;display:inline-block;margin:0;overflow:hidden}.file-button input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.file-button:has(input:disabled){opacity:.48}.empty{text-align:center;padding:28px 10px;color:var(--muted)}dialog{border:1px solid var(--line);border-radius:16px;padding:24px;color:var(--ink);width:600px;max-width:calc(100% - 28px);max-height:90vh;overflow:auto}dialog::backdrop{background:#193e3780}dialog p{white-space:pre-wrap;overflow-wrap:anywhere}#photo-body img{width:100%;object-fit:contain;max-height:65vh}#photo-body p{font-size:1.1em}footer{font-size:12px;text-align:center;color:var(--muted)}:focus-visible{outline:3px solid #c78145;outline-offset:3px}[hidden]{display:none!important}#print-sheet{color:#111;background:white}.print-step{padding:5mm 0;border-bottom:1px solid #bbb}.print-step img{display:block;max-width:100%;max-height:70mm;object-fit:contain}.print-step p{white-space:pre-wrap;overflow-wrap:anywhere}.print-name{border-bottom:1px solid #aaa;padding:3mm 0;break-inside:avoid}@media(max-width:760px){header,main,footer{padding:20px 16px}.panel{padding:20px 16px}.cards,.pair{grid-template-columns:1fr}.brand{gap:10px}.brand img{width:48px;height:48px}.eyebrow{font-size:10px}.step-editor{padding:16px 12px}.step-text{font-size:1.15em}.reader-nav{gap:10px}.reader-nav button{padding:12px 8px}.section-head{align-items:flex-start}#font{font-size:.9em}}
@page{size:A4;margin:15mm}@media print{body{background:white;font-size:12pt!important;line-height:1.7}#app,dialog{display:none!important}#print-sheet[hidden],#print-sheet{display:block!important}h1{font-size:22pt}h2{font-size:16pt}h3{font-size:14pt}h1,h2,h3{break-after:avoid}#print-sheet p{white-space:pre-wrap;overflow-wrap:anywhere}#print-sheet .print-note{font-size:10pt}.print-step img{break-inside:avoid}#print-sheet .photo-wrap{break-inside:avoid}.print-step h2{margin-bottom:3mm}.print-name h2{margin:0}}
