/* Read-only service diagrams; styles do not affect the submission selector. */
.tddc-file-type-icon{display:inline-flex;align-items:center;justify-content:center;min-width:48px;height:38px;padding:0 7px;border:1px solid #dce3ee;border-radius:8px;background:#eef0fa;color:#323c8d;font-weight:700;font-size:11px;direction:ltr}
.tddc-diagram-detail{grid-column:1/-1}
.tddc-service-diagram{margin:14px 0;max-width:720px;background:#fff;border:1px solid #dce3ee;border-radius:14px;padding:12px;color:#172c49}
.tddc-service-diagram__arches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));direction:ltr;gap:12px}
.tddc-service-diagram svg{display:block;width:100%;height:auto;background:#fff;overflow:visible}
.tddc-service-diagram svg rect{fill:#f5f7fa;stroke:#a5afbf;stroke-width:1.2}
.tddc-service-diagram svg .is-selected rect{fill:var(--tddc-diagram-color);stroke:var(--tddc-diagram-color)}
.tddc-service-diagram svg text{font-family:Tahoma,Arial,sans-serif;font-size:11px;font-weight:700;text-anchor:middle;fill:#566378}
.tddc-service-diagram svg .is-selected text{fill:var(--tddc-diagram-ink,#fff)}
.tddc-service-diagram svg .tddc-jaw-label{font-size:13px;fill:#323c8d}
.tddc-service-diagram svg .tddc-diagram-link{fill:none;stroke:var(--tddc-diagram-color);stroke-width:3}
.tddc-service-diagram svg .tddc-diagram-joint{fill:var(--tddc-diagram-color);stroke:white;stroke-width:1.5}
.tddc-service-diagram figcaption{font-size:12px;line-height:1.9;text-align:center;color:#526079;margin-top:8px}
.tddc-service-diagram figcaption small{display:block;font-size:12px}
/* Scoped specificity protects spacing from theme and Elementor button rules. */
.tddc-case-messages.tddc-workflow-history form button,
.tddc-case-messages .tddc-case-message-form button,
.tddc-case-messages.tddc-workflow-history .tddc-workflow-event>a{width:auto!important;min-width:0!important;min-height:44px!important;height:auto!important;padding:10px 20px!important;border-radius:10px!important;font-family:inherit!important;font-size:14px!important;font-weight:700;line-height:1.7!important;display:inline-flex;align-items:center;justify-content:center;white-space:normal;max-width:100%;box-sizing:border-box;text-decoration:none}
.tddc-case-messages .tddc-case-message-form button{justify-self:start;align-self:start;background:#323c8d!important;color:#fff!important;border:1px solid #323c8d!important}
.tddc-case-messages.tddc-workflow-history form button{background:#323c8d!important;color:#fff!important;border:1px solid #323c8d!important;margin:6px 0 6px 10px!important}
.tddc-case-messages.tddc-workflow-history form button[value=revise]{background:#fff!important;color:#323c8d!important}
.tddc-case-messages>.tddc-form-message{margin-bottom:20px!important}
@media(max-width:520px){.tddc-service-diagram__arches{grid-template-columns:1fr}.tddc-service-diagram{max-width:360px}.tddc-case-messages.tddc-workflow-history form button{margin-inline-end:6px!important}}
