.hyperfocus-app{--bg-primary:#000;--bg-secondary:#1c1c1e;--bg-tertiary:#2c2c2e;--bg-input:#0a0a0a;--bg-hover:#2a2a2a;--text-primary:#fff;--text-secondary:#8e8e93;--text-tertiary:#636366;--text-muted:#888;--text-light:#999;--border-primary:#333;--border-secondary:#444;--border-tertiary:#2c2c2e;--accent-blue:#007aff;--accent-blue-dark:#0051d5;--accent-blue-darker:#003da0;--accent-blue-hover:#0af;--accent-green:#34c759;--accent-green-dark:#28a745;--accent-red:#ff3b30;--accent-red-dark:#e62e24;--accent-red-darker:#d32619;--accent-yellow:gold;--shadow-small:0 1px 3px #0000004d;--shadow-medium:0 4px 12px #00000080;--shadow-large:0 4px 16px #007aff66}.hyperfocus-app[data-theme=light]{--bg-primary:#fff;--bg-secondary:#f5f5f7;--bg-tertiary:#e5e5e7;--bg-input:#f9f9f9;--bg-hover:#e8e8e8;--text-primary:#1d1d1f;--text-secondary:#515154;--text-tertiary:#6e6e73;--text-muted:#86868b;--text-light:#999;--border-primary:#d1d1d6;--border-secondary:#c7c7cc;--border-tertiary:#e5e5e7;--accent-blue:#007aff;--accent-blue-dark:#0051d5;--accent-blue-darker:#003da0;--accent-blue-hover:#06c;--accent-green:#34c759;--accent-green-dark:#28a745;--accent-red:#ff3b30;--accent-red-dark:#e62e24;--accent-red-darker:#d32619;--accent-yellow:#f5a623;--shadow-small:0 1px 3px #0000001a;--shadow-medium:0 4px 12px #00000026;--shadow-large:0 4px 16px #007aff40;--block-task-color:#0c6;--block-task-color-dark:#0a5}.hyperfocus-app{box-sizing:border-box;background:var(--bg-primary);color:var(--text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:100%;max-width:430px;min-height:100dvh;margin:0 auto;padding:0;font-family:-apple-system,BlinkMacSystemFont,SF Pro Display,SF Pro Text,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;transition:background-color .3s,color .3s;overflow-x:hidden}.hyperfocus-app *,.hyperfocus-app :before,.hyperfocus-app :after{box-sizing:border-box}.hyperfocus-app .app-container{padding:16px;padding-top:max(16px,env(safe-area-inset-top));padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right));padding-bottom:max(16px,env(safe-area-inset-bottom));max-width:100%;min-height:100dvh;position:relative;overflow-x:hidden}.hyperfocus-app .header{justify-content:space-between;align-items:center;display:flex}.hyperfocus-app .back-btn{color:var(--text-muted);cursor:pointer;-webkit-tap-highlight-color:transparent;background:0 0;border:none;padding:8px;font-size:24px}.hyperfocus-app .title{color:var(--text-primary);letter-spacing:-.4px;font-size:17px;font-weight:600}.hyperfocus-app .spacer{width:40px}.hyperfocus-app .session-list{flex-direction:column;gap:16px;display:flex}.hyperfocus-app .session-card{background:var(--bg-secondary);border:none;border-left:3px solid var(--card-accent,var(--border-primary));cursor:default;box-shadow:var(--shadow-small);border-radius:12px;padding:16px;transition:all .3s cubic-bezier(.4,0,.2,1)}.hyperfocus-app .session-card:hover{box-shadow:var(--shadow-medium);transform:translateY(-2px)}.hyperfocus-app .session-card-content{align-items:center;gap:16px;display:flex}.hyperfocus-app .session-card-main{flex:1;min-width:0}.hyperfocus-app .session-card h3{color:var(--text-primary);letter-spacing:-.4px;margin-bottom:8px;font-size:17px;font-weight:600}.hyperfocus-app .session-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;display:flex}.hyperfocus-app .session-header h3{flex:1;min-width:0;margin-bottom:0}.hyperfocus-app .session-edit-controls{flex-shrink:0;gap:8px;display:flex}.hyperfocus-app .session-meta{color:var(--text-secondary);gap:16px;font-size:15px;font-weight:400;display:flex}.hyperfocus-app .session-actions{border-top:1px solid var(--border-tertiary);gap:12px;width:100%;margin-top:14px;padding-top:14px;display:flex}.hyperfocus-app .session-actions .btn-icon{flex:1;min-width:0}.hyperfocus-app .btn-icon{border:1px solid var(--border-primary);color:var(--text-muted);cursor:pointer;-webkit-tap-highlight-color:transparent;background:0 0;border-radius:6px;justify-content:center;align-items:center;gap:6px;padding:6px 12px;font-size:12px;transition:all .2s;display:inline-flex}.hyperfocus-app .btn-icon .btn-icon-icon{flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.hyperfocus-app .btn-icon .btn-icon-icon svg{vertical-align:middle;display:block}.hyperfocus-app .btn-icon .btn-icon-label{white-space:nowrap}.hyperfocus-app .btn-icon:hover{border-color:var(--accent-blue);color:var(--accent-blue)}.hyperfocus-app .btn-icon.success{border-color:var(--accent-green);color:var(--accent-green)}.hyperfocus-app .btn-icon.success:hover{background:var(--accent-green);color:#fff}.hyperfocus-app .btn-icon.danger{border-color:var(--border-primary);color:var(--text-muted)}.hyperfocus-app .btn-icon.danger:hover{background:var(--accent-red);border-color:var(--accent-red);color:#fff}.hyperfocus-app .mini-circular-timer-button{cursor:pointer;-webkit-tap-highlight-color:transparent;background:0 0;border:none;flex-shrink:0;padding:0;transition:all .2s}.hyperfocus-app .mini-circular-timer-button:hover{transform:scale(1.1)}.hyperfocus-app .mini-circular-timer-button:active{transform:scale(.95)}.hyperfocus-app .mini-circular-timer{display:block}.hyperfocus-app .add-btn{bottom:max(24px,env(safe-area-inset-bottom));right:max(24px,env(safe-area-inset-right));background:linear-gradient(135deg,var(--accent-blue)0%,var(--accent-blue-dark)100%);color:#fff;cursor:pointer;width:56px;min-width:56px;height:56px;min-height:56px;box-shadow:var(--shadow-large);-webkit-tap-highlight-color:transparent;border:none;border-radius:50%;justify-content:center;align-items:center;padding:0;font-size:32px;font-weight:300;line-height:1;transition:all .3s cubic-bezier(.4,0,.2,1);display:flex;position:fixed}.hyperfocus-app .add-btn span{line-height:1;display:block;transform:translateY(-.06em)}.hyperfocus-app .add-btn:hover{transform:scale(1.05);box-shadow:0 6px 20px #007aff80}.hyperfocus-app .add-btn:active{transform:scale(.95)}@keyframes timerViewFadeIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.hyperfocus-app .timer-container{flex-direction:column;align-items:center;padding:20px;animation:.3s ease-out timerViewFadeIn;display:flex}.hyperfocus-app .circular-timer-wrapper{aspect-ratio:1;width:100%;max-width:min(320px,85vw);margin:0 auto 20px;transition:max-width .3s ease-out;position:relative}.hyperfocus-app .circular-timer{filter:drop-shadow(0 8px 24px #0006);width:100%;height:100%;margin:0;position:relative}.hyperfocus-app .timer-display{text-align:center;z-index:10;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.hyperfocus-app .timer-time{color:var(--text-primary);letter-spacing:-3px;text-shadow:0 2px 8px #0000004d;font-variant-numeric:tabular-nums;font-size:clamp(48px,16vw,72px);font-weight:700;transition:text-shadow .3s}.hyperfocus-app .timer-status{color:var(--text-light);margin-top:8px;font-size:13px;font-weight:500}.hyperfocus-app .timer-controls{gap:16px;margin:24px 0;display:flex}.hyperfocus-app .btn-primary{background:linear-gradient(135deg,var(--accent-blue)0%,var(--accent-blue-dark)100%);color:#fff;cursor:pointer;letter-spacing:-.4px;-webkit-tap-highlight-color:transparent;border:none;border-radius:12px;padding:12px 24px;font-size:17px;font-weight:600;transition:all .2s}.hyperfocus-app .btn-primary:hover{background:linear-gradient(135deg,var(--accent-blue-dark)0%,var(--accent-blue-darker)100%);box-shadow:var(--shadow-large)}.hyperfocus-app .btn-primary:active{background:linear-gradient(135deg,var(--accent-blue-darker)0%,#003080 100%);transform:scale(.95)}.hyperfocus-app .btn-danger{background:var(--accent-red);color:#fff;cursor:pointer;letter-spacing:-.4px;-webkit-tap-highlight-color:transparent;border:none;border-radius:12px;padding:12px 24px;font-size:17px;font-weight:600;transition:all .2s}.hyperfocus-app .btn-danger:hover{background:var(--accent-red-dark)}.hyperfocus-app .btn-danger:active{background:var(--accent-red-darker);transform:scale(.96)}.hyperfocus-app .block-builder{margin-top:24px}.hyperfocus-app .builder-header{color:var(--text-muted);text-transform:uppercase;letter-spacing:1px;margin-bottom:12px;font-size:14px}.hyperfocus-app .block-input-group{gap:8px;margin-bottom:12px;display:flex}.hyperfocus-app .input-field{background:var(--bg-secondary);color:var(--text-primary);border:none;border-radius:10px;flex:1;padding:11px 16px;font-size:17px;transition:all .2s}.hyperfocus-app .input-field:focus{background:var(--bg-tertiary);outline:none;box-shadow:0 0 0 2px #007aff4d}.hyperfocus-app .input-field::placeholder{color:var(--text-tertiary)}.hyperfocus-app .input-small{width:80px}.hyperfocus-app .duration-input{background:var(--bg-input);color:var(--text-primary);text-align:center;border:1px solid #444;border-radius:6px;width:60px;padding:8px 12px;font-size:16px;font-weight:600}.hyperfocus-app .duration-input:focus{border-color:var(--accent-blue-hover);background:var(--bg-input);outline:none}.hyperfocus-app .time-stepper{background:var(--bg-hover);color:var(--accent-blue-hover);cursor:pointer;border:1px solid #444;border-radius:4px;width:100%;padding:4px 12px;font-size:12px;transition:all .2s}.hyperfocus-app .time-stepper:hover{background:var(--border-primary);border-color:var(--accent-blue-hover)}.hyperfocus-app .time-stepper-group{background:var(--bg-secondary);border:1px solid #2c2c2e;border-radius:14px;align-items:center;display:flex;overflow:hidden}.hyperfocus-app .time-stepper-compact{color:var(--accent-blue);cursor:pointer;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;background:0 0;border:none;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;padding:0;font-size:20px;font-weight:500;line-height:1;transition:background .15s,color .15s;display:inline-flex}.hyperfocus-app .time-stepper-compact:hover{background:var(--bg-tertiary)}.hyperfocus-app .time-stepper-compact:active{background:var(--accent-blue);color:#fff}.hyperfocus-app .time-stepper-value{background:var(--bg-input);text-align:center;min-width:52px;padding:8px 4px}.hyperfocus-app .time-stepper-value .time-display-input{font-size:22px;font-weight:700}.hyperfocus-app .time-display-input{color:var(--text-primary);text-align:center;background:0 0;border:none;outline:none;width:100%;font-size:20px;font-weight:700}.hyperfocus-app .time-display-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.hyperfocus-app .time-display-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.hyperfocus-app .time-display-input[type=number]{-moz-appearance:textfield}.hyperfocus-app .btn-add{background:var(--block-task-color,#0c6);color:#fff;cursor:pointer;-webkit-tap-highlight-color:transparent;border:none;border-radius:8px;padding:10px 20px;font-size:14px;font-weight:600;transition:all .2s}.hyperfocus-app .btn-add:hover{background:var(--block-task-color-dark,#0a5)}.hyperfocus-app .block-list{flex-direction:column;gap:8px;max-width:100%;margin-top:16px;transition:padding-left .3s;display:flex;position:relative}.hyperfocus-app .block-item.in-repeat{margin-left:44px}.hyperfocus-app .block-item{background:var(--bg-secondary);border:.5px solid var(--border-tertiary);cursor:grab;-webkit-user-select:none;user-select:none;border-left:4px solid;border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;min-width:0;max-width:100%;padding:12px;transition:all .2s;display:flex;position:relative;box-shadow:0 1px 3px #0003}.hyperfocus-app .block-item.editing{background:var(--bg-tertiary);cursor:default;align-items:flex-start;box-shadow:0 0 0 2px #007aff4d}.hyperfocus-app .block-item:active{cursor:grabbing}.hyperfocus-app .block-item.editing:active{cursor:default}.hyperfocus-app .block-item.dragging{opacity:.3;border-style:dashed;border-color:var(--border-secondary);transition:none;transform:scale(.97)}.hyperfocus-app .block-item.drag-over{background:var(--bg-tertiary);border-top:3px solid #007aff;margin-top:-1px}.hyperfocus-app .drag-preview{pointer-events:none;z-index:9999;transition:none;position:fixed;box-shadow:0 8px 32px #007aff40,0 4px 12px #0006}.hyperfocus-app .block-item.task{border-left-color:var(--block-task-color,#0c6)}.hyperfocus-app .block-item.break{border-left-color:var(--block-break-color,#ff6b35)}.hyperfocus-app .block-item.notification{border-left-color:var(--block-notification-color,var(--accent-yellow))}.hyperfocus-app .block-item.prompt{border-left-color:var(--accent-blue-hover)}.hyperfocus-app .block-info{flex:1;align-items:center;gap:12px;width:100%;min-width:0;display:flex}.hyperfocus-app .block-info.editing{flex-wrap:wrap;gap:12px}.hyperfocus-app .block-edit-form{flex-wrap:wrap;flex:1;align-items:center;gap:6px;min-width:0;display:flex}.hyperfocus-app .block-edit-input{background:var(--bg-input);color:var(--text-primary);border:.5px solid #333;border-radius:6px;padding:6px 10px;font-size:16px}.hyperfocus-app .block-edit-input:focus{border-color:var(--accent-blue-hover);outline:none}.hyperfocus-app .block-edit-duration{flex-shrink:1;align-items:center;gap:4px;min-width:0;display:flex}.hyperfocus-app .block-edit-input.name{flex:1}.hyperfocus-app .block-edit-input.duration{width:60px}.hyperfocus-app .color-picker-wrapper{align-items:center;display:flex;position:relative}.hyperfocus-app .color-picker-button{border:1px solid var(--border-primary);cursor:pointer;border-radius:50%;justify-content:center;align-items:center;width:40px;height:40px;transition:all .2s;display:flex;position:relative;overflow:hidden}.hyperfocus-app .color-picker-button:hover{border-color:var(--accent-blue-hover);transform:scale(1.1)}.hyperfocus-app .color-input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;top:0;left:0}.hyperfocus-app .block-color-display{border:2px solid var(--bg-primary);pointer-events:none;border-radius:50%;flex-shrink:0;width:32px;height:32px}.hyperfocus-app .block-name{color:var(--text-primary);margin-bottom:4px;font-size:15px}.hyperfocus-app .block-duration{color:var(--text-muted);font-size:12px}.hyperfocus-app .block-actions{flex-shrink:0;gap:8px;margin-left:auto;display:flex}.hyperfocus-app .btn-small{background:var(--bg-secondary);color:var(--text-primary);cursor:pointer;-webkit-tap-highlight-color:transparent;border:none;border-radius:8px;padding:8px 12px;font-size:15px;font-weight:500;transition:all .2s}.hyperfocus-app .btn-small:hover{background:var(--bg-tertiary)}.hyperfocus-app .btn-small:active{transform:scale(.95)}.hyperfocus-app .btn-small.success{background:var(--accent-green);color:#fff}.hyperfocus-app .btn-small.success:hover{background:var(--accent-green-dark)}.hyperfocus-app .btn-small.danger{background:var(--accent-red);color:#fff}.hyperfocus-app .btn-small.danger:hover{background:var(--accent-red-dark)}.hyperfocus-app .task-builder-duration{background:var(--bg-input);border:1px solid #333;border-radius:8px;flex-wrap:wrap;flex:1;align-items:center;gap:16px;min-width:0;padding:10px 14px;display:flex}.hyperfocus-app .quick-add,.hyperfocus-app .block-builder{max-width:100%;overflow:hidden}.hyperfocus-app .empty-state{text-align:center;color:var(--text-tertiary);padding:60px 20px}.hyperfocus-app .empty-state h3{color:var(--text-muted);margin-bottom:12px;font-size:18px}.hyperfocus-app .empty-state p{font-size:14px;line-height:1.6}.hyperfocus-app .quick-add{background:var(--bg-input);border:.5px solid var(--border-tertiary);border-radius:12px;margin-bottom:24px;padding:16px}.hyperfocus-app .btn-secondary{background:var(--bg-hover);color:var(--text-primary);cursor:pointer;-webkit-tap-highlight-color:transparent;border:1px solid #333;border-radius:8px;padding:8px 16px;font-size:13px;transition:all .2s}.hyperfocus-app .btn-secondary:hover{background:var(--border-primary);border-color:var(--accent-blue-hover)}.hyperfocus-app .current-block{text-align:center;margin:16px 0}.hyperfocus-app .current-block-name{color:var(--text-primary);margin-bottom:8px;font-size:24px;font-weight:600}.hyperfocus-app .next-block{color:var(--text-muted);font-size:13px}.hyperfocus-app .modal-overlay{z-index:1000;pointer-events:none;justify-content:center;align-items:flex-end;padding:0;display:flex;position:fixed;bottom:0;left:0;right:0}.hyperfocus-app .modal-content{background:var(--bg-secondary);padding:16px 20px max(20px,env(safe-area-inset-bottom))20px;padding-left:max(20px,env(safe-area-inset-left));padding-right:max(20px,env(safe-area-inset-right));box-sizing:border-box;pointer-events:auto;border-top:3px solid #007aff;border-radius:16px 16px 0 0;width:100%;max-width:428px;animation:.3s ease-out slideUp;box-shadow:0 -4px 16px #00000080}@keyframes slideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes fadeInScale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes pulseGlow{0%,to{box-shadow:0 0 0 3px #007aff66,0 1px 3px #0003}50%{box-shadow:0 0 0 6px #007aff99,0 1px 3px #0003}}@keyframes breathe{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}@keyframes ringPulse{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(1.05)}}@keyframes celebrationRing{0%{opacity:1;transform:scale(.8)}to{opacity:0;transform:scale(2.5)}}@keyframes celebrationFadeIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes blockFlash{0%{opacity:.8}50%{opacity:1}to{opacity:0}}.hyperfocus-app .timer-immersive .header{opacity:.4;transition:opacity .3s}.hyperfocus-app .timer-immersive .header:hover{opacity:1}.hyperfocus-app .timer-immersive .circular-timer-wrapper{max-width:min(360px,90vw)}.hyperfocus-app .timer-immersive .circular-timer{animation:4s ease-in-out infinite breathe}.hyperfocus-app .timer-glow{pointer-events:none;z-index:0;border-radius:50%;width:110%;height:110%;transition:opacity .5s;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.hyperfocus-app .stats-card{background:var(--bg-secondary);-webkit-backdrop-filter:blur(20px);border:1px solid var(--border-tertiary);border-radius:16px;margin-bottom:20px;padding:20px;position:relative;overflow:hidden}.hyperfocus-app .stats-card:before{content:"";background:linear-gradient(90deg,#0000,#007aff66,#0000);height:1px;position:absolute;top:0;left:0;right:0}.hyperfocus-app .stats-grid{text-align:center;grid-template-columns:1fr 1fr 1fr;gap:16px;display:grid}.hyperfocus-app .stat-item{flex-direction:column;gap:4px;display:flex}.hyperfocus-app .stat-value{color:var(--text-primary);letter-spacing:-1px;font-variant-numeric:tabular-nums;font-size:28px;font-weight:700}.hyperfocus-app .stat-label{color:var(--text-secondary);text-transform:uppercase;letter-spacing:.5px;font-size:11px;font-weight:600}.hyperfocus-app .celebration-overlay{z-index:1000;pointer-events:auto;background:#000000d9;flex-direction:column;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.hyperfocus-app .celebration-rings{width:200px;height:200px;position:absolute}.hyperfocus-app .celebration-ring{border:3px solid;border-radius:50%;animation:1.5s ease-out forwards celebrationRing;position:absolute;inset:0}.hyperfocus-app .celebration-ring:nth-child(2){animation-delay:.2s}.hyperfocus-app .celebration-ring:nth-child(3){animation-delay:.4s}.hyperfocus-app .celebration-text{z-index:1;text-align:center;animation:.5s ease-out .3s both celebrationFadeIn;position:relative}.hyperfocus-app .celebration-title{color:var(--text-primary);letter-spacing:-1px;margin-bottom:8px;font-size:28px;font-weight:700}.hyperfocus-app .celebration-subtitle{color:var(--text-secondary);font-size:15px;font-weight:500}.hyperfocus-app .celebration-duration{color:var(--text-primary);letter-spacing:-2px;font-variant-numeric:tabular-nums;margin-top:16px;font-size:48px;font-weight:700;animation:.5s ease-out .5s both celebrationFadeIn}.hyperfocus-app .block-flash{pointer-events:none;z-index:5;border-radius:50%;animation:.4s ease-out forwards blockFlash;position:absolute;inset:0}.hyperfocus-app .welcome-card{-webkit-backdrop-filter:blur(20px);text-align:center;background:#1c1c1ecc;border:1px solid #ffffff0f;border-radius:20px;margin-bottom:24px;padding:32px 24px;position:relative;overflow:hidden}.hyperfocus-app .welcome-card:before{content:"";background:linear-gradient(90deg,#0000,#007aff80,#0000);height:1px;position:absolute;top:0;left:0;right:0}.hyperfocus-app[data-theme=light] .welcome-card{border:1px solid var(--border-tertiary);background:#f5f5f7e6}.hyperfocus-app[data-theme=light] .welcome-preset-btn{background:linear-gradient(135deg,#007aff14 0%,#0051d50d 100%);border:1px solid #007aff33}.hyperfocus-app[data-theme=light] .welcome-preset-btn:hover{background:linear-gradient(135deg,#007aff26 0%,#0051d51a 100%);border-color:#007aff66}.hyperfocus-app .welcome-title{color:var(--text-primary);letter-spacing:-.5px;margin-bottom:8px;font-size:22px;font-weight:700}.hyperfocus-app .welcome-subtitle{color:var(--text-secondary);margin-bottom:24px;font-size:15px;line-height:1.4}.hyperfocus-app .welcome-presets{flex-direction:column;gap:10px;display:flex}.hyperfocus-app .welcome-preset-btn{color:var(--text-primary);cursor:pointer;text-align:left;-webkit-tap-highlight-color:transparent;background:linear-gradient(135deg,#007aff26 0%,#0051d51a 100%);border:1px solid #007aff4d;border-radius:14px;align-items:center;gap:12px;padding:16px;font-size:16px;font-weight:600;transition:all .2s;display:flex}.hyperfocus-app .welcome-preset-btn:hover{background:linear-gradient(135deg,#007aff40 0%,#0051d533 100%);border-color:#007aff80;transform:translateY(-1px)}.hyperfocus-app .welcome-preset-btn:active{transform:scale(.98)}.hyperfocus-app .welcome-preset-icon{border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;font-size:20px;display:flex}.hyperfocus-app .welcome-preset-info{flex-direction:column;gap:2px;display:flex}.hyperfocus-app .welcome-preset-desc{color:var(--text-secondary);font-size:12px;font-weight:400}.hyperfocus-app .welcome-samples-link{color:var(--accent-blue);cursor:pointer;-webkit-tap-highlight-color:transparent;background:0 0;border:none;margin-top:16px;padding:8px;font-size:13px}.hyperfocus-app .welcome-samples-link:hover{text-decoration:underline}.hyperfocus-app .list-header-brand{position:relative}.hyperfocus-app[data-theme=light] .list-header-brand svg{filter:invert()}.hyperfocus-app .list-header-brand:after{content:"";background:linear-gradient(90deg,#0000,#007aff66,#0000);width:60%;height:1px;position:absolute;bottom:-8px;left:50%;transform:translate(-50%)}.hyperfocus-app .modal-title{color:var(--text-primary);letter-spacing:-.4px;margin-bottom:6px;font-size:17px;font-weight:600}.hyperfocus-app .modal-description{color:var(--text-secondary);margin-bottom:16px;font-size:14px;line-height:1.4}.hyperfocus-app .modal-actions{gap:12px;margin-top:16px;display:flex}.hyperfocus-app .repeat-input-wrapper{background:var(--bg-tertiary);border:2px solid #007aff;border-radius:12px;margin-bottom:12px;padding:12px}.hyperfocus-app .repeat-input-label{color:var(--text-secondary);margin-bottom:8px;font-size:13px;font-weight:500;display:block}.hyperfocus-app .repeat-count-input{background:var(--bg-secondary);color:var(--text-primary);text-align:center;letter-spacing:-.4px;border:none;border-radius:8px;width:100%;padding:12px 16px;font-size:20px;font-weight:600}.hyperfocus-app .repeat-count-input:focus{outline:none;box-shadow:0 0 0 2px #007aff4d}.hyperfocus-app .block-item.repeat-selected{animation:1.5s ease-in-out infinite pulseGlow;transform:scale(1.02)}.hyperfocus-app .block-item.repeat-mode{transition:all .2s;cursor:pointer!important}.hyperfocus-app .block-item.repeat-mode:hover{transform:translateY(-2px);box-shadow:0 4px 12px #007aff4d}.hyperfocus-app .repeat-bracket-container{pointer-events:none;width:30px;position:absolute;top:0;bottom:0;left:-40px}.hyperfocus-app .repeat-bracket{position:absolute;inset:0 4px 0 0}.hyperfocus-app .repeat-bracket svg{width:100%;height:100%}.hyperfocus-app .repeat-count-badge{background:var(--accent-blue);color:#fff;white-space:nowrap;pointer-events:auto;cursor:pointer;border-radius:12px;align-items:center;gap:4px;padding:5px 10px;font-size:12px;font-weight:700;transition:all .2s;display:flex;position:absolute;top:50%;left:-4px;transform:translateY(-50%);box-shadow:0 2px 6px #0000004d}.hyperfocus-app .repeat-count-badge:hover{background:#0051d5;transform:translateY(-50%)scale(1.05)}.hyperfocus-app .drag-handle{color:var(--text-secondary);opacity:.8;cursor:grab;z-index:5;-webkit-tap-highlight-color:transparent;touch-action:none;justify-content:center;align-items:center;transition:opacity .2s,transform .1s;display:flex;position:absolute;top:50%;left:8px;transform:translateY(-50%)}.hyperfocus-app .block-item:hover .drag-handle{opacity:1;transform:translateY(-50%)scale(1.05)}.hyperfocus-app .block-item.dragging .drag-handle{opacity:1;cursor:grabbing}.hyperfocus-app .block-item:active .drag-handle{cursor:grabbing}.hyperfocus-app button:focus-visible,.hyperfocus-app [role=button]:focus-visible,.hyperfocus-app select:focus-visible,.hyperfocus-app a:focus-visible{outline:2px solid var(--accent-blue);outline-offset:2px}.hyperfocus-app .input-field:focus-visible,.hyperfocus-app .duration-input:focus-visible,.hyperfocus-app .block-edit-input:focus-visible,.hyperfocus-app .repeat-count-input:focus-visible{outline:2px solid var(--accent-blue);outline-offset:1px}.hyperfocus-app .repeat-count-badge:focus-visible{outline-offset:2px;outline:2px solid #fff}@media (prefers-reduced-motion:reduce){.hyperfocus-app .celebration-ring,.hyperfocus-app .celebration-text,.hyperfocus-app .celebration-duration,.hyperfocus-app .timer-immersive .circular-timer,.hyperfocus-app .block-item.repeat-selected,.hyperfocus-app .block-flash,.hyperfocus-app .modal-content,.hyperfocus-app .modal-overlay .modal-content{animation:none!important}.hyperfocus-app .celebration-text,.hyperfocus-app .celebration-duration{opacity:1;transform:none}.hyperfocus-app *{transition-duration:.01ms!important}}.hyperfocus-app.reduce-motion .celebration-ring,.hyperfocus-app.reduce-motion .celebration-text,.hyperfocus-app.reduce-motion .celebration-duration,.hyperfocus-app.reduce-motion .timer-immersive .circular-timer,.hyperfocus-app.reduce-motion .block-item.repeat-selected,.hyperfocus-app.reduce-motion .block-flash,.hyperfocus-app.reduce-motion .modal-content,.hyperfocus-app.reduce-motion .modal-overlay .modal-content{animation:none!important}.hyperfocus-app.reduce-motion .celebration-text,.hyperfocus-app.reduce-motion .celebration-duration{opacity:1;transform:none}.hyperfocus-app.reduce-motion *{transition-duration:.01ms!important}.hyperfocus-app .sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (max-width:428px){.hyperfocus-app{max-width:100%}.hyperfocus-app .app-container{padding:12px;padding-top:max(12px,env(safe-area-inset-top));padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right));padding-bottom:max(12px,env(safe-area-inset-bottom))}.hyperfocus-app .header{margin-bottom:20px}.hyperfocus-app .back-btn{justify-content:center;align-items:center;min-width:44px;min-height:44px;padding:10px;display:inline-flex}.hyperfocus-app .session-actions{flex-wrap:wrap;gap:8px}.hyperfocus-app .session-actions .btn-icon{min-width:calc(50% - 4px);min-height:44px;padding:10px 14px;font-size:14px}.hyperfocus-app .timer-container{padding:12px 8px}.hyperfocus-app .timer-controls{flex-wrap:wrap;justify-content:center;gap:12px;margin:20px 0}.hyperfocus-app .btn-primary,.hyperfocus-app .btn-danger{-webkit-tap-highlight-color:transparent;min-width:44px;min-height:48px;padding:12px 20px}.hyperfocus-app .btn-secondary{min-height:44px;padding:12px 18px;font-size:14px}.hyperfocus-app .btn-add{min-height:48px;padding:14px 20px;font-size:15px}.hyperfocus-app .btn-small{justify-content:center;align-items:center;min-width:44px;min-height:44px;padding:10px 14px;display:inline-flex}.hyperfocus-app .time-stepper-compact{width:48px;height:48px;font-size:22px}.hyperfocus-app .time-stepper-group{border-radius:16px}.hyperfocus-app .time-stepper-value{min-width:56px;padding:10px 4px}.hyperfocus-app .time-stepper-value .time-display-input{font-size:24px}.hyperfocus-app .color-picker-button{width:44px;min-width:44px;height:44px;min-height:44px}.hyperfocus-app .color-picker-wrapper{min-width:44px;min-height:44px}.hyperfocus-app .drag-handle{min-width:44px;min-height:44px;padding:14px 10px}.hyperfocus-app .input-field{min-height:44px;padding:12px 16px}.hyperfocus-app .block-edit-input{min-height:44px;padding:10px 12px;font-size:16px}.hyperfocus-app .block-edit-form select.input-field,.hyperfocus-app .block-edit-form select{min-height:44px;padding:10px 12px;font-size:14px}.hyperfocus-app .modal-actions .btn-primary,.hyperfocus-app .modal-actions .btn-secondary,.hyperfocus-app .modal-actions .btn-danger{min-height:48px;padding:12px 16px}.hyperfocus-app .block-edit-form label,.hyperfocus-app .block-builder label{align-items:center;gap:10px;min-height:44px;display:inline-flex}.hyperfocus-app .current-block-name{font-size:20px}.hyperfocus-app .timer-immersive .circular-timer-wrapper{max-width:min(320px,90vw)}.hyperfocus-app .stats-grid{gap:8px}.hyperfocus-app .stat-value{font-size:24px}.hyperfocus-app .block-edit-form{flex-direction:column;align-items:stretch;gap:8px}.hyperfocus-app .block-edit-duration{flex-wrap:wrap;justify-content:center;gap:8px}.hyperfocus-app .task-builder-duration{gap:10px;align-items:center!important}.hyperfocus-app .task-builder-duration>div{justify-content:center}.hyperfocus-app select{font-size:16px}}@media (max-width:380px){.hyperfocus-app .app-container{padding:10px;padding-top:max(10px,env(safe-area-inset-top));padding-left:max(10px,env(safe-area-inset-left));padding-right:max(10px,env(safe-area-inset-right));padding-bottom:max(10px,env(safe-area-inset-bottom))}.hyperfocus-app .circular-timer-wrapper{max-width:min(280px,90vw)}.hyperfocus-app .timer-immersive .circular-timer-wrapper{max-width:min(300px,90vw)}.hyperfocus-app .session-card{padding:12px}.hyperfocus-app .session-card h3{font-size:16px}.hyperfocus-app .session-meta{gap:12px;font-size:14px}.hyperfocus-app .block-input-group{flex-direction:column}.hyperfocus-app .input-small{width:100%}.hyperfocus-app .block-edit-form{flex-direction:column;align-items:stretch}.hyperfocus-app .block-edit-input.duration{width:100%}.hyperfocus-app .block-actions{justify-content:flex-end;width:100%;margin-left:0}.hyperfocus-app .title{text-overflow:ellipsis;white-space:nowrap;max-width:60vw;font-size:16px;overflow:hidden}.hyperfocus-app .list-header-brand{font-size:24px!important}.hyperfocus-app .list-header-brand svg{width:44px;height:44px}.hyperfocus-app .quick-timer-row{flex-wrap:wrap;justify-content:center;gap:8px}.hyperfocus-app .block-item.in-repeat{margin-left:32px}.hyperfocus-app .repeat-bracket-container{width:22px;left:-28px}.hyperfocus-app .repeat-count-badge{padding:3px 6px;font-size:10px;left:-6px}.hyperfocus-app .block-edit-duration{justify-content:center}}
