#weekly-team { min-width: 0; }
.wt-profile-card progress { width: 100%; height: 9px; accent-color: #19743e; }
.wt-day { padding: 12px 0 20px; }
.wt-day > h5 { display: flex; gap: 12px; align-items: baseline; border-bottom: 2px solid #d4e1d8; padding-bottom: 12px; }
.wt-day > h5 span { font-weight: 400; color: #58655e; }
.wt-task-row { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 12px 20px; padding: 16px 0; border-bottom: 1px solid #dce3df; }
#weekly-team .wt-complete { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; line-height: 1.45; cursor: pointer; }
.wt-complete strong { overflow-wrap: anywhere; }
#weekly-team .wt-complete input { flex: 0 0 22px; width: 22px; height: 22px; margin: 1px 0 0; accent-color: #19743e; }
.wt-task-row details { grid-column: 1 / -1; margin-left: 34px; min-width: 0; }
.wt-task-row details summary { font-size: 14px; color: #42644f; }
.wt-task-row textarea { margin-bottom: 10px; }
.wt-task-row.wt-done .wt-complete strong { color: #647068; text-decoration: line-through; }
.wt-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media(max-width: 600px) { .wt-task-row { grid-template-columns: minmax(0, 1fr); }.wt-task-status { margin-left: 34px; max-width: 180px; }.wt-progress { flex-wrap: wrap; } }
.wt-time-row { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 180px)); gap: 12px; }
.wt-time-label { font-weight: 700; color: var(--blue); }
.wt-owner-actions { justify-content: flex-start; margin-top: 24px; }
.wt-move { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; }
.wt-move label { max-width: 180px; }
#wt-assignment-fields { border: 0; padding: 0; margin: 0; min-width: 0; }
.wt-review-tasks summary { margin-top: 12px; cursor: pointer; font-weight: 600; }
#weekly-team h3 { margin: 0; font: 700 25px "Archivo", sans-serif; }
#weekly-team h4 { margin: 0 0 8px; font-size: 19px; }
#weekly-team h5 { margin-bottom: 8px; font-size: 15px; }
#weekly-team p { line-height: 1.55; overflow-wrap: anywhere; }
#weekly-team label { display: grid; gap: 7px; font-size: 13px; font-weight: 600; min-width: 0; }
#weekly-team input:not([type="checkbox"]), #weekly-team select, #weekly-team textarea { width: 100%; min-width: 0; padding: 10px; border: 1px solid #c5cec8; border-radius: 5px; background: white; color: var(--ink); font-weight: 400; }
#weekly-team textarea { resize: vertical; }
#weekly-team button:focus-visible, #weekly-team input:focus-visible, #weekly-team select:focus-visible, #weekly-team textarea:focus-visible, #weekly-team summary:focus-visible { outline: 3px solid #2d628b; outline-offset: 3px; }
#weekly-team button:disabled { opacity: .55; cursor: wait; }
.wt-eyebrow { color: var(--green); font-size: 11px; font-weight: 800; margin: 0 0 10px; }
.wt-muted, .wt-save-time { color: #58655e; font-size: 13px; font-weight: 400; }
.wt-toolbar, .wt-heading, .wt-week-controls, .wt-actions, .wt-save { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.wt-toolbar { padding: 8px 0 18px; }
.wt-week-controls { justify-content: flex-start; align-items: end; }
.wt-week-controls [data-week], .wt-remove { flex: 0 0 40px; width: 40px; height: 40px; padding: 0; font-size: 20px; }
.wt-week-controls label { width: 160px; }
#wt-status { min-height: 30px; color: var(--green-deep); font-size: 14px; }
#wt-status.wt-error { color: #a52e21; padding: 12px; background: #fff0ec; border-left: 3px solid #a52e21; margin-bottom: 12px; }
.wt-tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.wt-tabs button { border: 0; border-radius: 0; background: transparent; padding: 12px 14px; border-bottom: 3px solid transparent; }
.wt-tabs button[aria-pressed="true"] { color: var(--green-deep); border-bottom-color: var(--green); }
#wt-fields { border: 0; margin: 0; padding: 0; min-width: 0; }
.wt-identity { display: grid; grid-template-columns: minmax(140px, 1fr) minmax(140px, 1fr) 1fr; align-items: end; gap: 20px; }
.wt-band { padding: 24px 0; border-bottom: 1px solid var(--line); }
.wt-heading { margin-bottom: 18px; }
.wt-heading h4 { margin-bottom: 0 !important; }
.wt-availability { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.wt-upload { display: flex; gap: 24px; align-items: end; flex-wrap: wrap; margin-top: 22px; }
.wt-upload > label { flex: 1 1 260px; }
.wt-upload button { max-width: 100%; overflow-wrap: anywhere; text-align: left; padding: 8px 12px; }
#weekly-team .wt-checkbox { display: flex; align-items: center; margin-top: 10px; }
.wt-task { display: grid; grid-template-columns: minmax(180px, 1fr) 155px 150px 40px; align-items: end; gap: 12px; padding: 18px 0; border-top: 1px solid var(--line); }
.wt-evidence { grid-column: 1 / -1; }
.wt-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.wt-save { justify-content: flex-start; padding-top: 24px; }
.wt-save button { background: var(--green-deep); color: white; }
.wt-feedback { border-left: 3px solid var(--blue); background: #edf4f8; padding: 14px 18px; margin-top: 20px; }
.wt-feedback p { margin-bottom: 0; white-space: pre-wrap; }
.wt-metrics, .wt-rhythm { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding: 12px 0 24px; border-bottom: 1px solid var(--line); }
.wt-metrics > div, .wt-rhythm > div { display: grid; gap: 6px; }
.wt-metrics strong { font-size: 30px; font-family: "Archivo", sans-serif; }
.wt-metrics span, .wt-rhythm span { color: #58655e; font-size: 13px; }
.wt-member { padding: 26px 0; border-bottom: 1px solid #c5cec8; }
.wt-badge { display: inline-block; padding: 5px 9px; font-size: 12px; font-weight: 700; color: #25543d; background: #e1eee6; border-radius: 4px; overflow-wrap: anywhere; }
.wt-alert { color: #922d22; background: #f9e8df; }
.wt-progress { display: flex; align-items: center; gap: 16px; margin: 20px 0; font-size: 13px; }
.wt-progress progress { width: min(220px, 50%); height: 10px; accent-color: var(--green); }
.wt-day-summary { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; margin: 20px 0; }
.wt-day-summary div { display: grid; align-content: start; gap: 8px; font-size: 13px; overflow-wrap: anywhere; }
.wt-day-summary span { color: #58655e; }
.wt-review-tasks { list-style: none; padding: 0; }
.wt-review-tasks li { display: flex; justify-content: space-between; align-items: start; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.wt-review-tasks li > div { min-width: 0; flex: 1; }
.wt-review-tasks strong { font-size: 14px; overflow-wrap: anywhere; }
.wt-review-tasks p { margin: 7px 0 0; font-size: 13px; white-space: pre-wrap; }
.wt-blocker { border-left: 3px solid #c47d1a; padding: 12px 18px; background: #fcf3e6; }
.wt-preserve, .wt-blocker p { white-space: pre-wrap; }
.wt-review-form { display: grid; gap: 12px; margin-top: 20px; }
.wt-review-form .wt-actions { justify-content: flex-start; }
.wt-profile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; }
#weekly-team .wt-profile-card { display: flex; flex-direction: column; align-items: flex-start; text-align: left; padding: 24px; border: 1px solid #c5cec8; border-radius: 8px; background: white; gap: 10px; min-height: 250px; white-space: normal; }
#weekly-team .wt-profile-card:hover { border-color: #1b7140; background: #f3f8f4; }
.wt-profile-card strong { font-size: 20px; }
.wt-profile-card small { color: #56645b; font-size: 14px; }
.wt-profile-open { margin-top: auto; padding-top: 14px; color: #176538; font-weight: 700; }
.wt-avatar { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #e1eee6; color: #1b5530; }
.wt-profile-card:nth-child(2) .wt-avatar { background: #e4eff6; color: #235775; }
.wt-profile-card:nth-child(3) .wt-avatar { background: #fbefd7; color: #6f531b; }
.wt-profile-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 24px; }
.wt-document { padding: 20px 0; }
.wt-document .wt-actions, .wt-upload-form { justify-content: flex-start; margin: 16px 0; }
.wt-upload-form { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
#wt-pdf-viewer iframe { width: 100%; height: 760px; max-height: 80vh; border: 1px solid #c5cec8; margin: 20px 0; }
#weekly-team summary { cursor: pointer; font-weight: 600; }
.wt-editor-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 16px; margin-bottom: 20px; }
.wt-editor-controls label { flex: 1 1 280px; min-width: 0; }
.wt-plan-editor { display: grid; gap: 18px; }
.wt-editor-times { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.wt-plan-editor > button { justify-self: start; }
#weekly-team input[type="file"] { max-width: 100%; }
@media(max-width: 600px) { .wt-editor-times { grid-template-columns: 1fr; } .wt-upload-form label { min-width: 0; max-width: 100%; } }
.wt-history { padding: 20px 0; font-size: 13px; }
.wt-history summary { cursor: pointer; font-weight: 700; }
.wt-outline { margin: 0; }
.wt-outline > div { display: grid; grid-template-columns: 120px 1fr; padding: 14px 0; border-top: 1px solid var(--line); }
.wt-outline dt { font-size: 13px; color: var(--blue); font-weight: 700; }
.wt-outline dd { margin: 0; }
.wt-outline dd strong { font-size: 14px; }
.wt-outline p { margin: 6px 0 0; font-size: 13px; color: #58655e; }
@media(max-width: 1000px) { .wt-task { grid-template-columns: minmax(0, 1fr) 145px 40px; }.wt-task-title { grid-column: 1 / -1; }.wt-identity { grid-template-columns: 1fr 1fr; }.wt-save-time { grid-column: 1 / -1; }.wt-day-summary { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media(max-width: 600px) { .wt-availability, .wt-metrics, .wt-rhythm { grid-template-columns: 1fr 1fr; }.wt-notes, .wt-identity { grid-template-columns: 1fr; }.wt-task { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 40px; }.wt-outline > div { grid-template-columns: 1fr; gap: 8px; }.wt-review-tasks li { flex-direction: column; gap: 10px; }.wt-day-summary { grid-template-columns: 1fr 1fr; }.wt-tabs button { padding: 12px 9px; font-size: 13px; }.wt-week-controls { gap: 8px; } }
