.approved-project-sheet{background:transparent;color:#171717;font:12px/1.4 Arial,sans-serif}.approved-project-sheet .sheet-scroll{overflow:auto;background:transparent;max-width:100%}.approved-project-sheet table{border-collapse:collapse;table-layout:fixed;width:2131px;font:inherit;background:white}.approved-project-sheet th,.approved-project-sheet td{border:1px solid #a9a9a9;text-align:center;vertical-align:middle;padding:3px 5px;white-space:nowrap;height:29px;font-weight:400;color:#171717}.approved-project-sheet thead th{background:#fff!important;font-weight:600;white-space:normal;color:#171717}.approved-project-sheet tbody td{background:var(--person-fill)}.approved-project-sheet button{font:inherit;background:transparent;border:0;padding:0;color:#0645c0;cursor:pointer;text-decoration:underline}.approved-project-sheet .approved-period{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;color:#171717;text-decoration:none}.approved-project-sheet input[type=checkbox]{width:14px;height:14px;margin:0;vertical-align:middle;accent-color:#8673b0;opacity:1}.approved-project-sheet .approved-status{padding:4px 6px;border:1px solid #9aa7b5;color:#171717;text-decoration:none}.approved-project-sheet .approved-project-name{text-align:left}.approved-project-sheet .project-name{font:inherit;max-width:100%;overflow:hidden;text-overflow:ellipsis}.approved-project-sheet :focus-visible{outline:2px solid #1673ce;outline-offset:2px}

.approved-project-sheet .project-inline-cell input{box-sizing:border-box;width:100%;min-width:0;height:29px;font:inherit;color:#171717;background:transparent;border:1px solid #8793a1;padding:3px}.approved-project-sheet .project-inline-cell span{display:block;white-space:normal;font-size:11px}.approved-project-sheet .project-inline-cell button{margin-right:5px}.approved-project-sheet .project-inline-cell [role=alert]{color:#9d1616}

.approved-project-sheet .project-inline-cell select{box-sizing:border-box;width:100%;min-width:0;height:29px;font:inherit;color:#171717;background:transparent;border:1px solid #8793a1}

/* Keep compact source columns while preventing text from painting over adjacent cells. */
.approved-project-sheet table{width:2204px}.approved-project-sheet col:nth-child(1){width:76px!important}.approved-project-sheet col:nth-child(2){width:44px!important}.approved-project-sheet tbody td{overflow:hidden;text-overflow:ellipsis}

/* Match compact source typography; prevent shared UI heading styles from overflowing fixed columns. */
html:root[data-theme] .approved-project-sheet thead th{font-size:inherit;line-height:1.35;padding:8px 7px;overflow:hidden;overflow-wrap:normal;word-break:normal}
html:root[data-theme] .approved-project-sheet col:nth-child(2){width:52px!important}
html:root[data-theme] .approved-project-sheet col:nth-child(5){width:66px!important}
html:root[data-theme] .approved-project-sheet col:nth-child(11){width:144px!important}
html:root[data-theme] .approved-project-sheet col:nth-child(14){width:76px!important}
html:root[data-theme] .approved-project-sheet col:nth-child(15){width:80px!important}
html:root[data-theme] .approved-project-sheet col:nth-child(17){width:84px!important}
html:root[data-theme] .approved-project-sheet table{width:2340px}
html:root[data-theme] .approved-project-sheet tbody td:nth-child(15){white-space:normal;overflow-wrap:break-word;line-height:1.4;padding:5px 7px}

html:root[data-theme] .approved-project-sheet>[data-ap-refresh]{display:inline-flex;align-items:center;min-height:32px;margin:0 0 8px;padding:5px 10px;border:1px solid #e3dcd2;border-radius:8px;background:#fffdf9;color:#493c31;text-decoration:none}

/* Restore the approved sheet's filters inside their corresponding headers. */
.approved-project-sheet .approved-header-filter{display:flex;flex-direction:column;align-items:stretch;gap:5px;min-width:0;color:inherit;font:inherit}
.approved-project-sheet .approved-header-filter select{box-sizing:border-box;width:100%;min-width:0;max-width:100%;height:32px;margin:0;padding:3px 4px;border:1px solid #8793a1;border-radius:4px;background:#fff;color:#171717;font:inherit;line-height:1.3}
.approved-project-sheet .approved-header-filter select:focus-visible{outline:2px solid #1673ce;outline-offset:2px}

/* Project name opens its existing card; the pencil keeps source editing in-cell. */
.approved-project-sheet .approved-project-name{text-align:center}
.approved-project-sheet .approved-project-open{max-width:calc(100% - 32px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle;font-weight:600}
.approved-project-sheet .approved-project-name-edit{display:inline-block;vertical-align:middle;text-align:center}
.approved-project-sheet .approved-project-name-edit[open]{display:block}
.approved-project-sheet .approved-project-name-edit>summary{display:inline-flex;align-items:center;justify-content:center;min-width:24px;min-height:24px;cursor:pointer;color:#0645c0}
.approved-project-sheet .approved-project-name-edit>summary::marker{content:""}
.approved-project-sheet .approved-project-name-edit>summary::-webkit-details-marker{display:none}
@media(max-width:900px){.approved-project-sheet .approved-project-name-edit>summary{min-width:44px;min-height:44px}.approved-project-sheet .approved-project-open{max-width:calc(100% - 52px)}}

/* Improve dense source-sheet text without increasing input or row padding. */
html:root[data-theme] .approved-project-sheet tbody td{font-size:13px;font-weight:500;border-color:#8793a1}
html:root[data-theme] .approved-project-sheet .approved-period{font-weight:600}

.approved-project-sheet .approved-status-filter{box-sizing:border-box;width:100%;min-height:32px;padding:3px 4px;border:1px solid #8793a1;border-radius:4px;background:#fff;color:#171717;white-space:normal;line-height:1.3;text-decoration:none}
.project-status-choices{display:grid;gap:8px;margin:0;padding:0;border:0}.project-status-choices legend{margin-bottom:10px}.project-status-choices label{display:flex;align-items:center;gap:10px;min-height:44px;padding:8px;border:1px solid #e3dcd2;border-radius:6px;color:#171717;cursor:pointer}.project-status-choices input{width:20px;height:20px;flex-shrink:0}.project-status-presets{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}[data-project-status-error]{color:#9d1616}

/* Keep local validation visible without changing table geometry. */
.approved-project-sheet .project-inline-cell [aria-invalid="true"]{border-color:#9d1616;outline:2px solid #9d1616;outline-offset:1px}

.approved-project-sheet .project-inline-cell [role=alert]{font-size:12px;line-height:1.4}

/* Report status overrides the employee fill only while an unsent report is due. */
.approved-project-sheet{--report-due-fill:#ffd966;--report-overdue-fill:#e06666}
html:root[data-theme] .approved-project-sheet tbody td[data-video-state="due"],html:root[data-theme] .approved-project-sheet tbody td[data-video-state="soon"]{background:var(--report-due-fill)!important;color:#171717}
html:root[data-theme] .approved-project-sheet tbody td[data-video-state="overdue"]{background:var(--report-overdue-fill)!important;color:#171717}
.approved-report-legend{display:flex;flex-wrap:wrap;gap:4px 14px;margin:0 0 6px;font-size:12px;line-height:1.4;color:var(--text,#302b25)}
.approved-report-legend span{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.approved-report-legend i{display:inline-block;width:12px;height:12px;border:1px solid #8793a1;border-radius:2px}
.approved-report-legend .report-due-swatch{background:var(--report-due-fill)}
.approved-report-legend .report-overdue-swatch{background:var(--report-overdue-fill)}

.approved-project-sheet .approved-period > span[aria-hidden="true"] {
  box-sizing: border-box;
  display: inline-grid;
  place-items: center;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border: 2px solid currentColor;
  border-radius: 3px;
  font-size: 0;
}
.approved-project-sheet .approved-period[aria-pressed="true"] > span[aria-hidden="true"]::after {
  content: "";
  width: 5px;
  height: 10px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: translateY(-1px) rotate(45deg);
}
