*{margin:0;padding:0;box-sizing:border-box}body{background:#1a1b26;color:#e0e0e0;font-family:Figtree,sans-serif;font-size:11pt;overflow-x:hidden}.connection-banner{position:sticky;top:0;z-index:2000;background:#3a3f58;color:#fc6;text-align:center;padding:.45rem 1rem;font-size:.85rem;border-bottom:1px solid #6f42c1}.portal-container{display:flex;min-height:100vh}.sidebar{width:280px;background:linear-gradient(180deg,#2b2d3e,#1e1f2e);border-right:2px solid #3a3f58;display:flex;flex-direction:column;position:fixed;height:100vh;left:0;top:0;z-index:1000;box-shadow:4px 0 12px #0000004d}.sidebar-header{padding:2rem 1.5rem 1rem;border-bottom:1px solid #3a3f58;text-align:center}.sidebar-header h1{font-size:1.5rem;font-weight:700;color:#fc6;margin-bottom:.5rem;letter-spacing:1px}.version{font-size:.8rem;color:#888;font-weight:500}.nav-menu{list-style:none;padding:1rem 0;flex:1;overflow-y:auto}.nav-item{margin:.5rem 1rem}.nav-link{display:flex;align-items:center;padding:1rem 1.5rem;color:#b8bcc8;text-decoration:none;border-radius:12px;transition:all .3s ease;font-weight:500;position:relative;overflow:hidden}.nav-link:before{content:"";position:absolute;left:0;top:0;width:4px;height:100%;background:#6f42c1;transform:scaleY(0);transition:transform .3s ease}.nav-link:hover{background:#3a3f58;color:#e0e0e0;transform:translate(4px)}.nav-link:hover:before{transform:scaleY(1)}.nav-link.active{background:linear-gradient(135deg,#6f42c1,#5a32a3);color:#fff;box-shadow:0 4px 12px #6f42c14d}.nav-link.active:before{transform:scaleY(1);background:#fc6}.nav-icon{font-size:1.2rem;margin-right:1rem;width:24px;text-align:center}.nav-text{font-size:1rem}.admin-mode .project-draggable .nav-link{padding-right:4.25rem}.project-edit{position:absolute;top:.45rem;right:1.85rem;width:1.75rem;height:1.75rem;display:none;align-items:center;justify-content:center;padding:0;border:none;border-radius:4px;background:transparent;cursor:pointer;z-index:11;font-size:.85rem}.admin-mode .project-edit{display:flex}.project-edit:hover,.project-edit:focus-visible{background:#6f42c159;outline:2px solid #ffcc66;outline-offset:1px}.project-editor-modal{max-width:28rem}.project-editor-form{display:flex;flex-direction:column;gap:.45rem}.project-editor-label{margin-top:.35rem;color:#fc6;font-size:.9rem;font-weight:600}.project-editor-input{width:100%;box-sizing:border-box;background:#6f42c133;border:1px solid #6f42c1;color:#e0e0e0;font-family:inherit;font-size:1rem;padding:.65rem .75rem;border-radius:8px;outline:none}.project-editor-icon{font-size:1.4rem;max-width:6rem}.project-editor-input:focus{background-color:#6f42c166;border-color:#8b60ff}.project-editor-form .modal-buttons{margin-top:1rem}.project-editor-error{margin:.35rem 0 0;color:#ffb4b4}.sidebar-footer{padding:1.5rem;border-top:1px solid #3a3f58;display:flex;flex-direction:column;gap:.75rem}.signed-in-email{margin:0;font-size:.75rem;color:#888;text-align:center;word-break:break-all}.btn.sign-out{background-color:#4a4f68;color:#fff;width:100%;padding:.6rem 1rem;font-size:.9rem;font-weight:600}.btn.sign-out:hover{background-color:#5a6078}.main-content{margin-left:280px;flex:1;display:flex;flex-direction:column;min-height:100vh}.content-header{background:linear-gradient(135deg,#2b2d3e,#3a3f58);padding:2rem;border-bottom:2px solid #6f42c1;box-shadow:0 2px 8px #0003}.content-header h2{font-size:2rem;font-weight:600;color:#fc6;text-align:center;letter-spacing:1px;text-shadow:0 2px 4px rgba(0,0,0,.3)}.content-body{flex:1;padding:2rem;background:#1a1b26;display:flex;flex-direction:column}.timer-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;max-width:1800px;margin:0 auto;width:100%}.timer-card{background:#3a3f58;border-radius:10px;padding:1.2rem;width:100%;min-height:200px;box-sizing:border-box;box-shadow:0 2px 6px #0000004d;transition:transform .2s ease,box-shadow .2s ease;display:flex;flex-direction:column;align-items:stretch;position:relative}.timer-content{display:flex;flex-direction:column;align-items:center;width:100%;padding-bottom:1rem;position:relative;border-bottom:1px solid #555;margin-bottom:.75rem}.timer-title{font-weight:600;font-size:1.4rem;text-align:center;width:100%;margin-bottom:1.5rem;flex-shrink:0;line-height:1.2}.timer-display-row{display:flex;align-items:center;justify-content:center;gap:2rem;width:100%;padding:0 1rem;flex:1;align-self:center}.timer-display{font-family:Figtree,sans-serif;font-size:2.25rem;letter-spacing:.05em;word-spacing:.4em;display:flex;justify-content:center;gap:.75rem}.timer-notes{width:100%;display:flex;flex-direction:column;padding-top:.5rem}.notes-label{font-size:.85rem;font-weight:600;color:#fc6;margin-bottom:.4rem;text-align:center}.notes-textarea{width:100%;height:60px;background:#2b2d3e;border:1px solid #555;border-radius:6px;padding:.5rem;color:#e0e0e0;font-family:Figtree,sans-serif;font-size:.85rem;resize:vertical;outline:none;transition:border-color .3s ease}.notes-textarea:focus{border-color:#6f42c1;box-shadow:0 0 0 2px #6f42c133}.notes-textarea::placeholder{color:#888;font-style:italic}@media(max-width:1400px){.timer-grid{grid-template-columns:repeat(2,1fr);gap:.9rem}.timer-card{padding:1rem;min-height:190px}.timer-display{font-size:2.1rem}.timer-title{font-size:1.3rem}}@media(max-width:1024px){.timer-grid{grid-template-columns:1fr}.timer-card{min-height:180px}.timer-display{font-size:2rem}.notes-textarea{height:70px}}.timer-card.inactive{background:#2a2d3e;opacity:.6;filter:grayscale(.8)}.timer-card.inactive .timer-title,.timer-card.inactive .timer-display{color:#888}.timer-card.inactive .btn{opacity:.5;pointer-events:none}.timer-checkbox{position:absolute;bottom:.5rem;right:.5rem;display:none;z-index:10;line-height:0}.admin-mode .timer-checkbox{display:block}.timer-checkbox input[type=checkbox]{width:20px;height:20px;accent-color:#6f42c1;cursor:pointer}.timer-checkbox input[type=checkbox]:checked{accent-color:#dc3545}body.admin-mode .timer-card{padding-bottom:2.5rem;cursor:move}body.admin-mode .timer-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #6f42c166}.timer-card.dragging{opacity:.5;transform:rotate(5deg);z-index:1000}.timer-card.drag-over{border:2px dashed #6f42c1;background:#6f42c11a}.drag-handle{position:absolute;top:.5rem;right:.5rem;width:20px;height:20px;background:#6f42c1;border-radius:4px;display:none;align-items:center;justify-content:center;color:#fff;font-size:12px;cursor:grab;z-index:10}.drag-handle:active{cursor:grabbing}.admin-mode .drag-handle{display:flex}.drag-handle:before{content:"⋮⋮";line-height:1;transform:rotate(90deg)}.nav-item.project-draggable{cursor:move;position:relative;-webkit-user-select:none;user-select:none}.nav-item.project-draggable:hover{background-color:#6f42c11a}.nav-item.project-dragging{opacity:.5;transform:rotate(2deg);z-index:1000}.nav-item.project-drag-over{border:2px dashed #6f42c1;background:#6f42c11a;border-radius:12px}.project-drag-handle{position:absolute;top:.5rem;right:.5rem;width:16px;height:16px;background:#6f42c1;border-radius:3px;display:none;align-items:center;justify-content:center;color:#fff;font-size:10px;cursor:grab;z-index:10}.project-drag-handle:active{cursor:grabbing}.admin-mode .project-drag-handle{display:flex}.project-drag-handle:before{content:"⋮⋮";line-height:1;transform:rotate(90deg)}@keyframes pulse-glow{0%{box-shadow:0 0 8px #b288ff,0 0 16px #8b60ff}50%{box-shadow:0 0 16px #b288ff,0 0 24px #8b60ff}to{box-shadow:0 0 8px #b288ff,0 0 16px #8b60ff}}.timer-card:hover{box-shadow:0 0 6px #8b60ff88;transition:box-shadow .3s ease;background-color:#3e4160}.timer-card.active{background-color:#4c2882;animation:pulse-glow 2s infinite ease-in-out}.timer-title.editable{cursor:pointer;padding:.2rem .5rem;border-radius:4px;transition:background-color .2s ease}.timer-title.editable:hover{background-color:#6f42c133}.timer-title input,.timer-title .title-input,.counter-title input,.counter-title .title-input{background:#6f42c140;border:1px solid #6f42c1;color:#e0e0e0;font-family:Figtree,sans-serif;font-weight:inherit;font-size:inherit;text-align:center;width:100%;box-sizing:border-box;padding:.25rem .5rem;border-radius:4px;outline:none;box-shadow:none;-moz-appearance:none;appearance:none;-webkit-appearance:none}.timer-title input:focus,.timer-title .title-input:focus,.counter-title input:focus,.counter-title .title-input:focus{background-color:#6f42c166;border-color:#8b60ff}.hms{display:inline-flex;align-items:baseline;gap:.2rem}.hms .num{font-weight:600;line-height:1}.hms .unit{font-size:.7em;opacity:.7;line-height:1}.timer-buttons{display:flex;gap:.4rem;align-items:center;justify-content:center;flex-wrap:wrap}.adjust-label{display:inline-flex;align-items:center;gap:.25rem;font-weight:500;font-size:.9em}.adjust-label input{width:3rem;text-align:center;padding:.2rem .4rem}.adjust-pair,.minutes-adjust{display:inline-flex;align-items:center;gap:.3rem;margin:0 .25rem}.minutes-controls{display:flex;flex-direction:row;gap:.1rem}.minutes-btn{background:#6f42c1;color:#fff;border:none;border-radius:3px;width:20px;height:16px;cursor:pointer;font-size:12px;display:flex;align-items:center;justify-content:center;transition:background-color .2s ease}.minutes-btn:hover{background:#5a32a3}.minutes-btn:active{background:#4c2882}.adjust-pair span{font-size:.9em;font-weight:600}.adjust-pair input{width:3rem;padding:.2rem;text-align:center;font-size:1em}.btn{padding:.35rem .7rem;border-radius:6px;cursor:pointer;font-size:10pt;border:none;transition:background-color .2s,transform .1s;font-family:Figtree,sans-serif;min-width:60px;height:28px;text-align:center;display:flex;align-items:center;justify-content:center;box-sizing:border-box}.btn:hover{transform:translateY(-1px)}.btn.start{background-color:#28a745;color:#fff}.btn.stop{background-color:#dc3545;color:#fff}.btn.reset{background-color:#6c757d;color:#fff}.btn.adjust{background-color:#17a2b8;color:#fff}.adjust-content{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:center;gap:.6rem;overflow:hidden;max-height:0;opacity:0;padding:0;margin:0;transition:max-height .4s ease,opacity .4s ease,padding .3s ease}.adjust-content input{width:3rem;min-width:3rem;text-align:center}.adjust-content .btn{white-space:nowrap;flex-shrink:0}.show .adjust-content{max-height:200px;opacity:1;padding:1rem}.adjust-content input{width:3rem;font-size:13pt;font-family:Figtree,sans-serif;border-radius:4px;border:1px solid #555;padding:.2rem .4rem;background:#1e1e2f;color:#e0e0e0;text-align:center}.adjust-content input[type=number]::-webkit-outer-spin-button,.adjust-content input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.adjust-content input[type=number]{-webkit-appearance:none;appearance:none;-moz-appearance:textfield}button.btn.positive{background-color:#28a745!important;color:#fff!important}button.btn.negative{background-color:#dc3545!important;color:#fff!important}button.btn.positive:hover{background-color:#218838!important}button.btn.negative:hover{background-color:#c82333!important}.btn.admin{background-color:#6f42c1;color:#fff;padding:.8rem 1.5rem;font-size:1rem;font-weight:600;border-radius:8px;transition:all .3s ease;width:100%}.btn.admin:hover{background-color:#5a32a3;transform:translateY(-2px);box-shadow:0 4px 12px #6f42c14d}.btn.admin.active{background-color:#6f42c1;color:#fff}.btn.admin.active:hover{background-color:#5a32a3;color:#fff}.btn.reset-site,.btn.reset-project{background-color:#dc3545;color:#fff;padding:.8rem 1.5rem;font-size:1rem;font-weight:600;border-radius:8px;border:none;cursor:pointer;font-family:Figtree,sans-serif;transition:all .3s ease}.btn.reset-site{width:100%}.btn.reset-site:hover,.btn.reset-project:hover{background-color:#c82333;transform:translateY(-2px);box-shadow:0 4px 12px #dc354559}.btn.reset-site:disabled,.btn.reset-project:disabled{opacity:.7;cursor:wait;transform:none}.project-reset-bar{display:flex;justify-content:center;margin-top:auto;padding:2rem 0 1rem}@media(max-width:1024px){.sidebar{width:240px}.main-content{margin-left:240px}}#allTimers:has(.reports-container){max-width:100%!important;margin:0!important;display:block!important}.content-body:has(.reports-container){padding:2rem}.reports-container{width:100%;padding:0;position:relative;box-sizing:border-box}.timecard-wrapper{max-width:100%;margin:0 auto;width:100%}.reports-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;padding:1.5rem 2rem;border-bottom:2px solid #6f42c1;background:linear-gradient(135deg,#2b2d3e,#3a3f58);border-radius:12px;box-shadow:0 4px 12px #0006;position:sticky;top:2rem;z-index:100;width:100%;box-sizing:border-box}.reports-title{font-size:2rem;font-weight:600;color:#fc6;margin:0;letter-spacing:.5px}.reports-header-buttons{display:flex;gap:1rem;align-items:center}.refresh-btn{background-color:#17a2b8;color:#fff;padding:.7rem 1.4rem;border:none;border-radius:8px;cursor:pointer;font-family:Figtree,sans-serif;font-size:.95rem;font-weight:600;transition:all .2s ease;box-shadow:0 2px 4px #0003}.refresh-btn:hover{background-color:#138496;transform:translateY(-2px);box-shadow:0 4px 8px #0000004d}.reset-all-btn{background-color:#dc3545;color:#fff;padding:.7rem 1.4rem;border:none;border-radius:8px;cursor:pointer;font-family:Figtree,sans-serif;font-size:.95rem;font-weight:600;transition:all .2s ease;box-shadow:0 2px 4px #0003}.reset-all-btn:hover{background-color:#c82333;transform:translateY(-2px);box-shadow:0 4px 8px #0000004d}#reportsContent{width:100%;padding:0 2rem 2rem;box-sizing:border-box;overflow-x:auto}.project-report{background:#3a3f58;border-radius:12px;padding:1.75rem;box-shadow:0 4px 12px #0006;border:1px solid #4a4f68}.project-report-header{font-size:1.5rem;font-weight:700;color:#fc6;margin-bottom:1.25rem;padding-bottom:.75rem;border-bottom:2px solid #555;display:flex;justify-content:space-between;align-items:baseline}.project-report-total{font-size:1rem;font-weight:500;color:#b8bcc8;font-family:Figtree,sans-serif}.timer-report-item{background:#2b2d3e;border-radius:10px;padding:1.25rem;margin-bottom:1rem;border-left:5px solid #6f42c1;transition:transform .2s ease,box-shadow .2s ease;box-shadow:0 2px 4px #0003}.timer-report-item:hover{transform:translate(4px);box-shadow:0 4px 8px #0000004d}.timer-report-item:last-child{margin-bottom:0}.timer-report-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem;gap:1rem}.timer-report-name{font-weight:600;color:#e0e0e0;font-size:1.1rem;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.timer-report-time{font-family:Figtree,sans-serif;font-size:1.3rem;color:#fc6;font-weight:700;white-space:nowrap;flex-shrink:0}.timer-report-notes{color:#b8bcc8;font-size:.95rem;line-height:1.6;white-space:pre-wrap;word-wrap:break-word;padding:.75rem;background:#0003;border-radius:6px;border-left:3px solid #555;margin-top:.5rem}.timer-report-notes:empty{display:none}@media(max-width:1400px){#reportsContent{grid-template-columns:1fr}}@media(max-width:768px){.reports-header{flex-direction:column;gap:1rem;align-items:stretch}.reports-header-buttons{flex-direction:column;width:100%}.refresh-btn,.reset-all-btn{width:100%}}.loading-message{text-align:center;color:#888;font-style:italic;padding:2rem}.error-message{background:#dc3545;color:#fff;padding:1rem;border-radius:8px;margin-bottom:1rem;text-align:center}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000c;display:flex;align-items:center;justify-content:center;z-index:10000;padding:2rem}.modal-content{background:#3a3f58;border-radius:12px;padding:2rem;max-width:600px;width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 8px 32px #00000080;border:2px solid #6f42c1}.history-modal{max-width:850px}.warning-modal{text-align:center}.app-dialog-overlay{z-index:10001}.app-dialog{max-width:520px;text-align:center}.app-dialog-message{white-space:pre-wrap}.app-dialog-cancel{background-color:#6c757d;color:#fff}.app-dialog-cancel:hover{background-color:#5a6268}.app-dialog-confirm{background-color:#dc3545;color:#fff}.app-dialog-confirm:hover{background-color:#c82333}.timezone-setup{text-align:left;max-width:28rem;padding:1.5rem 1.5rem 1.25rem}.timezone-setup .modal-title{margin:0 0 .7rem;font-size:1.45rem;line-height:1.25;text-align:center}.timezone-setup-copy{margin:0 0 1.15rem;color:#e0e0e0;line-height:1.45;text-align:center}.timezone-setup-form{display:flex;flex-direction:column;gap:.45rem}.timezone-suggestion{margin:.2rem 0 0;color:#b8c0d4;font-size:.92rem;line-height:1.4}.rollover-notice{margin:.75rem 1rem 0;color:#9aa0b4}.timezone-panel{max-width:40rem;display:flex;flex-direction:column;gap:.65rem}.timezone-panel h3,.timezone-kicker{color:#fc6}.timezone-panel h3{font-size:1.25rem;font-weight:650}.timezone-kicker{margin-top:.85rem;font-size:.85rem;font-weight:650;letter-spacing:.02em}.timezone-value{font-size:1.05rem;font-weight:650}.timezone-label{display:block;margin:.85rem 0 .35rem}.timezone-select{width:100%;max-width:28rem;background:#1a1b26;color:#e0e0e0;border:1px solid #3a3f58;border-radius:6px;padding:.55rem .7rem;font:inherit}.timezone-note{color:#b8c0d4;line-height:1.45}.timezone-error{color:#ff8b8b;line-height:1.45}.timezone-save{margin-top:.85rem;height:auto;min-height:2.4rem;padding:.45rem .9rem}.timezone-setup .timezone-label{margin:.35rem 0 0}.timezone-setup .timezone-select{max-width:none}.timezone-setup .timezone-error{margin:.15rem 0 0}.timezone-setup .modal-buttons{justify-content:flex-end;align-items:center;margin-top:.9rem}.timezone-setup .modal-buttons .btn{width:auto;height:auto;min-height:2.5rem;padding:.55rem 1rem;font-size:.95rem}.timezone-setup .timezone-save{margin-top:0}@media(max-width:767px){.modal-overlay:has(.timezone-setup){align-items:center}.timezone-setup .modal-buttons{flex-wrap:nowrap}.timezone-setup .modal-buttons .btn,.timezone-setup .modal-buttons .btn.admin{flex:1 1 0;width:0;min-width:0}}.login-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;background:#1a1b26;padding:2rem}.login-card{background:#3a3f58;border:2px solid #6f42c1;border-radius:12px;padding:2.5rem 2rem;max-width:420px;width:100%;text-align:center;box-shadow:0 8px 32px #00000080}.login-card h1{color:#fc6;margin:0 0 1rem;letter-spacing:1px}.login-copy,.login-error{color:#e0e0e0;line-height:1.5;margin:0 0 1.5rem}.login-error{color:#f8a5a5}.login-google{background-color:#6f42c1;color:#fff;padding:.85rem 1.5rem;font-size:1rem;font-weight:600;width:100%}.login-google:hover{background-color:#5a32a3}.login-google:disabled{opacity:.7;cursor:wait}.modal-title{font-size:1.8rem;font-weight:700;color:#fc6;margin-bottom:1rem}.modal-message{font-size:1.1rem;color:#e0e0e0;margin-bottom:1rem;line-height:1.6}.modal-countdown{font-size:1.3rem;font-weight:600;color:#dc3545;margin-bottom:2rem;font-family:Figtree,sans-serif}.modal-buttons{display:flex;gap:1rem;justify-content:center}.btn.confirm-continue{background-color:#28a745;color:#fff;padding:.8rem 1.5rem;font-size:1rem}.btn.stop-timer{background-color:#dc3545;color:#fff;padding:.8rem 1.5rem;font-size:1rem}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:2px solid #555}.modal-close{background:none;border:none;color:#e0e0e0;font-size:2rem;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:background-color .2s ease}.modal-close:hover{background-color:#ffffff1a}.modal-body{color:#e0e0e0}.history-timer-name{font-size:1.2rem;font-weight:600;color:#fc6;margin-bottom:1rem}.history-table{width:100%;border-collapse:collapse;margin-top:1rem}.history-table th{background:#2b2d3e;color:#fc6;padding:.75rem;text-align:left;font-weight:600;border-bottom:2px solid #555}.history-table td{padding:.75rem;border-bottom:1px solid #555;color:#e0e0e0}.history-table tr:hover{background:#6f42c11a}.timecard-table{width:100%;border-collapse:collapse;background:#2b2d3e;border-radius:8px;overflow:hidden}.timecard-table th{background:#1e1f2e;color:#fc6;padding:1rem;text-align:left;font-weight:600;border-bottom:2px solid #6f42c1}.timecard-table td{padding:.75rem 1rem;border-bottom:1px solid #555;color:#e0e0e0}.timecard-table tr:hover{background:#6f42c11a}.timecard-table tr.logged-row{text-decoration:line-through;opacity:.6}.timecard-table tr.day-total-row{background:#6f42c133;border-top:2px solid #6f42c1}.timecard-table tr.day-total-row td{padding:.75rem 1rem;font-weight:600;color:#fc6}.logged-cell{text-align:center}.logged-checkbox{width:20px;height:20px;accent-color:#6f42c1;cursor:pointer}.date-range-select{background:#2b2d3e;color:#e0e0e0;border:1px solid #555;border-radius:6px;padding:.6rem 1rem;font-family:Figtree,sans-serif;font-size:.9rem;cursor:pointer;margin-right:1rem}.date-range-select:focus{outline:none;border-color:#6f42c1}.btn.history{background-color:#6c757d;color:#fff}.auto-stopped-indicator{display:inline-block;background-color:#dc3545;color:#fff;padding:.25rem .6rem;border-radius:4px;font-size:.75rem;font-weight:600;margin-left:.5rem;margin-top:.25rem;vertical-align:middle}.timer-card.auto-stopped{border-left:3px solid #dc3545}.counter-card{background:#3a3f58;border-radius:10px;padding:1.2rem;width:100%;min-height:200px;box-sizing:border-box;box-shadow:0 2px 6px #0000004d;transition:transform .2s ease,box-shadow .2s ease;display:flex;flex-direction:column;align-items:stretch;position:relative}.counter-content{display:flex;flex-direction:column;align-items:center;width:100%;padding-bottom:1rem;position:relative}.counter-title{font-weight:600;font-size:1.4rem;text-align:center;width:100%;margin-bottom:1.5rem;flex-shrink:0;line-height:1.2;color:#e0e0e0}.counter-display-row{display:flex;align-items:center;justify-content:center;gap:2rem;width:100%;padding:0 1rem;flex:1}.counter-number{font-size:6rem;font-weight:700;color:#fff;text-align:center;min-width:200px;font-family:Figtree,sans-serif}.counter-button{font-size:3rem;padding:7.5px 35px!important;cursor:pointer;border:none;border-radius:10px;background-color:#3a3a3a;color:#e0e0e0;transition:all .3s;min-width:80px;height:auto!important;min-height:unset!important;display:flex;align-items:center;justify-content:center}.counter-button.btn{height:auto!important;min-height:unset!important;padding:7.5px 35px!important}.counter-button:hover{background-color:#4a4a4a;transform:scale(1.05)}.counter-button:active{transform:scale(.95)}.counter-button.btn[data-action=increment],button.counter-button[data-action=increment]{background-color:#5cb85c!important;color:#fff!important}.counter-button.btn[data-action=increment]:hover,button.counter-button[data-action=increment]:hover{background-color:#4cae4c!important}.counter-button.btn[data-action=decrement],button.counter-button[data-action=decrement]{background-color:#d9534f!important;color:#fff!important}.counter-button.btn[data-action=decrement]:hover,button.counter-button[data-action=decrement]:hover{background-color:#c9302c!important}.counter-title.editable{cursor:pointer;padding:.2rem .5rem;border-radius:4px;transition:background-color .2s ease}.counter-title.editable:hover{background-color:#6f42c133}.counter-title input{background:transparent;border:none;color:inherit;font-weight:inherit;font-size:inherit;text-align:center;width:100%;padding:.2rem .5rem;border-radius:4px;outline:none}.counter-title input:focus{background-color:#6f42c14d;border:1px solid #6f42c1}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.nav-toggle,.sidebar-close,.nav-backdrop{display:none}@media(max-width:960px){.timer-display-row,.counter-display-row{flex-direction:column;gap:.85rem;padding:0}.timer-buttons{width:100%}.adjust-content{flex-wrap:wrap}.show .adjust-content{max-height:16rem}.counter-number{min-width:0;font-size:4.5rem}}@media(max-width:767px){.portal-container{min-height:100dvh}.nav-backdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:2090;border:0;padding:0;background:#0000008c;cursor:pointer}.sidebar{width:min(18rem,calc(100vw - 3.5rem));height:100vh;height:100dvh;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);transform:translate(-105%);transition:transform .2s ease;z-index:2100}.sidebar.is-open{transform:translate(0)}body.nav-open{overflow:hidden}.sidebar-close{display:flex;position:absolute;top:max(.6rem,env(safe-area-inset-top));right:.6rem;width:2.25rem;height:2.25rem;align-items:center;justify-content:center;border:1px solid #6f42c1;border-radius:8px;background:#2b2d3e;color:#fc6;font-size:1.4rem;line-height:1;cursor:pointer}.sidebar-header{position:relative;padding:1.1rem 3rem .85rem 1rem}.sidebar-header h1{font-size:1.25rem}.nav-link{padding:.8rem 1rem}.nav-link:hover{transform:none}.nav-text{font-size:.95rem;overflow-wrap:anywhere}.sidebar-footer{padding:1rem}.main-content{margin-left:0;min-height:100dvh;min-width:0}.nav-toggle{display:inline-flex;grid-column:1;justify-self:start;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;border:1px solid #6f42c1;border-radius:8px;background:#2b2d3e;cursor:pointer}.nav-toggle-bars,.nav-toggle-bars:before,.nav-toggle-bars:after{display:block;width:1.05rem;height:2px;background:#fc6;border-radius:1px;content:""}.nav-toggle-bars{position:relative}.nav-toggle-bars:before,.nav-toggle-bars:after{position:absolute;left:0}.nav-toggle-bars:before{top:-6px}.nav-toggle-bars:after{top:6px}.content-header{display:grid;grid-template-columns:2.5rem minmax(0,1fr) 2.5rem;align-items:center;column-gap:.5rem;padding:.85rem;padding-top:max(.85rem,env(safe-area-inset-top))}.content-header h2{grid-column:2;font-size:1.3rem;overflow-wrap:anywhere}.content-body{padding:.85rem;padding-bottom:max(.85rem,env(safe-area-inset-bottom));min-width:0}.content-body:has(.reports-container){padding:.85rem}.timer-grid{min-width:0}.timer-card,.counter-card{min-height:0;padding:.9rem}.timer-title,.counter-title{font-size:1.15rem;margin-bottom:.85rem;overflow-wrap:anywhere}.timer-display{font-size:1.85rem;gap:.45rem;letter-spacing:.02em;word-spacing:.15em;max-width:100%}.timer-buttons .btn{flex:1 1 calc(50% - .4rem);min-width:0}.notes-textarea,.adjust-content input,.title-input,.nav-text-input,.timezone-select{font-size:16px}.counter-number{font-size:3.25rem}.counter-display-row{gap:.75rem}.counter-button,.counter-button.btn{font-size:2rem;min-width:2.75rem;padding:.35rem .8rem!important}.reports-header{top:.5rem;margin-bottom:1rem;padding:1rem}.reports-title{font-size:1.35rem;text-align:center}#reportsContent{padding:0 0 1rem}.project-report{padding:1rem}.project-report-header,.timer-report-header{flex-wrap:wrap;gap:.35rem}.timer-report-name{white-space:normal}.date-range-select{width:100%;margin-right:0}.login-screen{min-height:100dvh;padding:1rem;padding-top:max(1rem,env(safe-area-inset-top));padding-bottom:max(1rem,env(safe-area-inset-bottom))}.login-card{padding:1.5rem 1.1rem}.modal-overlay{padding:max(.75rem,env(safe-area-inset-top)) .75rem max(.75rem,env(safe-area-inset-bottom));align-items:flex-start;overflow-y:auto}.modal-content{max-height:none;margin-top:auto;margin-bottom:auto;padding:1.15rem}.history-modal,.app-dialog{max-width:100%}.modal-header{gap:.75rem;align-items:flex-start}.modal-title{font-size:1.3rem;overflow-wrap:anywhere}.modal-buttons{flex-wrap:wrap}.modal-buttons .btn{flex:1 1 8rem;height:auto;min-height:2.75rem;white-space:normal}.project-edit{top:.35rem;right:2.15rem;width:2.75rem;height:2.75rem;font-size:1rem}.admin-mode .project-draggable .nav-link{padding-right:5.5rem}.project-editor-modal{max-width:100%}.warning-modal .btn.confirm-continue{flex:1 1 100%}#historyTableContainer{overflow-x:auto}.connection-banner{overflow-wrap:anywhere;padding-top:max(.45rem,env(safe-area-inset-top))}}@media(max-width:380px){.timer-display{font-size:1.55rem;gap:.3rem}}.adjust-fields,.adjust-actions{display:contents}.adjust-label-long{display:none}.counter-history{position:absolute;top:.5rem;right:.5rem;z-index:10}.timecard-note{margin:.75rem 0;color:#9aa0b4}.logged-checkbox:disabled{cursor:default}.history-cards,.timecard-days{display:none}@media(max-width:767px){.admin-mode .timer-checkbox{position:static;display:flex;align-items:center;justify-content:center;width:44px;height:44px;margin:.5rem 0 0 auto}.timer-checkbox input[type=checkbox]{width:22px;height:22px;margin:0}.admin-mode .drag-handle{width:44px;height:44px;top:.25rem;right:.25rem;background:transparent;touch-action:none}.admin-mode .drag-handle:before{width:22px;height:22px;display:flex;align-items:center;justify-content:center;background:#6f42c1;border-radius:4px;font-size:12px}.admin-mode .timer-title,.admin-mode .counter-title{padding-right:2.75rem}.adjust-content{flex-direction:column;align-items:stretch;gap:.85rem}.adjust-fields,.adjust-actions{display:flex;width:100%;gap:.6rem}.adjust-fields{display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:.65rem .5rem}.adjust-pair{flex-direction:column;align-items:flex-start;margin:0;gap:.35rem;min-width:0}.adjust-label-short{display:none}.adjust-label-long{display:inline}.adjust-content input{min-height:44px;width:100%;max-width:5.5rem}.minutes-controls{gap:.35rem}.minutes-btn{width:44px;height:44px;font-size:1rem;touch-action:manipulation}.adjust-actions .btn{flex:1 1 0;height:auto;min-height:44px}.show .adjust-content{max-height:28rem}.history-table,.timecard-table{display:none}.history-cards,.timecard-days{display:flex;flex-direction:column;gap:.75rem;min-width:0}#historyTableContainer{overflow-x:visible}.history-card,.timecard-entry{background:#2b2d3e;border-radius:8px;padding:.75rem .85rem;display:flex;flex-direction:column;gap:.4rem}.history-card p,.timecard-entry p,.logged-toggle,.timecard-day-total{display:flex;justify-content:space-between;align-items:baseline;gap:.75rem;margin:0}.history-card-label,.timecard-entry p span:first-child,.logged-toggle span,.timecard-day-total span:first-child{color:#fc6;font-size:.8rem;font-weight:600;flex:0 0 auto}.history-card p span:last-child,.timecard-entry p span:last-child{text-align:right;overflow-wrap:anywhere}.history-card-details{border-top:1px solid #555;padding-top:.45rem}.history-card-details summary{min-height:44px;display:flex;align-items:center;cursor:pointer;color:#fc6;font-weight:600}.history-card-details p{margin-top:.35rem}.history-modal{display:flex;flex-direction:column;max-height:calc(100dvh - 1.5rem - env(safe-area-inset-top) - env(safe-area-inset-bottom));margin-top:0;margin-bottom:auto}.history-modal .modal-body{overflow-y:auto;min-height:0}.history-modal .modal-close{width:44px;height:44px;flex:0 0 44px}.timecard-day{background:#2b2d3e;border-radius:10px;padding:.85rem;min-width:0}.timecard-day-date{color:#fc6;font-size:1.05rem;margin:0 0 .7rem}.timecard-entry{background:#3a3f58;margin-bottom:.6rem}.timecard-day-total{background:#6f42c133;border-top:2px solid #6f42c1;border-radius:8px;padding:.75rem;color:#fc6;font-weight:600}.logged-toggle{min-height:44px;align-items:center}.logged-toggle input{width:22px;height:22px}#reportsContent{overflow-x:visible}.counter-display-row{flex-direction:row;justify-content:center;align-items:center;gap:.75rem;width:100%;padding:0}.counter-number{flex:1 1 auto;min-width:0;font-size:2.75rem;text-align:center}.counter-button,.counter-button.btn{flex:0 0 44px;width:44px;min-width:44px;height:44px!important;min-height:44px;padding:0!important;font-size:1.75rem;touch-action:manipulation}.counter-history{position:static;width:100%;margin-top:.85rem;height:auto;min-height:44px}}*,*:before,*:after{box-sizing:border-box}html,body,#root{margin:0;padding:0;min-height:100%}body{font-family:Figtree,sans-serif}
