*{box-sizing:border-box}body{margin:0;background:#f6f8f5;color:#19372e;font:16px/1.5 system-ui,sans-serif}main{max-width:720px;margin:auto;padding:24px 16px}header,article,.actions,nav{display:flex;align-items:center;gap:12px}header h1,header p,article p{margin:0}header p,footer{color:#53675e;font-size:14px}.tag{margin-left:auto;font-size:12px;background:#e2eee6;padding:6px 10px;border-radius:20px}nav{margin:24px 0}nav button{flex:1;background:#e2eee6;color:#19372e}nav button[aria-pressed=true],button{background:#17634c;color:#fff}button,input,select{font:inherit;min-height:44px;border-radius:12px}button{border:0;padding:10px 16px;cursor:pointer;font-weight:650}button:disabled{opacity:.5;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #bd842e;outline-offset:3px}.hero,.panel{border-radius:24px;padding:24px;margin-bottom:16px}.hero{background:#dceee3}.hero h2{font-size:32px;line-height:1.15;margin:12px 0}.panel{background:#fff;border:1px solid #dce5df}.panel h2{margin-top:0}article{padding:12px 0;border-bottom:1px solid #e1e8e3}article div{flex:1;min-width:0;overflow-wrap:anywhere}.secondary{background:#edf3ef;color:#19372e}form,label{display:grid;gap:8px}form{margin-top:20px;gap:16px}input,select{width:100%;border:1px solid #a8b9af;background:#fff;padding:8px 12px;color:inherit}video{width:100%;aspect-ratio:4/3;object-fit:contain;background:#14251f;border-radius:16px;margin-bottom:12px}.actions{margin-top:12px}footer{padding:12px 0}[role=alert]{color:#a52b22}small{letter-spacing:.1em;font-weight:700}nav{flex-wrap:wrap}nav button{min-width:90px}.safety{background:#fff4e5;border-radius:12px;padding:12px;color:#744416}.breath-meter{display:grid;gap:10px;background:#edf5ef;border-radius:20px;padding:20px;margin:18px 0;text-align:center}.breath-meter strong{font-size:48px;font-variant-numeric:tabular-nums}.breath-meter progress{width:100%;accent-color:#17634c}.breath-tap{width:100%;min-height:96px;font-size:24px}.breath-result{padding:16px;background:#e3f2e8;border-radius:16px;margin:16px 0}.breath-result strong{font-size:24px}.lab{margin-top:22px;padding-top:16px;border-top:1px solid #dce5df}.lab-preview{width:100%;aspect-ratio:4/3;display:block;border-radius:14px;background:#14251f;cursor:crosshair;touch-action:manipulation}.lab-sliders{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0}.lab-check{display:flex;align-items:center;gap:10px;margin:12px 0}.lab-check input{width:24px;min-height:24px;flex:none;accent-color:#17634c}.lab progress{width:100%;accent-color:#17634c}.lab button[aria-pressed=false]{background:#edf3ef;color:#19372e}.trend-chart{margin:16px 0;padding:14px;background:#f6faf7;border:1px solid #dce8de;border-radius:16px;overflow:hidden}.trend-chart figcaption{display:grid;gap:4px}.trend-chart figcaption span,.trend-note{font-size:13px;color:#53675e}.trend-chart svg{display:block;width:100%;height:auto;max-height:200px;margin-top:8px}.trend-chart svg text{font-size:10px;fill:#53675e}.trend-grid{stroke:#d4e3d9;stroke-width:1}.trend-line{stroke:#17634c;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.trend-dot{fill:#17634c}.trend-note{margin:4px 0 0}.breath-result form{margin-bottom:12px}.research-export{border:1px solid #dce8de;border-radius:16px;padding:16px;margin-top:16px;background:#f6faf7}.research-export button{width:100%}.breath article{flex-wrap:wrap}.breath article div{min-width:100px}.breath-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:16px 0}.breath-steps span{font-size:12px;font-weight:650;padding:8px 6px;text-align:center;background:#edf5ef;border-radius:10px}.breath-rest{margin-top:14px}.breath-mode,.history-pagination{display:flex;gap:10px;align-items:center;margin:14px 0}.breath-mode button{flex:1}.history-pagination{justify-content:space-between}.observation-camera{border:1px solid #dce8de;border-radius:16px;padding:14px;background:#f6faf7;margin:14px 0}.observation-camera h3{margin-top:0}.breath-start{width:100%}.breath-meter small{color:#53675e}.breath-result .actions{flex-wrap:wrap}@media(max-width:380px){.panel{padding:16px}.breath-steps span{font-size:11px}.breath-mode button{padding:8px}.breath .actions{flex-wrap:wrap}}
