/* Clear source evidence + readable semantic flows at every viewport width. */
.source-figure{margin:24px 0;min-width:0;background:#fff;border:1px solid #dbe3f7;border-radius:15px;overflow:hidden}
.source-figure .image-button{display:block;position:relative;width:100%;padding:14px;background:#f6f8fe;border:0;cursor:zoom-in}
.source-figure img{display:block;width:100%;height:auto;max-height:640px;object-fit:contain}
.source-figure figcaption{display:grid;gap:7px;padding:16px 20px;line-height:1.7;font-size:13px;color:#556381}
.source-figure figcaption b{font-size:16px;color:#172e57}.source-figure .zoom-label{font-size:11px}
.source-loop{--flow:#167e77;--flow-bg:#eaf8f3;margin:22px 0;border:1px solid color-mix(in srgb,var(--flow),transparent 76%);border-radius:16px;background:linear-gradient(120deg,#fff,var(--flow-bg));overflow:hidden}
.source-loop.loop-product{--flow:#ac6610;--flow-bg:#fff5e3}.source-loop.loop-score{--flow:#306bc6;--flow-bg:#edf4ff}
.source-loop>header{display:flex;align-items:center;gap:15px;padding:20px 22px;border-bottom:1px solid color-mix(in srgb,var(--flow),transparent 85%)}
.source-loop>header>span{display:grid;place-items:center;flex:0 0 40px;height:40px;border-radius:12px;background:var(--flow);color:white;font-size:20px;font-weight:850}
.source-loop>header h3{font-size:23px!important;color:var(--flow)!important;margin:0 0 6px!important;line-height:1.4}
.source-loop>header p{font-size:13px;color:#50627e;margin:0}.source-loop>header>b{margin-left:auto;font-size:12px;color:var(--flow);white-space:nowrap}
.source-flow{list-style:none;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px;padding:22px!important;margin:0!important;counter-reset:none}
.source-flow li{position:relative;min-width:0;padding:13px 10px!important;border:1px solid color-mix(in srgb,var(--flow),transparent 80%);border-radius:10px;background:#ffffffc9;margin:0!important}
.source-flow li:not(:last-child)::after{content:'→';position:absolute;right:-16px;top:43%;color:var(--flow);font-weight:900}
.source-flow li>span{font-size:11px;letter-spacing:1px;color:var(--flow);font-weight:800}
.source-flow h4{font-size:15px!important;line-height:1.5;margin:7px 0!important;color:#183455!important}.source-flow p{font-size:12px;line-height:1.8;color:#52617b;margin:0}
.source-loop-result{padding:0 22px 20px;margin:0;font-size:13px;line-height:1.9;color:#334967}.source-loop-result b{color:var(--flow);margin-right:8px}
.source-rule-note,.source-stage-note{padding:16px 19px;border-left:4px solid #7c7ddd;background:#eff1ff;border-radius:0 9px 9px 0;font-size:13px;line-height:1.95;color:#445577}
.source-system-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:start;gap:24px}.source-system-layout>.source-figure{margin:0}
.source-system-layout .source-figure img{max-height:760px}
.source-layer-list{display:grid;gap:12px}.source-layer-list article{display:flex;gap:15px;background:linear-gradient(120deg,#fff,#eef2ff);border:1px solid #dce3f7;border-radius:12px;padding:17px}
.source-layer-list article>span{font-size:20px;font-weight:900;color:#666ddd}.source-layer-list h3{font-size:18px!important;color:#20385e!important;margin:0 0 8px!important}.source-layer-list p{font-size:13px;line-height:1.9;margin:0;color:#536580}
.source-tool-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:26px 0}.source-tool-grid article{padding:24px;background:#fff;border:1px solid #dce4f6;border-radius:14px}.source-tool-grid article>span{display:inline-block;background:#eeedff;color:#6055c8;border-radius:8px;padding:6px 12px;font-size:24px;font-weight:900}
.source-tool-grid h3{font-size:22px!important;margin:15px 0 10px!important;color:#233c6a!important}.source-tool-grid p,.source-tool-grid li{font-size:13px;line-height:1.9;color:#536380}.source-tool-grid ul{padding-left:18px}.source-tool-grid a{display:inline-block;margin-top:10px;color:#4b54c0;font-size:13px;font-weight:800}
.source-boundaries,.source-audit-note{padding:22px;border-radius:14px;background:#f0f4fc;border:1px solid #dce5f5;margin-top:24px}.source-boundaries h3,.source-audit-note h3{font-size:21px!important;color:#203b64!important;margin-top:0}.source-boundaries li,.source-audit-note p{font-size:13px;line-height:1.95;color:#475d7c;margin:12px 0}
.source-details{border:1px solid #dce1f2;border-radius:12px;padding:18px 22px;margin:24px 0;background:#fff}.source-details summary{font-size:16px;font-weight:800;color:#394e7a;cursor:pointer;line-height:1.7}.source-details>p{font-size:13px;line-height:1.9;color:#536580}.source-details a,.source-documents a,.source-audit-note a{display:inline-block;padding:12px 18px;background:#e7eaff;border:1px solid #ced6fc;border-radius:9px;font-size:14px;font-weight:750;color:#3c49ad}
.source-extra-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.source-extra-grid .source-figure{margin:0 0 15px}.source-documents>p{font-size:14px;line-height:2;color:#526481}
/* Never shrink two dense interface screenshots into unreadable miniature columns. */
.cockpit-crm .crm-gallery{grid-template-columns:minmax(0,1fr)!important}.cockpit-crm .crm-shot img{width:100%;height:auto;max-height:650px;object-fit:contain}.cockpit-crm .crm-shot .image-button{background:#f4f7fc}.cockpit-crm .crm-shot figcaption{line-height:1.8}
.cockpit-case .stage-evidence .image-button img{width:100%;height:auto;object-fit:contain;max-height:700px}
@media(max-width:1100px){.source-flow{grid-template-columns:repeat(3,minmax(0,1fr))}.source-flow li:nth-child(3)::after{content:'↓';right:45%;top:auto;bottom:-20px}.source-system-layout{grid-template-columns:1fr 1fr}.source-loop>header{flex-wrap:wrap}.source-loop>header>b{margin-left:55px}}
@media(max-width:760px){.source-system-layout,.source-tool-grid{grid-template-columns:1fr}.source-loop>header{padding:16px;gap:12px}.source-loop>header h3{font-size:20px!important}.source-loop>header>b{margin-left:52px}.source-flow{grid-template-columns:1fr;gap:17px;padding:16px!important}.source-flow li{display:grid;grid-template-columns:30px 1fr;align-items:center;column-gap:7px;padding:11px 14px!important}.source-flow li>span{grid-row:1/3;font-size:15px}.source-flow h4{font-size:16px!important;margin:0!important}.source-flow p{grid-column:2}.source-flow li:not(:last-child)::after,.source-flow li:nth-child(3)::after{content:'↓';right:50%;top:auto;bottom:-20px}.source-loop-result{padding:0 16px 16px}.source-figure .image-button{padding:6px}.source-figure figcaption{padding:13px}.source-extra-grid{grid-template-columns:1fr}.source-details{padding:16px}.source-boundaries{padding:17px}.source-documents>p{font-size:13px}}
