*{box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;background:#f5f5f5;color:#333;margin:0;padding:1rem;display:flex;flex-direction:column;align-items:center;min-height:100vh}.container{max-width:600px;width:100%}h1{font-size:clamp(1.2rem, 4vw, 1.8rem);color:#222;text-align:center;font-weight:700;margin:0 0 1.5rem}.section-header{display:flex;align-items:center;gap:.5rem;font-size:.75rem;font-weight:700;color:#666;text-transform:uppercase;letter-spacing:.5px;margin:1rem 0 .75rem}.section-header:first-child{margin-top:0}.section-line{flex:1;height:1px;background:#d1d5db}.params-section{margin-bottom:1.5rem}.param-box{background:#fff;border-radius:20px;padding:1.25rem;box-shadow:0 2px 12px rgba(0,0,0,.06)}.param-control{margin-bottom:.75rem}.param-control:last-of-type{margin-bottom:0}.mode-toggle{display:flex;justify-content:center;margin-bottom:.75rem}.mode-toggle button{flex:1;padding:.5rem;font-size:.75rem;font-weight:600;border:2px solid #e5e7eb;background:#fff;color:#666;cursor:pointer;transition:all .2s ease}.mode-toggle button:first-child{border-radius:8px 0 0 8px;border-right:1px solid #e5e7eb}.mode-toggle button:last-child{border-radius:0 8px 8px 0;border-left:1px solid #e5e7eb}.mode-toggle button.active{background:linear-gradient(135deg,#ff6b35 0,#f7931e 100%);color:#fff;border-color:#ff6b35}.mode-toggle button:hover:not(.active){background:#f9fafb}.param-row{display:flex;gap:.75rem;align-items:stretch}.param-display-box{flex:1;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","SF Pro Display",sans-serif;font-size:2.5rem;font-weight:600;letter-spacing:-.02em;text-align:center;padding:1rem;border-radius:12px;border:2px solid #e5e7eb;background:#fff;color:#1f2937;display:flex;align-items:center;justify-content:center}.param-display-box.percentage-mode{flex-direction:column;padding:.5rem;gap:.25rem}.percentage-wattage{font-size:1.5rem;color:#666}.percentage-percent{font-size:2rem;color:#1f2937}.param-buttons{display:flex;flex-direction:column;gap:.5rem;min-width:150px}.param-btn{flex:1;background:linear-gradient(135deg,#ff6b35 0,#f7931e 100%);color:#fff;border:none;border-radius:12px;font-size:1.5rem;font-weight:600;cursor:pointer;box-shadow:0 2px 8px rgba(255,107,53,.25);transition:all .2s ease;min-height:48px}.param-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px rgba(255,107,53,.35)}.param-btn:active:not(:disabled){transform:translateY(0)}.param-btn:disabled{opacity:.4;cursor:not-allowed}.param-dual-row{display:flex;flex-direction:column;gap:.5rem}.param-sub-row{display:flex;gap:.75rem;align-items:stretch}.param-sub-label{font-size:.7rem;font-weight:600;color:#666;text-transform:uppercase;letter-spacing:.5px;margin-bottom:.25rem}.timer-section{width:100%}.timer-content{background:#fff;border-radius:20px;padding:1.25rem;box-shadow:0 2px 12px rgba(0,0,0,.06)}.timer-display-row{display:flex;gap:.75rem;margin-bottom:.75rem;align-items:stretch}.result-display{font-family:"SF Mono",Monaco,Inconsolata,"Roboto Mono","Courier New",monospace;font-size:clamp(2.5rem, 8vw, 3.5rem);font-weight:800;letter-spacing:-.02em;text-align:center;padding:1rem 1.25rem;border-radius:16px;border:2px solid #e5e7eb;flex:0 0 calc(75% - 0.375rem);display:flex;align-items:center;justify-content:center;background:#fff;color:#1f2937;box-shadow:0 1px 3px rgba(0,0,0,.05);transition:all .3s ease}.result-display.green{border-color:#059669;color:#059669}.result-display.orange{border-color:#f59e0b;color:#f59e0b}.result-display.red{border-color:#ef4444;color:#ef4444}.flash{animation:flash .5s ease-in-out infinite}@keyframes flash{0%,100%{opacity:1}50%{opacity:.3}}.time-adjust-vertical{display:flex;flex-direction:column;gap:.5rem;justify-content:space-between;flex:0 0 calc(25% - 0.375rem)}.controls{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.btn{padding:.85rem;font-size:1rem;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.01em;border:none;border-radius:12px;cursor:pointer;transition:all .2s cubic-bezier(.4, 0, .2, 1);box-shadow:0 2px 6px rgba(0,0,0,.1)}.btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,0,0,.15)}.btn:active:not(:disabled){transform:translateY(0)}.btn:disabled{opacity:.4;cursor:not-allowed}#addBtn,#subBtn{background:#fff;color:#9ca3af;border:2px solid #e5e7eb;box-shadow:0 1px 3px rgba(0,0,0,.05)}#addBtn:enabled,#subBtn:enabled{background:linear-gradient(135deg,#ff6b35 0,#f7931e 100%);color:#fff;border:none;box-shadow:0 4px 12px rgba(255,107,53,.25)}.instructions-container{width:100%;margin:3rem auto 0;padding:1.5rem;background:#fff;border-radius:12px;box-shadow:0 2px 8px rgba(0,0,0,.06)}.instructions-container h2{font-size:1.2rem;font-weight:700;color:#222;margin:0 0 1rem;text-align:center}.instructions-list{margin:0;padding-left:1.5rem;color:#555;line-height:1.6}.instructions-list li{margin-bottom:.75rem}.instructions-list li strong{color:#222;font-weight:600}.instructions-p{margin:1.5rem 0 0;font-size:.9rem;color:#666;text-align:center}.instructions-note{margin:1.5rem 0 0;padding-top:1rem;border-top:1px solid #e5e7eb;font-size:.9rem;color:#666;font-style:italic;text-align:center}@media (max-width:767px){body{padding:.5rem}.params-section{margin-bottom:1.5rem}.param-box{padding:1rem}.param-display-box{font-size:2rem;padding:1rem}.percentage-wattage{font-size:1.25rem}.percentage-percent{font-size:1.75rem}.param-buttons{min-width:150px}.param-btn{font-size:1.25rem;min-height:40px}.timer-content{padding:1rem}.result-display{font-size:clamp(2.5rem, 8vw, 3.5rem);padding:.9rem}.btn{padding:.7rem;font-size:.85rem}.instructions-container{padding:1rem}.instructions-container h2{font-size:1rem}.instructions-list{font-size:.9rem;padding-left:1.25rem}.instructions-list li{margin-bottom:.6rem}}