*{box-sizing:border-box}body{color:#222;background:#f4f5f7;margin:0;font-family:system-ui,Segoe UI,Roboto,sans-serif}#root{min-height:100vh}.app{flex-direction:column;min-height:100vh;display:flex}.app-header{color:#fff;background:#1f3648;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:12px 20px;display:flex}.app-header .brand{align-items:center;gap:16px;display:flex}.app-logo{width:auto;height:44px;display:block}.app-header h1{color:#e0dcd5;margin:0;font-size:18px;font-weight:600}.tabs{gap:8px;display:flex}.tab{color:#cfe0f0;border-radius:4px;padding:6px 14px;font-size:14px;text-decoration:none}.tab.active{color:#1f3648;background:#fff;font-weight:600}main{flex:1;padding:16px 20px;overflow:auto}.clipboard-bar{background:#fff3cd;border-bottom:1px solid #e0c05a;align-items:center;gap:10px;padding:6px 20px;font-size:13px;display:flex}.clipboard-bar button{cursor:pointer;background:#fff;border:1px solid #ccc;border-radius:4px;margin-left:auto;padding:3px 10px;font-size:12px}.toolbar{align-items:center;gap:12px;margin-bottom:10px;display:flex}.toolbar button{cursor:pointer;background:#fff;border:1px solid #ccc;border-radius:4px;padding:4px 10px}.toolbar-title{font-weight:600}.legend{flex-wrap:wrap;gap:6px;margin-bottom:12px;display:flex}.legend-item{border:1px solid #00000026;border-radius:3px;padding:3px 10px;font-size:12px}.week-table{border-collapse:collapse;background:#fff;width:100%;font-size:13px}.week-table th,.week-table td{vertical-align:top;border:1px solid #ddd;padding:4px}.week-table th{text-align:center;background:#eef2f6;font-weight:600}.week-table th.weekend{color:#b33}.week-table th.today{color:#fff;background:#1f3648}.week-table td.day-cell.today{background:#eaf2fb;box-shadow:inset 0 0 0 2px #1f3648}.employee-col{text-align:left;background:#f8f9fb;min-width:160px;font-weight:600}.paste-week-btn{cursor:pointer;background:#fff3cd;border:1px solid #e0c05a;border-radius:3px;margin-top:4px;padding:2px 6px;font-size:11px;font-weight:400;display:block}.day-cell{cursor:pointer;min-width:120px;height:60px}.entry-badge{border-radius:3px;align-items:center;gap:4px;margin-bottom:2px;padding:2px 5px;font-size:12px;display:flex}.entry-badge-text{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.entry-copy-btn{opacity:.55;cursor:copy;flex-shrink:0;font-size:12px}.entry-copy-btn:hover{opacity:1}.year-scroll{background:#fff;border:1px solid #ddd;max-height:75vh;overflow:auto}.year-table{table-layout:fixed;border-collapse:collapse;font-size:11px}.year-table th,.year-table td{text-align:center;border:1px solid #e3e3e3;padding:0}.month-header{z-index:2;height:20px;font-weight:600;position:sticky;top:0;padding:3px 0!important}.month-header.month-0{background:#dfe7ef}.month-header.month-1{background:#c8d6e5}.week-header{color:#6b5b1e;z-index:2;background:#f3f0e6;height:18px;font-size:10px;font-weight:600;position:sticky;top:20px}.day-num{z-index:2;background:#eef2f6;width:19px;min-width:19px;font-size:9px;position:sticky;top:38px}.day-num.weekend{color:#b33}.day-num.today{color:#fff;background:#1f3648;border-radius:3px;font-weight:700}.sticky-col{z-index:3;background:#f8f9fb;position:sticky;left:0}.employee-role{color:#6a7480;font-size:11px;font-weight:400}.employee-role-inline{color:#6a7480;font-size:10px;font-weight:400}.year-table .employee-col{white-space:nowrap;text-overflow:ellipsis;min-width:230px;max-width:230px;overflow:hidden;padding:3px 6px!important}.year-cell{cursor:pointer;min-width:0;max-width:0;height:22px;overflow:hidden}.year-cell:hover{outline-offset:-2px;outline:2px solid #1f3648}.year-cell-label{white-space:nowrap;text-overflow:ellipsis;text-align:left;pointer-events:none;width:100%;padding:0 2px;font-size:9px;line-height:22px;display:block;overflow:hidden}.popup-backdrop{z-index:10;background:#0000004d;justify-content:center;align-items:flex-start;padding-top:15vh;display:flex;position:fixed;inset:0}.popup{background:#fff;border-radius:6px;min-width:320px;max-width:90vw;max-height:70vh;overflow:auto;box-shadow:0 8px 24px #00000040}.popup-header{background:#eef2f6;border-bottom:1px solid #eee;justify-content:space-between;align-items:center;padding:10px 14px;display:flex}.popup-close{cursor:pointer;background:0 0;border:none;font-size:20px;line-height:1}.popup-entries{margin:0;padding:8px 14px;list-style:none}.popup-entries li{background:#f9f9f9;border-left:4px solid #ccc;margin-bottom:8px;padding:6px 10px}.popup-entry-time{color:#555;font-size:12px;font-weight:600}.popup-entry-location{color:#666;font-size:12px}.popup-entry-actions{gap:8px;margin-top:4px;display:flex}.popup-entry-actions button{cursor:pointer;background:#fff;border:1px solid #ccc;border-radius:3px;padding:2px 8px;font-size:12px}.popup-footer{border-top:1px solid #eee;padding:8px 14px}.popup-footer button{cursor:pointer;background:#fafafa;border:1px dashed #999;border-radius:4px;width:100%;padding:6px}.entry-form-body{flex-direction:column;gap:10px;padding:12px 14px;display:flex}.entry-form-body label{color:#444;flex-direction:column;gap:4px;font-size:13px;display:flex}.entry-form-body input,.entry-form-body select{border:1px solid #ccc;border-radius:4px;padding:5px 7px;font-size:14px}.entry-form-body .checkbox-label{flex-direction:row;align-items:center;gap:6px}.time-row{gap:12px;display:flex}.time-row label{flex:1}.form-error{color:#c0392b;margin:0;font-size:13px}.entry-form-actions{border-top:1px solid #eee;align-items:center;gap:8px;padding:10px 14px;display:flex}.entry-form-actions .spacer{flex:1}.entry-form-actions button{cursor:pointer;background:#fff;border:1px solid #ccc;border-radius:4px;padding:6px 14px}.btn-primary{color:#fff!important;background:#1f3648!important;border-color:#1f3648!important}.btn-danger{color:#c0392b!important;border-color:#c0392b!important}.tab-logout{cursor:pointer;background:0 0;border:1px solid #ffffff59;font-family:inherit}.login-page{background:#1f3648;justify-content:center;align-items:center;min-height:100vh;padding:16px;display:flex}.login-box{text-align:center;background:#fff;border-radius:8px;flex-direction:column;align-items:stretch;gap:12px;width:100%;max-width:340px;padding:28px 32px;display:flex;box-shadow:0 8px 30px #00000059}.login-logo{box-sizing:content-box;background:#1f3648;border-radius:6px;align-self:center;width:auto;height:64px;padding:10px 18px}.login-box h2{color:#1f3648;margin:0;font-size:18px}.login-box label{color:#444;font-size:13px}.login-box input{text-align:center;border:1px solid #ccc;border-radius:4px;padding:8px;font-size:16px}.login-box button{cursor:pointer;border:1px solid #1f3648;border-radius:4px;padding:9px;font-size:15px}.login-box button:disabled{opacity:.5;cursor:default}
