@charset "UTF-8";
.dashboard-container {
  margin: 0 auto;
}

.dashboard-card {
  width: 100%;
  background: #fff;
  padding: 18px 22px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  cursor: pointer;
  border: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
}
.dashboard-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.13) !important;
}

.dashboard-icon {
  font-size: 1.4em;
}

.dashboard-title {
  color: #333;
  font-weight: 600;
}

.dashboard-chevron {
  margin-left: auto;
  color: #3e6fb4;
}

.dashboard-container-action-filter {
  margin-bottom: 28px;
}

.dashboard-buttons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 15px;
}
@media (max-width: 600px) {
  .dashboard-buttons-grid {
    gap: 8px;
  }
  .dashboard-buttons-grid .dashboard-card {
    padding: 12px 8px;
    gap: 6px;
  }
  .dashboard-buttons-grid .dashboard-card .dashboard-title {
    font-size: 0.75em;
  }
  .dashboard-buttons-grid .dashboard-card .dashboard-icon {
    font-size: 1.1em;
  }
  .dashboard-buttons-grid .dashboard-card .dashboard-chevron {
    display: none;
  }
}

.dashboard-grid-item {
  /* Empty placeholder for grid items */
}

.dashboard-menu {
  display: none;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 8px;
  margin-top: 10px;
  width: 100%;
  box-sizing: border-box;
}

.dashboard-menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
}

.dash-action-item {
  background: #f8f9fb;
  border: none;
  border-radius: 10px;
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  text-align: left;
  transition: transform 0.2s, box-shadow 0.2s;
}
.dash-action-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}
.dash-action-item span:first-child {
  font-size: 1.6em;
}

.dash-action-title {
  font-weight: 600;
  color: #333;
}

.dash-action-desc {
  font-size: 0.84em;
  color: #888;
}

.filter-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.filter-row:last-child {
  display: flex;
  align-items: center;
  margin-bottom: 0;
}
.filter-row:last-child button {
  margin-left: auto;
}

.filter-label {
  font-size: 0.85em;
  color: #666;
  font-weight: 600;
}

.filter-select {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.95em;
  background: #fff;
  cursor: pointer;
}

.filter-clear-btn {
  margin-left: auto;
  padding: 8px 16px;
  background: #e74c3c;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85em;
}

.tl-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (max-width: 768px) {
  .tl-grid {
    margin-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }
}

.work-tabs-mobile {
  display: flex;
  border-bottom: 2px solid #eee;
  margin-bottom: 12px;
}

.work-tab {
  flex: 1;
  padding: 8px 12px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 0.9em;
  font-weight: 600;
  color: #aaa;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}
.work-tab.is-active {
  color: #3e6fb4;
  border-bottom-color: #3e6fb4;
}

.tl-grid .work-tab-content {
  display: none;
}

.tl-grid .work-tab-content.is-active {
  display: block;
}

.tl-section {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.tl-section-header {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid;
}
.tl-section-header.today {
  border-color: #3e6fb4;
}
.tl-section-header.latest {
  border-color: #95a5a6;
}
.tl-section-header.upcoming {
  border-color: #27ae60;
}

.tl-section-icon {
  font-size: 1.1em;
}

.tl-section-title {
  color: #333;
  font-weight: 600;
}

.tl-section-label {
  font-size: 0.8em;
  color: #999;
  margin-left: auto;
}

.tl-empty-message {
  padding: 14px;
  color: #aaa;
  text-align: center;
  font-size: 0.9em;
}

.tl-row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid #f0f0f0;
}
.tl-row:last-child {
  border-bottom: none !important;
}

.tl-row-content {
  flex: 1;
  min-width: 0;
}

.tl-row-user {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.tl-row-user-name {
  font-size: 0.9em;
  color: #3e6fb4;
  font-weight: 600;
}
.tl-row-user-name.latest-admin {
  font-size: 0.9em;
}

.tl-row-project {
  font-weight: 700;
  color: #1a1a1a;
  font-size: 1.1em;
  line-height: 1.5;
  word-break: break-word;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.tl-row-project span {
  color: #999;
  flex-shrink: 0;
  font-size: 0.95em;
}
.tl-row-project a {
  color: #3e6fb4;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
}
.tl-row-project a:hover {
  text-decoration: underline;
}
.tl-row-project .tl-icon-btn, .tl-row-project .tl-project-info-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  color: #3e6fb4;
  text-decoration: none !important;
  transition: all 0.2s ease;
  vertical-align: middle;
  flex-shrink: 0;
  border: none;
}
.tl-row-project .tl-icon-btn i, .tl-row-project .tl-project-info-link i {
  font-size: 1.4em;
}
.tl-row-project .tl-icon-btn:hover, .tl-row-project .tl-project-info-link:hover {
  background: rgba(102, 126, 234, 0.15);
  color: #5568d3;
}
.tl-row-project.latest {
  font-size: 1.1em;
}

.tl-row-note {
  font-size: 0.82em;
  color: #888;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tl-row-date {
  font-size: 1em;
  color: #464646;
  white-space: nowrap;
  width: 160px;
  flex-shrink: 0;
  text-transform: capitalize;
  font-weight: bold;
}

@media (min-width: 500px) {
  .tl-row-date {
    font-size: 0.85em;
  }
}
.tl-row-time-range {
  font-size: 0.82em;
  color: #888;
  white-space: nowrap;
}

.tl-row-time-range-today {
  font-size: 0.85em;
  color: #666;
  white-space: nowrap;
}

.tl-time-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 1em;
  color: #2c92ff;
  white-space: nowrap;
  padding: 0 12px;
  height: 50px;
  background: #f5f5f5;
  border-radius: 6px;
}
.tl-time-label i {
  font-size: 1.1em;
  color: #999;
}

.tl-row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
  margin-top: 2px;
}

.duration-badge {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  flex-shrink: 0;
  min-width: 50px;
}
.duration-badge.with-plan {
  font-size: 0.85em;
  flex-direction: column;
  line-height: 1.2;
}
.duration-badge.with-plan .badge-actual {
  font-size: 0.9em;
}
.duration-badge.with-plan .badge-plan {
  font-size: 0.75em;
  opacity: 0.8;
}
.duration-badge.actual-only {
  font-size: 0.9em;
}
.duration-badge.plan-only {
  font-size: 0.9em;
  background: #3e6fb4;
  color: #fff;
}
.duration-badge.zero, .duration-badge.empty {
  background: #ffcccc;
  color: #333;
}
.duration-badge.logged {
  background: #ccffcc;
  color: #333;
}

.user-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #fff;
  font-size: 0.7em;
  font-weight: 600;
  flex-shrink: 0;
}

.btn-edit-time {
  background: #3e6fb4;
  border: none;
  cursor: pointer;
  color: #fff;
  font-size: 0.85em;
  padding: 0 12px;
  border-radius: 6px;
  line-height: 1;
  height: 50px;
  transition: opacity 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.btn-edit-time i {
  font-size: 1.2em;
}
.btn-edit-time:hover {
  opacity: 0.85;
}

.btn-work {
  color: #fff;
  border: none;
  padding: 0 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85em;
  white-space: nowrap;
  height: 50px;
  transition: opacity 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.btn-work i {
  font-size: 1.2em;
}
.btn-work:hover {
  opacity: 0.85;
}
.btn-work.btn-start {
  background: #27ae60;
}
.btn-work.btn-stop {
  background: #e74c3c;
}
.btn-work.btn-continue {
  background: #3e6fb4;
}

.button-link-blue {
  background: #3e6fb4;
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95em;
  transition: opacity 0.2s ease;
}
.button-link-blue:hover {
  opacity: 0.9;
}
.button-link-blue:disabled {
  opacity: 0.6;
}

.button-link-grey {
  background: #95a5a6;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95em;
  transition: opacity 0.2s ease;
}
.button-link-grey:hover {
  opacity: 0.9;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  overflow-y: auto;
}
.modal-overlay.dark {
  background: rgba(0, 0, 0, 0.7);
}
.modal-overlay.darker {
  background: rgba(0, 0, 0, 0.6);
}
.modal-overlay.loading {
  background: rgba(0, 0, 0, 0.9);
  z-index: 20000;
  display: none;
  justify-content: center;
  align-items: center;
}

.modal-content {
  position: relative;
  max-width: 600px;
  margin: 40px auto;
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #f5f5f5;
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  transition: background 0.2s;
}
.modal-close-btn:hover {
  background: #e0e0e0;
}

.modal-title {
  margin: 0 0 20px 0;
  color: #333;
  font-size: 1.1em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.modal-title i {
  font-size: 1.2em;
  color: #3e6fb4;
}

.modal-form-group {
  margin-bottom: 14px;
}

.modal-label {
  display: block;
  font-size: 0.85em;
  color: #666;
  margin-bottom: 4px;
  font-weight: 600;
}

.modal-input,
.modal-select {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1em;
  box-sizing: border-box;
  background: #fff;
}

.modal-select {
  cursor: pointer;
}

.modal-button-group {
  display: flex;
  gap: 10px;
}

.modal-save-btn {
  flex: 1;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95em;
}

.modal-cancel-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95em;
}

.modal-status {
  margin-top: 12px;
  min-height: 20px;
  font-size: 0.85em;
}

.edit-time-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  display: none;
  justify-content: center;
  align-items: center;
}

.edit-time-modal-content {
  background: #fff;
  border-radius: 14px;
  padding: 28px 30px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  position: relative;
}

.edit-time-close-btn {
  position: absolute;
  top: 12px;
  right: 14px;
  background: #f5f5f5;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  transition: background 0.2s;
}
.edit-time-close-btn:hover {
  background: #e0e0e0;
}

.scan-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  overflow-y: auto;
  display: none;
}
.scan-modal.is-open {
  display: block;
}

.scan-modal-content {
  position: relative;
  max-width: 600px;
  margin: 40px auto;
  background: #fff;
  border-radius: 15px;
  padding: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.scan-modal-title {
  margin: 0 0 20px 0;
  color: #333;
}

.scan-choice-buttons {
  margin-bottom: 20px;
}

.scan-choice-btn {
  font-size: 16px;
}
.scan-choice-btn:not(:last-child) {
  margin-right: 10px;
}

.scan-container {
  display: none;
  margin-bottom: 15px;
}

.scan-video-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 15px;
}
.scan-video-container.receipt {
  aspect-ratio: 0.7/1;
}
.scan-video-container.card {
  aspect-ratio: 1.6/1;
}
.scan-video-container video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.scan-video-container canvas {
  display: none;
}

.scan-video-buttons {
  margin-top: 15px;
}

.scan-video-btn:not(:last-child) {
  margin-right: 10px;
}

.scan-upload-input {
  padding: 10px;
  width: 100%;
  border: 2px dashed #ddd;
  border-radius: 8px;
  font-size: 16px;
}

.scan-preview-container {
  display: none;
  margin-bottom: 15px;
}

.scan-preview-image {
  position: relative;
  width: 100%;
  max-width: 100%;
  background: #f0f0f0;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 15px;
}
.scan-preview-image img {
  width: 100%;
  display: block;
}

.scan-preview-buttons {
  margin-top: 15px;
}

.scan-preview-btn:not(:last-child) {
  margin-right: 10px;
}
.scan-preview-btn#rcptScanBtn, .scan-preview-btn#cardScanBtn {
  padding: 12px 32px !important;
}

.scan-status {
  margin-top: 15px;
  text-align: center;
  min-height: 30px;
}
.scan-status .error-message {
  color: red;
  padding: 15px;
  background: #fee;
  border-radius: 8px;
}

.loading-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 20000;
  justify-content: center;
  align-items: center;
}

.loading-content {
  text-align: center;
  color: #fff;
}

.loading-spinner {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
}

.loading-title {
  margin: 0 0 10px 0;
  font-size: 1.8em;
}

.loading-message {
  margin: 0;
  font-size: 1.1em;
  opacity: 0.8;
}

@media (max-width: 700px) {
  .tl-grid {
    grid-template-columns: 1fr !important;
  }
  .tl-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px;
  }
  .tl-row-content {
    order: 1;
  }
  .tl-row-actions {
    order: 2;
    flex-wrap: wrap;
    gap: 10px;
  }
  .tl-row-date {
    order: 0;
    margin-bottom: 4px;
  }
  .tl-row-project {
    font-size: 1.15em;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.5;
  }
  .btn-work,
  .btn-edit-time,
  .tl-time-label {
    flex: 1;
    min-width: 120px;
    min-height: 44px;
  }
  .duration-badge {
    min-width: 44px;
    width: 44px;
    height: 44px;
  }
}
.address-search-container {
  position: relative;
  width: 100%;
}

.address-search-input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  font-size: 0.9em;
  font-family: inherit;
}
.address-search-input:focus {
  outline: none;
  border-color: #3e6fb4;
  box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

.address-search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #d0d0d0;
  border-top: none;
  border-radius: 0 0 6px 6px;
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.address-search-item {
  padding: 10px 12px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  font-size: 0.85em;
  line-height: 0.7em;
  transition: background 0.15s ease;
}
.address-search-item:hover {
  background: #f5f5f5;
}
.address-search-item:last-child {
  border-bottom: none;
}
.address-search-item strong {
  display: block;
  color: #333;
  margin-bottom: 4px;
}

@media (max-width: 600px) {
  .dashboard-buttons-grid {
    gap: 8px !important;
  }
}
.project-state-tabs {
  display: flex;
  gap: 4px;
  padding: 10px 16px 0;
  flex-wrap: wrap;
}
.project-state-tabs .state-tab {
  padding: 6px 14px;
  border: 1px solid #d0d5dd;
  background: #fff;
  color: #344054;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.project-state-tabs .state-tab:hover {
  background: #f2f4f7;
}
.project-state-tabs .state-tab.active {
  background: #1570ef;
  color: #fff;
  border-color: #1570ef;
  font-weight: 600;
}

/* ── Dashboard Calendar & Work Tabs ─────────────────────────────── */
.tl-cal-btn {
  background: none;
  border: 1px solid rgba(102, 126, 234, 0.35);
  border-radius: 6px;
  padding: 5px 9px;
  cursor: pointer;
  color: #667eea;
  font-size: 1.05em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}
.tl-cal-btn:hover {
  background: #667eea;
  color: #fff;
}

.tl-row-countdown {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85em;
  color: #667;
}

.work-tab-unconfirmed {
  color: #e67e22;
}

.work-tab-unconfirmed.is-active {
  border-color: #e67e22;
  color: #e67e22;
}

.unconfirmed-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e67e22;
  color: #fff;
  border-radius: 10px;
  font-size: 0.72em;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-left: 4px;
  vertical-align: middle;
}
.unconfirmed-badge.badge-today {
  background: #3e6fb4;
}
.unconfirmed-badge.badge-upcoming {
  background: #27ae60;
}
.unconfirmed-badge.badge-latest {
  background: #95a5a6;
}

.tl-section-header.unconfirmed {
  background: linear-gradient(135deg, #f39c12, #e67e22);
}

.latest-work-sentinel {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.latest-work-spinner {
  width: 22px;
  height: 22px;
  border: 3px solid #e0e0e0;
  border-top-color: #667eea;
  border-radius: 50%;
  animation: latestSpin 0.8s linear infinite;
}

@keyframes latestSpin {
  to {
    transform: rotate(360deg);
  }
}
/* Calendar modal overlay */
.cal-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 99999;
  align-items: flex-start;
  justify-content: center;
  padding: 20px 10px;
  overflow-y: auto;
}
.cal-modal.is-open {
  display: flex;
}

.cal-modal-content {
  background: #fff;
  border-radius: 12px;
  padding: 0;
  width: 100%;
  max-width: 900px;
  position: relative;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.cal-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px 14px;
  border-bottom: 1px solid #e8eaf0;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1;
}

.cal-month-title {
  font-size: 1.1em;
  font-weight: 600;
  color: #202124;
  margin: 0;
  flex: 1;
  text-transform: capitalize;
  letter-spacing: -0.01em;
}

.cal-nav-btn {
  background: none;
  border: 1px solid #dadce0;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 1.1em;
  color: #3c4043;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
  transition: background 0.12s;
}
.cal-nav-btn:hover {
  background: #f1f3f4;
}

.cal-day-headers {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-bottom: 1px solid #e8eaf0;
}

.cal-day-header {
  text-align: center;
  font-size: 0.7em;
  font-weight: 500;
  color: #70757a;
  padding: 8px 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.cal-day-header.cal-week-weekend {
  background: #e6e7eb;
}

.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.cal-day-cell {
  min-height: 96px;
  padding: 4px 4px 3px;
  border-right: 1px solid #e8eaf0;
  border-bottom: 1px solid #e8eaf0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  cursor: default;
  overflow: hidden;
  background: #fff;
  transition: background 0.08s;
}
.cal-day-cell:nth-child(7n) {
  border-right: none;
}
.cal-day-cell:hover {
  background: #f8f9ff;
}
.cal-day-cell.cal-week-weekend {
  background: #f0f1f4;
}
.cal-day-cell.cal-week-weekend:hover {
  background: #e8eaef;
}

.cal-day-empty {
  background: #fafafa;
  cursor: default;
}
.cal-day-empty:hover {
  background: #fafafa;
}

.cal-day-cell.cal-day-empty.cal-week-weekend {
  background: #f0f1f4;
}
.cal-day-cell.cal-day-empty.cal-week-weekend:hover {
  background: #f0f1f4;
}

.cal-day-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-size: 0.78em;
  font-weight: 400;
  color: #3c4043;
  border-radius: 50%;
  flex-shrink: 0;
  line-height: 1;
}

.cal-today .cal-day-num {
  background: #667eea;
  color: #fff;
  font-weight: 600;
}

.cal-event-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  border-radius: 4px;
  padding: 2px 5px 2px 4px;
  font-size: 0.71em;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  cursor: default;
  color: #fff;
  min-width: 0;
}

.cal-event-edit {
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.cal-event-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
}

.cal-event-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}

.cal-event-dur {
  font-weight: 400;
  opacity: 0.85;
  flex-shrink: 0;
  font-size: 0.95em;
}

.cal-event-user {
  font-size: 0.85em;
  font-weight: 600;
  opacity: 0.9;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 3px;
  padding: 0 3px;
}

.cal-more {
  font-size: 0.68em;
  color: #5f6368;
  font-weight: 500;
  cursor: default;
  padding: 0 4px;
  line-height: 1.4;
}

.cal-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  color: #aaa;
  font-size: 0.9em;
  grid-column: 1/-1;
}

.cal-view-toggle {
  display: flex;
  gap: 2px;
  background: #f1f3f4;
  border-radius: 8px;
  padding: 2px;
  flex-shrink: 0;
}

.cal-view-btn {
  border: none;
  background: transparent;
  border-radius: 6px;
  padding: 4px 11px;
  cursor: pointer;
  font-size: 0.78em;
  font-weight: 500;
  color: #5f6368;
  transition: background 0.12s, color 0.12s;
  line-height: 1.5;
}
.cal-view-btn.is-active {
  background: #fff;
  color: #202124;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

/* Week view */
.cal-week-grid {
  overflow-x: auto;
}

.cal-week-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  min-width: 500px;
}

.cal-week-col {
  border-right: 1px solid #e8eaf0;
  min-height: 160px;
  display: flex;
  flex-direction: column;
}
.cal-week-col:last-child {
  border-right: none;
}
.cal-week-col.cal-week-weekend {
  background: #f0f1f4;
}
.cal-week-col.cal-week-weekend .cal-week-col-header {
  background: #e6e7eb;
}

.cal-week-col-header {
  text-align: center;
  padding: 7px 4px 5px;
  border-bottom: 1px solid #e8eaf0;
  background: #fafafa;
}

.cal-week-day-name {
  font-size: 0.68em;
  font-weight: 500;
  color: #70757a;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cal-week-day-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 0.88em;
  font-weight: 400;
  color: #3c4043;
  margin-top: 2px;
}

.cal-week-today .cal-week-day-num {
  background: #667eea;
  color: #fff;
  font-weight: 600;
}

.cal-week-col-events {
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.cal-week-empty-hint {
  font-size: 0.7em;
  color: #ccc;
  text-align: center;
  padding: 10px 4px;
}

.cal-week-card {
  border-radius: 6px;
  padding: 5px 7px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: filter 0.12s;
}
.cal-week-card:hover {
  filter: brightness(1.1);
}

.cal-week-card-client {
  font-size: 0.68em;
  font-weight: 400;
  opacity: 0.85;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cal-week-card-project {
  font-size: 0.75em;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cal-week-card-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 1px;
}

.cal-week-card-dur {
  font-size: 0.7em;
  font-weight: 500;
  background: rgba(0, 0, 0, 0.18);
  border-radius: 3px;
  padding: 1px 4px;
}

.cal-week-card-user {
  font-size: 0.68em;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 3px;
  padding: 1px 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 70px;
}

.cal-week-card-note {
  font-size: 0.68em;
  opacity: 0.85;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}/*# sourceMappingURL=apigoat.css.map */