.sample-execution-view { display: grid; gap: 18px; }
.sample-execution-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.sample-execution-heading h2 { margin: 3px 0 7px; color: #1f3940; font-size: 25px; }
.sample-execution-heading p { max-width: 820px; margin: 0; color: #637d84; line-height: 1.45; }

.sample-foundation-card { display: flex; align-items: center; gap: 13px; padding: 15px; border: 1px solid #d5cceb; border-left: 4px solid #715da6; border-radius: 11px; background: #faf8ff; }
.sample-foundation-card > span { display: grid; flex: 0 0 33px; place-items: center; width: 33px; height: 33px; border-radius: 8px; color: #fff; background: #715da6; }
.sample-foundation-card div { display: grid; gap: 3px; }
.sample-foundation-card small { color: #685692; font-size: 10px; font-weight: 800; letter-spacing: .07em; }
.sample-foundation-card strong { color: #413b5a; font-size: 14px; }
.sample-foundation-card p { margin: 0; color: #6e778a; font-size: 12px; line-height: 1.4; }
.sample-foundation-card .btn { margin-left: auto; white-space: nowrap; }

.sample-method-summary { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); overflow: hidden; border: 1px solid #d8e3e5; border-radius: 11px; background: #fff; }
.sample-method-summary > div { display: grid; gap: 3px; min-width: 0; padding: 13px 14px; border-right: 1px solid #e1e9ea; }
.sample-method-summary > div:last-child { border-right: 0; }
.sample-method-summary small { color: #6a5896; font-size: 9px; font-weight: 800; letter-spacing: .07em; }
.sample-method-summary strong { overflow: hidden; color: #354f57; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.sample-method-summary span { overflow: hidden; color: #71848a; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.sample-method-not-ready { display: flex; align-items: center; gap: 11px; padding: 13px 15px; border: 1px solid #ebd098; border-radius: 10px; background: #fff9eb; }
.sample-method-not-ready > span { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 8px; color: #78500d; background: #f0c66f; font-weight: 800; }
.sample-method-not-ready > div { display: grid; gap: 2px; }
.sample-method-not-ready strong { color: #644d25; font-size: 12px; }
.sample-method-not-ready p { margin: 0; color: #847458; font-size: 11px; }
.sample-method-not-ready a { margin-left: auto; color: #7b5b20; font-size: 11px; font-weight: 800; white-space: nowrap; }

.sample-run-intro { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 20px; padding: 20px; border: 1px solid #d9e5e7; border-radius: 12px; background: #fff; }
.sample-run-intro > div:first-child { display: grid; gap: 4px; }
.sample-run-intro h3 { margin: 0; color: #274148; font-size: 18px; }
.sample-run-intro p { margin: 0; color: #70868c; font-size: 13px; line-height: 1.4; }
.sample-run-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sample-run-switch button { display: flex; align-items: center; gap: 10px; padding: 13px; border: 1px solid #cfdde0; border-radius: 10px; color: #40575e; background: #fbfdfd; text-align: left; cursor: pointer; }
.sample-run-switch button:hover { border-color: #9789c3; background: #faf8ff; }
.sample-run-switch button.active { border-color: #715ca6; box-shadow: inset 0 0 0 1px #715ca6; background: #f1edfb; }
.sample-run-switch button > span { display: grid; flex: 0 0 29px; place-items: center; width: 29px; height: 29px; border-radius: 8px; color: #69569b; background: #eee9f9; font-size: 12px; font-weight: 800; }
.sample-run-switch button.active > span { color: #fff; background: #715da6; }
.sample-run-switch button div { display: grid; gap: 2px; }
.sample-run-switch strong { font-size: 13px; }
.sample-run-switch small { color: #74868b; font-size: 11px; }

.sample-lifecycle { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr; align-items: center; padding: 15px 18px; border: 1px solid #d6e3e5; border-radius: 11px; background: #f9fbfc; }
.sample-lifecycle > div { display: grid; grid-template-columns: auto 1fr; column-gap: 9px; align-items: center; }
.sample-lifecycle span { display: grid; grid-row: span 2; place-items: center; width: 27px; height: 27px; border-radius: 50%; color: #665394; background: #ece8f7; font-size: 12px; font-weight: 800; }
.sample-lifecycle strong { color: #44545d; font-size: 12px; }
.sample-lifecycle small { color: #74888e; font-size: 10px; line-height: 1.3; }
.sample-lifecycle > i,.finding-action-chain > i { padding: 0 8px; color: #b2aaca; font-size: 24px; font-style: normal; }

.sample-flow-card { padding: 20px; border: 1px solid #d6e4e6; border-radius: 13px; background: #fff; }
.sample-flow-card > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.sample-flow-card > header div { display: grid; gap: 4px; }
.sample-flow-card h3 { margin: 0; color: #273e46; font-size: 20px; }
.sample-flow-card > header p { max-width: 820px; margin: 0; color: #667f85; font-size: 13px; line-height: 1.45; }
.sample-status { padding: 6px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.sample-status.purple { color: #665491; background: #eeeafa; }
.sample-status.teal { color: #08766f; background: #e0f2ef; }

.sample-execution-lanes { display: grid; gap: 9px; }
.sample-lane { display: grid; grid-template-columns: minmax(210px, .58fr) minmax(0, 1.42fr); border: 1px solid #dce7e8; border-radius: 10px; overflow: hidden; }
.sample-lane-label { display: flex; align-items: center; gap: 10px; padding: 14px; border-right: 1px solid #dce7e8; background: #fafbfc; }
.sample-lane-label > span { display: grid; flex: 0 0 28px; place-items: center; width: 28px; height: 28px; border-radius: 8px; color: #675495; background: #eeeaf9; font-size: 12px; font-weight: 800; }
.sample-lane-label div { display: grid; gap: 2px; }
.sample-lane-label small { color: #6c7d91; font-size: 9px; font-weight: 800; letter-spacing: .05em; }
.sample-lane-label strong { color: #40535d; font-size: 13px; }
.sample-lane-action { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 13px 15px; }
.sample-lane-action > span { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 8px; color: #fff; background: #715da6; font-size: 13px; font-weight: 800; }
.sample-lane.executor .sample-lane-action > span { background: #3d7d98; }
.sample-lane.reviewer .sample-lane-action > span { background: #4b7d76; }
.sample-lane-action div { display: grid; gap: 3px; }
.sample-lane-action strong { color: #2d4b53; font-size: 13px; }
.sample-lane-action p { margin: 0; color: #677f85; font-size: 12px; line-height: 1.4; }
.sample-lane-action small { color: #416f71; font-size: 11px; font-weight: 700; }
.sample-task-card { margin-top: 16px; overflow: hidden; border: 1px solid #d7d2e8; border-radius: 10px; background: #fbfaff; }
.sample-task-card header { display: flex; justify-content: space-between; padding: 10px 13px; border-bottom: 1px solid #e3dff0; }
.sample-task-card header span { color: #6a5799; font-size: 10px; font-weight: 800; letter-spacing: .06em; }
.sample-task-card header strong { color: #655d78; font-size: 11px; }
.sample-task-card > div { display: grid; grid-template-columns: auto minmax(0,1fr) auto auto; gap: 12px; align-items: center; padding: 13px; }
.sample-task-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; color: #fff; background: #705da4; font-weight: 800; }
.sample-task-card section { display: grid; gap: 3px; }
.sample-task-card section small { color: #745fa3; font-size: 9px; font-weight: 800; letter-spacing: .06em; }
.sample-task-card section strong { color: #3d495b; font-size: 13px; }
.sample-task-card p { margin: 0; color: #6a7b86; font-size: 12px; }
.sample-deadline { padding: 5px 8px; border-radius: 999px; color: #97601e; background: #fff0d7; font-size: 11px; font-weight: 800; white-space: nowrap; }

.sample-team-layout { display: grid; gap: 12px; }
.sample-team-phase { padding: 15px; border: 1px solid #dce7e8; border-radius: 10px; background: #fcfefe; }
.sample-team-phase > header { display: flex; align-items: flex-start; gap: 10px; }
.sample-team-phase > header > span { display: grid; flex: 0 0 28px; place-items: center; width: 28px; height: 28px; border-radius: 8px; color: #fff; background: #705da4; font-size: 12px; font-weight: 800; }
.sample-team-phase > header div { display: grid; gap: 3px; }
.sample-team-phase > header small { color: #6c5c94; font-size: 9px; font-weight: 800; letter-spacing: .06em; }
.sample-team-phase > header strong { color: #364e56; font-size: 14px; }
.sample-team-phase > header p { margin: 0; color: #6c8287; font-size: 12px; line-height: 1.4; }
.sample-work-package-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 13px; }
.sample-work-package-grid article { display: grid; grid-template-columns: 1fr auto; gap: 3px; padding: 12px; border: 1px solid #d7e3e5; border-radius: 9px; background: #fff; }
.sample-work-package-grid span { grid-column: 1 / -1; color: #697f84; font-size: 9px; font-weight: 800; letter-spacing: .07em; }
.sample-work-package-grid strong { color: #314d56; font-size: 13px; }
.sample-work-package-grid small { color: #72868b; font-size: 11px; }
.sample-work-package-grid b { align-self: end; padding: 4px 7px; border-radius: 999px; color: #297164; background: #e3f3ed; font-size: 10px; white-space: nowrap; }
.sample-work-package-grid article + article b { color: #87621d; background: #fff2d8; }
.sample-item-snapshot { overflow: hidden; margin-top: 13px; border: 1px solid #d9e6e7; border-radius: 9px; }
.sample-item-row { display: grid; grid-template-columns: .7fr 1.65fr .85fr .7fr; gap: 10px; align-items: center; padding: 10px 12px; border-top: 1px solid #e4edef; color: #677e84; font-size: 12px; }
.sample-item-row:first-child { border-top: 0; }
.sample-item-row strong { color: #39525a; }
.sample-source-link { color: #377582; font-size: 11px; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.sample-source-link.unavailable { color: #9b6d28; text-decoration-style: dashed; }
.sample-item-row b { justify-self: start; padding: 4px 7px; border-radius: 999px; font-size: 10px; white-space: nowrap; }
.sample-item-row.item-head { color: #6d8388; background: #f6fafa; font-size: 9px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.item-ok { color: #29705f; background: #ddf1e7; }
.item-alert { color: #a04d44; background: #fff0ee; }
.item-missing { color: #9a6a1e; background: #fff1d7; }
.sample-consolidation { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin-top: 13px; }
.sample-consolidation article { display: grid; gap: 2px; padding: 11px; border: 1px solid #d9e6e7; border-radius: 8px; background: #fff; }
.sample-consolidation article > span { color: #3a706d; font-family: Georgia, serif; font-size: 24px; font-weight: 700; }
.sample-consolidation article small { color: #71868b; font-size: 10px; }
.sample-consolidation article.deviation > span { color: #a05049; }
.sample-consolidation article.untestable > span { color: #a27022; }
.sample-consolidation > div { grid-column: 1 / -1; display: grid; gap: 3px; padding: 12px; border: 1px solid #cce0da; border-radius: 8px; background: #f5fbf8; }
.sample-consolidation > div strong { color: #31554d; font-size: 13px; }
.sample-consolidation > div p { margin: 0; color: #668079; font-size: 12px; line-height: 1.4; }

.sample-actions-flow { padding: 20px; border: 1px solid #edd7a6; border-radius: 13px; background: #fffdf8; }
.sample-actions-flow > header { display: grid; gap: 4px; }
.sample-actions-flow h3 { margin: 0; color: #4f4127; font-size: 19px; }
.sample-actions-flow p { margin: 0; color: #7d725e; font-size: 13px; line-height: 1.4; }
.finding-action-chain { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: stretch; gap: 2px; margin-top: 16px; }
.finding-action-chain article { display: grid; grid-template-columns: auto 1fr; gap: 9px; align-items: start; padding: 12px; border: 1px solid #ecdcb8; border-radius: 9px; background: #fff; }
.finding-action-chain article > span { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 8px; color: #99651d; background: #fff0ce; font-weight: 800; }
.finding-action-chain article div { display: grid; gap: 3px; }
.finding-action-chain small { color: #92754b; font-size: 9px; font-weight: 800; letter-spacing: .06em; }
.finding-action-chain strong { color: #5b492d; font-size: 12px; }
.finding-action-chain p { color: #7e755f; font-size: 11px; }
.finding-action-chain > i { align-self: center; }
.sample-action-boundary { display: flex; align-items: start; gap: 9px; margin-top: 14px; padding-top: 13px; border-top: 1px solid #ecdfc4; }
.sample-action-boundary > span { color: #ae7e34; font-size: 17px; font-weight: 800; }
.sample-action-boundary p { margin: 0; color: #776e5c; font-size: 12px; }
.sample-action-boundary strong { color: #604c30; }

.sample-record-model { padding: 20px; border: 1px solid #d9d2eb; border-radius: 13px; background: #faf9fe; }
.sample-record-model > header { display: grid; gap: 4px; }
.sample-record-model h3 { margin: 0; color: #413d59; font-size: 19px; }
.sample-record-model > div { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.sample-record-model article { display: grid; gap: 5px; padding: 13px; border: 1px solid #ded9ed; border-radius: 9px; background: rgba(255,255,255,.8); }
.sample-record-model article > span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; color: #685697; background: #eeeaf9; font-size: 11px; font-weight: 800; }
.sample-record-model article strong { color: #4e4b64; font-size: 13px; }
.sample-record-model article p { margin: 0; color: #747c8d; font-size: 12px; line-height: 1.4; }
.sample-record-model > footer { display: flex; gap: 9px; align-items: start; margin-top: 14px; padding-top: 13px; border-top: 1px solid #e0dced; }
.sample-record-model > footer > span { color: #705da4; font-size: 17px; font-weight: 800; }
.sample-record-model > footer p { margin: 0; color: #697586; font-size: 12px; line-height: 1.45; }
.sample-record-model > footer strong { color: #4d4963; }

@media (max-width: 1050px) {
    .sample-method-summary { grid-template-columns: 1fr 1fr; }
    .sample-method-summary > div:nth-child(2) { border-right: 0; }
    .sample-method-summary > div:nth-child(-n+2) { border-bottom: 1px solid #e1e9ea; }
    .sample-run-intro { grid-template-columns: 1fr; }
    .sample-lifecycle { grid-template-columns: 1fr auto 1fr auto 1fr; gap: 10px; }
    .sample-lifecycle > div:nth-of-type(4) { grid-column: 1; }
    .sample-lifecycle > i:nth-of-type(3) { display: none; }
    .finding-action-chain { grid-template-columns: 1fr auto 1fr; row-gap: 8px; }
    .finding-action-chain article:nth-of-type(3) { grid-column: 1; }
    .finding-action-chain > i:nth-of-type(2) { display: none; }
    .sample-record-model > div { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
    .sample-method-not-ready { align-items: flex-start; flex-wrap: wrap; }
    .sample-method-not-ready a { margin-left: 40px; }
    .sample-execution-heading,.sample-flow-card > header { display: grid; }
    .prototype-chip { justify-self: start; }
    .sample-foundation-card { align-items: flex-start; flex-wrap: wrap; }
    .sample-foundation-card .btn { margin-left: 46px; }
    .sample-lifecycle { grid-template-columns: 1fr; }
    .sample-lifecycle > i { display: none; }
    .sample-lifecycle > div:nth-of-type(4) { grid-column: auto; }
    .sample-lane { grid-template-columns: 1fr; }
    .sample-lane-label { border-right: 0; border-bottom: 1px solid #dce7e8; }
    .sample-task-card > div { grid-template-columns: auto 1fr; }
    .sample-task-card .sample-deadline,.sample-task-card .btn { grid-column: 2; justify-self: start; }
    .sample-item-row { grid-template-columns: 1fr 1.4fr 1fr; }
    .sample-item-row b { grid-column: 2; }
}
@media (max-width: 460px) {
    .sample-method-summary { grid-template-columns: 1fr; }
    .sample-method-summary > div { border-right: 0; border-bottom: 1px solid #e1e9ea; }
    .sample-method-summary > div:last-child { border-bottom: 0; }
    .sample-run-switch,.sample-work-package-grid,.sample-record-model > div,.sample-consolidation { grid-template-columns: 1fr; }
    .sample-flow-card,.sample-actions-flow,.sample-record-model,.sample-run-intro { padding: 15px; }
    .sample-item-row { grid-template-columns: 1fr; gap: 4px; }
    .sample-item-row.item-head { display: none; }
    .sample-item-row b { grid-column: auto; }
    .finding-action-chain { grid-template-columns: 1fr; }
    .finding-action-chain > i { display: none; }
    .finding-action-chain article:nth-of-type(3) { grid-column: auto; }
}
