:root{color:#172126;background:#f4f7f6;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:linear-gradient(180deg,#dfece7 0,#f4f7f6 260px),#f4f7f6}button,input{font:inherit;-webkit-tap-highlight-color:transparent}button{touch-action:manipulation}.app-shell{width:min(100%,520px);min-height:100vh;margin:0 auto;padding:20px 16px 132px}.app-header{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:22px}.eyebrow,h1,h2,p{margin:0}.eyebrow{margin-bottom:4px;color:#42646d;font-size:.82rem;font-weight:700}h1{color:#143d59;font-size:2rem;line-height:1.1}h2{color:#16333a;font-size:1.22rem}.step-chip{min-width:92px;min-height:42px;border:1px solid #bfd0d2;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;background:#ffffffd9;color:#143d59;font-weight:900}.panel,.reader{border:1px solid #d4e0df;border-radius:8px;background:#fff;box-shadow:0 12px 32px #122e3914}.panel{padding:20px}.setup-details{margin-top:14px;border:1px solid #d4e0df;border-radius:8px;background:#fff;color:#304a50;box-shadow:0 12px 32px #122e390f}.setup-details summary{min-height:52px;padding:15px 16px;cursor:pointer;color:#143d59;font-weight:900}.setup-details>.setup-body{display:grid;gap:10px;border-top:1px solid #dce7e7;padding:14px 16px 16px}.setup-details p{color:#405a61;font-size:.94rem;font-weight:700;line-height:1.65}.setup-inputs{display:grid;gap:12px}.setup-inputs .field{margin-bottom:0}.setup-inputs input{width:100%;min-height:52px;border:1px solid #b8c9ca;border-radius:8px;padding:0 12px;background:#fbfdfd;color:#172126;font-size:.96rem;font-weight:700}.setup-inputs input:focus{border-color:#287271;box-shadow:0 0 0 3px #28727129;outline:none}.setup-ok,.setup-warning,.save-hint{border-radius:8px;padding:10px 12px}.setup-ok{background:#eef8f5;color:#143d59}.setup-warning,.save-hint{background:#fff2ef;color:#8b2d21}.reader{overflow:hidden}.section-title{display:flex;align-items:center;gap:10px;margin-bottom:18px}.section-title svg{width:24px;height:24px;color:#287271;flex:0 0 auto}.date-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0}.date-grid.compact{margin-top:0}.date-grid div{min-height:78px;border:1px solid #dce7e7;border-radius:8px;padding:12px;background:#f7fbfa}.date-grid dt{color:#577078;font-size:.82rem;font-weight:800}.date-grid dd{margin:8px 0 0;color:#14252b;font-size:1.22rem;font-weight:900}.progress-row{display:flex;align-items:center;justify-content:space-between;min-height:54px;padding:0 16px;border-bottom:1px solid #dce7e7;color:#3d575d;font-weight:900}.meter-panel{padding:18px 16px 20px}.field,.reading-input{display:grid;gap:8px;margin-bottom:18px;color:#304a50;font-weight:800}.weather-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.choice{min-height:56px;border:1px solid #b8c9ca;border-radius:8px;background:#fbfdfd;color:#16333a;font-weight:900}.choice.active{border-color:#143d59;background:#143d59;color:#fff}.reading-input{margin-bottom:0}.unit-input{display:grid;grid-template-columns:minmax(0,1fr) 66px;align-items:stretch;overflow:hidden;border:1px solid #b8c9ca;border-radius:8px;background:#fbfdfd}.unit-input:focus-within{border-color:#287271;box-shadow:0 0 0 3px #28727129}.unit-input input{width:100%;min-height:74px;border:0;padding:0 14px;background:transparent;color:#172126;font-size:2rem;font-weight:900;text-align:right}.unit-input input:focus{outline:none}.unit-input b{display:inline-flex;align-items:center;justify-content:center;border-left:1px solid #d4e0df;color:#304a50;font-size:1.15rem;background:#eef6f3}.item-title{display:grid;gap:6px;margin-bottom:20px}.item-title p{color:#577078;font-size:.88rem;font-weight:800}.item-title h2{font-size:2.1rem;line-height:1}.actions{display:grid;gap:12px}.navigation{grid-template-columns:.9fr 1.1fr;padding:16px;border-top:1px solid #dce7e7;background:#f7fbfa}button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:54px;border-radius:8px;border:1px solid transparent;padding:0 16px;cursor:pointer;font-weight:900}button svg{width:22px;height:22px;flex:0 0 auto}button:disabled{cursor:not-allowed;opacity:.45}.primary{background:#143d59;color:#fff}.secondary{border-color:#b8c9ca;background:#fff;color:#16333a}.full{width:100%}.start-button{min-height:64px;font-size:1.08rem}.save-button{min-height:62px}.line-share{min-height:62px;background:#06c755;color:#fff}.camera-input{position:fixed;width:1px;height:1px;opacity:.01;pointer-events:none}.camera-panel-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;display:grid;align-items:end;padding:14px;background:#0a181e94}.camera-panel{display:grid;gap:12px;width:min(100%,520px);margin:0 auto;border:1px solid #bfd0d2;border-radius:8px;padding:12px;background:#fff;box-shadow:0 18px 46px #0a181e47}.camera-panel-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.icon-button{width:44px;min-height:44px;padding:0;border-color:#b8c9ca;background:#fff;color:#16333a}.camera-preview{display:grid;place-items:center;overflow:hidden;min-height:300px;border:1px solid #dce7e7;border-radius:8px;background:#10191d}.camera-preview video{width:100%;max-height:min(58vh,520px);object-fit:contain;background:#10191d}.camera-preview p{padding:22px;color:#fff;font-weight:900;line-height:1.6;text-align:center}.camera-panel-actions{display:grid;gap:10px}.review-panel{display:grid;gap:16px}.missing-box{display:grid;gap:10px;border:1px solid #efb5aa;border-radius:8px;padding:12px;background:#fff2ef;color:#8b2d21}.missing-box div{display:flex;align-items:center;gap:8px}.missing-box svg{width:21px;height:21px;flex:0 0 auto}.missing-box ul{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}.missing-box li{border-radius:8px;padding:6px 10px;background:#fff;font-weight:800}.review-list{display:grid;gap:1px;overflow:hidden;margin:0;border:1px solid #dce7e7;border-radius:8px}.review-list div{display:grid;grid-template-columns:108px 1fr;gap:10px;min-height:44px;align-items:center;padding:10px 12px;background:#fff}.review-list div:nth-child(odd){background:#f7fbfa}.review-list div.missing{background:#fff2ef}.review-list dt{color:#577078;font-size:.86rem;font-weight:900}.review-list dd{margin:0;color:#14252b;font-weight:900;overflow-wrap:anywhere}.review-list .missing dd{color:#8b2d21}.preview-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.preview-grid.single{grid-template-columns:1fr}.preview-card{display:grid;gap:8px;min-height:182px;border:1px solid #b9dad5;border-radius:8px;padding:10px;background:#eef8f5}.preview-card.missing{border-color:#efb5aa;background:#fff2ef}.preview-card p{color:#304a50;font-size:.9rem;font-weight:900}.preview-card img{width:100%;height:118px;border-radius:6px;object-fit:cover;background:#dce7e7}.preview-card span,.preview-card strong{color:#143d59;font-size:.88rem;font-weight:900}.preview-card.missing strong{color:#8b2d21}.success{border-color:#b9dad5}.save-result{display:grid;gap:8px;border:1px solid #b8d3d0;border-radius:8px;padding:12px;background:#eef8f5;color:#143d59;font-weight:800}.save-result p{margin:0}.save-result a{color:#0f5c68;font-weight:900}.notice{margin-top:14px;border:1px solid #b8d3d0;border-radius:8px;padding:12px 14px;background:#eef8f5;color:#143d59;white-space:pre-wrap;font-weight:800}.notice.error{border-color:#efb5aa;background:#fff2ef;color:#8b2d21}.camera-dock{position:fixed;right:max(12px,calc((100vw - 520px)/2 + 12px));bottom:max(12px,env(safe-area-inset-bottom));left:max(12px,calc((100vw - 520px)/2 + 12px));z-index:10;display:grid;grid-template-columns:1fr;gap:10px;border:1px solid #bfd0d2;border-radius:8px;padding:10px;background:#fffffff5;box-shadow:0 12px 32px #122e392e}.camera-button{display:grid;grid-template-columns:24px 1fr;grid-template-rows:auto auto;column-gap:8px;row-gap:2px;min-height:74px;border-color:#efb5aa;background:#fff2ef;color:#8b2d21;padding:10px;text-align:left;cursor:pointer;-webkit-user-select:none;user-select:none}.camera-button.done{border-color:#b9dad5;background:#eef8f5;color:#143d59}.camera-button svg{grid-row:1 / 3;align-self:center}.camera-button span{min-width:0;font-size:.95rem;line-height:1.18}.camera-button small{min-width:0;font-size:.78rem;font-weight:900}@media (max-width: 380px){.app-header{align-items:stretch;flex-direction:column}.step-chip{width:100%}.date-grid,.preview-grid{grid-template-columns:1fr}.review-list div{grid-template-columns:88px 1fr}.camera-dock{grid-template-columns:1fr}.app-shell{padding-bottom:210px}}
