/* Keep time totals inside each project title and preserve the existing action row. */
#view .goal-table86 tbody td{height:90px}
#view .goal-table86 .project-time-summary171{display:block;max-width:100%;margin:4px 0 0;border:0;border-radius:6px;padding:4px 6px;background:var(--soft-bg);color:var(--navy);font:600 11px/1.4 Arial,sans-serif;text-align:left;cursor:pointer;white-space:normal}
#view .goal-table86 .project-time-summary171:hover{background:var(--line)}
.project-time-dialog171{width:min(100%,640px)}
.project-time-body171{padding:16px 22px 22px}
.project-time-total171{margin-bottom:16px;font-size:20px;font-weight:750;color:var(--navy)}
.project-time-form171{display:grid;grid-template-columns:minmax(130px,2fr) minmax(70px,1fr) minmax(70px,1fr);gap:10px}
.project-time-field171{display:grid;gap:6px;min-width:0;font-size:12px;font-weight:650;color:var(--ink)}
.project-time-field171 input,.project-time-field171 textarea{box-sizing:border-box;width:100%;min-width:0;border:1px solid var(--line);border-radius:9px;background:var(--white);color:var(--ink);padding:10px;font:inherit;font-size:14px}
.project-time-field171 input{min-height:43px}.project-time-field171 textarea{min-height:110px;resize:vertical;line-height:1.5}
.project-time-note171,.project-time-form-actions171{grid-column:1/-1}
.project-time-form-actions171{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.project-time-history-head173{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:4px;padding-bottom:8px}
.project-time-history-head173 h3{margin:0;font-size:14px;flex-shrink:0}
.project-time-message171{margin:10px 0;font-size:12px;color:var(--navy)}
.project-time-message171:empty{display:none}
.project-time-message171.error{color:#dc6e6e}
.project-time-empty171{font-size:13px;color:var(--muted)}
.project-time-entry171{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding:12px 0}
.project-time-copy171{min-width:0;flex:1}.project-time-meta171{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:12px}
.project-time-copy171 p{margin:5px 0 0;font-size:13px;line-height:1.4;white-space:pre-wrap;overflow-wrap:anywhere}
.project-time-entry-actions171{display:flex;gap:6px;flex-shrink:0}.project-time-entry-actions171 .btn{padding:7px 9px;font-size:12px}
.project-time-undo171{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px;border:1px solid var(--line);border-radius:9px;font-size:12px}
@media(max-width:500px){.project-time-body171{padding:14px}.project-time-form171{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.project-time-field171:first-child{grid-column:1/-1}.project-time-entry171{align-items:flex-start;flex-wrap:wrap}.project-time-entry-actions171{margin-left:auto}.project-time-dialog171{max-width:100%}.project-time-field171 input[type=date]{max-width:100%;min-height:44px}}

/* Use gentle, distinct fills in the project list, filters and edit form. */
:root[data-theme] select.project-progress173{appearance:none!important;-webkit-appearance:none!important;background-repeat:no-repeat!important;background-position:right 10px center!important;background-size:14px 14px!important;padding-right:30px!important;background-color:var(--project-progress-fill173)!important;color:var(--project-progress-ink173)!important;border-color:var(--project-progress-ink173)!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23334155' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important}
