*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:linear-gradient(135deg,#667eea,#764ba2);min-height:100vh}#root{min-height:100vh}.app{min-height:100vh;padding:20px;color:#fff}.app-header{text-align:center;margin-bottom:30px;background:#ffffff1a;padding:30px;border-radius:20px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.app-header h1{font-size:3rem;margin-bottom:10px;text-shadow:2px 2px 4px rgba(0,0,0,.3)}.app-header p{font-size:1.3rem;opacity:.9}.nav-tabs{display:flex;gap:10px;justify-content:center;margin-bottom:30px;flex-wrap:wrap}.nav-tabs button{background:#fff3;border:2px solid transparent;padding:15px 30px;border-radius:15px;color:#fff;font-size:1.1rem;font-weight:600;cursor:pointer;transition:all .3s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.nav-tabs button:hover{background:#ffffff4d;transform:translateY(-2px)}.nav-tabs button.active{background:#fff6;border-color:#fff9;transform:scale(1.05)}.nav-short{display:none}.app-main{max-width:1200px;margin:0 auto}.tracking-view{display:flex;flex-direction:column;gap:40px}.preset-selector{background:#ffffff1a;border-radius:20px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);overflow:hidden}.preset-selector-header{width:100%;display:flex;align-items:center;gap:10px;padding:14px 20px;background:none;border:none;cursor:pointer;color:#fff;text-align:left}.preset-selector-label{font-size:.85rem;opacity:.7;white-space:nowrap;flex-shrink:0}.preset-selector-active{font-size:1rem;font-weight:700;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.preset-selector-chevron{flex-shrink:0;transition:transform .25s ease;font-size:1rem;opacity:.8}.preset-selector.open .preset-selector-chevron{transform:rotate(180deg)}.preset-selector .preset-buttons{padding:0 20px 20px}.preset-buttons{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:15px}.preset-wrapper{position:relative}.preset-btn{width:100%;background:#ffffff26;border:3px solid transparent;padding:20px;border-radius:15px;cursor:pointer;transition:all .3s ease;text-align:left}.preset-btn:hover{background:#ffffff40;transform:translateY(-3px);box-shadow:0 6px 12px #0003}.preset-btn.active{background:#ffffff4d;border-color:#ffffffb3;box-shadow:0 0 20px #ffffff4d}.preset-name{font-size:1.2rem;font-weight:700;color:#fff;margin-bottom:8px;display:flex;align-items:center;justify-content:space-between;gap:10px}.delete-preset-btn{position:absolute;top:8px;right:8px;background:#f565654d;border:1px solid rgba(245,101,101,.5);border-radius:50%;width:24px;height:24px;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:14px;color:#fff;transition:all .2s ease;padding:0;line-height:1;z-index:1}.preset-desc{font-size:.95rem;color:#ffffffd9;line-height:1.4}.bar-section{background:#ffffff1a;padding:30px;border-radius:20px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.bar-section.timer-section{background:#68d3911a;border:2px solid rgba(104,211,145,.3)}.bar-section h2{margin-bottom:15px;font-size:2rem;text-align:center}.instruction{text-align:center;font-size:1.1rem;opacity:.9;margin-bottom:20px;font-style:italic}.active-timer-notice{background:#ecc94b33;border:2px solid rgba(236,201,75,.5);border-radius:10px;padding:12px 20px;color:#fff59d;font-weight:700;font-style:normal;animation:notice-pulse 2s ease-in-out infinite}@keyframes notice-pulse{0%,to{background:#ecc94b33}50%{background:#ecc94b4d}}.reset-btn{display:block;margin:20px auto 0;padding:12px 24px;background:#ffffff4d;border:2px solid rgba(255,255,255,.5);border-radius:10px;color:#fff;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease}.reset-btn:hover{background:#fff6;transform:scale(1.05)}.reset-buttons{display:flex;gap:15px;justify-content:center;margin-top:20px;flex-wrap:wrap}.reset-buttons .reset-btn{margin:0}.reset-all-btn{background:#f565654d;border:2px solid rgba(245,101,101,.6)}.reset-all-btn:hover{background:#f5656580;border-color:#f56565cc}.save-record-section{margin-top:30px;padding-top:25px;border-top:2px dashed rgba(255,255,255,.3);text-align:center}.save-record-row{display:flex;gap:15px;justify-content:center;align-items:center;flex-wrap:wrap}.save-record-row .reset-all-btn{margin:0}.save-record-btn{padding:15px 40px;background:#68d3914d;border:2px solid rgba(104,211,145,.6);border-radius:12px;color:#fff;font-size:1.1rem;font-weight:700;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 6px #0003}.save-record-btn:hover{background:#68d39180;border-color:#68d391cc;transform:scale(1.05);box-shadow:0 6px 12px #0000004d}.save-record-section .instruction{margin-top:10px;margin-bottom:0;font-size:.95rem}.history-view{background:#ffffff1a;padding:40px;border-radius:20px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);text-align:center}.history-view h2{font-size:2.5rem;margin-bottom:20px}.app-footer{text-align:center;padding:20px;margin-top:40px;background:#ffffff0d;border-radius:10px}.app-footer p{margin:0;font-size:.9rem;opacity:.7;color:#fff}@media(max-width:768px){.app{min-height:auto;padding-bottom:20px}.app-header{padding:8px 20px;margin-bottom:10px}.app-header h1{font-size:1.3rem;margin-bottom:0}.app-header p{display:none}.nav-tabs button{padding:8px 12px;font-size:.8rem;white-space:nowrap}.nav-tabs{flex-wrap:nowrap;gap:6px;margin-bottom:16px}.nav-full{display:none}.nav-short{display:inline}.preset-buttons{grid-template-columns:1fr}.app-footer{margin-top:20px;margin-bottom:0}}.colorbar-container{width:100%}.ring-container{display:flex;justify-content:center;align-items:center;padding:20px;margin-bottom:20px}.time-ring{max-width:100%;height:auto;filter:drop-shadow(0 8px 16px rgba(0,0,0,.3));touch-action:none;-webkit-user-select:none;user-select:none}.ring-segment{transition:filter .2s ease,opacity .2s ease;-webkit-tap-highlight-color:transparent}.ring-segment.draggable{cursor:grab}.ring-segment.draggable:hover{filter:brightness(1.15)}.ring-segment.draggable:active,.ring-segment.dragging{cursor:grabbing;filter:brightness(1.3)}.ring-segment.active-tracking{animation:pulsing-border 1.5s ease-in-out infinite;stroke:#68d391!important;stroke-width:4!important;filter:brightness(1.2) drop-shadow(0 0 8px #68D391)}.ring-segment.selected-fine-tune{stroke:#fff!important;stroke-width:4!important;filter:brightness(1.15) drop-shadow(0 0 6px rgba(255,255,255,.6))}@keyframes pulsing-border{0%,to{stroke-width:4;filter:brightness(1.2) drop-shadow(0 0 8px #68D391)}50%{stroke-width:5;filter:brightness(1.3) drop-shadow(0 0 12px #68D391)}}.ring-label{font-size:11px;font-weight:600;fill:#fff;text-shadow:1px 1px 3px rgba(0,0,0,.8);user-select:none;-webkit-user-select:none}.ring-label.unachieved-label{fill:#2d3748;text-shadow:none}.ring-label.unachieved-label .ring-task-name,.ring-label.unachieved-label .ring-task-time{fill:#2d3748}.ring-task-name{font-size:12px;font-weight:700}.ring-task-time{font-size:10px;opacity:.95}.ring-warning{font-size:9px;font-weight:700;fill:#fc8181}.ring-timer-badge{font-size:10px;font-weight:700;fill:#68d391;animation:timer-glow 1s ease-in-out infinite}@keyframes timer-glow{0%,to{opacity:1}50%{opacity:.7}}.center-label{font-size:16px;font-weight:600;fill:#ffffffb3;-webkit-user-select:none;user-select:none}.center-total{font-size:20px;font-weight:700;fill:#68d391;-webkit-user-select:none;user-select:none}.center-total.warning{fill:#fc8181;animation:pulse 1s ease-in-out infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.7}}.legend{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:15px;margin-top:20px}.legend-item{display:flex;align-items:center;gap:10px;padding:10px;background:#ffffff1a;border-radius:10px;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);transition:all .3s ease;flex:1;min-width:0}.legend-item-row{display:flex;align-items:stretch;gap:6px}.legend-item.clickable{cursor:pointer}.legend-item.clickable:hover{background:#ffffff26;transform:translateY(-2px);box-shadow:0 4px 8px #0003}.legend-item.active-tracking{background:#68d39133;border:2px solid #68D391;animation:legend-pulse 1.5s ease-in-out infinite}.legend-item.selected-fine-tune{background:#ffffff1a;border:2px solid rgba(255,255,255,.7)}@keyframes legend-pulse{0%,to{box-shadow:0 0 8px #68d39166}50%{box-shadow:0 0 16px #68d39199}}.legend-color{width:30px;height:30px;border-radius:8px;box-shadow:0 2px 4px #0003;flex-shrink:0}.legend-text{flex:1;font-size:.95rem;font-weight:500;color:#fff}.essential-badge{margin-left:5px;font-size:.9rem}.warning-text{color:#fed7d7;font-weight:700}.timer-badge-legend{margin-left:8px;color:#68d391;font-weight:700;animation:timer-glow 1s ease-in-out infinite}@media(max-width:768px){.ring-container{padding:10px}.time-ring{width:280px;height:280px}.ring-label{font-size:9px}.ring-task-name{font-size:10px}.ring-task-time{font-size:8px}.center-label{font-size:14px}.center-total{font-size:18px}.legend{grid-template-columns:1fr}.legend-item{font-size:.85rem}}@media(max-width:480px){.time-ring{width:250px;height:250px}.ring-label{font-size:8px}.ring-task-name{font-size:9px}.ring-task-time{font-size:7px}.center-label{font-size:12px}.center-total{font-size:16px}}.fine-tune-inline-btn{background:#ffffff1a;border:1.5px solid rgba(255,255,255,.25);border-radius:8px;font-size:1.1rem;cursor:pointer;opacity:.8;padding:0 10px;transition:opacity .2s,background .2s;line-height:1;flex-shrink:0;align-self:stretch;display:flex;align-items:center;min-width:44px;justify-content:center}.fine-tune-inline-btn:hover:not(.disabled){opacity:1;background:#fff3}.fine-tune-inline-btn.disabled{opacity:.3;cursor:default}.fine-tune-inline-btn.open{opacity:1;color:#68d391;border-color:#68d391;background:#68d39126;font-size:1.25rem;font-weight:700}.dialog-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000b3;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);display:flex;align-items:center;justify-content:center;z-index:10000;animation:dialog-backdrop-fade-in .2s ease}@keyframes dialog-backdrop-fade-in{0%{opacity:0}to{opacity:1}}.dialog-container{background:#ffffff26;-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);border:2px solid rgba(255,255,255,.3);border-radius:20px;padding:30px;max-width:450px;width:90%;box-shadow:0 20px 60px #00000080;animation:dialog-slide-in .3s cubic-bezier(.4,0,.2,1)}@keyframes dialog-slide-in{0%{opacity:0;transform:scale(.9) translateY(-20px)}to{opacity:1;transform:scale(1) translateY(0)}}.dialog-title{font-size:1.5rem;font-weight:700;color:#fff;margin:0 0 15px;text-align:center;text-shadow:2px 2px 4px rgba(0,0,0,.3)}.dialog-message{font-size:1.05rem;color:#fffffff2;line-height:1.5;margin:0 0 25px;text-align:center;white-space:pre-wrap}.dialog-buttons{display:flex;gap:12px;justify-content:center}.dialog-btn{padding:12px 28px;border-radius:12px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.dialog-btn-confirm{background:#68d3914d;border:2px solid rgba(104,211,145,.6);color:#fff}.dialog-btn-confirm:hover{background:#68d39180;border-color:#68d391cc;transform:translateY(-2px);box-shadow:0 8px 20px #0000004d}.dialog-btn-cancel{background:#fff3;border:2px solid rgba(255,255,255,.4);color:#fff}.dialog-btn-cancel:hover{background:#ffffff4d;border-color:#fff9;transform:translateY(-2px);box-shadow:0 8px 20px #0000004d}.dialog-btn:active{transform:translateY(0)}@media(max-width:768px){.dialog-container{padding:25px}.dialog-title{font-size:1.3rem;margin-bottom:12px}.dialog-message{font-size:1rem;margin-bottom:20px}.dialog-buttons{flex-direction:column-reverse;gap:10px}.dialog-btn{width:100%;padding:14px 20px}}.task-manager{display:flex;flex-direction:column;gap:30px}.preset-selector-section,.save-preset-section,.preset-io-section,.add-task-section,.tasks-list-section{background:#ffffff26;padding:30px;border-radius:20px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}h2{font-size:2rem;margin-bottom:25px;text-align:center}.preview-section{margin-bottom:25px;padding:20px;background:#ffffff0d;border-radius:15px;border:2px solid rgba(255,255,255,.1)}.preview-section h3{font-size:1.3rem;margin-bottom:15px;text-align:center;color:#fff;font-weight:600}.task-form{display:flex;flex-direction:column;gap:20px}.form-group{display:flex;flex-direction:column;gap:10px}.form-group label{font-size:1.1rem;font-weight:600;color:#fff}.form-group input[type=text],.form-group input[type=number]{padding:12px 16px;border:2px solid rgba(255,255,255,.3);border-radius:10px;background:#ffffff1a;color:#fff;font-size:1rem;transition:all .3s ease}.form-group input[type=text]:focus,.form-group input[type=number]:focus{outline:none;border-color:#fff9;background:#ffffff26}.form-group input::placeholder{color:#ffffff80}.time-input{display:flex;align-items:center;gap:15px}.time-input input{flex:1}.time-display{font-size:1.1rem;font-weight:600;color:#fff;min-width:80px}.time-adjust-buttons{display:flex;gap:12px}.time-adjust-btn{flex:1;padding:8px 0;border-radius:8px;color:#fff;font-size:.95rem;font-weight:600;cursor:pointer;transition:background .2s,transform .1s}.time-adjust-minus{background:#ff646440;border:1.5px solid rgba(255,100,100,.5)}.time-adjust-plus{background:#64dc8233;border:1.5px solid rgba(100,220,130,.45)}.time-adjust-btn:hover{filter:brightness(1.25);transform:scale(1.04)}.time-adjust-btn:active{filter:brightness(1.25)}.color-picker{display:flex;flex-wrap:wrap;gap:10px}.color-option{width:40px;height:40px;border-radius:10px;border:3px solid transparent;cursor:pointer;transition:all .2s ease}.color-option:hover{transform:scale(1.1);border-color:#ffffff80}.color-option.selected{border-color:#fff;box-shadow:0 0 10px #ffffff80;transform:scale(1.15)}.checkboxes{flex-direction:row;gap:20px;flex-wrap:wrap}.checkbox-label{display:flex;align-items:center;gap:10px;cursor:pointer;font-size:1rem;font-weight:500}.checkbox-label input[type=checkbox]{width:20px;height:20px;cursor:pointer}.add-btn{padding:15px 30px;background:#48bb78cc;border:none;border-radius:12px;color:#fff;font-size:1.2rem;font-weight:700;cursor:pointer;transition:all .3s ease}.add-btn:hover{background:#48bb78;transform:scale(1.05)}.update-preset-btn{width:100%;padding:15px;background:#48bb7866;border:2px solid rgba(72,187,120,.6);border-radius:12px;color:#fff;font-size:1.1rem;font-weight:600;cursor:pointer;transition:all .3s ease;margin-bottom:15px}.update-preset-btn:hover{background:#48bb7899;border-color:#48bb78cc;transform:translateY(-2px);box-shadow:0 4px 15px #48bb784d}.save-preset-trigger-btn{width:100%;padding:20px;background:#4299e14d;border:2px dashed rgba(66,153,225,.6);border-radius:12px;color:#fff;font-size:1.1rem;font-weight:600;cursor:pointer;transition:all .3s ease}.save-preset-trigger-btn:hover{background:#4299e180;border-style:solid;transform:translateY(-2px)}.save-preset-form{display:flex;flex-direction:column;gap:20px;padding:20px;background:#ffffff0d;border-radius:12px}.button-group{display:flex;gap:15px}.save-btn{flex:1;padding:15px 30px;background:#48bb78cc;border:none;border-radius:12px;color:#fff;font-size:1.1rem;font-weight:700;cursor:pointer;transition:all .3s ease}.save-btn:hover{background:#48bb78;transform:scale(1.05)}.cancel-btn{flex:1;padding:15px 30px;background:#a0aec04d;border:2px solid rgba(160,174,192,.5);border-radius:12px;color:#fff;font-size:1.1rem;font-weight:700;cursor:pointer;transition:all .3s ease}.cancel-btn:hover{background:#a0aec080;transform:scale(1.05)}.tasks-list{display:flex;flex-direction:column;gap:15px}.task-item{background:#ffffff1a;padding:20px;border-radius:15px;transition:all .3s ease}.task-item:hover{background:#ffffff26}.task-item-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.task-item-info{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.task-color-box{width:30px;height:30px;border-radius:8px;box-shadow:0 2px 4px #0003}.task-item-name{font-size:1.2rem;font-weight:600;color:#fff}.badge{padding:4px 10px;border-radius:8px;font-size:.85rem;font-weight:600}.badge.essential{background:#ed89364d;border:1px solid rgba(237,137,54,.5)}.badge.flexible{background:#4fd1c54d;border:1px solid rgba(79,209,197,.5)}.task-item-actions{display:flex;gap:10px}.edit-btn,.delete-btn{padding:8px 16px;border:2px solid rgba(255,255,255,.3);border-radius:8px;background:#ffffff1a;color:#fff;font-size:1.2rem;cursor:pointer;transition:all .2s ease}.edit-btn:hover{background:#4299e166;border-color:#4299e199}.delete-btn:hover{background:#f5656566;border-color:#f5656599}.task-edit-form{margin-top:20px;padding-top:20px;border-top:2px solid rgba(255,255,255,.2);display:flex;flex-direction:column;gap:15px}.task-item-summary{margin-top:10px;padding-top:10px;border-top:1px solid rgba(255,255,255,.2);font-size:.95rem;color:#fffc}.preset-buttons{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:15px}.preset-btn{padding:20px;background:#ffffff1a;border:2px solid rgba(255,255,255,.2);border-radius:15px;cursor:pointer;transition:all .3s ease;text-align:left;color:#fff}.preset-btn:hover{background:#ffffff26;border-color:#fff6;transform:translateY(-2px)}.preset-btn.active{background:#4299e14d;border-color:#4299e199;box-shadow:0 4px 15px #4299e14d}.preset-name{display:flex;align-items:center;justify-content:space-between;font-size:1.2rem;font-weight:700;margin-bottom:8px}.preset-desc{font-size:.95rem;opacity:.9;font-weight:400}.delete-preset-btn{background:#f565654d;border:1px solid rgba(245,101,101,.5);color:#fff;border-radius:50%;width:28px;height:28px;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:1rem;font-weight:700;transition:all .2s ease;padding:0}.delete-preset-btn:hover{background:#f5656599;transform:scale(1.1)}.preset-io-buttons{display:flex;gap:10px;flex-wrap:wrap}.preset-io-buttons button{padding:10px 20px;background:#fff3;border:2px solid transparent;border-radius:10px;color:#fff;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .3s ease}.preset-io-buttons button:hover{background:#ffffff4d;transform:translateY(-2px)}@media(max-width:768px){.preset-buttons{grid-template-columns:1fr}.task-item-header{flex-direction:column;align-items:flex-start;gap:15px}.task-item-actions{width:100%;justify-content:flex-end}}.history-view{background:#ffffff1a;padding:30px;border-radius:20px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.history-header{text-align:center;margin-bottom:30px}.history-header h2{font-size:2.5rem;margin-bottom:10px}.history-header .subtitle{font-size:1.1rem;opacity:.9;font-style:italic}.controls-section{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;margin-bottom:30px}.filter-controls,.export-controls{background:#ffffff0d;padding:20px;border-radius:15px;border:1px solid rgba(255,255,255,.2)}.filter-controls h3,.export-controls h3{font-size:1.2rem;margin-bottom:15px;text-align:center}.filter-buttons,.export-buttons{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}.filter-buttons button,.export-buttons button{padding:10px 20px;background:#fff3;border:2px solid transparent;border-radius:10px;color:#fff;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .3s ease}.filter-buttons button:hover,.export-buttons button:hover{background:#ffffff4d;transform:translateY(-2px)}.filter-buttons button.active{background:#68d39166;border-color:#68d39199}.export-buttons button:disabled{opacity:.4;cursor:not-allowed}.export-buttons button:disabled:hover{transform:none;background:#fff3}.summary-section{background:#ffffff0d;padding:25px;border-radius:15px;margin-bottom:30px;border:1px solid rgba(255,255,255,.2)}.summary-section h3{text-align:center;font-size:1.4rem;margin-bottom:20px}.summary-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:15px}.stat-card{background:#ffffff1a;padding:20px;border-radius:12px;text-align:center;border:2px solid rgba(255,255,255,.2)}.stat-value{font-size:2.5rem;font-weight:700;margin-bottom:8px}.stat-label{font-size:.9rem;opacity:.8;text-transform:uppercase;letter-spacing:.5px}.records-container{display:grid;grid-template-columns:1fr 1.5fr;gap:20px;min-height:400px}.records-list{background:#ffffff0d;padding:20px;border-radius:15px;border:1px solid rgba(255,255,255,.2)}.records-list h3{font-size:1.3rem;margin-bottom:15px;text-align:center}.empty-message{text-align:center;padding:40px 20px;opacity:.7;font-style:italic}.record-items{display:flex;flex-direction:column;gap:10px;max-height:500px;overflow-y:auto;overflow-x:hidden}.record-item{position:relative;background:#ffffff1a;padding:15px;border-radius:10px;cursor:grab;transition:transform .3s ease,background .2s ease;border:2px solid transparent;-webkit-user-select:none;user-select:none}.record-item:active{cursor:grabbing}.record-item:hover{background:#ffffff26}.record-item:not(.swiped):hover{transform:translate(5px)}.record-item.swiped{transform:translate(-80px)}.record-item.selected{background:#68d39133;border-color:#68d39180}.record-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.record-date{font-size:1.1rem;font-weight:600}.record-score{font-size:1.3rem;font-weight:700}.record-info{display:flex;justify-content:space-between;align-items:center;font-size:.9rem;opacity:.8}.delete-record-btn{position:absolute;top:50%;transform:translateY(-50%);right:-70px;background:#f565654d;border:none;border-radius:8px;padding:5px 10px;cursor:pointer;opacity:0;transition:all .3s ease;z-index:10}.record-item.swiped .delete-record-btn{opacity:1;right:-70px;transform:translateY(-50%) translate(0)}.delete-record-btn:hover{background:#f5656599;transform:translateY(-50%) scale(1.1)}.record-item.swiped .delete-record-btn:hover{transform:translateY(-50%) scale(1.1)}.record-details{background:#ffffff0d;padding:25px;border-radius:15px;border:1px solid rgba(255,255,255,.2);max-height:600px;overflow-y:auto}.record-details h3{font-size:1.5rem;margin-bottom:20px;text-align:center}.details-header{background:#ffffff0d;padding:20px;border-radius:12px;margin-bottom:25px}.detail-row{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.1)}.detail-row:last-child{border-bottom:none}.detail-row .label{font-weight:600;opacity:.8}.detail-row .value{font-weight:700}.tasks-breakdown h4{font-size:1.2rem;margin-bottom:15px;text-align:center}.task-detail{background:#ffffff14;padding:15px;border-radius:10px;margin-bottom:15px}.task-header{display:flex;align-items:center;gap:10px;margin-bottom:10px}.task-color{width:20px;height:20px;border-radius:4px;flex-shrink:0}.task-name{font-weight:600;font-size:1.05rem;flex:1}.essential-badge{background:#ecc94b4d;border:1px solid rgba(236,201,75,.6);padding:4px 10px;border-radius:12px;font-size:.75rem;font-weight:600;text-transform:uppercase}.task-times{display:flex;gap:15px;margin-bottom:10px;flex-wrap:wrap}.time-item{display:flex;gap:5px}.time-label{opacity:.7;font-size:.9rem}.time-value{font-weight:600;font-size:.9rem}.sessions-list{background:#0003;padding:10px;border-radius:8px;margin-top:10px}.session-item{display:flex;gap:10px;padding:8px;background:#ffffff0d;border-radius:6px;margin-bottom:5px;font-size:.85rem;align-items:center}.session-item:last-child{margin-bottom:0}.session-type{font-weight:600;min-width:70px}.session-time{flex:1;opacity:.8}.session-duration{font-weight:600;min-width:60px;text-align:right}.session-duration.manual-positive{color:#4caf50}.session-duration.manual-negative{color:#ff6b6b}@media(max-width:1024px){.records-container{grid-template-columns:1fr}.record-details{max-height:none}}@media(max-width:768px){.history-header h2{font-size:2rem}.controls-section{grid-template-columns:1fr}.summary-stats{grid-template-columns:repeat(2,1fr)}.stat-value{font-size:2rem}}.shortcuts-view{max-width:1200px;margin:0 auto;padding:20px}.shortcuts-header{text-align:center;margin-bottom:30px}.shortcuts-header h2{font-size:2rem;margin-bottom:10px;color:#fff}.shortcuts-header .subtitle{font-size:1.1rem;color:#fffc;margin:0}.instructions-section{background:#ffffff1a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:15px;padding:25px;margin-bottom:30px}.recommended-section{border:2px solid rgba(104,211,145,.4)}.instructions-section h3{margin-top:0;margin-bottom:15px;color:#fff}.recommended-box{background:#68d39114;border-radius:12px;padding:20px;margin-top:15px}.highlight-text{font-size:1.1rem;line-height:1.6;color:#fffffff2;margin-bottom:20px;text-align:center}.highlight-text strong{color:#68d391}.shortcut-example{background:#0003;border-radius:10px;padding:20px;margin-bottom:20px}.shortcut-example:last-child{margin-bottom:0}.shortcut-example h4{margin-top:0;margin-bottom:15px;color:#fff;font-size:1.2rem}.shortcut-example h5{margin-top:15px;margin-bottom:10px;color:#ffffffe6;font-size:1rem}.shortcut-steps{list-style:none;counter-reset:step-counter;padding-left:0;margin-bottom:15px}.shortcut-steps li{counter-increment:step-counter;margin-bottom:12px;padding-left:35px;position:relative;line-height:1.6}.shortcut-steps li:before{content:counter(step-counter);position:absolute;left:0;top:0;background:#667eeacc;color:#fff;width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.85rem}.shortcut-steps ul{margin-top:8px;margin-bottom:0;padding-left:20px;list-style:disc}.shortcut-steps ul li{counter-increment:none;padding-left:5px}.shortcut-steps ul li:before{display:none}.shortcut-steps code{background:#0000004d;padding:2px 6px;border-radius:4px;font-size:.9rem;color:#68d391}.copy-url-box{background:#00000040;border-radius:8px;padding:15px;margin-top:15px}.copy-url-box h5{margin-top:0}.helper-text{font-size:.9rem;color:#ffffffb3;margin-top:8px;margin-bottom:0;font-style:italic}.usage-example{background:#68d3911f;border-left:3px solid #68D391;padding:12px 15px;margin-top:15px;border-radius:6px}.usage-example strong{display:block;margin-bottom:8px;color:#68d391}.usage-example ul{margin:0;padding-left:20px}.usage-example li{margin-bottom:5px;line-height:1.5}.benefits-box{background:#68d3911f;border:1px solid rgba(104,211,145,.3);border-radius:8px;padding:15px;margin-top:20px}.benefits-box h4{margin-top:0;margin-bottom:10px;color:#68d391}.benefits-box ul{margin:0;padding-left:20px}.benefits-box li{margin-bottom:6px;line-height:1.5}.setup-steps{list-style:none;counter-reset:step-counter;padding-left:0;margin-bottom:20px}.setup-steps li{counter-increment:step-counter;margin-bottom:15px;padding-left:40px;position:relative;line-height:1.6}.setup-steps li:before{content:counter(step-counter);position:absolute;left:0;top:0;background:#667eeacc;color:#fff;width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.9rem}.example-box{background:#68d39126;border-left:4px solid #68D391;padding:15px;border-radius:8px;margin-top:20px}.example-box h4{margin-top:0;margin-bottom:10px;color:#68d391}.example-box ul{margin:0;padding-left:20px}.example-box li{margin-bottom:8px;line-height:1.5}.preset-info{background:#ffffff1a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:15px;padding:20px;margin-bottom:30px}.preset-info h3{margin-top:0;margin-bottom:10px;color:#fff}.preset-info .info-text{margin:0;color:#ffffffd9;line-height:1.6}.task-shortcuts-section,.global-shortcuts-section,.alternative-section{margin-bottom:30px}.alternative-section{background:#ffffff14;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:15px;padding:25px}.alternative-section h3{margin-top:0;margin-bottom:10px;color:#fff}.alternative-section .info-text{color:#fffc;line-height:1.6;margin-bottom:15px}.expandable-section{margin-top:15px;background:#00000026;border-radius:10px;padding:15px}.expandable-section summary{cursor:pointer;font-weight:600;color:#667eeae6;font-size:1.05rem;padding:5px;-webkit-user-select:none;user-select:none;list-style:none}.expandable-section summary:before{content:"▶";display:inline-block;margin-right:8px;transition:transform .2s ease}.expandable-section[open] summary:before{transform:rotate(90deg)}.expandable-section summary:hover{color:#667eea}.expandable-section .task-shortcuts-section{margin-top:15px;margin-bottom:0}.task-shortcuts-section h3,.global-shortcuts-section h3{margin-bottom:30px}.task-shortcuts-section h3,.global-shortcuts-section h3{margin-bottom:20px;color:#fff}.shortcuts-list{display:grid;gap:20px}.shortcut-card{background:#ffffff1a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:15px;padding:20px;transition:all .3s ease}.shortcut-card:hover{background:#ffffff26;transform:translateY(-2px)}.global-card{border:2px solid rgba(245,101,101,.3)}.task-header{display:flex;align-items:center;gap:12px;margin-bottom:15px}.task-color-indicator{width:20px;height:20px;border-radius:50%;flex-shrink:0}.task-header h4{margin:0;font-size:1.3rem;color:#fff;flex-grow:1}.essential-badge{background:#68d3914d;color:#68d391;padding:4px 10px;border-radius:12px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.shortcut-actions{display:flex;flex-direction:column;gap:15px}.shortcut-action{display:flex;gap:12px;align-items:center;background:#0003;padding:12px;border-radius:10px}.action-info{flex-grow:1;min-width:0}.action-label{display:block;font-weight:600;margin-bottom:6px;color:#fff;font-size:.95rem}.url-display{display:block;background:#0000004d;padding:8px 12px;border-radius:6px;font-size:.85rem;color:#ffffffb3;font-family:Monaco,Courier New,monospace;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.copy-btn{flex-shrink:0;background:#667eeacc;color:#fff;border:none;padding:10px 20px;border-radius:8px;font-weight:600;cursor:pointer;transition:all .3s ease;font-size:.9rem;white-space:nowrap}.copy-btn:hover{background:#667eea;transform:translateY(-2px)}.copy-btn.copied{background:#68d391cc}.tips-section{background:#ffffff1a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:15px;padding:25px;margin-bottom:20px}.tips-section h3{margin-top:0;margin-bottom:15px;color:#fff}.tips-list{list-style:none;padding-left:0;margin:0}.tips-list li{margin-bottom:12px;padding-left:25px;position:relative;line-height:1.6}.tips-list li:before{content:"→";position:absolute;left:0;color:#68d391;font-weight:700;font-size:1.2rem}.tips-list strong{color:#fff}@media(max-width:768px){.shortcuts-view{padding:15px}.shortcuts-header h2{font-size:1.5rem}.shortcuts-header .subtitle{font-size:1rem}.setup-steps li{padding-left:35px;font-size:.95rem}.setup-steps li:before{width:24px;height:24px;font-size:.8rem}.shortcut-action{flex-direction:column;align-items:stretch}.copy-btn{width:100%}.url-display{font-size:.75rem}.task-header h4{font-size:1.1rem}}.snackbar{position:fixed;top:-100px;left:50%;transform:translate(-50%);min-width:300px;max-width:500px;padding:16px 20px;border-radius:12px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);display:flex;align-items:center;gap:12px;font-weight:500;font-size:1rem;z-index:10000;transition:top .3s ease-in-out,opacity .3s ease-in-out;opacity:0;box-shadow:0 4px 20px #0000004d}.snackbar-visible{top:20px;opacity:1}.snackbar-success{background:#68d391f2;color:#fff;border:2px solid rgba(104,211,145,1)}.snackbar-error{background:#f56565f2;color:#fff;border:2px solid rgba(245,101,101,1)}.snackbar-info{background:#667eeaf2;color:#fff;border:2px solid rgba(102,126,234,1)}.snackbar-icon{font-size:1.3rem;font-weight:700;flex-shrink:0;display:flex;align-items:center;justify-content:center;width:24px;height:24px;background:#fff3;border-radius:50%}.snackbar-message{flex-grow:1;line-height:1.4}.snackbar-close{background:#fff3;border:none;color:#fff;width:24px;height:24px;border-radius:50%;cursor:pointer;font-size:1rem;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:background .2s ease}.snackbar-close:hover{background:#ffffff4d}@media(max-width:768px){.snackbar{min-width:calc(100% - 40px);max-width:calc(100% - 40px);font-size:.95rem}.snackbar-visible{top:10px}}.fine-tune-duration-panel{position:relative;grid-column:1 / -1;margin-top:4px;margin-bottom:4px;padding:16px 20px;background:#00000040;border:2px solid rgba(255,255,255,.2);border-radius:14px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.ftd-header{display:flex;align-items:center;gap:10px;margin-bottom:12px;color:#fffffff2}.ftd-color-dot{width:14px;height:14px;border-radius:50%;flex-shrink:0}.ftd-task-name{font-weight:600;font-size:1rem}.ftd-current-time{margin-left:auto;font-size:1.05rem;font-weight:700;opacity:.95}.ftd-bar-wrap{position:relative;-webkit-user-select:none;user-select:none}.ftd-bar-track{position:relative;height:36px;border-radius:8px;background:#ffffff1a;overflow:hidden;cursor:ew-resize;touch-action:none}.ftd-bar-track.dragging{cursor:grabbing}.ftd-bar-fill{height:100%;border-radius:8px;transition:width .05s ease;min-width:0}.ftd-bar-labels{display:flex;justify-content:space-between;font-size:.75rem;color:#fff9;margin-top:4px}.ftd-btns{display:flex;justify-content:center;gap:12px;margin-top:14px}.ftd-step{padding:8px 20px;background:#fff3;border:1.5px solid rgba(255,255,255,.4);border-radius:8px;color:#fff;font-size:.95rem;font-weight:600;cursor:pointer;transition:background .2s,transform .1s;min-width:72px}.ftd-step:hover:not(:disabled){background:#ffffff52;transform:scale(1.04)}.ftd-step:disabled{opacity:.35;cursor:not-allowed}.ftd-reset{padding:8px 16px;background:#ffffff1a;border:1.5px solid rgba(255,255,255,.25);border-radius:8px;color:#ffffffb3;font-size:.9rem;font-weight:500;cursor:pointer;transition:background .2s,color .2s}.ftd-reset:hover:not(:disabled){background:#fff3;color:#fff}.ftd-reset:disabled{opacity:.3;cursor:not-allowed}.goal-task-panel{background:#0003;border-radius:0 0 8px 8px;margin:0 0 8px;padding:12px;display:flex;flex-direction:column;gap:10px;grid-column:1 / -1}.goal-task-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}@media(max-width:480px){.goal-task-stats{grid-template-columns:repeat(2,1fr)}}.goal-stat{display:flex;flex-direction:column;gap:2px}.goal-stat-label{font-size:.75rem;opacity:.7;color:#fff}.goal-stat-value{font-size:.95rem;font-weight:600;color:#fff}.goal-stat-value.positive{color:#48bb78}.goal-stat-value.negative{color:#f56565}.goal-sessions-list{display:flex;flex-direction:column;gap:6px;border-top:1px solid rgba(255,255,255,.1);padding-top:10px}.goal-session-item{display:flex;gap:10px;font-size:.85rem;align-items:center}.goal-session-type{font-weight:600;min-width:75px;color:#fff}.goal-session-time{flex:1;opacity:.8;color:#fff}.goal-session-duration{font-weight:600;min-width:55px;text-align:right;color:#fff}.goal-session-duration.manual-positive{color:#4caf50}.goal-session-duration.manual-negative{color:#ff6b6b}.goal-no-sessions{font-size:.85rem;opacity:.6;font-style:italic;padding-top:8px;color:#fff}.fine-tune-panel{position:relative;margin-top:0;padding:20px;background:#00000040;border:2px solid rgba(255,255,255,.2);border-radius:14px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);grid-column:1 / -1}.fine-tune-bar-wrap{position:relative;margin:8px 0 6px;-webkit-user-select:none;user-select:none;overflow:hidden}.fine-tune-bar{display:flex;height:44px;border-radius:8px;overflow:hidden;width:100%}.fine-tune-seg{min-width:4px;transition:flex .05s}.fine-tune-seg-gap{background:repeating-linear-gradient(45deg,#ffffff14,#ffffff14 4px,#ffffff05 4px,#ffffff05 8px);border-left:1px dashed rgba(255,255,255,.3);border-right:1px dashed rgba(255,255,255,.3)}.fine-tune-seg-c-prior{opacity:.5;border-left:1px dashed rgba(255,255,255,.5);border-right:1px dashed rgba(255,255,255,.5)}.fine-tune-sep{position:absolute;top:0;bottom:0;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;cursor:ew-resize;touch-action:none;z-index:10}.fine-tune-sep-line{width:3px;height:100%;background:#fff;box-shadow:0 0 6px #0009;border-radius:2px}.fine-tune-sep-handle{position:absolute;top:50%;transform:translateY(-50%);width:22px;height:22px;background:#fff;border-radius:50%;box-shadow:0 2px 8px #00000080;border:2px solid rgba(0,0,0,.15)}.fine-tune-sep:hover .fine-tune-sep-handle{transform:translateY(-50%) scale(1.15);box-shadow:0 3px 12px #0009}.fine-tune-info{margin-top:10px;text-align:center;color:#fffffff2;font-size:.9rem;display:flex;flex-direction:column;gap:5px}.fine-tune-start{font-size:1rem;opacity:.95}.fine-tune-start strong{font-size:1.05rem}.fine-tune-durations{display:flex;justify-content:center;gap:20px;flex-wrap:wrap;opacity:.85}.fine-tune-dot{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:5px;vertical-align:middle}.fine-tune-btns{display:flex;justify-content:center;gap:12px;margin-top:14px}.fine-tune-step{padding:8px 20px;background:#fff3;border:1.5px solid rgba(255,255,255,.4);border-radius:8px;color:#fff;font-size:.95rem;font-weight:600;cursor:pointer;transition:background .2s,transform .1s;min-width:72px}.fine-tune-step:hover:not(:disabled){background:#ffffff52;transform:scale(1.04)}.fine-tune-step:disabled{opacity:.35;cursor:not-allowed}.fine-tune-reset{padding:8px 16px;background:#ffffff1a;border:1.5px solid rgba(255,255,255,.25);border-radius:8px;color:#ffffffb3;font-size:.9rem;font-weight:500;cursor:pointer;transition:background .2s,color .2s}.fine-tune-reset:hover:not(:disabled){background:#fff3;color:#fff}.fine-tune-reset:disabled{opacity:.3;cursor:not-allowed}.tracking-panel{background:#ffffff1a;border-radius:20px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);overflow:clip}.tracking-panel.timer-active{background:#68d3911a;border:2px solid rgba(104,211,145,.3)}.tracking-tabs{display:flex;gap:8px;padding:16px 20px 0;position:sticky;top:0;z-index:10;background:#6d80d2}.tracking-tab-btn{flex:1;padding:10px 16px;background:#ffffff1a;border:2px solid transparent;border-radius:12px 12px 0 0;color:#ffffffb3;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .2s ease}.tracking-tab-btn:hover{background:#fff3;color:#fff}.tracking-tab-btn.active{background:#ffffff40;border-color:#ffffff80;color:#fff}.tracking-tab-content{padding:20px 30px}.tracking-tab-content h2{margin-bottom:15px;font-size:2rem;text-align:center}.tracking-save-section{padding:20px 30px;border-top:2px dashed rgba(255,255,255,.3);text-align:center}.tracking-save-row{display:flex;gap:15px;justify-content:center;align-items:center;flex-wrap:wrap}.tracking-save-section .instruction{margin-top:10px;margin-bottom:0;font-size:.95rem}@media(max-width:768px){.tracking-tabs{padding:12px 12px 0;gap:6px}.tracking-tab-btn{padding:8px 10px;font-size:.8rem}.tracking-tab-content,.tracking-save-section{padding:16px}}.fancy-ring-container{display:flex;justify-content:center;align-items:center;width:100%}.fancy-ring-svg{display:block}.fr-segment{transition:filter .15s ease,opacity .15s ease}.fr-draggable{cursor:grab}.fr-draggable:hover{filter:brightness(1.18) url(#fr-shadow)!important}.fr-dragging{cursor:grabbing;filter:brightness(1.3) url(#fr-shadow)!important}.fr-label{font-family:inherit;pointer-events:none}.fr-task-name{font-size:11px;font-weight:600;fill:#fffffff2;text-shadow:0 1px 3px rgba(0,0,0,.6)}.fr-task-time{font-size:10px;fill:#fffc}.fr-center-label{font-size:13px;font-weight:600;fill:#ffffffbf;letter-spacing:.03em}.fr-center-total{font-size:14px;font-weight:700;fill:#ffffffe6}.fr-center-total.fr-warn{fill:#ecc94b}.outer-ring{animation:fr-outer-in .2s ease both}@keyframes fr-outer-in{0%{opacity:0;transform:scale(.92);transform-origin:200px 200px}to{opacity:1;transform:scale(1);transform-origin:200px 200px}}.outer-ring-segment{transition:opacity .15s ease}.outer-segment-group:hover .outer-ring-segment{opacity:.75!important}.outer-ring-label{font-size:9.5px;font-weight:600;fill:#ffffffe6;text-shadow:0 1px 2px rgba(0,0,0,.7)}.group-ring-card{background:#ffffff12;border:1px solid rgba(255,255,255,.15);border-radius:16px;padding:1.2rem 1.4rem;margin-bottom:1.5rem}.group-ring-header{display:flex;align-items:baseline;gap:.75rem;margin-bottom:.75rem;flex-wrap:wrap}.group-ring-name{margin:0;font-size:1.1rem;font-weight:700;color:#ffffffe6}.group-ring-budget{font-size:.85rem;color:#ffffff8c}.group-ring-drift{color:#ecc94b;font-weight:600}.group-ring-drift-banner{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap;background:#ecc94b1f;border:1px solid rgba(236,201,75,.35);border-radius:8px;padding:.55rem .85rem;margin-bottom:.85rem;font-size:.82rem;color:#ecc94b}.group-ring-drift-actions{display:flex;gap:.5rem}.group-ring-update-btn{background:#ecc94b33;border:1px solid rgba(236,201,75,.5);border-radius:6px;color:#ecc94b;font-size:.78rem;padding:.3rem .65rem;cursor:pointer;transition:background .15s}.group-ring-update-btn:hover{background:#ecc94b59}.group-ring-ignore-btn{background:transparent;border:1px solid rgba(255,255,255,.2);border-radius:6px;color:#ffffff80;font-size:.78rem;padding:.3rem .65rem;cursor:pointer;transition:border-color .15s}.group-ring-ignore-btn:hover{border-color:#fff6}.group-ring-task-list{margin-top:.85rem;display:flex;flex-direction:column;gap:.35rem}.group-ring-task-row{display:flex;align-items:center;gap:.6rem;font-size:.85rem;color:#fffc}.group-ring-task-swatch{width:12px;height:12px;border-radius:3px;flex-shrink:0}.group-ring-task-name{flex:1}.group-ring-task-mins{color:#fff9;font-size:.8rem;min-width:4rem;text-align:right}.group-ring-task-pct{color:#ffffff73;font-size:.78rem;min-width:3rem;text-align:right}.group-ring-delete-btn{margin-top:1rem;background:#f565651a;border:1px solid rgba(245,101,101,.3);border-radius:8px;color:#fc8181;font-size:.82rem;padding:.4rem .9rem;cursor:pointer;transition:background .15s}.group-ring-delete-btn:hover{background:#f5656538}.group-ring-empty{color:#ffffff73;font-size:.85rem;margin-bottom:.75rem}.ring-lab{padding:1rem 1rem 2rem;max-width:700px;margin:0 auto}.ring-lab-header{text-align:center;margin-bottom:1.25rem}.ring-lab-title{font-size:1.4rem;font-weight:700;color:#ffffffe6;margin:0 0 .3rem}.ring-lab-subtitle{font-size:.85rem;color:#ffffff80;margin:0;line-height:1.5}.flavor-selector{display:flex;gap:.5rem;justify-content:center;flex-wrap:wrap;margin-bottom:1.25rem}.flavor-btn{display:flex;flex-direction:column;align-items:center;gap:.2rem;padding:.45rem .75rem;background:#ffffff12;border:1.5px solid rgba(255,255,255,.15);border-radius:10px;cursor:pointer;transition:background .15s,border-color .15s,transform .1s;min-width:64px}.flavor-btn:hover{background:#ffffff1f;border-color:#ffffff4d}.flavor-btn.active{background:#ffffff2e;border-color:#fff9;transform:translateY(-1px)}.flavor-emoji{font-size:1.35rem;line-height:1}.flavor-label{font-size:.7rem;color:#ffffffb3;font-weight:500;letter-spacing:.02em}.ring-lab-ring-area{display:flex;flex-direction:column;align-items:center;gap:.6rem;margin-bottom:1rem}.ring-lab-hint{font-size:.8rem;color:#fff6;text-align:center;margin:0;animation:rl-fade-in .3s ease both}@keyframes rl-fade-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.ring-lab-create-panel{background:#ffffff12;border:1px solid rgba(255,255,255,.18);border-radius:14px;padding:1rem 1.2rem;margin-bottom:1.25rem;animation:rl-fade-in .2s ease both}.ring-lab-selected-tasks{display:flex;flex-wrap:wrap;gap:.4rem;margin-bottom:.8rem}.selected-task-chip{display:inline-flex;align-items:center;gap:.35rem;padding:.25rem .6rem;border:1.5px solid;border-radius:999px;font-size:.8rem;color:#ffffffd9;background:#ffffff0f}.chip-swatch{width:8px;height:8px;border-radius:50%;flex-shrink:0}.ring-lab-create-form{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}.ring-lab-name-input{flex:1;min-width:140px;padding:.45rem .75rem;background:#ffffff14;border:1.5px solid rgba(255,255,255,.2);border-radius:8px;color:#ffffffe6;font-size:.88rem;outline:none;transition:border-color .15s}.ring-lab-name-input:focus{border-color:#ffffff80}.ring-lab-name-input::placeholder{color:#ffffff4d}.ring-lab-create-btn{background:#68d3912e;border:1.5px solid rgba(104,211,145,.45);border-radius:8px;color:#68d391;font-size:.85rem;font-weight:600;padding:.45rem .9rem;cursor:pointer;transition:background .15s;white-space:nowrap}.ring-lab-create-btn:hover{background:#68d3914d}.ring-lab-cancel-btn{background:transparent;border:1px solid rgba(255,255,255,.18);border-radius:8px;color:#ffffff73;font-size:.82rem;padding:.45rem .7rem;cursor:pointer;transition:border-color .15s}.ring-lab-cancel-btn:hover{border-color:#ffffff59}.ring-lab-groups{margin-top:.5rem}.ring-lab-groups-title{font-size:1rem;font-weight:700;color:#ffffffbf;margin:0 0 .85rem}.ring-lab-empty-groups{text-align:center;font-size:.82rem;color:#ffffff4d;margin-top:1.5rem}@media(max-width:480px){.ring-lab{padding:.75rem .75rem 2rem}.flavor-btn{min-width:54px;padding:.4rem .55rem}.flavor-label{font-size:.65rem}.ring-lab-create-form{flex-direction:column;align-items:stretch}.ring-lab-create-btn,.ring-lab-cancel-btn{width:100%;text-align:center}}
