/* Job Calendar (b155). Look copied from the owner's own design (INTPORT_7 admin-job-calendar.html + styles.css), Nov 17 2026. */
.job-page {
  min-height: 100vh;
  background: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  color: #202124;
}
.job-secondary-button,
.job-primary-button {
  height: 44px;
  padding: 0 24px;
  border-radius: 22px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.job-secondary-button {
  border: 1px solid #dadce0;
  background: #ffffff;
  color: #0b57d0;
}
.admin-calendar-page { background:#f3f6fb; }
.calendar-container { width:min(1480px,96vw); margin:28px auto 70px; padding:0; align-items:stretch; }
.calendar-title-row { display:flex; justify-content:space-between; gap:18px; align-items:flex-start; margin-bottom:20px; }
.calendar-actions { display:flex; gap:10px; flex-wrap:wrap; }
.calendar-kpi-row { display:grid; grid-template-columns:repeat(7,minmax(120px,1fr)); gap:10px; margin:18px 0; }
.calendar-kpi { border-radius:12px; padding:13px 14px; background:#fff; border-left:7px solid #9aa0a6; box-shadow:0 1px 3px rgba(60,64,67,.10); }
.calendar-kpi span { display:block; font-size:12px; color:#5f6368; margin-bottom:5px; }
.calendar-kpi strong { font-size:24px; }
.kpi-red{border-color:#d93025}
.kpi-orange{border-color:#f29900}
.kpi-blue{border-color:#0b57d0}
.kpi-purple{border-color:#7e57c2}
.kpi-brown{border-color:#795548}
.kpi-teal{border-color:#0097a7}
.kpi-green{border-color:#188038}
.calendar-filter-card, .calendar-board, .job-list-panel { border:1px solid #dfe3e8; border-radius:14px; background:#fff; box-shadow:0 1px 3px rgba(60,64,67,.10); margin-bottom:18px; }
.calendar-filter-card { padding:18px; }
.filter-title { font-weight:700; color:#0b57d0; margin-bottom:12px; }
.filter-buttons { display:flex; flex-wrap:wrap; gap:9px; margin-bottom:14px; }
.filter-chip { border:1px solid #d6dbe1; background:#fff; border-radius:999px; padding:8px 12px; cursor:pointer; font-weight:600; }
.filter-chip.active { background:#0b57d0; color:#fff; border-color:#0b57d0; }
.calendar-sort-row { display:flex; align-items:center; gap:14px; flex-wrap:wrap; color:#3c4043; }
.calendar-sort-row label { display:flex; align-items:center; gap:8px; font-weight:600; }
.calendar-sort-row select, .calendar-sort-row input { border:1px solid #9aa0a6; border-radius:8px; padding:9px 11px; font-size:15px; background:#fff; }
.sort-icon { width:38px; height:38px; border-radius:50%; border:1px solid #dadce0; background:#fff; cursor:pointer; font-size:20px; color:#0b57d0; }
.calendar-board { overflow:hidden; }
.calendar-board-header { display:flex; justify-content:space-between; gap:16px; align-items:center; padding:14px 18px; background:#07111f; color:#fff; }
.calendar-board-header span { color:#cbd5e1; font-size:14px; }
.calendar-week-labels, .calendar-month-grid { display:grid; grid-template-columns:repeat(7,1fr); }
.calendar-week-labels span { background:#c4bd8f; color:#111827; font-weight:700; text-align:center; padding:8px; border-right:1px solid #fff; }
.calendar-day { min-height:122px; border-right:1px solid #e5e7eb; border-bottom:1px solid #e5e7eb; padding:8px; background:#fff; }
.calendar-day b { display:block; margin-bottom:7px; color:#0f172a; }
.calendar-day.weekend { background:#f8fafc; }
.calendar-day.muted { background:#f1f5f9; color:#94a3b8; }
.job-pill { border-radius:7px; padding:8px 9px; color:#fff; font-size:12px; line-height:1.35; margin-bottom:6px; box-shadow:0 1px 2px rgba(15,23,42,.18); }
.job-pill em { font-style:normal; opacity:.9; }
.job-list-panel { padding-bottom:12px; }
.calendar-job-table { min-width:1050px; margin-top:0; }
.calendar-job-table th { background:#07111f; color:#fff; white-space:nowrap; }
.calendar-job-table td { vertical-align:middle; }
.status-badge { display:inline-flex; border-radius:999px; padding:6px 10px; font-size:12px; font-weight:700; white-space:nowrap; }
.calendar-job-table button { border:1px solid #dadce0; border-radius:18px; background:#fff; color:#0b57d0; font-weight:700; padding:7px 10px; cursor:pointer; }
.calendar-job-table button:hover { border-color:#0b57d0; }
.calendar-day { min-height:190px; display:flex; flex-direction:column; gap:6px; }
a.job-pill { display:block; text-decoration:none; cursor:pointer; transition:transform .12s ease, box-shadow .12s ease; }
a.job-pill:hover { transform:translateY(-1px); box-shadow:0 4px 10px rgba(15,23,42,.22); }
.job-pill strong { display:block; font-size:12px; line-height:1.25; }
.job-pill em { display:block; margin-top:2px; }
.kpi-gray{border-color:#5f6368}
.active-kpis{grid-template-columns:repeat(7,minmax(120px,1fr))}
.completed-kpis{grid-template-columns:minmax(180px,320px)}
.calendar-month-controls .small-button{padding:8px 12px;min-height:38px;display:inline-flex;align-items:center;text-decoration:none}
.calendar-month-controls input[type="month"]{min-width:160px}
.calendar-actions a.job-primary-button,.calendar-actions a.job-secondary-button,.inline-link-row a.job-secondary-button{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
.calendar-board-header strong{white-space:nowrap}
.assigned-job-list{display:grid;gap:12px;margin-top:14px}
.report-kpi-grid{display:grid;grid-template-columns:repeat(7,minmax(120px,1fr));gap:10px;margin:18px 0}
.kpi-teal{border-color:#0097a7}
.kpi-purple{border-color:#7e57c2}
.kpi-orange{border-color:#f29900}
.assigned-job-list {
  display: grid;
  gap: 10px;
}
.flag-stripe-button,
.action-button,
.simple-blue-choice,
.simple-main-button,
.job-primary-button,
.job-secondary-button,
.payment-button,
.next-button,
.login-button,
.quote-button,
.admin-action-button,
.calendar-action,
.dashboard-action,
.staff-action,
button[type="submit"],
input[type="submit"] {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 48px !important;
  padding: 0 26px !important;
  border-radius: 10px !important;
  border: 1px solid #d7dce4 !important;
  background: #ffffff !important;
  color: #0647b8 !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  box-shadow: 0 2px 6px rgba(60,64,67,.10) !important;
  overflow: hidden !important;
}
.flag-stripe-button::before,
.flag-stripe-button::after,
.action-button::before,
.action-button::after,
.simple-blue-choice::before,
.simple-blue-choice::after,
.simple-main-button::before,
.simple-main-button::after,
.job-primary-button::before,
.job-primary-button::after,
.job-secondary-button::before,
.job-secondary-button::after,
.payment-button::before,
.payment-button::after,
.next-button::before,
.next-button::after,
.login-button::before,
.login-button::after,
.quote-button::before,
.quote-button::after,
.admin-action-button::before,
.admin-action-button::after,
.calendar-action::before,
.calendar-action::after,
.dashboard-action::before,
.dashboard-action::after,
.staff-action::before,
.staff-action::after,
button[type="submit"]::before,
button[type="submit"]::after,
input[type="submit"]::before,
input[type="submit"]::after {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  height: 5px;
  background: linear-gradient(90deg, rgba(0,83,209,0), #0057d9 14%, #0057d9 86%, rgba(0,83,209,0));
  border-radius: 999px;
  pointer-events: none;
}
.flag-stripe-button::before,
.action-button::before,
.simple-blue-choice::before,
.simple-main-button::before,
.job-primary-button::before,
.job-secondary-button::before,
.payment-button::before,
.next-button::before,
.login-button::before,
.quote-button::before,
.admin-action-button::before,
.calendar-action::before,
.dashboard-action::before,
.staff-action::before,
button[type="submit"]::before,
input[type="submit"]::before {
  top: 7px;
}
.flag-stripe-button::after,
.action-button::after,
.simple-blue-choice::after,
.simple-main-button::after,
.job-primary-button::after,
.job-secondary-button::after,
.payment-button::after,
.next-button::after,
.login-button::after,
.quote-button::after,
.admin-action-button::after,
.calendar-action::after,
.dashboard-action::after,
.staff-action::after,
button[type="submit"]::after,
input[type="submit"]::after {
  bottom: 7px;
}
.flag-stripe-button:hover,
.action-button:hover,
.simple-blue-choice:hover,
.simple-main-button:hover,
.job-primary-button:hover,
.job-secondary-button:hover,
.payment-button:hover,
.next-button:hover,
.login-button:hover,
.quote-button:hover,
.admin-action-button:hover,
.calendar-action:hover,
.dashboard-action:hover,
.staff-action:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
  background: #ffffff !important;
  border-color: #b9c7dc !important;
  box-shadow: 0 3px 9px rgba(60,64,67,.15) !important;
}
.action-button,
.simple-blue-choice,
.simple-main-button,
.job-primary-button,
.job-secondary-button,
.payment-button,
.next-button,
.login-button,
.quote-button,
.admin-action-button,
.calendar-action,
.dashboard-action,
.staff-action,
button[type="submit"],
input[type="submit"] {
  color: #0647b8 !important;
  background: #ffffff !important;
  border-color: #d7dce4 !important;
  font-weight: 500 !important;
}
a[href]:not(:has(img)),
button.link-like,
.icon-format,
.action-button,
.simple-blue-choice,
.simple-main-button,
.client-port-flag-button,
.job-primary-button,
.job-secondary-button,
.payment-button,
.next-button,
.login-button,
.quote-button,
.admin-action-button,
.calendar-action,
.dashboard-action,
.staff-action,
button[type="submit"],
input[type="submit"],
.client-dashboard-simple-header a,
.client-dashboard-simple-actions a,
.simple-top-nav a {
  min-height: 44px !important;
  height: 44px !important;
  padding: 0 22px !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  border-radius: 9px !important;
  line-height: 1 !important;
}
a[href]:not(:has(img))::before,
a[href]:not(:has(img))::after,
button.link-like::before,
button.link-like::after,
.icon-format::before,
.icon-format::after,
.action-button::before,
.action-button::after,
.simple-blue-choice::before,
.simple-blue-choice::after,
.simple-main-button::before,
.simple-main-button::after,
.client-port-flag-button::before,
.client-port-flag-button::after,
.job-primary-button::before,
.job-primary-button::after,
.job-secondary-button::before,
.job-secondary-button::after,
.payment-button::before,
.payment-button::after,
.next-button::before,
.next-button::after,
.login-button::before,
.login-button::after,
.quote-button::before,
.quote-button::after,
.admin-action-button::before,
.admin-action-button::after,
.calendar-action::before,
.calendar-action::after,
.dashboard-action::before,
.dashboard-action::after,
.staff-action::before,
.staff-action::after,
button[type="submit"]::before,
button[type="submit"]::after,
input[type="submit"]::before,
input[type="submit"]::after,
.client-dashboard-simple-header a::before,
.client-dashboard-simple-header a::after,
.client-dashboard-simple-actions a::before,
.client-dashboard-simple-actions a::after,
.simple-top-nav a::before,
.simple-top-nav a::after {
  height: 2.5px !important;
  top: auto;
  bottom: auto;
}
a[href]:not(:has(img))::before,
button.link-like::before,
.icon-format::before,
.action-button::before,
.simple-blue-choice::before,
.simple-main-button::before,
.client-port-flag-button::before,
.job-primary-button::before,
.job-secondary-button::before,
.payment-button::before,
.next-button::before,
.login-button::before,
.quote-button::before,
.admin-action-button::before,
.calendar-action::before,
.dashboard-action::before,
.staff-action::before,
button[type="submit"]::before,
input[type="submit"]::before,
.client-dashboard-simple-header a::before,
.client-dashboard-simple-actions a::before,
.simple-top-nav a::before {
  top: 7px !important;
}
a[href]:not(:has(img))::after,
button.link-like::after,
.icon-format::after,
.action-button::after,
.simple-blue-choice::after,
.simple-main-button::after,
.client-port-flag-button::after,
.job-primary-button::after,
.job-secondary-button::after,
.payment-button::after,
.next-button::after,
.login-button::after,
.quote-button::after,
.admin-action-button::after,
.calendar-action::after,
.dashboard-action::after,
.staff-action::after,
button[type="submit"]::after,
input[type="submit"]::after,
.client-dashboard-simple-header a::after,
.client-dashboard-simple-actions a::after,
.simple-top-nav a::after {
  bottom: 7px !important;
}
.icon-format,
.action-button,
.simple-blue-choice,
.client-port-flag-button,
.create-account-icon-format,
.client-dashboard-simple-actions a,
.dashboard-action,
.admin-action-button,
.calendar-action,
.staff-action,
.payment-button,
.next-button,
.login-button,
.quote-button,
.job-primary-button,
.job-secondary-button,
button[type="submit"],
input[type="submit"] {
  color: #000000 !important;
}
a[href]:not(:has(img)).icon-format,
a[href]:not(:has(img)).action-button,
a[href]:not(:has(img)).simple-blue-choice,
a[href]:not(:has(img)).client-port-flag-button,
a[href]:not(:has(img)).dashboard-action,
a[href]:not(:has(img)).admin-action-button,
a[href]:not(:has(img)).calendar-action,
a[href]:not(:has(img)).staff-action {
  color: #000000 !important;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid #e5e7eb;
  padding: 12px;
  text-align: left;
}

.admin-table th {
  background: #f8f9fa;
}

.admin-table input {
  width: 120px;
  padding: 9px 10px;
  border: 1px solid #9aa0a6;
  border-radius: 4px;
  font-size: 15px;
}

.table-scroll { overflow-x:auto; }
.calendar-job-table { min-width:1050px; margin-top:0; }
.calendar-job-table th { background:#07111f; color:#fff; white-space:nowrap; }
.calendar-job-table td { vertical-align:middle; }
.status-badge { display:inline-flex; border-radius:999px; padding:6px 10px; font-size:12px; font-weight:700; white-space:nowrap; }
.calendar-job-table button { border:1px solid #dadce0; border-radius:18px; background:#fff; color:#0b57d0; font-weight:700; padding:7px 10px; cursor:pointer; }
.calendar-job-table button:hover { border-color:#0b57d0; }
@media(max-width:1100px){.calendar-kpi-row{grid-template-columns:repeat(2,1fr)}.calendar-month-grid,.calendar-week-labels{min-width:900px}.calendar-board{overflow-x:auto}.calendar-title-row{flex-direction:column}.calendar-board-header{align-items:flex-start;flex-direction:column}}
@media(max-width:650px){.calendar-kpi-row{grid-template-columns:1fr}.calendar-sort-row label{width:100%;align-items:flex-start;flex-direction:column}.calendar-sort-row select,.calendar-sort-row input{width:100%}}

/* Version 6: calendar supports multiple jobs per day and links each job to a full admin detail page */
.calendar-day { min-height:190px; display:flex; flex-direction:column; gap:6px; }
.day-header { display:flex; justify-content:space-between; align-items:center; gap:8px; margin-bottom:2px; }
.day-header b { margin-bottom:0!important; }
.day-header span { font-size:12px; font-weight:700; color:#64748b; background:#eef2f7; border-radius:999px; padding:3px 7px; white-space:nowrap; }
a.job-pill { display:block; text-decoration:none; cursor:pointer; transition:transform .12s ease, box-shadow .12s ease; }
a.job-pill:hover { transform:translateY(-1px); box-shadow:0 4px 10px rgba(15,23,42,.22); }
.job-pill strong { display:block; font-size:12px; line-height:1.25; }
.job-pill em { display:block; margin-top:2px; }
.table-action { display:inline-block; border:1px solid #dadce0; border-radius:18px; background:#fff; color:#0b57d0; font-weight:700; padding:7px 10px; text-decoration:none; }
.table-action:hover { border-color:#0b57d0; background:#eef4ff; }


    /* Calendar card readability + status color coding */
    .admin-calendar-page .calendar-day {
      overflow: visible !important;
    }

    .admin-calendar-page .job-pill {
      box-sizing: border-box !important;
      display: flex !important;
      flex-direction: column !important;
      align-items: stretch !important;
      justify-content: flex-start !important;
      gap: 2px !important;
      width: 100% !important;
      height: auto !important;
      min-height: 54px !important;
      max-height: none !important;
      margin: 5px 0 !important;
      padding: 7px 9px !important;
      overflow: visible !important;
      white-space: normal !important;
      text-overflow: clip !important;
      line-height: 1.2 !important;
      border-radius: 8px !important;
      text-decoration: none !important;
    }

    .admin-calendar-page .job-pill strong,
    .admin-calendar-page .job-pill em {
      display: block !important;
      width: 100% !important;
      height: auto !important;
      max-height: none !important;
      margin: 0 !important;
      overflow: visible !important;
      white-space: normal !important;
      text-overflow: clip !important;
      word-break: break-word !important;
      line-height: 1.2 !important;
    }

    .admin-calendar-page .job-pill strong {
      font-size: 12px !important;
      font-style: normal !important;
      font-weight: 700 !important;
    }

    .admin-calendar-page .job-pill em {
      font-size: 12px !important;
      font-style: normal !important;
      font-weight: 500 !important;
    }

    /* Status colors: job cards */
    .admin-calendar-page .job-pill.status-needs {
      background: #e7352b !important;
      border: 1px solid #c9251d !important;
      color: #fff !important;
    }
    .admin-calendar-page .job-pill.status-partial {
      background: #f39a00 !important;
      border: 1px solid #d98200 !important;
      color: #111 !important;
    }
    .admin-calendar-page .job-pill.status-covered {
      background: #155bd7 !important;
      border: 1px solid #0f49b2 !important;
      color: #fff !important;
    }
    .admin-calendar-page .job-pill.status-progress {
      background: #7b55c7 !important;
      border: 1px solid #6644aa !important;
      color: #fff !important;
    }
    .admin-calendar-page .job-pill.status-credit {
      background: #795548 !important;
      border: 1px solid #62443a !important;
      color: #fff !important;
    }
    .admin-calendar-page .job-pill.status-billed {
      background: #0097a7 !important;
      border: 1px solid #007f8d !important;
      color: #fff !important;
    }
    .admin-calendar-page .job-pill.status-vendor-bill {
      background: #b85a00 !important;
      border: 1px solid #934800 !important;
      color: #fff !important;
    }
    .admin-calendar-page .job-pill.status-cancelled {
      background: #646b73 !important;
      border: 1px solid #51575e !important;
      color: #fff !important;
    }

    .admin-calendar-page .job-pill.status-needs strong,
    .admin-calendar-page .job-pill.status-needs em,
    .admin-calendar-page .job-pill.status-covered strong,
    .admin-calendar-page .job-pill.status-covered em,
    .admin-calendar-page .job-pill.status-progress strong,
    .admin-calendar-page .job-pill.status-progress em,
    .admin-calendar-page .job-pill.status-credit strong,
    .admin-calendar-page .job-pill.status-credit em,
    .admin-calendar-page .job-pill.status-billed strong,
    .admin-calendar-page .job-pill.status-billed em,
    .admin-calendar-page .job-pill.status-vendor-bill strong,
    .admin-calendar-page .job-pill.status-vendor-bill em,
    .admin-calendar-page .job-pill.status-cancelled strong,
    .admin-calendar-page .job-pill.status-cancelled em {
      color: #fff !important;
    }

    .admin-calendar-page .job-pill.status-partial strong,
    .admin-calendar-page .job-pill.status-partial em {
      color: #111 !important;
    }

    /* Matching status colors in the sortable table */
    .admin-calendar-page .status-badge {
      display: inline-block !important;
      padding: 4px 7px !important;
      border-radius: 999px !important;
      font-weight: 700 !important;
      line-height: 1.2 !important;
    }
    .admin-calendar-page .status-badge.status-needs { background:#e7352b !important; color:#fff !important; }
    .admin-calendar-page .status-badge.status-partial { background:#f39a00 !important; color:#111 !important; }
    .admin-calendar-page .status-badge.status-covered { background:#155bd7 !important; color:#fff !important; }
    .admin-calendar-page .status-badge.status-progress { background:#7b55c7 !important; color:#fff !important; }
    .admin-calendar-page .status-badge.status-credit { background:#795548 !important; color:#fff !important; }
    .admin-calendar-page .status-badge.status-billed { background:#0097a7 !important; color:#fff !important; }
    .admin-calendar-page .status-badge.status-vendor-bill { background:#b85a00 !important; color:#fff !important; }
    .admin-calendar-page .status-badge.status-cancelled { background:#646b73 !important; color:#fff !important; }
  

    /* Remove blue link/decoration lines from calendar job cards */
    .admin-calendar-page .job-pill,
    .admin-calendar-page .job-pill:link,
    .admin-calendar-page .job-pill:visited,
    .admin-calendar-page .job-pill:hover,
    .admin-calendar-page .job-pill:active,
    .admin-calendar-page .job-pill *,
    .admin-calendar-page .job-pill *:link,
    .admin-calendar-page .job-pill *:visited,
    .admin-calendar-page .job-pill *:hover,
    .admin-calendar-page .job-pill *:active {
      text-decoration: none !important;
      text-decoration-line: none !important;
      background-image: none !important;
    }

    .admin-calendar-page .job-pill strong,
    .admin-calendar-page .job-pill em {
      border-bottom: 0 !important;
      box-shadow: none !important;
    }
  

    /* Remove blue decorative/underline lines across the whole page */
    .admin-calendar-page a,
    .admin-calendar-page a:link,
    .admin-calendar-page a:visited,
    .admin-calendar-page a:hover,
    .admin-calendar-page a:active,
    .admin-calendar-page button,
    .admin-calendar-page button:hover,
    .admin-calendar-page button:active,
    .admin-calendar-page button:focus,
    .admin-calendar-page .job-pill,
    .admin-calendar-page .job-pill *,
    .admin-calendar-page .status-badge,
    .admin-calendar-page .filter-chip,
    .admin-calendar-page .job-secondary-button,
    .admin-calendar-page .job-primary-button,
    .admin-calendar-page .sort-icon {
      text-decoration: none !important;
      text-decoration-line: none !important;
      text-underline-offset: 0 !important;
      background-image: none !important;
      box-shadow: none !important;
      outline: none !important;
    }

    .admin-calendar-page a::before,
    .admin-calendar-page a::after,
    .admin-calendar-page button::before,
    .admin-calendar-page button::after,
    .admin-calendar-page .job-pill::before,
    .admin-calendar-page .job-pill::after,
    .admin-calendar-page .job-pill *::before,
    .admin-calendar-page .job-pill *::after {
      content: none !important;
      display: none !important;
      background-image: none !important;
      box-shadow: none !important;
      border: 0 !important;
    }

    .admin-calendar-page .job-pill strong,
    .admin-calendar-page .job-pill em,
    .admin-calendar-page .job-pill span,
    .admin-calendar-page .job-pill small {
      text-decoration: none !important;
      background-image: none !important;
      box-shadow: none !important;
      border-bottom: 0 !important;
      border-top: 0 !important;
    }

    /* Keep cards clean and readable */
    .admin-calendar-page .job-pill {
      overflow: visible !important;
    }
  

    html, body, button, input, select, textarea, table {
      font-family: Arial, Helvetica, sans-serif !important;
    }
  

    .admin-calendar-page .calendar-title-row {
      display: block !important;
      padding: 12px 0 !important;
    }
    .admin-calendar-page .calendar-admin-links {
      display: flex !important;
      flex-wrap: nowrap !important;
      align-items: center !important;
      justify-content: flex-start !important;
      gap: 24px !important;
      width: 100% !important;
      max-width: none !important;
      padding: 4px 0 !important;
      overflow-x: auto;
      scrollbar-width: thin;
    }
    .admin-calendar-page .calendar-admin-links a,
    .admin-calendar-page .calendar-admin-links a:visited {
      display: inline-flex !important;
      align-items: center !important;
      gap: 7px !important;
      color: #0645d9 !important;
      font-size: 15px !important;
      font-weight: 700 !important;
      line-height: 1.35 !important;
      white-space: nowrap !important;
      text-decoration: none !important;
      flex: 0 0 auto;
    }
    .admin-calendar-page .calendar-menu-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 23px;
      height: 23px;
      border-radius: 50%;
      background: #ffd400;
      color: #0645d9;
      font-size: 14px;
      font-weight: 800;
      line-height: 1;
      box-shadow: 0 0 0 1px #e2bb00 inset;
    }
    .admin-calendar-page .calendar-admin-links a:hover,
    .admin-calendar-page .calendar-admin-links a:focus {
      text-decoration: underline !important;
    }
  /* IntPort additions (b155) */
.admin-calendar-page .site-bar{background:#fff}
.cal-top-links{display:flex;gap:16px;align-items:center}
.cal-agency-pick{display:flex;gap:6px;align-items:center;font-weight:600}
.cal-message{margin:0 0 14px;padding:10px 14px;border-radius:10px;background:#fff7e0;border:1px solid #f2d27a;color:#3c3c3c}
.cal-message[hidden]{display:none}
.calendar-day.today{outline:2px solid #0b57d0;outline-offset:-2px}
.cal-new-job{display:inline-flex;align-items:center;text-decoration:none}
.cal-empty{color:#5f6368;text-align:center}
@media(max-width:650px){.admin-calendar-page .calendar-admin-links{flex-wrap:wrap!important;gap:12px!important}}
.status-needs { background:#d93025!important; color:#fff!important; }
.status-partial { background:#f29900!important; color:#111827!important; }
.status-covered { background:#0b57d0!important; color:#fff!important; }
.status-progress { background:#7e57c2!important; color:#fff!important; }
.status-credit { background:#795548!important; color:#fff!important; }
.status-billed { background:#0097a7!important; color:#fff!important; }
.status-paid { background:#188038!important; color:#fff!important; }
.status-cancelled { background:#5f6368!important; color:#fff!important; }
.status-vendor-bill { background:#b85a00!important; color:#fff!important; }
.kpi-gray{border-color:#5f6368}
/* Page frame (b155): the workspace stylesheet is not loaded here, so the header gets its own few rules. */
.admin-calendar-page{margin:0}
.admin-calendar-page .site-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 28px;border-bottom:1px solid #dfe3e8;background:#fff}
.admin-calendar-page .site-logo img{display:block;width:142px;height:auto}
.admin-calendar-page .cal-top-links a{color:#0b57d0;font-weight:700;text-decoration:none}
.admin-calendar-page .cal-top-links a:hover{text-decoration:underline}
.admin-calendar-page .cal-agency-pick select{border:1px solid #9aa0a6;border-radius:8px;padding:6px 8px}
@media(max-width:1500px){.admin-calendar-page .calendar-admin-links{flex-wrap:wrap!important;gap:12px 22px!important}}

.admin-calendar-page .job-pill.cal-just-saved{outline:3px solid #f5c400!important;outline-offset:1px}

/* Phone layout (b157, owner request Nov 17): big tap targets, no side scroll, the month becomes a list of days, the job table becomes cards. */
.calendar-day-list{display:none}
@media(max-width:760px){
 .admin-calendar-page .site-bar{padding:12px 14px;flex-wrap:wrap;gap:10px}
 .admin-calendar-page .site-logo img{width:110px}
 .calendar-container{width:auto!important;margin:12px 10px 40px!important}
 .admin-calendar-page .calendar-admin-links{display:grid!important;grid-template-columns:1fr 1fr;gap:8px!important}
 .admin-calendar-page .calendar-admin-links a{min-height:44px;padding:6px 8px!important;border:1px solid #dfe3e8;border-radius:10px;background:#fff;font-size:14px!important}
 .calendar-kpi-row{grid-template-columns:repeat(2,1fr)!important;gap:8px!important}
 .calendar-kpi{padding:10px 12px}
 .filter-buttons{flex-wrap:nowrap!important;overflow-x:auto;padding-bottom:6px;-webkit-overflow-scrolling:touch}
 .filter-chip{flex:0 0 auto;min-height:40px}
 .calendar-sort-row{gap:10px!important}
 .calendar-sort-row>button,.calendar-sort-row>a{min-height:44px;flex:1 1 40%}
 .calendar-sort-row>.sort-icon{flex:0 0 44px;width:44px;height:44px;min-height:44px}
 .calendar-sort-row input{max-width:100%;box-sizing:border-box}
 .calendar-board{overflow:visible!important}
 .calendar-week-labels,.calendar-month-grid{display:none!important}
 .calendar-day-list{display:block;padding:8px 12px 12px}
 .day-list-day h3{margin:14px 0 6px;font-size:15px}
 .day-list-day .job-pill{min-height:56px;margin:6px 0!important;font-size:14px}
 .calendar-board-header{flex-direction:column;align-items:flex-start}
 .calendar-job-table{min-width:0!important}
 .calendar-job-table thead{display:none}
 .calendar-job-table tr{display:block;border:1px solid #e5e7eb;border-radius:12px;margin:10px 0;padding:6px 10px;background:#fff}
 .calendar-job-table td{display:flex;justify-content:space-between;gap:12px;border:0!important;padding:6px 0!important;text-align:right}
 .calendar-job-table td::before{content:attr(data-label);font-weight:700;color:#5f6368;text-align:left}
 .calendar-job-table td .table-action{min-height:44px;display:inline-flex;align-items:center}
 .table-scroll{overflow-x:visible}
}
/* Client Requests (b161) */
.client-requests{background:#fff;border:2px solid #f9ab00;border-radius:12px;margin:0 0 18px;overflow:hidden}
.client-requests .calendar-board-header{background:#fef7e0;color:#202124}
.request-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:12px 16px;border-top:1px solid #f1e4bd}
.request-row .request-text{flex:1 1 320px}.request-row .request-text strong{display:block}.request-row small{color:#5f6368}
.request-row .request-actions{display:flex;gap:8px}
.request-row .request-actions a,.request-row .request-actions button{min-height:44px;display:inline-flex;align-items:center;padding:0 14px;border-radius:8px;font-weight:700;font-size:14px;cursor:pointer;text-decoration:none}
.request-row .request-actions a{background:#0647b8;color:#fff}.request-row .request-actions button{background:#fff;color:#c5221f;border:1px solid #c5221f}
@media(max-width:760px){.request-row .request-actions{width:100%}.request-row .request-actions a,.request-row .request-actions button{flex:1;justify-content:center}}
.page-title{margin:4px 0 14px;font-size:28px;color:#111827}
