:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:#193941;background:#f4f8f7;font-synthesis:none;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}body{margin:0;min-height:100dvh}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a{color:#127e64}.app{max-width:880px;margin:auto;padding:0 16px 100px}.topbar{background:#fff;border-bottom:1px solid #e1e9e7;padding:12px max(16px,calc((100vw - 848px)/2));display:flex;align-items:center;gap:14px;justify-content:space-between;position:sticky;top:0;z-index:20;min-height:69px}.brand{display:flex;align-items:center;gap:12px;min-width:0}.brand img{width:116px;max-height:37px;object-fit:contain}.brand-text{font-size:12px;color:#55777b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-action{background:none;border:1px solid #d4e2df;padding:9px 11px;border-radius:9px;color:#244d54;font-weight:700}.eyebrow{font-weight:700;letter-spacing:.11em;text-transform:uppercase;color:#278b6c;font-size:11px;margin:0 0 8px}.hero{padding:30px 0 18px}.hero h1{font-size:clamp(25px,5vw,35px);line-height:1.13;margin:0 0 10px;letter-spacing:-.035em;color:#173e49}.subtle{color:#60777c;font-size:14px;line-height:1.5}.hero .subtle{max-width:630px}.panel{background:#fff;border:1px solid #e1e9e8;border-radius:16px;box-shadow:0 3px 14px rgba(20,60,65,.035);padding:19px;margin:13px 0}.panel h2{font-size:18px;letter-spacing:-.02em;margin:0 0 13px;color:#174452}.panel h3{font-size:15px;margin:0 0 10px;color:#234c55}.btn{background:#176c5e;color:#fff;border:1px solid #176c5e;border-radius:11px;padding:12px 16px;font-weight:700;min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:7px}.btn:hover{filter:brightness(.96)}.btn.secondary{background:#fff;color:#23515a;border-color:#b6d2ce}.btn.ghost{background:transparent;border-color:transparent;color:#365f63}.btn.danger{background:#fff;border-color:#dfadad;color:#ac4242}.btn:focus-visible,.chip:focus-visible{outline:3px solid #3cba90;outline-offset:2px}.btn.small{padding:8px 11px;min-height:36px;font-size:13px}.btn.full{width:100%}.button-row{display:flex;flex-wrap:wrap;gap:9px;align-items:center}.list{display:grid;gap:10px}.record{background:#fff;border:1px solid #dfeae7;border-radius:13px;padding:16px;display:flex;justify-content:space-between;align-items:center;gap:14px;text-align:left;width:100%;color:inherit}.record:hover{border-color:#82b5a3}.record strong{display:block;font-size:16px}.record small{display:block;color:#668084;margin-top:4px;line-height:1.4}.badge{border-radius:100px;display:inline-block;font-weight:750;font-size:11px;letter-spacing:.025em;padding:5px 9px;background:#e7f1ee;color:#23745d;white-space:nowrap}.badge.draft{background:#fff2dc;color:#885d15}.offline{display:none;background:#fff0dd;border:1px solid #f0d4a8;padding:9px 14px;color:#845820;border-radius:10px;margin-top:14px;font-size:13px}.offline.active{display:block}.progress-row{display:flex;justify-content:space-between;align-items:center;gap:14px}.progress{height:7px;border-radius:20px;overflow:hidden;background:#e2edeb;margin:12px 0 16px}.progress > div{height:100%;background:#19a77d;transition:width .2s}.step-scroller{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding:3px 0 8px}.step-scroller::-webkit-scrollbar{display:none}.chip{border:1px solid #d8e5e2;border-radius:50px;white-space:nowrap;padding:8px 11px;background:#fff;color:#608085;font-size:12px;font-weight:700}.chip.active{background:#204e56;border-color:#204e56;color:#fff}.chip.done:not(.active){border-color:#afd7ca;color:#227b60}.field{display:flex;flex-direction:column;gap:7px;margin:14px 0}.field label,.field-label{font-weight:750;font-size:13px;color:#33525b}.field input,.field textarea,.field select,.inline-input{width:100%;border:1px solid #ccddda;border-radius:10px;background:#fff;color:#1e4149;padding:11px 12px;font-size:16px;min-height:44px}.field textarea{min-height:90px;resize:vertical;line-height:1.45}.field input:focus,.field textarea:focus,.field select:focus{border-color:#208e73;outline:2px solid rgba(32,142,115,.12)}.fields-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}.section-heading{font-size:24px;letter-spacing:-.035em;color:#194550;margin:5px 0 9px}.question-index{font-size:13px;color:#68858a;font-weight:650}.question-title{font-size:clamp(20px,4vw,24px);line-height:1.28;margin:12px 0 17px;color:#183d46}.status-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.status-button{min-height:52px;background:#f7faf9;color:#365c62;font-weight:750;border:1px solid #d3e1de;border-radius:11px;padding:10px 8px}.status-button.selected{border:2px solid #1c9275;background:#eaf8f1;color:#12634d}.status-button.warning.selected{border-color:#d9882d;background:#fff5e5;color:#80511c}.status-button.danger.selected{border-color:#ca6554;background:#fff0eb;color:#9c3b32}.hint{background:#f1f7f6;border-left:3px solid #4e9e8d;padding:11px 12px;border-radius:6px;font-size:13px;color:#536c70;line-height:1.5}.mini-note{font-size:12px;color:#72888a;line-height:1.4}.photo-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.photo-card{border:1px solid #dce9e6;border-radius:12px;overflow:hidden;background:#fff}.photo-card img{display:block;aspect-ratio:4/3;width:100%;object-fit:cover;background:#f5f5f5}.photo-content{padding:11px}.photo-content strong{display:block;font-size:13px}.photo-content .field{margin:8px 0}.photo-input{position:absolute!important;width:1px!important;height:1px!important;opacity:0;overflow:hidden}.camera-label{display:inline-flex;align-items:center;justify-content:center;background:#f3f8f6;color:#245c58;border:1px solid #bdd7cf;border-radius:10px;padding:11px 15px;font-weight:700;font-size:14px;min-height:44px;cursor:pointer}.card-line{background:#f6faf9;border:1px solid #dbe8e5;border-radius:12px;padding:12px;margin:9px 0}.card-line h3{margin:0 0 8px;font-size:14px}.card-line p{font-size:13px;margin:5px 0;color:#59767a}.divider{height:1px;background:#e4edeb;margin:22px 0}.review-list{padding-left:20px;color:#8a532a;line-height:1.55;font-size:14px}.review-list li{margin-bottom:6px}.review-good{color:#17765a;font-weight:750}.notice{border:1px solid #c7dad6;background:#f6faf9;padding:14px;border-radius:11px;color:#476870;line-height:1.5;font-size:13px;margin:14px 0}.notice.warn{background:#fff9ed;border-color:#ebd1a5;color:#866127}.check-row{padding:11px 0;border-bottom:1px solid #e7eeec;display:flex;gap:10px;align-items:start}.check-row:last-child{border:0}.check-row strong{font-size:13px}.check-row span{font-size:12px;color:#789093}.wizard-actions{position:sticky;bottom:0;background:rgba(244,248,247,.96);backdrop-filter:blur(16px);margin:21px -16px -100px;padding:13px 16px max(17px,env(safe-area-inset-bottom));border-top:1px solid #d9e5e2;display:flex;gap:10px;justify-content:space-between;z-index:10}.wizard-actions .btn{flex:1}.step-card{min-height:280px}.toast{position:fixed;bottom:calc(84px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);background:#163e48;color:#fff;padding:11px 17px;border-radius:10px;box-shadow:0 8px 28px #0002;z-index:50;width:max-content;max-width:90vw;font-size:13px}.footer-note{font-size:12px;color:#789093;text-align:center;padding:16px 0 32px}.loading{text-align:center;padding:60px 12px;color:#668}.right{margin-left:auto}.red{color:#b0483f}.gap-top{margin-top:16px}.redline{color:#a74237;font-weight:800}.muted{color:#72878b}.thumb{height:40px;width:40px;object-fit:cover;border-radius:7px}.title-inline{margin:0}.pwa{margin-top:8px;font-size:12px;color:#738789}.lock{color:#267258}
@media(max-width:560px){.fields-grid{grid-template-columns:1fr}.photo-list{grid-template-columns:1fr}.app{padding-left:12px;padding-right:12px}.panel{padding:15px}.topbar{padding:10px 12px}.brand img{width:96px}.brand-text{font-size:11px}.wizard-actions{margin-left:-12px;margin-right:-12px}.button-row .btn{flex:1}.record{align-items:flex-start}.record .badge{margin-top:2px}}
