#GraphAnalysis.tdoc-graph-shell {
    font-family: Verdana, Arial, sans-serif;
    font-size: 10pt;
    color: #222;
    max-width: 800px;
    width: 100%;
    box-sizing: border-box;
}

#GraphAnalysis .tdoc-graph-note {
    line-height: 1.55;
    margin: 8px 0 14px 0;
}

#GraphAnalysis .tdoc-graph-controls {
    border: 1px solid #d8dce3;
    background: #f7f9fb;
    padding: 10px;
    margin: 12px 0;
}

#GraphAnalysis .tdoc-graph-control-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin: 6px 0;
}

#GraphAnalysis .tdoc-graph-label {
    font-weight: bold;
    margin-right: 4px;
}

#GraphAnalysis .tdoc-graph-select {
    font-family: Verdana, Arial, sans-serif;
    font-size: 10pt;
    min-width: 150px;
    padding: 4px;
    border: 1px solid #b9c0cc;
    background: white;
}

#GraphAnalysis .tdoc-graph-button {
    font-family: Verdana, Arial, sans-serif;
    font-size: 10pt;
    padding: 5px 12px;
    border: 1px solid #446c9a;
    background: #eef4fb;
    color: #163d65;
    cursor: pointer;
}

#GraphAnalysis .tdoc-graph-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 12px 0;
}

#GraphAnalysis .tdoc-graph-card {
    border: 1px solid #d8dce3;
    background: #fff;
    padding: 10px;
}

#GraphAnalysis .tdoc-graph-wide {
    grid-column: 1 / -1;
}

#GraphAnalysis .tdoc-graph-title {
    font-weight: bold;
    font-size: 11pt;
    margin: 0 0 8px 0;
    color: #1f3f5f;
}

#GraphAnalysis .tdoc-graph-subtitle {
    color: #555;
    line-height: 1.45;
    margin: 0 0 8px 0;
}

#GraphAnalysis .tdoc-kpi-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 12px 0;
}

#GraphAnalysis .tdoc-kpi {
    border: 1px solid #d8dce3;
    background: #f9fbfd;
    padding: 9px;
    min-height: 58px;
}

#GraphAnalysis .tdoc-kpi-value {
    font-size: 18pt;
    font-weight: bold;
    color: #173b5f;
    line-height: 1.1;
}

#GraphAnalysis .tdoc-kpi-label {
    margin-top: 4px;
    color: #555;
}

#GraphAnalysis .tdoc-bar-row {
    display: grid;
    grid-template-columns: 145px 1fr 48px;
    gap: 7px;
    align-items: center;
    margin: 5px 0;
}

#GraphAnalysis .tdoc-bar-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#GraphAnalysis .tdoc-bar-track {
    height: 14px;
    background: #edf1f6;
    border: 1px solid #d7dde7;
}

#GraphAnalysis .tdoc-bar-fill {
    height: 100%;
    background: #4b79a8;
}

#GraphAnalysis .tdoc-bar-value {
    text-align: right;
    color: #444;
}

#GraphAnalysis .tdoc-svg {
    width: 100%;
    height: auto;
    border: 1px solid #e1e5eb;
    background: #fff;
}

#GraphAnalysis .tdoc-network3d-wrap {
    position: relative;
    width: 100%;
}

#GraphAnalysis .tdoc-network3d {
    display: block;
    width: 100%;
    min-height: 280px;
    border: 1px solid #e1e5eb;
    background: #fff;
    cursor: grab;
    touch-action: none;
}

#GraphAnalysis .tdoc-network3d:active {
    cursor: grabbing;
}

#GraphAnalysis .tdoc-view-switch {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    margin: 0 0 7px 0;
}

#GraphAnalysis .tdoc-view-button {
    font-family: Verdana, Arial, sans-serif;
    font-size: 9pt;
    border: 1px solid #b9c0cc;
    background: #f7f9fb;
    color: #1f3f5f;
    padding: 3px 8px;
    cursor: pointer;
}

#GraphAnalysis .tdoc-view-active {
    background: #4b79a8;
    color: #fff;
    border-color: #315b83;
}

#GraphAnalysis .tdoc-network3d-help {
    color: #5d6670;
    font-size: 9pt;
    margin-top: 5px;
}

#GraphAnalysis .tdoc-cyto-wrap {
    width: 100%;
}

#GraphAnalysis .tdoc-cyto-graph {
    width: 100%;
    height: 430px;
    border: 1px solid #e1e5eb;
    background: #fff;
}

#GraphAnalysis .tdoc-graph-empty {
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5d6670;
    border: 1px solid #e1e5eb;
    background: #fff;
    text-align: center;
    padding: 12px;
    box-sizing: border-box;
}

#GraphAnalysis .tdoc-axis {
    font-size: 9px;
    fill: #555;
}

#GraphAnalysis .tdoc-chart-label {
    font-size: 10px;
    fill: #333;
}

#GraphAnalysis .tdoc-node-label {
    font-family: Verdana, Arial, sans-serif;
    dominant-baseline: middle;
    pointer-events: none;
}

#GraphAnalysis .tdoc-svg-node-label {
    font-family: Verdana, Arial, sans-serif;
    font-weight: bold;
    fill: #111;
    paint-order: stroke;
    stroke: rgba(255,255,255,0.92);
    stroke-width: 4px;
    stroke-linejoin: round;
}

#GraphAnalysis .tdoc-network2d-svg {
    min-height: 280px;
    cursor: grab;
    touch-action: none;
    user-select: none;
}

#GraphAnalysis .tdoc-network2d-dragging {
    cursor: grabbing;
}

#GraphAnalysis .tdoc-category-label {
    font-size: 10px;
    font-weight: bold;
    fill: #20384f;
}

#GraphAnalysis .tdoc-keyword-label {
    font-size: 9px;
    fill: #1f2f3d;
}

#GraphAnalysis .tdoc-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: 8px;
}

#GraphAnalysis .tdoc-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

#GraphAnalysis .tdoc-legend-swatch {
    width: 12px;
    height: 12px;
    display: inline-block;
    border: 1px solid #c9ced6;
}

#GraphAnalysis .tdoc-heatmap-table {
    border-collapse: collapse;
    width: 100%;
    font-size: 9pt;
}

#GraphAnalysis .tdoc-heatmap-table th,
#GraphAnalysis .tdoc-heatmap-table td {
    border: 1px solid #d8dce3;
    padding: 4px;
    text-align: center;
}

#GraphAnalysis .tdoc-heatmap-table th {
    background: #f0f3f7;
}

#GraphAnalysis .tdoc-heatmap-rowhead {
    text-align: left !important;
    white-space: nowrap;
}

#GraphAnalysis .tdoc-rank-table {
    border-collapse: collapse;
    width: 100%;
    font-size: 9pt;
}

#GraphAnalysis .tdoc-rank-table th,
#GraphAnalysis .tdoc-rank-table td {
    border: 1px solid #d8dce3;
    padding: 5px;
    vertical-align: middle;
}

#GraphAnalysis .tdoc-rank-table th {
    background: #f0f3f7;
    color: #1f3f5f;
}

#GraphAnalysis .tdoc-rank-table td:first-child,
#GraphAnalysis .tdoc-rank-table td:nth-child(3),
#GraphAnalysis .tdoc-rank-table td:nth-child(4),
#GraphAnalysis .tdoc-rank-table td:nth-child(5) {
    text-align: right;
}

#GraphAnalysis .tdoc-rank-name {
    text-align: left !important;
    white-space: nowrap;
}

#GraphAnalysis .tdoc-mini-bar {
    display: inline-block;
    width: 70px;
    height: 9px;
    margin-right: 6px;
    background: #edf1f6;
    border: 1px solid #d7dde7;
    vertical-align: middle;
}

#GraphAnalysis .tdoc-mini-bar span {
    display: block;
    height: 100%;
    background: #4b79a8;
}

#GraphAnalysis .tdoc-similarity-table td {
    min-width: 34px;
}

#GraphAnalysis .tdoc-insight-list {
    margin: 5px 0 0 18px;
    padding: 0;
    line-height: 1.55;
}

#GraphAnalysis .tdoc-graph-error {
    border: 1px solid #c44;
    background: #fff5f5;
    color: #8b1111;
    padding: 10px;
    line-height: 1.45;
}
