.weekly-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.weekly-stat{padding:24px}.weekly-stat>span{font-size:11px;color:#5d7d92;display:block}.weekly-stat>strong{display:block;color:#23576e;font-size:34px;margin:7px 0;letter-spacing:-1px;font-weight:600}.weekly-stat p{font-size:12px;line-height:1.8;color:#687f94;margin-bottom:0}.weekly-current{display:flex;align-items:center;justify-content:space-between;gap:24px;background:linear-gradient(125deg,#e9f5f5,#f5f8fc);border-color:#c9e2e7}.weekly-current p{font-size:12px;color:#587a90;margin:0}.weekly-current h2{margin-top:10px}.weekly-filter{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:end}.weekly-filter .field{margin:0}.weekly-table{min-width:840px}.weekly-table td{font-size:12px;vertical-align:top}.weekly-table td:nth-child(2){min-width:280px}.weekly-table td:nth-child(1){min-width:140px}.weekly-table td p{margin:9px 0;line-height:1.8}.weekly-table small{font-size:10px;color:#71879b}.weekly-table th{font-size:10px}.weekly-history-list{display:grid;gap:9px;margin:15px 0}.weekly-history-list>a{display:flex;flex-wrap:wrap;justify-content:space-between;gap:5px 16px;padding:12px 14px;border:1px solid #e1ebf2;border-radius:9px;font-size:12px;color:#3d6c83}.weekly-history-list>a>span{font-size:10px;color:#6f879c}.weekly-action-heading{display:flex;align-items:flex-start;gap:14px;margin-bottom:18px}.weekly-action-heading h2{font-size:20px;margin-bottom:8px}.weekly-action-text{font-size:15px;line-height:1.9;color:#36556e}.weekly-action.weekly-done{border-left:3px solid #59a693}.weekly-check-form{margin:20px 0 15px;padding:20px;border:1px solid #dce8ef;border-radius:12px;background:#f5f9fc}.weekly-check-form .field:has(input[type=checkbox]){display:flex;align-items:center;gap:12px}.weekly-check-form input[type=checkbox]{width:23px;height:23px;accent-color:#14777d}.weekly-check-form textarea{min-height:80px}.weekly-check-form input[type=date]{max-width:280px}.weekly-opening{border-left:2px solid #6f9dac;padding:12px 16px;background:#f4f8fb;font-size:14px;line-height:1.8;margin:15px 0}.weekly-card-tools{margin:18px 0;border:1px solid #d6e9e9;border-radius:10px;padding:15px;background:#f3fafa}.weekly-card-tools>strong{font-size:12px;color:#316a7c}.weekly-card-tools p{font-size:10px;color:#70899b;margin:8px 0 13px}.weekly-card-tools>a.text-button{display:block;font-size:11px;margin-top:11px}.summary-week-label{padding:8px 11px;margin:0 0 12px;border-radius:8px;background:#e8f3f4;color:#3b7483;font-size:10px}.weekly-callout p{font-size:12px;color:#6b8297;margin:8px 0 15px}.weekly-action,.weekly-card-tools,.weekly-stats>*{min-width:0;overflow-wrap:anywhere}
@media(max-width:1100px){.weekly-current{align-items:flex-start;flex-direction:column}.weekly-filter{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.weekly-stats{grid-template-columns:1fr;gap:0}.weekly-filter{grid-template-columns:1fr}.weekly-stat{padding:21px}.weekly-action-heading h2{font-size:19px}.weekly-action-text{font-size:14px}.weekly-check-form{padding:17px}.weekly-check-form .button{width:100%}.weekly-current .button-row{width:100%}.weekly-table td{font-size:11px}.weekly-history-list>a{display:block}.weekly-history-list>a>span{display:block;margin-top:5px}}
@media print{.weekly-filter,.weekly-check-form{display:none}.weekly-table{min-width:0}.weekly-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.weekly-action{break-inside:avoid}.weekly-history-list>a{color:#222}.weekly-current{background:white}}
.week-detail { width: 100%; }
.week-detail .week-heading { margin: 0 0 14px; align-items: end; }
.week-detail .week-heading p { margin: 4px 0 0; }
.week-detail .back-link { display: inline-block; margin-bottom: 10px; }
.week-source-links { gap: 7px 15px; font-size: .875rem; }
.week-source-links a { padding: 5px 0; }
.week-detail .weekly-stats { gap: 10px; }
.week-detail .weekly-stat { padding: 12px 15px; margin: 0; }
.week-detail .weekly-stat > span { color: #4c687b; font-size: .875rem; }
.week-detail .weekly-stat > strong { font-size: 1.625rem; margin: 0; line-height: 1.3; }
.week-detail .weekly-stat p { margin: 4px 0 0; font-size: .8125rem; }
.weekly-metric-help { margin: 5px 0 11px; color: #486578; font-size: .8125rem; }
.weekly-metric-help .help { margin: 3px 0 0; }
.week-actions { display: grid; gap: 11px; }
.week-detail .weekly-action { margin: 0; padding: 15px 17px; }
.week-detail .weekly-action-heading {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center;
  gap: 9px; margin: 0 0 7px;
}
.week-detail .weekly-action-heading h2 { margin: 0; font-size: 1.125rem; line-height: 1.4; }
.week-detail .weekly-action-heading .step-number { width: 29px; height: 29px; font-size: .875rem; }
.week-detail .weekly-action-heading .badge { font-size: .8125rem; }
.week-detail .weekly-action-text { margin: 0 0 5px; font-size: .9375rem; }
.weekly-expected { margin: 3px 0; color: #354f65; font-size: .875rem; }
.weekly-expected strong { margin-right: 5px; }
.weekly-meta { margin: 3px 0; font-size: .8125rem; color: #506b7e; }
.weekly-reference { margin: 7px 0 0; color: #406174; font-size: .875rem; }
.weekly-reference p { margin: 6px 0; }
.weekly-reference .weekly-opening { margin: 6px 0; padding: 6px 10px; }
.week-detail :is(.weekly-reference, .weekly-entry, .weekly-metric-help) summary { cursor: pointer; font-weight: 650; }
.week-detail .weekly-check-form { margin: 9px 0 7px; padding: 7px 11px; border-radius: 9px; }
.weekly-entry { margin: 0; color: #365d73; font-size: .875rem; }
.weekly-entry-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 12px; margin: 7px 0 0; }
.weekly-entry-fields .field { margin: 0; }
.weekly-entry-fields .field:last-child { grid-column: 1/-1; }
.weekly-entry-fields .field label { margin-bottom: 3px; }
.week-detail .weekly-entry-fields textarea { min-height: 56px; }
.weekly-submit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 5px 12px; margin-top: 4px; }
.weekly-submit .checkbox-label { display: flex; align-items: center; gap: 8px; margin: 0; min-height: 38px; font-size: .9375rem; }
.week-detail .weekly-submit input[type=checkbox] { width: 19px; height: 19px; flex-shrink: 0; }
.weekly-submit .button { min-height: 38px; width: auto; padding: 6px 12px; font-size: .875rem; }
.week-detail .weekly-action-footer { margin: 0; }
.weekly-more-links { display: flex; flex-wrap: wrap; gap: 4px 13px; font-size: .875rem; }
.week-detail .message { margin: 8px 0; padding: 9px 12px; }
@media (max-width: 540px) {
  .week-detail .week-heading { gap: 8px; align-items: start; }
  .week-detail .weekly-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .week-detail .weekly-stat { padding: 9px; }
  .week-detail .weekly-action { padding: 12px; }
  .week-detail .weekly-action-heading { grid-template-columns: auto minmax(0, 1fr); gap: 5px 8px; }
  .week-detail .weekly-action-heading .badge { grid-column: 2; justify-self: start; }
  .weekly-entry-fields { grid-template-columns: minmax(0, 1fr); }
  .week-detail .weekly-submit .button { min-height: 44px; width: auto; }
}

.week-detail .weekly-stat { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .15rem .8rem; }
.week-detail .weekly-stat > strong { grid-column: 1; grid-row: 1 / 3; }
.week-detail .weekly-stat > span, .week-detail .weekly-stat > p { grid-column: 2; margin: 0; }
.week-detail .weekly-action { padding: .8rem 1rem; }
.week-detail .save-status:empty { display: none; }
@container card-area (max-width: 32rem) {
  .week-detail .weekly-stat { display: block; }
}
