:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.login-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:#1a1a2e;padding:1rem}.login-card{background:#16213e;border-radius:16px;padding:2.5rem 2rem;width:100%;max-width:320px;display:flex;flex-direction:column;align-items:center;box-shadow:0 4px 24px #0000004d}.login-logo{width:80px;height:80px;border-radius:16px;object-fit:cover;margin-bottom:1rem}.login-title{font-size:1.5rem;font-weight:600;color:#fff;margin:0 0 2rem;letter-spacing:-.5px}.login-form{width:100%;display:flex;flex-direction:column;gap:1rem}.login-input-group{width:100%}.login-input{width:100%;padding:.875rem 1rem;font-size:1rem;background:#1a1a2e;border:1px solid #0f3460;border-radius:8px;color:#fff;transition:border-color .2s}.login-input:focus{outline:none;border-color:#3b82f6}.login-input::placeholder{color:#64748b}.login-input:disabled{opacity:.6;cursor:not-allowed}.login-error{background:#7f1d1d;color:#fca5a5;padding:.625rem 1rem;border-radius:8px;font-size:.875rem;text-align:center}.login-button{width:100%;padding:.875rem 1rem;font-size:1rem;font-weight:600;background:#10b981;color:#fff;border:none;border-radius:8px;cursor:pointer;transition:background .2s}.login-button:hover:not(:disabled){background:#059669}.login-button:disabled{background:#374151;color:#6b7280;cursor:not-allowed}*{box-sizing:border-box;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif;background:#1a1a2e;color:#eee;min-height:100vh;margin:0}.app{width:100%;padding:0;margin:0;min-height:100vh;display:flex;flex-direction:column;box-sizing:border-box}.nav{display:flex;background:#16213e;border-bottom:1px solid #0f3460;position:fixed;top:0;left:0;right:0;z-index:100}.nav-link{flex:1;padding:1rem;text-align:center;text-decoration:none;color:#94a3b8;font-weight:500;transition:all .2s}.nav-link:hover{background:#1a2744;color:#fff}.nav-link.active{background:#0f3460;color:#fff;border-bottom:2px solid #10b981}.main{flex:1;padding:1.5rem;padding-top:calc(1.5rem + 53px);width:100%;overflow-y:auto;display:flex;flex-direction:column}.page{display:flex;flex-direction:column;gap:1.5rem;width:100%}.page h1{font-size:1.5rem;color:#fff;text-align:center}.timer-display{display:flex;flex-direction:column;align-items:center;gap:.5rem;padding:2rem;background:#16213e;border-radius:12px}.timer-display .time{font-size:3rem;font-weight:700;font-family:SF Mono,Monaco,Courier New,monospace;color:#fff}.timer-display .minutes{font-size:1rem;color:#94a3b8}.timer-controls{display:flex;gap:1rem;justify-content:center}.btn{padding:.875rem 2rem;font-size:1rem;font-weight:600;border:none;border-radius:8px;cursor:pointer;transition:all .2s}.btn-start{background:#10b981;color:#fff}.btn-start:hover{background:#059669}.btn-stop{background:#ef4444;color:#fff}.btn-stop:hover{background:#dc2626}.btn-submit{background:#10b981;color:#fff;width:100%}.btn-submit:hover{background:#059669}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-group label{font-size:.875rem;font-weight:500;color:#94a3b8}.form-group input,.form-group select,.form-group textarea{padding:.75rem;font-size:1rem;background:#16213e;border:1px solid #0f3460;border-radius:8px;color:#fff}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#3b82f6}.form-group textarea{resize:vertical;min-height:80px}.message{padding:.75rem 1rem;border-radius:8px;font-size:.875rem;text-align:center}.message.success{background:#065f46;color:#6ee7b7}.message.error{background:#7f1d1d;color:#fca5a5}form{display:flex;flex-direction:column;gap:1rem}form .btn-submit{margin-top:.5rem}.calendar-page{display:flex;flex-direction:column;gap:1rem;width:100%;max-width:100%;height:100%;overflow:hidden}.calendar-nav{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0;flex-shrink:0}.calendar-nav h2{font-size:1.25rem;color:#fff;margin:0}.btn-nav{background:#16213e;border:1px solid #0f3460;color:#fff;width:40px;height:40px;border-radius:8px;font-size:1.25rem;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;padding:0}.btn-nav:hover{background:#1a2744}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;background:#16213e;padding:.75rem;border-radius:12px;flex-shrink:0}.calendar-header-cell{text-align:center;font-size:.75rem;color:#94a3b8;padding:.5rem 0;font-weight:500}.calendar-cell{aspect-ratio:1;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:8px;cursor:pointer;transition:background .15s;position:relative;gap:2px;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.calendar-cell:hover:not(.empty):not(.selected){background:#1a2744}.calendar-cell:active:not(.empty):not(.selected){background:#3b82f6}.calendar-cell.empty{cursor:default}.calendar-cell.today:not(.selected){background:#0f3460}.calendar-cell.selected{background:#3b82f6}.day-number{font-size:.875rem;color:#fff}.work-indicator{width:6px;height:6px;background:#10b981;border-radius:50%}.day-detail{background:#16213e;border-radius:12px;padding:1rem;display:flex;flex-direction:column;gap:1rem;overflow-y:auto;flex:1;min-height:0}.day-detail-header{display:flex;justify-content:space-between;align-items:center}.day-detail-header h3{font-size:1rem;color:#fff;margin:0}.btn-close{background:none;border:none;color:#94a3b8;font-size:1.5rem;cursor:pointer;padding:0;line-height:1}.btn-close:hover{color:#fff}.day-summary{display:flex;flex-direction:column;align-items:center;padding:1rem;background:#0f3460;border-radius:8px}.total-time{font-size:1.5rem;font-weight:700;color:#10b981}.total-label{font-size:.75rem;color:#94a3b8}.entries-list{display:flex;flex-direction:column;gap:.75rem}.entry-item{background:#1a1a2e;border-radius:8px;padding:.75rem;display:flex;flex-direction:column;gap:.5rem}.entry-info{display:flex;justify-content:space-between;align-items:center}.entry-project{font-weight:600;color:#fff}.entry-time{color:#3b82f6;font-weight:500}.entry-comment{font-size:.875rem;color:#94a3b8;margin:0}.entry-meta{display:flex;justify-content:space-between;align-items:center;font-size:.75rem}.entry-type{color:#64748b;text-transform:capitalize}.btn-delete{background:none;border:none;color:#ef4444;font-size:.75rem;cursor:pointer;padding:.25rem .5rem}.btn-delete:hover{text-decoration:underline}.delete-confirm{display:flex;align-items:center;gap:.5rem;font-size:.75rem;color:#94a3b8}.btn-confirm-yes,.btn-confirm-no{background:none;border:1px solid;border-radius:4px;padding:.125rem .5rem;cursor:pointer;font-size:.75rem}.btn-confirm-yes{border-color:#ef4444;color:#ef4444}.btn-confirm-yes:hover{background:#ef4444;color:#fff}.btn-confirm-no{border-color:#64748b;color:#64748b}.btn-confirm-no:hover{background:#64748b;color:#fff}.no-entries{text-align:center;color:#64748b;font-size:.875rem;padding:1rem}.add-entry-form{display:flex;flex-direction:column;gap:.75rem;padding-top:.5rem;border-top:1px solid #0f3460}.add-entry-form .form-group{gap:.25rem}.add-entry-form .form-group label{font-size:.75rem}.add-entry-form .form-group input,.add-entry-form .form-group select,.add-entry-form .form-group textarea{padding:.5rem;font-size:.875rem}.form-actions{display:flex;gap:.5rem}.form-actions .btn{flex:1;padding:.625rem;font-size:.875rem}.btn-cancel{background:#374151;color:#fff}.btn-cancel:hover{background:#4b5563}.btn-add{width:100%;background:#0f3460;color:#3b82f6;border:1px dashed #3b82f6}.btn-add:hover{background:#1a2744}.invoice-page{display:flex;flex-direction:column;gap:1.5rem}.invoice-form{display:flex;flex-direction:column;gap:1rem}.form-row{display:flex;gap:1rem}.form-row .form-group{flex:1}.invoice-summary{background:#16213e;border-radius:12px;padding:1rem}.invoice-summary h2{font-size:1rem;color:#fff;margin:0 0 1rem;padding-bottom:.5rem;border-bottom:1px solid #0f3460}.summary-row{display:flex;justify-content:space-between;padding:.5rem 0;color:#94a3b8;font-size:.9rem}.summary-row span:last-child{color:#fff;font-weight:500}.summary-row.total{border-top:1px solid #0f3460;margin-top:.5rem;padding-top:1rem}.summary-row.total span{font-size:1.1rem;font-weight:700}.summary-row.total span:last-child{color:#10b981}.loading-text{color:#64748b;text-align:center;padding:1rem 0}.btn-generate{background:#10b981;color:#fff;width:100%;padding:1rem;font-size:1rem}.btn-generate:hover:not(:disabled){background:#059669}.btn-generate:disabled{background:#374151;color:#6b7280;cursor:not-allowed}
