*{box-sizing:border-box;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;color:#333;background:#fff;overflow:hidden;height:100vh}button{font:inherit;border:none;background:none;cursor:pointer}#root{display:flex;height:100vh;overflow:hidden}.app{display:flex;height:100vh;width:100%;overflow:hidden}.sidebar{width:48px;background:#2d3a47;display:flex;flex-direction:column;align-items:center;padding-top:8px;flex-shrink:0}.sidebar-logo{color:#f0c040;font-size:20px;font-weight:700;margin-bottom:16px}.sidebar-item{width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:6px;margin-bottom:4px;color:#8a9aab;cursor:pointer;transition:background .15s,color .15s}.sidebar-item:hover,.sidebar-item.active{background:#ffffff1a;color:#f0c040}.sidebar-item svg{width:20px;height:20px}.main{flex:1;display:flex;flex-direction:column;overflow:hidden}.topbar{height:48px;background:#fff;border-bottom:1px solid #e0e0e0;display:flex;align-items:center;justify-content:space-between;padding:0 16px;flex-shrink:0}.topbar-left{display:flex;align-items:center;gap:12px}.topbar-logo{display:flex;align-items:center;gap:8px;font-size:13px;color:#666}.topbar-logo-svg{height:22px;width:auto;max-width:120px;color:#333}.logo-circle{width:24px;height:24px;border:2px solid #c0a060;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:10px;color:#c0a060;font-weight:700}.topbar-right{display:flex;align-items:center;gap:12px}.user-info{display:flex;align-items:center;gap:8px;font-size:13px}.user-avatar{width:28px;height:28px;border-radius:50%;background:#4db6ac;color:#fff;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:500;overflow:hidden;flex-shrink:0}.user-avatar img{width:100%;height:100%;object-fit:cover;display:block}.user-info span{color:#666}.play-btn{width:28px;height:28px;border-radius:50%;background:#2e7d32;color:#fff;display:flex;align-items:center;justify-content:center;font-size:10px}.timer-val{font-size:13px;font-weight:500}.icon-btn{font-size:18px;color:#666;padding:4px}.toolbar{display:flex;align-items:center;gap:8px;padding:8px 16px;border-bottom:1px solid #e0e0e0;flex-shrink:0;background:#fff}.view-toggle{display:flex;border:1px solid #e0e0e0;border-radius:4px;overflow:hidden}.view-toggle button{padding:6px 10px;font-size:13px;border-right:1px solid #e0e0e0;color:#666;display:flex;align-items:center;justify-content:center}.view-toggle button:last-child{border-right:none}.view-toggle button.active{background:#f5f5f5;color:#333}.nav-arrows{display:flex;gap:4px}.nav-arrows button{width:28px;height:28px;border:1px solid #e0e0e0;border-radius:4px;display:flex;align-items:center;justify-content:center;font-size:12px;color:#666}.date-picker{position:relative;display:flex;align-items:center}.date-picker-trigger{display:flex;align-items:center;gap:8px;border:1px solid #e0e0e0;border-radius:4px;padding:5px 10px;font-size:13px;cursor:pointer;color:#333;background:#fff}.date-picker-dropdown{position:absolute;top:calc(100% + 6px);left:0;z-index:10;width:320px;background:#fff;border:1px solid #e0e0e0;border-radius:4px;padding:16px;box-shadow:0 4px 12px #0000001f}.date-picker-dropdown:before{content:"";position:absolute;top:-6px;left:20px;width:10px;height:10px;background:#fff;border-left:1px solid #e0e0e0;border-top:1px solid #e0e0e0;transform:rotate(45deg)}.date-picker-fields{display:flex;align-items:flex-end;gap:12px;margin-bottom:16px}.date-picker-field{flex:1}.date-picker-field label{display:block;font-size:11px;color:#999;margin-bottom:4px}.date-picker-value{border-bottom:2px solid #1a73e8;padding:4px 0;font-size:13px;color:#333;min-height:20px}.date-picker-separator{font-size:12px;color:#999;padding-bottom:6px}.date-picker-calendar{border-top:1px solid #e0e0e0;padding-top:12px}.date-picker-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.date-picker-title{font-size:13px;font-weight:500;color:#333;text-transform:uppercase}.date-picker-nav{width:24px;height:24px;display:flex;align-items:center;justify-content:center;font-size:10px;color:#666;border:1px solid #e0e0e0;border-radius:4px;cursor:pointer;background:#fff}.date-picker-weekdays{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;margin-bottom:4px}.date-picker-weekday{text-align:center;font-size:11px;color:#999;text-transform:lowercase}.date-picker-days{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}.date-picker-day{display:flex;align-items:center;justify-content:center;height:32px;font-size:13px;color:#333;cursor:pointer;border-radius:50%;position:relative}.date-picker-day:hover:not(.out-month){background:#e8f0fe;border-radius:50%}.date-picker-day.out-month{color:#ccc}.date-picker-day.weekend:not(.out-month){color:#666}.date-picker-day.in-range{background:#e8f0fe;border-radius:0}.date-picker-day.range-start,.date-picker-day.range-end{background:#1a73e8;color:#fff}.date-picker-day.range-start{border-radius:50% 0 0 50%}.date-picker-day.range-end{border-radius:0 50% 50% 0}.date-picker-day.range-start.range-end{border-radius:50%}.date-picker-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:16px;padding-top:12px;border-top:1px solid #e0e0e0}.date-picker-actions button{font-size:12px;font-weight:500;padding:6px 12px;border-radius:4px;cursor:pointer}.date-picker-cancel{color:#666;background:transparent;border:none}.date-picker-apply{color:#fff;background:#1a73e8;border:none}.date-picker-apply:disabled{background:#ccc;cursor:not-allowed}.caret{font-size:10px;color:#999}.single-date-picker{position:relative}.single-date-picker .modal-input-with-icon{position:relative;display:flex;align-items:center}.single-date-picker .modal-input-with-icon input{width:100%;padding-right:28px;cursor:pointer}.single-date-picker .date-picker-icon{position:absolute;right:8px;color:#666;font-size:14px;cursor:pointer;display:flex;align-items:center;justify-content:center}.single-date-picker .date-picker-icon svg{width:16px;height:16px}.single-date-picker-dropdown{position:absolute;top:calc(100% + 6px);left:0;z-index:10;width:260px;background:#fff;border:1px solid #e0e0e0;border-radius:4px;padding:12px;box-shadow:0 4px 12px #0000001f}.single-date-picker-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.single-date-picker-title{font-size:13px;font-weight:500;color:#333;text-transform:uppercase;cursor:pointer;background:none;border:none;padding:0;display:flex;align-items:center;gap:6px}.single-date-picker-navs{display:flex;gap:4px}.single-date-picker-nav{width:24px;height:24px;display:flex;align-items:center;justify-content:center;font-size:10px;color:#666;border:1px solid #e0e0e0;border-radius:4px;cursor:pointer;background:#fff}.single-date-picker-weekdays{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;margin-bottom:4px}.single-date-picker-weekday{text-align:center;font-size:11px;color:#999;text-transform:lowercase}.single-date-picker-days{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}.single-date-picker-day{display:flex;align-items:center;justify-content:center;height:28px;font-size:12px;color:#333;cursor:pointer;border-radius:50%;position:relative}.single-date-picker-day:hover:not(.out-month){background:#e8f0fe}.single-date-picker-day.out-month{color:#ccc}.single-date-picker-day.weekend:not(.out-month){color:#666}.single-date-picker-day.selected{background:#1a73e8;color:#fff}.single-date-picker-month-label{position:absolute;top:1px;left:2px;font-size:8px;color:#999;text-transform:lowercase;pointer-events:none}.single-date-picker-day.selected .single-date-picker-month-label{color:#ffffffb3}.single-date-picker-months{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:8px 0}.single-date-picker-month{display:flex;align-items:center;justify-content:center;height:36px;font-size:12px;color:#333;cursor:pointer;border-radius:4px;text-transform:lowercase}.single-date-picker-month:hover{background:#e8f0fe}.single-date-picker-month.current,.single-date-picker-month.current:hover{background:#1a73e8;color:#fff}.today-btn{font-size:13px;color:#1a73e8;font-weight:500;padding:5px 8px}.spacer{flex:1}.btn-blue{background:#1a73e8;color:#fff;padding:6px 16px;border-radius:4px;font-size:13px;font-weight:500}.btn-blue:hover{opacity:.9}.btn-dropdown{width:28px;height:28px;border:1px solid #e0e0e0;border-radius:4px;display:flex;align-items:center;justify-content:center;font-size:10px;color:#666}.action-bar{display:flex;align-items:center;gap:12px;padding:6px 16px;border-bottom:1px solid #e0e0e0;flex-shrink:0;background:#fff}.checkbox{width:16px;height:16px;border:1px solid #e0e0e0;border-radius:3px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:transparent;transition:all .15s}.checkbox.checked{background:#1a73e8;border-color:#1a73e8;color:#fff}.selected-text{font-size:12px;color:#666}.toolbar-btn{padding:5px 12px;border:1px solid #e0e0e0;border-radius:4px;font-size:12px;color:#666;background:#fff;display:flex;align-items:center;gap:6px}.toolbar-btn:hover{background:#f5f5f5}.btn-icon{font-size:14px}.stats-bar{display:flex;align-items:center;gap:16px;padding:8px 16px;border-bottom:1px solid #e0e0e0;font-size:12px;flex-shrink:0;background:#fff}.stat-item{display:flex;align-items:center;gap:6px}.stat-dot{width:8px;height:8px;border-radius:2px}.stat-dot.pending{background:#f9a825}.stat-dot.posted{background:#1565c0}.stat-dot.billable{background:#1a73e8}.stat-dot.nonbill{background:#00897b}.stat-dot.unassigned{background:#7b1fa2}.stat-dot.missing{background:#d32f2f}.content-area{display:flex;flex:1;overflow:hidden}.calendar-wrap{flex:1;overflow:auto;padding:0 16px 16px}.calendar-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:1px;background:#e0e0e0;border:1px solid #e0e0e0;border-radius:4px;overflow:hidden}.cal-header{background:#fff;padding:6px 8px;font-size:11px;font-weight:500;color:#666;text-align:center;text-transform:uppercase}.cal-cell{background:#fff;min-height:100px;padding:6px 8px;position:relative;cursor:pointer;transition:background .1s}.cal-cell:hover{background:#f5f5f5}.cal-cell.out-month{background:#fafafa;color:#bbb}.cal-cell.selected{background:#e3f2fd;box-shadow:0 4px 24px #00000026;z-index:1}.cal-cell.today{background:#fff3e0;box-shadow:0 4px 24px #00000014;z-index:1}.cal-cell.week-total{background:#fafafa;font-size:12px;color:#666;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;min-height:100px;padding:6px 8px;gap:4px}.week-total-header{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#333}.week-checkbox{width:12px;height:12px;border:1px solid #999;border-radius:2px;background:#fff;flex-shrink:0;cursor:pointer;display:flex;align-items:center;justify-content:center}.week-checkbox.checked{background:#1a73e8;border-color:#1a73e8}.week-checkbox svg{width:8px;height:8px;color:#fff}.day-checkbox{width:12px;height:12px;border:1px solid #999;border-radius:2px;background:#fff;flex-shrink:0;cursor:pointer;display:flex;align-items:center;justify-content:center}.day-checkbox.checked{background:#1a73e8;border-color:#1a73e8}.day-checkbox svg{width:8px;height:8px;color:#fff}.cell-date{font-size:13px;font-weight:500;margin-bottom:4px;display:flex;align-items:center;justify-content:space-between}.day-num{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;font-size:12px}.day-num.today-circle{background:#d32f2f;color:#fff}.day-num.weekend{color:#d32f2f}.time-bars{display:flex;flex-direction:column;gap:2px}.time-bar{display:flex;align-items:center;gap:4px;font-size:11px}.time-bar .bar{width:3px;height:14px;border-radius:2px;flex-shrink:0}.time-bar .bar.billable{background:#1a73e8}.time-bar .bar.nonbill{background:#00897b}.time-bar .bar.unassigned{background:#7b1fa2}.time-bar .bar.missing{background:#d32f2f}.time-bar .bar.pending{background:#f9a825}.missing-badge{background:#d32f2f;color:#fff;font-size:10px;font-weight:600;padding:2px 6px;border-radius:10px}.side-panel{width:340px;border-left:1px solid #e0e0e0;background:#fff;display:flex;flex-direction:column;flex-shrink:0;overflow-y:auto}.side-header{padding:12px 16px;border-bottom:1px solid #e0e0e0;background:#e3f2fd}.side-header h3{font-size:15px;font-weight:500;margin-bottom:4px;color:#333}.side-header .sub{font-size:12px;color:#666}.timecard{padding:12px 16px;border-bottom:1px solid #e0e0e0}.timecard-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.timecard-meta{display:flex;gap:12px;font-size:11px;color:#666}.timecard-meta span{display:flex;align-items:center;gap:4px}.timecard-info{display:flex;justify-content:space-between;font-size:11px;color:#666;margin-bottom:8px}.timecard-info span:last-child{font-weight:500;color:#333}.timecard-title{font-size:13px;font-weight:500;margin-bottom:4px;color:#333}.timecard-date{font-size:11px;color:#888;margin-bottom:4px}.timecard-desc{font-size:12px;color:#666;line-height:1.5}.timecard-actions{display:flex;align-items:center;justify-content:space-between;margin-top:8px;font-size:11px}.timecard-actions-left{display:flex;align-items:center;gap:4px}.timecard-icon-btn{width:28px;height:28px;display:flex;align-items:center;justify-content:center;font-size:13px;color:#333;background:transparent;border-radius:4px;cursor:pointer}.timecard-icon-btn:hover{background:#f3f3f3}.timecard-actions a{color:#1a73e8;text-decoration:none;font-weight:500}.timecard-actions a:hover{text-decoration:underline}.timecard.pending{background:#fff8e1;border-left:3px solid #f9a825}.status-posted{color:#00897b;font-weight:500}.status-pending{color:#f57f17;font-weight:500}.doc-icon{width:16px;height:16px;border:1px solid #e0e0e0;border-radius:2px;display:inline-flex;align-items:center;justify-content:center;font-size:9px;margin-right:auto}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#ccc;border-radius:3px}::-webkit-scrollbar-thumb:hover{background:#aaa}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;background:#0006;display:flex;align-items:center;justify-content:center;padding:24px}.modal-dialog{background:#fff;border-radius:4px;width:100%;max-width:720px;max-height:calc(100vh - 48px);overflow-y:auto;display:flex;flex-direction:column;box-shadow:0 8px 32px #00000040;position:relative}.modal-header{display:flex;align-items:center;justify-content:space-between;background:#1a73e8;color:#fff;padding:12px 16px}.modal-header h2{font-size:15px;font-weight:500;letter-spacing:.5px}.modal-close{background:transparent;color:#fff;font-size:18px;line-height:1;cursor:pointer;transition:all .25s ease}.modal-close.flash{background:#ffffff59;box-shadow:0 0 0 4px #ffffff80;border-radius:4px}.modal-body{padding:20px 24px;display:flex;flex-direction:column;gap:16px}.modal-user{display:flex;align-items:center;gap:10px;font-size:14px;color:#333}.modal-avatar{width:32px;height:32px;border-radius:50%;background:#f9c74f;color:#fff;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:500}.modal-user-info{display:flex;flex-direction:column;gap:2px}.entry-status{font-size:11px;font-weight:500;padding:2px 6px;border-radius:10px;width:fit-content}.entry-status.posted{color:#00897b;background:#e0f2f1}.entry-status.pending{color:#f57f17;background:#fff8e1}.modal-row{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.modal-row.narrative-row{grid-template-columns:repeat(2,1fr)}.modal-field{display:flex;flex-direction:column;gap:4px}.modal-field label{font-size:11px;color:#999}.modal-field input,.modal-field textarea{padding:8px 10px;border:none;border-bottom:1px solid #999;background:#f3f3f3;font-size:13px;color:#333;outline:none;border-radius:2px 2px 0 0}.modal-field input:focus,.modal-field textarea:focus{border-bottom-color:#1a73e8}.modal-field textarea{resize:vertical;min-height:80px}.modal-input-with-icon{position:relative;display:flex;align-items:center}.modal-input-with-icon input{width:100%;padding-right:28px}.input-icon{position:absolute;right:8px;color:#666;font-size:14px;cursor:default}.input-icon.info-icon{cursor:pointer}.clear-icon{background:transparent;cursor:pointer;font-size:12px;color:#333}.modal-checkboxes{display:flex;gap:32px;padding:4px 0}.modal-checkboxes label{display:flex;align-items:center;gap:6px;font-size:13px;color:#333;cursor:pointer}.modal-checkboxes input[type=checkbox]{width:14px;height:14px;border:1px solid #999;border-radius:2px;cursor:pointer}.format-toolbar{display:flex;gap:2px;padding:4px 0}.format-toolbar button{width:24px;height:24px;display:flex;align-items:center;justify-content:center;font-size:12px;color:#333;background:transparent;border-radius:2px;cursor:pointer}.format-toolbar button:hover{background:#e8e8e8}.modal-section-toggle{display:flex;align-items:center;gap:8px;font-size:13px;color:#333;cursor:pointer;padding:4px 0}.modal-section-toggle span{font-size:10px;color:#666}.modal-section-content{padding:12px 0 0}.modal-footer{display:flex;align-items:center;justify-content:space-between;padding:12px 24px;border-top:1px solid #e0e0e0}.modal-actions-left{display:flex;gap:8px}.modal-icon-btn{width:32px;height:32px;display:flex;align-items:center;justify-content:center;font-size:14px;color:#333;background:transparent;border-radius:4px;cursor:pointer}.modal-icon-btn:hover{background:#f3f3f3}.modal-post-btn{font-size:13px;font-weight:500;color:#1a73e8;background:transparent;padding:6px 12px;cursor:pointer}.save-notice{position:absolute;top:60px;right:24px;background:#fff;color:#333;font-size:13px;padding:8px 12px;border-radius:4px;box-shadow:0 2px 8px #0000001f;z-index:10}.login-screen{display:flex;align-items:center;justify-content:center;height:100vh;width:100vw;background:#f5f5f5}.login-card{display:flex;flex-direction:column;align-items:center;gap:16px;background:#fff;padding:40px 48px;border-radius:8px;box-shadow:0 4px 24px #00000014;min-width:320px}.login-card .logo-circle{width:56px;height:56px;border:2px solid #c0a060;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:18px;color:#c0a060;font-weight:700}.login-logo-svg{width:200px;height:auto;color:#c0a060}.login-card h1{font-size:18px;font-weight:500;color:#666;margin:0}.login-card p{font-size:13px;color:#999;margin:0}@media (max-width: 768px){.sidebar{width:40px}.sidebar-logo{font-size:14px;margin-bottom:12px}.sidebar-item{width:32px;height:32px}.sidebar-item svg{width:18px;height:18px}.topbar{padding:0 12px}.topbar-logo span,.user-info span{display:none}.toolbar{padding:8px 12px;gap:6px;flex-wrap:wrap}.view-toggle button{padding:5px 8px}.date-picker-dropdown{width:calc(100vw - 32px);left:50%;transform:translate(-50%)}.date-picker-dropdown:before{left:50%;margin-left:-5px}.single-date-picker-dropdown{width:calc(100vw - 32px);left:50%;transform:translate(-50%)}.action-bar{padding:6px 12px;gap:8px}.selected-text{display:none}.stats-bar{padding:8px 12px;gap:10px;flex-wrap:wrap}.calendar-wrap{padding:0 12px 12px}.calendar-grid{min-width:720px}.cal-cell{min-height:90px}.side-panel{position:fixed;top:0;right:0;bottom:0;width:320px;z-index:100;box-shadow:-4px 0 16px #00000026}.side-header{display:flex;align-items:center;justify-content:space-between}.side-close{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:4px;font-size:16px;color:#333;background:transparent;cursor:pointer}.side-close:hover{background:#0000000d}.modal-overlay{padding:0}.modal-dialog{max-width:100%;max-height:100vh;border-radius:0}.topbar-logo-svg{height:18px;max-width:90px}.modal-body{padding:16px}.modal-footer{padding:12px 16px}}@media (max-width: 576px){.topbar{height:44px;padding:0 8px}.timer-val{display:none}.toolbar{padding:6px 8px;gap:4px}.view-toggle button{padding:4px 6px}.nav-arrows button{width:24px;height:24px}.date-picker-trigger{padding:4px 8px;font-size:12px}.today-btn{font-size:12px;padding:4px 6px}.btn-blue{padding:5px 10px;font-size:12px}.icon-btn{font-size:16px}.action-bar{padding:6px 8px}.toolbar-btn{padding:4px 8px;font-size:11px}.stats-bar{padding:6px 8px;font-size:11px;gap:8px}.calendar-grid{min-width:640px}.cal-cell,.week-total{min-height:80px;padding:4px 6px}.cell-date{font-size:12px}.day-num{width:20px;height:20px;font-size:11px}.side-panel{width:100%}.modal-row{grid-template-columns:1fr;gap:12px}.modal-row.narrative-row{grid-template-columns:1fr}.modal-checkboxes{flex-wrap:wrap;gap:12px}.modal-field textarea{min-height:60px}}
