/* D05 uses the AO series palette and a shared synthetic decision model. */
.d05-page{color:#183242;background:#f7f9f7;line-height:1.75}
.d05-page *, .d05-page *::before, .d05-page *::after{box-sizing:border-box}
.d05-wrap{width:min(1140px,calc(100% - 48px));margin-inline:auto;min-width:0}
.d05-page section[id]{scroll-margin-top:110px}
.d05-enhanced #lab{scroll-margin-top:0}
.d05-page a:focus-visible,.d05-page button:focus-visible,.d05-page summary:focus-visible{outline:3px solid #56c7ba;outline-offset:4px}
.d05-page button{font:inherit;cursor:pointer}
.d05-page h1,.d05-page h2,.d05-page h3,.d05-page h4{line-height:1.25;letter-spacing:-.025em}
.d05-page p{line-height:1.83}
.d05-hero{background:linear-gradient(140deg,#102935,#204e57);color:#edf8f5;padding:18px 0 40px}
.d05-hero .ao-series-nav{margin-bottom:0}
.d05-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
    grid-template-areas: "title art" "lead art" "task art";
    gap: 16px clamp(20px, 4vw, 58px);
    align-items: center;
    padding: 40px 0 28px;
}
.d05-hero h1{grid-area:title;font-size:clamp(2.25rem,4.3vw,3.55rem);font-weight:850;color:#fff;margin:0;max-width:680px;text-wrap:balance}
.d05-lead{grid-area:lead;font-size:clamp(1.03rem,1.5vw,1.24rem);color:#dcece9;max-width:680px;margin:0}
.d05-hero-task {
    grid-area: task;
    min-width: 0;
    overflow-wrap: anywhere;
    border: 1px solid #648d90;
    border-left: 3px solid #86d8c4;
    border-radius: 12px;
    background: #153741;
    padding: 24px 26px;
}
#d05-task-label {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2px 12px;
    color: #a7e6d7;
    font-size: .86rem;
    font-weight: 760;
    margin: 0 0 8px;
}
#d05-task-label span { color: #cee5e1; font-weight: 600; }
.d05-task-request {
    color: #f5fffb;
    font-size: clamp(1.1rem, 2vw, 1.43rem);
    font-weight: 700;
    margin: 0;
}
.d05-hero-task a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    gap: 8px;
    color: #b9f4e2;
    font-weight: 750;
    text-underline-offset: .2em;
    margin-top: 4px;
}
.d05-hero-art {
    grid-area: art;
    min-width: 0;
    margin: 0;
}
.d05-hero-art a {
    display: block;
    border: 1px solid #648d90;
    border-radius: 12px;
    cursor: zoom-in;
}
.d05-hero-art img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: inherit;
}
.d05-hero-art figcaption {
    margin-top: 8px;
    color: #d4e8e5;
    font-size: .82rem;
}
.d05-author {
    border-top: 1px solid #5c8790;
    padding-top: 16px;
    color: #d4e8e5;
    font-size: .94rem;
    margin: 0;
    max-width: 78ch;
}
.d05-page-dates{margin:12px 0 0;color:#bad5d3;font-size:.8rem}
.d05-section{padding:64px 0}
.d05-section h2{font-size:clamp(1.7rem,3vw,2.65rem);font-weight:850;color:#193544;margin:0 0 22px;max-width:820px}
.d05-section-lead{font-size:1.1rem;color:#455e67;max-width:760px;margin:0 0 32px}
.d05-challenge{background:#f4f8f7}
.d05-route-table{width:100%;table-layout:fixed;border-collapse:collapse;color:#415c65}
.d05-route-table caption{text-align:left;font-size:.9rem;font-weight:750;color:#345b5b;margin:0 0 12px}
.d05-route-table th,.d05-route-table td{text-align:left;vertical-align:top;padding:16px;border-bottom:1px solid #bdcdcc;overflow-wrap:anywhere}
.d05-route-table thead th{background:#e3eeea;color:#23454b;font-size:.88rem}
.d05-route-table th:first-child,.d05-route-table th:nth-child(2){width:25%}
.d05-route-table tbody th{color:#23454b;font-weight:750}
.d05-route-note{max-width:800px;color:#455e67;margin:20px 0 0}
.d05-lab{background:#112e3b;color:#eaf5f4}
.d05-lab h2{color:#fff;margin:0 0 15px}
.d05-lab-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}
.d05-lab-heading p{max-width:800px;color:#bdd3d8;margin:0 0 22px}
.d05-lab-heading .d05-lab-name{color:#a3decf;font-size:.81rem;font-weight:750;margin:0 0 8px}
.d05-synthetic-label{flex:none;display:inline-block;border:1px solid #6baca5;color:#b8eddf;background:#164c52;border-radius:100px;padding:5px 13px;font-size:.75rem;font-weight:750;white-space:nowrap}
.d05-review-board {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    overflow: hidden;
    background: #f7fbf9;
    color: #24454d;
    border: 1px solid #92b7b4;
    border-radius: 14px;
}
.d05-review-source{min-width:0;padding:26px;background:#e7f1ed;border-right:1px solid #c7dcd6}
.d05-review-source h3{font-size:1.1rem;color:#254f4a;margin:0 0 18px}
.d05-source-records{margin:0}
.d05-source-records>div{border-top:1px solid #c7dcd6;padding:12px 0}
.d05-source-records dt{font-size:.82rem;font-weight:750;color:#3c6760}
.d05-source-records dd{margin:4px 0 0;overflow-wrap:anywhere}
.d05-source-records>div:last-child dd{font-weight:700;color:#234e45}
.d05-review-result{min-width:0;padding:26px}
.d05-review-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    max-width: 480px;
    margin-bottom: 16px;
}
.d05-review-options button {
    min-height: 44px;
    padding: 8px;
    border: 1px solid #637f77;
    border-radius: 7px;
    background: #fff;
    color: #205851;
    font-weight: 750;
    overflow-wrap: anywhere;
}
.d05-review-options button:hover { background: #e1f4ed; }
.d05-review-options button[aria-pressed=true] { background: #19594f; border-color: #19594f; color: #fff; }
.d05-review-label { color: #406861; font-size: .8rem; font-weight: 750; margin: 0 0 4px; }
.d05-review-result h3 { color: #153e42; font-size: clamp(1.3rem, 2.5vw, 1.75rem); margin: 0 0 12px; }
.d05-review-result dl { margin: 0; }
.d05-review-result dl > div { border-top: 1px solid #d3e3de; padding: 9px 0; }
.d05-review-result dt { color: #3c6760; font-size: .82rem; font-weight: 750; }
.d05-review-result dd { margin: 2px 0 0; }
.d05-handoff-flow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    list-style: decimal;
    padding: 22px 0 0 22px;
    margin: 26px 0 0;
    border-top: 1px solid #55737c;
}
.d05-handoff-flow li{padding:0 12px 0 0;color:#a3decf}
.d05-handoff-flow strong, .d05-handoff-flow span { display: block; }
.d05-handoff-flow strong { color: #d9f1ed; }
.d05-handoff-flow span { font-size: .93rem;color:#bdd3d8;margin-top:6px; }
.d05-advanced { margin-top: 20px; border: 1px solid #688e95; border-radius: 10px; }
.d05-advanced summary { color: #d9f1ed; cursor: pointer; font-weight: 720; padding: 11px 16px; }
.d05-advanced-content { margin: 2px 14px 14px; }
.d05-advanced-intro{font-size:.94rem;color:#c8dfdf;max-width:80ch;margin:8px 0 20px}
.d05-interactive{display:none}
.d05-enhanced .d05-interactive{display:block}
.d05-enhanced .d05-fallback{display:none}
.d05-scenario-group{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 12px}
.d05-scenario{border:1px solid #63838a;border-radius:9px;background:#173742;color:#dcefea;padding:10px 19px;min-height:48px;font-weight:750}
.d05-scenario:hover,.d05-scenario[aria-pressed=true]{border-color:#6ee1c6;background:#dcf8e9;color:#103a3d}
.d05-stop-picker{margin:0 0 13px;background:#203f4b;border-radius:10px;padding:13px 15px;border:1px solid #56737d}
.d05-stop-picker[hidden]{display:none}
.d05-picker-label{font-size:.78rem;color:#a6d6ce;font-weight:800;margin-right:10px}
.d05-stop-options{display:inline-flex;flex-wrap:wrap;gap:8px;margin-top:3px}
.d05-stop-options button{background:#284c56;color:#dcebea;border:1px solid #627f84;border-radius:7px;padding:7px 10px;min-height:44px;font-size:.84rem}
.d05-stop-options button[aria-pressed=true]{color:#153c40;background:#d5efe8;border-color:#a9dfd0;font-weight:800}
.d05-workbench{background:#f1f7f5;color:#173a43;border-radius:17px;overflow:hidden;border:1px solid #a3bbc0;box-shadow:0 30px 70px rgba(0,12,21,.25)}
.d05-workbench-head{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#deefec;border-bottom:1px solid #c0d4d4;padding:20px 25px}
.d05-workbench-head h3{color:#153a43;margin:4px 0;font-size:1.4rem}
.d05-workbench-head p{margin:0;font-size:.92rem;color:#435f67}
.d05-runtime-tag{flex:none;font-size:.78rem;font-weight:750;background:#173a45;color:#abebd8;padding:6px 10px;border-radius:8px}
.d05-workbench-body{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr)}
.d05-timeline-col{padding:24px;border-right:1px solid #c5d8d5;min-width:0}
.d05-decision-col{padding:24px 27px;min-width:0;background:#f9fcfa}
.d05-panel-label{margin:0 0 15px!important;font-size:.77rem!important;color:#648078!important;font-weight:840;letter-spacing:.045em;display:flex;justify-content:space-between}
.d05-flow-steps{list-style:none;padding:0;margin:0 0 20px}
.d05-flow-steps li{position:relative;border-left:3px solid #b8d1cc;margin-left:10px;padding:0 0 22px 23px;min-height:56px;color:#627978}
.d05-flow-steps li::before{content:"";width:13px;height:13px;border:2px solid #7fa9a3;background:#f1f7f5;border-radius:50%;position:absolute;left:-8px;top:5px}
.d05-flow-steps li:last-child{padding-bottom:0;border-color:transparent}
.d05-flow-steps li strong{display:block;line-height:1.3;color:#455f64}
.d05-flow-steps li span{display:block;font-size:.86rem;line-height:1.6}
.d05-flow-steps li.is-current strong,.d05-flow-steps li.is-done strong{color:#0d6257}
.d05-flow-steps li.is-current{border-color:#158678}
.d05-flow-steps li.is-current::before{background:#168d7c;border-color:#168d7c;box-shadow:0 0 0 4px #d3eee6}
.d05-flow-steps li.is-done::before{background:#d5efe6;border-color:#449b87}
.d05-flow-steps li.is-blocked::before{background:#d9ac68;border-color:#aa773b}
.d05-playback{display:flex;flex-wrap:wrap;gap:8px}
.d05-playback button{background:#fff;border:1px solid #93ada9;color:#1b4d4f;border-radius:8px;padding:8px 12px;font-size:.87rem;font-weight:700;min-height:44px}
.d05-playback button:hover:not([aria-disabled=true]){background:#d8f3e8;border-color:#237f6c}
.d05-playback button[aria-disabled=true]{cursor:not-allowed;color:#687d79;background:#edf2ef;border-color:#c5d2ce}
.d05-playback button[aria-pressed=true]{background:#185c56;color:#fff;border-color:#185c56}
.d05-decision-state{display:inline-flex;background:#d7f0e6;color:#0b6657;border-radius:100px;font-size:.77rem!important;font-weight:850;padding:4px 12px;margin:0 0 12px!important}
.d05-decision-state[data-tone=blocked]{background:#fbe9c8;color:#855018}
.d05-decision-state[data-tone=human]{background:#eadff6;color:#654282}
.d05-decision-state[data-tone=pending]{background:#e3ebf1;color:#3e6078}
.d05-decision-col h4{font-size:1.28rem;color:#183a46;margin:4px 0 9px}
.d05-decision-col>p:not(.d05-panel-label):not(.d05-decision-state){color:#405b60;margin:0 0 18px}
.d05-evidence-list{display:grid;gap:0;margin:20px 0}
.d05-evidence-list div{display:grid;grid-template-columns:100px minmax(0,1fr);gap:14px;border-top:1px solid #d9e5e0;padding:10px 0}
.d05-evidence-list dt{color:#66817e;font-size:.82rem;font-weight:770}
.d05-evidence-list dd{color:#245158;font-size:.9rem;margin:0;overflow-wrap:anywhere}
.d05-decision-footer{background:#e6f3ee;border-left:3px solid #319784;border-radius:4px;padding:12px 15px}
.d05-rail-label{font-size:.76rem;font-weight:800;color:#41756a}
.d05-decision-footer p{margin:3px 0 0;font-weight:720;font-size:.91rem;color:#184844}
.d05-fallback{background:#f4f8f6;color:#294e50;border:1px solid #accdc5;border-radius:13px;padding:25px}
.d05-fallback h3{color:#174647;margin:0 0 14px}
.d05-fallback h4{color:#185a56;margin:12px 0 4px}
.d05-fallback p{margin:0 0 10px}
.d05-fallback-stops{margin:0}
.d05-fallback-stops>div{padding:10px 0;border-top:1px solid #c7dcd6}
.d05-fallback-stops dt{font-weight:750;color:#185a56}
.d05-fallback-stops dd{margin:3px 0 0}

.d05-governance{background:#fff}
.d05-two-col{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:65px;align-items:start}
.d05-rule-sheet{border-radius:15px;background:#f0f6f3;border:1px solid #c2d8d0;padding:25px}
.d05-rule-sheet dl{margin:0}
.d05-rule-sheet dl div{padding:14px 0;border-bottom:1px solid #d1e1dc}
.d05-rule-sheet dl div:last-child{border-bottom:0}
.d05-rule-sheet dt{font-weight:850;color:#224a4b}
.d05-rule-sheet dd{margin:3px 0 0;color:#536b6b;font-size:.94rem}
.d05-method{background:#eff5f2}
.d05-method-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.95fr);gap:55px;align-items:start}
.d05-method-story p{margin:0 0 20px;color:#476267;font-size:1.03rem}
.d05-responsibility-map{border-radius:15px;padding:18px 23px;background:#fff;border:1px solid #bdd2ce;box-shadow:0 13px 34px rgba(30,68,60,.07)}
.d05-map-row{display:grid;grid-template-columns:110px minmax(0,1fr);gap:14px;padding:14px 0;border-bottom:1px solid #d9e7e1;align-items:start;font-size:.92rem}
.d05-map-row:last-child{border:0}
.d05-map-row>span{color:#1e796e;font-size:.79rem;font-weight:850}
.d05-map-row strong{color:#2c4c54;font-weight:680}
.d05-deep-dive{margin-top:30px;border-radius:12px;border:1px solid #a6c9c3;background:#fff}
.d05-deep-dive summary{padding:17px 20px;cursor:pointer;font-weight:780;color:#1a655c}
.d05-deep-dive>div{border-top:1px solid #d3e2dd;padding:12px 20px 20px}
.d05-deep-dive p{margin:9px 0;color:#50676d}
.d05-deep-dive h3{font-size:1.08rem;color:#214d4d;margin:20px 0 12px}
.d05-evidence{background:#f9faf8}
.d05-evidence .d05-section-lead{margin-bottom:0}
.d05-measurement-notes{max-width:820px;margin-top:24px;color:#455e67}
.d05-measurement-notes p{margin:0 0 16px}
.d05-measurement-notes strong{color:#244c4d}
.d05-finale{background:linear-gradient(165deg,#e8f3ed,#eaf1f0)}
.d05-series-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;list-style:none;padding:0;margin:30px 0 36px}
.d05-series-list li{min-width:0;border:1px solid #bad2cc;border-radius:10px;background:#fff}
.d05-series-list li a{display:flex;flex-direction:column;gap:6px;height:100%;padding:16px 13px;color:#24494f;text-decoration:none}
.d05-series-list li a:hover{background:#e3f5ee;border-radius:10px}
.d05-series-list li>span,.d05-series-list a>span{font-size:.76rem;font-weight:860;color:#2d8274;letter-spacing:.04em}
.d05-series-list strong{font-weight:850;font-size:1.01rem}
.d05-series-list small{line-height:1.6;color:#52686b;font-size:.8rem}
.d05-series-list .d05-current-series{display:flex;flex-direction:column;gap:6px;padding:16px 13px;background:#194c53;color:#e4f5f2;border-color:#194c53}
.d05-series-list .d05-current-series span{color:#ace9d7}
.d05-series-list .d05-current-series small{color:#c4dfdb}
.d05-final-statement{border-top:1px solid #c2d7d1;padding-top:20px}
.d05-final-statement a{display:inline-block;padding:11px 16px;border:1px solid #1f7d70;border-radius:9px;color:#146b5d;text-decoration:none;font-size:.88rem;font-weight:750;flex:none}
.d05-final-statement a:hover{background:#d5eee6}
@media(max-width:1020px){
  .d05-hero-grid{column-gap:26px}
  .d05-two-col,.d05-method-layout{gap:28px}
  .d05-series-list{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:800px){
  .d05-hero-grid,.d05-two-col,.d05-method-layout{grid-template-columns:minmax(0,1fr)}
  .d05-hero-grid{grid-template-areas:"title" "lead" "task" "art";padding-top:32px}
  .d05-hero-task{max-width:550px}
  .d05-workbench-body{grid-template-columns:minmax(0,1fr)}
  .d05-timeline-col{border-right:0;border-bottom:1px solid #c5d8d5}
  .d05-flow-steps{display:grid;gap:9px}
  .d05-flow-steps li{border:1px solid #c9deda;border-left:4px solid #b8d1cc;margin:0;padding:12px 15px;border-radius:9px;min-height:0;background:#fff}
  .d05-flow-steps li::before{display:none}
  .d05-flow-steps li.is-current{border-left-color:#138a77;background:#e2f5ed}
  .d05-flow-steps li.is-done{border-left-color:#70b29b}
  .d05-timeline-col,.d05-decision-col{padding:20px}
    .d05-review-board {
        grid-template-columns: minmax(0, 1fr);
    }
    .d05-review-source{border-right:0;border-bottom:1px solid #c7dcd6}
    .d05-handoff-flow{grid-template-columns:minmax(0,1fr);gap:18px}
}
@media(max-width:620px){
    .d05-page .ao-header-inner {
        flex-wrap: wrap;
        gap: 0 12px;
        padding-block: 6px;
    }
    .d05-page .ao-brand {
        min-width: 0;
        white-space: normal;
        overflow-wrap: anywhere;
    }
    .d05-page .ao-brand-mark {
        flex: none;
    }
    .d05-page .ao-nav-toggle {
        margin-inline-start: auto;
        min-width: 44px;
        min-height: 44px;
    }
  .d05-wrap{width:min(100% - 32px,1140px)}
  .d05-hero{padding-bottom:34px}
  .d05-hero-grid{padding:22px 0 20px;gap:18px}
  .d05-hero h1{font-size:clamp(2rem,9.5vw,2.65rem)}
  .d05-lead{font-size:1.02rem}
  .d05-hero-task{padding:16px 18px}
  .d05-section{padding:46px 0}
  .d05-section h2{font-size:clamp(1.66rem,7vw,2rem)}
  .d05-section-lead{font-size:1rem}
  .d05-lab-heading{flex-direction:column;gap:0;margin-bottom:16px}
  .d05-lab-heading p{margin-bottom:10px}
    .d05-route-table th,.d05-route-table td{padding:12px 7px;font-size:.94rem}
    .d05-route-table thead th{font-size:.8rem}
    .d05-review-source,.d05-review-result{padding:20px}
    .d05-advanced-content { margin-inline: 8px; }
    .d05-synthetic-label {
        max-width: 100%;
        white-space: normal;
    }
  .d05-scenario-group{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  .d05-scenario{padding:9px 5px;font-size:.81rem;min-height:46px}
  .d05-stop-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;margin-top:8px}
  .d05-stop-options button{font-size:.8rem}
  .d05-workbench-head{padding:17px;flex-direction:column;align-items:flex-start}
    .d05-evidence-list div {
        grid-template-columns: min(40%, 87px) minmax(0, 1fr);
        gap: 8px;
    }
  .d05-decision-col{padding:20px 17px}
  .d05-playback{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
    .d05-map-row {
        grid-template-columns: min(40%, 92px) minmax(0, 1fr);
        gap: 7px;
    }
  .d05-series-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:360px){
    .d05-hero .ao-series-links {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 4px;
    }
    .d05-hero .ao-series-links :is(a, span) {
        width: 100%;
        padding: 3px 4px;
    }
    .d05-hero-grid{padding-top:12px;row-gap:12px}
    .d05-hero h1{font-size:1.875rem}
    .d05-hero-grid .d05-lead,
    .d05-hero-grid .d05-task-request{line-height:1.55}
    .d05-hero-task{padding-block:12px}
  .d05-series-list{grid-template-columns:minmax(0,1fr)}
  .d05-scenario{font-size:.76rem}
}

.d05-binding-panel{border:1px solid #ccded8;border-radius:11px;background:#f4f9f7;padding:14px 16px;margin:12px 0 22px}
.d05-binding-title{color:#245458;font-weight:820;margin:0 0 10px!important;font-size:.91rem}
.d05-binding-title small{display:block;color:#5e7474;font-size:.74rem;font-weight:600}
.d05-binding-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}
.d05-binding-grid div{background:#fff;border:1px solid #dae7e2;border-radius:7px;padding:9px 11px;min-width:0}
.d05-binding-grid dt{color:#587474;font-size:.75rem;font-weight:690;overflow-wrap:anywhere}
.d05-binding-grid dd{margin:3px 0 0;color:#194e56;font-size:.94rem;font-weight:820;overflow-wrap:anywhere}
.d05-version-verdict{margin:11px 0 0!important;font-size:.83rem;color:#286455;font-weight:780;overflow-wrap:anywhere}
.d05-version-verdict[data-compatible=false]{color:#805018}
.d05-binding-note{font-size:.8rem;color:#536d6b;margin:10px 0 0;line-height:1.6}
@media(max-width:360px){.d05-binding-grid{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){
  .d05-page *, .d05-page *::before,.d05-page *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
