.execution-intro { align-items: center; }
.execution-metric-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.execution-metric { min-height: 118px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 5px 18px rgba(7,30,71,.04); }
.execution-metric.goal { color: white; border: 0; background: linear-gradient(145deg, #0b2f68, #0a7696); }
.execution-metric.warn { border-color: #f0d1aa; background: #fffaf3; }
.execution-metric.danger { border-color: #edb8b8; background: #fff7f7; }
.execution-metric span, .execution-metric small { display: block; color: #8492a8; font-size: 11px; }
.execution-metric.goal span, .execution-metric.goal small { color: #c4e5ee; }
.execution-metric strong { display: block; margin: 10px 0 5px; color: var(--navy); font-size: 27px; line-height: 1; }
.execution-metric.goal strong { color: white; font-size: 20px; letter-spacing: -.4px; white-space: nowrap; }
.execution-layout { display: grid; grid-template-columns: minmax(0, 1.48fr) minmax(300px, .52fr); gap: 20px; }
.page-intro-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.execution-side-stack { display: grid; gap: 20px; align-content: start; }
.execution-list { display: grid; gap: 9px; padding: 0 20px 20px; }
.execution-list-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 13px; border: 1px solid #e8edf4; border-radius: 11px; background: #fbfcfe; }
.execution-list-item strong, .execution-list-item span, .execution-list-item small { display: block; }
.execution-list-item strong { color: var(--navy); font-size: 13px; }
.execution-list-item span, .execution-list-item small { margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.execution-list-item b { color: #0d8c9b; white-space: nowrap; }
.execution-list-item.alert-red { border-color: #edb8b8; background: #fff7f7; }
.execution-list-item.alert-yellow { border-color: #f1d4aa; background: #fffaf2; }
.execution-summary-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 18px; }
.summary-chip { padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.summary-chip span { color: var(--muted); font-size: 11px; }
.summary-chip strong { display: block; margin-top: 6px; color: var(--navy); font-size: 20px; }
.execution-table { width: 100%; border-collapse: collapse; }
.execution-table th, .execution-table td { padding: 14px 16px; border-top: 1px solid #eef1f5; text-align: left; vertical-align: middle; }
.execution-table th { color: #8996aa; background: #fbfcfe; font-size: 11px; font-weight: 650; }
.execution-table td { color: #526079; font-size: 12px; }
.execution-table tbody tr[data-open-task], .execution-table tbody tr[data-open-buyer] { cursor: pointer; }
.execution-table tbody tr:hover { background: #f7fbfc; }
.task-cell strong, .task-cell small { display: block; }
.task-cell strong { max-width: 520px; color: var(--navy); font-size: 13px; white-space: normal; line-height: 1.5; }
.task-cell small { margin-top: 4px; color: #8e9aad; }
.execution-party { display: inline-block; padding: 3px 7px; border-radius: 999px; color: #087f8e; background: #e7f6f7; font-size: 10px; font-weight: 700; white-space: nowrap; }
.task-status { display: inline-block; padding: 5px 8px; border-radius: 999px; color: #607088; background: #edf2f7; font-size: 10px; white-space: nowrap; }
.task-status.status-progress { color: #087f8e; background: var(--turquoise-soft); }
.task-status.status-review { color: #a56212; background: var(--orange-soft); }
.task-status.status-return { color: #a44c4c; background: #fff0f0; }
.task-status.status-done { color: #16724f; background: #e2f7ee; }
.task-status.status-disabled { color: #7c8797; background: #edf0f3; text-decoration: line-through; }
.execution-filter input { width: min(280px, 100%); }
.execution-search { height: 36px; min-width: 220px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; }
.execution-panel-gap { margin-bottom: 20px; }
.approval-task-list { display: grid; gap: 10px; padding: 0 20px 20px; }
.approval-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 15px; border: 1px solid #ead7bb; border-radius: 12px; background: #fffaf3; }
.approval-card strong, .approval-card small { display: block; }
.approval-card strong { color: var(--navy); }
.approval-card small { margin-top: 5px; color: var(--muted); }
.weekly-review-panel { margin-top: 20px; padding: 20px; }
.weekly-review-head { padding: 0 0 15px; }
.weekly-review-head label { display: flex; gap: 8px; align-items: center; color: #66758b; font-size: 12px; }
.weekly-review-head select { min-width: 90px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.weekly-summary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.weekly-summary-grid > section { min-width: 0; padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: #fbfcfe; }
.weekly-summary-grid > section:first-child { grid-row: span 2; }
.weekly-summary-grid h3 { margin: 0 0 10px; color: var(--navy); font-size: 14px; }
.weekly-summary-grid p { color: #627087; line-height: 1.55; white-space: pre-wrap; }
.weekly-task-list { display: grid; gap: 7px; max-height: 340px; margin: 10px 0 0; padding: 0; overflow-y: auto; list-style: none; }
.weekly-task-list li { display: grid; gap: 3px; padding: 8px 9px; border-radius: 8px; color: #4e5f76; background: white; }
.weekly-task-list small { color: #8b97aa; }
.weekly-status-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.weekly-status-row span { padding: 8px; border-radius: 8px; color: #68768b; background: white; text-align: center; font-size: 11px; }
.weekly-status-row b { display: block; margin-top: 3px; color: var(--navy); font-size: 17px; }
.weekly-result-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid #e7edf3; color: #617087; }
.weekly-result-row strong { color: var(--navy); }
.weekly-feedback-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.weekly-feedback-form label { display: grid; gap: 6px; color: #5f6f86; font-size: 12px; }
.weekly-feedback-form textarea { min-height: 80px; padding: 9px 10px; border: 1px solid #dce3ed; border-radius: 8px; resize: vertical; }
.weekly-review-notice { margin-top: 10px; padding: 10px 12px; border-radius: 9px; color: #875f22; background: #fff6e9; }
.weekly-summary-error { grid-column: 1 / -1; }
.execution-modal-card { width: min(1080px, 94vw); max-height: 92vh; overflow-y: auto; }
.task-admin-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding: 0 28px 14px; }
.task-detail-content { padding: 0 28px 18px; }
.task-detail-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 14px; }
.task-detail-wide { grid-column: 1 / -1; }
.task-detail-box { padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: #fbfcfe; }
.task-detail-box h3 { margin: 0 0 10px; color: var(--navy); font-size: 14px; }
.task-detail-box .task-subheading { margin-top: 15px; padding-top: 13px; border-top: 1px solid #e7edf3; }
.task-detail-box p { margin: 7px 0; color: #5e6c83; line-height: 1.6; white-space: pre-wrap; }
.task-advanced-box { padding: 0; overflow: hidden; }
.task-advanced-box > summary { padding: 14px 15px; color: #66758b; cursor: pointer; font-weight: 650; list-style-position: inside; }
.task-advanced-box[open] > summary { border-bottom: 1px solid var(--line); color: var(--navy); background: #f4f8fb; }
.task-advanced-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: 16px; }
.task-advanced-grid > section { min-width: 0; }
.business-purpose { color: var(--navy) !important; font-size: 14px; font-weight: 650; }
.weekly-focus-box { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin: 12px 0; padding: 11px 12px; border-left: 3px solid #0c93a3; border-radius: 8px; color: #4f6278; background: #eef8f9; line-height: 1.55; }
.weekly-focus-box b { color: #087f8e; white-space: nowrap; }
.task-purpose-line { margin: 9px 0 0 !important; font-size: 12px; }
.business-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.business-tags span { max-width: 100%; padding: 7px 10px; border-radius: 8px; color: #496175; background: #eaf5f7; overflow-wrap: anywhere; }
.business-tags b { margin-right: 6px; color: #087f8e; }
.business-list { display: grid; gap: 7px; margin: 8px 0 14px; padding-left: 20px; color: #586980; line-height: 1.55; }
.approval-warning { padding: 9px 10px; border-left: 3px solid #db8a2a; color: #885817 !important; background: #fff6e9; }
.task-step-section-head { display: flex; justify-content: space-between; gap: 12px; align-items: end; margin-bottom: 8px; }
.task-step-section-head h3 { margin-bottom: 3px; }
.task-step-section-head p { margin: 0; font-size: 11px; }
.task-step-table-head { display: grid; grid-template-columns: 44px minmax(0, 1fr) minmax(210px, 280px) 56px; gap: 10px; padding: 8px 10px; border-radius: 8px; color: #7b899b; background: #f1f5f8; font-size: 10px; }
.task-step-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) minmax(210px, 280px) 56px; gap: 10px; align-items: center; padding: 13px 10px; border-bottom: 1px solid #e7edf3; }
.task-step-row:last-child { border-bottom: 0; }
.task-step-check { justify-self: center; width: 18px; height: 18px; }
.task-step-main { display: grid; gap: 6px; min-width: 0; color: #52627a; line-height: 1.5; }
.task-step-main > strong { display: flex; gap: 9px; align-items: flex-start; color: #344c67; font-size: 13px; font-weight: 650; }
.task-step-main > strong > span { display: inline-grid; flex: 0 0 23px; place-items: center; width: 23px; height: 23px; border-radius: 50%; color: white; background: #0b8796; font-size: 11px; }
.task-step-main small { display: block; padding-left: 32px; color: #748399; font-size: 11px; }
.task-step-main small b { color: #087f8e; }
.task-step-note, .task-effect-form input { width: 100%; padding: 9px 10px; border: 1px solid #dce3ed; border-radius: 8px; background: white; }
.task-tool-card { display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.task-tool-card strong { color: #087f8e; font-size: 15px; }
.task-tool-card p { margin: 0; }
.task-tool-card > span { flex: 0 0 auto; padding: 6px 9px; border-radius: 999px; color: #087f8e; background: #e7f5f6; font-size: 10px; }
.task-workbook-head { display: flex; justify-content: space-between; gap: 18px; align-items: start; margin-bottom: 10px; }
.task-workbook-head strong { color: var(--navy); }
.task-workbook-head p { margin: 3px 0 0; font-size: 11px; }
.task-workbook-head > span { flex: 0 0 auto; padding: 5px 8px; border-radius: 999px; color: #087f8e; background: #e8f7f7; font-size: 11px; }
.task-workbook-scroll { overflow-x: auto; border: 1px solid #e1e8f0; border-radius: 10px; }
.task-workbook-table { width: max-content; min-width: 100%; border-collapse: collapse; font-size: 11px; }
.task-workbook-table th, .task-workbook-table td { max-width: 220px; padding: 9px 10px; border-bottom: 1px solid #edf1f5; text-align: left; overflow-wrap: anywhere; }
.task-workbook-table th { color: #5b6d84; background: #f0f6f8; white-space: nowrap; }
.task-work-record-form { margin-top: 13px; padding-top: 13px; border-top: 1px solid #e3e9f0; }
.task-work-record-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.task-work-record-grid label { display: grid; gap: 5px; color: #5f6f85; font-size: 11px; }
.task-work-record-grid input, .task-work-record-grid select { width: 100%; padding: 8px 9px; border: 1px solid #dce3ed; border-radius: 8px; background: white; }
.task-work-record-grid .task-work-checkbox { display: flex; align-items: center; gap: 8px; padding-top: 22px; }
.task-work-record-grid .task-work-checkbox input { width: auto; }
.task-work-record-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; }
.task-metric-table { display: grid; border: 1px solid #e1e8f0; border-radius: 10px; overflow: hidden; }
.task-metric-row { display: grid; grid-template-columns: 1fr .65fr .65fr; gap: 10px; padding: 10px 12px; border-top: 1px solid #e8edf3; color: #5d6c82; align-items: center; }
.task-metric-row:first-child { border-top: 0; }
.task-metric-head { color: #66768a; background: #f1f6f8; font-size: 11px; font-weight: 650; }
.task-metric-row b { display: block; color: var(--navy); }
.task-metric-row small { display: block; margin-top: 3px; color: #8491a3; line-height: 1.4; }
.metric-source-note { margin: 8px 2px 0 !important; color: #7b899a !important; font-size: 10px; }
.deliverable-card { padding: 9px 0; border-top: 1px solid #e7edf3; color: #5e6c83; }
.deliverable-card:first-of-type { border-top: 0; }
.deliverable-card strong { color: var(--navy); }
.deliverable-card p { margin: 4px 0; font-size: 11px; }
.deliverable-card small { color: #7d8ba0; line-height: 1.5; }
.metric-target { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid #e7edf3; color: #5e6c83; }
.metric-target b { color: var(--navy); text-align: right; }
.effect-status { display: inline-flex; margin-bottom: 6px; padding: 5px 9px; border-radius: 999px; color: #68768b; background: #edf2f7; font-size: 11px; }
.effect-status.effect-observing { color: #a56212; background: var(--orange-soft); }
.effect-status.effect-reached { color: #16724f; background: #e2f7ee; }
.effect-status-inline { display: inline-block; margin-left: 6px; color: #7d8ba0; font-size: 11px; }
#task-effect-status small { display: block; margin-bottom: 10px; color: #8a97aa; }
.task-effect-form { display: grid; gap: 9px; }
.task-effect-form label { display: grid; grid-template-columns: 1fr minmax(100px, .45fr) minmax(140px, .8fr); gap: 8px; align-items: center; color: #617087; }
.task-effect-form label.derived-effect { grid-template-columns: 1fr minmax(260px, 1.5fr); }
.task-review-checklist { display: grid; gap: 8px; }
.task-review-checklist label { display: flex; gap: 8px; align-items: flex-start; color: #5a687e; line-height: 1.45; }
.task-review-checklist input { width: auto; margin-top: 3px; }
.evidence-list { display: grid; gap: 7px; margin-top: 10px; }
.evidence-row { padding: 9px 10px; border-radius: 8px; background: #eef8f9; overflow-wrap: anywhere; }
.evidence-row a { color: #0a8695; }
.history-row { padding: 9px 0; border-top: 1px solid #edf1f5; color: #66758b; font-size: 11px; line-height: 1.55; }
.task-change-row { display: grid; gap: 3px; padding: 9px 0; border-top: 1px solid #edf1f5; color: #66758b; font-size: 11px; }
.task-change-row strong { color: var(--navy); font-size: 12px; }
.task-change-row span { color: #8c98aa; }
.task-change-row p { margin: 2px 0 0; padding: 6px 8px; border-radius: 7px; background: white; }
.task-action-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 18px 28px 28px; border-top: 1px solid var(--line); }
.execution-form { display: grid; align-content: start; gap: 9px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fbfcfe; }
.execution-form h3 { margin: 0 0 3px; color: var(--navy); font-size: 13px; }
.execution-form input, .execution-form textarea { width: 100%; padding: 9px 10px; border: 1px solid #dce3ed; border-radius: 8px; color: var(--ink); background: white; font: inherit; }
.execution-form textarea { min-height: 72px; resize: vertical; }
.execution-form-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.danger-btn { padding: 10px 14px; border: 0; border-radius: 9px; color: #a34141; background: #ffe8e8; font-weight: 650; }
.task-start-row { display: flex; justify-content: flex-end; margin-top: 12px; }
.muted-inline { color: #8b97aa; font-size: 11px; }

@media (max-width: 1180px) {
  .execution-metric-grid { grid-template-columns: repeat(3, 1fr); }
  .execution-layout { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .execution-metric-grid, .execution-summary-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .task-action-columns, .task-detail-grid, .task-advanced-grid, .weekly-summary-grid, .weekly-feedback-form { grid-template-columns: 1fr; }
  .weekly-summary-grid > section:first-child { grid-row: auto; }
  .weekly-status-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .task-detail-wide { grid-column: auto; }
  .task-step-table-head { display: none; }
  .task-step-row { grid-template-columns: 30px 1fr; }
  .task-step-note, .task-step-row > button { grid-column: 2; }
  .task-effect-form label, .task-work-record-grid, .task-metric-row { grid-template-columns: 1fr; }
  .task-metric-head { display: none; }
  .execution-table th { display: none; }
  .execution-table tr { display: grid; padding: 10px 12px; border-top: 1px solid #eef1f5; }
  .execution-table td { display: flex; justify-content: space-between; gap: 12px; padding: 6px 3px; border: 0; white-space: normal; }
  .execution-table td::before { content: attr(data-label); color: #8a97aa; font-size: 10px; }
}
@media (max-width: 420px) {
  .execution-metric.goal strong { font-size: 14px; }
}
