/* A single editorial concept, not a dashboard or compliance measurement. */
.governance-studio { --gov-accent: #7ce4ce; position: relative; isolation: isolate; padding: 18px 0 0; }
.gov-masthead { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-bottom: 16px; border-bottom: 1px solid #294451; color: #96bdcb; font: 10px/1.8 Consolas, monospace; letter-spacing: .06em; }
.gov-masthead::before { content: ""; position: absolute; top: 0; left: 0; width: 50px; height: 2px; background: #65dfca; }
.gov-concept { color: #849fb2; font-size: 9px; text-align: right; }
.gov-art { position: relative; margin: 1px -24px -14px; }
.gov-drawing { display: block; width: 100%; height: auto; overflow: visible; }
.gov-source-doc, .gov-output-doc, .gov-role-pass, .gov-mark, .gov-sensitive, .gov-masked-fields, .gov-decision-seal, .gov-input-active, .gov-output-active { transition: opacity .4s ease, translate .6s cubic-bezier(.2,.7,.2,1); }
.gov-output-doc { opacity: .88; }
.gov-role-pass, .gov-decision-seal, .gov-check-symbol { opacity: 0; }
.gov-role-pass { translate: 0 14px; }
.gov-input-active, .gov-output-active { opacity: .65; }
.gov-decision-seal { color: #eac27b; }
.governance-studio[data-view="access"] .gov-role-pass { opacity: 1; translate: 0 0; }
.governance-studio[data-view="access"] .gov-source-doc { opacity: .65; translate: -7px 5px; }
.governance-studio[data-view="access"] .gov-masked-fields { opacity: .22; }
.governance-studio[data-view="access"] .gov-input-active { opacity: .22; }
.governance-studio[data-view="review"] { --gov-accent: #edc487; }
.governance-studio[data-view="review"] .gov-decision-seal { opacity: 1; }
.governance-studio[data-view="review"] .gov-role-pass { opacity: 0; }
.governance-studio[data-view="review"] .gov-output-doc { opacity: .3; translate: 13px -9px; }
.governance-studio[data-view="review"] .gov-output-active { opacity: 0; }
.governance-studio[data-view="review"] .gov-sensitive { opacity: .45; }
.governance-studio[data-approved="true"] { --gov-accent: #7ce4b7; }
.governance-studio[data-approved="true"] .gov-decision-seal { color: #7ce4b7; }
.governance-studio[data-approved="true"] .gov-check-symbol { opacity: 1; }
.governance-studio[data-approved="true"] .gov-wait-symbol { opacity: 0; }
.governance-studio[data-approved="true"] .gov-output-doc { opacity: 1; translate: 0 0; }
.governance-studio[data-approved="true"] .gov-output-active { opacity: 1; }
.gov-tabs { display: grid; grid-template-columns: .9fr 1fr 1.25fr; gap: 5px; padding-block: 5px; border-block: 1px solid #2d4857; }
.gov-tabs > button { min-width: 0; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 47px; padding: 9px 5px; border: 0; border-radius: 3px; background: transparent; color: #a5bbcd; font-size: 14px; }
.gov-tabs > button > span { font: 10px Consolas, monospace; color: #7e9fae; }
.gov-tabs > button[aria-selected="true"] { color: var(--gov-accent); background: color-mix(in srgb, var(--gov-accent) 7%, transparent); box-shadow: inset 0 -2px 0 var(--gov-accent); }
.gov-tabs > button[aria-selected="true"] > span { color: inherit; }
.gov-tabs > button:hover { color: #e1f7f4; }
.gov-tabs > button:focus-visible { outline-offset: 1px; }
.gov-panel { padding-top: 25px; min-height: 243px; }
.gov-panel-label { color: var(--gov-accent); font: 11px/1.7 Consolas, monospace; letter-spacing: .06em; }
.gov-panel > h2 { margin: 12px 0 14px; font-size: 30px; line-height: 1.17; letter-spacing: -.04em; font-weight: 450; white-space: pre-line; }
.gov-panel-description { color: #a9c1d1; font-size: 15px; line-height: 1.85; max-width: 560px; }
.gov-decision { display: inline-flex; align-items: center; gap: 25px; min-height: 44px; padding: 11px 15px; margin-top: 18px; border: 1px solid #b99457; border-radius: 5px; color: #f5d29f; background: #342a1c; font-size: 13px; }
.gov-decision > span:last-child { font-size: 20px; line-height: 1; }
.gov-decision:hover { border-color: #e5c48b; background: #443421; }
.governance-studio[data-approved="true"] .gov-decision { color: #9becbd; border-color: #4b9a73; background: #142e23; }
.gov-disclaimer { border-top: 1px solid #263d4c; padding-top: 17px; margin-top: 23px; color: #8faabd; font-size: 11px; line-height: 1.8; }
.gov-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (min-width: 801px) {
    body:has(.governance-studio) .detail-hero-grid { grid-template-columns: 1fr 1.03fr; gap: 68px; }
    body:has(.governance-studio) .detail-title { font-size: clamp(42px, 4.55vw, 66px); }
}
@media (max-width: 1100px) and (min-width: 801px) {
    body:has(.governance-studio) .detail-hero-grid { gap: 42px; }
    .gov-masthead { gap: 12px; }
    .gov-concept { font-size: 8px; }
    .gov-tabs > button { font-size: 12px; gap: 6px; }
    .gov-panel { min-height: 285px; }
    .gov-panel > h2 { font-size: 27px; }
}
@media (max-width: 640px) {
    .governance-studio { padding-top: 17px; }
    .gov-masthead { font-size: 9px; gap: 10px; }
    .gov-concept { max-width: 90px; font-size: 8px; }
    .gov-art { margin-inline: -18px; margin-bottom: -2px; }
    .gov-graphic-labels { display: none; }
    .gov-tabs { gap: 4px; }
    .gov-tabs > button { font-size: 12px; flex-direction: column; gap: 5px; min-height: 54px; }
    .gov-tabs > button > span { font-size: 10px; }
    .gov-panel { padding-top: 22px; min-height: 285px; }
    .gov-panel > h2 { font-size: 28px; }
    .gov-panel-description { font-size: 15px; }
    .gov-panel-label { font-size: 10px; }
    .gov-decision { width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: no-preference) {
    .governance-studio[data-approved="true"] .gov-output-active { stroke-dasharray: 100; animation: gov-trace .65s ease-out both; }
    @keyframes gov-trace { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
}
@media (prefers-reduced-motion: reduce) {
    .governance-studio *, .governance-studio *::before, .governance-studio *::after { transition: none !important; animation: none !important; }
}
